/* ============================================================
   笑万書（えましょ）統合CSS
   ベース: handoff/design/design-comp-reference.css（デザイントークン）
   追記:  wa_modan_version/styles.css（最新コンポーネント・優先）
          wa_modan_version/hero-fv.css（FV専用）
          + SPハンバーガー（navbar-toggler）カスタマイズ
   名前空間が分かれているため上書き衝突は最小。同名は wa_modan 版が後勝ち。
   ============================================================ */

/* ---------- デザイントークン（:root 正本） ---------- */
:root {
  --ink: #1a1a1a;
  --sumi: #2d2d2d;
  --gold: #c8a96e;
  --paper: #faf7f0;
  --rose: #c8818e;
  --leaf: #7a9e7e;
  --blue: #6e8fa5;

  /* design-comp 由来の補助トークン */
  --rose-deep: #b87473;
  --line: #ded2bf;
  --paper-deep: #f5ede0;
  --white: #fffdf8;
  --shadow: 0 22px 48px rgba(80, 62, 42, 0.12);

  /* wa_modan 由来トークン（最新コンポーネントが参照） */
  --bg: #fbf8f2;
  --muted: #6f6a62;
  --navy: #263544;
  --cta-band: #ebe4d8;
  --gold-btn: #a8895b;
  --gold-btn-hover: #97784c;

  /* アクセント派生トークン（配色テーマ切替で連動。default値は従来の直書き色と同一＝無回帰）。
     テーマは head_link が <style id="cms-theme-vars"> で :root を上書きする。 */
  --accent-line: #b89b63; /* FVアウトラインボタンの文字/枠 */
  --accent-pale: #f9f5ee; /* FVアウトラインボタン hover 背景 */
  --accent-rgb: 200, 169, 110; /* --gold の rgb（focus ring 等の rgba 用） */
  --accent-btn-rgb: 168, 137, 91; /* --gold-btn の rgb（ボタン hover 淡色用） */

  /* フォントスタック（反復していた指定を変数化。値は既存文字列と同一） */
  --sans: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --serif: "Noto Serif JP", "Shippori Mincho", serif;
  --serif-body: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

/* ============================================================
   [BASE] design-comp-reference.css 由来
   ============================================================ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* キーボード操作時のフォーカスリング（マウス操作では表示しない）。
   個別に :focus-visible を持つ要素はそちらが優先される */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: none;
  border-radius: 4px;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.6);
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

/* design-comp の cb-* / rec-* / ve-* 名前空間セクション（モックアップ準拠）。
   wa_modan の LP では別クラスを使うが、CMSマーカー正本側で参照されるため保持 */

/* ===================================================
   Concept + Beginner セクション（cb-*）
   =================================================== */
.cb-section {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.cb-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
}

.cb-label {
  margin-bottom: 18px;
  color: var(--gold);
  font-family:
    "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.cb-lead {
  font-family:
    "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", serif;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.cb-lead span {
  display: block;
}

.cb-body {
  margin-top: clamp(24px, 3vw, 38px);
  display: grid;
  gap: 1.2em;
  max-width: 30em;
  color: var(--sumi);
  font-size: 15.5px;
  line-height: 2.05;
}

.cb-beginner__title {
  margin-bottom: clamp(28px, 3.4vw, 44px);
  text-align: center;
  color: var(--gold);
  font-family:
    "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: 0.16em;
}

.cb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.2vw, 30px);
}

.cb-card {
  padding: clamp(8px, 1.2vw, 16px) clamp(6px, 1vw, 14px);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 8px;
  align-items: center;
}

.cb-card__icon {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.cb-card__heading {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  font-family:
    "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", serif;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--ink);
}

.cb-card__text {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
  color: var(--sumi);
  font-size: 13px;
  line-height: 1.8;
}

.cb-sakura {
  position: absolute;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  opacity: 0.85;
}

.cb-sakura--tl {
  top: 2%;
  left: 1%;
  width: clamp(80px, 9vw, 150px);
  height: clamp(80px, 9vw, 150px);
  background: radial-gradient(
    circle at 30% 30%,
    rgba(201, 137, 133, 0.3),
    transparent 60%
  );
}

.cb-sakura--r {
  top: 0;
  right: 0;
  width: clamp(120px, 16vw, 280px);
  height: 100%;
  background:
    radial-gradient(
      circle at 80% 12%,
      rgba(201, 137, 133, 0.26),
      transparent 38%
    ),
    radial-gradient(
      circle at 95% 48%,
      rgba(201, 137, 133, 0.2),
      transparent 34%
    ),
    radial-gradient(
      circle at 70% 86%,
      rgba(201, 137, 133, 0.24),
      transparent 36%
    );
}

