@charset "utf-8";
/* 診療の詳細ページ（services/<slug>/）用。色・書体は既存の lower.css / services.css に合わせる */

.detail #wrapper .cont { margin-bottom: 70px; }
.detail #wrapper .cont.dt-intro { margin-bottom: 50px; }

/* 見出し（h1 は既存の h2 と同じ見た目） */
.detail #wrapper h1.dt-title { text-align: center; margin: 10px 0 40px; }
.detail #wrapper h1.dt-title .en {
  display: block; margin: 0 auto 12px;
  font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 400;
  font-size: 13px; letter-spacing: .32em; color: #00a0ad;
}
.detail #wrapper h1.dt-title .ja {
  font-size: 30px;
  color: #26231c;
  letter-spacing: 0.12em;
  line-height: 1.5;
  font-family: font02, "SmartFont UI Proportional", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  padding: 0 4px;
}
.detail #wrapper .cont .inner.widthfix h2 { margin-bottom: 35px; }
.detail #wrapper .cont .inner.widthfix h2 span { font-size: 26px; line-height: 1.5; }

.detail #wrapper .dt-intro .photo { display: block; margin: 0 auto 30px; max-width: 100%; height: auto; }
.detail #wrapper .dt-intro .contWrap p { margin-bottom: 1em; }
.dt-meta { font-size: 12px; color: #8a8478; text-align: right; margin-top: 10px; }

.detail #wrapper .dt-block .inner { max-width: 900px; }
.dt-body p { margin-bottom: 1.2em; }
.dt-body a, .dt-faq a, .dt-center a { color: #00838e; text-decoration: underline; }
.dt-center { text-align: center; }
.dt-small { font-size: 13px; margin-top: 20px; }

/* こんなお悩み */
.dt-check {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  background: #f4fafa;
  border: 1px solid #cfe9eb;
  padding: 28px 32px;
  margin-bottom: 20px;
}
.dt-check li { position: relative; padding-left: 30px; line-height: 1.6; }
.dt-check li::before {
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; line-height: 20px;
  text-align: center; font-size: 12px;
  color: #fff; background: #00a0ad; border-radius: 50%;
}

/* 箇条書き */
.dt-list { margin: 0 0 1.2em; }
.dt-list li { position: relative; padding-left: 1.3em; margin-bottom: 0.5em; line-height: 1.7; }
.dt-list li::before {
  content: ""; position: absolute; left: 0.2em; top: 0.7em;
  width: 7px; height: 7px; background: #00a0ad; border-radius: 50%;
}

/* カード */
.dt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 1.4em; }
.dt-card { background: #fff; border: 1px solid #e3ded3; border-top: 3px solid #00a0ad; padding: 20px 22px; }
.dt-card h3 { font-size: 17px; font-weight: bold; color: #26231c; margin-bottom: 8px; line-height: 1.5; }
.dt-card p { font-size: 14px; line-height: 1.8; margin: 0; }
.dt-card a { color: #00838e; text-decoration: underline; }

/* ポイント帯 */
.detail #wrapper .point { margin-top: 0; margin-bottom: 70px; padding-left: 20px; padding-right: 20px; }
.dt-points { display: inline-block; text-align: left; }
.dt-points li {
  position: relative; padding-left: 1.6em; margin-bottom: 0.6em;
  font-size: 18px; line-height: 1.7;
  font-family: font02, "SmartFont UI Proportional", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}
.dt-points li::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; color: #f5d066; }

/* 治療の流れ */
.dt-flow { counter-reset: none; }
.dt-flow li {
  position: relative;
  background: #fff;
  border: 1px solid #e3ded3;
  padding: 18px 24px 18px 130px;
  margin-bottom: 26px;
  min-height: 56px;
}
.dt-flow li:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: -18px; margin-left: -10px;
  border: 10px solid transparent; border-top: 9px solid #00a0ad; border-bottom: 0;
}
.dt-flow .num {
  position: absolute; left: 0; top: 0; bottom: 0; width: 105px;
  display: flex; align-items: center; justify-content: center;
  background: #00a0ad; color: #fff; font-size: 14px; letter-spacing: 0.1em;
  font-family: font01, sans-serif;
}
.dt-flow h3 { font-size: 17px; font-weight: bold; margin-bottom: 4px; }
.dt-flow p { margin: 0; font-size: 14px; line-height: 1.8; }

/* 費用・リスク */
.dt-table { width: 100%; border-collapse: collapse; background: #fff; }
.dt-table th, .dt-table td { border: 1px solid #e3ded3; padding: 14px 18px; line-height: 1.8; vertical-align: top; text-align: left; }
.dt-table th { width: 26%; background: #f4fafa; font-weight: bold; }
.dt-note { font-size: 13px; color: #6d675c; margin-top: 10px; }

/* FAQ */
.dt-faq details { border-bottom: 1px solid #e3ded3; }
.dt-faq details:first-child { border-top: 1px solid #e3ded3; }
.dt-faq summary {
  list-style: none; cursor: pointer;
  position: relative; padding: 18px 44px 18px 48px;
  font-weight: bold; line-height: 1.6;
}
.dt-faq summary::-webkit-details-marker { display: none; }
.dt-faq summary::after {
  content: "\f107"; font-family: FontAwesome; font-weight: normal;
  position: absolute; right: 14px; top: 50%; margin-top: -12px; font-size: 20px; color: #00a0ad;
  transition: transform .2s;
}
.dt-faq details[open] summary::after { transform: rotate(180deg); }
.dt-faq .q {
  position: absolute; left: 6px; top: 16px;
  width: 30px; height: 30px; line-height: 30px; text-align: center;
  background: #00a0ad; color: #fff; border-radius: 50%; font-weight: bold; font-size: 15px;
}
.dt-faq .a { position: relative; padding: 0 20px 20px 48px; }
.dt-faq .a .q { background: #f5d066; color: #26231c; top: -4px; }
.dt-faq .a p { margin: 0; line-height: 1.9; }

/* 予約導線 */
.dt-cta .inner { background: #f4fafa; padding: 40px 30px 30px; }
.dt-cta-btns { display: flex; justify-content: center; gap: 16px; margin: 24px 0; flex-wrap: wrap; }
.dt-cta-btns .btn {
  display: inline-block; min-width: 260px; padding: 16px 20px; text-align: center;
  font-size: 18px; font-weight: bold; letter-spacing: 0.05em; color: #fff; text-decoration: none;
  border-radius: 4px; transition: opacity .2s;
}
.dt-cta-btns .btn:hover { opacity: .85; }
.dt-cta-btns .tel { background: #f0b100; }
.dt-cta-btns .web { background: #e2583f; }
.dt-info { display: grid; grid-template-columns: 6em 1fr; gap: 6px 10px; max-width: 640px; margin: 0 auto; font-size: 14px; }
.dt-info dt { font-weight: bold; color: #00838e; }

/* 関連する診療 */
.dt-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.dt-links a {
  display: block; padding: 12px 22px; border: 1px solid #00a0ad; color: #00838e;
  text-decoration: none; background: #fff; transition: background .2s, color .2s;
}
.dt-links a::after { content: " \f105"; font-family: FontAwesome; }
.dt-links a:hover { background: #00a0ad; color: #fff; }

@media screen and (max-width: 979px) {
  .detail #wrapper .cont { margin-bottom: 50px; }
  .detail #wrapper h1.dt-title .ja { font-size: 22px; }
  .detail #wrapper h1.dt-title .en { font-size: 11px; letter-spacing: .22em; }
  .detail #wrapper .cont .inner.widthfix h2 span { font-size: 21px; }
  .detail #wrapper .dt-block .inner,
  .detail #wrapper .dt-intro .inner { padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
  .dt-check { grid-template-columns: 1fr; padding: 20px; }
  .dt-points li { font-size: 16px; }
  .dt-flow li { padding: 46px 18px 16px; }
  .dt-flow .num { bottom: auto; width: auto; right: 0; height: 32px; justify-content: flex-start; padding-left: 18px; }
  .dt-table th, .dt-table td { display: block; width: auto; border-top: 0; }
  .dt-table tr:first-child th { border-top: 1px solid #e3ded3; }
  .dt-cta .inner { padding: 30px 16px 24px; }
  .dt-cta-btns .btn { min-width: 0; width: 100%; }
  .dt-info { grid-template-columns: 1fr; }
  .dt-info dd { margin-bottom: 8px; }
}

/* 既存の「#wrapper .cont .inner.widthfix h3」（中央寄せ・枠付き）を詳細ページの小見出しでは打ち消す */
.detail #wrapper .cont .inner.widthfix .dt-card h3,
.detail #wrapper .cont .inner.widthfix .dt-flow h3 { text-align: left; margin: 0 0 6px; }
.detail #wrapper .cont .inner.widthfix .dt-h3 { text-align: left; font-size: 18px; font-weight: bold; margin: 24px 0 10px; }
.dt-meta span { display: inline-block; margin-left: 1em; }

/* PC：冒頭は写真と文章を横並び、各ブロックは少し広めに */
@media screen and (min-width: 980px) {
  .detail #wrapper .dt-intro .inner {
    display: grid; grid-template-columns: 44% 1fr; column-gap: 48px; align-items: center;
  }
  .detail #wrapper .dt-intro h1.dt-title, .detail #wrapper .dt-intro .dt-meta { grid-column: 1 / -1; }
  .detail #wrapper .dt-intro .photo { width: 100%; margin: 0; }
  .detail #wrapper .dt-block .inner { max-width: 1000px; }
  .dt-check { grid-template-columns: repeat(3, 1fr); }
}

/* ===== 本文中の WEB予約欄 ===== */
.dt-reserve { position: relative; margin: 0 0 80px; padding: 60px 0; overflow: hidden;
  background: linear-gradient(120deg, rgba(8, 48, 52, .94) 0%, rgba(0, 112, 122, .9) 100%), url(/services/img/visual.jpg) center / cover no-repeat; }
.dt-reserve::after {
  content: "\f073"; font-family: FontAwesome; position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  font-size: 260px; color: rgba(255, 255, 255, .05); pointer-events: none;
}
.dt-rsv-card { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; color: #fff; }
.dt-rsv-txt .en { font-family: "Oswald", sans-serif; font-size: 13px; letter-spacing: .35em; color: #f5d066; }
.dt-rsv-txt .ttl { margin: 10px 0 18px; font-size: 26px; font-weight: bold; line-height: 1.55; letter-spacing: .04em; }
.dt-rsv-txt .pts { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.dt-rsv-txt .pts li { display: flex; align-items: center; gap: 8px; font-size: 14px; opacity: .92; }
.dt-rsv-txt .pts i { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #f5d066; font-size: 14px; }
.dt-rsv-act { flex-shrink: 0; width: 360px; text-align: center; }
.dt-rsv-btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 22px 30px; border-radius: 6px; background: #e2583f; color: #fff !important; text-decoration: none;
  font-size: 22px; font-weight: bold; letter-spacing: .06em;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25), inset 0 -3px 0 rgba(0, 0, 0, .12);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.dt-rsv-btn:hover { transform: translateY(-2px); background: #c9472f; box-shadow: 0 16px 30px rgba(0, 0, 0, .3), inset 0 -3px 0 rgba(0, 0, 0, .12); }
.dt-rsv-btn i { font-size: 26px; }
.dt-rsv-btn .arrow { font-size: 28px; transition: transform .2s; }
.dt-rsv-btn:hover .arrow { transform: translateX(4px); }
.dt-rsv-act .tel { margin-top: 14px; font-size: 14px; }
.dt-rsv-act .tel a { color: #fff; font-family: "Oswald", sans-serif; font-size: 20px; letter-spacing: .04em; text-decoration: none; }
.dt-rsv-act .hours { margin-top: 4px; font-size: 12px; opacity: .8; }

/* ページ末尾の予約欄も WEB予約を主役に */
.dt-cta-btns .web { order: -1; font-size: 20px; box-shadow: 0 8px 20px rgba(226, 88, 63, .35); }

@media screen and (max-width: 979px) {
  .dt-reserve { margin-bottom: 50px; padding: 40px 16px; }
  .dt-reserve::after { font-size: 160px; right: -20px; top: 30px; transform: none; }
  .dt-rsv-card { flex-direction: column; align-items: stretch; gap: 22px; padding: 0; }
  .dt-rsv-txt .ttl { font-size: 20px; }
  .dt-rsv-txt .pts { flex-direction: column; gap: 8px; }
  .dt-rsv-act { width: auto; }
  .dt-rsv-btn { font-size: 20px; padding: 18px 20px; }
}
#wrapper .dt-reserve a, .dt-reserve a:link, .dt-reserve a:visited { text-decoration: none !important; }
#wrapper .dt-reserve .dt-rsv-btn span { font-weight: bold; }

/* 本文中の写真（右寄せ。スマホでは全幅） */
.dt-figure { float: right; width: 42%; margin: 4px 0 18px 32px; }
.dt-figure img { display: block; width: 100%; height: auto; box-shadow: 0 10px 28px rgba(0, 0, 0, .12); }
.dt-figure figcaption { margin-top: 8px; font-size: 12px; color: #6d675c; text-align: center; }
.dt-body { display: flow-root; }
@media screen and (max-width: 979px) {
  .dt-figure { float: none; width: 100%; margin: 0 0 18px; }
}
