/* ============================================
   CAFE NIHONCHA TEMPLATE
   日本茶スタンド — 白磁の白×若竹の緑×焙じ茶の茶
   横組みで明るく軽く。余白を多めにとり、罫線と明朝で整える
============================================ */

:root {
  /* Color */
  --hakuji: #f7f6f1; /* 白磁の白（地） */
  --white: #fffefb;
  --mist: #eeede5; /* 少し沈んだ白（帯の地） */
  --ink: #2a2b25; /* 文字 */
  --ink-soft: #4b4c45;
  --muted: #74756c;
  --wakatake: #5c8a4c; /* 若竹の緑（文字・ボタン） */
  --wakatake-deep: #3f6a33;
  --wakatake-pale: #e3ebd8;
  --hojicha: #8b5a3a; /* 焙じ茶の茶 */
  --hojicha-pale: #f0e6db;
  --line: rgba(42, 43, 37, 0.14);
  --line-strong: rgba(42, 43, 37, 0.32);

  /* Font */
  --font-mincho: "Zen Old Mincho", serif;
  --font-gothic: "Zen Kaku Gothic New", sans-serif;

  --container: 1120px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 68px;
  --section-space: clamp(88px, 12vw, 160px);

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-gothic);
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--hakuji);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

:focus-visible {
  outline: 2px solid var(--wakatake);
  outline-offset: 3px;
}

section[id] {
  scroll-margin-top: var(--header-h);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.pc-only {
  display: none;
}

@media (min-width: 900px) {
  .pc-only {
    display: inline;
  }
}

/* ---------- 共通パーツ ---------- */
.section {
  padding: var(--section-space) 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--wakatake-deep);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.section__title {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.6;
  letter-spacing: 0.08em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  font-size: 14px;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
  border-radius: 2px;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.btn--green {
  background: var(--wakatake-deep);
  color: var(--white);
}

.btn--green:hover {
  background: var(--ink);
}

.btn--line {
  border-color: var(--line-strong);
}

.btn--line:hover {
  border-color: var(--wakatake-deep);
  color: var(--wakatake-deep);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 246, 241, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
}

.header__inner {
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--wakatake-deep);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  color: var(--ink);
}

.logo__sub {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.logo__main {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.3em;
}

.nav__list {
  display: flex;
  gap: 28px;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.nav__list a {
  position: relative;
  padding: 6px 0;
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--wakatake);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav__list a:hover::after {
  transform: scaleX(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__tel {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--wakatake-deep);
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  position: relative;
}

.nav-toggle__lines i {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out);
}

.nav-toggle__lines i:first-child {
  top: 20px;
}

.nav-toggle__lines i:last-child {
  top: 28px;
}

.nav-toggle[aria-expanded="true"] i:first-child {
  transform: translateY(4px) rotate(20deg);
}

.nav-toggle[aria-expanded="true"] i:last-child {
  transform: translateY(-4px) rotate(-20deg);
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
    z-index: 110;
  }

  /* 全面パネルがフェード＋少しだけ下りてくる */
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 32px;
    padding: 40px var(--gutter);
    background: var(--hakuji);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition:
      opacity 0.3s ease,
      transform 0.3s var(--ease-out),
      visibility 0.3s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    width: 100%;
    font-family: var(--font-mincho);
    font-size: 19px;
  }

  .nav__list li {
    border-bottom: 1px solid var(--line);
  }

  .nav__list a {
    display: block;
    padding: 16px 0;
  }

  .nav__list a::after {
    display: none;
  }

  .nav__tel {
    border-left: none;
    padding-left: 0;
    font-size: 16px;
  }
}

/* ---------- Hero（白い余白の中に小さな写真） ---------- */
.hero {
  padding: calc(var(--header-h) + clamp(56px, 10vw, 120px)) 0 clamp(72px, 10vw, 128px);
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: center;
}

.hero__inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
}

.hero__place {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.6;
  letter-spacing: 0.12em;
}

.hero__title span {
  display: block;
}

.hero__photo {
  width: min(56vw, 240px);
  margin: 44px 0 0 auto;
}

