@charset "UTF-8";
/* =============================================================
   site.css — 有吉歯科医院 固有の見た目（全モード共通・最後に読む）
   数値は移行元サイト（Brizy）の実測値。PC=1366px / SP=390px で採寸（2026-11-26）。
   ブレークポイントは移行元に合わせる：ヘッダー/本文 = 991px、追従サイドバー = 768px。
   ============================================================= */
:root {
  --fs-primary: #40372d;
  --fs-accent:  #f9be00;
  --fs-text:    #000;
  --fs-heading: #000;
  --fs-muted:   #666;
  --fs-line:    #666;
  --fs-font-base:  'Zen Kaku Gothic New', sans-serif;
  --fs-font-serif: 'Noto Serif JP', 'Noto Serif', serif;
  --fs-font-en:    'Cormorant Garamond', serif;
  --fs-font-yu:    '游ゴシック体', 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, sans-serif;
  --fs-wrap: 1170px;
  --fs-header-h: 97px;
}

/* ---------- 上部細帯（h1） ---------- */
.fs-topbar { height: 32px; padding: 5px 0 0 20px; font-family: 'Noto Sans JP', sans-serif; font-size: 14px; line-height: 1.9; color: #000; letter-spacing: 0; background: #fff; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ---------- ヘッダー ---------- */
.fs-header { box-shadow: none; }
.fs-header__inner { max-width: none; min-height: 97px; padding: 0; gap: 0; }
.fs-logo { flex: 0 0 25%; padding-left: 15px; }
.fs-logo__word { width: 274px; max-width: 100%; height: auto; }
.fs-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.fs-nav__item { padding: 5px 0; }
.fs-nav__item > a { width: 140px; gap: 0; padding: 10px 8px; border-right: 1px solid #ddd; font-family: var(--fs-font-yu); }
.fs-nav__item:last-child > a { border-right: 0; }
.fs-nav__jp { font-size: 16px; line-height: 24px; font-weight: 400; color: #40372d; letter-spacing: 0; }
.fs-nav__en { margin-top: 5px; font-family: var(--fs-font-yu); font-size: 12px; line-height: 18px; letter-spacing: 0; color: #f9be00; text-transform: none; }
.fs-nav__item > a:hover .fs-nav__jp { color: #f9be00; }
.fs-subnav { left: 50%; right: auto; min-width: 200px; padding: 0; transform: translate(-50%, 8px); box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.fs-nav__item.has-child:hover .fs-subnav { transform: translate(-50%, 0); }
.fs-nav__item:nth-last-child(-n+3) .fs-subnav { left: 50%; right: auto; }
.fs-subnav > li > a { padding: 11px 18px; font-family: var(--fs-font-yu); font-size: 15px; color: #40372d; border-bottom: 1px solid #eee; }
.fs-subnav > li > a:hover { background: #f7f7f7; color: #40372d; }

@media screen and (max-width: 991px) {
  .fs-topbar { height: 25px; padding: 2px 15px 0; font-size: 11px; }
  .fs-header__inner { min-height: 66px; padding: 0 26px 0 15px; }
  .fs-logo { flex: 0 1 auto; padding-left: 0; }
  .fs-logo__word { width: 239px; height: auto; }
  .fs-burger { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 25px; height: 44px; background: none; border: 0; padding: 0; }
  .fs-burger span { display: block; width: 25px; height: 2px; background: #333; transition: .25s; }
  .fs-burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .fs-burger.is-open span:nth-child(2) { opacity: 0; }
  .fs-burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .fs-nav__close { display: block; position: absolute; top: 12px; right: 18px; width: 44px; height: 44px; background: none; border: 0; font-size: 32px; line-height: 1; color: #333; z-index: 2; }
  .fs-nav { display: block; position: fixed; inset: 0 0 0 auto; width: min(84%, 340px); background: #fff; transform: translateX(100%); transition: .3s; overflow-y: auto; box-shadow: -8px 0 30px rgba(0,0,0,.15); z-index: 1200; padding: 70px 0 110px; }
  .fs-nav.is-open { transform: translateX(0); }
  .fs-nav__list { flex-direction: column; align-items: stretch; }
  .fs-nav__item { padding: 0; }
  .fs-nav__item > a { width: auto; flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 10px; border-right: 0; border-bottom: 1px solid #eee; padding: 14px 56px 14px 24px; }
  .fs-nav__en { margin-top: 0; }
  .fs-nav__toggle { display: block; position: absolute; top: 0; right: 0; width: 52px; height: 52px; background: none; border: 0; }
  .fs-nav__toggle::before { content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-right: 2px solid #333; border-bottom: 2px solid #333; transform: translate(-50%, -70%) rotate(45deg); transition: transform .2s; }
  .fs-nav__item.is-expanded > .fs-nav__toggle::before { transform: translate(-50%, -30%) rotate(-135deg); }
  .fs-subnav, .fs-nav__item:nth-last-child(-n+3) .fs-subnav { display: none; position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: #f7f7f7; }
  .fs-nav__item.has-child:hover .fs-subnav { transform: none; }
  .fs-nav__item.is-expanded > .fs-subnav { display: block; }
  .fs-subnav > li > a { padding: 10px 38px; white-space: normal; }
}

/* ---------- 下層のページ名帯 ---------- */
.fs-hero { height: 197px; margin: 0; background-position: 50% 41%; }
.fs-hero__mask { background: rgba(64,64,64,.4); }
.fs-hero__title { font-family: var(--fs-font-serif); font-weight: 400; font-size: 36px; line-height: 1.3; letter-spacing: -1.5px; }
.fs-hero__line, .fs-hero__en { display: none; }

/* ---------- パンくず ---------- */
.fs-crumb__inner { max-width: 1170px; padding: 17px 0 13px; font-family: var(--fs-font-yu); font-size: 15px; line-height: 1.3; color: #404040; }
.fs-crumb a { color: #666; }
.fs-crumb span { margin: 0 6px; color: #999; }
.fs-crumb em { color: #404040; }

@media screen and (max-width: 1210px) {
  .fs-crumb__inner { padding-left: 20px; padding-right: 20px; }
}
@media screen and (max-width: 991px) {
  .fs-hero { height: 102px; }
  .fs-hero__title { font-size: 30px; line-height: 1; letter-spacing: 1px; }
  .fs-crumb__inner { padding: 17px 15px 18px; text-align: center; }
}

/* ---------- 下層本文（clean-b が出力する fs-sec / fs-txt）。kpage.css の既定（帯つき h2 など）を移行元の見た目に戻す ---------- */
.fs-body { max-width: none; margin: 0; padding: 0; font-family: var(--fs-font-base); font-size: 16px; color: #000; }
.fs-body .fs-sec { padding: var(--fs-sec-pt, 75px) 0 var(--fs-sec-pb, 75px); }
.fs-body .fs-sec__in { max-width: 1170px; margin: 0 auto; padding: 25px; }
.fs-body .fs-txt { padding: 0; }
.fs-body .fs-accent { font-weight: inherit; }
.fs-body p, .fs-body li { font-size: var(--fs-fz, 16px); line-height: var(--fs-lh, 2.2); letter-spacing: var(--fs-ls, .8px); }
.fs-body p { margin: 0; text-align: justify; }
.fs-body .fs-sp { display: block; }
.fs-body .fs-tc { text-align: center; }
.fs-body .fs-tr { text-align: right; }
.fs-body .fs-txt > h2 { margin: 0; padding: 0; background: none; font-family: var(--fs-font-serif); font-weight: 400; font-size: var(--fs-fz, 31px); line-height: 1.9; letter-spacing: 0; color: #000; }
.fs-body .fs-txt > h3, .fs-body .fs-txt > h4 { margin: 0; padding: 0; font-family: var(--fs-font-base); font-weight: 400; font-size: var(--fs-fz, 23px); line-height: var(--fs-lh, 2.2); letter-spacing: var(--fs-ls, .8px); color: #000; text-align: justify; }
.fs-body ul, .fs-body ol { margin: 0; padding-left: 26px; list-style: none; }
.fs-body li { position: relative; margin-left: 16px; color: #404040; text-align: justify; }
.fs-body ul > li::before { content: "・"; position: absolute; left: -1.4em; }
.fs-body ol { counter-reset: fs-ol; }
.fs-body ol > li { counter-increment: fs-ol; }
.fs-body ol > li::before { content: counter(fs-ol) "."; position: absolute; left: -1.6em; }
.fs-body a { color: inherit; }

/* 見出しの上のシンボルマーク（56px・中央） */
.fs-body .fs-fig--box { width: var(--fs-fgw, 100%); max-width: none; margin: 0 auto; padding: 0; border: 0; }
.fs-body .fs-fig--box img { width: 100%; }
.fs-body .fs-fig:has(> img[alt$="ロゴ"]) { margin-bottom: 19px; }

/* 罫線 */
.fs-body .fs-hr { width: var(--fs-hr-w, 100%); height: 0; margin: 7px auto; border: 0; border-top: var(--fs-hr-h, 1px) solid var(--fs-hr-c, rgba(102,102,102,.75)); }
.fs-body .fs-hr--under { margin: 7px auto; }

/* 部品どうしの既定の間隔（移行元は部品ごとに上下10pxずつ） */
.fs-sec__in > .fs-txt + .fs-txt, .fs-box > .fs-txt + .fs-txt, .fs-media__txt > .fs-txt + .fs-txt, .fs-sec__in > .fs-row + .fs-txt, .fs-sec__in > .fs-txt + .fs-row, .fs-sec__in > .fs-media + .fs-txt { margin-top: 20px; }

/* 小見出し h3 は左5px、その下の本文は左右10px内側（移行元の実測：h3=128px/本文=133px 始まり） */
.fs-sec__in > .fs-txt:has(> h3) { padding-left: 5px; }
.fs-sec__in > .fs-txt:has(> h3) ~ .fs-txt:not(:has(> h3)) { padding-left: 10px; padding-right: 10px; }
.fs-body .fs-txt > h3.fs-tc, .fs-body .fs-txt > h4.fs-tc { text-align: center; }
/* 訪問歯科・料金表だけは h3 以降が一段内側（本文 1120px → 998px） */
:is(.fs-key-homecare, .fs-key-price) .fs-sec__in > .fs-txt:has(> h3), :is(.fs-key-homecare, .fs-key-price) .fs-sec__in > .fs-txt:has(> h3) ~ * { max-width: 998px; margin-left: auto; margin-right: auto; }
.fs-sec__in > .fs-txt:has(> h3) ~ .fs-txt:has(> h3), .fs-sec__in > .fs-txt:has(> h3) ~ .fs-txt:has(> h4) { margin-top: 25px; }
.fs-sec__in > .fs-txt:has(> h2) + * { margin-top: 55px; }
.fs-sec__in > .fs-txt:has(> h2) + .fs-txt:has(> h3) { margin-top: 40px; }

/* 文字つきの罫線（小見出し＋右へ伸びる点線） */
.fs-body .fs-linetext { display: flex; align-items: center; gap: 12px; margin: 14px 0 6px; padding: 0 5px; font-size: 16px; line-height: 2.2; letter-spacing: .8px; color: #000; }
.fs-body .fs-linetext::after { content: ""; flex: 1 1 auto; border-top: 1px dotted #8c8c8c; }
.fs-body .fs-linetext ~ .fs-txt { padding-left: 14px; padding-right: 14px; }

/* 枠つきボックス（手順など）と、その間の下向き矢印 */
.fs-body .fs-box { max-width: 916px; margin: 10px auto; padding: 16px 21px 21px; border: var(--fs-colbd, 1px solid #666); }
.fs-body .fs-box .fs-txt:has(> p) { padding: 12px 22px 0; }
.fs-body .fs-box .fs-hr--under { margin-left: 0; }
.fs-sec__in > .fs-txt:has(> h2) + .fs-box { margin-top: 26px; }
.fs-body .fs-arrow--icon { position: relative; width: 40px; height: 40px; margin: 0 auto; border: 1px solid #8c8c8c; border-radius: 50%; }
.fs-body .fs-arrow--icon::after { content: ""; position: absolute; left: 50%; top: 9px; width: 1px; height: 20px; margin: 0; border: 0; background: #8c8c8c; transform: none; }
.fs-body .fs-arrow--icon::before { content: ""; position: absolute; left: 50%; top: 19px; width: 9px; height: 9px; border-right: 1px solid #8c8c8c; border-bottom: 1px solid #8c8c8c; transform: translateX(-50%) rotate(45deg); }

/* 写真＋文章 */
.fs-body .fs-media { display: flex; align-items: flex-start; gap: 30px; margin: 20px 0; }
.fs-body .fs-media__img { flex: 0 0 var(--fs-mw-img, 49%); }
.fs-body .fs-media .fs-fig { margin: 0; }

@media screen and (max-width: 991px) {
  .fs-body .fs-sec { padding: calc(var(--fs-sec-pt, 75px) * .35) 0 calc(var(--fs-sec-pb, 75px) * .35); }
  .fs-body .fs-fig--box { width: var(--fs-fgw-sp, var(--fs-fgw, 100%)); }
  .fs-body .fs-sec__in { padding: 5px 22px; }
  .fs-body .fs-txt > h2 { font-size: var(--fs-fz-sp, 27px); line-height: 1.6; }
  :is(.fs-key-homecare, .fs-key-price) .fs-sec__in > .fs-txt:has(> h3), :is(.fs-key-homecare, .fs-key-price) .fs-sec__in > .fs-txt:has(> h3) ~ * { max-width: none; }
  .fs-sec__in > .fs-txt:has(> h3), .fs-sec__in > .fs-txt:has(> h3) ~ .fs-txt:not(:has(> h3)) { padding-left: 0; padding-right: 0; }
  .fs-body .fs-media, .fs-body .fs-media--imgleft { flex-direction: column; gap: 20px; }
  .fs-body .fs-media__img { flex: none; width: 100%; }
  .fs-body .fs-box { padding: 10px 15px 15px; }
  .fs-body .fs-box .fs-txt:has(> p) { padding: 8px 0 0; }
  .fs-sec__in > .fs-txt:has(> h2) + * { margin-top: 30px; }
}

/* ---------- フッター ---------- */
.fs-footer { position: relative; margin: 0; padding: 55px 0; background: var(--fs-footer-bg) center / cover no-repeat; color: #666; }
.fs-footer::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.93); }
.fs-footer__inner { position: relative; display: block; max-width: 1150px; margin: 0 auto; padding: 10px 0; }
.fs-footer__head { text-align: center; padding: 20px 0 20px; }
.fs-footer__logo { display: block; width: 441px; max-width: 100%; margin: 0 auto 25px; }
.fs-footer__logo img { display: block; width: 100%; height: auto; }
.fs-footer__tel { margin: 0; font-family: 'Overpass', sans-serif; font-size: 20px; line-height: 1.9; }
.fs-footer__tel a { font-size: inherit; font-weight: 400; color: #666; letter-spacing: 0; }
.fs-footer__addr { margin: 8px 0 0; font-family: var(--fs-font-base); font-size: 18px; line-height: 1.9; color: #666; }
.fs-footer__cols { display: grid; grid-template-columns: 50% 25% 25%; }
.fs-footer__hours { padding: 15px 15px 0; }
.fs-footer__col { padding: 15px 30px 0; }
.fs-footer__en { margin: 0; font-family: var(--fs-font-en); font-weight: 500; font-size: 30px; line-height: 1.9; color: #666; }
.fs-footer__col ul { margin: 0; padding: 4px 0 0; list-style: none; }
.fs-footer__col li a { display: inline; padding: 0; border: 0; font-family: var(--fs-font-yu); font-size: 16px; line-height: 1.9; color: #666; }
.fs-footer__col li a:hover { color: #f9be00; }
.fs-footer .fs-hours { width: 100%; max-width: none; margin: 0 0 20px; border-collapse: collapse; background: none; font-family: var(--fs-font-base); font-size: 14px; }
.fs-footer .fs-hours th, .fs-footer .fs-hours td { border: 0; border-bottom: 1px solid #666; border-right: 1px solid #666; text-align: center; vertical-align: middle; font-size: 19px; line-height: 1; font-weight: 400; color: #666; background: none; white-space: nowrap; }
.fs-footer .fs-hours thead th { padding: 15px 5px; }
.fs-footer .fs-hours thead th:first-child { width: 140px; }
.fs-footer .fs-hours thead th:last-child { width: 60px; }
.fs-footer .fs-hours tbody th, .fs-footer .fs-hours tbody td { padding: 20px 5px; }
.fs-footer .fs-hours tr > :last-child { border-right: 0; }
.fs-footer .fs-hours tbody tr:last-child > * { border-bottom: 0; }
.fs-footer .fs-hours td.is-off { color: #666; }
.fs-footer__note { margin: 0; font-family: var(--fs-font-base); font-size: 16px; line-height: 1.5; color: #666; }
.fs-footer__map { margin: 20px 31px 0; height: 310px; }
.fs-footer__map iframe { display: block; width: 100%; height: 100%; border: 0; }

@media screen and (max-width: 1190px) {
  .fs-footer__inner { padding-left: 15px; padding-right: 15px; }
}
@media screen and (max-width: 767px) {
  .fs-footer { padding: 25px 15px 100px; }
  .fs-footer__inner { padding: 0; }
  .fs-footer__tel { font-size: 23px; line-height: 1.7; }
  .fs-footer__addr { font-size: 16px; }
  .fs-footer__cols { grid-template-columns: 1fr 1fr; }
  .fs-footer__hours { grid-column: 1 / -1; padding: 15px 0 40px; }
  .fs-footer__col { padding: 0; }
  .fs-footer__col ul { text-align: center; }
  .fs-footer__col li a { line-height: 2; }
  .fs-footer .fs-hours thead th:first-child { width: auto; }
  .fs-footer .fs-hours thead th:last-child { width: auto; }
  .fs-footer .fs-hours th, .fs-footer .fs-hours td { white-space: normal; }
  .fs-footer__map { margin: 10px 13px 0; }
}

/* ---------- 追従サイドバー（移行元の .sidebar と同じ寸法） ---------- */
.fs-side { position: fixed; top: 50%; right: 0; z-index: 1100; transform: translateY(-50%); display: flex; flex-direction: column; background: #333; }
.fs-side__item { display: flex; flex-direction: column; align-items: center; padding: 15px; font-family: var(--fs-font-yu); font-size: 16px; line-height: 1.5; color: #fff; text-decoration: none; border-bottom: 1px solid #555; transition: background .3s ease, color .3s ease; }
.fs-side__item:last-child { border-bottom: 0; }
.fs-side__item img { width: 32px; height: 32px; margin-bottom: 8px; }
.fs-side__item[href]:hover { background: #444; color: #f9be00; }
.fs-pagetop { display: none !important; }

@media screen and (max-width: 768px) {
  .fs-side { top: auto; bottom: 0; left: 0; right: 0; transform: none; flex-direction: row; justify-content: space-around; border-top: 1px solid #555; }
  .fs-side__item { justify-content: center; padding: 10px; font-size: 14px; border-bottom: 0; }
  .fs-side__item img { width: 28px; height: 28px; margin: 0 0 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .fs-nav, .fs-subnav, .fs-side__item, .fs-burger span { transition: none; }
}

/* ---------- 移行元の追加CSS（表・よくある質問）をそのまま移植 ---------- */
.case-table { width: 100%; max-width: 1000px; border-collapse: collapse; font-family: "Yu Gothic", "游ゴシック", YuGothic, sans-serif; table-layout: auto; }
.fs-body .case-table th, .fs-body .case-table td { padding: 12px; border: 1px solid #ddd; text-align: left; font-size: 16px; line-height: 1.5; letter-spacing: 0; }
.fs-body .case-table th { background-color: #5d5d5d; font-weight: 400; color: #fff; }
.fs-body .case-table td { background-color: #fff; color: #666; }
@media (min-width: 1024px) { .case-table { margin-left: auto; margin-right: auto; } }
@media (max-width: 1023px) { .fs-body .case-table th, .fs-body .case-table td { font-size: 15px; } }

.qa-7 { max-width: 1000px; margin: 0 auto 10px; border: 0; border-radius: 0; box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgb(0 0 0 / 5%); background-color: #ebebeb; }
.qa-7 summary { display: flex; justify-content: space-between; align-items: center; position: relative; padding: 1em 2em 1em 3em; color: #666; font-weight: 600; cursor: pointer; list-style: none; }
.qa-7 summary::-webkit-details-marker { display: none; }
.qa-7 summary::before, .qa-7 p::before { position: absolute; left: 1em; font-weight: 600; font-size: 1.3em; }
.qa-7 summary::before { color: #666; content: "Q"; }
.qa-7 summary::after { transform: translateY(-25%) rotate(45deg); width: 7px; height: 7px; margin-left: 10px; border-bottom: 3px solid #666666b3; border-right: 3px solid #666666b3; content: ""; transition: transform .5s; }
.qa-7[open] summary::after { transform: rotate(225deg); }
.fs-body .qa-7 p { position: relative; transform: translateY(-10px); opacity: 0; margin: 0; padding: .3em 3em 1.5em; color: #333; line-height: 1.9; letter-spacing: 0; transition: transform .5s, opacity .5s; }
.fs-body .qa-7[open] p { transform: none; opacity: 1; }
.qa-7 p::before { color: #eb8d00; line-height: 1.2; content: "A"; }

/* 本文中の診療時間表（フッターと同じ罫線だけの表） */
.fs-body .fs-hours-wrap { max-width: 575px; margin: 0; padding: 30px 0 25px; }
.fs-body .fs-hours-wrap .fs-hours-note { margin: 20px 0 0; font-size: 16px; line-height: 1.5; letter-spacing: 0; color: #666; text-align: left; }
.fs-body .fs-hours--body { width: 100%; max-width: none; border-collapse: collapse; background: none; }
.fs-body .fs-hours--body th, .fs-body .fs-hours--body td { border: 0; border-bottom: 1px solid #666; border-right: 1px solid #666; padding: 20px 5px; text-align: center; vertical-align: middle; font-size: 19px; line-height: 1; letter-spacing: 0; font-weight: 400; color: #666; background: none; white-space: nowrap; }
.fs-body .fs-hours--body thead th { padding: 15px 5px; }
.fs-body .fs-hours--body tr > :last-child { border-right: 0; }
.fs-body .fs-hours--body tbody tr:last-child > * { border-bottom: 0; }

/* 背景色つきの行（見出し帯など） */
.fs-body .fs-row { margin: 10px 0; padding: 0 15px; background: var(--fs-rowbg, transparent); }

/* 写真の右下に重なる名札（スタッフ紹介） */
.fs-body .fs-media:has(> .fs-media__txt > .fs-row) { align-items: flex-end; justify-content: flex-end; gap: 0; }
.fs-body .fs-media:has(> .fs-media__txt > .fs-row) > .fs-media__img { flex: 0 0 776px; max-width: 70%; }
.fs-body .fs-media:has(> .fs-media__txt > .fs-row) > .fs-media__txt { position: relative; z-index: 1; flex: 0 0 315px; margin: 0 0 -8px -70px; }
.fs-body .fs-media__txt > .fs-row { margin: 0; padding: 8px 18px 12px; }
.fs-body .fs-media__txt > .fs-row p { color: #fff; }
.fs-body .fs-media__txt > .fs-row .fs-txt + .fs-txt { margin-top: 0; }
@media screen and (max-width: 991px) {
  .fs-body .fs-media:has(> .fs-media__txt > .fs-row) { flex-direction: column-reverse; align-items: flex-end; }
  .fs-body .fs-media:has(> .fs-media__txt > .fs-row) > .fs-media__img { flex: none; width: 100%; max-width: none; }
  .fs-body .fs-media:has(> .fs-media__txt > .fs-row) > .fs-media__txt { flex: none; width: 100%; margin: 10px 0 0; }
}

/* ---------- TOP のメインスライド（FV）：写真＋縦書きの箱。寸法は移行元スライド（PC 1920×800 / SP 750×935）の実測比 ---------- */
.fs-fv { position: relative; width: 100%; overflow: hidden; background: #e9ecee; }
.fs-fv--pc { aspect-ratio: 1920 / 800; }
.fs-fv--sp { aspect-ratio: 750 / 935; }
.fs-fv__slide { position: absolute; inset: 0; opacity: 0; animation: fs-fv-fade calc(var(--fs-fv-n) * 6s) linear infinite; animation-delay: calc(var(--fs-fv-i) * 6s); }
.fs-fv__slide > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fs-fv__copy { position: absolute; top: 5%; bottom: 18%; margin: 0; padding: 2.2% 1.3%; display: block; writing-mode: vertical-rl; background: rgba(110,110,110,.55); color: #fff; font-family: var(--fs-font-base); font-weight: 300; font-size: 1.85vw; line-height: 1; letter-spacing: .32em; white-space: nowrap; }
.fs-fv__copy::before, .fs-fv__copy::after { content: ""; position: absolute; width: 1px; height: 26%; background: rgba(255,255,255,.75); }
.fs-fv__copy::before { top: 2%; right: 46%; }
.fs-fv__copy::after { bottom: 2%; left: 14%; }
.fs-fv__copy span { display: block; margin-left: .6em; }
.fs-fv__copy span:last-child { margin-left: 0; }
.fs-fv__slide.is-right .fs-fv__copy { right: 10%; }
.fs-fv__slide.is-left .fs-fv__copy { left: 8.5%; }
.fs-fv--sp .fs-fv__copy { top: 26%; bottom: 3%; padding: 5% 3.5%; font-size: 5.6vw; }
.fs-fv--sp .fs-fv__slide.is-right .fs-fv__copy { right: 6%; }
.fs-fv--sp .fs-fv__slide.is-left .fs-fv__copy { left: 4%; }
@keyframes fs-fv-fade { 0% { opacity: 0; } 8% { opacity: 1; } 50% { opacity: 1; } 58% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .fs-fv__slide { animation: none; }
  .fs-fv__slide:first-child { opacity: 1; }
}

/* ---------- 一覧・記事・404 などのページ名帯（下層のページ名帯と同じ見た目にそろえる） ---------- */
.kpage-hero { height: 197px; justify-content: center; background-position: 50% 41%; }
.kpage-hero__mask { background: rgba(64,64,64,.4); }
.kpage-hero__inner { max-width: 1170px; padding: 0 20px; text-align: center; }
.kpage-hero__en { display: none; }
.kpage-hero__title { font-family: var(--fs-font-serif); font-weight: 400; font-size: 36px; line-height: 1.3; letter-spacing: -1.5px; text-shadow: none; }
.fs-news-item__ttl { font-family: var(--fs-font-base); font-weight: 400; color: #404040; }
.fs-news-item__link:hover { background: #f7f7f7; }
@media screen and (max-width: 991px) {
  .kpage-hero { height: 102px; }
  .kpage-hero__title { font-size: 30px; line-height: 1; letter-spacing: 1px; }
}
/* スマホのフッター電話番号：雛形の枠つきボタン表示を解除（移行元は文字だけ） */
@media screen and (max-width: 768px) {
  .fs-footer__tel a { display: inline; min-height: 0; padding: 0; border: 0; background: none; font-size: inherit; }
}

/* ---------- 本文中のボタン（移行元は細い枠線だけのボタン） ---------- */
.fs-body .fs-btn2 { padding: 11px 42px; border: 1px solid #666; background: transparent; color: #666 !important; font-family: var(--fs-font-base); font-size: 15px; line-height: 1.6; letter-spacing: 3px; transition: background .2s, color .2s; }
.fs-body .fs-btn2:hover { background: #666; color: #fff !important; opacity: 1; }