@media (max-width: 860px) {
  .cb-inner {
    grid-template-columns: 1fr;
    gap: clamp(40px, 8vw, 64px);
  }
  .cb-sakura--r {
    width: 40vw;
    opacity: 0.5;
  }
}

@media (max-width: 480px) {
  .cb-grid {
    grid-template-columns: 1fr;
  }
  .cb-lead span {
    display: inline;
  }
}

/* ===================================================
   Recommend「こんな方へ」（rec-*）
   =================================================== */
.rec-section {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 80px) clamp(20px, 5vw, 72px);
}

.rec-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.rec-title {
  margin-bottom: clamp(28px, 3.4vw, 48px);
  text-align: center;
  color: var(--ink);
  font-family:
    "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: 0.16em;
}

.rec-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px, 1.6vw, 22px);
}

.rec-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(20px, 2.2vw, 30px) clamp(8px, 1vw, 14px);
  background: rgba(255, 253, 248, 0.62);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
}

.rec-card__icon {
  display: block;
  width: clamp(72px, 5vw, 84px);
  height: clamp(72px, 5vw, 84px);
  margin-bottom: 14px;
  object-fit: contain;
}

.rec-card__text {
  color: var(--sumi);
  font-family:
    "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", serif;
  font-size: 14px;
  line-height: 1.85;
}

.rec-wash,
.rec-sakura {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

.rec-wash--tl {
  top: 0;
  left: 0;
  width: clamp(120px, 16vw, 240px);
  height: clamp(80px, 9vw, 140px);
  background: radial-gradient(
    ellipse at 20% 20%,
    rgba(157, 183, 202, 0.22),
    transparent 65%
  );
  opacity: 0.9;
}

.rec-sakura--tr {
  top: 0;
  right: 0;
  width: clamp(110px, 14vw, 220px);
  height: clamp(90px, 10vw, 160px);
  background:
    radial-gradient(
      circle at 78% 25%,
      rgba(201, 137, 133, 0.3),
      transparent 42%
    ),
    radial-gradient(
      circle at 92% 55%,
      rgba(201, 137, 133, 0.22),
      transparent 40%
    );
  opacity: 0.9;
}

@media (max-width: 860px) {
  .rec-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .rec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===================================================
   Voice + Exhibition（ve-*）
   =================================================== */
.ve-section {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 84px) clamp(20px, 5vw, 72px);
}

.ve-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.1fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: stretch;
  max-width: 1160px;
  margin: 0 auto;
}

.ve-copy {
  align-self: center;
}

