@charset "utf-8";
/*
 * 既存デザインを変えずに、細部を整えるための上書き（全ページ共通）。
 * 元の CSS（base.css・style.css など）は触らず、ここで足す。
 */

/* 文字の見え方 */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt" 0;
}
html { scroll-behavior: smooth; }
a { transition: opacity .2s, color .2s, background-color .2s; }
a:focus-visible { outline: 2px solid #00a0ad; outline-offset: 2px; }
::selection { background: #f5d066; color: #26231c; }

/* 本文の読みやすさ（行間・字間） */
/* 縦書きの院長あいさつ（h2vR）に影響しないよう、下層ページの本文だけに限定 */
#wrapper .contWrap p { line-height: 1.95; letter-spacing: 0.03em; }

/* パンくず */
.breadcrumb { font-size: 12px; }
.breadcrumb a { color: #00838e; }

/* 診療内容ページ：各診療の詳細ページへのボタン */
.dt-more { text-align: center; margin: 10px 0 0; }
.dt-more a {
  display: inline-block; padding: 14px 40px 14px 32px; position: relative;
  border: 1px solid #00a0ad; background: #fff; color: #00838e; text-decoration: none;
  letter-spacing: 0.08em;
}
.dt-more a::after { content: "\f105"; font-family: FontAwesome; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); }
.dt-more a:hover { background: #00a0ad; color: #fff; }

/* トップ：診療メニュー */
#menu_section { padding: 70px 0 60px; background: #f7f5f0; }
#menu_section .ldc-h {
  text-align: center; margin-bottom: 36px;
  font-size: 26px; letter-spacing: 0.15em; color: #26231c;
  font-family: font02, "SmartFont UI Proportional", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
#menu_section .ldc-h .en {
  display: block; margin-bottom: 6px;
  font-size: 13px; letter-spacing: 0.3em; color: #00a0ad;
  font-family: font01, sans-serif;
}
.ldc-menu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ldc-menu a { display: block; background: #fff; text-decoration: none; color: #26231c; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); overflow: hidden; }
.ldc-menu img { display: block; width: 100%; height: auto; aspect-ratio: 41 / 26; object-fit: cover; transition: transform .4s; }
.ldc-menu span { display: block; position: relative; padding: 14px 30px 14px 16px; font-size: 15px; letter-spacing: 0.05em; border-top: 3px solid #00a0ad; }
.ldc-menu span::after { content: "\f105"; font-family: FontAwesome; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #00a0ad; }
.ldc-menu a:hover img { transform: scale(1.04); }
.ldc-menu a:hover span { color: #00838e; }
.ldc-menu-all { text-align: center; margin-top: 30px; }
.ldc-menu-all a { color: #00838e; text-decoration: underline; }

@media screen and (max-width: 979px) {
  #menu_section { padding: 45px 16px 40px; }
  #menu_section .ldc-h { font-size: 21px; }
  .ldc-menu { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ldc-menu span { font-size: 13px; padding: 10px 24px 10px 10px; }
  .ldc-menu span::after { right: 8px; }
  .dt-more a { display: block; margin: 0 16px; }
}

/* ===== グローバルメニュー（画像→テキスト） ===== */
#headerArea .inner.widthfix #gnav .list.cf > li > a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; transition: background-color .2s;
}
#headerArea .inner.widthfix #gnav .list.cf > li > a:hover { background-color: rgba(255, 255, 255, .12); }
#headerArea .inner.widthfix #gnav .list.cf > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 14px; width: 0; height: 2px;
  background: #f5d066; transition: width .25s, left .25s;
}
#headerArea .inner.widthfix #gnav .list.cf > li > a:hover::after { width: 40%; left: 30%; }
#gnav .gn-en {
  font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 500;
  font-size: 19px; line-height: 1.1; letter-spacing: 0.1em;
}
#gnav .gn-ja {
  margin-top: 4px; font-size: 11px; line-height: 1; letter-spacing: 0.12em;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; opacity: .92;
}
@media screen and (max-width: 979px) {
  #headerArea .inner.widthfix #gnav .list.cf > li > a::after { bottom: 8px; }
  #gnav .gn-en { font-size: 15px; }
  #gnav .gn-ja { font-size: 10px; letter-spacing: 0.05em; }
}

/* ===== メインビジュアルの案内（駅から徒歩30秒・1階・保険・急患）：左下に配置 ===== */
#visualArea .inner.widthfix .ldc-badge {
  position: absolute; left: 0; bottom: 40px; z-index: 2;
  box-sizing: border-box; padding: 18px 28px 20px 26px;
  background: linear-gradient(135deg, rgba(10, 58, 63, .86), rgba(0, 110, 120, .78));
  border-left: 4px solid #f5d066;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .28);
  color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ldc-badge-en {
  margin-bottom: 6px;
  font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 400;
  font-size: 12px; letter-spacing: 0.32em; color: #f5d066;
}
.ldc-badge-main {
  display: flex; align-items: center; gap: 18px;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
.ldc-badge-main .st { font-size: 14px; line-height: 1.45; letter-spacing: 0.12em; font-weight: bold; }
.ldc-badge-main .walk { font-size: 18px; font-weight: bold; letter-spacing: 0.08em; white-space: nowrap; }
.ldc-badge-main b {
  font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 500;
  font-size: 76px; line-height: .9; margin: 0 4px; vertical-align: -10px;
  color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.ldc-badge-main .floor {
  padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .35);
  font-size: 18px; font-weight: bold; white-space: nowrap;
}
.ldc-badge-main .floor b { font-size: 56px; color: #f5d066; margin: 0 3px 0 0; vertical-align: -6px; }
.ldc-badge-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.ldc-badge-tags li {
  position: relative; padding: 6px 16px 6px 32px;
  border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px;
  font-size: 14px; font-weight: bold; letter-spacing: 0.06em; line-height: 1.4;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
.ldc-badge-tags li::before {
  content: "\f00c"; font-family: FontAwesome; font-weight: normal;
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-size: 12px; color: #f5d066;
}
@media screen and (min-width: 481px) and (max-width: 979px) {
  #visualArea .inner.widthfix .ldc-badge { left: 3%; bottom: 24px; padding: 14px 20px 16px 18px; }
  .ldc-badge-main b { font-size: 58px; }
  .ldc-badge-main .floor b { font-size: 44px; }
  .ldc-badge-tags li { font-size: 13px; }
}
@media screen and (max-width: 480px) {
  #visualArea .inner.widthfix .ldc-badge {
    position: relative; left: auto; bottom: auto; margin: 0; padding: 16px 16px 16px 18px;
    box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
    background: linear-gradient(135deg, #0a3a3f, #00707a);
  }
  .ldc-badge-en { font-size: 10px; letter-spacing: 0.25em; }
  .ldc-badge-main { gap: 12px; justify-content: space-between; }
  .ldc-badge-main .st { font-size: 12px; letter-spacing: 0.06em; }
  .ldc-badge-main .walk { font-size: 15px; }
  .ldc-badge-main b { font-size: 54px; vertical-align: -7px; }
  .ldc-badge-main .floor { padding-left: 12px; font-size: 15px; }
  .ldc-badge-main .floor b { font-size: 40px; vertical-align: -4px; }
  .ldc-badge-tags { gap: 8px; }
  .ldc-badge-tags li { font-size: 12px; padding: 5px 12px 5px 27px; }
  .ldc-badge-tags li::before { left: 11px; font-size: 11px; }
}

/* ===== 診療内容ページ（一覧） ===== */
#wrapper .svc-list { margin-bottom: 90px; }
#wrapper .svc-list .svc-lead { text-align: center; line-height: 2; margin: 0 auto 40px; max-width: 860px; }
.svc-menu { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-menu span { font-size: 17px; font-weight: bold; padding: 16px 34px 6px 18px; }
.svc-menu span::after { top: 28px; }
.svc-menu em {
  display: block; font-style: normal; padding: 0 18px 18px;
  font-size: 13px; line-height: 1.8; color: #5a554b;
}
@media screen and (max-width: 979px) {
  #wrapper .svc-list .inner { padding: 0 16px; }
  #wrapper .svc-list .svc-lead { text-align: left; margin-bottom: 24px; }
  .svc-menu { grid-template-columns: 1fr 1fr; gap: 10px; }
  .svc-menu span { font-size: 14px; padding: 10px 22px 4px 10px; }
  .svc-menu span::after { top: 20px; right: 8px; }
  .svc-menu em { font-size: 11.5px; line-height: 1.7; padding: 0 10px 12px; }
}

/* トップ：新着コラム */
#column_section { padding: 70px 0 60px; background: #fff; }
#column_section .ldc-h {
  text-align: center; margin-bottom: 36px; font-size: 26px; letter-spacing: 0.15em; color: #26231c;
  font-family: font02, "SmartFont UI Proportional", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
#column_section .ldc-h .en { display: block; margin-bottom: 6px; font-size: 13px; letter-spacing: 0.3em; color: #00a0ad; font-family: "Oswald", sans-serif; }
@media screen and (max-width: 979px) { #column_section { padding: 45px 16px 40px; } }

/* トップの h1（案内パネルの見出しとして表示） */
#visualArea .inner.widthfix .ldc-badge h1.ldc-badge-h1 {
  position: static; left: auto; top: auto; width: auto; height: auto; min-height: 0; text-indent: 0;
  padding: 0; margin: 0 0 12px; background: none; text-align: left;
  font-size: 17px; line-height: 1.55; font-weight: bold; letter-spacing: .06em; color: #fff;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
@media screen and (max-width: 480px) {
  #visualArea .inner.widthfix .ldc-badge h1.ldc-badge-h1 { font-size: 15px; margin-bottom: 10px; }
}

/* ===== トップの見出し（画像→テキスト。元画像と同じ「大きな英字＋日本語＋3つの点」） ===== */
#wrapper .ldc-sec-h, #wrapper .inner .ldc-sec-h, #wrapper .inner.widthfix .ldc-sec-h {
  display: block; text-align: center; margin: 0 auto 40px; padding: 0; background: none; float: none; width: auto; height: auto;
}
.ldc-sec-h .en {
  display: block; font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 500;
  font-size: 42px; line-height: 1.1; letter-spacing: .1em; color: #26231c; background: none;
}
.ldc-sec-h .ja { display: block; margin-top: 6px; font-size: 13px; letter-spacing: .25em; color: #4a463e; background: none; }
.ldc-sec-h::after { content: "\2022\2022\2022"; display: block; margin-top: 6px; font-size: 14px; letter-spacing: .3em; color: #1a6f77; }
/* 院長・ドクターのあいさつ（縦書きの小見出し） */
#wrapper .ldc-vh3 {
  writing-mode: vertical-rl; text-orientation: upright;
  font-family: font01, "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 22px; letter-spacing: .25em; line-height: 1; color: #26231c;
}
@media screen and (max-width: 979px) {
  .ldc-sec-h .en { font-size: 32px; }
  #wrapper .inner.widthfix .ldc-sec-h { margin-bottom: 28px; }
}

/* トップ：よくあるご質問・上大岡で歯医者をお探しの方へ */
#faq_section { padding: 70px 0 50px; background: #f7f5f0; }
#faq_section .top-faq { max-width: 900px; margin: 0 auto; background: #fff; padding: 6px 28px; box-shadow: 0 6px 22px rgba(0, 0, 0, .06); }
#faq_section .dt-faq a { color: #00838e; text-decoration: underline; }
#local_section { padding: 70px 0 70px; background: #fff; }
.local-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: center; margin-bottom: 40px; }
.local-photo { margin: 0; }
.local-photo img { display: block; width: 100%; height: auto; box-shadow: 0 14px 36px rgba(0, 0, 0, .12); }
.local-txt .lead { font-size: 21px; font-weight: bold; line-height: 1.6; margin-bottom: 16px; color: #26231c; padding-left: 14px; border-left: 4px solid #00a0ad; }
.local-txt p { line-height: 2; margin-bottom: 1em; }
.local-txt a { color: #00838e; text-decoration: underline; }
.local-area { padding: 28px 32px; background: #f4fafa; border-top: 3px solid #00a0ad; }
#wrapper .local-area h3 { font-size: 17px; font-weight: bold; margin-bottom: 10px; color: #00838e; text-align: left; }
.local-area p { font-size: 14px; line-height: 1.95; margin-bottom: .8em; }
@media screen and (max-width: 979px) {
  #faq_section, #local_section { padding: 45px 16px; }
  #faq_section .top-faq { padding: 4px 12px; }
  .local-grid { grid-template-columns: 1fr; gap: 20px; }
  .local-txt .lead { font-size: 18px; }
  .local-area { padding: 20px 18px; }
}

/* ===== トップ：FEATURES（当院の特長）。文字はすべてテキスト、写真は院内紹介と共通 ===== */
#wrapper .ft-section { padding: 80px 0 90px; background: #f7f5f0; }
.ft-lead { text-align: center; margin: -14px 0 40px; line-height: 1.9; color: #4a463e; }
.ft-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.ft-item { grid-column: span 2; }
.ft-item.ft-1, .ft-item.ft-2 { grid-column: span 3; }
.ft-item a {
  display: flex; flex-direction: column; height: 100%; background: #fff; color: #26231c; text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .07); transition: transform .3s, box-shadow .3s;
}
.ft-item a:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 0, 0, .13); }
.ft-photo { position: relative; display: block; overflow: hidden; aspect-ratio: 41 / 26; }
.ft-item.ft-1 .ft-photo, .ft-item.ft-2 .ft-photo { aspect-ratio: 16 / 9; }
.ft-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.ft-item a:hover .ft-photo img { transform: scale(1.06); }
.ft-photo::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to bottom, rgba(10, 40, 44, 0), rgba(10, 40, 44, .75)); }
.ft-label {
  position: absolute; left: 18px; bottom: 14px; z-index: 1; display: flex; align-items: baseline; gap: 10px;
  color: #fff; font-family: "Oswald", "Arial Narrow", sans-serif; font-size: 13px; letter-spacing: .25em;
}
.ft-label b { font-size: 38px; font-weight: 500; line-height: 1; letter-spacing: 0; color: #f5d066; }
.ft-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 18px; border-top: 3px solid #00a0ad; }
.ft-ttl { font-size: 19px; font-weight: bold; letter-spacing: .04em; margin-bottom: 8px; }
.ft-txt { flex: 1; font-size: 14px; line-height: 1.85; color: #5a554b; }
.ft-more { margin-top: 14px; font-size: 13px; color: #00838e; font-weight: bold; }
.ft-more i { margin-left: 6px; transition: transform .2s; }
.ft-item a:hover .ft-more i { transform: translateX(4px); }
@media screen and (max-width: 979px) {
  #wrapper .ft-section { padding: 50px 0 56px; }
  #wrapper .ft-section .inner { padding: 0 16px; }
  .ft-lead { text-align: left; margin-bottom: 26px; }
  .ft-grid { grid-template-columns: 1fr; gap: 16px; }
  .ft-item, .ft-item.ft-1, .ft-item.ft-2 { grid-column: auto; }
  .ft-item .ft-photo, .ft-item.ft-1 .ft-photo, .ft-item.ft-2 .ft-photo { aspect-ratio: 16 / 9; }
  .ft-label b { font-size: 32px; }
}

/* ===== トップ：キャッチコピーと院長・歯科医師の名前（画像→文字。明朝体は font01＝軽量化した IPAex明朝） ===== */
#wrapper .ldc-catch {
  font-family: font01, "Hiragino Mincho ProN", "Yu Mincho", serif; color: #1a1917;
  letter-spacing: .14em; line-height: 1.75; font-feature-settings: "palt" 1;
}
#wrapper .catch .c01.ldc-catch { font-size: 22px; margin-bottom: 12px; }
#wrapper .catch .c02.ldc-catch { font-size: 20px; }
.ldc-catch .em { color: #bf4c69; }
#wrapper .catch .ldc-catch-sign { font-family: font01, "Hiragino Mincho ProN", serif; font-size: 13px; letter-spacing: .25em; color: #4d4a45; }
.ldc-vname {
  display: inline-block; writing-mode: vertical-rl; text-orientation: upright;
  font-family: font01, "Hiragino Mincho ProN", "Yu Mincho", serif; color: #33302b; line-height: 1.5; letter-spacing: .12em; text-align: start;
}
.ldc-vname .clinic { display: block; font-size: 12px; }
.ldc-vname .line { display: block; margin-right: 4px; }
.ldc-vname .role { font-size: 12px; margin-bottom: 10px; display: inline-block; }
.ldc-vname .nm { font-size: 24px; letter-spacing: .2em; }
@media screen and (max-width: 979px) {
  #wrapper .ldc-catch { letter-spacing: .04em; }
  #wrapper .catch .c01.ldc-catch { font-size: 18px; }
  #wrapper .catch .c02.ldc-catch { font-size: 16px; }
}

/* ===== 診療内容一覧：症状から探す・はじめての方へ・保険と自費・FAQ ===== */
#wrapper .svc-extra { margin-bottom: 80px; }
.svc-extra-lead { max-width: 860px; margin: -10px auto 26px; text-align: center; line-height: 1.95; }
.svc-sym-wrap { overflow-x: auto; }
.svc-sym { width: 100%; min-width: 640px; border-collapse: collapse; background: #fff; font-size: 14px; box-shadow: 0 6px 22px rgba(0, 0, 0, .06); }
.svc-sym th, .svc-sym td { padding: 12px 14px; border-bottom: 1px solid #ece8de; text-align: left; vertical-align: middle; line-height: 1.6; }
.svc-sym tr:first-child th { background: #0a4a50; color: #fff; font-weight: bold; }
.svc-sym th[scope="row"] { font-weight: bold; color: #26231c; width: 30%; }
.svc-sym td:last-child a {
  display: inline-block; margin: 2px 4px 2px 0; padding: 3px 10px; border: 1px solid #b9dfe2; border-radius: 999px;
  background: #f4fafa; color: #00838e; font-size: 12px; text-decoration: none; white-space: nowrap;
}
.svc-sym td:last-child a:hover { background: #00a0ad; color: #fff; }
.svc-note { margin-top: 10px; font-size: 13px; color: #6d675c; }
.svc-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: none; }
.svc-steps li { position: relative; padding: 22px 18px 18px; background: #fff; border-top: 3px solid #00a0ad; box-shadow: 0 4px 16px rgba(0, 0, 0, .06); }
.svc-steps .n { display: block; font-family: "Oswald", sans-serif; font-size: 28px; line-height: 1; color: #f5d066; margin-bottom: 8px; }
.svc-steps b { display: block; font-size: 16px; margin-bottom: 6px; }
.svc-steps p { font-size: 13px; line-height: 1.8; color: #5a554b; }
.svc-bring { margin-top: 22px; padding: 18px 24px; background: #f4fafa; border-left: 4px solid #00a0ad; }
.svc-bring .ttl { font-weight: bold; margin-bottom: 8px; color: #00838e; }
.svc-bring ul { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.svc-bring li { position: relative; padding-left: 1.2em; font-size: 14px; }
.svc-bring li::before { content: "・"; position: absolute; left: 0; color: #00a0ad; }
.svc-ins { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.svc-ins > div { padding: 24px 26px; background: #fff; border: 1px solid #e3ded3; }
.svc-ins .ttl { font-size: 17px; font-weight: bold; margin-bottom: 8px; padding-left: 10px; border-left: 4px solid #00a0ad; }
.svc-ins p { line-height: 1.9; font-size: 14px; }
.svc-faq { max-width: 900px; margin: 0 auto; background: #fff; padding: 6px 28px; box-shadow: 0 6px 22px rgba(0, 0, 0, .06); }
@media screen and (max-width: 979px) {
  #wrapper .svc-extra { margin-bottom: 50px; }
  #wrapper .svc-extra .inner { padding: 0 16px; }
  .svc-extra-lead { text-align: left; }
  .svc-steps { grid-template-columns: 1fr; gap: 10px; }
  .svc-ins { grid-template-columns: 1fr; }
  .svc-faq { padding: 4px 12px; }
}
