@charset "UTF-8";

/* ==========================================================================
   有限会社ノナカオートサービス 公式サイト
   assets/css/style.css

   ★このファイルを書き換えたら、バージョン番号を上げてください★
   全 HTML の <link rel="stylesheet" href="./assets/css/style.css?v=15">
   の末尾の数字を 1 つ増やします（_unused/ 配下の 2 ページも同様）。
   番号を上げないと、閲覧者のブラウザが古いスタイルを使い続けてしまい、
   レイアウトが崩れたまま表示されることがあります。
   現在のバージョン: v=15（JS の番号は README 2-3 参照）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. トークン
   -------------------------------------------------------------------------- */
:root {
  /* 色 */
  --ink:        #1B2B20;
  --nas-green:  #3F7D2E;
  --nas-lime:   #C7D64B;
  --paper:      #F7F8F4;
  --surface:    #FFFFFF;
  --line:       #DCE0D4;
  --sub:        #667062;

  --green-deep: #12281A;
  --green-dark: #2C5A20;
  --line-soft:  #E9ECE2;
  --paper-warm: #F1F3EB;

  /* 書体 */
  --font-head: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-num:  "Barlow Semi Condensed", "Zen Kaku Gothic New", sans-serif;
  /* 背景装飾の筆記体。名刺のロゴに近い、太めの筆致の書体。 */
  --font-script: "Yellowtail", "Segoe Script", cursive;

  /* 文字サイズ（可変） */
  --t-display: clamp(2rem, 1.15rem + 3.7vw, 3.5rem);      /* 32 → 56 */
  --t-h1:      clamp(1.75rem, 1.3rem + 2.1vw, 2.75rem);   /* 28 → 44 */
  --t-h2:      clamp(1.5rem, 1.18rem + 1.5vw, 2.375rem);  /* 24 → 38 */
  --t-h3:      clamp(1.125rem, 1.03rem + .45vw, 1.375rem);/* 18 → 22 */
  --t-lead:    clamp(.9375rem, .9rem + .22vw, 1.0625rem); /* 15 → 17 */
  --t-small:   .8125rem;

  /* 寸法 */
  --wrap: 1180px;
  --gut: 24px;
  --edge: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
  --header-h: 78px;
  --s-sec: clamp(64px, 8.5vw, 132px);
  --radius: 3px;

  --shadow-sm: 0 1px 2px rgba(27, 43, 32, .05);
  --shadow-md: 0 18px 46px -20px rgba(18, 40, 26, .45);
  --shadow-lg: 0 30px 70px -28px rgba(18, 40, 26, .55);
}

/* --------------------------------------------------------------------------
   2. リセット・ベース
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: .025em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
/* <picture>（WebP と JPEG の出し分け）は箱を作らず、中の img を直接レイアウトさせる。
   img に付けた grid-area・position などの指定が、picture で囲む前と同じように効く。 */
picture { display: contents; }

a { color: var(--nas-green); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: .005em;
  margin: 0;
}

p { margin: 0 0 1.4em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
figure, figcaption { margin: 0; }
table { border-collapse: collapse; }
strong { font-weight: 500; background: linear-gradient(transparent 62%, rgba(199, 214, 75, .5) 62%); }

:focus-visible { outline: 3px solid var(--nas-green); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 8px; top: -70px; z-index: 300;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius);
  transition: top .15s;
}
.skip-link:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 820px; }
.wrap--mid { max-width: 980px; }

.num { font-family: var(--font-num); font-weight: 600; letter-spacing: .015em; font-feature-settings: "tnum"; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 小さな英字ラベル（共通） */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-num); font-weight: 600; font-size: 12px;
  letter-spacing: .24em; color: var(--nas-green); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--nas-lime); flex: 0 0 auto; }
.eyebrow--light { color: var(--nas-lime); }
.eyebrow--center { justify-content: center; }

/* --------------------------------------------------------------------------
   3. ヘッダー
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.header__inner { min-height: var(--header-h); display: flex; align-items: center; gap: 18px; }

/* ロゴ */
.logo { display: flex; align-items: center; text-decoration: none; color: inherit; flex: 0 0 auto; }
/* ロゴは横長（2:1）のため、高さを基準に指定する。
   幅を固定すると縦が潰れるので width は auto のままにしておくこと。 */
.logo__img { display: block; height: 46px; width: auto; max-width: 100%; }

/* ナビ */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: stretch; list-style: none; }
.nav__link {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 0 11px; height: var(--header-h);
  text-decoration: none; color: var(--ink); white-space: nowrap;
}
.nav__ja { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .01em; }
.nav__en { font-family: var(--font-num); font-weight: 600; font-size: 9px; letter-spacing: .16em; color: var(--sub); }
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px;
  background: var(--nas-lime); transform: scaleX(0); transform-origin: center;
  transition: transform .2s ease;
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__link:hover .nav__en { color: var(--nas-green); }
.nav__link[aria-current="page"] { color: var(--nas-green); }
.nav__link[aria-current="page"] .nav__en { color: var(--nas-green); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); background: var(--nas-green); }
.nav__ext { width: .68em; height: .68em; margin-left: 4px; vertical-align: -.02em; fill: currentColor; opacity: .65; }

/* ヘッダー右 */
.header__aside { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; margin-left: 6px; }