.ve-label {
  margin-bottom: 18px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.ve-lead {
  font-family: var(--serif);
  font-size: clamp(24px, 2.7vw, 36px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.ve-lead span {
  display: block;
  white-space: nowrap;
}

.ve-frame {
  position: relative;
  padding: clamp(26px, 2.8vw, 38px) clamp(22px, 2.4vw, 34px);
  background: rgba(255, 253, 248, 0.66);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.ve-frame::before,
.ve-frame::after {
  position: absolute;
  width: 18px;
  height: 18px;
  content: "";
  pointer-events: none;
}

.ve-frame::before {
  top: 10px;
  left: 10px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.ve-frame::after {
  right: 10px;
  bottom: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.ve-frame__title {
  position: relative;
  margin-bottom: 18px;
  text-align: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.ve-frame__title::before,
.ve-frame__title::after {
  display: inline-block;
  width: 18px;
  height: 1px;
  margin: 0 10px;
  vertical-align: middle;
  background: var(--gold);
  opacity: 0.6;
  content: "";
}

.ve-voice {
  display: flex;
  flex-direction: column;
}

.ve-quote {
  margin: 0 0 16px;
  color: var(--sumi);
  font-size: 13.5px;
  font-style: italic;
  line-height: 2;
  text-align: left;
}

.ve-attr {
  margin-top: auto;
  text-align: right;
  color: var(--sumi);
  font-size: 12.5px;
}

.ve-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1vw, 16px);
}

.ve-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ve-stat__label {
  margin-bottom: 6px;
  color: var(--sumi);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

.ve-stat__value {
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
}

.ve-stat__value small {
  font-size: 12px;
  font-weight: 600;
}

.ve-note {
  margin-top: 18px;
  text-align: center;
  color: var(--sumi);
  font-size: 11px;
  opacity: 0.85;
}

.ve-deco {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-size: contain;
}

.ve-deco--sakura {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 46px;
  height: 46px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(201, 137, 133, 0.34),
    transparent 64%
  );
}

.ve-deco--rose {
  background: radial-gradient(
    circle at 50% 45%,
    rgba(201, 137, 133, 0.42),
    transparent 64%
  );
}

.ve-deco--leaf {
  background: radial-gradient(
    circle at 50% 45%,
    rgba(124, 144, 120, 0.42),
    transparent 64%
  );
}

.ve-deco--blue {
  background: radial-gradient(
    circle at 50% 45%,
    rgba(157, 183, 202, 0.46),
    transparent 64%
  );
}

@media (max-width: 860px) {
  .ve-inner {
    grid-template-columns: 1fr;
    gap: clamp(24px, 5vw, 36px);
  }
}

@media (max-width: 480px) {
  .ve-stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ============================================================
   [LATEST] wa_modan_version/styles.css 由来（LP本体の最新ビジュアル）
   同名クラスは wa_modan 版を優先するため、ここで後勝ちさせる
   ============================================================ */

/* ---------- リセット ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif-body);
  font-size: 16px;
  line-height: 1.7;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---------- コンテナ ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- ボタン ---------- */
.btn-primary {
  display: inline-block;
  background: var(--gold-btn);
  color: #fff;
  padding: 14px 36px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  text-align: center;
}
.btn-primary:hover {
  background: var(--gold-btn-hover);
  transform: translateY(-1px);
}
.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}
.btn-outline {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 13px 34px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  text-align: center;
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-center {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ---------- スクロールフェードインアップ ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- セクション見出し共通 ---------- */
.section-title {
  font-family: var(--serif-body);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.45;
  margin-bottom: 28px;
  color: var(--ink);
}
.section-title.center {
  text-align: center;
}
.section-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 12px;
}

.title-underline {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 40px;
}

/* ============================================================
   S01 ヘッダー
   ============================================================ */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}
.logo img {
  height: 56px;
  width: auto;
}

/* ナビ */
#nav-menu ul {
  display: flex;
  gap: 32px;
  align-items: center;
}
#nav-menu a {
  font-family: var(--sans);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  position: relative;
  transition: color 0.2s;
}
#nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}
#nav-menu a:hover {
  color: var(--gold);
}
#nav-menu a:hover::after {
  width: 100%;
}

/* ============================================================
   S00 お知らせ細帯（#401）
   ============================================================ */
.notice-bar {
  background: var(--accent-pale);
  border-bottom: 1px solid var(--accent-line);
}
.notice-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 0;
}
.notice-bar-body {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  min-width: 0;
}
.notice-bar-badge {
  flex: none;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: bold;
  color: #fff;
  background: var(--accent-line);
  border-radius: 3px;
  padding: 2px 8px;
}
.notice-bar-text {
  font-size: 0.88rem;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notice-bar-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}
.notice-bar-link {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--accent-line);
  border-bottom: 1px solid var(--accent-line);
  white-space: nowrap;
}
.notice-bar-link--students {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .notice-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 16px;
  }
  .notice-bar-text {
    white-space: normal;
  }
  .notice-bar-links {
    gap: 12px;
  }
}