.hero__photo img {
  aspect-ratio: 9 / 11;
  object-fit: cover;
}

.hero__photo figcaption {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hero__lead {
  margin-top: 40px;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 34em;
}

.hero__info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.hero__info div {
  display: flex;
  gap: 10px;
}

.hero__info dt {
  color: var(--wakatake-deep);
}

@media (min-width: 900px) {
  /* 左に文字、右寄り中ほどに小さな写真。間はほとんど白 */
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) 260px;
    grid-template-rows: auto auto 1fr auto auto;
    column-gap: 12vw;
    align-items: start;
  }

  .hero__place,
  .hero__title,
  .hero__lead,
  .hero__info {
    grid-column: 1;
  }

  .hero__photo {
    grid-column: 2;
    grid-row: 1 / 6;
    width: 260px;
    margin: 72px 0 0;
  }

  .hero__lead {
    grid-row: 4;
    margin-top: 120px;
  }

  .hero__info {
    grid-row: 5;
  }
}

/* ヒーローの文字は順にそっと出る（JSが動いたときだけ） */
.js-nisen [data-hero] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.8s ease,
    transform 0.8s var(--ease-out);
}

.js-nisen.is-ready [data-hero] {
  opacity: 1;
  transform: none;
}

.js-nisen.is-ready [data-hero]:nth-child(2) {
  transition-delay: 0.1s;
}

.js-nisen.is-ready [data-hero]:nth-child(3) {
  transition-delay: 0.25s;
}

.js-nisen.is-ready [data-hero]:nth-child(n + 4) {
  transition-delay: 0.4s;
}

/* ---------- スクロールリビール ---------- */
.js-nisen [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s var(--ease-out);
}

