/* Figma「TOPページ」423:936 / PC基準幅1440px・SPは767px以下。 */
@font-face { font-family: 'Zen Maru Gothic'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/zen-maru-gothic-regular.ttf') format('truetype'); }
@font-face { font-family: 'Zen Maru Gothic'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/zen-maru-gothic-medium.ttf') format('truetype'); }
@font-face { font-family: 'Zen Maru Gothic'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/zen-maru-gothic-bold.ttf') format('truetype'); }
:root { --color-ink: #54402f; --color-orange: #fe8f26; --color-paper: #fcf9f7; --color-line: #c8b297; --font-weight-heading: 500; --font-main: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', sans-serif; }
* { box-sizing: border-box; }
html { color: var(--color-ink); background: var(--color-paper); }
body { position: relative; min-width: 1440px; margin: 0; font-family: var(--font-main); font-size: 20px; font-weight: 400; line-height: 1.45; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
/* 日本語見出しの上限は下層FV説明文と同じMedium。Regular指定は維持。 */
h1, h2, h3, h4, h5, h6 { font-weight: var(--font-weight-heading); }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #805024; outline-offset: 5px; }
section[id], div[id].news, .treatment-card[id] { scroll-margin-top: 24px; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: absolute; top: 10px; left: 10px; z-index: 100; padding: 12px 20px; background: white; }
.design-container { position: relative; width: 1440px; margin-inline: auto; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 62px; border: 0; border-radius: 32px; background: var(--color-orange); color: #fff; font-size: 20px; font-weight: 500; white-space: nowrap; transition: background-color .2s, box-shadow .2s; }
.button:hover, .reservation-header:hover { background-color: #ec7f19; box-shadow: 0 4px 16px #54402f18; }
.arrow-icon { flex: none; transform: rotate(90.4deg); }
.button--small { width: 207px; min-height: 44px; }
.section-heading { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.section-heading__en { color: var(--color-orange); font-size: 20px; font-weight: 500; line-height: 29px; letter-spacing: 2.6px; white-space: nowrap; }
.section-heading__rule { margin-top: 14px; }
.section-heading h2 { margin-top: 5px; font-size: 40px; line-height: 1.45; }
.section-heading h2 span { color: var(--color-orange); }
.section-heading--center { align-items: center; text-align: center; }
.section-heading__description { margin-top: 11px; font-size: 20px; line-height: 29px; white-space: nowrap; }
.section-background { position: absolute; inset: 0; width: 1440px; height: 100%; object-fit: cover; pointer-events: none; }

/* 共通ヘッダー */
/* 通常ヘッダーは文書とともにスクロールする。fixed / sticky は使用しない。 */
.site-header { position: relative; height: 133px; background: #ffffff80; }
.home .site-header { position: absolute; z-index: 5; top: 0; left: 0; width: 100%; }
.site-header__inner { width: 1405px; height: 133px; margin-inline: auto; display: flex; align-items: center; gap: 15px; }
.brand { display: flex; flex: none; align-items: center; }
.brand--header { flex-direction: column; width: 176.522px; height: 112px; }
.brand--header .brand__symbol { width: 96.803px; height: 58.058px; object-fit: cover; }
.brand--header .brand__name { width: 176.522px; height: 58.841px; object-fit: cover; }
.primary-nav { display: flex; align-items: center; flex: none; gap: 30px; width: 792px; font-size: 20px; white-space: nowrap; }
.primary-nav a:hover { color: #d56a12; }
.header-contact { display: flex; align-items: center; gap: 15px; }
.header-contact__phone { width: 196px; flex: none; }
.header-contact__phone a { display: flex; align-items: center; justify-content: space-between; }
.header-contact__phone a span { font-size: 25px; font-weight: 500; letter-spacing: 1.5px; line-height: 25px; white-space: nowrap; }
.header-contact__phone p { margin-top: 4px; font-size: 14px; line-height: 14px; white-space: nowrap; }
.reservation-header { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; width: 196px; height: 85.822px; border-radius: 5.799px; background: var(--color-orange); color: white; transition: background-color .2s; }
.reservation-header > span { display: flex; align-items: center; gap: 13.7px; }
.reservation-header strong { font-size: 23.195px; }
.reservation-header small { font-size: 16.237px; line-height: 16.237px; margin-top: 3px; }
.reservation-header__corner { position: absolute; right: 3px; bottom: 5px; transform: rotate(127.21deg); }

/* メインビジュアル */
.hero { height: 825px; }
.hero__inner { height: 825px; }
.hero__photo { width: 1440px; height: 825px; object-fit: cover; }
/* 写真だけを重ね、既存画像の装飾・背景・波形を固定したまま使用。 */
.hero__photos { position: absolute; inset: 0; overflow: hidden; pointer-events: none; -webkit-mask: url('../images/hero-photo-mask.svg') 0 0 / 100% 100% no-repeat; mask: url('../images/hero-photo-mask.svg') 0 0 / 100% 100% no-repeat; }
.hero__slide { position: absolute; top: 0; right: 0; width: 75%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1s ease-in-out; }
.hero__slide.is-active { z-index: 2; opacity: 1; }
.hero__slide.is-previous { z-index: 1; opacity: 1; transition: none; }
.hero__slide--treatment { width: 100%; }
.hero__slide--family { width: 70%; object-position: left center; }

.hero__headline { position: absolute; top: 223.2px; left: 109px; }
.hero__headline h1 { position: relative; z-index: 1; font-size: 50px; font-weight: var(--font-weight-heading); line-height: 1.45; }
.hero__headline h1 > span { display: block; width: max-content; transform: rotate(-3.39deg); transform-origin: center; }
.hero__headline h1 > span + span { margin-top: -1px; }
.hero__headline em { font-style: normal; font-size: 55px; font-weight: var(--font-weight-heading); color: var(--color-orange); }
.hero__headline strong { font-size: 55px; font-weight: var(--font-weight-heading); }
.hero__underline { position: absolute; top: 83px; left: 50px; width: 524px; height: 174px; object-fit: cover; }
.hero__copy { position: absolute; top: 463px; left: 113px; width: 470px; font-size: 18px; line-height: 1.45; }
.hero__lead { margin-bottom: 25px; font-size: 25px; font-weight: 500; letter-spacing: 2.75px; line-height: 36px; }

/* お知らせ・診療時間 */
.information { min-height: 436px; padding-top: 13px; }
.information__inner { width: 1116px; margin-inline: auto; display: grid; grid-template-columns: 516px 499px; gap: 100px; }
.news__heading { display: flex; align-items: flex-end; justify-content: space-between; }
.news-list { margin-top: 22px; min-height: 186px; display: flex; flex-direction: column; gap: 24px; }
.news-list li { position: relative; min-height: 46px; }
.news-list a { display: flex; align-items: center; gap: 20px; font-weight: 500; }
.news-list a:hover span { text-decoration: underline; text-underline-offset: 5px; }
.news-list time { flex: none; font-size: 18px; }
.news-list a > span { font-size: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list__rule { position: absolute; bottom: 0; left: 0; }
.news-list__empty { font-size: 18px; }
.office-hours > .section-heading { margin-bottom: 15px; }
.schedule { width: 499px; }
.schedule__table-wrap { position: relative; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 0 4px #00000040; }
.schedule__table { width: 499px; height: 156px; border-collapse: collapse; table-layout: fixed; text-align: center; font-size: 16px; }
.schedule__table th, .schedule__table td { padding: 0; font-weight: 400; }
.schedule__table th:first-child { width: 99px; font-size: 14px; }
.schedule__table thead { height: 45px; background: var(--color-orange); color: white; }
.schedule__table thead th:first-child { font-size: 16px; font-weight: 500; }
.schedule__table tbody tr { height: 55.5px; }
.schedule__table td img { margin-inline: auto; }
.schedule__notes { margin-top: 15px; font-size: 20px; line-height: 29px; }
.schedule__notes p + p { padding-left: 19px; }
.schedule__vertical-rule { position: absolute; top: 1px; left: 99px; transform: rotate(90deg); transform-origin: 0 0; pointer-events: none; }
.schedule__horizontal-rule { position: absolute; left: 0; pointer-events: none; }
.schedule__horizontal-rule--one { top: 45px; }
.schedule__horizontal-rule--two { top: 100px; }

/* ３つの特徴：カード内部の写真はFigmaのマスクとトリミングを維持。 */
.features { background: #fffdfb; }
.features__inner { min-height: 966px; padding-top: 41px; padding-bottom: 90px; overflow: hidden; }
.features__decoration { position: absolute; inset: 0; background: url('../images/features-background.png') -13.234px 418.172px / 1464.46px 549.173px no-repeat; mask: url('../images/features-mask.svg') 0 0 / 1440px 966px no-repeat; pointer-events: none; }
.features__heading { height: 229px; }
.section-heading .features__three { font-size: 60px; }
.feature-cards { position: relative; width: 1243px; margin-inline: auto; display: grid; grid-template-columns: repeat(3, 409px); gap: 8px; }
.feature-card { position: relative; height: 504px; background: white; border-radius: 18px; box-shadow: 0 0 4px #00000040; }
/* 上端は角丸の直線、下端だけ浅いカーブ。画像本体の寸法・位置は維持。 */
.feature-card__photo { position: relative; width: 393px; height: 255px; margin: 8px 8px 0; mask: url('../images/feature-photo-mask.svg') 0 0 / 393px 255px no-repeat; }
.feature-card__photo img { position: absolute; object-fit: cover; }
.feature-card--care .feature-card__photo img { left: -19px; top: -62px; width: 525px; height: 350px; }
.feature-card--explanation .feature-card__photo img { left: -14px; top: -8px; width: 440px; height: 293px; }
.feature-card--community .feature-card__photo img { left: -32px; top: -31px; width: 440px; height: 293px; }
.feature-card__body { position: relative; margin-top: -28px; padding: 0 32px 16px 37px; }
.feature-card__number { color: var(--color-orange); font-size: 40px; font-weight: 500; line-height: 58px; }
.feature-card__rule { margin-top: 6px; }
.feature-card h3 { margin-top: 18px; margin-bottom: 10px; font-size: 30px; line-height: 1.45; white-space: nowrap; }
.feature-card__body > p:last-child { font-size: 20px; line-height: 29px; }
.features__button { position: relative; left: 12px; display: flex; justify-content: flex-start; width: 228px; height: 62px; padding-left: 42px; margin: 40px auto 0; border-radius: 30px; }

/* 診療案内 */
.treatment { background: #fff; }
.treatment__inner { min-height: 1139px; padding: 90px 0 112px; }
.treatment-cards { display: flex; justify-content: center; flex-wrap: wrap; gap: 25px; width: 1235px; margin: 31px auto 0; }
.treatment-card { position: relative; display: block; width: 290px; height: 300px; border: 1px solid var(--color-line); border-radius: 14px; background: white; text-align: center; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background-color .3s ease; }
.treatment-card:is(:hover, :focus-visible) { border-color: #FE8F26; background-color: #FCF9F7; transform: translateY(-4px); box-shadow: 0 8px 20px #54402f24; }
.treatment-card__concern { position: absolute; z-index: 1; top: 15px; left: 0; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 20px; line-height: 29px; white-space: nowrap; }
.treatment-card__image { position: absolute; object-fit: cover; transition: opacity .3s ease; }
.treatment-card--caries .treatment-card__image { left: 80px; top: 27px; width: 134px; height: 131px; }
.treatment-card--periodontal .treatment-card__image { left: 80px; top: 36px; width: 128px; height: 126px; }
.treatment-card--surgery .treatment-card__image { left: 102.5px; top: 70px; width: 83px; height: 69px; }
.treatment-card--denture .treatment-card__image { left: 59px; top: 39px; width: 170px; height: 113px; }
.treatment-card--pediatric .treatment-card__image { left: 73px; top: 33px; width: 142px; height: 118px; }
.treatment-card--ceramic .treatment-card__image { left: 102px; top: 44px; width: 93px; height: 103px; }
.treatment-card--prevention .treatment-card__image { left: 69.5px; top: 27px; width: 155px; height: 129px; }
/* 7点の線幅を添付見本の繊細な太さへ。画像・カードの寸法や座標は変更しない。 */
.treatment-card--caries .treatment-card__image { object-fit: contain; filter: url('../images/treatment-icon-filter.svg?v=5#stroke-caries'); }
.treatment-card--periodontal .treatment-card__image { filter: url('../images/treatment-icon-filter.svg?v=5#stroke-periodontal'); }
.treatment-card--surgery .treatment-card__image { object-fit: contain; filter: url('../images/treatment-icon-filter.svg?v=5#stroke-surgery'); }
.treatment-card--denture .treatment-card__image { filter: url('../images/treatment-icon-filter.svg?v=5#stroke-denture'); }
.treatment-card--pediatric .treatment-card__image { filter: url('../images/treatment-icon-filter.svg?v=5#stroke-pediatric'); }
.treatment-card--ceramic .treatment-card__image { object-fit: contain; filter: url('../images/treatment-icon-filter.svg?v=5#stroke-ceramic'); }
.treatment-card--prevention .treatment-card__image { filter: url('../images/treatment-icon-filter.svg?v=5#stroke-prevention'); }
/* 同じ画像・同じアルファ補正を重ね、線幅を変えずに色だけフェード。 */
.treatment-card__image--hover { opacity: 0; pointer-events: none; }
.treatment-card:is(:hover, :focus-visible) .treatment-card__image { opacity: 0; }
.treatment-card:is(:hover, :focus-visible) .treatment-card__image--hover { opacity: 1; }
.treatment-card--caries .treatment-card__image--hover { filter: url('../images/treatment-icon-filter.svg?v=6#hover-caries'); }
.treatment-card--periodontal .treatment-card__image--hover { filter: url('../images/treatment-icon-filter.svg?v=6#hover-periodontal'); }
.treatment-card--surgery .treatment-card__image--hover { filter: url('../images/treatment-icon-filter.svg?v=6#hover-surgery'); }
.treatment-card--denture .treatment-card__image--hover { filter: url('../images/treatment-icon-filter.svg?v=6#hover-denture'); }
.treatment-card--pediatric .treatment-card__image--hover { filter: url('../images/treatment-icon-filter.svg?v=6#hover-pediatric'); }
.treatment-card--ceramic .treatment-card__image--hover { filter: url('../images/treatment-icon-filter.svg?v=6#hover-ceramic'); }
.treatment-card--prevention .treatment-card__image--hover { filter: url('../images/treatment-icon-filter.svg?v=6#hover-prevention'); }
.treatment-card h3 { position: relative; margin-top: 149px; font-size: 20px; line-height: 29px; }
.treatment-card__rule { margin: 10px auto 0; }
.treatment-card__description { width: 275px; margin: 17px auto 0; font-size: 18px; line-height: 25px; }
.treatment__button { display: flex; width: 285px; margin: 59px auto 0; }

/* 予防歯科・院長・医院紹介 */
.prevention__inner { min-height: 484px; padding: 47px 0 42px 711px; }
/* 写真枠は独立配置。人物は元写真を使用し、植物のある両端だけを重ねる。 */
.prevention__background { clip-path: inset(0 0 0 42%); }
.prevention__photo { position: absolute; top: 0; left: 0; width: 600px; height: 100%; overflow: hidden; border-radius: 0 16% 46% 0; }
.prevention__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.prevention__photo-greenery { pointer-events: none; mask-image: linear-gradient(to right, #000 0%, transparent 18%, transparent 75%, #000 100%); }
.prevention__content { position: relative; width: 581px; }
.prevention__description { width: 524px; margin-top: 21px; font-size: 20px; line-height: 29px; letter-spacing: 2.6px; }
.prevention__button { width: 470px; margin-top: 26px; }
.doctor { padding-top: 75px; }
.doctor__inner { min-height: 780px; padding: 74px 0 60px 134px; }
.doctor__content { position: relative; width: 597px; }
.doctor__content .section-heading::before { content: ''; position: absolute; z-index: -1; width: 67px; height: 18px; top: 39px; left: -2px; background: #fcfbf9; }
.doctor__content .section-heading { isolation: isolate; }
.doctor__description { min-height: 363px; margin-top: 50px; font-size: 20px; line-height: 29px; letter-spacing: 2.6px; }
.doctor__description p + p { margin-top: 29px; }
.doctor__button { width: 445px; margin-top: 50px; }
.doctor__name { position: absolute; top: 472px; left: 1040px; width: 272px; height: 168px; padding: 21px 48px 27px; border-radius: 30px; background: var(--color-orange); color: #fff; font-weight: 500; }
.doctor__name span { display: block; font-size: 25px; }
.doctor__name strong { display: block; font-size: 40px; font-weight: 500; white-space: nowrap; }
.doctor__name small { display: block; margin-top: 2px; font-size: 15px; letter-spacing: 3.9px; white-space: nowrap; }
.clinic__inner { min-height: 780px; padding: 121px 0 60px 859px; }
/* 左上は元画像のまま。補正画像は残り3角の周辺だけに限定する。 */
.clinic__corner-correction {
 width: 1430px; top: 1px;
 mask-image: radial-gradient(circle at 738px 127px, #000 0 93px, transparent 137px), radial-gradient(circle at 109px 535px, #000 0 88px, transparent 133px), radial-gradient(circle at 756px 563px, #000 0 43px, transparent 73px);
}
.clinic__content { position: relative; width: 451px; }
.clinic__description { min-height: 240px; margin-top: 50px; font-size: 20px; line-height: 29px; letter-spacing: 2.6px; }
.clinic__button { width: 445px; margin-top: 50px; }

/* 共通フッター */
.contact { min-height: 590px; padding: 65px 0 40px; background: #fcfbfa; }
.contact__inner { width: 1180.324px; margin-inline: auto; }
.brand--footer { width: 379.644px; height: 83.002px; margin-inline: auto; gap: 6.144px; }
.brand--footer .brand__symbol { width: 121.426px; height: 73.78px; object-fit: cover; }
.brand--footer .brand__name { width: 252.074px; height: 83.002px; object-fit: cover; }
.contact__columns { display: grid; grid-template-columns: 454.324px 634px; gap: 92px; margin-top: 64px; }
.contact__details { font-size: 20px; }
.contact__row { display: flex; gap: 0; }
.contact__row dt { flex: none; width: 108px; }
.contact__row dd { width: 347px; line-height: 29px; }
.contact__rule { margin: 20px 0; }
.contact__phone { display: flex; align-items: center; gap: 20px; height: 58px; font-size: 30px; font-weight: 500; }
.contact__phone + .contact__rule { margin-top: 20px; margin-bottom: 15px; }
.contact__buttons { display: flex; gap: 15px; }
.contact__buttons .button { min-height: 48.334px; border-radius: 24.167px; font-size: 17px; letter-spacing: .51px; }
.button--map { width: 216.641px; gap: 16px; }
.button--booking { width: 222.683px; gap: 9px; }
.button--booking .arrow-icon { margin-left: 10px; }
.schedule--large { width: 634px; }
.schedule--large .schedule__table-wrap { border-radius: 12.697px; box-shadow: 0 0 5.079px #00000040; }
.schedule--large .schedule__table { width: 633.56px; height: 198.067px; font-size: 18px; }
.schedule--large .schedule__table th:first-child { width: 125.7px; font-size: 18px; }
.schedule--large .schedule__table thead { height: 57.135px; }
.schedule--large .schedule__table tbody tr { height: 70.466px; }
.schedule--large .schedule__vertical-rule { top: 1.27px; left: 125.7px; width: 196.797px; height: .63483px; }
/* 1px未満のSVGはブラウザの縦横比丸めを防ぎ、SVGルートと同じ寸法を指定。 */
.schedule--large .schedule__horizontal-rule { width: 633.56px; height: .63483px; }
.schedule--large td img[src$="contact-schedule-dash.svg"] { width: 12.6966px; height: 1.26966px; }
.schedule--large .schedule__horizontal-rule--one { top: 57.13px; }
.schedule--large .schedule__horizontal-rule--two { top: 126.96px; }
.schedule--large .schedule__notes { display: flex; align-items: flex-start; gap: 29px; margin-top: 15.236px; font-size: 20.315px; line-height: 29px; }
.schedule--large .schedule__notes p:first-child { width: 361px; }
.schedule--large .schedule__notes p + p { padding-left: 0; white-space: nowrap; }
.footer-navigation__inner { height: 432px; overflow: hidden; }
.footer-navigation__decoration { position: absolute; inset: 0; background: url('../images/footer-background.png') 0 -97px / 1440px 529px no-repeat; mask: url('../images/footer-mask.svg') 0 0 / 1440px 432px no-repeat; pointer-events: none; }
.footer-navigation__columns { position: relative; display: flex; align-items: flex-start; gap: 228px; padding-top: 29px; padding-left: 265px; }
.footer-navigation h2 { margin-bottom: 12px; color: var(--color-orange); font-size: 23px; line-height: 33px; letter-spacing: 4.6px; }
.footer-clinic { width: 304px; }
.footer-menu { width: 378px; }
.footer-navigation ul { display: grid; grid-auto-flow: column; grid-template-rows: repeat(4, 29px); gap: 7px 60px; width: max-content; }
.footer-menu ul { grid-template-rows: repeat(4, 29px); }
.footer-navigation a { display: flex; align-items: center; gap: 14px; font-size: 20px; font-weight: 500; white-space: nowrap; }
.footer-navigation a:hover { color: #d56a12; }
.copyright { position: absolute; top: 378px; left: 0; width: 100%; text-align: center; font-size: 20px; font-weight: 500; }

/* 投稿など、TOP以外でも共通ヘッダー・フッターを利用。 */
body:not(.home) > main { width: 1180px; min-height: 400px; margin: 80px auto; }
body:not(.home) > main article + article { margin-top: 60px; }
body:not(.home) > main h2 { margin-bottom: 24px; }
body:not(.home) > main p { margin-bottom: 1em; }

/* 予約URL未設定時の案内とお知らせ一覧。Escapeと背景クリックで閉じる。 */
.site-dialog { width: 660px; max-height: 80vh; padding: 48px; border: 1px solid var(--color-line); border-radius: 20px; color: var(--color-ink); background: var(--color-paper); font: 20px/1.7 var(--font-main); }
.site-dialog::backdrop { background: #54402f80; }
.site-dialog h2 { margin-bottom: 24px; font-size: 30px; }
.site-dialog p + p { margin-top: 20px; }
.dialog-close { position: absolute; top: 12px; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: white; color: var(--color-ink); font-size: 28px; line-height: 1; }
.dialog-phone { display: inline-block; margin: 18px 0; font-size: 32px; font-weight: 500; color: #b95b0a; }
.dialog-news li { border-bottom: 1px solid var(--color-line); padding: 14px 0; }
.dialog-news time { display: block; font-size: 16px; }
.dialog-news a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

/* PC用の右側固定CTA。文書フローから独立し、TOPの寸法を変更しない。 */
.floating-cta {
	position: fixed;
	z-index: 1000;
	top: 50%;
	right: 24px;
	display: none;
	flex-direction: column;
	gap: 12px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(12px, calc(-50% + 8px));
	transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
.floating-cta.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(0, -50%);
	transition-delay: 0s;
}
.floating-cta__button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 80px;
	height: 80px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 50%;
	box-shadow: 0 3px 12px #54402f24;
	font-family: var(--font-main);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.floating-cta__button:hover { transform: translateY(-3px); box-shadow: 0 6px 16px #54402f30; }
.floating-cta__button--web { background: var(--color-orange); color: #fff; }
.floating-cta__button--web:hover { background: #ec7f19; }
.floating-cta__button--phone { background: #fff; color: var(--color-ink); border-color: var(--color-orange); }
.floating-cta__button--phone:hover { background: #fff5ea; }
.floating-cta__button--hours { background: #f2dfc6; color: var(--color-ink); border-color: #e8ccb0; }
.floating-cta__button--hours:hover { background: #ead1b1; }
.floating-cta__clock { position: relative; width: 28px; height: 28px; margin: 2px; border: 2px solid currentColor; border-radius: 50%; }
.floating-cta__clock::before { content: ''; position: absolute; left: 11px; top: 4px; width: 2px; height: 9px; border-radius: 2px; background: currentColor; }
.floating-cta__clock::after { content: ''; position: absolute; left: 11px; top: 11px; width: 8px; height: 2px; border-radius: 2px; background: currentColor; transform: rotate(25deg); transform-origin: 1px 1px; }
@media (min-width: 1024px) { .floating-cta { display: flex; } }

/* ボタンの位置は固定したまま、選択したパネルだけ左へ展開。 */
.floating-cta__item { position: relative; width: 80px; height: 80px; }
.floating-cta__panel {
	position: absolute;
	right: calc(100% + 12px);
	top: 0;
	width: 304px;
	border: 1px solid var(--color-orange);
	border-radius: 999px;
	background: #fff;
	color: var(--color-ink);
	box-shadow: 0 5px 24px #54402f24;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateX(8px);
	transition: opacity .24s ease, transform .24s ease, visibility 0s linear .24s;
}
.floating-cta__item.is-open > .floating-cta__panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(0);
	transition-delay: 0s;
}
.floating-cta__button[aria-expanded="true"] { box-shadow: 0 0 0 3px #fe8f2633, 0 3px 12px #54402f24; }
.floating-cta__panel-link { display: flex; align-items: center; justify-content: space-between; min-height: 78px; padding: 12px 28px; border-radius: inherit; font-size: 22px; font-weight: 700; line-height: 1.4; }
.floating-cta__panel--web { background: var(--color-orange); color: #fff; }
.floating-cta__panel--web a:hover { background: #ec7f19; }
.floating-cta__panel--phone { width: 340px; }
.floating-cta__panel--phone .floating-cta__panel-link { justify-content: center; text-align: center; font-size: 14px; }
.floating-cta__panel--phone strong { display: block; color: var(--color-orange); font-size: 27px; font-weight: 700; letter-spacing: .5px; }
.floating-cta__panel--phone a:hover { background: #fff5ea; }
.floating-cta__panel--hours { top: auto; bottom: 0; width: 549px; max-height: calc(50vh + 108px); overflow: auto; padding: 24px; border-radius: 24px; background: var(--color-paper); }
.floating-cta__panel--hours h2 { margin: 0 0 16px; color: var(--color-orange); font-size: 24px; }
.floating-cta__panel--hours .schedule { margin: 0; }

/* 共通ボタンの反転。内側の線で寸法・文字位置を変えずに枠を表示。 */
:is(.button, .reservation-header, .floating-cta__button, .floating-cta__panel-link, .dialog-close) {
 transition: background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.button-icon { display: inline-block; flex: none; background-color: currentColor; -webkit-mask: var(--button-icon) center / contain no-repeat; mask: var(--button-icon) center / contain no-repeat; transition: background-color .3s ease, color .3s ease, transform .3s ease; }
:is(.button:not(.button--map), .reservation-header, .floating-cta__button--web, .floating-cta__panel--web .floating-cta__panel-link):is(:hover, :focus-visible) {
 background-color: #FFFFFF; color: #FE8F26; border-color: #FE8F26;
 box-shadow: inset 0 0 0 var(--button-ring-width, 2px) #FE8F26, 0 4px 16px #54402f18;
}
:is(.floating-cta__button--phone, .floating-cta__button--hours, .floating-cta__panel--phone .floating-cta__panel-link, .dialog-close):is(:hover, :focus-visible) {
 background-color: #FE8F26; color: #FFFFFF; border-color: #FE8F26;
 box-shadow: inset 0 0 0 var(--button-ring-width, 2px) #FE8F26, 0 4px 16px #54402f18;
}
.floating-cta__button--phone .button-icon { color: #FE8F26; }
.floating-cta__button--phone:is(:hover, :focus-visible) .button-icon { color: #FFFFFF; }
.floating-cta__panel--phone strong { transition: color .3s ease; }
.floating-cta__panel--phone .floating-cta__panel-link:is(:hover, :focus-visible) strong { color: #FFFFFF; }
:is(.button, .floating-cta__panel-link):is(:hover, :focus-visible) .arrow-icon { transform: translateX(6px) rotate(90.4deg); }

/* 既存の1px borderは維持し、内側に1pxを足して輪郭を合計2pxにする。 */
.floating-cta__button, .floating-cta__panel-link { --button-ring-width: 1px; }
.floating-cta__button--phone { box-shadow: inset 0 0 0 1px #FE8F26, 0 3px 12px #54402f24; }
.floating-cta__button--hours { box-shadow: inset 0 0 0 1px #e8ccb0, 0 3px 12px #54402f24; }
.floating-cta__button--phone[aria-expanded="true"], .floating-cta__button--hours[aria-expanded="true"] { box-shadow: inset 0 0 0 1px #FE8F26, 0 0 0 3px #fe8f2633, 0 3px 12px #54402f24; }
.floating-cta__panel--phone .floating-cta__panel-link { box-shadow: inset 0 0 0 1px #FE8F26; }
/* Google Mapsのみベージュで反転。他のボタンと寸法・動きは共通。 */
.button.button--map {
 background-color: #C8B297; border-color: #C8B297; color: #FFFFFF;
 box-shadow: inset 0 0 0 2px #C8B297;
}
.button.button--map:is(:hover, :focus-visible) {
 background-color: #FFFFFF; border-color: #C8B297; color: #C8B297;
 box-shadow: inset 0 0 0 2px #C8B297, 0 4px 16px #54402f18;
}

/* SP専用UIはPCでは非表示。既存のPC寸法には影響させない。 */
.mobile-menu-toggle, .mobile-booking, .mobile-section-photo { display: none; }
.mobile-menu:not([open]) { display: none; }
@media (max-width: 767px) {
 body { min-width: 0; font-size: 16px; line-height: 1.6; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
 .design-container { width: 100%; }
 .site-header, .home .site-header { position: relative; height: auto; background: #fff; }
 .site-header__inner { width: 100%; height: 82px; padding: 8px 14px; gap: 10px; }
 .brand--header { width: 110px; height: 66px; justify-content: center; }
 .brand--header .brand__symbol { width: 58px; height: 35px; }
 .brand--header .brand__name { width: 110px; height: 36px; margin-top: -5px; }
 .primary-nav, .header-contact__phone { display: none; }
 .header-contact { margin-left: auto; gap: 0; }
 .reservation-header { width: 104px; height: 48px; border-radius: 24px; }
 .reservation-header > span { gap: 4px; }
 .reservation-header strong { font-size: 14px; }
 .reservation-header .button-icon { width: 19px !important; height: 19px !important; }
 .reservation-header small, .reservation-header__corner { display: none; }
 .mobile-menu-toggle { display: flex; width: 44px; height: 44px; flex: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border: 1px solid var(--color-line); border-radius: 12px; background: white; color: var(--color-ink); }
 .mobile-menu-toggle span { width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
 .mobile-menu { width: calc(100% - 32px); max-width: 440px; max-height: calc(100dvh - 48px); padding: 28px 24px; border: 1px solid var(--color-line); border-radius: 20px; background: var(--color-paper); color: var(--color-ink); }
 .mobile-menu::backdrop { background: #54402f80; }
 .mobile-menu h2 { font-size: 24px; margin-bottom: 20px; }
 .mobile-menu nav { display: grid; }
 .mobile-menu nav a { padding: 12px 4px; min-height: 48px; border-bottom: 1px solid #c8b29750; }
 body:has(.mobile-menu[open]) { overflow: hidden; }
 .mobile-booking { display: flex; gap: 10px; position: fixed; z-index: 1100; bottom: 0; left: 0; width: 100%; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fffffff5; box-shadow: 0 -3px 15px #54402f18; }
 .mobile-booking .button { width: 50%; min-height: 48px; padding: 8px; font-size: 15px; gap: 8px; }
 .mobile-booking .button-icon { width: 23px !important; height: 23px !important; }
 .mobile-booking__phone { background: #fff; color: #fe8f26; box-shadow: inset 0 0 0 2px #fe8f26; }
 .mobile-booking .mobile-booking__phone:is(:hover, :focus-visible) { background: #fe8f26; color: #fff; }
 .floating-cta { display: none !important; }
 .button { max-width: 100%; min-height: 48px; height: auto; padding: 12px 18px; font-size: 16px; line-height: 1.5; white-space: normal; text-align: center; }
 .button .arrow-icon { flex: none; }
 .section-heading__en { font-size: 14px; line-height: 22px; letter-spacing: 2px; }
 .section-heading__rule { margin-top: 10px; }
 .section-heading h2 { font-size: 27px; line-height: 1.5; }
 .section-heading__description { font-size: 15px; line-height: 1.7; white-space: normal; margin-top: 14px; }
 .hero, .hero__inner { height: auto; }
 .hero__inner { display: flex; flex-direction: column; padding-top: 20px; background: radial-gradient(ellipse at 0 0, #ffe9cf 0, transparent 45%), var(--color-paper); }
 .hero__photo { display: none; }
 .hero__headline { position: relative; top: auto; left: auto; order: 0; margin: 0 20px 16px; padding-bottom: 52px; font-size: clamp(20px, 5.8vw, 36px); }
 .hero__headline h1 { font-size: clamp(20px, 5.8vw, 36px); line-height: 1.6; letter-spacing: 0; }
 .hero__headline em, .hero__headline strong { font-size: 1.1em; }
 .hero__headline h1 > span { transform: none; width: auto; }
 /* PCの50px文字に対する524×174px・左50pxを同率縮小。
    元の52pxの領域を保持し、写真の位置は動かさない。透明余白分だけ文字へ寄せる。 */
 .hero__underline { position: absolute; top: calc(100% - 52px - 1.32em); bottom: auto; left: 1em; width: 10.48em; height: 3.48em; margin: 0; object-fit: cover; }
 .hero__copy { position: relative; top: auto; left: auto; order: 2; width: auto; margin: 0 32px 24px; font-size: 14px; line-height: 1.8; }
 .hero__lead { font-size: clamp(15px, 4.5vw, 18px); line-height: 1.7; letter-spacing: .5px; margin-bottom: 14px; }
 /* 写真の比率を固定し、フェード中もコピーと説明文の間の高さを維持。 */
 .hero__photos { position: relative; inset: auto; order: 1; flex: none; width: calc(100% - 24px); height: auto; aspect-ratio: 3 / 2; max-height: 360px; margin: 0 12px 24px; mask: none; -webkit-mask: none; border-radius: 24px; }
 .hero__slide, .hero__slide--family, .hero__slide--treatment { width: 100%; object-position: center; }
 .hero__slide--treatment { object-position: 64% center; }
 .information { padding: 40px 20px; min-height: 0; }
 .information__inner { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
 .news__heading { gap: 12px; }
 .button--small { width: auto; min-height: 44px; padding: 8px 14px; font-size: 14px; }
 .news-list { min-height: 0; margin-top: 18px; }
 .news-list a { display: block; padding-bottom: 12px; }
 .news-list time { display: block; font-size: 13px; }
 .news-list a > span { font-size: 15px; white-space: normal; }
 .news-list__rule { width: 100%; }
 .schedule, .schedule--large { width: 100%; }
 .schedule__table, .schedule--large .schedule__table { width: 100%; height: auto; font-size: 12px; }
 .schedule__table th:first-child, .schedule--large .schedule__table th:first-child { width: 88px; font-size: 11px; }
 .schedule__table thead th:first-child { font-size: 12px; }
 .schedule__table thead, .schedule--large .schedule__table thead { height: 40px; }
 .schedule__table tbody tr, .schedule--large .schedule__table tbody tr { height: 44px; border-top: 1px solid #c8b29766; }
 .schedule__table th:first-child { border-right: 1px solid #c8b29766; }
 .schedule__table td img { max-width: 10px; height: auto; }
 .schedule__vertical-rule, .schedule__horizontal-rule { display: none; }
 .schedule__notes, .schedule--large .schedule__notes { display: block; font-size: 13px; line-height: 1.7; margin-top: 12px; }
 .schedule__notes p + p, .schedule--large .schedule__notes p + p { padding-left: 0; white-space: normal; }
 .schedule--large .schedule__notes p:first-child { width: auto; }
 .features__inner { min-height: 0; padding: 44px 20px; }
 .features__decoration { background-size: auto 420px; background-position: center bottom; mask: none; opacity: .5; }
 .features__heading { height: auto; margin-bottom: 28px; }
 .features__heading h2 { font-size: 23px; }
 .section-heading .features__three { font-size: 36px; }
 .feature-cards { width: 100%; max-width: 409px; grid-template-columns: minmax(0, 1fr); gap: 24px; }
 .feature-card { height: auto; min-height: 0; overflow: hidden; }
 .feature-card__photo { width: calc(100% - 16px); height: auto; aspect-ratio: 393 / 255; mask-size: 100% 100%; }
 .feature-card--care .feature-card__photo img { left: -4.83%; top: -24.3%; width: 133.59%; height: 137.25%; }
 .feature-card--explanation .feature-card__photo img { left: -3.56%; top: -3.13%; width: 111.96%; height: 114.9%; }
 .feature-card--community .feature-card__photo img { left: -8.14%; top: -12.15%; width: 111.96%; height: 114.9%; }
 .feature-card__body { margin-top: -14px; padding: 0 24px 28px; }
 .feature-card__number { font-size: 32px; line-height: 46px; }
 .feature-card h3 { font-size: 22px; white-space: normal; margin-top: 16px; }
 .feature-card__body > p:last-child { font-size: 15px; line-height: 1.8; }
 .features__button { left: auto; justify-content: center; width: 100%; max-width: 360px; margin-top: 28px; padding: 12px 18px; }
 .treatment__inner { min-height: 0; padding: 44px 20px; }
 .treatment-cards { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 26px; }
 .treatment-card { width: 100%; height: auto; min-height: 290px; padding: 0 14px 22px; }
 .treatment-card__concern { font-size: 16px; gap: 6px; }
 .treatment-card .treatment-card__image { left: 50%; transform: translateX(-50%); }
 .treatment-card:is(:hover, :focus-visible) { transform: none; }
 .treatment-card h3 { font-size: 20px; }
 .treatment-card__description { width: auto; max-width: 100%; font-size: 15px; line-height: 1.7; margin-top: 16px; }
 .treatment__button { width: 100%; max-width: 360px; margin-top: 28px; }
 .prevention__inner, .doctor__inner, .clinic__inner { min-height: 0; padding: 32px 20px 44px; }
 .prevention__inner { display: flex; flex-direction: column; }
 .prevention__background, .doctor__inner > .section-background, .clinic__inner > .section-background { display: none; }
 .prevention__photo { position: relative; top: auto; left: auto; width: 100%; height: auto; aspect-ratio: 1.2; border-radius: 24px 24px 70px 24px; margin-bottom: 28px; }
 .prevention__photo img { object-position: 25% center; }
 .prevention__content, .doctor__content, .clinic__content { width: 100%; }
 .prevention__description, .doctor__description, .clinic__description { width: auto; min-height: 0; margin-top: 20px; font-size: 15px; line-height: 1.8; letter-spacing: .6px; }
 .prevention__description br, .doctor__description br, .clinic__description br { display: none; }
 .prevention__button, .doctor__button, .clinic__button { width: 100%; margin-top: 24px; }
 .doctor { padding-top: 0; }
 .doctor__inner, .clinic__inner { display: flex; flex-direction: column; }
 .mobile-section-photo { display: block; width: 100%; margin-bottom: 24px; border-radius: 24px; background-repeat: no-repeat; }
 .mobile-section-photo--doctor { aspect-ratio: 1.1; background-image: url('../images/doctor-haruna.png'); background-size: 215% auto; background-position: 94% 40%; }
 .mobile-section-photo--clinic { aspect-ratio: 862 / 596; background-image: url('../images/clinic-corners.png'); background-size: 198% 155%; background-position: 7.6% 29%; }
 .doctor__name { position: static; order: 1; width: auto; height: auto; padding: 12px 20px; border-radius: 18px; margin-bottom: 18px; }
 .doctor__content { order: 2; }
 .doctor__name span { font-size: 14px; display: inline; margin-right: 12px; }
 .doctor__name strong { font-size: 22px; }
 .doctor__name small { font-size: 11px; letter-spacing: 2px; }
 .doctor__content .section-heading::before { display: none; }
 .contact { min-height: 0; padding: 36px 20px; }
 .contact__inner { width: 100%; }
 .brand--footer { width: 270px; max-width: 100%; height: auto; gap: 4px; }
 .brand--footer .brand__symbol { width: 80px; height: auto; }
 .brand--footer .brand__name { width: 180px; height: auto; }
 .contact__columns { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 28px; }
 .contact__details { font-size: 15px; }
 .contact__row dt { width: 65px; }
 .contact__row dd { width: auto; line-height: 1.7; }
 .contact__rule { width: 100%; margin: 16px 0; }
 .contact__phone { gap: 10px; font-size: 26px; }
 .contact__buttons { flex-direction: column; gap: 12px; }
 .contact__buttons .button { width: 100%; min-height: 48px; }
 .footer-navigation__inner { --footer-bottom-space: 60px; height: auto; padding: 30px 24px var(--footer-bottom-space); }
 .footer-navigation__decoration { background-size: auto 240px; background-position: center bottom; mask: none; }
 .footer-navigation__columns { flex-direction: column; gap: 24px; padding: 0; }
 .footer-clinic, .footer-menu { width: 100%; }
 .footer-navigation h2 { font-size: 18px; margin-bottom: 12px; }
 .footer-navigation ul, .footer-menu ul { width: 100%; grid-auto-flow: column; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); gap: 2px 12px; }
 .footer-navigation a { min-height: 44px; font-size: 14px; gap: 8px; white-space: normal; }
 /* 下余白と連動させ、街並みの下の約36pxの帯の中央を維持。 */
 .copyright { position: relative; top: auto; margin-top: 30px; font-size: 13px; transform: translateY(calc(var(--footer-bottom-space) + 50% - 18px)); }
 .site-dialog { width: calc(100% - 32px); max-height: 85dvh; padding: 48px 20px 24px; font-size: 15px; }
 .site-dialog h2 { font-size: 24px; }
 .dialog-close { width: 44px; height: 44px; }
 .dialog-phone { font-size: 26px; }
 body:not(.home) > main { width: auto; margin: 32px 20px; }
}
@media (min-width: 600px) and (max-width: 767px) {
 .treatment-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .treatment-card:last-child { grid-column: 1 / -1; width: calc(50% - 9px); justify-self: center; }
 .hero__headline { margin-left: 36px; margin-right: 36px; }
 .hero__copy { margin-left: 44px; margin-right: 44px; }
}
@media (max-width: 480px) {
 .prevention__content .section-heading h2 { font-size: clamp(22px, 6vw, 26px); }
 .features__heading h2 { font-size: 20px; }
 .section-heading .features__three { font-size: 32px; }
 .prevention__button { font-size: 14px; padding-inline: 12px; gap: 2px; }
}
/* タッチ環境ではホバーの残留を防ぐ。フォーカス表示はキーボード用に維持。 */
@media (max-width: 767px) and (hover: none) {
 .treatment-card:hover:not(:focus-visible) { background: #fff; border-color: var(--color-line); transform: none; box-shadow: none; }
 .treatment-card:is(:hover, :focus-visible) { transform: none; }
 .treatment-card:hover:not(:focus-visible) .treatment-card__image { opacity: 1; }
 .treatment-card:hover:not(:focus-visible) .treatment-card__image--hover { opacity: 0; }
 .button:hover:not(:focus-visible), .reservation-header:hover:not(:focus-visible) { background: #fe8f26; color: #fff; box-shadow: none; }
 .button.button--map:hover:not(:focus-visible) { background: #c8b297; color: #fff; box-shadow: inset 0 0 0 2px #c8b297; }
 .mobile-booking .mobile-booking__phone:hover:not(:focus-visible) { background: #fff; color: #fe8f26; box-shadow: inset 0 0 0 2px #fe8f26; }
 .button:hover:not(:focus-visible) .arrow-icon { transform: rotate(90.4deg); }
}

/* 全テンプレート共通：日本語の禁則処理と行末の偏りを調整。
   非対応ブラウザーでは通常の日本語折り返しを使用する。 */
body { line-break: strict; word-break: normal; overflow-wrap: break-word; text-wrap: pretty; }
:where(h1, h2, h3, h4, h5, h6, button, .button, .reservation-header) { text-wrap: balance; }
/* 意味のある改行（住所・診療時間など）は残し、PCの行長調整だけ解除。 */
@media (max-width: 767px) {
 .desktop-break { display: none; }
 .hero__copy { text-align: left; }
 .hero__copy > p:not(.hero__lead) { text-wrap: pretty; }
 /* 短い説明は各行の長さも均し、末尾だけが短い行になるのを抑える。 */
 .hero__copy .hero__lead, .section-heading__description, .feature-card__body > p:last-child, .treatment-card__description { text-wrap: balance; }
}

/* SPの大きい診療時間表：午前の休診線の縮小描画を補正。
   画像の占有サイズ・中心位置は保ち、午後の線には触れない。 */
@media (max-width: 767px) {
 .schedule--large .schedule__table tbody tr:first-child img[src$="contact-schedule-dash.svg"] {
  transform: scaleY(.8);
  transform-origin: center;
 }
}

/* SPメニュー：既存ヘッダーを引き継いだ全画面のナビゲーション。 */
@media (max-width: 767px) {
 .mobile-menu { inset: 0; margin: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; padding: 0; border: 0; border-radius: 0; overflow-y: auto; scrollbar-gutter: stable; overscroll-behavior: contain; background: #fcf9f7; }
 .mobile-menu[open] { display: flex; flex-direction: column; animation: mobile-menu-in .25s ease both; }
 .mobile-menu.is-closing { animation: mobile-menu-out .2s ease both; }
 .mobile-menu__header { flex: none; position: sticky; top: 0; z-index: 1; background: #fff; }
 .mobile-menu-toggle--close { position: relative; }
 .mobile-menu-toggle--close span { position: absolute; transform: rotate(45deg); }
 .mobile-menu-toggle--close span + span { transform: rotate(-45deg); }
 .mobile-menu__body { flex: none; padding: 24px 28px 0; }
 .mobile-menu nav { display: block; }
 .mobile-menu .mobile-menu__item { border-bottom: 1px dashed #c8b297; }
 .mobile-menu nav a { border-bottom: 0; }
 .mobile-menu .mobile-menu__row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 72px; padding: 18px 0; text-align: left; border: 0; background: transparent; color: var(--color-ink); font-size: 18px; font-weight: 500; line-height: 1.6; }
 .mobile-menu a.mobile-menu__item { border-bottom: 1px dashed #c8b297; }
 .mobile-menu__dot { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--color-orange); }
 .mobile-menu__plus, .mobile-menu__arrow { flex: none; margin-left: auto; width: 24px; color: var(--color-orange); text-align: center; }
 .mobile-menu__arrow { font-size: 22px; }
 .mobile-menu__plus { position: relative; height: 24px; }
 .mobile-menu__plus::before, .mobile-menu__plus::after { content: ''; position: absolute; left: 5px; top: 11px; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease; }
 .mobile-menu__plus::after { transform: rotate(90deg); }
 .mobile-menu__row[aria-expanded="true"] .mobile-menu__plus::after { transform: rotate(0); }
 .mobile-menu__submenu { display: grid; grid-template-rows: 0fr; visibility: hidden; opacity: 0; transition: grid-template-rows .25s ease, opacity .25s ease, visibility .25s; }
 .mobile-menu__submenu.is-open { grid-template-rows: 1fr; visibility: visible; opacity: 1; }
 .mobile-menu__submenu > div { min-height: 0; overflow: hidden; }
 .mobile-menu .mobile-menu__submenu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; margin-left: 38px; padding: 12px 0; font-size: 15px; line-height: 1.6; }
 .mobile-menu__submenu a:last-child { margin-bottom: 16px; }
 .mobile-menu__submenu a span { color: var(--color-orange); }
 .mobile-menu nav :is(a, button):focus-visible { outline-offset: 2px; border-radius: 4px; }
}
@keyframes mobile-menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes mobile-menu-out { to { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .mobile-menu[open], .mobile-menu.is-closing { animation: none; } }

/* SPメニュー下部：背景を左右端・下端までつなげた予約エリア。 */
@media (max-width: 767px) {
 .mobile-menu-cta { flex: 1 0 auto; margin-top: 32px; padding: 28px 28px calc(32px + env(safe-area-inset-bottom)); background: #f4e9db; display: grid; align-content: start; gap: 16px; }
 .mobile-menu-cta > a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 104px; padding: 20px 12px; border-radius: 16px; text-align: center; line-height: 1.6; transition: background-color .25s ease, color .25s ease; }
 .mobile-menu-cta__label { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 17px; font-weight: 500; }
 .mobile-menu-cta .button-icon { width: 22px !important; height: 22px !important; }
 .mobile-menu-cta__phone { background: #fff; border: 2px solid var(--color-orange); }
 .mobile-menu-cta__phone .button-icon, .mobile-menu-cta__phone strong { color: var(--color-orange); }
 .mobile-menu-cta__phone strong { font-size: clamp(21px, 6vw, 27px); line-height: 1.3; white-space: nowrap; }
 .mobile-menu-cta__web { background: var(--color-orange); color: #fff; font-size: 14px; }
 .mobile-menu-cta > a:focus-visible { outline-offset: 3px; }
}

/* お知らせ一覧専用。共通ヘッダー・フッターとTOPには適用しない。 */
body.news-index > main.news-page { width: 100%; min-height: 0; margin: 0; }
.news-index .site-header { position: absolute; z-index: 5; top: 0; left: 0; width: 100%; }
.news-page__list { width: 1180px; margin: 90px auto 0; padding-bottom: 90px; }
body.news-index .news-entry + .news-entry { margin-top: 49px; }
.news-entry__header { max-width: 100%; }
body.news-index .news-entry__header h2 { margin: 0 0 26px; color: var(--color-ink); font-size: 35px; font-weight: var(--font-weight-heading); line-height: 35px; }
.news-entry__header time { display: block; font-size: 18px; font-weight: 500; line-height: 18px; }
.news-entry__content { width: 598px; max-width: 100%; margin-top: 45px; font-size: 18px; line-height: 24px; line-break: strict; overflow-wrap: anywhere; text-wrap: pretty; }
body.news-index .news-entry__content p { margin: 0 0 1em; }
body.news-index .news-entry__content > :last-child { margin-bottom: 0; }
.news-entry__content img, .news-entry__content video { max-width: 100%; height: auto; }
.news-entry__content figure { max-width: 100%; margin: 1.5em 0; }
.news-entry__content iframe { max-width: 100%; }
.news-entry__content a { text-decoration: underline; text-underline-offset: .2em; }
.news-entry__content ul, .news-entry__content ol { padding-left: 1.5em; margin: 1em 0; }
.news-entry__content ul { list-style: disc; }
body.news-index .news-entry__content :is(h2,h3,h4,h5,h6) { margin: 1.5em 0 .6em; line-height: 1.5; }
.news-entry__content blockquote { margin: 1.5em 0; padding: 12px 20px; border-left: 3px solid var(--color-orange); background: #fff; }
.news-entry__content pre, .news-entry__content .wp-block-table { max-width: 100%; overflow-x: auto; }
.news-entry__content .alignleft { float: left; margin: 0 20px 16px 0; }
.news-entry__content .alignright { float: right; margin: 0 0 16px 20px; }
.news-entry__content::after { content: ''; display: block; clear: both; }
.news-entry__divider { margin-top: 50px; width: 100%; overflow: hidden; }
.news-pagination { margin-top: 81px; display: flex; align-items: center; justify-content: center; gap: 15px; }
.news-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 45px; height: 45px; font-size: 20px; font-weight: 700; }
.news-pagination a.page-numbers:not(.prev):not(.next) { border-radius: 50%; background: #fff; color: var(--color-orange); box-shadow: inset 0 0 0 1px var(--color-orange); transition: background-color .3s ease, color .3s ease; }
.news-pagination a.page-numbers:not(.prev):not(.next):is(:hover, :focus-visible) { background: var(--color-orange); color: #fff; }
.news-pagination .current { background: url('../images/news-current.svg') center no-repeat; color: #fff; }
.news-pagination .prev { margin-right: 15px; }
.news-pagination .next { margin-left: 15px; }
.news-pagination .prev img { transform: scaleX(-1); }
.news-pagination .dots { min-width: 17px; font-size: 0; background: url('../images/news-ellipsis.svg') center no-repeat; }
.news-page__empty { font-size: 18px; }
@media (max-width: 767px) {
 .news-index .site-header { position: relative; }
 .news-page__list { width: auto; margin: 44px 24px 0; padding-bottom: 52px; }
 body.news-index .news-entry__header h2 { margin-bottom: 16px; font-size: 23px; line-height: 1.5; }
 .news-entry__header time { font-size: 13px; line-height: 1.5; }
 .news-entry__content { width: 100%; margin-top: 24px; font-size: 15px; line-height: 1.8; }
 body.news-index .news-entry + .news-entry { margin-top: 32px; }
 .news-entry__divider { margin-top: 32px; }
 .news-pagination { gap: 4px; flex-wrap: wrap; margin-top: 40px; }
 .news-pagination .page-numbers { font-size: 16px; }
 .news-pagination .prev, .news-pagination .next { margin: 0; }
}
