@charset "UTF-8";
/*
 * 診療科 下層ページ共通スタイル（婦人科／美容皮膚科／形成外科）
 * テンプレート: page/dept-detail.php ／ 本文HTMLは .gd 配下
 * 配色は婦人科ページ（style_test.css）に合わせ、3科で共通
 */
.gyne-detail {
  --gd-text: #564845;
  --gd-pink: #e59aa3;
  --gd-pink-dark: #bd4c5f;
  --gd-pink-light: #fbeef0;
  --gd-beige: #f6efe7;
  --gd-beige-light: #faf5f2;
  --gd-gold: #c8ab87;
  --gd-line: #e0d4c8;
  --gd-line-green: #06c755;
  color: var(--gd-text);
  font-family: "Noto Sans JP", sans-serif;
}

/* ---------- パンくず ---------- */
.gd-breadcrumb {
  font-size: 1.2rem;
  border-bottom: 1px solid var(--gd-line);
}
.gd-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 0;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  list-style: none;
}
.gd-breadcrumb li + li::before {
  content: "›";
  margin: 0 .8rem;
  color: var(--gd-gold);
}
.gd-breadcrumb a {
  color: inherit;
  text-decoration: underline;
}

/* ---------- 下層ヘッダー ---------- */
.gd-hero {
  background: linear-gradient(135deg, var(--gd-beige) 0%, var(--gd-pink-light) 100%);
  padding: 4rem 0 3.6rem;
  text-align: center;
}
.gd-hero__label {
  display: flex;
  flex-direction: column; /* Gynecology とカテゴリは縦並び */
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.4rem;
}
.gd-hero__label .is-didot {
  font-size: 1.8rem;
  letter-spacing: .08em;
  color: var(--gd-gold);
}
.gd-hero__cat {
  display: inline-block;
  font-size: 1.2rem;
  padding: .4rem 1.2rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--gd-pink);
  color: var(--gd-pink-dark);
}
.gd-hero__title {
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
}
@media (min-width: 769px) {
  .gd-hero { padding: 6rem 0 5rem; }
  .gd-hero__label .is-didot { font-size: 2.4rem; }
  .gd-hero__cat { font-size: 1.4rem; }
  .gd-hero__title { font-size: 3.6rem; }
}

/* ---------- 本文 ---------- */
.gd-body {
  padding: 4rem 0 2rem;
}
.gd-body .inner {
  max-width: 880px;
}
.gd {
  font-size: 1.5rem;
  line-height: 1.9;
}
.gd p {
  margin: 0 0 1.4em;
}
.gd a {
  color: var(--gd-pink-dark);
  text-decoration: underline;
}
@media (min-width: 769px) {
  .gd-body { padding: 6rem 0 3rem; }
  .gd { font-size: 1.6rem; line-height: 2; }
}

/* リード文 */
.gd-lead {
  margin-bottom: 3rem;
}

/* 目次 */
.gd-toc {
  background: var(--gd-beige-light);
  border: 1px solid var(--gd-line);
  border-radius: 8px;
  padding: 2rem 2rem 1.6rem;
  margin: 0 0 5rem;
}
.gd .gd-toc__title {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 1.6rem;
  margin: 0 0 1rem;
}
.gd-toc ol {
  counter-reset: gdtoc;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gd-toc li {
  counter-increment: gdtoc;
  position: relative;
  padding-left: 2.8rem;
  margin-bottom: .6rem;
  line-height: 1.6;
}
.gd-toc li::before {
  content: counter(gdtoc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .1em;
  font-family: "Didot", Georgia, serif;
  color: var(--gd-pink);
  font-weight: bold;
}
.gd .gd-toc a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted var(--gd-gold);
}
@media (min-width: 769px) {
  .gd-toc { padding: 2.6rem 3.2rem 2rem; }
}

/* セクション */
.gd-sec {
  margin-bottom: 5rem;
  scroll-margin-top: 10rem;
}
.gd-h2 {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  padding: 0 0 1.2rem 1.6rem;
  margin: 0 0 2.4rem;
  border-left: 4px solid var(--gd-pink);
  border-bottom: 1px solid var(--gd-line);
}
.gd-h3 {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 3rem 0 1.2rem;
  padding-left: 2rem;
  position: relative;
}
.gd-h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--gd-pink);
}
@media (min-width: 769px) {
  .gd-sec { margin-bottom: 7rem; }
  .gd-h2 { font-size: 2.6rem; }
  .gd-h3 { font-size: 1.9rem; }
}

/* 箇条書き */
.gd-list {
  list-style: none;
  margin: 0 0 1.6em;
  padding: 1.6rem 2rem;
  background: var(--gd-beige-light);
  border-radius: 8px;
}
.gd-list li {
  position: relative;
  padding-left: 2.2rem;
  line-height: 1.7;
  margin: .5rem 0;
}
.gd-list li::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: .45em;
  width: .9rem;
  height: .5rem;
  border-left: 2px solid var(--gd-pink-dark);
  border-bottom: 2px solid var(--gd-pink-dark);
  transform: rotate(-45deg);
}