.status {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); font-size: 12px; line-height: 1.4;
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; background: var(--sub); box-shadow: 0 0 0 3px rgba(102, 112, 98, .16); }
.status__text { font-family: var(--font-head); font-weight: 700; font-size: 12px; }
.status__detail { font-family: var(--font-num); font-weight: 600; font-size: 13px; color: var(--sub); }
.status__detail:empty { display: none; }
.status.is-open    .status__dot { background: var(--nas-green); box-shadow: 0 0 0 3px rgba(63, 125, 46, .18); }
.status.is-open    .status__text { color: var(--nas-green); }
.status.is-closed  .status__dot { background: #A9AFA4; box-shadow: 0 0 0 3px rgba(169, 175, 164, .2); }
.status.is-holiday .status__dot { background: #B4863F; box-shadow: 0 0 0 3px rgba(180, 134, 63, .2); }
.status.is-special .status__dot { background: #C0503C; box-shadow: 0 0 0 3px rgba(192, 80, 60, .2); }
.status.is-special .status__text { color: #C0503C; }

.status__fallback { font-family: var(--font-num); font-weight: 600; font-size: 12px; color: var(--sub); }
.js .status__fallback { display: none; }
.status__live { display: none; }
.js .status__live { display: flex; align-items: center; gap: 8px; }
/* 祝日データが切れている間は営業状態を判定できないため、
   リアルタイム表示をやめて静的な営業時間テキストに戻す（hours.js が付与）。 */
.js .status.is-stale .status__fallback { display: inline; }
.js .status.is-stale .status__live { display: none; }

/* ヘッダーの電話ボタン（ナビが8項目あるため丸アイコンに留める） */
.header__tel {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--nas-green); color: #fff; text-decoration: none;
  box-shadow: 0 6px 16px -8px rgba(63, 125, 46, .9);
  transition: background-color .18s, transform .12s;
}
.header__tel:hover { background: var(--green-dark); }
.header__tel:active { transform: translateY(1px); }
.header__tel svg { width: 19px; height: 19px; fill: currentColor; }

/* ハンバーガー */
.burger {
  display: none; margin-left: auto; width: 46px; height: 46px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; padding: 0; place-items: center;
}
.burger__bars { display: block; width: 20px; height: 12px; position: relative; }
.burger__bars span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .15s ease; }
.burger__bars span:nth-child(1) { top: 0; }
.burger__bars span:nth-child(2) { top: 5px; }
.burger__bars span:nth-child(3) { top: 10px; }
.burger[aria-expanded="true"] .burger__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   4. 見出し・ボタン
   -------------------------------------------------------------------------- */
.section { padding: var(--s-sec) 0; }
.section--paper { background: var(--paper); }
.section--surface { background: var(--surface); }
.section--warm { background: var(--paper-warm); }
.section--tight { padding: clamp(48px, 6vw, 88px) 0; }

/* 罫線一体型の見出し */
/* 見出しの下罫と最初のコンテンツが離れすぎると、罫線が見出しではなく
   独立した区切りに見えてしまう。罫のすぐ下から内容が始まるくらいに詰める。 */
.sec-head { margin-bottom: clamp(20px, 2.2vw, 30px); }
.sec-head__row { display: flex; align-items: flex-end; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.sec-head__title { font-size: var(--t-h2); letter-spacing: .01em; }
/* 英字ラベルは右端固定にせず、日本語見出しのすぐ隣に置いて対に見せる。 */
.sec-head__en { font-family: var(--font-num); font-weight: 600; font-size: 12px; letter-spacing: .24em; color: var(--sub); padding-bottom: 7px; white-space: nowrap; }
.sec-head__lead { margin-top: 20px; color: var(--sub); font-size: var(--t-lead); max-width: 60ch; }
.sec-head--center .sec-head__row { justify-content: center; border-bottom: 0; padding-bottom: 0; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__lead { margin-inline: auto; }
.sec-head--light .sec-head__row { border-color: rgba(255, 255, 255, .2); }
.sec-head--light .sec-head__title { color: #fff; }
.sec-head--light .sec-head__en { color: rgba(255, 255, 255, .6); }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 30px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .02em;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .12s, box-shadow .18s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--nas-green); color: #fff; box-shadow: 0 8px 20px -10px rgba(63, 125, 46, .8); }
.btn--primary:hover { background: var(--green-dark); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--nas-green); color: var(--nas-green); background: var(--surface); }
.btn--light { background: #fff; color: var(--green-deep); }
.btn--light:hover { background: var(--nas-lime); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { border-color: var(--nas-lime); color: var(--nas-lime); }
/* 緑の面の上で使う塗りボタン。隣の白い電話カードと対等な重さに見せる。 */
.btn--lime { background: var(--nas-lime); color: var(--green-deep); box-shadow: 0 8px 22px -12px rgba(0, 0, 0, .6); }
.btn--lime:hover { background: #D5E265; }
.btn__ico { width: 17px; height: 17px; fill: currentColor; flex: 0 0 auto; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* --------------------------------------------------------------------------
   5. ヒーロー
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--paper); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.12fr .88fr; align-items: stretch; }

.hero__panel {
  position: relative; z-index: 1;
  background: linear-gradient(158deg, var(--green-deep) 0%, #1E4526 55%, var(--nas-green) 145%);
  color: #fff;
  padding: clamp(56px, 7vw, 104px) clamp(32px, 5vw, 76px) clamp(56px, 7vw, 104px) var(--edge);
  display: flex; flex-direction: column; justify-content: center;
}
/* 面の内側に走る細い黄緑のライン */
.hero__panel::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--nas-lime) 0%, rgba(199, 214, 75, .15) 62%, transparent 100%);
}
/* 大きく薄い筆記体のウォーターマーク。
   ロゴの楕円は使わず、社名の筆記体だけを白の低い不透明度で背景に溶かす。
   本文（.hero__title 等）より奥に置くため z-index は指定しない。 */
.hero__panel::after {
  content: "NoNaKa,A,S";
  /* 横位置：最後の「S」の払いが文字送りより約 .17em 右へ出るため、
     right に .18em 取って文字が切れないようにする。
     縦位置：下端だけをわずかに裁ち落とし、面に溶け込ませる。 */
  position: absolute; right: .18em; bottom: -.10em;
  font-family: var(--font-script);
  font-size: clamp(58px, 7.4vw, 112px);
  line-height: .9; letter-spacing: .005em;
  color: rgba(255, 255, 255, .07);
  white-space: nowrap; pointer-events: none; user-select: none;
}

.hero__title { font-size: var(--t-display); line-height: 1.28; margin-bottom: 22px; letter-spacing: .005em; }
.hero__title em { font-style: normal; color: var(--nas-lime); }
.hero__lead { color: rgba(255, 255, 255, .82); font-size: var(--t-lead); max-width: 32ch; margin-bottom: clamp(28px, 3.5vw, 40px); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
/* 電話カードと同じ高さまで伸びるため、丸ピルのままだと大きな楕円になる。
   カード（角丸 6px）と角の処理を揃えて、2つを対等な選択肢に見せる。 */
.hero__cta .btn { border-radius: 6px; padding-inline: 34px; }

.telcard {
  display: flex; flex-direction: column; justify-content: center;
  background: #fff; color: var(--green-deep); text-decoration: none;
  padding: 14px 26px; border-radius: 6px; line-height: 1.2;
  transition: transform .14s, box-shadow .2s;
}
.telcard:hover { box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); transform: translateY(-1px); }
.telcard__label { font-family: var(--font-head); font-size: 10.5px; font-weight: 700; color: var(--sub); letter-spacing: .14em; }
.telcard__num { font-family: var(--font-num); font-weight: 600; font-size: clamp(28px, 3vw, 36px); letter-spacing: .015em; margin: 2px 0 3px; }
.telcard__hours { font-family: var(--font-num); font-weight: 600; font-size: 11.5px; color: var(--sub); letter-spacing: .04em; }

/* セルごと左へずらして写真を緑の面に重ねる。右端はページの内容幅に揃える。
   写真・キャプション・かぎ罫を同じグリッド領域に重ね、
   キャプションと罫が必ず写真の縁に付くようにする。 */
.hero__media {
  --media-pad: clamp(28px, 4vw, 56px);
  position: relative; z-index: 2;
  display: grid; grid-template-areas: "photo"; align-content: center; justify-items: stretch;
  margin-left: clamp(-140px, -9vw, -40px);
  padding: var(--media-pad) var(--edge) var(--media-pad) 0;
}
.hero__media img {
  grid-area: photo; z-index: 2;
  width: 100%; max-width: 640px; aspect-ratio: 16 / 9; object-fit: cover;
  /* 素材（shop.jpg 1476x1108）はほぼ 4:3 なので、枠を 4:3 のままにすると
     切り取りが起きず object-position が効かない。枠を横長にして余白を削る。
     写真の中身は 上0-35%が空 ／ 35-90%が事務所・整備工場・看板 ／ 下が路面。
     60% を指定すると上（空）から15%・下（路面）から10%が落ち、
     表示範囲は元画像の 15%-90% になる。左の事務所と右の縦看板は
     どちらも横幅いっぱいに残り、建物と看板が枠の中で大きく写る。 */
  object-position: center 60%;
  border-radius: 6px; box-shadow: var(--shadow-lg); background: var(--line);
}
/* 写真の右下に添える黄緑のかぎ罫 */
.hero__media::after {
  content: ""; grid-area: photo; z-index: 1;
  align-self: end; justify-self: end;
  width: 92px; height: 92px; margin: 0 -16px -16px 0;
  border-right: 2px solid var(--nas-lime);
  border-bottom: 2px solid var(--nas-lime);
  border-bottom-right-radius: 6px;
}
.hero__caption {
  grid-area: photo; z-index: 3;
  align-self: end; justify-self: start; margin: 0 0 16px 16px;
  background: rgba(18, 40, 26, .88); color: #fff;
  font-size: 11px; padding: 7px 14px; border-radius: 3px; letter-spacing: .06em; line-height: 1.5;
}

/*  写真が高解像度に差し替わった場合の代替レイアウト。
    hero 要素に .hero--photo を付けると全面背景写真になる。
    ※ 現在の素材は 640x480 のため既定では使用しない。
.hero--photo .hero__inner { grid-template-columns: 1fr; }
.hero--photo .hero__media { display: none; }
.hero--photo .hero__panel {
  background:
    linear-gradient(90deg, rgba(18,40,26,.94) 0%, rgba(18,40,26,.66) 58%, rgba(18,40,26,.32) 100%),
    url("../img/hero-sign.jpg") center / cover no-repeat;
  padding-block: clamp(90px, 12vw, 170px);
}
*/

/* ヒーロー直下の3点要約 */
.factstrip { background: var(--surface); border-bottom: 1px solid var(--line); }
.factstrip__list { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; }
.factstrip__item { display: flex; align-items: center; gap: 14px; padding: 24px 4px; border-left: 1px solid var(--line-soft); padding-left: 26px; }
.factstrip__item:first-child { border-left: 0; padding-left: 4px; }
.factstrip__no { font-family: var(--font-num); font-weight: 600; font-size: 26px; color: var(--nas-lime); line-height: 1; flex: 0 0 auto; }
.factstrip__text { font-family: var(--font-head); font-weight: 700; font-size: 14.5px; line-height: 1.5; }
.factstrip__text small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12.5px; color: var(--sub); letter-spacing: .02em; margin-top: 2px; }

/* --------------------------------------------------------------------------
   6. お知らせ
   -------------------------------------------------------------------------- */
.news-list { list-style: none; border-top: 1px solid var(--line); }
/* 見出し（.sec-head__row の下罫）の直後に置かれた場合、罫が二重になって
   間に空の帯ができるため、リスト側の上罫は落とす。 */
.sec-head + .news-list { border-top: 0; }
.news-item { border-bottom: 1px solid var(--line); }
.news-item__inner { display: grid; grid-template-columns: 116px 1fr; gap: 2px 24px; padding: 24px 6px; align-items: baseline; }
.news-item__date { font-family: var(--font-num); font-weight: 600; font-size: 15px; color: var(--sub); letter-spacing: .04em; }
/* 長い英数字・URL が続いても横にはみ出さないよう、どこでも折り返せるようにする */
.news-item__title, .news-item__body { min-width: 0; overflow-wrap: anywhere; }
.news-item__title { font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.7; color: var(--ink); margin: 0; }
/* 本文は --sub より濃い色（白地 7.4:1）。細い書体の小さい文字でも読めるように */
.news-item__body { grid-column: 2; color: #4F584C; font-size: 15px; margin-top: 12px; line-height: 1.95; }
.news-item__badge {
  display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 999px;
  background: #FBEDEA; color: #9E3A2A; font-size: 11.5px; font-family: var(--font-head); font-weight: 700;
  vertical-align: 2px; letter-spacing: .04em; line-height: 1.7;
}

/* 臨時休業：左の赤線と、休業期間の帯。終了したもの（.is-ended）は灰色にする。
   赤線は項目の外側（左の余白）に出し、日付・タイトルの位置を通常の項目と揃える */
.news-item--closure .news-item__inner { position: relative; }
.news-item--closure .news-item__inner::before {
  content: ""; position: absolute; left: -14px; top: 20px; bottom: 20px; width: 3px; border-radius: 2px; background: #C0503C;
}
.news-item__period {
  grid-column: 2; justify-self: start; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px;
  margin: 8px 0 0; padding: 5px 14px; border-radius: var(--radius); background: #FBEDEA; line-height: 1.7;
}
.news-item__period-label { font-family: var(--font-head); font-weight: 700; font-size: 12.5px; color: #9E3A2A; letter-spacing: .06em; }
.news-item__period-value { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); letter-spacing: .02em; }
.news-item--closure.is-ended .news-item__inner::before { background: #C3C8BD; }
.news-item--closure.is-ended .news-item__period { background: var(--paper-warm); }
.news-item--closure.is-ended .news-item__period-label,
.news-item--closure.is-ended .news-item__period-value { color: #5E665A; }
.news-item.is-ended .news-item__badge { background: #ECEEE8; color: #5E665A; }

.news-empty { color: var(--sub); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 6px; text-align: center; }

/* お知らせ一覧ページ：パンくずの直後なので上の余白を詰め、一覧の見出しを置く */
/* スマホ幅の .section--tight（後方のメディアクエリ）にも負けないよう2クラスで指定 */
.section--tight.section--news-page { padding-top: clamp(8px, 1.4vw, 20px); }
.sec-head + .news-list[hidden] + .news-empty { border-top: 0; }

/* お知らせ一覧のページ送り（9件以上のとき news.js が中身を作る。8件以下は hidden のまま） */
.pager { margin-top: clamp(32px, 4vw, 44px); }
.pager__list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.pager__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 48px; height: 48px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--surface);
  font-family: var(--font-num); font-weight: 600; font-size: 17px; letter-spacing: .04em;
  color: var(--ink); text-decoration: none;
  transition: border-color .2s, color .2s, background-color .2s;
}
a.pager__link:hover { border-color: var(--nas-green); color: var(--nas-green); }
.pager__link.is-current { background: var(--nas-green); border-color: var(--nas-green); color: #fff; }
.pager__link--step { padding: 0 18px; font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.pager__link--step::before,
.pager__link--step::after { width: 7px; height: 7px; border: solid currentColor; border-width: 0 0 2px 2px; }
.pager__link--prev::before { content: ""; transform: rotate(45deg); }
.pager__link--next::after { content: ""; transform: rotate(-135deg); }
.pager__link.is-disabled { color: #B5BBAF; background: transparent; border-color: var(--line-soft); }
.pager__gap { min-width: 20px; text-align: center; color: var(--sub); font-family: var(--font-num); font-weight: 600; }
/* スマホは番号を1行に収め、「前へ」「次へ」をその下に半分ずつの幅で並べる */
@media (max-width: 560px) {
  .pager__list { gap: 6px; }
  /* 幅いっぱいの見えない項目で改行し、「前へ」「次へ」を必ず番号の下の行に送る */
  .pager__list::after { content: ""; order: 1; flex-basis: 100%; height: 0; margin-top: -6px; }
  .pager__item--step { order: 2; flex: 1 1 calc(50% - 3px); }
  .pager__item--step .pager__link { width: 100%; }
  /* 「1 … 4 5 6 … 10」が幅 320px の画面でも1行に収まる大きさ */
  .pager__link { min-width: 42px; height: 44px; padding: 0 6px; }
  .pager__gap { min-width: 14px; }
}

/* --------------------------------------------------------------------------
   7. サービス一覧（番号付きの行）
   -------------------------------------------------------------------------- */
/* 1行が画面幅いっぱい（1100px超）に広がると、番号から矢印まで視線が大きく
   横に動いてしまう。行の最大幅を絞って中央に寄せ、番号と見出しを近接させる。 */
.svc-list { list-style: none; border-top: 1px solid var(--line); max-width: 880px; margin-inline: auto; }
.svc-row { border-bottom: 1px solid var(--line); }

/* 05 車検 / 06 自動車保険 の2分割。上の全幅リストとつながって見えるよう、
   上罫は落として全幅側の下罫を共有する。 */
.svc-list--pair { border-top: 0; }

/* 2分割にするのは PC 幅だけ。
   メディアクエリは詳細度を上げないため、これらを素の状態で書くと
   「.svc-list--pair .svc-row__link」（クラス2つ）が、スマホ用の
   「.svc-row__link」（クラス1つ）に打ち勝ってしまい、01〜04 と 05・06 で
   列構成がずれて矢印の位置が揃わなくなる。min-width で囲って回避する。 */
@media (min-width: 901px) {
  .svc-list--pair { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }
  .svc-list--pair .svc-row__link { grid-template-columns: 58px minmax(0, 1fr) auto; }
  /* 全幅側は4列・こちらは3列なので、自動配置に任せると矢印が2行目へ回り込み、
     01〜04（右端）と位置が揃わない。配置を明示して1行目の右端に固定する。 */
  .svc-list--pair .svc-row__no    { grid-column: 1; grid-row: 1; }
  .svc-list--pair .svc-row__title { grid-column: 2; grid-row: 1; }
  .svc-list--pair .svc-row__arrow { grid-column: 3; grid-row: 1; }
  .svc-list--pair .svc-row__text  { grid-column: 1 / -1; grid-row: 2; margin-top: 6px; }
}
.svc-row__link {
  display: grid; grid-template-columns: 58px minmax(0, 200px) minmax(0, 1fr) auto;
  align-items: center; gap: 18px;
  padding: clamp(26px, 3vw, 38px) 8px;
  text-decoration: none; color: inherit;
  transition: background-color .2s, padding-left .2s;
}
.svc-row__link:hover { background: var(--surface); padding-left: 20px; }
.svc-row__no { font-family: var(--font-num); font-weight: 600; font-size: clamp(32px, 4vw, 46px); line-height: 1; color: var(--line); transition: color .2s; }
.svc-row__link:hover .svc-row__no { color: var(--nas-lime); }
.svc-row__title { font-family: var(--font-head); font-weight: 700; font-size: var(--t-h3); line-height: 1.4; }
.svc-row__title small { display: block; font-family: var(--font-num); font-weight: 600; font-size: 11px; letter-spacing: .2em; color: var(--sub); margin-top: 4px; }
.svc-row__text { color: var(--sub); font-size: 14.5px; line-height: 1.9; }
.svc-row__arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; flex: 0 0 auto;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.svc-row__arrow svg { width: 15px; height: 15px; fill: var(--nas-green); transition: fill .2s; }
.svc-row__link:hover .svc-row__arrow { background: var(--nas-green); border-color: var(--nas-green); transform: translateX(4px); }
.svc-row__link:hover .svc-row__arrow svg { fill: #fff; }

/* サービス詳細ブロック */
.svc-block { padding: clamp(30px, 4vw, 52px) 0; border-top: 1px solid var(--line); }
.svc-block:first-of-type { border-top: 0; padding-top: 0; }
.svc-block__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.svc-block__no { font-family: var(--font-num); font-weight: 600; font-size: clamp(34px, 4vw, 48px); line-height: 1; color: var(--nas-lime); }
.svc-block__title { font-size: var(--t-h2); }
/* 英字ラベルは右端固定にせず、番号・見出しと同じかたまりに収める。 */
.svc-block__sub { font-family: var(--font-num); font-weight: 600; font-size: 12px; color: var(--sub); letter-spacing: .2em; }
.svc-block__cols { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.svc-block h3 {
  font-size: 15px; margin-bottom: 14px; color: var(--nas-green);
  display: flex; align-items: center; gap: 10px;
}
.svc-block h3::before { content: ""; width: 16px; height: 2px; background: var(--nas-green); flex: 0 0 auto; }
/* 本文で施工メニューなどの「名称」を行頭に置くときのラベル。
   strong は黄緑マーカーになるため、名称を並べる用途には使わない。 */
.term { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.svc-block__aside { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 3vw, 32px); }

/* 本文中に添える写真。素材は 1476px 幅なので、それ以上には拡大しない。 */
.svc-block__fig { margin-top: 26px; max-width: 100%; }
.svc-block__fig img { width: 100%; max-width: 640px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--line); }
.svc-block__fig figcaption { margin-top: 10px; font-size: 13px; color: var(--sub); line-height: 1.8; }

.check-list { list-style: none; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 14.5px; line-height: 1.85; }
.check-list li:last-child { margin-bottom: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: .72em; width: 10px; height: 5px;
  border-left: 2px solid var(--nas-green); border-bottom: 2px solid var(--nas-green);
  transform: rotate(-45deg);
}

/* ページ内の目次チップ */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 20px 10px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-family: var(--font-head); font-weight: 700; font-size: 13.5px;
  text-decoration: none; color: var(--ink);
  transition: border-color .18s, color .18s, background-color .18s;
}
.chip:hover { border-color: var(--nas-green); color: var(--nas-green); }
.chip__no { font-family: var(--font-num); font-weight: 600; font-size: 12px; color: var(--nas-green); letter-spacing: .08em; }

/* --------------------------------------------------------------------------
   8. 中古車バナー
   -------------------------------------------------------------------------- */
.lot-banner { position: relative; overflow: hidden; background: var(--green-deep); border-radius: 8px; }
.lot-banner__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  /* 価格表示が読み取れないよう強くぼかし、暗く落とす */
  filter: blur(4px) saturate(.8) brightness(.62); transform: scale(1.08);
}
/* 展示場の写真には車両の価格表示が写り込んでいるため、
   ぼかし（blur）で文字の形を潰したうえで、この濃いオーバーレイを重ねて読み取れなくする。
   数値を薄くすると価格が判読できるようになるので、値を下げないこと。 */
/* 背景写真は雰囲気づくりが目的で、横断幕の文字や車両の価格が読み取れる必要はない。
   幅が広いほど薄い側（右端）の面積が増えて写真の情報が見えてしまうため、
   全体を暗くしたうえで、写真が透ける右端ほど強く伏せる。 */
/* 写真はナンバー加工済みなので、以前ほど強く伏せる必要がない。
   文字が載る左側は読みやすさのため濃いまま、写真を見せたい右側は薄くする。 */
.lot-banner__veil { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(18, 40, 26, .90) 0%, rgba(18, 40, 26, .76) 48%, rgba(18, 40, 26, .52) 100%); }
.lot-banner__body { position: relative; padding: clamp(40px, 5.5vw, 76px) clamp(28px, 5vw, 72px); color: #fff; max-width: 660px; }
.lot-banner__title { font-size: var(--t-h2); margin-bottom: 16px; color: #fff; }
.lot-banner__text { color: rgba(255, 255, 255, .82); font-size: var(--t-lead); margin-bottom: 30px; }
.lot-banner__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 30px; }
.lot-banner__tags li {
  font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .04em;
  padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; color: rgba(255, 255, 255, .9);
}

/* --------------------------------------------------------------------------
   9. 選ばれる理由
   -------------------------------------------------------------------------- */
.reason-media { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.reason-media__fig { position: relative; }
/* 素材が 640x480 のため拡大しない */
.reason-media__img { width: 100%; max-width: 640px; margin-inline: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow-md); background: var(--line); }
.reason-media__fig::after {
  content: ""; position: absolute; inset: 20px -20px -20px 20px;
  border: 1px solid var(--nas-lime); border-radius: 6px; z-index: -1;
}

.reason-list { list-style: none; display: grid; }
.reason { display: grid; grid-template-columns: 62px 1fr; gap: 6px 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.reason:first-child { padding-top: 0; }
.reason:last-child { border-bottom: 0; padding-bottom: 0; }
.reason__no {
  grid-row: span 2; width: 62px; height: 62px; border-radius: 50%;
  border: 1px solid var(--nas-lime); display: grid; place-items: center;
  font-family: var(--font-num); font-weight: 600; font-size: 22px; color: var(--nas-green);
}
.reason__title { font-size: var(--t-h3); }
.reason__text { color: var(--sub); font-size: 14.5px; line-height: 1.95; }

/* --------------------------------------------------------------------------
   10. 店舗案内・営業時間
   -------------------------------------------------------------------------- */
.shop { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(32px, 5vw, 64px); align-items: start; }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 15px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.hours thead th { font-family: var(--font-head); font-weight: 700; font-size: 11px; color: var(--sub); letter-spacing: .12em; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.hours tbody th { font-family: var(--font-head); font-weight: 700; font-size: 14.5px; width: 8.5em; }
.hours td { font-family: var(--font-num); font-weight: 600; font-size: 17px; letter-spacing: .02em; }
.hours .is-off th, .hours .is-off td { color: #B4863F; }
.hours .is-today { background: rgba(199, 214, 75, .17); }
.hours .is-today th { position: relative; }
.hours .is-today th::before { content: ""; position: absolute; left: -12px; top: 0; bottom: 0; width: 3px; background: var(--nas-green); }
.hours__today {
  display: none; margin-left: 8px; padding: 1px 8px; border-radius: 999px;
  background: var(--nas-green); color: #fff; font-family: var(--font-num); font-weight: 600;
  font-size: 10px; letter-spacing: .1em; vertical-align: 2px;
}
.hours .is-today .hours__today { display: inline-block; }

.hours-note { margin-top: 16px; font-size: 13.5px; color: var(--sub); line-height: 1.9; }

.tel-block { margin-top: 28px; padding: clamp(22px, 3vw, 30px); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.tel-block--plain { margin-top: 0; }
.tel-block__label { font-family: var(--font-num); font-weight: 600; font-size: 11px; color: var(--sub); letter-spacing: .2em; margin-bottom: 2px; }
.tel-block__num {
  display: inline-block; font-family: var(--font-num); font-weight: 600;
  font-size: clamp(34px, 5vw, 46px); line-height: 1.15; color: var(--ink);
  text-decoration: none; letter-spacing: .015em;
}
.tel-block__num:hover { color: var(--nas-green); }
.tel-block__note { font-size: 13px; color: var(--sub); margin-top: 6px; line-height: 1.8; }
/* FAX 番号。電話と違って発信できないため、リンクにはせず文字として置く。 */
.tel-block__fax { font-size: 15px; color: var(--sub); margin-top: 8px; letter-spacing: .04em; }

.map-frame { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--line); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* 会社概要などの表 */
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.info-table th, .info-table td { text-align: left; padding: 18px 6px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.9; }
.info-table th { width: 9.5em; font-family: var(--font-head); font-weight: 700; color: var(--ink); white-space: nowrap; }
.info-table td { color: var(--sub); }
.info-table tr:first-child th, .info-table tr:first-child td { border-top: 1px solid var(--ink); }
/* 見出し（.sec-head__row の下罫）の直後に置かれた場合、罫が二重になって
   間に空の帯ができるため、表側の上罫は落とす（.news-list と同じ扱い）。 */
.sec-head + .info-table tr:first-child th,
.sec-head + .info-table tr:first-child td { border-top: 0; }

/* --------------------------------------------------------------------------
   11. CTA 帯
   -------------------------------------------------------------------------- */
.cta { position: relative; background: linear-gradient(152deg, var(--green-deep) 0%, #1E4526 58%, var(--nas-green) 165%); color: #fff; text-align: center; padding: clamp(56px, 7vw, 96px) 0; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--nas-lime), var(--nas-green) 55%, transparent); }
/* ヒーローと同じトーンの筆記体装飾 */
.cta::after {
  content: "NoNaKa,A,S";
  position: absolute; right: .18em; bottom: -.10em;
  font-family: var(--font-script);
  font-size: clamp(48px, 5.8vw, 88px);
  line-height: .9; letter-spacing: .005em;
  color: rgba(255, 255, 255, .07);
  white-space: nowrap; pointer-events: none; user-select: none;
}
/* 本文をロゴより前面に置く */
.cta > .wrap { position: relative; z-index: 1; }
.cta__title { font-size: var(--t-h2); margin-bottom: 14px; color: #fff; }
.cta__text { color: rgba(255, 255, 255, .82); font-size: var(--t-lead); margin-bottom: 32px; }
.cta__tel { display: inline-block; color: #fff; text-decoration: none; font-family: var(--font-num); font-weight: 600; font-size: clamp(38px, 6.5vw, 58px); line-height: 1.15; letter-spacing: .015em; }
.cta__tel:hover { color: var(--nas-lime); }
.cta__hours { font-family: var(--font-num); font-weight: 600; font-size: 13px; color: rgba(255, 255, 255, .68); letter-spacing: .04em; margin: 8px 0 30px; }

/* --------------------------------------------------------------------------
   12. スタッフ・採用・汎用ボックス
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-sm); }

.staff-card { padding: 34px 28px; text-align: center; }
.staff-card__photo { width: 118px; height: 118px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; background: var(--paper); border: 1px solid var(--line); }
.staff-card__ph {
  width: 118px; height: 118px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(142deg, #F2F5E9, #DCE0D4); display: grid; place-items: center;
  font-family: var(--font-num); font-weight: 600; font-size: 26px; color: var(--nas-green); letter-spacing: .06em;
}
.staff-card__role { font-family: var(--font-num); font-weight: 600; font-size: 11px; letter-spacing: .2em; color: var(--nas-green); }
.staff-card__name { font-size: var(--t-h3); margin: 6px 0 14px; }
.staff-card__word { color: var(--sub); font-size: 14.5px; text-align: left; line-height: 1.95; }

/* サイト内の他ブロック（.card / .svc-block__aside）と質感を揃える。
   破線だと仮置きの注記のように見えて浮くため、実線のカードにする。 */
.notice-box { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); box-shadow: var(--shadow-sm); padding: clamp(24px, 3vw, 32px); color: var(--sub); font-size: 14.5px; line-height: 1.95; }
.notice-box code { font-family: var(--font-num); font-size: 13px; background: var(--paper); padding: 2px 6px; border-radius: 3px; color: var(--ink); }

/* 手順（応募の流れなど） */
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; position: relative; padding: 26px 0 26px 74px; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 24px;
  font-family: var(--font-num); font-weight: 600; font-size: 26px; color: var(--nas-lime); line-height: 1;
}
.steps h3 { font-size: var(--t-h3); margin-bottom: 8px; }
.steps p { color: var(--sub); font-size: 14.5px; margin: 0; }

/* --------------------------------------------------------------------------
   12b. お問い合わせ（2択分岐・フォーム）
   -------------------------------------------------------------------------- */
/* 入口の選択カード */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
/* 電話・メール・LINE の3択 */
.split--3 { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.split__card {
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(28px, 3.2vw, 36px); border-radius: 6px;
  background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: border-color .18s, transform .14s, box-shadow .2s;
}
.split__card:hover { border-color: var(--nas-green); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.split__icon {
  width: 52px; height: 52px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line);
}
.split__icon svg { width: 22px; height: 22px; fill: var(--nas-green); }
.split__title { font-family: var(--font-head); font-weight: 700; font-size: var(--t-h3); }
.split__text { color: var(--sub); font-size: 14px; line-height: 1.9; }
/* 本文の補足（一回り小さく、先頭の「※」でぶら下げ）。フォーム送信ボタン上の注記も同じ見た目 */
.split__note,
.form-note { color: var(--sub); font-size: 12.5px; line-height: 1.8; padding-left: 1em; text-indent: -1em; }
.form-note { margin: 0; }
/* 矢印リンクはカードの下端にそろえる（本文の長さが違っても横一列に並ぶ） */
.split__cta { margin-top: auto; padding-top: 4px; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--nas-green); display: inline-flex; align-items: center; gap: 6px; }
.split__cta::after { content: "→"; transition: transform .16s; }
.split__card:hover .split__cta::after { transform: translateX(4px); }

/* フォーム */
.contact-form { display: grid; gap: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid--full { grid-template-columns: 1fr; }

.field { display: grid; gap: 8px; }
.field__label { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.field__required {
  font-family: var(--font-num); font-weight: 600; font-size: 10.5px; letter-spacing: .06em;
  color: #fff; background: #C0503C; padding: 2px 8px; border-radius: 999px;
}
.field__optional { font-family: var(--font-num); font-weight: 600; font-size: 10.5px; letter-spacing: .06em; color: var(--sub); }

.field__input,
.field__select,
.field__textarea {
  width: 100%; padding: 13px 14px; border-radius: 4px;
  border: 1px solid var(--line); background: var(--surface);
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  transition: border-color .16s, box-shadow .16s;
}
.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  border-color: var(--nas-green); box-shadow: 0 0 0 3px rgba(63, 125, 46, .16); outline: none;
}
.field__textarea { min-height: 160px; resize: vertical; line-height: 1.8; }
.field__select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sub) 50%), linear-gradient(135deg, var(--sub) 50%, transparent 50%); background-position: calc(100% - 22px) center, calc(100% - 17px) center; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 40px; }

.field--error .field__input,
.field--error .field__select,
.field--error .field__textarea { border-color: #C0503C; box-shadow: 0 0 0 3px rgba(192, 80, 60, .12); }
.field__error { display: none; color: #C0503C; font-size: 13px; }
.field--error .field__error { display: block; }

.field--checkbox { display: flex; align-items: flex-start; gap: 10px; }
.field--checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--nas-green); flex: 0 0 auto; }
.field--checkbox label { font-size: 14px; line-height: 1.8; }
.field--checkbox a { text-decoration-line: underline; }

/* honeypot: CSS で画面外に隠す。display:none や visibility:hidden は使わない
   （単純な bot はそれらだけ避ける場合があるため、位置をずらして隠す）。 */
.hp-field {
  position: absolute; left: -9999px; top: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}

.form-alert {
  padding: 16px 20px; border-radius: 4px;
  background: #FBEDEA; color: #9A3E2E; border: 1px solid #F0C7BC;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
}

/* フォーム冒頭の案内。注意書きだが警告ではないので、色は落ち着かせる。 */
.form-lead {
  border-left: 3px solid var(--nas-lime);
  background: var(--surface);
  padding: 16px 18px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 26px;
}
.form-lead p { font-size: 14px; line-height: 1.9; color: var(--sub); }

.form-notice {
  padding: 16px 20px; border-radius: 4px;
  background: var(--paper); color: var(--sub); border: 1px dashed var(--line);
  font-size: 14px; line-height: 1.8;
}

/* --------------------------------------------------------------------------
   13. 下層ページヘッダー
   -------------------------------------------------------------------------- */
.page-head { position: relative; background: linear-gradient(152deg, var(--green-deep) 0%, #1E4526 60%, var(--nas-green) 175%); color: #fff; padding: clamp(48px, 6vw, 82px) 0 clamp(44px, 5.5vw, 72px); overflow: hidden; }
/* 左上の筆記体装飾。右下の .page-head__en（SERVICE 等）と対になる。
   上へはみ出した分は .page-head の overflow: hidden で切り取られる。 */
.page-head::before {
  content: "NoNaKa,A,S";
  position: absolute; left: .04em; top: -.11em;
  font-family: var(--font-script);
  font-size: clamp(46px, 6.4vw, 96px);
  line-height: .9; letter-spacing: .005em;
  color: rgba(255, 255, 255, .07);
  white-space: nowrap; pointer-events: none; user-select: none;
}
/* 装飾より本文を前面に。.page-head__title / __lead は個別に position: relative
   を持つが、eyebrow は持たないためここで前面に出す。 */
.page-head .eyebrow { position: relative; z-index: 1; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--nas-lime), var(--nas-green) 60%, transparent); }
.page-head__en { position: absolute; right: -6px; bottom: -22px; font-family: var(--font-num); font-weight: 600; font-size: clamp(64px, 11vw, 150px); line-height: .8; color: rgba(255, 255, 255, .05); letter-spacing: .04em; pointer-events: none; white-space: nowrap; }
.page-head__title { font-size: var(--t-h1); color: #fff; position: relative; }
.page-head__lead { margin-top: 18px; color: rgba(255, 255, 255, .82); font-size: var(--t-lead); max-width: 56ch; position: relative; }

.breadcrumb { font-size: 12px; color: var(--sub); padding: 16px 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li::after { content: "／"; margin-left: 8px; color: var(--line); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--sub); text-decoration: none; }
.breadcrumb a:hover { color: var(--nas-green); text-decoration: underline; }

/* 本文 */
.prose { max-width: 68ch; }
.prose--wide { max-width: none; }
.prose h2 { font-size: var(--t-h3); margin: 44px 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 16px; margin: 28px 0 8px; color: var(--nas-green); }
.prose ul { margin: 0 0 1.4em; list-style: none; }
.prose li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .95em; width: 6px; height: 6px; border-radius: 50%; background: var(--nas-lime); }

/* --------------------------------------------------------------------------
   14. フッター
   -------------------------------------------------------------------------- */
.footer { background: var(--green-deep); color: rgba(255, 255, 255, .78); padding: clamp(52px, 6vw, 80px) 0 96px; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .13); }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
/* ロゴは濃い緑一色のため、暗いフッターの上ではそのままだと沈む。
   白一色に反転させて、楕円の枠と文字を白抜きで見せる。
   （白い下地を敷く方式は、暗い背景の中で白い箱が浮いて目立つため使わない）
   brightness(0) でいったん真っ黒に潰してから invert(1) で白へ反転するので、
   ロゴの色が変わってもこの1行のままで白抜きになる。 */
.footer__logo { display: block; height: 44px; width: auto; max-width: 100%; filter: brightness(0) invert(1); }
.footer__name { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: #fff; line-height: 1.3; }
.footer__name small { display: block; font-family: var(--font-num); font-weight: 600; font-size: 9.5px; letter-spacing: .18em; color: rgba(255, 255, 255, .5); margin-top: 3px; }
.footer__addr { font-size: 13.5px; line-height: 2; }
/* フッターの電話番号は、ヒーロー・店舗案内・CTA・固定バーと重複するため掲載しない。 */
.footer__heading { font-family: var(--font-num); font-weight: 600; font-size: 11px; color: rgba(255, 255, 255, .55); letter-spacing: .22em; margin-bottom: 16px; }
.footer__list { list-style: none; }
.footer__list li { margin-bottom: 11px; }
.footer__list a { color: rgba(255, 255, 255, .8); text-decoration: none; font-size: 13.5px; transition: color .15s; }
.footer__list a:hover { color: var(--nas-lime); }
.footer__bottom { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; font-size: 12px; }
.footer__copy { font-family: var(--font-num); font-weight: 600; letter-spacing: .08em; color: rgba(255, 255, 255, .45); }

/* --------------------------------------------------------------------------
   15. スマホ固定バー
   -------------------------------------------------------------------------- */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 22px -8px rgba(27, 43, 32, .28);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar__list { display: grid; grid-template-columns: 1.2fr 1fr 1fr; list-style: none; }
.mobile-bar__link {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 62px; text-decoration: none; color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: .02em;
  border-left: 1px solid var(--line);
}
.mobile-bar__list li:first-child .mobile-bar__link { border-left: 0; }
.mobile-bar__link svg { width: 19px; height: 19px; fill: var(--nas-green); }
.mobile-bar__link--tel { background: var(--nas-green); color: #fff; }
.mobile-bar__link--tel svg { fill: #fff; }

/* --------------------------------------------------------------------------
   16. スクロールフェード
   -------------------------------------------------------------------------- */
/* .reveal-on は main.js が IntersectionObserver を用意できたときだけ付ける。
   付かなければ要素は最初から見えたままになるので、JS が動かなくても本文は消えない。 */
.reveal-on .reveal { opacity: 0; transform: translateY(16px); }
.reveal-on .reveal.is-visible { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal-on .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   17. レスポンシブ
   -------------------------------------------------------------------------- */
/* ヘッダーは logo + nav(8項目) + 営業状態 + 電話 で幅を食う。
   狭くなるにつれて右側から順に落としていく。 */
@media (max-width: 1180px) {
  .nav__link { padding: 0 9px; }
  .header__tel { display: none; }
}

@media (max-width: 1080px) {
  .header__aside { display: none; }
}

@media (max-width: 1000px) {
  :root { --header-h: 64px; --gut: 20px; }

  .logo__img { height: 38px; }

  /* 画面外に退避しているドロワー（.nav）が横スクロールを生むのを防ぐ。
     clip はスクロールコンテナを作らないため sticky ヘッダーに影響しない。 */
  html { overflow-x: hidden; }
  @supports (overflow-x: clip) { html { overflow-x: clip; } }

  .burger { display: grid; }
  .header__aside { display: none; }

  /* ドロワーは画面全体（inset: 0）を覆う。
     以前は top をヘッダーの高さぶん下げていたが、iPhone ではアドレスバーの
     出入りで position: fixed の基準位置が一時的にずれ、上端に隙間ができて
     背後のページが見えてしまっていた。全面を覆えばこの隙間は原理的に生じない。
     ヘッダーのロゴとハンバーガーは、下の z-index 指定で前面に出している。 */
  .nav {
    position: fixed; inset: 0; margin: 0; z-index: 99;
    background: var(--surface);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateX(100%); transition: transform .26s ease;
  }
  /* アドレスバーの出入りでビューポート高さが変わる端末向けの保険。
     dvh は「現在の」表示領域の高さなので、バーが隠れて画面が広がった瞬間も
     下端まで覆える。対応していないブラウザでは inset: 0 のままで問題ない。 */
  @supports (min-height: 100dvh) {
    .nav { min-height: 100dvh; }
  }
  .nav.is-open { transform: none; }
  /* ヘッダーの高さぶんの白い帯。sticky なのでメニューを下までスクロールしても
     最上部に残り続け、ロゴの背後にメニュー項目が透けることがない。 */
  .nav::before {
    content: ""; display: block; position: sticky; top: 0; z-index: 2;
    height: var(--header-h); background: var(--surface);
    border-bottom: 1px solid var(--line);
  }
  /* ドロワーが画面全体を覆うため、ヘッダーの操作部はその前面へ。
     .header は z-index:100 で重ね合わせコンテキストを作るので、
     その内側で .nav（99）より大きい値を与えれば前面になる。 */
  .logo, .burger { position: relative; z-index: 100; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__link { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 12px; height: auto; padding: 16px 24px; }
  .nav__ja { font-size: 16px; }
  .nav__en { font-size: 10px; }
  .nav__link::after { left: 0; right: auto; top: 0; bottom: 0; width: 4px; height: auto; transform: scaleY(0); transform-origin: top; }
  .nav__link:hover::after { transform: scaleY(1); }
  .nav__link[aria-current="page"]::after { transform: scaleY(1); }

  .nav__foot { padding: 18px 24px 24px; background: var(--paper); display: grid; gap: 14px; }
  .nav__foot .status { justify-content: center; }
  .nav__tel { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px; background: var(--nas-green); color: #fff; border-radius: 6px; text-decoration: none; }
  .nav__tel span:first-child { font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: .12em; opacity: .85; }
  .nav__tel span:last-child { font-family: var(--font-num); font-weight: 600; font-size: 28px; letter-spacing: .02em; }

  /* iOS Safari / Chrome では body の overflow: hidden だけでは背面が
     スクロールしてしまう。position: fixed で固定し、JS 側で元のスクロール量を
     top に退避・復元する（main.js の lockScroll / unlockScroll）。 */
  body.is-nav-open {
    position: fixed; left: 0; right: 0; width: 100%; overflow: hidden;
  }
  .mobile-bar { display: block; }
  /* ドロワーを開いている間は固定バーを出さない。
     .nav は z-index:100 の .header の内側にあるため本来バー（z-index:90）より前面だが、
     ドロワーの下端とバーが同じ位置で重なること自体をなくす。 */
  body.is-nav-open .mobile-bar { display: none; }
  .footer { padding-bottom: 96px; }
}

@media (min-width: 1001px) {
  .nav__foot { display: none; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { padding: clamp(44px, 8vw, 64px) var(--gut); order: 1; }
  .hero__panel::after { font-size: clamp(42px, 11vw, 62px); }
  .hero__media { order: 2; --media-pad: 26px; padding: 26px var(--gut) 36px; margin-left: 0; justify-items: center; }
  .hero__media img { max-width: min(100%, 640px); }
  .hero__media::after { width: 64px; height: 64px; margin: 0 -12px -12px 0; }
  .hero__caption { margin: 0 0 12px 12px; }

  .factstrip__list { grid-template-columns: 1fr; }
  .factstrip__item { border-left: 0; border-top: 1px solid var(--line-soft); padding: 18px 4px; }
  .factstrip__item:first-child { border-top: 0; padding-left: 4px; }

  .shop, .reason-media, .svc-block__cols { grid-template-columns: 1fr; }
  .split, .form-grid { grid-template-columns: 1fr; }
  .reason-media__fig::after { display: none; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }

  /* 2分割は min-width: 901px の中だけで指定しているので、
     この幅では自動的に縦積みに戻り、01〜04 と同じ見た目になる。 */
  .svc-row__link { grid-template-columns: 56px 1fr auto; gap: 8px 18px; align-items: start; }
  .svc-row__no { font-size: 28px; padding-top: 4px; }
  .svc-row__text { grid-column: 2 / -1; }
  .svc-row__arrow { grid-row: 1; width: 40px; height: 40px; }
  .svc-row__link:hover { padding-left: 8px; }

  .news-item__inner { grid-template-columns: 1fr; gap: 4px; padding: 20px 4px; }
  .news-item__body, .news-item__period { grid-column: 1; }
  .news-item--closure .news-item__inner::before { left: -10px; top: 16px; bottom: 16px; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__top > :first-child { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   17-b. スマホ最適化（768px 未満）
   縦に細長い画面では、横に離して置いた情報どうしの視線移動が大きくなる。
   番号と見出し・曜日と時間はいずれも左揃えの縦積みに変え、
   セクションの上下余白も詰めて 1 画面あたりの情報量を上げる。
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  /* --- セクション余白を約3割詰める --- */
  :root { --s-sec: 45px; }
  .section--tight { padding: 34px 0; }
  .cta { padding: 40px 0; }
  .svc-block { padding: 21px 0; }
  .page-head { padding: 34px 0 31px; }
  /* 上の余白が 34px まで縮むので、装飾も小さくして eyebrow に掛からないようにする。 */
  .page-head::before { font-size: clamp(34px, 9vw, 52px); top: -.16em; }
  .sec-head { margin-bottom: 18px; }

  /* --- サービス詳細：番号・見出し・英字ラベルを左揃えで縦に積む --- */
  .svc-block__head { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 18px; }
  .svc-block__no { font-size: 26px; }

  /* --- サービス一覧：番号と見出しを左揃えで縦に積む --- */
  .svc-row__link {
    grid-template-columns: 1fr auto;
    gap: 2px 12px;
    align-items: start;
    padding: 15px 4px;
  }
  .svc-row__no { grid-column: 1; grid-row: 1; font-size: 22px; padding-top: 0; }
  .svc-row__title { grid-column: 1; grid-row: 2; }
  .svc-row__text { grid-column: 1; grid-row: 3; margin-top: 4px; line-height: 1.75; }
  .svc-row__arrow { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: 38px; height: 38px; }
  .svc-row__link:hover { padding-left: 4px; }

  /* --- 営業時間：表組みをやめ、曜日を見出しにした縦積みリストにする --- */
  .hours, .hours tbody, .hours tr, .hours tbody th, .hours td { display: block; width: auto; }
  .hours thead { display: none; }
  .hours tr { border-bottom: 1px solid var(--line); padding: 12px 8px; }
  .hours tr:first-child { border-top: 1px solid var(--ink); }
  .hours tbody th, .hours td { border: 0; padding: 0; }
  .hours tbody th {
    display: flex; align-items: center; gap: 8px;
    font-size: 12.5px; color: var(--sub); letter-spacing: .08em; margin-bottom: 4px;
  }
  .hours td { font-size: 16px; }
  .hours td + td { margin-top: 2px; }
  /* 縦積みでは行全体の背景で「本日」を示すため、左の縦棒は出さない */
  .hours .is-today th::before { display: none; }
  .hours__today { margin-left: 0; }
}

@media (max-width: 560px) {
  /* ヒーロー写真：スマホでは左右の余白をなくして画面幅いっぱいに広げ、
     看板の文字を少しでも大きく見せる。
     写真の外へはみ出す装飾のかぎ罫は、この幅では出さない。 */
  .hero__media { padding-left: 0; padding-right: 0; }
  .hero__media img { max-width: 100%; border-radius: 0; }
  .hero__media::after { display: none; }
  .hero__caption { margin: 0 0 12px 12px; }

  /* 横に並べる幅がないため、英字ラベルは日本語見出しの直下へ回す。 */
  .sec-head__row { flex-wrap: wrap; gap: 4px; }
  .sec-head__en { padding-bottom: 0; width: 100%; }
  .svc-block__sub { width: 100%; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .telcard { width: 100%; }
  .info-table th { width: 7em; font-size: 13.5px; }
  /* 営業時間表は 768px 未満で表組みをやめ縦積みにするため、
     ここでのセル幅・余白の調整は不要になった（17-b を参照）。 */
  .footer__top { grid-template-columns: 1fr; }
  .footer__top > :first-child { grid-column: auto; }
}

/* --------------------------------------------------------------------------
   18. 個別調整（旧 style 属性の置き換え）
   CSP（Content-Security-Policy）で HTML 内の style 属性を禁止できるよう、
   ページごとの細かな調整はここのクラスで行う。HTML に style 属性を書かないこと。
   メディアクエリより後ろに置き、元の style 属性と同じく各ルールより優先させる。
   -------------------------------------------------------------------------- */
.u-mt-n8 { margin-top: -8px; }
.u-mt-18 { margin-top: 18px; }
.u-mt-20 { margin-top: 20px; }
.u-mt-26 { margin-top: 26px; }
.u-mt-32 { margin-top: 32px; }
.u-mt-36 { margin-top: 36px; }
.u-mb-0 { margin-bottom: 0; }
.u-pb-8 { padding-bottom: 8px; }
.u-fs-20 { font-size: 20px; }
.u-fs-21 { font-size: 21px; }
/* 語の途中で改行させない（service.html の h1「アフターサービス」など）。
   収まらないときは、この語の前でまとめて改行される */
.u-ib { display: inline-block; }

/* privacy.html：制定日 */
.privacy-date { margin-top: 40px; color: var(--sub); font-size: 13.5px; }

/* thanks.html：送信完了 */
.thanks { text-align: center; }
.thanks__eyebrow { justify-content: center; color: var(--nas-green); }
.thanks__title { font-size: var(--t-h1); margin-bottom: 20px; }
.thanks__lead { color: var(--sub); font-size: var(--t-lead); max-width: 52ch; margin-inline: auto; }
.thanks__notice { margin-top: 36px; text-align: left; }

@media print {
  .header, .mobile-bar, .footer, .cta, .breadcrumb { display: none; }
  body { background: #fff; }
}