.js-nisen [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- お知らせ ---------- */
.news {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 40px 0;
}

.news__inner {
  display: grid;
  gap: 16px;
}

.news__title {
  font-family: var(--font-mincho);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.news__list li {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.news__list li:last-child {
  border-bottom: none;
}

.news__list time {
  font-size: 13px;
  color: var(--hojicha);
  letter-spacing: 0.1em;
}

.news__list p {
  font-size: 14px;
}

@media (min-width: 768px) {
  .news__inner {
    grid-template-columns: 160px 1fr;
  }

  .news__title {
    padding-top: 14px;
  }

  .news__list li {
    grid-template-columns: 120px 1fr;
    gap: 24px;
  }
}

/* ---------- 二煎目まで ---------- */
.howto__head {
  max-width: 560px;
  margin-bottom: 56px;
}

.howto__intro {
  color: var(--ink-soft);
}

.steeps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.steep {
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--line);
}

.steep__no {
  font-family: var(--font-mincho);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--wakatake-deep);
}

/* 一煎目→三煎目で、緑から焙じ茶色へ少しずつ */
.steep:nth-child(2) .steep__no {
  color: #6f7a3e;
}

.steep:nth-child(3) .steep__no {
  color: var(--hojicha);
}

.steep__time {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 14px;
}

.steep__title {
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.steep p:last-child {
  font-size: 14px;
  color: var(--ink-soft);
}

.howto__photo {
  margin-top: 64px;
  width: min(100%, 720px);
  margin-left: auto;
}

.howto__photo img {
  aspect-ratio: 7 / 4;
  object-fit: cover;
}

.howto__photo figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

@media (min-width: 768px) {
  .steeps {
    grid-template-columns: repeat(3, 1fr);
  }

  .steep {
    padding: 32px 32px 36px 0;
    border-bottom: none;
  }

  .steep + .steep {
    padding-left: 32px;
    border-left: 1px solid var(--line);
  }
}

/* ---------- 湯温と時間（湯温計の表） ---------- */
.temp {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.temp__grid {
  display: grid;
  gap: 40px;
}

.temp__head p {
  color: var(--ink-soft);
}

.temp__scale {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted) !important;
}

.thermo {
  font-size: 14px;
}

.thermo thead th {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-align: left;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line-strong);
}

.thermo tbody th,
.thermo td {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.thermo tbody th {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 16px;
  text-align: left;
  padding-right: 12px;
  width: 30%;
}

.thermo tbody th small {
  display: block;
  font-family: var(--font-gothic);
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.thermo td:nth-child(3),
.thermo td:nth-child(4),
.thermo thead th:nth-child(3),
.thermo thead th:nth-child(4) {
  text-align: right;
  width: 52px;
  white-space: nowrap;
}

/* 湯温の横棒。40℃〜100℃の目盛りの上に、温度ぶんだけ色が伸びる */
.thermo__bar {
  --w: calc((var(--t) - 40) / 60 * 100%);
  display: flex;
  align-items: center;
  gap: 10px;
}

.thermo td.thermo__bar {
  display: table-cell;
}

.thermo__bar b {
  display: inline-block;
  min-width: 44px;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 16px;
  margin-top: 6px;
}

.thermo__fill {
  position: relative;
  display: block;
  height: 8px;
  border-radius: 4px;
  /* 10℃ごとの目盛り */
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 calc(100% / 6 - 1px),
      var(--line-strong) calc(100% / 6 - 1px) calc(100% / 6)
    ),
    var(--mist);
  overflow: hidden;
}

.thermo__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  /* 低い温度は若竹、高い温度は焙じ茶色 */
  background: linear-gradient(90deg, #8fb87a 0%, var(--wakatake) 35%, #a1824b 70%, var(--hojicha) 100%);
  clip-path: inset(0 calc(100% - var(--w)) 0 0 round 4px);
  transition: clip-path 1s var(--ease-out) 0.2s;
}

.js-nisen .thermo:not(.is-visible) .thermo__fill::after {
  clip-path: inset(0 100% 0 0 round 4px);
}

@media (min-width: 900px) {
  .temp__grid {
    grid-template-columns: 320px 1fr;
    gap: 80px;
    align-items: start;
  }
}

/* ---------- お品書き ---------- */
.menu__head {
  margin-bottom: 48px;
}

.menu__note {
  font-size: 14px;
  color: var(--muted);
}

.menu__grid {
  display: grid;
  gap: 56px;
}

.menu__cat {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-family: var(--font-mincho);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.16em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
}

.menu__cat span {
  font-family: var(--font-gothic);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--wakatake-deep);
}

.price-list {
  margin-bottom: 40px;
}

.price-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.price-list__name {
  flex: 1;
  font-size: 15px;
}

.price-list__name small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.price-list__price {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
}

.menu__photo {
  margin-bottom: 32px;
}

.menu__photo img {
  aspect-ratio: 9 / 7;
  object-fit: cover;
}

/* 季節の和菓子（品書きの札） */
.wagashi {
  margin-top: 8px;
  padding: 28px 28px 24px;
  background: var(--hojicha-pale);
  border-left: 3px solid var(--hojicha);
}

.wagashi__label {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--hojicha);
}

.wagashi__name {
  font-family: var(--font-mincho);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin: 6px 0 10px;
}

.wagashi__text {
  font-size: 14px;
  color: var(--ink-soft);
}

.wagashi__price {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
}

@media (min-width: 900px) {
  .menu__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 88px;
  }

  .menu__col--side {
    padding-top: 0;
  }
}

/* ---------- 産地 ---------- */
.origin {
  background: var(--mist);
}

.origin__head {
  margin-bottom: 40px;
}

.origin__list {
  border-top: 1px solid var(--line-strong);
}

.origin__item {
  display: grid;
  gap: 4px 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.origin__name {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 40px);
  letter-spacing: 0.16em;
  line-height: 1.3;
}

.origin__name span {
  font-family: var(--font-gothic);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-left: 10px;
}

.origin__kind {
  font-size: 14px;
  color: var(--wakatake-deep);
  font-weight: 500;
}

.origin__text {
  font-size: 14px;
  color: var(--ink-soft);
}

@media (min-width: 768px) {
  .origin__item {
    grid-template-columns: 220px 140px 1fr;
    align-items: baseline;
  }
}

/* ---------- 量り売り ---------- */
.leaf__grid {
  display: grid;
  gap: 48px;
}

.leaf__head p {
  color: var(--ink-soft);
}

.leaf__photo {
  margin-top: 32px;
  max-width: 320px;
}

