@charset "UTF-8";
/* =========================================================
   朝幸の郷みずほ — C案ブラッシュアップ②：読みやすさ重視（UD強化）
   文字サイズは rem で指定し、「大きく」で全体が拡大されるようにしている
   ========================================================= */

:root {
  --text: #111A16;
  --sub: #333F39;
  --green: #0A5C32;
  --green-d: #07462A;
  --green-dd: #073A22;
  --green-l: #E6F2EA;
  --green-m: #BFDCC9;
  --orange: #A84600;
  --orange-d: #8A3900;
  --gray: #F2F5F3;
  --line: #B9C7BF;
  --focus: #FFD54A;
  --shadow: 0 10px 26px -16px rgba(0, 40, 20, .4);

  --f: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;

  --container: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  --sec-pad: clamp(64px, 8vw, 104px);
  --radius: 12px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); color-scheme: light; }
html.fs-large { font-size: 115%; }
body {
  margin: 0; min-width: 320px; background: #fff; color: var(--text);
  font-family: var(--f); font-size: 1.125rem; line-height: 1.9; letter-spacing: .03em;
  line-break: strict; overflow-wrap: anywhere; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
table { border-collapse: collapse; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
/* どこにいるか一目でわかる、太い黄色＋黒のフォーカス枠 */
:focus-visible { outline: 4px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 8px var(--text); border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nowrap { white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 300; padding: 12px 20px; background: var(--green); color: #fff; font-weight: 700; }
.skip-link:focus { top: 12px; }
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }

/* ---------- parts ---------- */
.section { position: relative; padding-block: var(--sec-pad); }
.section--gray { background: var(--gray); }
.section--green { background: var(--green-l); }
.section--warm { background: #FBF3E2; }
.sec-head { text-align: center; }
.sec-en { font-size: .875rem; font-weight: 700; letter-spacing: .2em; color: var(--green); }
.sec-title { margin-top: 6px; font-weight: 700; font-size: clamp(1.625rem, 2.8vw, 2.25rem); line-height: 1.5; letter-spacing: .04em; word-break: auto-phrase; }
.sec-title::after { content: ""; display: block; width: 56px; height: 5px; margin: 18px auto 0; border-radius: 3px; background: var(--green); }
.sec-title small { font-size: .6em; }
.sec-title--left { text-align: left; }
.sec-title--left::after { margin-left: 0; }
.sec-lead { margin-top: 20px; font-size: 1.125rem; color: var(--sub); word-break: auto-phrase; }
.note { margin-top: 24px; font-size: 1rem; line-height: 1.8; color: var(--sub); word-break: auto-phrase; text-wrap: pretty; }
.note--center { text-align: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 0 28px; border: 3px solid transparent; border-radius: 10px;
  font-weight: 700; font-size: 1.125rem; line-height: 1.3; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 22px; height: 22px; }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-d); }
.btn--outline { border-color: var(--green); background: #fff; color: var(--green); }
.btn--outline:hover { background: var(--green-l); }
.btn--lg { min-height: 66px; padding: 0 32px; font-size: 1.1875rem; }
.btn--block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; color: var(--green); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link .icon { width: 20px; height: 20px; }
.tag { display: inline-block; padding: 3px 12px; border-radius: 4px; background: var(--orange); color: #fff; font-size: .875rem; font-weight: 700; }

/* ---------- topbar（文字サイズ切り替え） ---------- */
.topbar { background: var(--green-dd); color: #fff; font-size: .875rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 50px; max-width: 1440px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 40px); }
.fontsize { display: flex; align-items: center; gap: 6px; flex: none; }
.fontsize__label { margin-right: 4px; font-weight: 700; }
.fontsize__btn { min-width: 68px; min-height: 36px; padding: 0 12px; border: 2px solid #fff; border-radius: 6px; color: #fff; font-weight: 700; font-size: .875rem; line-height: 1; }
.fontsize__btn[aria-pressed="true"] { background: #fff; color: var(--green-dd); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 60; height: var(--header-h); background: #fff; border-bottom: 2px solid var(--line); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 6px 20px -12px rgba(0, 0, 0, .3); }
.header__inner { height: 100%; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); max-width: 1440px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 40px); }
.header__logo { position: relative; z-index: 2; flex: none; margin-right: auto; }
.header__logo img { width: auto; height: 50px; }
.gnav__list { display: flex; gap: clamp(14px, 1.6vw, 24px); }
.gnav__list a { display: block; padding: 8px 2px; border-bottom: 4px solid transparent; font-weight: 700; font-size: 1rem; text-decoration: none; transition: border-color .2s, color .2s; }
.gnav__list a:hover, .gnav__list a.is-current { color: var(--green); border-bottom-color: var(--green); }
.gnav__new { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 4px; background: var(--orange); color: #fff; font-size: .75rem; line-height: 1.6; vertical-align: 2px; }
.gnav__contact, .gnav__cta { display: none; }
.header__telbtn { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; flex: none; min-height: 60px; padding: 0 20px; border-radius: 10px; background: var(--orange); color: #fff; font-weight: 700; font-size: 1.5rem; line-height: 1.15; text-decoration: none; }
.header__telbtn small { display: block; font-size: .75rem; }
.header__telbtn .icon { width: 26px; height: 26px; }
.header__tel, .menu-btn { display: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 5vw, 64px) 0 clamp(100px, 10vw, 120px); background: var(--green-l); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 64px); }
.hero__status { display: flex; align-items: flex-start; gap: 6px; font-weight: 700; font-size: 1rem; line-height: 1.6; color: var(--green-d); }
.hero__status .icon { width: 22px; height: 22px; color: var(--green); }
.hero__title { margin-top: 18px; font-weight: 700; font-size: clamp(1.875rem, 3.3vw, 2.75rem); line-height: 1.5; letter-spacing: .04em; word-break: auto-phrase; }
.hero__lead { max-width: 30em; margin-top: 20px; font-size: 1.25rem; line-height: 1.9; word-break: auto-phrase; }
.hero__btns { display: inline-grid; gap: 12px; margin-top: 32px; }
.hero__photo { position: relative; overflow: hidden; border-radius: 16px; box-shadow: var(--shadow); }
.hero__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero__photo figcaption, .concept__photo figcaption, .higashi__photo figcaption {
  position: absolute; left: 14px; bottom: 14px; padding: 4px 14px; border-radius: 6px;
  background: rgba(255, 255, 255, .95); font-size: .875rem; font-weight: 700; line-height: 1.6;
}

/* ---------- news（新館のお知らせ） ---------- */
.news { position: relative; z-index: 1; margin-top: -56px; }
.news__card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px 28px;
  padding: 18px 28px 18px 18px; border: 2px solid var(--line); border-left: 8px solid var(--orange); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow); text-decoration: none;
}
.news__thumb { width: 168px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.news__label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-weight: 700; font-size: 1rem; color: var(--orange-d); word-break: auto-phrase; }
.news__title { margin-top: 4px; font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.5; word-break: auto-phrase; }
.news__title wbr { display: none; }
.news__text { margin-top: 2px; font-size: 1rem; line-height: 1.75; color: var(--sub); word-break: auto-phrase; }
.news__more { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 54px; padding: 0 20px; border: 3px solid var(--green); border-radius: 10px; font-weight: 700; font-size: 1.0625rem; color: var(--green); white-space: nowrap; transition: background-color .2s; }
.news__more .icon { width: 20px; height: 20px; }
.news__card:hover .news__more { background: var(--green-l); }

/* ---------- quick（知りたいことから探す） ---------- */
.quick { padding-top: 64px; }
.quick__title { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.375rem; line-height: 1.4; }
.quick__title::before { content: ""; width: 6px; height: 1.4em; border-radius: 3px; background: var(--green); }
.quick__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.quick__list a {
  display: flex; align-items: center; gap: 14px; height: 100%; min-height: 88px; padding: 14px 20px;
  border: 2px solid var(--line); border-radius: var(--radius); background: #fff;
  font-weight: 700; font-size: 1.125rem; line-height: 1.5; text-decoration: none; transition: border-color .2s, background-color .2s;
}
.quick__list a::after { content: ""; flex: none; width: 11px; height: 11px; margin-left: auto; border-top: 3px solid var(--green); border-right: 3px solid var(--green); transform: rotate(45deg); }
.quick__list a:hover { border-color: var(--green); background: var(--green-l); }
.quick__icon { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 50%; background: var(--green-l); color: var(--green); }
.quick__icon .icon { width: 28px; height: 28px; }

/* ---------- concept ---------- */
.concept__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 5vw, 64px); }
.concept__lead { margin-top: 24px; font-size: 1.25rem; line-height: 1.95; word-break: auto-phrase; }
.concept__points { margin-top: 24px; border-top: 2px solid var(--line); }
.concept__points li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 2px solid var(--line); font-weight: 700; font-size: 1.125rem; line-height: 1.6; }
.concept__points .icon { width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: var(--green-l); color: var(--green); }
.concept__photo { position: relative; overflow: hidden; border-radius: 16px; box-shadow: var(--shadow); }
.concept__photo img { width: 100%; }

