@charset "UTF-8";
/* =========================================================
   愛侑サービス デモサイト
   配色・書体・余白は 13_Web構成.md 第5章の指定に準拠
   ========================================================= */

:root {
  /* ---- カラー（13_Web構成.md 第5章 / G5選定シート優先） ---- */
  --c-base: #FFFFFF;
  --c-ink: #1A1A1A;
  --c-green-text: #5A8126;   /* 白地の文字・見出し・緑帯の背景 */
  --c-green-face: #8CC63F;   /* 面・アイコン・区切り帯（黒文字のみ可） */
  --c-green-pale: #F2F7E9;
  --c-cta: #B4600C;          /* 主CTAボタン背景＋白文字 4.58:1 */
  --c-cta-dark: #8F4B08;
  --c-orange-face: #F08A24;  /* 強調面・バッジ（黒文字のみ可） */
  --c-orange-pale: #FDF2E4;
  --c-line: #DCDCDC;
  --c-ink-sub: #4A4A4A;

  /* ---- レイアウト ---- */
  --w-max: 1120px;
  --pad-x: 24px;
  --gap-section: 96px;
  --radius: 12px;
  --shadow: 0 2px 8px rgba(0, 0, 0, .06);

  /* ---- モーション（150-200ms / 400-700ms / 1000ms+ の3種のみ） ---- */
  --t-fast: 200ms;
  --t-mid: 600ms;
  --e-out: cubic-bezier(.22, .61, .36, 1);
  --e-in: cubic-bezier(.55, .06, .68, .19);
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--c-ink);
  background: var(--c-base);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-green-text); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
table { border-collapse: collapse; width: 100%; }
button { font-family: inherit; font-size: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-cta); outline-offset: 2px; }

/* ---------- 共通パーツ ---------- */
.container { width: 100%; max-width: var(--w-max); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--gap-section); }
.section--pale { background: var(--c-green-pale); }
.section--tight { padding-block: 64px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--c-cta); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 0; }

.sec-head { margin-bottom: 40px; }
.sec-head__lead { color: var(--c-green-text); font-weight: 700; font-size: 15px; letter-spacing: .08em; margin: 0 0 6px; }
h2.sec-title { font-size: 30px; color: var(--c-ink); }
h2.sec-title::after {
  content: ""; display: block; width: 56px; height: 5px;
  background: var(--c-green-face); border-radius: 3px; margin-top: 14px;
}
.sec-head--center { text-align: center; }
.sec-head--center h2.sec-title::after { margin-inline: auto; }
h3 { font-size: 21px; }
.note { font-size: 14px; line-height: 1.8; color: var(--c-ink-sub); }
.ai-note { font-size: 13px; color: var(--c-ink-sub); margin: 8px 0 0; }
.lead { font-size: 18px; }

/* ---------- ボタン（装飾層：押し込み） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 12px 26px;
  border-radius: var(--radius); border: 2px solid transparent;
  font-weight: 700; font-size: 17px; line-height: 1.5; text-decoration: none;
  transition: background-color var(--t-fast) var(--e-out), color var(--t-fast) var(--e-out), border-color var(--t-fast) var(--e-out);
}
.btn--primary { background: var(--c-cta); color: #fff; }
.btn--primary:hover { background: var(--c-cta-dark); }
.btn--tel { background: #fff; color: var(--c-green-text); border-color: var(--c-green-text); }
.btn--tel:hover { background: var(--c-green-pale); }
.btn--ghost { background: #fff; color: var(--c-ink); border-color: var(--c-line); }
.btn--ghost:hover { background: var(--c-green-pale); border-color: var(--c-green-text); }
.btn--sm { min-height: 48px; padding: 8px 18px; font-size: 16px; }
.btn__num { font-size: 20px; letter-spacing: .02em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row--center { justify-content: center; }

/* ---------- 本文中リンク（装飾層：下線が左から右） ---------- */
.tlink {
  position: relative; display: inline-block; color: var(--c-green-text);
  font-weight: 700; text-decoration: none;
}
.tlink::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-fast) var(--e-out);
}
.tlink:hover::after, .tlink:focus-visible::after { transform: scaleX(1); }