/* ============================================================
   S02 ヒーロー（旧コラージュ。FVは hero-fv で上書き）
   ============================================================ */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 0;
  align-items: center;
  width: 100%;
}
.hero-copy {
  padding-right: 48px;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 28px;
  color: var(--ink);
}
.hero-copy p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 40px;
}
.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 52px 0;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-copy {
    padding-right: 0;
  }
  .hero-copy h1 {
    font-size: 2.2rem;
  }
  .hero-btns {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ============================================================
   S03 コンセプト
   ============================================================ */
.concept {
  background: #f5f0e6;
  padding: 80px 0;
}
.concept-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.concept-text .section-title {
  font-size: 2rem;
  line-height: 1.5;
}
.concept-text p {
  color: var(--muted);
  line-height: 1.95;
  font-size: 0.92rem;
}
.concept-img {
  /* 枠内調整のズーム(transform:scale)が枠からはみ出さないようクリップ */
  overflow: hidden;
  border-radius: 6px;
}
.concept-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
/* ===== gallery 型セクション（parts/section_types.php soycms_sectype_gallery）===== */
.cms-gallery {
  padding: 64px 0;
}
.cms-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.cms-gallery-item {
  margin: 0;
  overflow: hidden; /* ズームのはみ出しをクリップ */
  border-radius: 4px;
  background: var(--paper);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.cms-gallery-item img {
  /* 既定。インライン style（soycms_imgadjust）が object-fit/position/transform/aspect-ratio を上書き */
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .concept {
    padding: 52px 0;
  }
  .concept-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .concept-img {
    order: 2;
  }
  .concept-text {
    order: 1;
  }
}

/* ============================================================
   S04 3つのこだわり
   ============================================================ */
.features {
  background: var(--paper);
  padding: 80px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 40px 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.feature-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 24px;
  filter: sepia(0.5) saturate(1.5) hue-rotate(5deg);
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.5;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.85;
}

@media (max-width: 768px) {
  .features {
    padding: 52px 0;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .feature-card {
    padding: 32px 24px;
  }
}

/* ============================================================
   S05 作品ギャラリー
   ============================================================ */
.gallery {
  padding: 80px 0;
  background: var(--bg);
}
.gallery-title-wrap {
  text-align: center;
  margin-bottom: 40px;
}
.gallery-title-wrap .section-title {
  margin-bottom: 12px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.gallery-grid .gallery-item,
.gallery-grid figure {
  margin: 0;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: contain;
  background: var(--paper);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.gallery-grid figcaption {
  margin-top: 10px;
  text-align: center;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--ink);
  letter-spacing: 0.04em;
}
/* ギャラリーページ：リード文・戻るリンク */
.section-lead {
  max-width: 640px;
  margin: 12px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.9;
}
.gallery-backlink {
  display: inline-block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.gallery-backlink:hover {
  border-bottom-color: var(--muted);
}

@media (max-width: 768px) {
  .gallery {
    padding: 52px 0;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   S06 Instagram
   ============================================================ */
.instagram {
  background: var(--bg);
  padding: 80px 0;
}
.instagram-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}
.instagram-handle {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.ig-feed {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.ig-feed::-webkit-scrollbar {
  height: 4px;
}
.ig-feed::-webkit-scrollbar-track {
  background: var(--line);
  border-radius: 2px;
}
.ig-feed::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 2px;
}
.ig-card {
  width: 260px;
  min-width: 260px;
  flex: 0 0 260px;
  background: #fff;
  border: 1px solid #dbdbdb;
  border-radius: 4px;
  overflow: hidden;
}
.ig-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}
.ig-card-header img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: contain;
}
.ig-username {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink);
}
.ig-more {
  margin-left: auto;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 2px;
}
.ig-card-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
.ig-card-footer {
  padding: 10px 12px;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  gap: 14px;
  font-family: var(--sans);
}
.ig-icon {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
}

@media (max-width: 768px) {
  .instagram {
    padding: 52px 0;
  }
  .instagram-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .ig-card {
    width: 200px;
    min-width: 200px;
    flex: 0 0 200px;
  }
}

/* ============================================================
   S07 新着・案内カード
   ============================================================ */
.news {
  background: var(--paper);
  padding: 80px 0;
}
.news-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}
.news-cards {
  display: flex;
  flex-direction: column;
}
.news-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.news-card:first-child {
  padding-top: 0;
}
.news-card-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
  filter: sepia(0.5) saturate(1.5) hue-rotate(5deg);
}
.news-card-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.news-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.5;
}
.news-card-text {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.7;
}
.news-card-link {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}
.news-card-link:hover {
  opacity: 0.7;
}
.news-photo img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
  .news {
    padding: 52px 0;
  }
  .news-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .news-photo {
    order: 2;
  }
  .news-photo img {
    min-height: 200px;
  }
}

/* ============================================================
   S08 選ばれる理由
   ============================================================ */
.reasons {
  background: var(--paper);
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.reason-item {
  text-align: center;
  padding: 32px 16px;
  background: var(--bg);
  border-radius: 6px;
  border: 1px solid var(--line);
}
.reason-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 20px;
  filter: sepia(0.4) saturate(1.4) hue-rotate(5deg);
}
.reason-item h3 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
}
.reason-item p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 768px) {
  .reasons {
    padding: 52px 0;
  }
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .reasons-grid .reason-item:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
    width: 100%;
  }
}

/* ============================================================
   S09 講師紹介
   ============================================================ */
.teacher {
  background: var(--bg);
  padding: 80px 0;
}
.teacher-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.teacher-photo img {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.teacher-text .sub-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 10px;
}
.teacher-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.5;
}
.teacher-text p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 2;
  margin-bottom: 1.4em;
}
.teacher-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .teacher {
    padding: 52px 0;
  }
  .teacher-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .teacher-photo {
    order: 1;
    text-align: center;
  }
  .teacher-photo img {
    max-width: 260px;
    margin: 0 auto;
  }
  .teacher-text {
    order: 2;
  }
}

/* ============================================================
   S10 生徒さんの声
   ============================================================ */
.voices {
  background: var(--paper);
  padding: 80px 0;
}
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.voice-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.voice-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.voice-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.voice-name {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.voice-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
}
.voice-card blockquote {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.9;
  font-style: normal;
  border-left: 2px solid var(--gold);
  padding-left: 16px;
  margin: 0;
}

