/* R-Rconnection 醗酵料理教室 デモサイト */
:root {
  --base: #F8F5EF;
  --main: #B39373;
  --main-pale: #EFE6DB;
  --main-deep: #7A5F45;
  --accent: #5E7A96;
  --btn: #55708B;
  --btn-hover: #4A6279;
  --text: #3E352D;
  --white: #FFFFFF;

  --serif: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
  --sans: "Noto Sans JP", "Yu Gothic", "YuGothic", sans-serif;

  --radius: 6px;
  --section-space: 120px;
  --container: 1160px;
  --gutter: 40px;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--base);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
p { margin: 0; }
dl, dd { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-wrap: balance;
}
/* 対応ブラウザでは文節で折り返す（単語の途中で改行しない） */
@supports (word-break: auto-phrase) {
  h1, h2, h3, h4, p, dd, li, figcaption, legend, .class-tab-name, .class-tab-copy, .q-text, .radio-card-name { word-break: auto-phrase; }
}

/* 語のまとまりを保つ */
.nw { display: inline-block; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

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

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 36px;
  border: 0;
  border-radius: var(--radius);
  background: var(--btn);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease-out;
}
.btn:hover { background: var(--btn-hover); }
.btn .arrow { font-size: 14px; }
.btn-sm { min-height: 44px; padding: 10px 22px; font-size: 14px; }
.btn-line {
  background: transparent;
  color: var(--btn);
  box-shadow: inset 0 0 0 1px var(--btn);
}
.btn-line:hover { background: var(--main-pale); }

/* テキストリンクの下線（左から右へ200ms） */
.tlink {
  color: var(--btn);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  padding-bottom: 2px;
  transition: background-size 200ms ease-out;
}
.tlink:hover, .tlink:focus-visible { background-size: 100% 1px; }
.tlink-more { font-weight: 500; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--base);
  border-bottom: 1px solid transparent;
  transition: background-color 400ms ease-out, border-color 400ms ease-out;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: var(--header-h);
  transition: height 400ms ease-out;
}
.site-header.is-scrolled {
  background: rgba(248, 245, 239, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom-color: rgba(179, 147, 115, 0.5);
}
.site-header.is-scrolled .header-inner { height: 64px; }

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.3;
  margin-right: auto;
}
.logo-main {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.logo-sub {
  font-size: 11px;
  color: var(--main-deep);
  letter-spacing: 0.2em;
}
.gnav ul { display: flex; gap: 32px; }
.gnav a {
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  padding-block: 6px;
  background-image: linear-gradient(var(--main), var(--main));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 200ms ease-out;
}
.gnav a:hover, .gnav a[aria-current="page"] { background-size: 100% 1px; }

/* ---------- セクション共通 ---------- */
.section { padding-block: var(--section-space); }
.section + .section { border-top: 1px solid rgba(179, 147, 115, 0.45); }
.section.is-pale { background: var(--main-pale); }

.sec-head { margin-bottom: 56px; }
.sec-head.is-center { text-align: center; }
.sec-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 30px;
}
.sec-head.is-center .sec-title { justify-content: center; }
.sec-title::before {
  content: "";
  flex: 0 0 40px;
  height: 1px;
  background: var(--main);
}
.sec-head.is-center .sec-title::after {
  content: "";
  flex: 0 0 40px;
  height: 1px;
  background: var(--main);
}
.sec-lead {
  margin-top: 20px;
  max-width: 40em;
  color: var(--text);
}
.sec-head.is-center .sec-lead { margin-inline: auto; }

.eyebrow {
  font-size: 13px;
  color: var(--main-deep);
  letter-spacing: 0.16em;
}

.body-text { max-width: 40em; }
.body-text + .body-text { margin-top: 1em; }

.note {
  font-size: 13px;
  line-height: 1.8;
  color: var(--main-deep);
}
.ai-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--main-deep);
  letter-spacing: 0.04em;
}

.more-link { margin-top: 32px; }

/* 写真のホバーズーム（枠は固定、中だけ1.05倍・0.6秒） */
.zoom {
  overflow: hidden;
  border-radius: var(--radius);
}
.zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease-out;
}
.zoom:hover img { transform: scale(1.05); }