/* ---------- ヘッダー（装飾層：スクロールで縮小） ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow var(--t-fast) var(--e-out);
}
.header.is-shrunk { box-shadow: var(--shadow); }
.header__inner {
  display: flex; align-items: center; gap: 12px;
  height: 88px; transition: height var(--t-fast) var(--e-out);
}
.header.is-shrunk .header__inner { height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 10px; background: var(--c-green-face);
  display: grid; place-items: center;
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 22px; color: var(--c-ink);
  transition: width var(--t-fast) var(--e-out), height var(--t-fast) var(--e-out);
}
.header.is-shrunk .brand__mark { width: 36px; height: 36px; font-size: 18px; }
.brand__name { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 20px; line-height: 1.3; }
.brand__sub { display: block; font-family: "Noto Sans JP", sans-serif; font-size: 11px; font-weight: 400; color: var(--c-ink-sub); line-height: 1.4; }
.gnav { margin-left: auto; }
.gnav__list { display: flex; gap: 4px; }
.gnav__list a {
  display: block; padding: 8px 10px; font-size: 15px; font-weight: 700; white-space: nowrap;
  color: var(--c-ink); text-decoration: none; border-radius: 8px;
  transition: background-color var(--t-fast) var(--e-out), color var(--t-fast) var(--e-out);
}
.gnav__list a:hover { background: var(--c-green-pale); color: var(--c-green-text); }
.gnav__list a[aria-current="page"] { color: var(--c-green-text); background: var(--c-green-pale); }
.header__tel { flex-shrink: 0; }
.header__tel .btn { min-height: 48px; padding: 6px 14px; font-size: 15px; white-space: nowrap; }
.header__tel .btn__num { font-size: 18px; }
.navtoggle { display: none; }

/* ---------- ファーストビュー ---------- */
.hero { position: relative; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.94) 46%, rgba(255,255,255,.72) 60%, rgba(255,255,255,.2) 80%, rgba(255,255,255,0) 100%);
}
.hero__inner { position: relative; padding-block: 88px 96px; }
.hero__body { max-width: 640px; }
.hero h1 { font-size: 40px; letter-spacing: .01em; margin-bottom: 20px; }
.hero h1 .accent { color: var(--c-green-text); }
.hero__lead { font-size: 18px; margin-bottom: 26px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 2px solid var(--c-green-face); border-radius: 999px;
  padding: 7px 16px; font-size: 14px; font-weight: 700; color: var(--c-ink);
}
.badge img { width: 20px; height: 20px; }
.scroll-cue {
  position: relative; display: flex; justify-content: center; padding-bottom: 24px;
}
.scroll-cue__arrow {
  width: 18px; height: 18px; border-right: 3px solid var(--c-green-text); border-bottom: 3px solid var(--c-green-text);
  transform: rotate(45deg); animation: cue 1600ms var(--e-out) infinite;
}
@keyframes cue {
  0% { transform: translateY(-6px) rotate(45deg); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(8px) rotate(45deg); opacity: 0; }
}

/* ---------- 電話の注記 ---------- */
.tel-note {
  background: var(--c-green-pale); border-left: 5px solid var(--c-green-face);
  border-radius: 8px; padding: 14px 18px; font-size: 14px; line-height: 1.8; color: var(--c-ink);
}
.tel-block { text-align: center; }
.tel-block__num {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 40px;
  color: var(--c-green-text); text-decoration: none; line-height: 1.3;
}
.tel-block__num img { width: 36px; height: 36px; }
.tel-block__hours { font-size: 16px; font-weight: 700; margin: 4px 0 14px; }