@media (max-width: 768px) {
  .voices {
    padding: 52px 0;
  }
  .voices-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---------- 教室の様子（#401 / 講師の語り） ---------- */
.classroom-note {
  max-width: 720px;
  margin-inline: auto;
}
.classroom-note-body {
  font-size: 1rem;
  line-height: 2;
}
.classroom-note-body p + p {
  margin-top: 1em;
}
.classroom-note-by {
  margin-top: 20px;
  text-align: right;
  font-family: var(--sans);
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ============================================================
   S11 FAQ
   ============================================================ */
.faq {
  background: var(--bg);
  padding: 80px 0;
}
.faq-list {
  margin-top: 40px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  transition: color 0.2s;
  gap: 16px;
}
.faq-q:hover {
  color: var(--gold);
}
.faq-q::after {
  content: "＋";
  color: var(--gold);
  font-size: 1.3em;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item.is-open .faq-q::after {
  content: "－";
  transform: rotate(0deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
}
.faq-item.is-open .faq-a {
  max-height: 200px;
}
.faq-a p {
  padding: 18px 0 24px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.85;
}

@media (max-width: 768px) {
  .faq {
    padding: 52px 0;
  }
  .faq-q {
    font-size: 0.88rem;
  }
}

/* ============================================================
   S12 ご案内
   ============================================================ */
.guide {
  background: var(--paper);
  padding: 80px 0;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.guide-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.guide-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.guide-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.guide-card-body {
  padding: 28px 24px;
}
.guide-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.guide-card-body p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
}
.guide-card-link {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}
.guide-card-link:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .guide {
    padding: 52px 0;
  }
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================================================
   S13 Final CTA
   ============================================================ */
.final-cta {
  background: var(--cta-band);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.final-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.final-cta-text h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 18px;
}
.final-cta-text p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 36px;
}
.final-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.btn-cta-primary {
  display: inline-block;
  background: var(--gold-btn);
  color: #fff;
  padding: 14px 36px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn-cta-primary:hover {
  background: var(--gold-btn-hover);
  transform: translateY(-1px);
}
.btn-cta-outline {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--gold-btn);
  color: var(--ink);
  padding: 13px 34px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.btn-cta-outline:hover {
  background: rgba(var(--accent-btn-rgb), 0.1);
  border-color: var(--gold-btn-hover);
}
.final-cta-visual {
  position: relative;
  height: 320px;
}
/* 画像は専用フレームで overflow:hidden（ズームはみ出しをクリップ）。装飾(decor)はフレーム外＝はみ出し維持 */
.final-cta-visual .cta-img-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 6px;
}
.final-cta-visual .cta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0.85;
}
.final-cta-visual .cta-decor {
  position: absolute;
  pointer-events: none;
}
.final-cta-visual .cta-brush {
  width: 64px;
  bottom: -16px;
  left: -24px;
  opacity: 0.5;
}
.final-cta-visual .cta-inkdish {
  width: 72px;
  top: -16px;
  right: -12px;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .final-cta {
    padding: 56px 0;
  }
  .final-cta-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .final-cta-btns {
    align-items: center;
  }
  .final-cta-visual {
    height: 200px;
  }
}

/* ============================================================
   S14 フッター
   ============================================================ */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
}
.footer-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo img {
  height: 40px;
  width: auto;
}
.footer-nav ul {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--gold);
}
.footer-ig a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.footer-ig a:hover {
  color: var(--gold);
}
.footer-ig img {
  width: 24px;
  height: 24px;
  filter: brightness(0);
  opacity: 0.6;
}
.footer-copy {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  width: 100%;
  text-align: center;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .section-title {
    font-size: 1.4rem;
  }
  .footer-inner {
    flex-direction: column;
    align-items: center;
  }
}

/* =========================================
   下層ページ共通
   ========================================= */
.page-hero {
  padding: 64px 0 48px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero-label {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 14px;
  font-family: "Noto Sans JP", sans-serif;
}
.page-hero-title {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: 0.06em;
}

.page-section {
  padding: 80px 0;
}
.page-section--bg {
  background: var(--bg);
}

/* ---------- 生徒専用ページ（#401） ---------- */
.student-notice-card {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px 28px;
  background: var(--paper);
}
.student-notice-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.student-notice-card div {
  color: var(--muted);
  line-height: 1.9;
}

#nav-menu a.is-current {
  color: var(--gold);
}
#nav-menu a.is-current::after {
  width: 100%;
  background: var(--gold);
}

/* =========================================
   講座ページ
   ========================================= */
.lesson-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.lesson-overview-text p {
  color: var(--muted);
  line-height: 2;
  margin-top: 16px;
}