.photo {
  overflow: hidden;
  border-radius: var(--radius);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- ファーストビュー ---------- */
.fv {
  position: relative;
  padding: 40px 0 48px;
}
.fv-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.fv-eyebrow {
  font-size: 14px;
  color: var(--main-deep);
  letter-spacing: 0.16em;
}
.fv-title {
  margin-top: 16px;
  font-size: 38px;
  line-height: 1.6;
  letter-spacing: 0.08em;
}
.fv-sub { margin-top: 20px; }
.fv-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.fv-dm { font-size: 14px; }
.fv-area {
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--main-deep);
  line-height: 1.8;
}
.fv-area img { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.fv-photo {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
}
.fv-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 主役層：教室タブ ---------- */
.class-tabs-wrap {
  position: relative;
  margin-top: 32px;
}
.class-tabs-label {
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--main-deep);
  letter-spacing: 0.12em;
}
.class-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-right: 72px;
}
.class-tab {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 12px 16px;
  border: 1px solid rgba(179, 147, 115, 0.45);
  border-radius: var(--radius);
  background: var(--base);
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: border-color 200ms ease-out, background-color 200ms ease-out;
}
.class-tab:hover { border-color: var(--main); }
.class-tab[aria-selected="true"] {
  background: var(--white);
  border-color: var(--main);
}
.class-tab-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
}
.class-tab-photo img { width: 100%; height: 100%; object-fit: cover; }
.class-tab-name {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
}
.class-tab-copy {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--main-deep);
}
.class-tab-line {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}
.class-tab[aria-selected="true"] .class-tab-line { transform: scaleX(1); }

/* スクロール誘導矢印 */
.scroll-cue {
  position: absolute;
  right: 12px;
  bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--main-deep);
  text-decoration: none;
}
.scroll-cue svg {
  width: 20px;
  height: 36px;
  animation: cue 1600ms ease-in-out infinite;
}
.scroll-cue:hover svg { animation-play-state: paused; }
@keyframes cue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* 教室パネル */
.selector-section { padding-top: 64px; }
.class-panels { position: relative; }
.class-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  padding: 48px;
  background: var(--main-pale);
  border-radius: var(--radius);
}
.class-panel[hidden] { display: none; }
.class-panel-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
}
.class-panel-photo img { width: 100%; height: 100%; object-fit: cover; }
.class-panel-title { font-size: 26px; }
.class-panel-copy {
  margin-top: 4px;
  font-size: 14px;
  color: var(--main-deep);
}
.spec-list { margin-top: 24px; }
.spec-row {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 16px;
  padding-block: 14px;
  border-top: 1px solid rgba(179, 147, 115, 0.6);
}
.spec-row:last-child { border-bottom: 1px solid rgba(179, 147, 115, 0.6); }
.spec-row dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--main-deep);
  white-space: nowrap;
}
.spec-row dt img { width: 22px; height: 22px; }
.spec-row dd { font-size: 15px; }
.panel-foot {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

/* ---------- 教室の流れ ---------- */
.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.flow-item { display: flex; flex-direction: column; }
.flow-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 16px;
  border: 1px solid var(--main);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--main-deep);
}
.flow-photo { aspect-ratio: 4 / 3; }
.flow-name {
  margin-top: 16px;
  font-size: 18px;
  text-align: center;
}
.flow-desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- 2カラム（写真＋文章） ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.is-reverse > :first-child { order: 2; }
.split-photo { aspect-ratio: 4 / 3; }
.split-photo.is-portrait { aspect-ratio: 3 / 4; max-width: 420px; }
.split-title { font-size: 26px; }
.split-body { margin-top: 24px; max-width: 40em; }
.split-body p + p { margin-top: 1em; }

.recipe-steps {
  margin-top: 24px;
  counter-reset: rs;
}
.recipe-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding-block: 12px;
  border-top: 1px solid rgba(179, 147, 115, 0.5);
}
.recipe-steps li:last-child { border-bottom: 1px solid rgba(179, 147, 115, 0.5); }
.recipe-steps li::before {
  counter-increment: rs;
  content: counter(rs);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--main);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--main-deep);
  margin-top: 2px;
}