/* ---------- 主役層：概算料金シミュレーター ---------- */
.simulator { background: var(--c-orange-pale); }
.sim {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 32px; align-items: start;
}
.sim__inputs { display: grid; gap: 14px; min-width: 0; }
.sim-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; min-width: 0;
  padding: 12px 14px; border: 1px solid var(--c-line); border-radius: 10px; background: #fff;
}
.sim-row__label { font-weight: 700; font-size: 16px; line-height: 1.5; }
.sim-row__unit { display: block; font-size: 13px; font-weight: 400; color: var(--c-ink-sub); }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button {
  width: 48px; height: 48px; border-radius: 10px; border: 2px solid var(--c-green-text);
  background: #fff; color: var(--c-green-text); font-size: 24px; font-weight: 700; line-height: 1;
  display: grid; place-items: center;
  transition: background-color var(--t-fast) var(--e-out);
}
.stepper button:hover { background: var(--c-green-pale); }
.stepper input {
  flex: 0 1 84px; width: 84px; min-width: 0; height: 48px; text-align: center; font-size: 18px; font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  border: 1px solid var(--c-line); border-radius: 10px; color: var(--c-ink); background: #fff;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input[type=number] { -moz-appearance: textfield; }
.sim-row select {
  height: 48px; min-width: 190px; padding: 0 12px; font-size: 16px; font-family: inherit;
  border: 1px solid var(--c-line); border-radius: 10px; background: #fff; color: var(--c-ink);
}
.sim__more { margin-top: 4px; }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--c-green-pale); border: 0; border-radius: 10px;
  padding: 14px 18px; font-size: 16px; font-weight: 700; color: var(--c-green-text); text-align: left;
  transition: background-color var(--t-fast) var(--e-out);
}
.acc-btn:hover { background: #E8F1D8; }
.acc-btn__icon { transition: transform var(--t-fast) var(--e-out); font-size: 13px; }
.acc-btn[aria-expanded="true"] .acc-btn__icon { transform: rotate(180deg); }
.acc-panel { overflow: hidden; }
.acc-panel[hidden] { display: none; }
.acc-panel__inner { display: grid; gap: 14px; padding-top: 14px; }

.sim__result {
  background: var(--c-orange-pale); border-radius: var(--radius); padding: 26px 24px;
  position: sticky; top: 104px; min-width: 0;
}
.sim__result-label { font-size: 15px; font-weight: 700; color: var(--c-ink); margin: 0 0 4px; }
.sim__amount {
  font-family: "Noto Sans JP", sans-serif; font-weight: 700; font-size: 40px; line-height: 1.3;
  color: var(--c-cta); margin: 0 0 4px; word-break: keep-all;
}
.sim__amount .yen { font-size: 26px; }
.sim__amount .tilde { font-size: 30px; }
.sim__amount--empty { font-size: 22px; color: var(--c-ink); }
.sim__tax { font-size: 14px; color: var(--c-ink-sub); margin: 0 0 16px; }
.sim__breakdown { font-size: 14px; line-height: 1.9; margin: 0 0 16px; border-top: 1px dashed var(--c-line); padding-top: 12px; }
.sim__breakdown li { display: flex; justify-content: space-between; gap: 12px; }
.sim__breakdown li span:last-child { font-weight: 700; white-space: nowrap; }
.sim__cautions { font-size: 13px; line-height: 1.8; color: var(--c-ink); margin: 0 0 18px; }
.sim__cautions li { padding-left: 1.1em; text-indent: -1.1em; margin-bottom: 4px; }
.sim__cta { display: grid; gap: 10px; }
.sim__cta .btn { width: 100%; }

/* ---------- カード（装飾層：ホバー拡大 1.03倍） ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow); will-change: transform;
}
.card__thumb { aspect-ratio: 4 / 3; overflow: hidden; }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 19px; margin-bottom: 10px; }
.card__list { font-size: 14px; line-height: 1.9; color: var(--c-ink-sub); margin-bottom: 14px; }
.card__list li { padding-left: 1.1em; text-indent: -1.1em; }
.card__price {
  margin-top: auto; font-weight: 700; font-size: 16px; color: var(--c-cta);
  border-top: 1px dashed var(--c-line); padding-top: 12px;
}
.card__price small { font-size: 13px; color: var(--c-ink-sub); font-weight: 400; display: block; }
.card__link { margin-top: 10px; font-size: 15px; }

/* ---------- 写真（装飾層：ホバーズーム 1.05倍） ---------- */
.photo { border-radius: var(--radius); overflow: hidden; background: var(--c-green-pale); }
.photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform var(--t-mid) var(--e-out);
}
.photo:hover img { transform: scale(1.05); }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.photo-item figcaption { font-size: 14px; font-weight: 700; margin-top: 10px; }