/* 料金表 */
.gd-price {
  margin: 0 0 2.4rem;
}
.gd-price__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.4rem;
  line-height: 1.6;
  background: #fff;
}
.gd-price__table th,
.gd-price__table td {
  border: 1px solid var(--gd-line);
  padding: 1rem 1.2rem;
  vertical-align: middle;
}
.gd-price__table thead th {
  background: var(--gd-pink-light);
  color: var(--gd-pink-dark);
  font-weight: 700;
  text-align: center;
}
.gd-price__table tbody th {
  text-align: left;
  font-weight: 500;
  background: var(--gd-beige-light);
}
.gd-price__table td {
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
}
.gd-price__table small {
  font-size: 1.1rem;
  font-weight: 400;
  white-space: normal;
}
.gd .gd-price__note {
  font-size: 1.3rem;
  margin: .8rem 0 0;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .gd-price__table--3col thead th:first-child { width: 42%; }
  .gd-price__table th,
  .gd-price__table td { padding: .8rem; }
  .gd-price__table td { white-space: normal; }
}
@media (min-width: 769px) {
  .gd-price__table { font-size: 1.5rem; }
  .gd-price__table td { min-width: 12em; }
}

/* よくある質問 */
.gd-faq {
  margin: 0;
}
.gd-faq__item {
  border: 1px solid var(--gd-line);
  border-radius: 8px;
  margin-bottom: 1.6rem;
  overflow: hidden;
  background: #fff;
}
.gd-faq__q,
.gd-faq__a {
  display: flex;
  gap: 1.2rem;
  padding: 1.6rem 1.8rem;
}
.gd-faq__q {
  font-weight: 700;
  line-height: 1.6;
  background: var(--gd-beige-light);
}
.gd-faq__a {
  margin: 0;
}
.gd-faq__a p:last-child {
  margin-bottom: 0;
}
.gd-faq__mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  font-family: "Didot", Georgia, serif;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  background: var(--gd-pink);
}
.gd-faq__a .gd-faq__mark {
  background: var(--gd-gold);
}

/* 予約CTA */
.gd-cta {
  text-align: center;
  background: var(--gd-pink-light);
  border-radius: 12px;
  padding: 3.2rem 2rem;
  margin: 2rem 0 4rem;
  scroll-margin-top: 10rem;
}
.gd-cta__title {
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 1.6rem;
}
.gd-cta p {
  text-align: left;
}
.gd-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 2.4rem 0 2rem;
}
.gd .gd-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.6rem;
  border-radius: 999px;
  font-size: 1.7rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  transition: opacity .2s;
}
.gd .gd-cta__btn:hover {
  opacity: .8;
}
.gd-cta__btn--line {
  background: var(--gd-line-green);
}
.gd-cta__btn--tel {
  background: var(--gd-pink-dark);
}
.gd-cta__btn--tel::before {
  content: "TEL";
  font-family: "Didot", Georgia, serif;
  font-size: 1.3rem;
  margin-right: .8rem;
}
.gd .gd-cta__info {
  font-size: 1.3rem;
  text-align: center;
  margin: 0;
  line-height: 1.7;
}
@media (min-width: 769px) {
  .gd-cta { padding: 4.8rem 6rem; }
  .gd-cta__title { font-size: 2.6rem; }
  .gd-cta__buttons { flex-direction: row; justify-content: center; }
  .gd .gd-cta__btn { width: 30rem; }
}

/* ---------- 関連ページ ---------- */
.gd-related {
  background: var(--gd-beige-light);
  padding: 4rem 0 5rem;
}
.gd-related .inner {
  max-width: 880px;
}
.gd-related__title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}
.gd-related__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style: none;
  margin-bottom: 3rem;
}
.gd-related__list a {
  display: block;
  height: 100%;
  padding: 1.2rem 1.4rem;
  background: #fff;
  border: 1px solid var(--gd-line);
  border-radius: 6px;
  font-size: 1.4rem;
  line-height: 1.5;
  color: inherit;
  text-decoration: none;
  position: relative;
  padding-right: 2.6rem;
}
.gd-related__list a::after {
  content: "›";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gd-pink);
}
.gd-related__back {
  text-align: center;
  font-size: 1.4rem;
}
.gd-related__back a {
  color: var(--gd-pink-dark);
  text-decoration: underline;
}
@media (min-width: 769px) {
  .gd-related { padding: 6rem 0 7rem; }
  .gd-related__title { font-size: 2.2rem; }
  .gd-related__list { grid-template-columns: repeat(3, 1fr); }
  .gd-related__list a { font-size: 1.5rem; }
}