.lesson-steps {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}
.lesson-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.lesson-step:first-child {
  border-top: 1px solid var(--line);
}
.step-num {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-family: "Noto Sans JP", sans-serif;
  padding-top: 4px;
}
.step-num strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 4px;
  color: var(--gold);
}
.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.step-text {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.lesson-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}
.lesson-table th,
.lesson-table td {
  padding: 16px 20px;
  border: 1px solid var(--line);
  font-size: 0.95rem;
  text-align: left;
  vertical-align: top;
}
.lesson-table th {
  background: var(--bg);
  font-weight: 700;
  width: 30%;
  color: var(--ink);
}
.lesson-table td {
  background: var(--paper);
  color: var(--muted);
}

.cta-band {
  background: var(--cta-band);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--ink);
  margin-bottom: 16px;
}
.cta-band p {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* =========================================
   ギャラリーページ
   ========================================= */
.gallery-figure {
  margin: 0;
}
.gallery-figure img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: contain;
  background: var(--paper);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  display: block;
}
.gallery-figure figcaption {
  font-family: "Noto Serif JP", serif;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  padding: 10px 0 4px;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ig-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 4px;
}

/* =========================================
   ニュース一覧
   ========================================= */
.news-list {
  list-style: none;
  padding: 0;
}
.news-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.news-item:first-child {
  border-top: 1px solid var(--line);
}
.news-item-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 8px;
}
.news-date {
  font-size: 0.85rem;
  color: var(--muted);
  font-family: "Noto Sans JP", sans-serif;
}
.news-category {
  font-size: 0.72rem;
  background: var(--line);
  padding: 3px 12px;
  border-radius: 2px;
  color: var(--ink);
}
.news-title {
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.6;
  display: block;
}
.news-title:hover {
  color: var(--gold);
  text-decoration: underline;
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
}
.page-current,
.page-link {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
}
.page-current {
  background: var(--gold-btn);
  color: #fff;
  border-color: var(--gold-btn);
}
.page-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* =========================================
   お知らせ詳細
   ========================================= */
.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.article-body {
  max-width: 720px;
  margin: 0 auto;
  line-height: 2;
}
.article-body p {
  margin-bottom: 1.6em;
  color: var(--muted);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: 48px;
}
.back-link:hover {
  text-decoration: underline;
}

/* =========================================
   お問い合わせ
   ========================================= */
.contact-lead {
  text-align: center;
  line-height: 2;
  color: var(--muted);
  margin-bottom: 56px;
  font-size: 0.95rem;
}
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 28px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 700;
}
.required {
  color: #c0392b;
  font-size: 0.75rem;
  margin-left: 8px;
  font-weight: 400;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.4);
}
.form-submit {
  text-align: center;
  margin-top: 40px;
}
.form-success {
  text-align: center;
  padding: 60px 20px;
}
.form-success p {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--ink);
}

@media (max-width: 768px) {
  .lesson-overview {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .ig-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .lesson-step {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .step-num {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .step-num strong {
    display: inline;
    font-size: 1.2rem;
    margin-top: 0;
  }
  .lesson-table th {
    width: 40%;
    font-size: 0.85rem;
  }
  .page-section {
    padding: 48px 0;
  }
}

/* ============================================================
   [FV] wa_modan_version/hero-fv.css 由来（FV専用 .hero-fv 名前空間）
   ============================================================ */
.hero-fv {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 48vw, 700px);
  width: 100%;
}

/* 凍結したFVコラージュ画像（PC: 全面背景） */
.hfv-frozen {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hfv-frozen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hfv-copy {
  position: absolute;
  left: 6.25%;
  top: 46%;
  transform: translateY(-50%);
  z-index: 20;
  width: 38%;
}

/* テキスト帯の可読性確保（左→右にフェードする淡い地色オーバーレイ） */
.hfv-copy::before {
  content: "";
  position: absolute;
  inset: -24px -32px;
  z-index: -1;
  background: radial-gradient(
    ellipse at left,
    rgba(253, 252, 248, 0.78) 0%,
    rgba(253, 252, 248, 0.35) 60%,
    transparent 100%
  );
}

.hfv-h1 {
  font-family: "Noto Serif JP", "YuMincho", "游明朝", serif;
  font-size: clamp(36px, 3.8vw, 58px);
  font-weight: 400;
  line-height: 1.65;
  color: #2f3437;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  margin-top: 0;
}

.hfv-body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 2;
  color: #6f6a62;
  margin-bottom: 36px;
}

.hfv-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  z-index: 20;
}

.hfv-btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 4px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition:
    background 0.2s,
    color 0.2s;
  cursor: pointer;
}

.hfv-btn-primary {
  background: var(--gold-btn);
  color: #fff;
  border: none;
  padding: 14px 28px;
}

.hfv-btn-primary:hover {
  background: var(--gold-btn-hover);
}

.hfv-btn-outline {
  background: #fff;
  color: var(--accent-line);
  border: 1px solid var(--accent-line);
  padding: 13px 28px;
}