/* ---------- for you ---------- */
.for-you__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; margin-top: 48px; align-items: stretch; }
.checklist { padding: 8px 28px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; }
.checklist li { display: flex; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 1.25rem; line-height: 1.6; word-break: auto-phrase; }
.checklist li + li { border-top: 2px solid var(--line); }
.checklist__mark { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; }
.checklist__mark .icon { width: 22px; height: 22px; stroke-width: 3; }
.info-box { padding: 28px 30px; border: 3px solid var(--green-m); border-radius: var(--radius); background: #fff; }
.info-box__title { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-weight: 700; font-size: 1.25rem; color: var(--green); }
.info-box__title .icon { width: 26px; height: 26px; }
.info-box p:not(.info-box__title) { word-break: auto-phrase; }

/* ---------- support ---------- */
.support__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(32px, 4vw, 56px); margin-top: 48px; }
.support__photo img { width: 100%; border-radius: var(--radius); }
.support__photo figcaption { margin-top: 8px; font-size: 1rem; color: var(--sub); }
.sub-title { padding-left: 14px; border-left: 6px solid var(--green); font-weight: 700; font-size: 1.375rem; line-height: 1.4; }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.service { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; font-weight: 700; font-size: 1.125rem; line-height: 1.5; word-break: auto-phrase; }
.service__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--green-l); color: var(--green); }
.service__icon .icon { width: 30px; height: 30px; }
.before { margin-top: 24px; padding: 22px 26px; border-radius: var(--radius); background: var(--green-l); }
.before__title { font-weight: 700; font-size: 1.25rem; }
.before__list { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 10px; }
.before__list li { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.before__list .icon { width: 24px; height: 24px; color: var(--green); stroke-width: 3; }

/* ---------- gallery（拡大できることを虫めがねで示す） ---------- */
.gallery__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; margin-top: 48px; }
.gallery__item { display: block; text-decoration: none; cursor: zoom-in; }
.gallery__item figure { position: relative; }
.gallery__item figure::after {
  content: ""; position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, .95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A5C32' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 20px no-repeat;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--pos, 50% 50%); border-radius: 10px; transition: opacity .2s; }
.gallery__item:hover img { opacity: .85; }
.gallery__item figcaption { margin-top: 10px; text-align: center; font-weight: 700; font-size: 1.0625rem; line-height: 1.5; word-break: auto-phrase; }
.gallery__list + .note { margin-top: 40px; }

/* ---------- higashi（新館） ---------- */
.higashi__card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); overflow: hidden; margin-top: 48px; border: 2px solid #E3D3AF; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.higashi__photo { position: relative; }
.higashi__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.higashi__badge { position: absolute; top: 20px; left: 0; padding: 10px 22px 10px 16px; border-radius: 0 8px 8px 0; background: var(--orange); color: #fff; font-weight: 700; font-size: 1.25rem; letter-spacing: .06em; }
.higashi__body { padding: clamp(24px, 3vw, 36px); }
.higashi__logo { width: min(100%, 170px); margin: 0 auto 16px; }
.spec { width: 100%; border-top: 3px solid var(--green); }
.spec th, .spec td { padding: 12px 14px; border-bottom: 2px solid var(--line); text-align: left; vertical-align: top; }
.spec th { width: 6.2em; background: var(--green-l); font-weight: 700; font-size: 1rem; white-space: nowrap; }
.spec td { font-size: 1.0625rem; word-break: auto-phrase; text-wrap: pretty; }
.higashi__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.higashi__btns .btn { flex: 1 1 200px; }

/* ---------- flow（縦に並べて読みやすく） ---------- */
.steps { --gap: 36px; display: grid; gap: var(--gap); max-width: 900px; margin: 48px auto 0; }
.step { position: relative; display: grid; grid-template-columns: 128px minmax(0, 1fr); border: 2px solid var(--line); border-radius: var(--radius); background: #fff; }
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: calc(var(--gap) / -2 - 9px); width: 16px; height: 16px;
  border-right: 4px solid var(--green); border-bottom: 4px solid var(--green); transform: translateX(-50%) rotate(45deg);
}
.step__head { display: grid; place-content: center; padding: 12px; border-radius: 10px 0 0 10px; background: var(--green); color: #fff; text-align: center; font-weight: 700; font-size: .875rem; letter-spacing: .12em; line-height: 1.2; }
.step__head span { display: block; margin-top: 4px; font-size: 2.5rem; letter-spacing: 0; }
.step__body { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 16px; padding: 22px 26px; }
.step__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--green-l); color: var(--green); }
.step__icon .icon { width: 30px; height: 30px; }
.step__title { font-weight: 700; font-size: 1.375rem; line-height: 1.5; word-break: auto-phrase; }
.step__title br { display: none; }
.step__text { grid-column: 1 / -1; font-size: 1.0625rem; line-height: 1.85; color: var(--sub); }
.steps + .note { margin-top: 36px; }