/* ---------- 講師 ---------- */
.instructor-name {
  font-size: 24px;
}
.instructor-name small {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--main-deep);
}

/* ---------- 開催エリア ---------- */
.area-section {
  position: relative;
  background: var(--main-pale) url("../images/section-bg-01.jpg") center / cover no-repeat;
}
.area-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 245, 239, 0.82);
}
.area-section > .container { position: relative; }
.area-map {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 24px;
  max-width: 900px;
  margin-inline: auto;
}
.area-point { text-align: center; }
.area-point img { width: 36px; height: 36px; margin: 0 auto 12px; }
.area-city {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.1em;
}
.area-pref { font-size: 13px; color: var(--main-deep); }
.area-term {
  margin-top: 8px;
  display: inline-block;
  padding: 2px 12px;
  border: 1px solid var(--main);
  border-radius: 4px;
  font-size: 13px;
  background: var(--base);
}
.area-line svg { width: 100%; height: 24px; overflow: visible; }
.area-line path {
  fill: none;
  stroke: var(--main);
  stroke-width: 1.5;
}
.area-line circle { fill: var(--main); }
.area-caption {
  margin-top: 40px;
  text-align: center;
}

/* ---------- 予約帯 ---------- */
.reserve-band {
  position: relative;
  background: var(--main-pale) url("../images/section-bg-02.jpg") center / cover no-repeat;
  text-align: center;
}
.reserve-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 245, 239, 0.8);
}
.reserve-band > .container { position: relative; }
.reserve-band-title { font-size: 28px; }
.reserve-band-text { margin-top: 16px; }
.reserve-band .btn { margin-top: 36px; }
.reserve-band-sub { margin-top: 24px; font-size: 14px; }

/* ---------- ページ見出し（下層） ---------- */
.page-head {
  position: relative;
  padding-block: 96px;
  background: var(--main-pale) url("../images/section-bg-01.jpg") center / cover no-repeat;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 245, 239, 0.78);
}
.page-head > .container { position: relative; }
.page-title { font-size: 36px; }
.page-lead { margin-top: 16px; }

/* ---------- 教室カード（classes） ---------- */
.card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}
.card-list > li { display: flex; min-width: 0; }
.card .spec-row dd { min-width: 0; word-break: normal; }
.card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(179, 147, 115, 0.45);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(62, 53, 45, 0.06);
  overflow: hidden;
}
.card-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 28px 32px;
}
.card-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 19px;
  line-height: 1.6;
}
.card-title img { width: 32px; height: 32px; flex: none; margin-top: 2px; }
.card-copy { margin-top: 4px; font-size: 13px; color: var(--main-deep); }
.card-text { margin-top: 16px; font-size: 15px; line-height: 1.85; }
.card .spec-list { margin-top: 20px; }
.card .spec-row { grid-template-columns: 96px 1fr; padding-block: 10px; }
.card .spec-row dt { font-size: 13px; }
.card .spec-row dd { font-size: 14px; }
.card-cta { margin-top: auto; padding-top: 28px; }
.card-cta .btn { width: 100%; }
.cards-note { margin-top: 24px; }

/* ---------- アコーディオン ---------- */
.faq-list {
  max-width: 860px;
  margin-inline: auto;
  border-top: 1px solid rgba(179, 147, 115, 0.6);
}
.faq-item { border-bottom: 1px solid rgba(179, 147, 115, 0.6); }
.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 24px 8px;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.06em;
  text-align: left;
  cursor: pointer;
}
.faq-q .q-mark {
  flex: none;
  color: var(--main-deep);
  font-size: 18px;
}
.faq-q .q-text { flex: 1; text-wrap: pretty; }
.faq-q .q-icon {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}
.faq-q .q-icon::before,
.faq-q .q-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 16px; height: 1px;
  background: var(--main-deep);
  transition: transform 200ms ease-out;
}
.faq-q .q-icon::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .q-icon::after { transform: rotate(0deg); }
.faq-a { overflow: hidden; }
.faq-a[hidden] { display: none; }
.faq-a-inner {
  display: flex;
  gap: 16px;
  padding: 0 8px 24px;
}
.faq-a-inner .a-mark {
  flex: none;
  font-family: var(--serif);
  color: var(--accent);
  font-size: 18px;
}
.faq-note { max-width: 860px; margin: 24px auto 0; }