.hfv-btn-outline:hover {
  background: var(--accent-pale);
}

@media (max-width: 768px) {
  .hero-fv {
    position: relative;
    min-height: auto;
    padding: 48px 24px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  /* SP: テキストを上・凍結画像を下に積む（重ねず可読性優先）。
     見出しの右にCTAを並べて縦長を短縮 */
  .hfv-copy {
    order: 1;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    z-index: 20;
    margin-bottom: 6px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "title cta"
      "body  body";
    column-gap: 12px;
    align-items: center;
  }

  .hfv-copy::before {
    display: none;
  }

  .hfv-frozen {
    order: 2;
    display: block;
    position: relative;
    inset: auto;
    /* フルブリードは左右(特に黒い「華」の色紙)を見切れさせるため完全に解除。
       コンテンツ幅(左右24px余白)に収め、コラージュ全体を余白付きで見せる。
       ※ #264(右60%クロップ)案より、オーナー承認済みの「全体表示」を採用。 */
    width: 100%;
    margin: 0;
  }

  .hfv-frozen img {
    /* 高さ自然・クロップなしでコラージュ全体を表示（cover の縦切れを無効化） */
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .hfv-h1 {
    grid-area: title;
    margin-bottom: 0;
    font-size: clamp(22px, 5.8vw, 34px);
    line-height: 1.5;
  }

  .hfv-body {
    grid-area: body;
    margin: 12px 0 0;
    font-size: 14px;
    /* SP は地色(--bg #fbf8f2)上にテキストが乗るため、本文色を濃いめにして
       WCAG AA を余裕をもって満たす（#6f6a62≈4.6:1 → --sumi≈12:1） */
    color: var(--sumi);
  }

  .hfv-btns {
    grid-area: cta;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }

  .hfv-btns .hfv-btn {
    font-size: 12px;
    padding: 9px 12px;
    white-space: nowrap;
    text-align: center;
    letter-spacing: 0.04em;
  }

  .hfv-btn-outline {
    margin-left: 0;
  }

  /* 極狭端末は従来の縦積みにフォールバック */
  @media (max-width: 359px) {
    .hfv-copy {
      display: block;
    }
    .hfv-btns {
      margin-top: 20px;
    }
  }
}

/* ============================================================
   [M5] SPハンバーガー（Bootstrap 5 navbar-toggler）カスタマイズ
   モバイルファースト：< 768px でトグル表示、ナビを collapse 展開
   ============================================================ */

/* Bootstrap collapse とサイト独自ナビの整合 */
#nav-menu.collapse:not(.show) {
  display: none;
}
#nav-menu.collapsing {
  transition: height 0.35s ease;
}

/* トグルボタンは PC で非表示（デスクトップはナビ常時表示） */
.navbar-toggler.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: none;
}
.navbar-toggler.hamburger:focus {
  outline: none;
}
.navbar-toggler.hamburger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.6);
}

/* 金色の3本線アイコン（Bootstrap デフォルトを上書き） */
.navbar-toggler.hamburger .navbar-toggler-icon {
  width: 22px;
  height: 16px;
  background-image: linear-gradient(var(--gold) 0 0);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 2px;
  position: relative;
}
.navbar-toggler.hamburger .navbar-toggler-icon::before,
.navbar-toggler.hamburger .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.3s ease;
}
.navbar-toggler.hamburger .navbar-toggler-icon::before {
  top: 0;
}
.navbar-toggler.hamburger .navbar-toggler-icon::after {
  bottom: 0;
}

@media (max-width: 767.98px) {
  .navbar-toggler.hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* PC用ナビは collapse で隠れる。SP展開時のドロップダウン体裁 */
  #nav-menu.navbar-collapse {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    z-index: 99;
  }
  #nav-menu.navbar-collapse ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    align-items: stretch;
  }
  #nav-menu.navbar-collapse li a {
    display: block;
    padding: 14px 24px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--line);
  }

  /* SP ではヘッダー右端の体験レッスンボタンを隠す（ナビ内に集約） */
  .header-inner > .btn-primary {
    display: none;
  }

  /* SP: ナビ内の体験レッスンCTAを目立つボタンとして表示 */
  #nav-menu.navbar-collapse li.nav-cta-item {
    padding: 12px 24px 4px;
    border-bottom: none;
  }
  #nav-menu.navbar-collapse li.nav-cta-item a.nav-cta {
    display: block;
    padding: 13px 24px;
    text-align: center;
    color: #fff;
    border-bottom: none;
  }
}

/* デスクトップではナビ内CTAは重複のため非表示（ヘッダー右端CTAを使用） */
@media (min-width: 768px) {
  #nav-menu li.nav-cta-item {
    display: none;
  }
}