/* ---------- 選ばれる理由 ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.reason { text-align: center; }
.reason__icon {
  width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--c-green-pale); display: grid; place-items: center;
}
.reason__icon img { width: 48px; height: 48px; }
.reason h3 { font-size: 19px; margin-bottom: 8px; }
.reason p { font-size: 15px; line-height: 1.9; color: var(--c-ink-sub); }

/* ---------- 流れ ---------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.flow__item { text-align: center; }
.flow__num {
  width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--c-green-face); color: var(--c-ink);
  display: grid; place-items: center;
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 22px;
}
.flow__title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.flow__text { font-size: 14px; line-height: 1.8; color: var(--c-ink-sub); }
.flow--rows { grid-template-columns: 1fr; gap: 0; }
.flow--rows .flow__item {
  display: grid; grid-template-columns: 52px 1fr; gap: 20px; text-align: left;
  padding: 20px 0; border-bottom: 1px solid var(--c-line); align-items: start;
}
.flow--rows .flow__item:first-child { border-top: 1px solid var(--c-line); }
.flow--rows .flow__num { margin: 0; }
.flow--rows .flow__title { font-size: 18px; }

/* ---------- ごあいさつ ---------- */
.greeting { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.avatar {
  width: 220px; height: 220px; border-radius: var(--radius);
  background: var(--c-green-pale); display: grid; place-items: center;
}
.motto {
  background: var(--c-green-pale); border-radius: var(--radius); padding: 22px 26px;
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 19px;
  color: var(--c-green-text); text-align: center; line-height: 1.8; margin-bottom: 20px;
}

/* ---------- 区切り帯 ---------- */
.band { position: relative; overflow: hidden; }
.band__bg { position: absolute; inset: 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band__scrim { position: absolute; inset: 0; background: rgba(26, 26, 26, .58); }
.band__inner { position: relative; padding-block: 72px; text-align: center; color: #fff; }
.band__inner h2 { font-size: 30px; color: #fff; margin-bottom: 12px; }
.band__inner p { color: #fff; }
.band .btn--tel { background: #fff; color: var(--c-green-text); border-color: #fff; }
.band .tel-note { background: rgba(255, 255, 255, .94); border-left-color: var(--c-green-face); text-align: left; max-width: 720px; margin: 22px auto 0; }

/* ---------- 料金表 ---------- */
.price-group { margin-bottom: 44px; }
.price-group h3 {
  font-size: 21px; color: var(--c-ink); padding-bottom: 10px; margin-bottom: 0;
  border-bottom: 3px solid var(--c-green-face);
}
.price-table th, .price-table td { border-bottom: 1px solid var(--c-line); padding: 16px 12px; text-align: left; vertical-align: middle; }
.price-table th { font-weight: 700; font-size: 17px; width: 46%; }
.price-table td.unit { font-size: 15px; color: var(--c-ink-sub); width: 18%; }
.price-table td.amount {
  font-weight: 700; font-size: 20px; color: var(--c-cta); text-align: right; white-space: nowrap;
}
.price-table td.amount small { font-size: 13px; color: var(--c-ink-sub); font-weight: 400; }
.price-table .memo { font-size: 13px; color: var(--c-ink-sub); font-weight: 400; display: block; line-height: 1.7; }

/* ---------- アコーディオン（ページ用） ---------- */
.acc { border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.acc + .acc { margin-top: 12px; }
.acc .acc-btn { border-radius: 0; background: #fff; color: var(--c-ink); }
.acc .acc-btn:hover { background: var(--c-green-pale); }
.acc .acc-panel__inner { padding: 0 18px 18px; display: block; }

/* ---------- サービス詳細ブロック ---------- */
.svc { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.svc:nth-child(even) .svc__media { order: 2; }
.svc + .svc { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--c-line); }
.svc__num { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; color: var(--c-green-text); font-size: 15px; letter-spacing: .1em; }
.svc h3 { font-size: 26px; margin: 4px 0 14px; }
.svc__works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; margin: 16px 0 20px; font-size: 15px; }
.svc__works li { padding-left: 1.3em; text-indent: -1.3em; }
.svc__prices { background: var(--c-green-pale); border-radius: 10px; padding: 16px 20px; margin-bottom: 18px; }
.svc__prices li { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; padding: 5px 0; }
.svc__prices li b { color: var(--c-cta); white-space: nowrap; }

/* ---------- 会社概要 ---------- */
.profile-table th, .profile-table td { border-bottom: 1px solid var(--c-line); padding: 16px 12px; text-align: left; vertical-align: top; }
.profile-table th { width: 200px; font-weight: 700; background: var(--c-green-pale); }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); line-height: 0; }
.map-frame iframe { width: 100%; height: 380px; border: 0; }

/* ---------- フォーム ---------- */
.form { display: grid; gap: 24px; max-width: 720px; }
.field label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.field .req { background: var(--c-orange-face); color: var(--c-ink); font-size: 12px; font-weight: 700; border-radius: 4px; padding: 2px 8px; margin-left: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px; font-size: 17px; font-family: inherit; line-height: 1.7;
  border: 1px solid var(--c-line); border-radius: 10px; background: #fff; color: var(--c-ink);
}
.field textarea { min-height: 160px; resize: vertical; }
.field .help { font-size: 13px; color: var(--c-ink-sub); margin: 6px 0 0; line-height: 1.7; }
.form-note {
  background: var(--c-orange-pale); border-radius: var(--radius); padding: 16px 20px;
  font-size: 14px; line-height: 1.8;
}

/* ---------- フッター ---------- */
.footer { background: var(--c-green-text); color: #fff; padding-block: 56px 28px; margin-top: 0; }
.footer a { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer__brand { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 22px; margin-bottom: 10px; }
.footer p, .footer li { font-size: 15px; line-height: 1.9; }
.footer h3 { font-size: 16px; margin-bottom: 10px; }
.footer__nav li { margin-bottom: 2px; }
.footer__tel { font-family: "Zen Maru Gothic", sans-serif; font-size: 26px; font-weight: 700; text-decoration: none; display: inline-block; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .35); margin-top: 36px; padding-top: 20px; }
.footer__demo { font-size: 13px; line-height: 1.8; margin-bottom: 12px; }
.footer__copy { font-size: 13px; }

/* ---------- 404 ---------- */
.err { text-align: center; padding-block: 96px; }
.err h1 { font-size: 34px; margin-bottom: 16px; }
.err__code { font-family: "Zen Maru Gothic", sans-serif; font-size: 72px; font-weight: 700; color: var(--c-green-face); line-height: 1; margin-bottom: 8px; }

/* ---------- 基礎層（画面に20%入ったらフェードイン＋28px上昇） ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .gnav__list a { padding: 8px 9px; font-size: 14px; }
  .brand__name { font-size: 18px; }
}

@media (max-width: 900px) {
  .sim { grid-template-columns: 1fr; }
  .sim__result { position: static; }
  .svc, .svc:nth-child(even) .svc__media { grid-template-columns: 1fr; order: 0; }
  .greeting { grid-template-columns: 1fr; gap: 24px; }
  .avatar { width: 160px; height: 160px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- 900px未満：ナビをハンバーガーに切り替える ---------- */
@media (max-width: 899px) {
  .navtoggle {
    display: grid; place-items: center; margin-left: auto;
    width: 48px; height: 48px; border: 1px solid var(--c-line); border-radius: 10px;
    background: #fff; color: var(--c-ink); font-size: 12px; font-weight: 700; gap: 4px;
  }
  .navtoggle span { display: block; width: 20px; height: 2px; background: var(--c-ink); }
  .gnav {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0; z-index: 60;
    background: #fff; border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow);
  }
  .gnav[hidden] { display: none; }
  .gnav__list { flex-direction: column; gap: 0; padding: 8px var(--pad-x) 16px; }
  .gnav__list a { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid var(--c-line); border-radius: 0; }
  .header__inner { gap: 12px; }
  .header__tel .btn { min-height: 48px; padding: 6px 12px; font-size: 15px; }
  .header__tel .btn__num { font-size: 17px; }
}

@media (max-width: 767px) {
  :root { --gap-section: 64px; --pad-x: 18px; }
  body { font-size: 17px; line-height: 1.9; }
  .header__inner { height: 64px; gap: 10px; }
  .header.is-shrunk .header__inner { height: 56px; }
  .brand__name { font-size: 15px; }
  .brand__sub { display: none; }
  .header__inner { gap: 8px; }
  .brand { gap: 8px; }
  .brand__mark { width: 38px; height: 38px; font-size: 19px; }
  .navtoggle { width: 44px; height: 44px; }
  .header__tel .btn { min-height: 44px; padding: 4px 10px; font-size: 14px; }
  .header__tel .btn__num { display: none; }
  .hero__inner { padding-block: 48px 56px; }
  .hero__scrim { background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.9) 55%, rgba(255,255,255,.7) 100%); }
  .hero h1 { font-size: 28px; }
  .hero__lead, .lead { font-size: 17px; }
  h2.sec-title { font-size: 24px; }
  h3 { font-size: 19px; }
  .cards, .photo-grid { grid-template-columns: 1fr; gap: 20px; }
  .reasons { grid-template-columns: 1fr; gap: 28px; }
  .flow { grid-template-columns: 1fr; }
  .sim { padding: 20px 16px; gap: 22px; }
  .sim-row { grid-template-columns: 1fr; gap: 10px; }
  .stepper { width: 100%; justify-content: space-between; }
  .stepper button { flex: 0 0 auto; }
  .stepper input { flex: 1 1 60px; width: 60px; min-width: 0; }
  .sim-row select { width: 100%; min-width: 0; }
  .sim__amount { font-size: 30px; word-break: normal; overflow-wrap: anywhere; }
  .sim__amount .yen { font-size: 22px; }
  .sim__amount .tilde { font-size: 24px; }
  .sim__result { padding: 20px 16px; }
  .tel-block__num { font-size: 30px; }
  .tel-block__num img { width: 28px; height: 28px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .price-table th, .price-table td { padding: 12px 6px; }
  .price-table th { width: 44%; font-size: 16px; }
  .price-table td.unit { display: none; }
  .price-table td.amount { font-size: 18px; }
  .profile-table th { width: 108px; font-size: 15px; padding: 12px 8px; }
  .profile-table td { font-size: 15px; padding: 12px 8px; }
  .svc__works { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .band__inner { padding-block: 48px; }
  .band__inner h2 { font-size: 24px; }
  .err__code { font-size: 56px; }
  .err h1 { font-size: 26px; }
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .scroll-cue__arrow { animation: none; }
  .photo:hover img { transform: none; }
}

/* ---------- 追記：シミュレーター金額の接頭辞／フッター小文字 ---------- */
.sim__amount .pre { font-size: 20px; font-weight: 700; color: var(--c-ink); }
.sim__amount--empty .pre { font-size: inherit; }
.footer__small { font-size: 13px; line-height: 1.8; color: #fff; margin-top: 10px; }
.footer .tel-note { background: rgba(255, 255, 255, .95); color: var(--c-ink); border-left-color: var(--c-green-face); margin-top: 12px; }
.figure-note { display: block; font-size: 13px; color: var(--c-ink-sub); margin-top: 8px; line-height: 1.7; }
.notice-bar {
  background: var(--c-orange-pale); border-radius: var(--radius); padding: 18px 22px;
  font-size: 15px; line-height: 1.9; border-left: 5px solid var(--c-orange-face);
}
.anchor-offset { scroll-margin-top: 104px; }

/* ---------- 追記：下層ページの見出し／細い区切り帯 ---------- */
.page-title { font-size: 34px; }
.svc-title { font-size: 26px; margin: 4px 0 14px; }
.band--slim .band__bg { position: relative; }
.band--slim .band__bg img { height: 160px; }
.band--slim .band__scrim { background: rgba(90, 129, 38, .35); }
@media (max-width: 767px) {
  .page-title { font-size: 26px; }
  .svc-title { font-size: 21px; }
  .band--slim .band__bg img { height: 110px; }
}