/* ---------- 教室の様子 ---------- */
.scene-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.scene-photo { aspect-ratio: 4 / 3; }
.scene-caption { margin-top: 12px; font-size: 14px; }

/* ---------- 大切にしていること ---------- */
.value-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: v;
}
.value-item {
  padding: 36px 32px;
  background: var(--base);
  border: 1px solid rgba(179, 147, 115, 0.45);
  border-radius: var(--radius);
}
.value-item::before {
  counter-increment: v;
  content: "0" counter(v);
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--main);
  letter-spacing: 0.1em;
}
.value-title { margin-top: 12px; font-size: 18px; }

/* ---------- 予約ページ ---------- */
.steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 64px;
}
.step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--main-deep);
  white-space: nowrap;
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--main);
  border-radius: 50%;
  font-family: var(--serif);
  background: var(--base);
  transition: background-color 400ms ease-out, color 400ms ease-out, border-color 400ms ease-out;
}
.step.is-current { color: var(--text); font-weight: 500; }
.step.is-current .step-num,
.step.is-done .step-num {
  background: var(--btn);
  border-color: var(--btn);
  color: var(--white);
}
.step-sep {
  width: 64px;
  height: 1px;
  margin-inline: 16px;
  background: var(--main);
}

.reserve-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}
.form-block {
  margin: 0 0 56px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.form-block-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.form-block-title .num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--main-pale);
  font-size: 15px;
  color: var(--main-deep);
}
.form-block-title img { width: 24px; height: 24px; }

.class-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.radio-card { position: relative; display: block; cursor: pointer; }
.radio-card input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.radio-card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px 12px 16px;
  background: var(--white);
  border: 1px solid rgba(179, 147, 115, 0.5);
  border-radius: var(--radius);
  transition: border-color 200ms ease-out, box-shadow 200ms ease-out;
}
.radio-card-body img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.radio-card-name {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
}
.radio-card-fee {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  color: var(--main-deep);
}
.radio-card input:checked + .radio-card-body {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.radio-card input:focus-visible + .radio-card-body {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.radio-card-check {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--main);
}
.radio-card input:checked ~ .radio-card-check {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 5px var(--white);
}

.date-empty {
  padding: 24px;
  border: 1px dashed var(--main);
  border-radius: var(--radius);
  color: var(--main-deep);
  font-size: 14px;
}
.date-label {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--main-deep);
}
.date-options { display: grid; gap: 12px; }
.date-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid rgba(179, 147, 115, 0.5);
  border-radius: var(--radius);
  cursor: pointer;
}
.date-option input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.date-option:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.form-note { margin-top: 16px; }