/* ============================================================
   SCHEDULE 講座スケジュール・会場一覧（固定セクション / ヒアリング反映）
   ============================================================ */
.section--schedule {
  background: var(--paper-deep);
  padding: 80px 0;
}
@media (max-width: 768px) {
  .section--schedule {
    padding: 52px 0;
  }
}
.schedule-lead {
  text-align: center;
  color: var(--sumi);
  line-height: 1.9;
  margin: 0 auto 32px;
  font-size: 0.96rem;
}
.schedule-table-wrap {
  max-width: 860px;
  margin: 0 auto;
  overflow-x: auto;
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
}
.schedule-table thead th {
  background: var(--gold);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 14px 18px;
  text-align: left;
  letter-spacing: 0.04em;
}
.schedule-table tbody td {
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.7;
  vertical-align: top;
}
.schedule-table tbody tr:nth-child(even) {
  background: #fdfaf4;
}
.schedule-sub {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--muted);
}
.schedule-note {
  text-align: center;
  color: var(--sumi);
  line-height: 1.9;
  margin: 28px auto 8px;
  font-size: 0.92rem;
}
.schedule-note strong {
  color: var(--rose-deep);
}
.schedule-cta {
  max-width: 720px;
  margin: 56px auto 0;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.schedule-cta .section-title {
  margin-bottom: 20px;
}
.schedule-cta-text {
  color: var(--sumi);
  line-height: 1.95;
  font-size: 0.96rem;
  margin: 0 auto 8px;
}

@media (max-width: 768px) {
  /* SP: テーブルをカード化（data-label を見出しに） */
  .schedule-table,
  .schedule-table thead,
  .schedule-table tbody,
  .schedule-table tr,
  .schedule-table td {
    display: block;
    width: 100%;
  }
  .schedule-table thead {
    display: none;
  }
  .schedule-table tbody tr {
    margin-bottom: 16px;
    border: 1px solid var(--line);
    background: var(--paper);
  }
  .schedule-table tbody tr:nth-child(even) {
    background: var(--paper);
  }
  .schedule-table tbody td {
    border-top: none;
    border-bottom: 1px dashed var(--line);
    padding: 12px 16px 12px 110px;
    position: relative;
    min-height: 44px;
  }
  .schedule-table tbody td:last-child {
    border-bottom: none;
  }
  .schedule-table tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 16px;
    top: 12px;
    width: 84px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
  }
}

/* ============================================================
   デスクトップでは Bootstrap collapse を無効化しナビを常時インライン表示
   （参照デザイン準拠／#nav-menu.collapse:not(.show) の display:none を上書き）
   ============================================================ */
@media (min-width: 768px) {
  #nav-menu.collapse:not(.show) {
    display: block;
  }
  /* Bootstrap の .navbar-collapse は flex-grow:1/flex-basis:100% でナビが全幅に広がり
     ロゴと CTA ボタンを圧迫する。デスクトップでは内容幅に戻す */
  #nav-menu.navbar-collapse {
    flex: 0 1 auto;
  }
}
/* ヘッダーのロゴと CTA ボタンは折り返さない・縮まない */
.site-header .logo,
.site-header .btn-primary {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ============================================================
   講師詳細プロフィールページ（/profile）
   ============================================================ */
.profile-detail {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}
.profile-photo {
  margin: 0;
}
.profile-photo img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--line);
  display: block;
}
.profile-body .sub-label {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}
.profile-name {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.5;
}
.profile-text {
  color: var(--sumi);
  line-height: 2;
}
.profile-text p {
  margin-bottom: 1.4em;
}
.teacher-more {
  margin-top: 24px;
}

@media (max-width: 768px) {
  .profile-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .profile-photo img {
    max-width: 240px;
    margin: 0 auto;
  }
  .profile-name {
    font-size: 1.3rem;
  }
}

/* ============================================================
   スケジュールページ / Schedule Page
   ============================================================ */

.schedule-venue {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.schedule-venue:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.venue-content {
  margin-top: 0.75rem;
  line-height: 1.8;
}

.venue-content p {
  margin-bottom: 0.5rem;
}

.venue-map {
  margin-top: 1rem;
}

.venue-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 6px;
  display: block;
}

/* ============================================================
   セクション追加 背景色2色（eleve逆輸入・P6）
   追加セクションの背景トグルでのみ使用。bg未指定の既存セクションには付与されない＝無回帰。
   deep は .concept の実測値 #f5f0e6 に合わせる（--paper-deep #f5ede0 とは僅かに異なる近似トークン）。
   ============================================================ */
.sec-bg-paper {
  background: var(--paper);
}
.sec-bg-deep {
  background: #f5f0e6;
}