.leaf__photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.leaf__photo figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.leaf-table {
  font-size: 15px;
}

.leaf-table thead th {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-align: left;
  padding: 0 8px 10px 0;
  border-bottom: 1px solid var(--line-strong);
}

.leaf-table tbody th,
.leaf-table td {
  padding: 15px 8px 15px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.leaf-table tbody th {
  font-family: var(--font-mincho);
  font-weight: 600;
}

.leaf-table td:nth-child(2) {
  font-size: 14px;
  color: var(--muted);
}

.leaf-table td:nth-child(n + 3),
.leaf-table thead th:nth-child(n + 3) {
  text-align: right;
  white-space: nowrap;
  padding-right: 0;
}

.leaf__note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-soft);
}

@media (max-width: 520px) {
  /* スマホでは産地を茶葉名の下に寄せて4列→3列に */
  .leaf-table thead th:nth-child(2) {
    display: none;
  }

  .leaf-table tbody tr {
    display: grid;
    grid-template-columns: 1fr auto auto;
    column-gap: 16px;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
  }

  .leaf-table thead tr {
    display: grid;
    grid-template-columns: 1fr auto auto;
    column-gap: 16px;
  }

  .leaf-table thead th:nth-child(3),
  .leaf-table thead th:nth-child(4) {
    width: 64px;
  }

  .leaf-table tbody th,
  .leaf-table td {
    border-bottom: none;
    padding: 0;
  }

  .leaf-table tbody th {
    grid-column: 1;
    grid-row: 1;
  }

  .leaf-table td:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    font-size: 13px;
  }

  .leaf-table td:nth-child(3),
  .leaf-table td:nth-child(4) {
    grid-row: 1 / 3;
    align-self: center;
    width: 64px;
  }
}

@media (min-width: 900px) {
  .leaf__grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 88px;
    align-items: start;
  }
}

/* ---------- 店のこと ---------- */
.about {
  padding-top: 0;
}

.about__grid {
  display: grid;
  gap: 40px;
}

.about__photo {
  max-width: 420px;
}

.about__photo img {
  aspect-ratio: 1;
  object-fit: cover;
}

.about__text p {
  color: var(--ink-soft);
  margin-bottom: 1em;
}

.about__sign {
  margin-top: 24px;
  font-family: var(--font-mincho);
  color: var(--ink) !important;
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 380px 1fr;
    gap: 96px;
    align-items: center;
  }
}

/* ---------- アクセス ---------- */
.access {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.access__grid {
  display: grid;
  gap: 48px;
}

.info-list div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.info-list dt {
  color: var(--wakatake-deep);
  font-weight: 500;
}

.info-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.access__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.access__map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  filter: saturate(0.6);
}

@media (min-width: 900px) {
  .access__grid {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
}

/* ---------- お問い合わせ ---------- */
.contact__grid {
  display: grid;
  gap: 40px;
}

.contact__head p {
  color: var(--ink-soft);
}

.form__row {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}

.form__row label {
  font-size: 14px;
  font-weight: 500;
}

.form__row label span {
  margin-left: 8px;
  font-size: 12px;
  color: var(--hojicha);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  font-size: 16px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--wakatake);
}

.form__submit {
  width: 100%;
  margin-top: 8px;
}

.form__done {
  margin-top: 16px;
  font-size: 14px;
  color: var(--wakatake-deep);
}

@media (min-width: 900px) {
  .contact__grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 88px;
  }

  .form__submit {
    width: auto;
    min-width: 220px;
  }
}

/* ---------- Footer ---------- */
.footer {
  padding: 48px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer__inner {
  display: grid;
  gap: 6px;
}

.footer__name {
  font-family: var(--font-mincho);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ink);
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js-nisen [data-hero],
  .js-nisen [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ヘッダー越しに下の文字が透けて見えないように */
.header { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* スマホで「LINE」だけが2行目に落ちないよう、3つのボタンを1行に並べる */
@media (max-width: 600px) {
  .access__links { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr; }
  .access__links .btn { padding-inline: 8px; justify-content: center; text-align: center; min-width: 0; }
}