.field { margin-bottom: 24px; }
.field label, .field .label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
}
.field .req, .field .opt {
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 400;
  vertical-align: 1px;
}
.field .req { background: var(--btn); color: var(--white); }
.field .opt { background: var(--main-pale); color: var(--main-deep); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid rgba(122, 95, 69, 0.45);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.field select { max-width: 240px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.form-submit { margin-top: 8px; }
.form-error {
  margin-top: 12px;
  font-size: 14px;
  color: #8A3B2E;
}

.dm-box {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 32px 28px;
  background: var(--main-pale);
  border-radius: var(--radius);
}
.dm-box img { width: 36px; height: 36px; }
.dm-title { margin-top: 12px; font-size: 18px; }
.dm-text { max-width: 40em; margin-top: 12px; font-size: 14px; line-height: 1.85; }
.dm-box .btn { margin-top: 24px; width: 100%; }

.complete {
  max-width: 640px;
  margin-inline: auto;
  padding: 64px 40px;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(179, 147, 115, 0.45);
  border-radius: var(--radius);
}
.complete[hidden] { display: none; }
.complete svg { width: 72px; height: 72px; margin: 0 auto 24px; }
.complete circle { fill: none; stroke: var(--main); stroke-width: 1.5; }
.complete .check-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.complete-title { font-size: 24px; }
.complete-text { margin-top: 16px; }
.complete .btn { margin-top: 32px; }

/* ---------- 404 ---------- */
.nf {
  padding-block: 160px;
  text-align: center;
}
.nf-title { font-size: 30px; }
.nf-text { margin-top: 20px; }
.nf-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
}

/* ---------- フッター ---------- */
.site-footer {
  padding: 80px 0 40px;
  background: var(--main-pale);
  border-top: 1px solid rgba(179, 147, 115, 0.6);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
.footer-area {
  margin-top: 20px;
  line-height: 1.9;
}
.footer-h {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--main-deep);
}
.footer-links li + li { margin-top: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.demo-note {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(179, 147, 115, 0.6);
  font-size: 12px;
  line-height: 1.9;
  color: var(--main-deep);
}
.demo-note { max-width: 44em; }
.copyright {
  margin-top: 16px;
  font-size: 12px;
  color: var(--main-deep);
}

/* ---------- メニューボタン（1024px以下で表示） ---------- */
.menu-btn {
  display: none;
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(179, 147, 115, 0.6);
  border-radius: var(--radius);
  background: var(--base);
  cursor: pointer;
}
.menu-btn span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 200ms ease-out, top 200ms ease-out;
}
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .fv-title { font-size: 34px; }
  .class-tab { grid-template-columns: 96px 1fr; }
  .gnav ul { gap: 20px; }
  .card-title { flex-direction: column; gap: 8px; }
}