/* ---------- access ---------- */
.access__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(32px, 4vw, 56px); margin-top: 48px; }
.access__address { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.25rem; }
.access__address .icon { width: 26px; height: 26px; color: var(--orange); }
.access__table { width: 100%; margin: 18px 0 28px; border-top: 3px solid var(--green); }
.access__table th, .access__table td { padding: 15px 8px; border-bottom: 2px solid var(--line); text-align: left; }
.access__table th { font-weight: 400; font-size: 1.0625rem; word-break: auto-phrase; }
.access__table th .icon { display: inline-block; width: 22px; height: 22px; margin-right: 8px; vertical-align: -4px; color: var(--green); }
.access__table td { font-weight: 700; font-size: 1.125rem; color: var(--green); text-align: right; white-space: nowrap; }
.access__map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 2px solid var(--line); border-radius: var(--radius); background: var(--gray); }

/* ---------- contact ---------- */
.contact__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); overflow: hidden; margin-top: 48px; border: 2px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.contact__tel { display: grid; place-content: center; justify-items: center; gap: 10px; padding: 40px 24px; background: var(--green); color: #fff; text-align: center; }
.contact__tel-label { font-weight: 700; font-size: 1.125rem; }
.contact__tel-label span { display: block; font-size: 1rem; font-weight: 400; }
.contact__tel-num { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: clamp(2.125rem, 3.8vw, 2.875rem); line-height: 1.2; letter-spacing: .02em; color: #fff; text-decoration: none; }
.contact__tel-num .icon { width: .8em; height: .8em; }
.contact__tel-note { font-size: 1rem; word-break: auto-phrase; }
.contact__info { padding: 36px clamp(22px, 3vw, 40px); }
.contact__info > p { word-break: auto-phrase; }
.contact__list { margin-top: 20px; border-top: 3px solid var(--green); }
.contact__list li { display: flex; align-items: flex-start; gap: 10px; padding: 14px 4px; border-bottom: 2px solid var(--line); font-weight: 700; line-height: 1.6; word-break: auto-phrase; }
.contact__list .icon { width: 24px; height: 24px; margin-top: 2px; color: var(--green); stroke-width: 3; }
.contact__notes { display: grid; gap: 2px; margin-top: 18px; font-size: 1rem; line-height: 1.8; color: var(--sub); word-break: auto-phrase; text-wrap: pretty; }

/* ---------- footer ---------- */
.footer { padding-top: 56px; background: var(--green-dd); color: #fff; }
.footer__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(28px, 4vw, 56px); }
.footer__brand { width: clamp(170px, 16vw, 200px); padding: 12px 16px; border-radius: var(--radius); background: #fff; }
.footer__name { margin-bottom: 4px; font-weight: 700; font-size: 1.25rem; }
.footer__info { font-size: 1.0625rem; line-height: 1.9; }
.footer__info a { text-underline-offset: 4px; }
.footer__new { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 10px; font-size: 1rem; }
.footer__new span { padding: 0 10px; border: 2px solid #fff; border-radius: 4px; font-size: .875rem; font-weight: 700; }
.footer__nav ul { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 30px; font-size: 1.0625rem; }
.footer__nav a { display: inline-block; padding: 4px 0; text-underline-offset: 4px; }
.footer__copy { margin-top: 44px; padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .3); text-align: center; }
.footer__copy small { font-size: .875rem; }

/* ---------- fixed buttons ---------- */
.to-top {
  position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 40;
  display: grid; place-items: center; width: 56px; height: 56px; border: 2px solid #fff; border-radius: 10px; background: var(--green); color: #fff;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, visibility .3s, transform .3s;
}
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top .icon { width: 26px; height: 26px; }
.sp-cta { display: none; }

/* ---------- lightbox ---------- */
.lightbox { max-width: min(92vw, 1000px); max-height: 92vh; padding: 0; overflow: visible; border: 0; border-radius: var(--radius); background: #fff; color: var(--text); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
.lightbox::backdrop { background: rgba(10, 30, 20, .8); }
.lightbox__figure { padding: 12px 12px 0; }
.lightbox__figure img { width: auto; max-width: 100%; max-height: calc(92vh - 96px); margin-inline: auto; border-radius: 8px; }
.lightbox__figure figcaption { padding: 10px 6px 14px; text-align: center; font-weight: 700; font-size: 1.125rem; }
.lightbox__close { position: absolute; top: -20px; right: -20px; display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid #fff; border-radius: 50%; background: var(--green); color: #fff; }
.lightbox__close .icon { width: 26px; height: 26px; }

/* ---------- motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .6s ease var(--d, 0s), transform .6s ease var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   responsive
   ========================================================= */
/* 「大きく」のときは電話ボタンを小さくして、メニューの折り返しを防ぐ */
@media (min-width: 1280px) and (max-width: 1399px) {
  .fs-large .header__telbtn { gap: 8px; min-height: 52px; padding: 0 14px; font-size: 1.125rem; }
  .fs-large .header__telbtn .icon { width: 22px; height: 22px; }
}

/* メニューの横に電話番号を残すため、ヘッダーを詰める。
   幅に余裕がないので、ここだけは「大きく」でも拡大しない（px で指定） */
@media (min-width: 1100px) and (max-width: 1279px) {
  .header__logo img { height: 44px; }
  .gnav__list a { font-size: 16px; }
  .gnav__new { font-size: 12px; }
  .header__telbtn { gap: 8px; min-height: 52px; padding: 0 14px; font-size: 18px; }
  .header__telbtn small { font-size: 12px; }
  .header__telbtn .icon { width: 22px; height: 22px; }
}

@media (max-width: 1099px) {
  .header__telbtn { display: none; }
  .header__tel { position: relative; z-index: 2; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 56px; height: 56px; border-radius: 10px; background: var(--orange); color: #fff; text-decoration: none; }
  .header__tel .icon { width: 24px; height: 24px; }
  .header__tel-label { font-size: 11px; font-weight: 700; line-height: 1; }
  .menu-btn { position: relative; z-index: 2; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 56px; height: 56px; border: 2px solid var(--line); border-radius: 10px; background: #fff; }
  .menu-btn__bars { position: relative; width: 24px; height: 16px; }
  .menu-btn__bars span { position: absolute; left: 0; width: 100%; height: 3px; border-radius: 2px; background: var(--text); transition: transform .3s, opacity .3s, top .3s; }
  .menu-btn__bars span:nth-child(1) { top: 0; }
  .menu-btn__bars span:nth-child(2) { top: 6.5px; }
  .menu-btn__bars span:nth-child(3) { top: 13px; }
  .menu-btn__label { font-size: 11px; font-weight: 700; line-height: 1; }
  .menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(1) { top: 6.5px; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(3) { top: 6.5px; transform: rotate(-45deg); }
  .gnav {
    position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; gap: 28px;
    padding: calc(var(--header-h) + 24px) max(20px, calc((100vw - 560px) / 2)) 40px; background: #fff;
    overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .menu-open .gnav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .gnav__list { flex-direction: column; gap: 0; border-top: 2px solid var(--line); }
  .gnav__list li { border-bottom: 2px solid var(--line); }
  .gnav__list a { display: flex; align-items: center; gap: 8px; padding: 18px 6px; border-bottom: 0; font-size: 1.25rem; }
  .gnav__list a::after { content: ""; width: 11px; height: 11px; margin-left: auto; border-top: 3px solid var(--green); border-right: 3px solid var(--green); transform: rotate(45deg); }
  .gnav__new { margin-right: 0; font-size: .8125rem; vertical-align: 0; }
  .gnav__contact { display: block; }
  .gnav__cta { display: block; text-align: center; }
  .gnav__cta p { margin-bottom: 10px; font-weight: 700; color: var(--green-d); }
  .gnav__cta .btn { min-height: 64px; font-size: 1.5rem; }
}

@media (max-width: 959px) {
  .hero__inner, .concept__grid, .for-you__grid, .support__grid, .higashi__card, .access__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__photo { order: -1; }
  .concept__photo { order: -1; }
  .support__photo { width: min(100%, 520px); }
  .quick__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .higashi__photo img { height: auto; aspect-ratio: 3 / 2; }
  .higashi__logo { width: min(100%, 200px); }
  .contact__box { grid-template-columns: minmax(0, 1fr); }
  .footer__inner { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .footer__new { justify-content: center; }
  .footer__nav ul { grid-template-columns: repeat(3, auto); justify-content: center; }
}

@media (max-width: 767px) {
  :root { --header-h: 72px; }
  .topbar__inner { justify-content: flex-end; min-height: 48px; }
  .topbar__inner > p { display: none; }
  .header__logo img { height: 38px; }
  .hero { padding-top: 24px; }
  .hero__btns { display: grid; }
  .hero__title br { display: none; }
  .news { margin-top: -48px; }
  .news__card { grid-template-columns: 88px minmax(0, 1fr); align-items: start; gap: 12px 14px; padding: 14px; border-left-width: 6px; }
  .news__thumb { width: 88px; aspect-ratio: 1; }
  .news__label { gap: 4px 8px; font-size: .875rem; }
  .news__title { font-size: 1.1875rem; }
  /* 幅が足りないときだけ「朝幸の郷／みずほ東」で折り返す */
  .news__title .nowrap { display: inline-block; white-space: normal; word-break: keep-all; }
  .news__title wbr { display: inline; }
  .news__text { font-size: .9375rem; }
  .news__more { grid-column: 1 / -1; }
  .quick { padding-top: 48px; }
  .quick__list { gap: 10px; }
  .quick__list a { flex-direction: column; justify-content: center; gap: 8px; min-height: 120px; padding: 14px 10px; text-align: center; font-size: 1rem; }
  .quick__list a::after { display: none; }
  .checklist { padding: 4px 18px; }
  .checklist li { font-size: 1.125rem; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .before__list { flex-direction: column; }
  .spec th, .spec td { display: block; width: auto; }
  .spec th { padding: 10px 14px; border-bottom: 0; }
  .spec td { padding: 8px 14px 14px; }
  .higashi__badge { top: 14px; padding: 8px 16px 8px 12px; font-size: 1.0625rem; }
  .step { grid-template-columns: minmax(0, 1fr); }
  .step__head { display: flex; justify-content: center; align-items: baseline; gap: 6px; padding: 8px; border-radius: 10px 10px 0 0; }
  .step__head span { margin: 0; font-size: 1.75rem; }
  .step__body { padding: 18px; }
  .access__table th { font-size: 1rem; }
  .contact__tel { padding: 32px 16px; }
  .contact__info { padding: 26px 18px; }
  .footer__nav ul { grid-template-columns: repeat(2, auto); }
  .footer__copy { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); width: 50px; height: 50px; }
  .sp-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 70px; padding-bottom: env(safe-area-inset-bottom); background: var(--orange); color: #fff; text-decoration: none;
    box-shadow: 0 -6px 18px -10px rgba(0, 0, 0, .35);
    transform: translateY(110%); visibility: hidden; transition: transform .3s ease, visibility .3s;
  }
  .sp-cta.is-show { transform: none; visibility: visible; }
  .sp-cta .icon { width: 28px; height: 28px; }
  .sp-cta span { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1rem; }
  .sp-cta b { font-size: 1.5rem; letter-spacing: .02em; }
  .lightbox__close { top: 8px; right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}