/* タブレット・スマートフォン共通（1024px以下） */
@media (max-width: 1024px) {
  :root { --section-space: 88px; --header-h: 64px; }

  /* ヘッダー：メニューはボタンで開く */
  .header-inner { gap: 12px; }
  .site-header.is-scrolled .header-inner { height: 64px; }
  .menu-btn { display: block; }
  .gnav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--base);
    border-top: 1px solid rgba(179, 147, 115, 0.5);
    border-bottom: 1px solid rgba(179, 147, 115, 0.5);
    box-shadow: 0 12px 24px rgba(62, 53, 45, 0.08);
  }
  .site-header.is-menu-open .gnav { display: block; }
  .gnav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 16px;
  }
  .gnav li + li { border-top: 1px solid rgba(179, 147, 115, 0.35); }
  .gnav a {
    display: block;
    padding: 16px 4px;
    font-size: 16px;
    background-image: none;
  }
  .gnav a[aria-current="page"] { color: var(--main-deep); font-weight: 500; }

  .fv-grid, .split, .class-panel, .reserve-grid { grid-template-columns: 1fr; }
  .fv-grid { gap: 32px; }
  .split { gap: 32px; }
  .split.is-reverse > :first-child { order: 0; }
  .split-photo.is-portrait { max-width: 100%; aspect-ratio: 4 / 5; }
  .class-tabs { grid-template-columns: 1fr; gap: 12px; padding-right: 0; }
  .scroll-cue { display: none; }
  .class-panel { gap: 32px; }
  .flow-list { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .card-list, .scene-list, .value-list { grid-template-columns: 1fr; }
  .card-list { max-width: 560px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .dm-box { position: static; }
  .reserve-grid { gap: 16px; }
}

/* スマートフォン（767px以下） */
@media (max-width: 767px) {
  :root { --gutter: 20px; --section-space: 72px; }

  .logo-main { font-size: 18px; }
  .logo-sub { font-size: 10px; letter-spacing: 0.14em; }
  .btn { padding: 14px 24px; }
  .btn-sm { min-height: 44px; padding: 10px 14px; font-size: 13px; letter-spacing: 0.04em; }

  /* 見出し */
  .sec-head { margin-bottom: 40px; }
  .sec-title { font-size: 22px; gap: 12px; }
  .sec-title::before, .sec-head.is-center .sec-title::after { flex-basis: 24px; }
  .page-head { padding-block: 56px; }
  .page-title { font-size: 26px; }
  .split-title, .class-panel-title { font-size: 21px; }
  .instructor-name { font-size: 22px; }
  .reserve-band-title { font-size: 22px; }
  .nf { padding-block: 96px; }
  .nf-title { font-size: 22px; }

  /* ファーストビュー */
  .fv { padding: 24px 0 40px; }
  .fv-eyebrow { font-size: 13px; }
  .fv-title { margin-top: 12px; font-size: 27px; }
  .fv-sub { margin-top: 16px; font-size: 15px; line-height: 1.85; }
  .fv-cta { margin-top: 24px; }
  .fv-cta .btn { width: 100%; }
  .fv-dm { display: block; width: 100%; padding-block: 10px; text-align: center; }
  .fv-area { font-size: 12px; }

  /* 教室タブ（縦に並べる） */
  .class-tabs-wrap { margin-top: 28px; }
  .class-tab {
    grid-template-columns: 88px 1fr;
    gap: 14px;
    padding: 10px 12px 14px;
  }
  .class-tab-name { font-size: 15px; }
  .class-tab-copy { font-size: 12px; }

  /* 教室パネル */
  .selector-section { padding-top: 32px; }
  .class-panel { gap: 24px; padding: 20px 16px 28px; }
  .spec-list { margin-top: 20px; }
  .spec-row { grid-template-columns: 92px 1fr; gap: 12px; padding-block: 12px; }
  .spec-row dt { font-size: 13px; gap: 8px; align-items: flex-start; }
  .spec-row dt img { width: 20px; height: 20px; margin-top: 2px; }
  .spec-row dd { font-size: 14px; line-height: 1.8; }
  .panel-foot .btn { width: 100%; }

  /* 教室の流れ（2列） */
  .flow-list { gap: 28px 12px; }
  .flow-num { width: 30px; height: 30px; margin-bottom: 12px; font-size: 13px; }
  .flow-name { margin-top: 12px; font-size: 15px; }
  .flow-desc { font-size: 13px; }
  .ai-note { font-size: 11px; }

  /* 開催エリア（線は残して横並び） */
  .area-map { grid-template-columns: 1fr 48px 1fr; gap: 8px; }
  .area-point img { width: 28px; height: 28px; margin-bottom: 8px; }
  .area-city { font-size: 20px; }
  .area-term { padding: 2px 8px; font-size: 12px; }
  .area-caption { margin-top: 32px; font-size: 15px; }

  /* 予約帯 */
  .reserve-band .btn { margin-top: 28px; width: 100%; max-width: 360px; }

  /* カード */
  .card-body { padding: 24px 20px 28px; }
  .card-title { font-size: 18px; }

  /* よくある質問 */
  .faq-q { gap: 12px; padding: 20px 4px; font-size: 16px; }
  .faq-a-inner { gap: 12px; padding: 0 4px 20px; }

  /* 大切にしていること */
  .value-item { padding: 28px 24px; }

  /* 予約ページ */
  .steps { margin-bottom: 40px; align-items: flex-start; }
  .step {
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
    text-align: center;
    white-space: normal;
  }
  .step-sep { flex: 0 0 24px; width: 24px; margin: 16px 6px 0; }
  .form-block { margin-bottom: 44px; }
  .form-block-title { font-size: 19px; margin-bottom: 20px; }
  .class-options { grid-template-columns: 1fr; gap: 12px; }
  .radio-card-body {
    display: grid;
    grid-template-columns: 96px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
    padding: 10px 44px 10px 10px;
  }
  .radio-card-body img { grid-row: 1 / 3; }
  .radio-card-name { margin-top: 0; align-self: end; }
  .radio-card-fee { margin-top: 0; padding-top: 2px; align-self: start; }
  .radio-card-check { top: 50%; right: 14px; transform: translateY(-50%); }
  .date-option { padding: 14px 16px; }
  .field select { max-width: 100%; }
  .form-submit .btn { width: 100%; }
  .dm-box { padding: 28px 20px; }
  .complete { padding: 48px 20px; }

  /* 404 */
  .nf-actions .btn { width: 100%; max-width: 360px; }

  /* フッター */
  .site-footer { padding: 56px 0 32px; }
  .footer-links li + li { margin-top: 0; }
  .footer-links a { display: inline-block; padding-block: 8px; }
  .demo-note { margin-top: 40px; }
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .zoom:hover img { transform: none; }
}
