/* =========================================================
   テクストンLP「設計事務所研修」版
   本番用ピクセル分割画像(8枚)を分析してHTML/CSSで再構築。
   写真はすべて.phプレースホルダー。本番写真に差し替える際は
   .phのdivを<img>に置き換えてください。
========================================================= */

:root {
  --ink: #1a1a1a;
  --ink-soft: #333333;
  --muted: #6b6b6b;
  --line: #e3e3e3;
  --line-strong: #d8d8d8;
  --bg: #ffffff;
  --bg-soft: #f7f7f5;
  --navy: #16233f;
  --navy-soft: #445273;
  --ph-bg1: #ececea;
  --ph-bg2: #e1ded7;
  --ph-text: #9c988e;
  --radius: 2px;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 64px);
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  --font-script: "Caveat", "Noto Sans JP", cursive;
  --font-mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif; /* SECTION01見出し専用(元デザインが明朝体のため) */
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: var(--header-h); /* position:fixedのヘッダー分を確保 */
}
img { display: block; max-width: 100%; }

/* 固定ヘッダー分にアンカー先の見出しが隠れないよう、ヘッダー高さ+余白を確保 */
#top, #hero, #problem, #workshop, #voice, #flow, #texton, #faq, #faq-list, #contact {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .training-header *,
  .training-floating-cta,
  .training-floating-cta * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* キーボード操作時のみ可視化するフォーカスリング(マウスクリックでは表示しない) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

/* SECTION01〜06: 本番用デザイン画像(2048px幅)をそのまま全幅表示するセクション */
.sec-image { line-height: 0; }
.sec-image img { display: block; width: 100%; height: auto; }

/* SECTION01(hero)新版: ヘッダー分を除いた背景写真(縦ラベル・浮遊カード・
   サムネイル・署名・キャプションは画像に焼き込み済み)の上に、左側の白フェード
   帯(実測で幅約33〜47%、上のほうほど狭い)に収まる形でコピー一式(小見出し・
   ピル・見出し・サブコピー・説明文・バッジ3枚・補足・CTA)をabsolute配置の
   1コンテナにまとめて重ねる。 */
.sec-hero-new { position: relative; line-height: 0; }
.sec-hero-new__bg { display: block; width: 100%; height: auto; aspect-ratio: 1536/945; }

.sec-hero-new__copy {
  position: absolute;
  left: 4%;
  top: 7%;
  width: min(33%, 460px);
  line-height: normal;
  font-family: var(--font-mincho, var(--font-jp));
}
/* 誰向けのLPかを示す導入ラベル。旧SECTION02「設計事務所の研修・教育担当者へ」のラベル
   (黒地・白文字・太字)のデザインを移植。block + fit-content で直後のCPD表記とは別の行に置く */
.sec-hero-new__kicker {
  display: block;
  width: fit-content;
  background: #17181a;
  color: #fff;
  padding: clamp(7px, 0.8vw, 10px) clamp(14px, 1.5vw, 20px);
  font-family: var(--font-jp);
  font-size: clamp(13px, 1.25vw, 16px);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: clamp(12px, 1.6vw, 20px);
}
.sec-hero-new__kicker .dash { display: none; }
.sec-hero-new__pill {
  display: inline-block;
  border: 1px solid #ccc;
  background: rgba(255,255,255,0.72);
  padding: clamp(5px, 0.6vw, 8px) clamp(11px, 1.2vw, 16px);
  font-size: clamp(12.5px, 1.2vw, 15px);
  margin-bottom: clamp(12px, 1.6vw, 20px);
}
.sec-hero-new__heading {
  font-family: var(--font-mincho, var(--font-jp));
  font-weight: 700;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.35;
  margin-bottom: clamp(10px, 1.4vw, 16px);
}
.sec-hero-new__heading .nowrap { white-space: nowrap; }
/* <br>で固定せず、PC/SPとも文節単位でのみ改行させる(「学/ぶ。」のような分かれ方を防ぐ) */
.sec-hero-new__heading .hero-phrase { display: inline-block; }
/* FV見出しの強調語(「設計する」「つくる」): 文字の後ろ下に入る黄色のハイライト下線 */
.hero-copy__highlight {
  position: relative;
  display: inline-block;
  z-index: 0;
}
.hero-copy__highlight::after {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: 0.06em;
  height: 0.3em;
  background: rgba(229, 200, 75, 0.85);
  border-radius: 1px;
  z-index: -1;
}
.sec-hero-new__subcopy {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 500;
  margin-bottom: clamp(10px, 1.3vw, 14px);
}
.sec-hero-new__desc {
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 1.8;
  color: #333;
  margin-bottom: clamp(14px, 1.8vw, 22px);
}
.sec-hero-new__badges {
  display: flex;
  gap: clamp(10px, 1.2vw, 16px);
  margin-bottom: clamp(14px, 1.8vw, 22px);
}
.sec-hero-new__badges li {
  animation: sec-hero-badge-float 3.2s ease-in-out infinite;
}
.sec-hero-new__badges li:nth-child(2) { animation-delay: 0.3s; }
.sec-hero-new__badges li:nth-child(3) { animation-delay: 0.6s; }
@keyframes sec-hero-badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@media (prefers-reduced-motion: reduce) {
  .sec-hero-new__badges li { animation: none; }
}
.sec-hero-new__badges img {
  display: block;
  width: clamp(56px, 6vw, 90px);
  height: auto;
  transition: transform 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .sec-hero-new__badges img:hover { transform: scale(1.08); }
}
.sec-hero-new__note {
  font-size: clamp(12px, 1.05vw, 14px);
  line-height: 1.8;
  color: #555;
  margin-bottom: clamp(14px, 1.8vw, 22px);
}
.sec-hero-new__cta {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  background: #111;
  color: #fff;
  padding: clamp(11px, 1.4vw, 17px) clamp(18px, 2.1vw, 28px);
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 600;
}
/* SECTION02(課題提起)新版: 背景写真(手元写真・筆記体・縦ラベル・キャプションは
   画像に焼き込み済み)の上に、左上にコピー(小見出し・黒タグ・見出し・本文)、
   下部に3枚のカード画像を実測比率(section_02.jpg実測: カード行はy56〜85%、
   x6〜94%、3等分+ギャップ約3%)で重ねる。 */
.sec-card-new { position: relative; line-height: 0; }
.sec-card-new__bg { display: block; width: 100%; height: auto; aspect-ratio: 1536/1024; }

.sec-card-new__copy {
  position: absolute;
  left: 4%;
  top: 5.5%;
  width: min(38%, 560px);
  line-height: normal;
}
.sec-card-new__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en, var(--font-jp));
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: clamp(14px, 1.8vw, 22px);
}
.sec-card-new__eyebrow .dash { display: inline-block; width: 34px; height: 1px; background: #bbb; }
.sec-card-new__pill {
  display: inline-block;
  background: #17181a;
  color: #fff;
  padding: clamp(7px, 0.8vw, 10px) clamp(14px, 1.5vw, 20px);
  font-size: clamp(13px, 1.25vw, 16px);
  font-weight: 600;
  margin-bottom: clamp(16px, 2vw, 26px);
}
.sec-card-new__heading {
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1.3;
  margin-bottom: clamp(16px, 2vw, 24px);
}
.sec-card-new__desc {
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 1.9;
  color: #333;
}
.sec-card-new__cards {
  position: absolute;
  left: 6%;
  top: 56%;
  width: 88%;
  display: flex;
  align-items: flex-start;
  gap: 3%;
}
.sec-card-new__cards li { width: calc((100% - 6%) / 3); }
.sec-card-new__cards img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* SECTION03(workshop)用の位置調整: コピー幅はSECTION02と共通、見出しは3行分
   小さめに、「3つの価値」ラベル+カード行は右側の縦ラベル・キャプション(画像に
   焼き込み済み)を避けて幅を狭める。カードのアスペクト比がそれぞれ微妙に違う
   素材のため、高さを揃えるべくobject-fit:coverで統一(この上書きは.sec-card-new__cards
   のベース定義より後ろに置くこと=cascade順で負けないように)。 */
.sec-card-new__heading--sm { font-size: clamp(24px, 2.7vw, 40px); }
.sec-card-new__valuelabel { position: absolute; left: 4%; top: 65%; }
.sec-card-new__cards--workshop { top: 73%; width: 76%; }
.sec-card-new__cards--workshop li { aspect-ratio: 1.37; overflow: hidden; }
.sec-card-new__cards--workshop img { height: 100%; object-fit: cover; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { line-height: 1.4; font-weight: 700; }

.sec__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.sec { padding: clamp(56px, 8vw, 120px) 0; background: var(--bg); position: relative; }
.sec--soft { background: var(--bg-soft); }

/* ---------- placeholder photo blocks ---------- */
.ph {
  position: relative;
  width: 100%;
  height: 0;
  min-height: 0;
  background: repeating-linear-gradient(135deg, var(--ph-bg1), var(--ph-bg1) 12px, var(--ph-bg2) 12px, var(--ph-bg2) 24px);
  border: 1px solid var(--line);
  overflow: hidden;
}
.ph::before {
  content: attr(data-ph);
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 8px 10px;
  background: rgba(255,255,255,0.82);
  color: var(--ph-text);
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* ---------- shared text components ---------- */
.s-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 0.1em; font-weight: 700; color: var(--muted);
  margin-bottom: 18px;
}
.s-eyebrow__dash { display: inline-block; width: 26px; height: 1px; background: currentColor; opacity: 0.5; }
.s-tag {
  display: inline-block; background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 500; padding: 8px 16px; margin-bottom: 20px;
}
.s-title { font-size: clamp(28px, 3.4vw, 46px); margin-bottom: 20px; letter-spacing: 0.005em; }
.s-title--sm { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 14px; }
.s-desc { font-size: 15.5px; line-height: 1.9; color: var(--ink-soft); margin-bottom: 14px; max-width: 640px; }
.s-h3label {
  display: flex; align-items: center; gap: 12px;
  font-size: 20px; font-weight: 700; margin: 0 0 24px;
}
.s-h3label span.s-eyebrow__dash { width: 50px; }
.s-h3label--right { justify-content: flex-end; font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0.08em; }

.s-card__rule { display: block; width: 24px; height: 1px; background: var(--line-strong); margin: 12px 0; }

.s-vertlabel {
  font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted); line-height: 1.9;
  writing-mode: vertical-rl; text-orientation: mixed;
  justify-self: end; align-self: end;
}
.s-vertlabel--static { writing-mode: horizontal-tb; margin-top: 24px; }
.s-vertlabel--inline { writing-mode: vertical-rl; text-orientation: mixed; align-self: stretch; display: flex; align-items: center; justify-content: center; }

.s-closing {
  display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  font-size: 13px; color: var(--muted); margin-top: 32px;
}
.s-closing__rule { display: inline-block; width: clamp(50px, 8vw, 120px); height: 1px; background: var(--line-strong); }

.s-closingband {
  position: relative;
  display: grid; grid-template-columns: minmax(0,360px) 1fr auto;
  align-items: stretch; gap: clamp(24px,4vw,56px);
  margin: clamp(40px,6vw,72px) 0;
}
.s-closingband__photo { aspect-ratio: 4/3; height: auto; width: 100%; object-fit: cover; display: block; }
.s-closingband__copy { align-self: center; }
.s-closingband__copy h3 { font-size: clamp(20px, 2.2vw, 28px); margin-bottom: 12px; }
.s-closingband__copy p { font-size: 14.5px; line-height: 1.85; color: var(--ink-soft); max-width: 520px; }

/* ---------- header (training-header) -----------
   建築・設計・天然石・白基調・濃紺・細線・明朝系見出し・ミニマル・上品・
   エディトリアルというLP全体の世界観に合わせた、上品な固定ヘッダー。
   PC: ロゴ+ナビ+CTA。タブレット/モバイル: ロゴ+ハンバーガー。 */
.training-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid rgba(18, 36, 48, .08);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transition: background-color .3s ease, border-color .3s ease, height .3s ease;
}
.training-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: rgba(18, 36, 48, .12);
}
.training-header__inner {
  width: min(1320px, calc(100% - 64px));
  height: var(--header-h);
  margin-inline: auto;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}
.training-header__logo { display: flex; align-items: center; }
.training-header__logo img {
  display: block;
  width: auto;
  height: 42px;
  object-fit: contain;
}

.training-header__nav { display: flex; justify-content: center; align-items: center; }
.training-header__nav ul { display: flex; align-items: center; gap: clamp(20px, 2vw, 36px); list-style: none; }
.training-header__nav-link {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: #1e2a31;
  text-decoration: none;
  white-space: nowrap;
}
.training-header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .training-header__nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
}

.training-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  height: 50px;
  padding-inline: 24px;

  background: #102a3d;
  color: #fff;

  border: 1px solid #102a3d;
  border-radius: 3px;

  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;

  text-decoration: none;
  white-space: nowrap;

  transition: background-color .25s ease, transform .25s ease;
}
.training-header__cta-arrow { transition: transform .25s ease; }
@media (hover: hover) and (pointer: fine) {
  .training-header__cta:hover { background: #14364d; transform: translateY(-1px); }
  .training-header__cta:hover .training-header__cta-arrow { transform: translateX(2px); }
}

/* ハンバーガーボタン(PC非表示、タブレット/モバイルのみ表示) */
.training-header__menu-button {
  display: none;
  align-items: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 4px;
  background: none;
  border: none;
  color: #1e2a31;
  cursor: pointer;
}
.training-header__menu-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
}
.training-header__menu-lines { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.training-header__menu-lines span { display: block; width: 100%; height: 1px; background: currentColor; transition: transform .25s ease, opacity .25s ease; }
.training-header__menu-button[aria-expanded="true"] .training-header__menu-lines span:first-child { transform: translateY(3px) rotate(45deg); }
.training-header__menu-button[aria-expanded="true"] .training-header__menu-lines span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* モバイルメニュー(フルスクリーンパネル)
   背景は完全不透明の#fffにすること。rgba(255,255,255,.98)のような
   「ほぼ不透明」な値だと、position:fixed+transformで生成される
   コンポジットレイヤー上で背後のコンテンツが薄く透けて残る描画バグが
   一部環境(ヘッドレス/ソフトウェアレンダリング)で再現したため。 */
.training-header__mobile {
  position: fixed;
  inset: 0;
  z-index: 1100;

  background: #fff;

  padding: 24px 20px 40px;
  display: flex;
  flex-direction: column;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);

  transition: opacity .35s ease, transform .35s ease, visibility .35s;
}
.training-header__mobile.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.training-header__mobile-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(24px, 6vw, 40px); }
.training-header__mobile-logo img { display: block; height: 32px; width: auto; object-fit: contain; }
.training-header__mobile-close {
  min-width: 44px; min-height: 44px;
  background: none; border: none; cursor: pointer;
  font-size: 11px; font-weight: 600; letter-spacing: .12em; color: #1e2a31;
}
.training-header__mobile-nav { display: flex; flex-direction: column; flex: 1; }
.training-header__mobile-link {
  display: flex; align-items: baseline; gap: 14px;
  padding-block: 18px;
  border-bottom: 1px solid #e3e6e8;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-mincho);
  font-size: clamp(24px, 7vw, 30px);
  font-weight: 500;
}
.training-header__mobile-num { font-family: var(--font-jp); font-size: 11px; letter-spacing: .12em; color: #9ca3a7; }
.training-header__mobile-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 60px; margin-top: 28px;
  background: #102a3d; color: #fff; text-decoration: none;
  border-radius: 3px; font-size: 15px; font-weight: 500; letter-spacing: .04em;
}

.training-header__mobile-site-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 6px;
  margin-top: 18px;
  padding: 8px 4px;
  color: #59646a;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .training-header__mobile-site-link:hover { color: #102a3d; opacity: .75; }
}
.training-header__mobile-site-link:focus-visible {
  outline: 2px solid #168bd2;
  outline-offset: 3px;
}

@media (min-width: 1025px) {
  .training-header__nav-link:focus-visible,
  .training-header__cta:focus-visible { outline: 2px solid #168bd2; outline-offset: 3px; }
}
.training-header__menu-button:focus-visible,
.training-header__mobile-close:focus-visible,
.training-header__mobile-link:focus-visible,
.training-header__mobile-cta:focus-visible {
  outline: 2px solid #168bd2;
  outline-offset: 3px;
}

/* =========================================================
   Header — タブレット/モバイル: ナビ+CTAを隠しハンバーガーへ切替
========================================================= */
@media (max-width: 1024px) {
  .training-header__inner { grid-template-columns: auto 1fr auto; width: calc(100% - 40px); }
  .training-header__nav, .training-header__cta { display: none; }
  .training-header__menu-button { display: inline-flex; }
}

/* ---------- 右下固定CTA(training-floating-cta) ---------- */
.training-floating-cta {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 900;

  width: 290px;
  min-height: 82px;

  display: grid;
  grid-template-columns: 1fr 42px;
  align-items: center;

  padding: 14px 16px 14px 20px;

  background: rgba(16, 42, 61, .96);
  color: #fff;

  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 3px;

  box-shadow: 0 10px 32px rgba(16, 42, 61, .14);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  text-decoration: none;

  transition: transform .3s cubic-bezier(.22, 1, .36, 1), background-color .3s ease, box-shadow .3s ease, opacity .3s ease;
}
.training-floating-cta::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 2px;
  background: linear-gradient(to bottom, #0b83d5, #13a9e5);
}
.training-floating-cta__content { display: flex; flex-direction: column; gap: 6px; }
.training-floating-cta__label { font-size: 10px; letter-spacing: .18em; opacity: .62; }
.training-floating-cta__text { font-size: 14px; line-height: 1.55; font-weight: 500; letter-spacing: .035em; }
.training-floating-cta__text-short { display: none; }
.training-floating-cta__arrow {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .38);
  color: #fff;
  transition: background-color .25s ease, color .25s ease;
}
.training-floating-cta__arrow > * { transition: transform .25s ease; }
@media (hover: hover) and (pointer: fine) {
  .training-floating-cta:hover { transform: translateY(-3px); background: #14364d; box-shadow: 0 14px 38px rgba(16, 42, 61, .18); }
  .training-floating-cta:hover .training-floating-cta__arrow { background: #fff; color: #102a3d; }
}
.training-floating-cta.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
.training-floating-cta:focus-visible { outline: 2px solid #168bd2; outline-offset: 3px; }

@media (max-width: 767px) {
  .training-floating-cta {
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));

    width: auto;
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 18px;
    border-radius: 3px;
  }
  .training-floating-cta__label { display: none; }
  .training-floating-cta__text-full { display: none; }
  .training-floating-cta__text-short { display: inline; }
  .training-floating-cta__arrow { width: 32px; height: 32px; }
}

/* =====================================================================
   SECTION 01 — hero
   元デザイン section_01.jpg(横幅2048px基準)をPythonで実測し、
   px値をすべて vw = px / 2048 * 100 に変換した絶対配置キャンバスとして実装。
   2048px幅で元画像とドット単位に近い一致を狙う。2048px未満は比率を保って
   そのまま縮小される(このタスクではSP専用レイアウトは組まない)。
   ===================================================================== */
.hero { position: relative; background: #fff; overflow: hidden; }
/* ヘッダー実寸(105px)を元デザイン通りに直したため、hero側でのmargin-top補正は不要 */
.hero__canvas { position: relative; width: 100%; height: 61.768vw; }
.hero__canvas > * { position: absolute; margin: 0; z-index: 3; } /* テキスト類の既定z-index。写真/テクスチャ/フェードは個別に下げる */

.hero__eyebrow { left: 5.713vw; top: 3.027vw; display: flex; align-items: center; gap: 0.49vw; font-size: 1.514vw; line-height: 1.4; color: #333; white-space: nowrap; }
.hero__eyebrow .dash { display: inline-block; width: 1.074vw; height: 1px; background: #999; }

.hero__badge {
  left: 5.957vw; top: 5.518vw; width: 20.801vw; height: 3.32vw;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #cfcfcf; font-size: 1.367vw; font-weight: 500; white-space: nowrap;
}

.hero__heading { left: 6.348vw; top: 10.791vw; width: 44vw; font-family: var(--font-mincho, var(--font-jp)); font-size: 3.174vw; font-weight: 700; line-height: 4.541vw; white-space: nowrap; }
.hero__heading .line { display: block; }

.hero__subcopy { left: 6.592vw; top: 25.879vw; width: 40vw; font-size: 1.562vw; font-weight: 500; white-space: nowrap; }

.hero__desc { left: 6.592vw; top: 30.518vw; width: 44vw; font-size: 1.367vw; line-height: 2.441vw; color: #333; white-space: nowrap; }

.hero__features { left: 6.641vw; top: 34.277vw; width: 38vw; display: flex; gap: 1.562vw; }
.hero__feature {
  position: static; flex: 0 0 10.742vw; width: 10.742vw; height: 10.742vw;
  border: 1px solid #d8d8d8; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 0.6vw;
}
.hero__feature-icon { color: #1a1a1a; display: flex; width: 1.953vw; height: 1.953vw; }
.hero__feature-icon svg { width: 100%; height: 100%; }
.hero__feature-label { font-size: 1.025vw; font-weight: 700; line-height: 1.3; }

.hero__note { left: 6.25vw; top: 42.969vw; width: 30vw; font-size: 1.099vw; line-height: 1.66vw; color: #555; white-space: nowrap; }

.hero__cta {
  left: 5.127vw; top: 47.266vw; width: 34.814vw; height: 4.15vw;
  display: flex; align-items: center; gap: 0.6vw; padding: 0 1.5vw;
  background: #0e0e0e; color: #fff; font-size: 1.172vw; font-weight: 500; white-space: nowrap;
}
.hero__cta .arrow { margin-left: auto; transition: transform 0.2s ease; }
.hero__cta:hover .arrow { transform: translateX(4px); }

.hero__signature { left: 4.883vw; top: 53.32vw; font-family: var(--font-script); font-size: 2.441vw; line-height: 1.953vw; color: #9a9a9a; }

/* 左側の非常に薄い天然石・左官材テクスチャ。下部で斜めに広がる形状(clip-path)。 */
.hero__texture {
  left: 0; top: 0; width: 100%; height: 100%;
  background: url("../training-assets/textures/hero-texture.jpg") center/cover no-repeat;
  opacity: 0.5;
  clip-path: polygon(0% 40%, 46% 100%, 0% 100%);
  z-index: 0;
}

/* 右側メインビジュアル: 写真box自体は白グラデーションの開始X(34.18%)に合わせて左端を広げる。
   (写真boxの開始位置と、グラデーションで見え始める位置を混同しないよう、
   boxはグラデーション開始点と同じ34.18%から確保し、隙間なく写真がフェードの下に存在する状態にする) */
.hero__media { left: 34.18%; top: 0; width: 65.82%; height: 56.006vw; overflow: hidden; margin: 0; z-index: 1; }
.hero__media-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 38%;
}

/* 白グラデーションオーバーレイ(専用要素)。元画像を実測した4点を反映:
   完全な白が終わるX=700px(34.18%) → 約50%可視X=890px(43.457%) → ほぼ写真100%X=1080px(52.734%) */
.hero__media-fade {
  left: 0; top: 0; width: 100%; height: 56.006vw;
  background: linear-gradient(
    to right,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,1) 34.18%,
    rgba(255,255,255,.5) 43.457%,
    rgba(255,255,255,0) 52.734%
  );
  z-index: 2;
}

.hero__media-label {
  left: 89.355vw; top: 9.033vw; width: 9vw;
  display: flex; flex-direction: column; gap: 0.15vw;
  color: #fff; font-size: 0.684vw; line-height: 1.025vw; letter-spacing: 0.12em; text-align: right;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4); white-space: nowrap; z-index: 3;
}

/* 縦文字バッジ4つ: 1枚の長い白帯ではなく、独立した細い帯として個別に浮かせる */
.hero__media-badges {
  left: 78.662vw; top: 14.648vw; width: 17.578vw; height: 18.506vw;
  display: flex; flex-direction: row-reverse; align-items: flex-start; justify-content: flex-end; gap: 0.3vw;
  z-index: 3;
}
.hero__media-badges li {
  position: static; background: #fff; color: #1a1a1a; font-size: 0.586vw; font-weight: 700;
  padding: 0.68vw 0.34vw; writing-mode: vertical-rl; box-shadow: 0 2px 10px rgba(0,0,0,0.12); white-space: nowrap;
}

.hero__thumb { top: 41.504vw; height: 14.502vw; overflow: hidden; z-index: 3; }
.hero__thumb--1 { left: 54.688vw; width: 17.578vw; }
.hero__thumb--2 { left: 73.242vw; width: 17.09vw; }
.hero__thumb-img { width: 100%; height: 100%; object-fit: cover; }

.hero__caption {
  left: 72.754vw; top: 58.594vw; width: 25vw;
  display: flex; align-items: center; gap: 0.68vw; font-size: 1.001vw; color: #777; white-space: nowrap;
}
.hero__caption .rule { display: inline-block; width: 3vw; height: 1px; background: #ccc; }

/* =====================================================================
   SECTION 02 — problem
   ===================================================================== */
.sec02__grid {
  display: grid;
  grid-template-columns: minmax(0, 460px) 1fr;
  column-gap: clamp(32px, 5vw, 64px);
  grid-template-areas: "copy media" "cards cards" "vert closing";
  align-items: start;
}
.sec02__copy { grid-area: copy; align-self: center; }
.sec02__media { grid-area: media; position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; }
.sec02__media .ph { position: absolute; inset: 0; height: 100%; }
.sec02__script { position: absolute; right: 6%; top: 8%; font-family: var(--font-script); color: #fff; font-size: clamp(18px,1.8vw,26px); text-align: right; text-shadow: 0 2px 8px rgba(0,0,0,0.35); z-index: 2; }
.sec02__cards { grid-area: cards; display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,2vw,28px); margin-top: clamp(40px,5vw,64px); }
.s-card { border: 1px solid var(--line); padding: clamp(24px,2.6vw,32px) clamp(20px,2.2vw,28px); }
.s-card__icon { display: inline-flex; color: var(--ink); margin-bottom: 18px; }
.s-card__title { font-size: 17px; margin-bottom: 4px; }
.s-card__desc { font-size: 14px; line-height: 1.85; color: var(--ink-soft); }
.sec02__grid .s-vertlabel { grid-area: vert; margin-top: 24px; }
.sec02__grid .s-closing { grid-area: closing; margin-top: 24px; }

/* =====================================================================
   SECTION 03 — workshop
   ===================================================================== */
.sec03__grid {
  display: grid;
  grid-template-columns: minmax(0,460px) 1fr;
  column-gap: clamp(32px,5vw,64px);
  grid-template-areas: "copy gallery" "value value" "aside vert";
  align-items: start;
}
.sec03__copy { grid-area: copy; align-self: center; }
.sec03__gallery-single { grid-area: gallery; line-height: 0; }
.sec03__gallery-single img { display: block; width: 100%; height: auto; }
.sec03__value { grid-area: value; margin-top: clamp(48px,6vw,72px); }
.sec03__cards { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,2vw,26px); }
.sec03__cards li { aspect-ratio: 1.37; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.sec03__cards img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sec03__aside { grid-area: aside; font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin-top: clamp(40px,5vw,60px); }
.sec03__grid .s-vertlabel { grid-area: vert; margin-top: clamp(40px,5vw,60px); }

/* =====================================================================
   SECTION 04 — satisfaction / voice
   ===================================================================== */
/* 背景写真(Codexで生成、section_04.jpgを実測比率の参考に配置)の上に、
   コピー・パネル・カード類を重ねる。写真は上部バナー(sec-voice-new__top)と
   下部バナー(sec-voice-new__bottom)の2枚を使い、間の可変高さの本文エリア
   (sec-voice-new__mid)はSECTION04用のヒビ割れテクスチャを敷いた通常フロー。 */
.sec-voice-new { position: relative; background: #fff; }

.sec-voice-new__top { position: relative; line-height: 0; }
.sec-voice-new__top-bg { display: block; width: 100%; height: auto; aspect-ratio: 941/420; }
.sec-voice-new__copy {
  position: absolute; left: 4%; top: 9%; width: min(32%, 430px); line-height: normal;
}
.sec-voice-new__eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: clamp(11px, 1vw, 13px); font-weight: 600; letter-spacing: 0.08em; color: #888;
  margin-bottom: clamp(12px, 1.6vw, 18px);
}
.sec-voice-new__eyebrow .dash { display: inline-block; width: 30px; height: 1px; background: #bbb; }
.sec-voice-new__heading {
  font-weight: 800; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.35;
  margin-bottom: clamp(12px, 1.6vw, 18px);
}
.sec-voice-new__desc { font-size: clamp(12.5px, 1.15vw, 14.5px); line-height: 1.85; color: #333; }
.sec-voice-new__script {
  position: absolute; left: 40%; top: 2%;
  font-family: var(--font-script); font-size: clamp(16px, 1.6vw, 22px); color: var(--muted); line-height: 1.3;
}

.sec-voice-new__mid {
  position: relative;
  background: url("../training-assets/textures/section04-texture.jpg") 0 0 / 1600px auto repeat, var(--bg);
  padding: clamp(40px,5vw,64px) 0 0;
}
.sec04__panels {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px,2.6vw,32px);
  margin-top: clamp(-150px, -10vw, -70px);
  margin-bottom: clamp(48px,6vw,72px);
}
.s-panel { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); padding: clamp(24px,2.6vw,34px); }
/* 参加者満足度カードだけ大きく・アニメーションで強調(このカード専用の上書き、他カードには影響しない) */
.sec04__satisfaction { padding: clamp(30px,3.4vw,46px); }
.sec04__donut-row { display: flex; align-items: center; gap: clamp(24px,3.6vw,48px); margin: 28px 0 18px; }
.donut {
  --pct: 0;
  width: clamp(150px, 15vw, 220px); height: clamp(150px, 15vw, 220px); min-width: 150px;
  border-radius: 50%;
  background: conic-gradient(var(--navy) calc(var(--pct)*1%), var(--line) 0);
  display: flex; align-items: center; justify-content: center;
  transform: scale(1);
}
.donut__label { display: block; font-size: inherit; }
/* 満足度100%: 到達した瞬間に数字だけを一度だけ静かに拡大して戻す(transformのみ・レイアウトは動かない) */
/* 拡大した瞬間(PC 1.16倍 / SP 1.12倍)でも白い内円の中に収まる大きさ(以前は54pxで1024px幅では通常時から内円をはみ出していた) */
.donut span strong { display: block; transform-origin: center center; font-size: clamp(30px, 3.2vw, 46px); }
.donut span strong.is-peak {
  animation: satisfaction-pop .85s cubic-bezier(0.22, 1, 0.36, 1) both;
  letter-spacing: -.01em;
}
@keyframes satisfaction-pop {
  0% { transform: scale(1); }
  42% { transform: scale(var(--pop-scale, 1.16)); }
  65% { transform: scale(var(--pop-scale, 1.16)); }
  100% { transform: scale(1); }
}
@media (max-width: 767px) { .donut { --pop-scale: 1.12; } }
/* JSが動くときだけ: 「満足度」→ 数字 → 内訳 の順に出すための初期状態(HTML上の値は最終値のまま) */
html.has-js .donut__label,
html.has-js .donut span strong { transition: opacity .6s ease, translate .6s var(--rv-ease, ease); }
html.has-js .donut:not(.is-started) .donut__label { opacity: 0; translate: 0 8px; }
html.has-js .donut:not(.is-counting) span strong { opacity: 0; }
html.has-js .sec04__legend li { transition: opacity .7s ease, translate .7s var(--rv-ease, ease); }
html.has-js .sec04__legend li:nth-child(2) { transition-delay: .1s; }
html.has-js .sec04__satisfaction:not(.is-legend-in) .sec04__legend li { opacity: 0; translate: 0 8px; }
@media (prefers-reduced-motion: reduce) {
  .donut span strong.is-peak { animation: none; }
}
.donut span { width: 74%; height: 74%; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: clamp(12px,1.1vw,14px); color: var(--muted); text-align: center; line-height: 1.5; }
.donut span strong { color: var(--navy); font-weight: 800; line-height: 1.1; }
.sec04__legend { display: flex; flex-direction: column; gap: 14px; font-size: clamp(14px,1.3vw,16px); }
.sec04__legend strong { font-weight: 700; margin-left: 4px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; }
.dot--navy { background: var(--navy); }
.dot--gray { background: #ccc; }
.s-note { font-size: 12.5px; color: var(--muted); }
.sec04__quote { font-size: 17px; line-height: 1.85; position: relative; padding-left: 6px; }
.sec04__quote-mark { display: block; font-size: 40px; color: #d9d9d9; line-height: 1; font-family: Georgia, serif; }
.sec04__quote footer { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.sec04__voices { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(18px,2.4vw,30px); margin-bottom: clamp(48px,6vw,72px); }
.voice-card { border: 1px solid var(--line); }
.voice-card__photo { display: block; width: 100%; aspect-ratio: 4/3; height: auto; object-fit: cover; border: 0; border-bottom: 1px solid var(--line); }
.voice-card__quote { font-size: 14.5px; line-height: 1.8; padding: 18px 18px 4px; }
.voice-card__quote span { color: #ccc; font-size: 20px; font-family: Georgia, serif; margin-right: 2px; }
.voice-card__meta { font-size: 12.5px; color: var(--muted); padding: 0 18px 18px; }

.sec-voice-new__bottom { position: relative; line-height: 0; }
.sec-voice-new__bottom-bg { display: block; width: 100%; aspect-ratio: 2.3/1; height: auto; object-fit: cover; object-position: center bottom; }
.sec-voice-new__closing {
  position: absolute; left: 4%; top: 26%; width: min(30%, 420px); line-height: normal;
}
.sec-voice-new__closing h3 { font-size: clamp(18px, 2vw, 26px); margin-bottom: 12px; }
.sec-voice-new__closing p { font-size: 13.5px; line-height: 1.85; color: var(--ink-soft); }

/* =====================================================================
   SECTION 05 — workshop flow
   背景写真(Codexで生成、section_05.jpgを実測比率の参考に配置)の上に
   コピーを重ねる構成。SECTION04(.sec-voice-new)と同じ3バンド構成
   (上部バナー/可変高さの本文/下部バナー)を踏襲。
   ===================================================================== */
.sec-flow-new { position: relative; background: #fff; }

.sec-flow-new__top { position: relative; line-height: 0; }
.sec-flow-new__top-bg { display: block; width: 100%; height: auto; aspect-ratio: 941/370; }
.sec-flow-new__copy {
  position: absolute; left: 4%; top: 32%; width: min(44%, 640px); line-height: normal;
}
.sec-flow-new__heading {
  font-weight: 800; font-size: clamp(26px, 3vw, 42px); line-height: 1.3;
  margin-bottom: clamp(10px, 1.3vw, 16px);
}
.sec-flow-new__desc { font-size: clamp(12.5px, 1.15vw, 14.5px); line-height: 1.8; color: #333; }

.sec-flow-new__mid {
  background: url("../training-assets/textures/section04-texture.jpg") 0 0 / 1600px auto repeat, var(--bg);
  padding: clamp(40px,5vw,64px) 0 0;
}

.sec-flow-new__bottom { position: relative; line-height: 0; }
.sec-flow-new__bottom-bg { display: block; width: 100%; height: auto; aspect-ratio: 941/240; }
.sec-flow-new__closing {
  position: absolute; left: 50%; top: 50%; transform: translateY(-50%); width: min(38%, 440px); line-height: normal;
}
.sec-flow-new__closing h3 { font-size: clamp(16px, 1.7vw, 22px); margin-bottom: 8px; }
.sec-flow-new__closing p { font-size: 12.5px; line-height: 1.7; color: var(--ink-soft); }
.sec-flow-new__vertlabel {
  position: absolute; right: 2%; top: 50%; transform: translateY(-50%);
  font-size: 9.5px; letter-spacing: 0.1em; line-height: 1.8; color: var(--muted);
  border-left: 1px solid var(--line-strong); padding-left: 10px; text-align: left;
}

.step-row, .schedule-row {
  display: grid; grid-template-columns: repeat(5,1fr); gap: clamp(14px,1.6vw,22px);
  margin-bottom: clamp(48px,6vw,72px); position: relative;
}
.schedule-row { grid-template-columns: repeat(4,1fr); margin-bottom: clamp(24px,3vw,36px); }
.step-item__photo, .schedule-item__photo { display: block; width: 100%; aspect-ratio: 1/1; height: auto; object-fit: cover; margin-bottom: 16px; }
.step-item__tag { font-size: 11px; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.step-item__tag span { display: block; font-size: 22px; color: var(--ink); font-weight: 700; letter-spacing: 0; }
.step-item__title { font-size: 16px; margin-bottom: 2px; }
.step-item__desc { font-size: 13px; line-height: 1.75; color: var(--ink-soft); }
.schedule-item__num { font-size: 12px; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.schedule-item__title-en { font-family: var(--font-jp); font-size: 15px; letter-spacing: 0.05em; margin-bottom: 4px; }
.schedule-item__title-ja { font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.schedule-item__desc { font-size: 13px; line-height: 1.75; color: var(--ink-soft); }
.step-arrow { position: relative; }
.step-arrow::before {
  content: "›"; position: absolute; left: clamp(-14px,-1.4vw,-10px); top: 40px;
  font-size: 22px; color: #ccc; font-weight: 700;
}

/* =====================================================================
   SECTION 06 — texton & works
   背景写真(Codexで生成、section_06.webpを実測比率の参考に配置)の上に
   コピーを重ねる構成。SECTION04/05(.sec-voice-new/.sec-flow-new)と同じ
   3バンド構成(上部バナー/可変高さの本文/下部バナー)を踏襲。
   ===================================================================== */
.sec-texton-new { position: relative; background: #fff; }

.sec-texton-new__top { position: relative; line-height: 0; }
.sec-texton-new__top-bg { display: block; width: 100%; height: auto; aspect-ratio: 1055/420; }
.sec-texton-new__copy {
  position: absolute; left: 4%; top: 14%; width: min(40%, 540px); line-height: normal;
}
.sec-texton-new__eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: clamp(11px, 1vw, 13px); font-weight: 600; letter-spacing: 0.08em; color: #888;
  margin-bottom: clamp(10px, 1.4vw, 16px);
}
.sec-texton-new__eyebrow .dash { display: inline-block; width: 30px; height: 1px; background: #bbb; }
.sec-texton-new__heading {
  font-weight: 800; font-size: clamp(24px, 2.8vw, 40px); line-height: 1.35;
  margin-bottom: clamp(10px, 1.4vw, 16px);
}
.sec-texton-new__desc { font-size: clamp(12.5px, 1.1vw, 14.5px); line-height: 1.8; color: #333; }
.sec-texton-new__script {
  position: absolute; right: 6%; top: 8%;
  font-family: var(--font-script); font-size: clamp(16px, 1.6vw, 22px); color: var(--muted); line-height: 1.3; text-align: right;
}

.sec-texton-new__mid {
  background: url("../training-assets/textures/section04-texture.jpg") 0 0 / 1600px auto repeat, var(--bg);
  padding: clamp(40px,5vw,64px) 0;
}

.sec-texton-new__bottom { position: relative; line-height: 0; }
.sec-texton-new__bottom-bg { display: block; width: 100%; height: auto; aspect-ratio: 1055/191; }
.sec-texton-new__closing {
  position: absolute; left: 50%; top: 50%; transform: translateY(-50%); width: min(38%, 440px); line-height: normal;
}
.sec-texton-new__closing h3 { font-size: clamp(16px, 1.7vw, 22px); margin-bottom: 8px; }
.sec-texton-new__closing p { font-size: 12.5px; line-height: 1.7; color: var(--ink-soft); }
.sec-texton-new__vertlabel {
  position: absolute; right: 2%; top: 50%; transform: translateY(-50%);
  font-size: 9.5px; letter-spacing: 0.1em; line-height: 1.8; color: var(--muted);
  border-left: 1px solid var(--line-strong); padding-left: 10px; text-align: left;
}

.sec06__variation { background: var(--bg-soft); padding: clamp(40px,5vw,64px) var(--gutter); max-width: none; display: grid; grid-template-columns: minmax(0,460px) 1fr; column-gap: clamp(32px,5vw,64px); align-items: center; margin-bottom: clamp(48px,6vw,72px); }
.sec06__swatches { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(16px,2vw,24px); }
.sec06__swatch { display: block; width: 100%; aspect-ratio: 1/1; height: auto; object-fit: cover; margin-bottom: 10px; }
.sec06__swatches p { font-size: 13.5px; color: var(--ink-soft); }

.sec06__gallery-head { display: grid; grid-template-columns: 1fr auto; column-gap: clamp(20px,3vw,40px); margin-bottom: clamp(28px,3.5vw,40px); align-items: baseline; }
.sec06__gallery-head .s-title--sm { grid-column: 1/2; }
.sec06__gallery-head .s-h3label--right { grid-column: 2/3; grid-row: 1; }
.sec06__gallery-head .s-desc { grid-column: 1/3; margin-top: 8px; }

.works-gallery { display: grid; grid-template-columns: repeat(4,1fr); grid-template-rows: auto auto; gap: 10px; margin-bottom: clamp(48px,6vw,72px); }
.works-gallery--4 { grid-template-columns: repeat(3,1fr); }
.works-gallery__mainwrap, .works-gallery__thumbwrap { position: relative; }
.works-gallery--4 .works-gallery__mainwrap { grid-column: 1/4; }
.works-gallery__main { display: block; width: 100%; aspect-ratio: 16/6; height: auto; object-fit: cover; }
.works-gallery__thumb { display: block; width: 100%; aspect-ratio: 1/1; height: auto; object-fit: cover; }
.works-gallery__tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  background: rgba(23,20,15,0.82); color: #fff; font-size: 12px; padding: 6px 12px;
}

/* =====================================================================
   SECTION 07 — outline & faq
   Codex生成の背景素材(研修写真+石素材写真+英字装飾を含む1枚の縦長画像)を
   ヒーロー上部・クロージング下部それぞれのアンビエント背景として使用し、
   中央の開催概要カード・CPD/実績・FAQは白ベースのまま維持する
   (SECTION08の.section08__bgと同じ考え方)。SECTION07専用に.section07-*でスコープ。
   ===================================================================== */
.section07 { position: relative; background: #fff; padding: clamp(48px,6vw,84px) 0 clamp(56px,7vw,96px); }
.section07-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.section07-label {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; letter-spacing: 0.06em; margin-bottom: clamp(20px,2.6vw,28px);
}
.section07-label__ja { color: #333; font-weight: 600; }
.section07-label__line { display: inline-block; width: 68px; height: 1px; background: #ccc; }
.section07-label__en { color: #aaa; font-weight: 500; }

/* ---------- hero ----------
   研修写真+コーナーラベル+スクリプト文字は section07__bg-top(背景素材画像の
   上部トリミング、`training-assets/photos/hero-section07-top.jpg`)に
   全て焼き込み済みのため、実HTML側では見出し・本文のみを重ねる。 */
.section07-hero {
  position: relative; min-height: 460px;
  display: block;
  margin-bottom: clamp(48px,6vw,72px);
}
.section07-hero__copy { position: relative; z-index: 2; max-width: 560px; }
.section07-hero__heading {
  font-family: var(--font-mincho, var(--font-jp)); font-weight: 500;
  font-size: clamp(36px, 3.6vw, 54px); line-height: 1.4; letter-spacing: 0.02em;
  margin-bottom: clamp(18px,2.4vw,26px);
}
.section07-hero__desc { font-size: 16px; line-height: 1.95; color: var(--ink-soft); max-width: 480px; }

.section07__bg-top {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("../training-assets/photos/hero-section07-top.jpg");
  background-repeat: no-repeat; background-size: cover; background-position: right top;
}

/* ---------- 開催概要カード ---------- */
.section07-cards {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 14px;
  margin-bottom: clamp(28px,3.4vw,40px);
}
.section07-card {
  display: flex; align-items: center; gap: 22px;
  min-height: 165px; padding: 0 26px;
  background: #fff; border: 1px solid #e6e8ea; border-radius: 3px;
}
.section07-card__icon {
  flex: none; width: 78px; height: 78px; border-radius: 50%;
  background: #f2f3f5; display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.section07-card__label { font-size: 15px; color: var(--muted); margin-bottom: 6px; }
.section07-card__value { font-size: 25px; font-weight: 500; line-height: 1.4; }
.section07-card__note { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-top: 4px; }

/* ---------- CPD・実績 ---------- */
.section07-cpd {
  display: grid; grid-template-columns: 1fr 1px 1fr auto;
  background: #f8f9fa; min-height: 180px; margin-bottom: clamp(40px,5vw,56px);
  overflow: hidden;
}
.section07-cpd__item { display: flex; gap: 18px; align-items: center; padding: clamp(22px,2.6vw,32px); }
.section07-cpd__icon { flex: none; display: flex; color: var(--navy); }
.section07-cpd__item h3 { font-size: 16px; margin-bottom: 6px; font-weight: 700; }
.section07-cpd__item p { font-size: 13px; line-height: 1.75; color: var(--ink-soft); max-width: 260px; }
.section07-cpd__divider { background: var(--line); }
.section07-cpd__photo { width: 220px; height: 100%; object-fit: cover; display: block; }

/* ---------- FAQ ---------- */
.section07-faq {
  display: grid; grid-template-columns: 46% 1fr; gap: 20px;
  margin-bottom: clamp(40px,5vw,56px); align-items: start;
}
.faq-tab {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left;
  min-height: 62px; padding: 14px 22px; margin-bottom: 8px;
  background: #f7f8f9; color: #222; border-radius: 3px; font-size: 15px;
}
.faq-tab:last-child { margin-bottom: 0; }
.faq-tab__q { flex: none; width: 54px; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; color: inherit; }
.faq-tab__text { flex: 1; line-height: 1.5; }
.faq-tab__arrow { color: var(--muted); font-size: 17px; }
.faq-tab.is-active { background: var(--navy); color: #fff; }
.faq-tab.is-active .faq-tab__arrow { color: #cfd6e6; }

.section07-faq__panel { border: 1px solid #e5e7e9; padding: clamp(32px,3.6vw,40px); min-height: 350px; }
.faq-answer { display: none; }
.faq-answer.is-active { display: block; }
.faq-answer__q { display: flex; align-items: center; gap: 20px; font-size: 15px; color: #222; font-weight: 500; }
.faq-answer__q span { font-family: Georgia, "Times New Roman", serif; font-size: 36px; color: var(--navy); font-weight: 500; }
.faq-answer__q::after { content: ""; flex: 1; height: 1px; background: var(--line); margin-left: 8px; }
.faq-answer__title {
  font-family: var(--font-mincho, var(--font-jp)); font-weight: 500;
  font-size: clamp(26px,2.6vw,34px); line-height: 1.4; margin: 40px 0 18px;
}
.faq-answer__body { font-size: 15.5px; line-height: 2; color: var(--ink-soft); max-width: 90%; }

/* ---------- closing ----------
   石素材写真+コーナーラベル+タグライン(「つくることで、見えてくるものがある。」)は
   section07__bg-bottom(`hero-section07-bottom.jpg`、大見出しの焼き込みは除去済み)に
   全て含まれているため、実HTML側は見出しのみ重ねる。 */
.section07-closing {
  position: relative; min-height: 300px;
  display: flex; align-items: center; justify-content: flex-start;
  padding-left: 34%;
}
.section07__bg-bottom {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("../training-assets/photos/hero-section07-bottom.jpg");
  background-repeat: no-repeat; background-size: cover; background-position: left bottom;
}
.section07-closing__body {
  position: relative; z-index: 1;
  width: min(42%, 440px);
  padding: clamp(28px,4vw,48px) 0;
}
.section07-closing__heading {
  font-family: var(--font-mincho, var(--font-jp)); font-weight: 500;
  font-size: clamp(24px,2.6vw,32px); line-height: 1.5;
}

/* =====================================================================
   SECTION 08 — contact
   建築・設計事務所向けLPらしい余白と文字組みを保ちつつ、相談フォームを
   LP最後のCVとして大きく見せる構成。SECTION08専用に .section08-* / .contact-*
   でスコープしている。フォームのaction/name属性/送信仕様は一切変更していない。
   ===================================================================== */
.section08 { position: relative; overflow: hidden; background: linear-gradient(180deg, #f7f7f5 0%, #f4f5f3 100%); padding: clamp(48px,6vw,84px) 0 clamp(64px,8vw,104px); }
.section08-inner { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* 背景写真レイヤー: 右上に写真を淡く配置し、左・下方向へ白へ溶け込ませる。
   コンテンツの完全な背面(z-index:0)に敷き、pointer-eventsも無効化。 */
.section08__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.section08__bg-image {
  position: absolute; top: 0; right: -40px;
  width: min(70vw, 1020px); height: 720px;
  background-image: url("../training-assets/photos/section08-bg.jpg");
  background-repeat: no-repeat; background-size: cover; background-position: 68% 18%;
  opacity: 0.92; filter: saturate(0.9) contrast(0.97);
  -webkit-mask-image: radial-gradient(circle at 72% 28%, #000 0%, #000 38%, rgba(0,0,0,.7) 60%, transparent 88%);
  mask-image: radial-gradient(circle at 72% 28%, #000 0%, #000 38%, rgba(0,0,0,.7) 60%, transparent 88%);
}
.section08__bg-fade {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 76% 18%, rgba(247,247,245,0) 0%, rgba(247,247,245,0) 24%, rgba(247,247,245,.22) 56%, rgba(247,247,245,.68) 78%, rgba(247,247,245,1) 100%),
    linear-gradient(to left, rgba(247,247,245,0) 32%, rgba(247,247,245,.36) 58%, rgba(247,247,245,.84) 78%, rgba(247,247,245,1) 100%),
    linear-gradient(to bottom, rgba(247,247,245,0) 28%, rgba(247,247,245,.24) 55%, rgba(247,247,245,.76) 78%, rgba(247,247,245,1) 100%);
}

.section08-label {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; letter-spacing: 0.06em; margin-bottom: clamp(20px,2.6vw,28px);
}
.section08-label__ja { color: #333; font-weight: 600; }
.section08-label__line { display: inline-block; width: 68px; height: 1px; background: #ccc; }
.section08-label__en { color: #aaa; font-weight: 500; }

/* ---------- hero ----------
   写真は独立したカードにせず、section08__bg の背景演出のみで表現する。
   ヒーローは見出し・本文のみの単一カラムで、テキストが背景写真の
   人物の顔などに被らないよう幅を抑える。 */
.section08-hero {
  position: relative;
  padding-top: 10px;
  margin-bottom: clamp(56px,7vw,88px);
  min-height: 420px;
}
.section08-hero__copy { width: min(560px, 100%); }
.section08-hero__heading {
  font-family: var(--font-mincho, var(--font-jp)); font-weight: 500;
  font-size: clamp(34px, 3.6vw, 48px); line-height: 1.45;
  margin-bottom: clamp(16px,2vw,22px);
}
.section08-hero__desc { font-size: 16.5px; line-height: 2; color: var(--ink-soft); max-width: 460px; }

.section08-hero__vertlabel {
  position: absolute; top: 4px; right: 4%;
  font-size: 12px; line-height: 1.3; letter-spacing: 0.05em; text-align: right; color: rgba(90,90,90,0.5);
}
.section08-hero__script {
  position: absolute; right: 8%; bottom: 6%;
  font-family: var(--font-script); color: var(--muted); font-size: clamp(15px,1.5vw,20px);
  text-align: right; line-height: 1.4;
}

/* ---------- フォーム導入 ---------- */
.section08-intro { text-align: center; max-width: 720px; margin: 0 auto clamp(36px,4.6vw,52px); }
.section08-intro__heading {
  font-family: var(--font-mincho, var(--font-jp)); font-weight: 500;
  font-size: clamp(27px,3.4vw,40px); line-height: 1.5; margin-bottom: 14px;
}
.section08-intro__sub { font-size: 14px; color: var(--muted); }

/* ---------- 3つの安心ポイント ---------- */
.section08-points { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: clamp(40px,5vw,56px); }
.section08-point {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 118px; padding: 16px; text-align: center;
  background: #f6f7f7; border: 1px solid #e5e7e7; border-radius: 3px;
}
.section08-point__icon {
  width: 44px; height: 44px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center; color: var(--navy);
}
.section08-point p { font-size: 13.5px; line-height: 1.6; color: #333; }

/* ---------- フォームカード ---------- */
.section08-formcard {
  max-width: 1160px; margin: 0 auto; background: #fff; border: 1px solid #e1e4e5;
  border-radius: 4px; padding: clamp(32px,5vw,72px) clamp(24px,6vw,72px) clamp(40px,6vw,72px);
}

.contact-form__row { margin-bottom: 26px; }
.contact-form__row label { display: block; font-size: 15px; font-weight: 500; color: #1d252b; margin-bottom: 8px; }
.contact-form__label { display: block; font-size: 15px; font-weight: 500; color: #1d252b; margin-bottom: 8px; }
.req {
  display: inline-block; background: var(--navy); color: #fff; font-size: 10.5px; font-weight: 500;
  padding: 2px 8px; border-radius: 2px; margin-left: 6px; vertical-align: middle;
}
.contact-form__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 26px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea {
  width: 100%; height: 60px; padding: 0 18px; border: 1px solid #d9dddf; border-radius: 3px;
  font-family: var(--font-jp); font-size: 15.5px; background: #fafafa; color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--navy); outline: none; background: #fff; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.contact-form textarea { height: auto; min-height: 185px; padding: 18px; resize: vertical; }

/* 開催エリアの選択肢: 行内ラベル用の「.contact-form__row label { display:block }」が効いて
   チェックと文字が左上に寄っていたため、詳細度を上げて横並び・上下中央に揃える */
.contact-form__area { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.contact-form__row .contact-form__area-option {
  display: flex; align-items: center; gap: 12px;
  height: 52px; margin: 0; padding: 0 18px;
  border: 1px solid #d9dddf; border-radius: 3px; background: #fff;
  font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.4;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.contact-form__area-option input {
  -webkit-appearance: none; appearance: none;
  flex: none; width: 18px; height: 18px; margin: 0;
  border: 1.5px solid #b9c0c5; border-radius: 3px; background: #fff;
  display: grid; place-content: center; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.contact-form__area-option input::after {
  content: ""; width: 9px; height: 5px; margin-top: -2px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg); opacity: 0;
}
.contact-form__area-option input:checked { background: var(--navy); border-color: var(--navy); }
.contact-form__area-option input:checked::after { opacity: 1; }
.contact-form__area-option input:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.contact-form__area-option:has(input:checked) { border-color: var(--navy); background: #f4f6f9; }
@media (hover: hover) and (pointer: fine) {
  .contact-form__area-option:hover { border-color: #9aa3aa; }
}

.contact-form__agree label { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; font-weight: 400; color: var(--ink-soft); flex-wrap: wrap; }
.contact-form__agree a { text-decoration: underline; }

.contact-form__submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 400px; max-width: 100%; height: 74px; margin: clamp(24px,3vw,32px) auto 0;
  background: var(--navy); color: #fff; font-size: 18px; font-weight: 600; letter-spacing: 0.05em;
  border-radius: 3px;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.contact-form__submit:hover { background: #1c2e50; }
@media (hover: hover) and (pointer: fine) {
  .contact-form__submit:hover { transform: translateY(-2px); }
}

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(32px,4vw,48px) 0 24px; }
.site-footer__inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 24px; }
.site-footer__brand { display: flex; align-items: center; gap: 12px; }
.site-footer__logo { display: flex; color: var(--ink); }
.site-footer__name { font-size: 14.5px; font-weight: 700; }
.site-footer__tag { font-size: 12px; color: var(--muted); }
.site-footer__links { display: flex; gap: 18px; font-size: 13px; }
.site-footer__vert { font-size: 10.5px; color: var(--muted); letter-spacing: 0.06em; text-align: right; }
.site-footer__copy { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 16px; }

.site-footer__back { text-align: center; margin: 0 0 12px; }
.site-footer__back a {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .03em;
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .site-footer__back a:hover { color: var(--ink); opacity: .75; }
}
.site-footer__back a:focus-visible { outline: 2px solid #168bd2; outline-offset: 3px; }

/* =====================================================================
   Reveal animations
   ===================================================================== */
/* スクロール表示アニメーションはファイル末尾「スクロールアニメーション」を参照(html.has-js のときだけ初期状態を作る) */

/* =========================================================
   Tablet
========================================================= */
@media (max-width: 1023px) {
  .sec02__cards, .sec03__cards { grid-template-columns: repeat(2,1fr); }
  .sec04__voices { grid-template-columns: repeat(2,1fr); }
  .step-row { grid-template-columns: repeat(3,1fr); row-gap: 28px; }
  .schedule-row { grid-template-columns: repeat(2,1fr); row-gap: 28px; }
  .works-gallery { grid-template-columns: repeat(2,1fr); }
  .works-gallery__main { grid-column: 1/3; }
  .works-gallery--4 { grid-template-columns: repeat(2,1fr); }
  .works-gallery--4 .works-gallery__mainwrap { grid-column: 1/3; }
  .section07-cards { grid-template-columns: repeat(2,1fr); }
  .section07-faq { grid-template-columns: 1fr; }
  .section08-points { grid-template-columns: 1fr; }
}

/* =========================================================
   Mobile
========================================================= */
@media (max-width: 767px) {
  :root { --gutter: 20px; --header-h: 66px; }

  /* SECTION01(hero)は .hero__canvas が vw 単位の絶対配置で2048px基準デザインを
     比率保持のまま縮小するため、専用のモバイル上書きは設けない(今回のタスク範囲外)。 */

  /* SECTION01新版(.sec-hero-new)のSP/タブレット用レイアウトは末尾の「改善案A」ブロックを参照 */

  /* SECTION02新版(.sec-card-new)も同様にSPでは写真の下へ通常フローで積む */
  .sec-card-new__copy {
    position: static;
    width: auto;
    padding: 24px var(--gutter) 0;
  }
  .sec-card-new__heading { font-size: clamp(26px, 7.5vw, 32px); }
  .sec-card-new__valuelabel { position: static; padding: 0 var(--gutter); margin-top: 24px; }
  .sec-card-new__cards {
    position: static;
    width: auto;
    flex-direction: column;
    gap: 14px;
    padding: 24px var(--gutter);
  }
  .sec-card-new__cards li { width: auto; }

  .sec06__variation {
    grid-template-columns: 1fr; grid-template-areas: none;
  }
  .sec-flow-new__copy, .sec-flow-new__closing,
  .sec-texton-new__copy, .sec-texton-new__closing {
    position: static; width: auto; transform: none; padding: 24px var(--gutter) 0;
  }
  .sec-flow-new__vertlabel, .sec-texton-new__vertlabel {
    position: static; transform: none; writing-mode: horizontal-tb; margin: 16px var(--gutter) 0;
    border-left: 0; padding-left: 0;
  }
  .sec-texton-new__script { position: static; display: block; margin: 10px var(--gutter) 0; text-align: left; }

  /* ---- SECTION 07 ---- */
  .section07-hero { min-height: 0; padding-top: 220px; margin-bottom: 32px; }
  .section07-hero__copy { max-width: none; }
  .section07-hero__heading { font-size: clamp(34px, 8vw, 42px); }
  .section07__bg-top { inset: auto; top: 0; left: 0; right: 0; height: 200px; background-position: right top; }
  .section07-cards { grid-template-columns: 1fr; }
  .section07-card { min-height: 0; padding: 20px; }
  .section07-card__value { font-size: 22px; }
  .section07-cpd { grid-template-columns: 1fr; }
  .section07-cpd__divider { display: none; }
  .section07-cpd__photo { width: 100%; height: 180px; }
  .section07-faq { grid-template-columns: 1fr; }
  .faq-answer__title { font-size: 28px; }
  .section07-closing { padding-left: 0; padding-top: 170px; min-height: 0; justify-content: flex-start; }
  .section07-closing__body { width: 100%; }
  .section07__bg-bottom { inset: auto; top: 0; left: 0; right: 0; height: 150px; background-position: left top; }

  /* ---- SECTION 08 ---- */
  .section08 { padding: 0 0 96px; }
  .section08__bg-image {
    top: 0; right: -60px; width: 140%; height: 300px;
    background-size: cover; background-position: center top; opacity: 0.85;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 40%, rgba(0,0,0,.6) 65%, transparent 92%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 40%, rgba(0,0,0,.6) 65%, transparent 92%);
  }
  .section08-hero { margin-bottom: 40px; min-height: 0; padding-top: 210px; }
  .section08-hero__heading { font-size: clamp(34px, 8vw, 42px); }
  .section08-hero__vertlabel { display: none; }
  .section08-hero__script { top: 16px; bottom: auto; right: 5%; color: rgba(255,255,255,0.9); text-shadow: 0 1px 6px rgba(0,0,0,0.3); }
  .section08-intro__heading { font-size: clamp(27px, 7vw, 32px); }
  .section08-points { grid-template-columns: 1fr; }
  .section08-formcard { padding: 28px 20px 32px; }
  .contact-form__grid2 { grid-template-columns: 1fr; gap: 0; }
  .contact-form__area { grid-template-columns: 1fr; gap: 8px; }
  .contact-form__row .contact-form__area-option { height: 50px; }
  .contact-form__submit { width: 100%; }

  .sec02__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "media" "cards" "vert" "closing";
  }
  .sec03__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "gallery" "value" "aside" "vert";
  }
  .sec02__cards, .sec03__cards { grid-template-columns: 1fr; }
  .sec02__grid .s-vertlabel, .sec03__grid .s-vertlabel { writing-mode: horizontal-tb; text-align: left; margin-top: 20px; }

  .sec04__panels { grid-template-columns: 1fr; margin-top: 24px; }
  .sec04__voices { grid-template-columns: 1fr; }
  .sec-voice-new__copy {
    position: static; width: auto; padding: 24px var(--gutter) 0;
  }
  .sec-voice-new__script { position: static; display: block; margin: 10px var(--gutter) 0; text-align: left; }
  .sec-voice-new__closing {
    position: static; width: auto; padding: 24px var(--gutter) 0;
  }

  .step-row, .schedule-row { grid-template-columns: 1fr 1fr; }
  .step-arrow::before { display: none; }

  .works-gallery { grid-template-columns: 1fr 1fr; }
  .works-gallery__main { grid-column: 1/3; }
  .works-gallery--4 { grid-template-columns: 1fr; }
  .works-gallery--4 .works-gallery__mainwrap { grid-column: 1/2; }
  .sec06__gallery-head { grid-template-columns: 1fr; }
  .sec06__gallery-head .s-h3label--right { justify-content: flex-start; margin-bottom: 8px; }

  .s-closingband { grid-template-columns: 1fr; }
  .s-vertlabel--inline { writing-mode: horizontal-tb; margin-top: 12px; }

  .faq-tab__text { font-size: 13.5px; }

  body, .s-desc, .s-card__desc, .step-item__desc, .schedule-item__desc, .voice-card__quote, .faq-answer__body {
    font-size: max(15px, 1em);
  }
}

/* =====================================================================
   SECTION01 SP・タブレット版FV(改善案A): メインコピーの右横に写真を背景的に入り込ませる
   - PC(1025px以上)では .hero-mobile-a は素通しのブロック、__visual / __scroll は非表示
   - 1024px以下(ヘッダーがハンバーガーになる幅と同じ)では全幅の背景写真(.sec-hero-new__bg)を
     隠し、施工風景の写真を見出しの右側に左端白フェードで重ねる。補足文・特徴・CTAは通常の縦フロー。
     PC用の絶対配置のままだと768〜1000px付近でコピーが写真より長くなり、CTAが次のセクションに隠れていた。
   ===================================================================== */
.hero-mobile-a__visual,
.hero-mobile-a__scroll { display: none; }

@media (max-width: 1024px) {
  .sec-hero-new { overflow: hidden; }
  .sec-hero-new__bg { display: none; }
  .sec-hero-new__copy {
    position: static;
    width: auto;
    padding: 22px var(--gutter) 24px;
  }

  .sec-hero-new__kicker { font-size: 12.5px; padding: 6px 12px; margin-bottom: 12px; }
  /* 特徴3項目のバッジと内容が重複するため、FVを短くする目的でSPのみ非表示 */
  .sec-hero-new__pill { display: none; }

  .hero-mobile-a {
    position: relative;
    min-height: 312px;
    display: flex;
    align-items: flex-start;
    padding-top: 6px;
    margin-bottom: 18px;
  }
  .hero-mobile-a__copy {
    position: relative;
    z-index: 2;
  }
  .sec-hero-new__heading {
    font-size: clamp(30px, 8.2vw, 38px);
    font-weight: 500;
    line-height: 1.42;
    letter-spacing: .01em;
    /* 最長の文節「だけでは見えない」(8字)が1行に収まる幅を文字サイズから逆算 */
    width: 8.2em;
    margin-bottom: 0;
    /* 写真のフェード部分に文字端がかかっても輪郭が沈まないよう、ごく弱い白の縁取り */
    text-shadow: 0 0 10px rgba(255,255,255,.9), 0 0 3px rgba(255,255,255,.9);
  }

  /* 写真: 右端は画面端まで裁ち落とし、左側は見出しの下に白フェードで入り込む */
  .hero-mobile-a__visual {
    display: block;
    position: absolute;
    z-index: 1;
    /* 見出し上端に揃えて始めると、写真内の施工者の手元が見出しの短い行(「ことを、」)の横に来る */
    top: 2px;
    bottom: 0;
    right: calc(var(--gutter) * -1);
    width: 52%;
    overflow: hidden;
    /* 左端の白フェード + 上下端もわずかに溶かしてカード状に見せない */
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, rgba(0,0,0,.28) 8%, rgba(0,0,0,.72) 20%, #000 34%, #000 100%),
      linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image:
      linear-gradient(to right, transparent 0%, rgba(0,0,0,.28) 8%, rgba(0,0,0,.72) 20%, #000 34%, #000 100%),
      linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
            mask-composite: intersect;
  }
  /* hero-main.webp(屋上での施工風景)から人物3人+作業台部分を切り出したSP専用画像。
     施工中の手元・作業台を中心に、左の施工者と右奥の参加者が同時に入る位置に合わせる */
  .hero-mobile-a__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* PCと同じFV写真(hero-section01-new.jpg)。右端の縦書き・下部のサムネイルを避け、
       コテで仕上げる手元とグローブを中心に見せる */
    object-position: var(--fv-pos, 74% 50%);
    transform: scale(var(--fv-zoom, 1.45));
    transform-origin: var(--fv-origin, 50% 0%);
    filter: saturate(.92) contrast(.96);
  }

  .sec-hero-new__subcopy { font-size: 15px; line-height: 1.7; margin-bottom: 10px; }
  .sec-hero-new__desc { font-size: 14.5px; line-height: 1.9; margin-bottom: 18px; }
  .sec-hero-new__badges { gap: 12px; margin-bottom: 16px; }
  .sec-hero-new__badges img { width: clamp(72px, 20vw, 84px); }
  .sec-hero-new__note { font-size: 13px; line-height: 1.8; margin-bottom: 18px; }

  .sec-hero-new__cta {
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 60px;
    padding: 0 22px;
    font-size: 15px;
  }

  .hero-mobile-a__scroll {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    font-family: var(--font-en, sans-serif);
    font-size: 10px;
    letter-spacing: .24em;
    color: #777;
  }
  .hero-mobile-a__scroll::before {
    content: "";
    width: 1px;
    height: 28px;
    background: linear-gradient(to bottom, #999, rgba(153,153,153,0));
  }
}

/* タブレット(768〜1024px): 画面幅に対して見出しが小さく、CTAが横に伸びすぎないよう調整 */
@media (min-width: 768px) and (max-width: 1024px) {
  .sec-hero-new__copy { padding-top: 32px; }
  .sec-hero-new__heading { font-size: 44px; }
  .hero-mobile-a { min-height: 370px; margin-bottom: 26px; }
  .sec-hero-new__cta { max-width: 480px; }
  .hero-mobile-a__visual { --fv-pos: 78% 50%; --fv-zoom: 2.4; --fv-origin: 80% 30%; }
}
@media (max-width: 390px) {
  /* 円グラフ + 凡例が1行に収まる大きさ(凡例の「大変満足 85.7%」を折り返さない) */
  .sec04__satisfaction .sec04__donut-row .donut { width: 148px; }
  .sec04__satisfaction .sec04__donut-row { gap: 16px; }
  .sec04__satisfaction .donut span strong { font-size: 30px; }
  .sec04__satisfaction .sec04__legend li { white-space: nowrap; }
  /* 390px以下: 写真左のSECTIONは見出しの書き出しに写真がかからないよう写真幅を少し縮める */
  .sp-split--s03 { --sp-photo-w: 46vw; }
  .sp-split--s05 { --sp-photo-w: 51vw; }
  .hero-mobile-a { min-height: 298px; }
  .hero-mobile-a__visual { width: 49%; }
}
@media (max-width: 375px) {
  .hero-mobile-a { min-height: 290px; }
}

/* =====================================================================
   SECTION02〜08 SP版: FV(改善案A)のデザイン言語「大きなコピー + 横から入り込む写真 +
   白フェード + 余白」をSECTIONごとの内容に合わせて展開する(767px以下のみ)。
   - .sp-split: 見出しと写真をまとめるラッパー。PCでは display:contents で存在しない扱い
     (PCのレイアウト・改行は一切変わらない)。__visual はPCでは非表示。
   - 見出しは <br> をSPだけ無効にし、.sp-phrase(文節)単位でのみ改行させる。
   - 左右リズム: FV 文字左 / S02 文字左 / S03 写真左 / S04 文字左 / S05 写真左 / S06 文字左 / S07・S08 背景写真右
   ===================================================================== */
.sp-split { display: contents; }
.sp-split__visual,
.sp-only { display: none; }

@media (max-width: 767px) {
  .sp-only { display: flex; }

  /* ---- 見出し共通 ---- */
  .sp-split > h2,
  .sp-heading {
    font-family: var(--font-mincho, var(--font-jp));
    font-weight: 500;
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.42;
    letter-spacing: .01em;
  }
  .sp-split > h2 br,
  .sp-heading br { display: none; }
  .sp-split .sp-phrase,
  .sp-heading .sp-phrase { display: inline-block; }

  /* 黄色ハイライト(FVの .hero-copy__highlight と同じ表現。各SECTION最大1か所) */
  .sp-highlight { position: relative; display: inline-block; z-index: 0; }
  .sp-highlight::after {
    content: "";
    position: absolute;
    left: -0.04em; right: -0.04em; bottom: 0.06em;
    height: 0.3em;
    background: rgba(229, 200, 75, 0.85);
    border-radius: 1px;
    z-index: -1;
  }

  /* ---- 見出し + 写真 ---- */
  .sp-split {
    display: flex;
    position: relative;
    align-items: flex-start;
    min-height: var(--sp-h, 240px);
    margin: 0 0 22px;
  }
  .sp-split--photo-left { justify-content: flex-end; }
  .sp-split > h2 {
    position: relative;
    z-index: 2;
    width: var(--sp-copy-w, 7.4em);
    max-width: 100%;
    margin: 0;
    padding-top: var(--sp-copy-top, 0);
    text-shadow: 0 0 10px rgba(255,255,255,.9), 0 0 3px rgba(255,255,255,.9);
  }
  .sp-split__visual {
    display: block;
    position: absolute;
    z-index: 1;
    top: var(--sp-top, 0);
    bottom: var(--sp-bottom, 0);
    width: var(--sp-photo-w, 42vw);
    overflow: hidden;
  }
  .sp-split--photo-right .sp-split__visual {
    right: calc(var(--gutter) * -1);
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, rgba(0,0,0,.26) var(--sp-fade-a, 10%), rgba(0,0,0,.72) var(--sp-fade-b, 24%), #000 var(--sp-fade-c, 38%), #000 100%),
      linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) calc(var(--sp-fade-top, 8%) * .6), #000 var(--sp-fade-top, 8%), #000 90%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image:
      linear-gradient(to right, transparent 0%, rgba(0,0,0,.26) var(--sp-fade-a, 10%), rgba(0,0,0,.72) var(--sp-fade-b, 24%), #000 var(--sp-fade-c, 38%), #000 100%),
      linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) calc(var(--sp-fade-top, 8%) * .6), #000 var(--sp-fade-top, 8%), #000 90%, transparent 100%);
            mask-composite: intersect;
  }
  .sp-split--photo-left .sp-split__visual {
    left: calc(var(--gutter) * -1);
    -webkit-mask-image:
      linear-gradient(to left, transparent 0%, rgba(0,0,0,.26) var(--sp-fade-a, 10%), rgba(0,0,0,.72) var(--sp-fade-b, 24%), #000 var(--sp-fade-c, 38%), #000 100%),
      linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) calc(var(--sp-fade-top, 8%) * .6), #000 var(--sp-fade-top, 8%), #000 90%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image:
      linear-gradient(to left, transparent 0%, rgba(0,0,0,.26) var(--sp-fade-a, 10%), rgba(0,0,0,.72) var(--sp-fade-b, 24%), #000 var(--sp-fade-c, 38%), #000 100%),
      linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) calc(var(--sp-fade-top, 8%) * .6), #000 var(--sp-fade-top, 8%), #000 90%, transparent 100%);
            mask-composite: intersect;
  }
  .sp-split__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--sp-pos, 50% 50%);
    /* PC/タブレットと同じ横長の写真(文字の焼き込みあり)から、意味のある部分だけを拡大して見せる */
    transform: scale(var(--sp-zoom, 1));
    transform-origin: var(--sp-origin, 50% 50%);
    filter: saturate(.92) contrast(.96);
  }

  /* 小見出しラベル(「5つの施工ステップ ― WORKSHOP STEPS」など)が途中で折り返さないよう縮小 */
  .s-h3label { font-size: 16px; gap: 10px; white-space: nowrap; }
  .s-h3label span.s-eyebrow__dash { width: 28px; flex: none; }

  /* ---- 写真左 / コピー右のSECTION(03・05): ラベルと見出しブロックを右端に揃え、見出しは右揃え ---- */
  .sp-split--photo-left > h2 { text-align: right; }
  .sec-card-new__copy--workshop .sec-card-new__eyebrow,
  .sec-flow-new__eyebrow { justify-content: flex-end; }
  /* 本文は2カラムを抜けた横幅いっぱいの独立ブロックとして左揃えで読ませる */

  /* ---- SECTION 02: 文字左 / 写真右(研修・素材に触れている様子) ---- */
  .sec-card-new__bg { display: none; }
  .sp-split--s02 { --sp-copy-w: 6.4em; --sp-photo-w: 48vw; --sp-h: 240px; --sp-pos: 78% 50%; --sp-zoom: 1.35; --sp-origin: 50% 15%; }

  /* ---- SECTION 03: 写真左 / 文字右(天然石・手元) ---- */
  /* 写真強め: 写真を約7%拡大し、フェードを弱めて手元・材料を見せる */
  .sp-split--s03 { --sp-copy-w: 7.4em; --sp-photo-w: 50vw; --sp-h: 300px; --sp-pos: 55% 50%; --sp-fade-a: 8%; --sp-fade-b: 20%; --sp-fade-c: 32%; }

  /* ---- SECTION 04: 文字左 / 写真右(雰囲気の補助として小さめ) ---- */
  .sec-voice-new__top-bg { display: none; }
  /* 数字優先: 写真を約10%縮小し、満足度100%へ視線を集める */
  .sp-split--s04 { --sp-copy-w: 9.2em; --sp-photo-w: 36vw; --sp-h: 170px; --sp-pos: 85% 50%; --sp-zoom: 1.5; --sp-origin: 50% 100%; }
  /* 凡例と横並びのflexで幅だけ縮み楕円になっていたため、縮ませず正円(1:1)を維持する */
  .sec04__satisfaction .donut { flex: none; width: 184px; height: auto; aspect-ratio: 1 / 1; }

  /* ---- SECTION 05: 写真左 / 文字右(写真を最も大きく) ---- */
  .sec-flow-new__top-bg { display: none; }
  .sec-flow-new__eyebrow {
    align-items: center; gap: 10px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: #888;
    margin-bottom: 14px;
  }
  .sec-flow-new__eyebrow .dash { display: inline-block; width: 30px; height: 1px; background: #bbb; }
  /* 写真最強: SECTION02〜06で最大(約9%拡大)。フェードも最も弱く、コテ・天然石・作業台の情報量を残す */
  .sp-split--s05 { --sp-copy-w: 7.4em; --sp-photo-w: 55vw; --sp-h: 300px; --sp-pos: 82% 50%; --sp-fade-a: 7%; --sp-fade-b: 17%; --sp-fade-c: 28%; }
  /* STEPは縦積み・写真比率4:3で統一 */
  .step-row { grid-template-columns: 1fr; gap: 28px; }
  .step-item__photo { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
  /* 当日の流れ: 施工ステップと同じく「写真(カード幅・4:3) → 番号 → 英字 → 日本語 → 説明」の縦積み1列 */
  .schedule-row { grid-template-columns: 1fr; gap: 28px; }
  .schedule-item__photo { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }

  /* ---- SECTION 06: 文字左 / 素材写真右(石の質感) ---- */
  /* ギャラリー見出し: PC用の grid-column 指定で2列目が暗黙に作られ、見出しが細く折り返していたため1列に戻す */
  .sec06__gallery-head .s-h3label--right { grid-column: 1 / -1; grid-row: 1; }
  .sec06__gallery-head .s-title--sm { grid-column: 1 / -1; grid-row: 2; }
  .sec06__gallery-head .s-desc { grid-column: 1 / -1; }
  .sec-texton-new__top-bg { display: none; }
  /* 素材写真強め: SECTION03と同程度の大きさ・フェード */
  .sp-split--s06 { --sp-copy-w: 8.2em; --sp-photo-w: 47vw; --sp-h: 290px; --sp-pos: 78% 50%; --sp-fade-a: 8%; --sp-fade-b: 20%; --sp-fade-c: 32%; }

  /* ---- SECTION 07: 文字左 / 研修写真を右上に背景として(左端・下端を白フェード) ---- */
  .section07-hero { padding-top: 34px; }
  .section07-hero .sp-heading { width: 8.2em; }
  /* 写真はSECTIONラベルの下から始め、見出しの行末がフェード部分にだけかかる幅に抑える */
  .section07__bg-top {
    top: 56px; right: 0; left: auto; bottom: auto;
    width: 45vw; height: 170px;
    background-position: 72% 30%;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, rgba(0,0,0,.28) 8%, rgba(0,0,0,.72) 20%, #000 34%, #000 100%),
      linear-gradient(to bottom, transparent 0%, #000 10%, #000 55%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image:
      linear-gradient(to right, transparent 0%, rgba(0,0,0,.28) 8%, rgba(0,0,0,.72) 20%, #000 34%, #000 100%),
      linear-gradient(to bottom, transparent 0%, #000 10%, #000 55%, transparent 100%);
            mask-composite: intersect;
  }

  /* SECTION05・06・07の締めの天然石写真: 写真内の白い切り欠きの縁が縦線として見えるため、右側と下端を白へフェードさせる */
  .sec-flow-new__bottom-bg,
  .sec-texton-new__bottom-bg,
  .section07__bg-bottom {
    -webkit-mask-image:
      linear-gradient(to right, #000 0%, #000 32%, rgba(0,0,0,.6) 42%, transparent 52%),
      linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image:
      linear-gradient(to right, #000 0%, #000 32%, rgba(0,0,0,.6) 42%, transparent 52%),
      linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
            mask-composite: intersect;
  }

  /* SECTION07 開催概要カード以降は「読むSECTION」: 写真の存在感を約25〜30%弱めて白場を増やす */
  .section07-cpd__photo { height: 130px; opacity: .72; }
  .section07__bg-bottom { opacity: .75; }

  /* ---- SECTION 08: 文字左 / 研修写真を右上に背景として。フォームへ向かって白へ消す ---- */
  .section08-hero { padding-top: 40px; }
  .section08-hero .sp-heading { width: 8.2em; }
  /* 白抜きのスクリプト文字は淡い写真の上では読めないため、SPでは非表示(装飾のみの要素) */
  .section08-hero__script { display: none; }
  .section08__bg-image {
    top: 64px; right: 0; left: auto;
    width: 45vw; height: 250px;
    background-position: 80% 0%;
    opacity: .9;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, rgba(0,0,0,.28) 8%, rgba(0,0,0,.72) 20%, #000 34%, #000 100%),
      linear-gradient(to bottom, transparent 0%, #000 10%, #000 45%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image:
      linear-gradient(to right, transparent 0%, rgba(0,0,0,.28) 8%, rgba(0,0,0,.72) 20%, #000 34%, #000 100%),
      linear-gradient(to bottom, transparent 0%, #000 10%, #000 45%, transparent 100%);
            mask-composite: intersect;
  }
}

/* =====================================================================
   撮影モード(?capture=1 のときだけ html.capture-mode が付く)
   SafariのiPhoneフルページPDF撮影では、CSSマスクを使った写真が黒く塗りつぶされるため、
   撮影時だけマスクを外す。スクロール連動の表示アニメーションは撮影時に発火しないので
   最初から表示状態にし、固定CTAは撮影結果に写り込まないよう隠す。通常表示には影響しない。
   ===================================================================== */
.capture-mode *,
.capture-mode *::before,
.capture-mode *::after {
  -webkit-mask-image: none !important;
          mask-image: none !important;
}
.capture-mode .reveal,
.capture-mode .reveal-photo,
.capture-mode .reveal-stagger > * {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.capture-mode .training-floating-cta { display: none !important; }

/* 撮影モードのフェード代替: マスクは撮影時に外すため、同じ向き・位置の白グラデーションを
   写真の上に重ねてフェードを再現する(背景色と同じ色で塗るのでマスクとほぼ同じ見え方になる)。 */
@media (max-width: 1024px) {
  .capture-mode .hero-mobile-a__visual::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
      linear-gradient(to right, #fff 0%, rgba(255,255,255,.72) 8%, rgba(255,255,255,.28) 20%, rgba(255,255,255,0) 34%),
      linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0) 8%, rgba(255,255,255,0) 92%, #fff 100%);
  }
}
@media (max-width: 767px) {
  .capture-mode .sp-split__visual::after,
  .capture-mode .section07__bg-top::after,
  .capture-mode .section07__bg-bottom::after,
  .capture-mode .section08__bg-image::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
  }
  /* 文字が左 / 写真が右 → 写真の左側を白フェード */
  .capture-mode .sp-split--photo-right .sp-split__visual::after {
    background:
      linear-gradient(to right, #fff 0%, rgba(255,255,255,.74) var(--sp-fade-a, 10%), rgba(255,255,255,.28) var(--sp-fade-b, 24%), rgba(255,255,255,0) var(--sp-fade-c, 38%)),
      linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0) 8%, rgba(255,255,255,0) 90%, #fff 100%);
  }
  /* 写真が左 / 文字が右 → 写真の右側を白フェード */
  .capture-mode .sp-split--photo-left .sp-split__visual::after {
    background:
      linear-gradient(to left, #fff 0%, rgba(255,255,255,.74) var(--sp-fade-a, 10%), rgba(255,255,255,.28) var(--sp-fade-b, 24%), rgba(255,255,255,0) var(--sp-fade-c, 38%)),
      linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0) 8%, rgba(255,255,255,0) 90%, #fff 100%);
  }
  .capture-mode .section07__bg-top::after {
    background:
      linear-gradient(to right, #fff 0%, rgba(255,255,255,.74) 10%, rgba(255,255,255,.28) 24%, rgba(255,255,255,0) 38%),
      linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0) 10%, rgba(255,255,255,0) 55%, #fff 100%);
  }
  .capture-mode .section08__bg-image::after {
    background:
      linear-gradient(to right, #f7f7f5 0%, rgba(247,247,245,.74) 10%, rgba(247,247,245,.28) 24%, rgba(247,247,245,0) 38%),
      linear-gradient(to bottom, #f7f7f5 0%, rgba(247,247,245,0) 10%, rgba(247,247,245,0) 45%, #f7f7f5 100%);
  }
  /* 締めの天然石写真(右側と下端を白へ) */
  .capture-mode .section07__bg-bottom::after,
  .capture-mode .sec-flow-new__bottom::after,
  .capture-mode .sec-texton-new__bottom::after {
    background:
      linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,.4) 42%, #fff 52%),
      linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 70%, #fff 100%);
  }
  .capture-mode .sec-flow-new__bottom::after,
  .capture-mode .sec-texton-new__bottom::after {
    content: ""; position: absolute; top: 0; left: 0; right: 0; pointer-events: none;
  }
  .capture-mode .sec-flow-new__bottom::after { height: calc(100vw * 240 / 941); }
  .capture-mode .sec-texton-new__bottom::after { height: calc(100vw * 191 / 1055); }
}

/* =====================================================================
   SP(767px以下)の読みやすさ・情報整理
   1) 大きなコピーの行末句読点を .sp-punct で非表示(PCは従来どおり表示)
   2) 詳細説明文のサイズを 15px / 1.9 / .02em に統一
   3) FAQをアコーディオン化(PCの「左:質問 / 右:回答」はHTML・CSSとも従来のまま)
   4) SECTION04〜07の締めの天然石写真を非表示にし、締めコピーをタイポグラフィのブロックに
   ===================================================================== */
br.sp-br { display: none; }
/* 参加者の声の写真(PC・タブレット・SP共通): 4:3では上下が切れて頭頂が見切れていたため、
   ほぼ正方形の元写真を1:1で見せ、顔が枠の中央付近に来るよう写真ごとに位置を指定 */
.voice-card__photo-frame {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.voice-card__photo-frame .voice-card__photo { width: 100%; height: 100%; aspect-ratio: auto; border-bottom: 0; }
.sec04__voices .voice-card:nth-child(1) .voice-card__photo { object-position: 50% 30%; }
.sec04__voices .voice-card:nth-child(2) .voice-card__photo { object-position: 0% 50%; }
/* 3人目は元写真で顔が小さく写っているため、少しだけ拡大して他の2人と同じ撮影距離に見せる */
.sec04__voices .voice-card:nth-child(3) .voice-card__photo { object-position: 0% 50%; transform: scale(1.25); transform-origin: 38% 30%; }

@media (max-width: 767px) {
  /* ---- 1) コピー末尾の句読点 ---- */
  .sp-punct { display: none; }
  br.sp-br { display: inline; }

  /* ---- 2) 詳細説明文の統一 ---- */
  .sec-hero-new__desc,
  .sec-card-new__desc,
  .sec-voice-new__desc,
  .sec-flow-new__desc,
  .sec-texton-new__desc,
  .s-desc,
  .section07-hero__desc,
  .section07-cpd__item p,
  .section08-hero__desc,
  .section08-intro__sub,
  .step-item__desc,
  .schedule-item__desc,
  .voice-card__quote,
  .sec04__quote p,
  .faq-answer__body,
  .sec-voice-new__closing p,
  .sec-flow-new__closing p,
  .sec-texton-new__closing p {
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: .02em;
  }
  .faq-answer__body { max-width: 100%; }
  /* CPD欄の説明文: PC用の max-width:260px がSPでも残り、430pxで中途半端な幅になっていたため解除 */
  .section07-cpd__item p { max-width: none; }

  /* ---- 3) FAQアコーディオン: 質問リストと回答パネルの箱を解体し、質問→回答の順に並べる ---- */
  .section07-faq { display: flex; flex-direction: column; gap: 0; border-top: 1px solid #dde1e3; }
  .section07-faq__list,
  .section07-faq__panel { display: contents; }
  #faq-tab1 { order: 1; }  #faq-a1 { order: 2; }
  #faq-tab2 { order: 3; }  #faq-a2 { order: 4; }
  #faq-tab3 { order: 5; }  #faq-a3 { order: 6; }
  #faq-tab4 { order: 7; }  #faq-a4 { order: 8; }
  #faq-tab5 { order: 9; }  #faq-a5 { order: 10; }

  .faq-tab,
  .faq-tab.is-active {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 64px;
    margin: 0;
    padding: 18px 4px;
    background: transparent;
    color: var(--ink);
    border: 0;
    border-bottom: 1px solid #dde1e3;
    border-radius: 0;
    text-align: left;
  }
  .faq-tab__q {
    width: 48px;
    font-family: var(--font-mincho, var(--font-jp));
    font-size: 28px;
    color: var(--navy);
  }
  .faq-tab__text { font-size: 15px; font-weight: 500; line-height: 1.6; }
  .faq-tab__arrow { flex: none; width: 20px; font-size: 0; text-align: center; }
  .faq-tab__arrow::before { content: "+"; font-size: 22px; font-weight: 300; color: var(--muted); }
  .faq-tab[aria-expanded="true"] .faq-tab__arrow::before { content: "−"; }

  /* 開閉は grid-template-rows(0fr⇔1fr) + opacity。height:auto はtransitionさせない */
  .faq-answer,
  .faq-answer.is-active,
  .faq-answer[hidden] {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows .3s ease, opacity .3s ease;
  }
  .faq-answer.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
    border-bottom: 1px solid #dde1e3;
  }
  .faq-answer__inner { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s linear .3s; }
  .faq-answer.is-open .faq-answer__inner { visibility: visible; transition-delay: 0s; }
  .faq-answer__q { display: none; }
  .faq-answer__title { font-size: 22px; margin: 22px 0 12px; }
  .faq-answer__body { margin-bottom: 28px; }

  /* ---- 4) 締めの天然石写真を削除し、締めコピーをタイポグラフィのブロックに ---- */
  .sec-voice-new__bottom-bg,
  .sec-flow-new__bottom-bg,
  .sec-texton-new__bottom-bg,
  .section07__bg-bottom,
  .sec-flow-new__vertlabel,
  .sec-texton-new__vertlabel { display: none; }

  .sec-voice-new__closing,
  .sec-flow-new__closing,
  .sec-texton-new__closing {
    padding: 64px var(--gutter) 64px;
    line-height: normal;
  }
  /* 次SECTIONラベルまでの余白を約80〜90pxに揃える(SECTION07は上に48px+34pxの余白を持つため0) */
  .sec-texton-new__closing { padding-bottom: 0; }
  .section07-closing { padding-top: 64px; }
  .section07 { padding-bottom: 24px; }
  .sec-voice-new__closing::before,
  .sec-flow-new__closing::before,
  .sec-texton-new__closing::before,
  .section07-closing__body::before {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    margin-bottom: 22px;
    background: #bbb;
  }
  .sec-voice-new__closing h3,
  .sec-flow-new__closing h3,
  .sec-texton-new__closing h3,
  .section07-closing__heading {
    max-width: 360px;
    font-family: var(--font-mincho, var(--font-jp));
    font-weight: 500;
    font-size: 22px;
    line-height: 1.6;
    letter-spacing: .02em;
    margin-bottom: 0;
  }
  .sec-voice-new__closing p,
  .sec-flow-new__closing p,
  .sec-texton-new__closing p {
    margin-top: 20px;
  }
  /* 締めコピー前の空白: 直前コンテンツの下余白と合わせて罫線まで約64pxに */
  .sec-voice-new__closing { padding-top: 16px; }
  .sec-flow-new__closing { padding-top: 40px; }
  .section07-closing { padding-top: 0; }

}
/* =====================================================================
   SP(767px以下)の追加調整: FVのCPD表記 / S02・S04・S06写真 / S06見出し / S07説明文 / S07・S08カード
   ===================================================================== */
@media (max-width: 767px) {
  /* FV: 導入ラベル → CPD → メインコピーの順。CPDは既存の .sec-hero-new__pill を
     小さな認定ラベルとして表示(タブレットでは従来どおり非表示、PCは従来の位置・見た目のまま) */
  .sec-hero-new__pill {
    display: block;
    width: fit-content;
    margin: 0 0 16px;
    padding: 4px 10px;
    background: transparent;
    border: 1px solid rgba(22, 35, 63, .35);
    color: var(--navy);
    font-family: var(--font-jp);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.5;
  }

  /* SECTION02: 写真を大きく、カップを持つ女性が中心〜やや右に来る構図 */
  /* SECTION04と同じく、作業する参加者が並ぶ範囲を横長の枠でまとめて見せる。
     元画像の横27〜81%・上から約55%(女性が中央、右端の焼き込み筆記体と下半分の白い作業台は範囲外)を切り出す */
  .sp-split--s02 { --sp-photo-w: 68vw; --sp-h: 230px; --sp-top: 38px; --sp-zoom: 1; --sp-fade-a: 6%; --sp-fade-b: 13%; --sp-fade-c: 22%; --sp-fade-top: 14%; }
  .sp-split--s02 .sp-split__visual { bottom: auto; height: calc(68vw * .68); }
  .sp-split--s02 .sp-split__visual img {
    position: absolute;
    width: 185%;
    height: auto;
    max-width: none;
    left: -50%;
    top: 0;
    object-fit: fill;
  }

  /* SECTION04: 写真を大きく、拡大せずPC版に近い広い構図。上部の白っぽい空の部分に見出しが少しかかる */
  /* 写真の下半分にいる参加者が見えるよう、写真ボックスを見出しの下まで伸ばし、下寄りを表示する */
  /* 写真の下半分にいる参加者全員が見えるよう拡大せずに表示。右上に焼き込まれた縦書きラベルと
     白っぽい空は上から白へ溶かし、その白い部分に見出しがかかる構成 */
  .sp-split--s04 { --sp-photo-w: 68vw; --sp-h: 250px; --sp-top: 34px; --sp-pos: 90% 50%; --sp-zoom: 1; --sp-fade-a: 6%; --sp-fade-b: 13%; --sp-fade-c: 22%; --sp-fade-top: 34%; }
  /* 右上の焼き込みラベルの角だけ白で覆う(人物のいる下半分・左側には掛からない) */
  .sp-split--s04 .sp-split__visual::before {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 40%; height: 50%;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at 100% 0%, #fff 0%, #fff 50%, rgba(255,255,255,.85) 62%, rgba(255,255,255,0) 80%);
  }

  /* SECTION06: 枠の大きさ(47vw×290px)はそのまま、画像を上下78%の高さに縮めて横方向を広く見せ、
     パネル表面全体の粒感・色合いが見えるようにする。上下の端は画像側でも白フェード */
  .sp-split--s06 .sp-split__visual img {
    position: absolute;
    top: 11%;
    left: 0;
    height: 78%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  }
  .sp-split--s06 { --sp-pos: 74% 50%; }
  /* 行頭のかぎ括弧「は字面が右半分にあるため、半字分左へ出して他の行と左端を揃える */
  .sp-hang { margin-left: -.5em; }

  /* SECTION07: 説明文を写真(見出しブロック上端から226pxまで)の下から始める */
  .section07-hero .sp-heading { margin-bottom: 76px; }

  /* SECTION07 開催概要カード */
  .section07-card__icon svg { width: 32px; height: 32px; }
  .section07-card__label { font-size: 16px; font-weight: 500; }
  .section07-card__note { font-size: 14px; line-height: 1.7; margin-top: 6px; }
  /* SECTION07 CPD欄 */
  .section07-cpd__icon svg { width: 34px; height: 34px; }
  .section07-cpd__item h3 { font-size: 17px; }
  /* SECTION08 ポイントカード */
  .section08-point { min-height: 0; padding: 22px 16px; gap: 12px; }
  .section08-point__icon { width: 54px; height: 54px; }
  .section08-point__icon svg { width: 30px; height: 30px; }
  .section08-point p { font-size: 15px; line-height: 1.7; }
}
@media (max-width: 767px) {
  .capture-mode .sp-split--s04 .sp-split__visual::after {
    background:
      linear-gradient(to right, #fff 0%, rgba(255,255,255,.74) 6%, rgba(255,255,255,.28) 13%, rgba(255,255,255,0) 22%),
      linear-gradient(to bottom, #fff 0%, rgba(255,255,255,.65) 20%, rgba(255,255,255,0) 34%, rgba(255,255,255,0) 90%, #fff 100%);
  }
}
.capture-mode .sp-split--s06 .sp-split__visual::after {
  background:
    linear-gradient(to right, #fff 0%, rgba(255,255,255,.74) var(--sp-fade-a, 10%), rgba(255,255,255,.28) var(--sp-fade-b, 24%), rgba(255,255,255,0) var(--sp-fade-c, 38%)),
    linear-gradient(to bottom, #fff 0%, #fff 11%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 78%, #fff 89%, #fff 100%);
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .faq-answer, .faq-answer__inner { transition: none; }
}


/* =====================================================================
   スクロールアニメーション
   - 初期状態(非表示・少しずらす)は html.has-js のときだけ。JS無効・capture=1・動きを減らす設定では付かない
   - 動きは個別プロパティ translate / scale で付ける。既存の transform(写真の拡大・hover・中央寄せ)や
     写真ラッパーの mask-image と競合しない
   - 表示後は .rv-done を付けて、要素本来の transition(hover など)に戻す
   ===================================================================== */
:root {
  --rv-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rv-dur: .9s;
  --rv-dur-photo: 1.3s;
  --rv-y: 24px;
  --rv-y-sm: 10px;
  --rv-x: 24px;
}
@media (max-width: 767px) {
  :root { --rv-dur: .7s; --rv-dur-photo: 1s; --rv-y: 16px; --rv-y-sm: 8px; --rv-x: 16px; }
}
html.has-js [data-reveal]:not(.rv-done) {
  transition:
    opacity var(--rv-dur) var(--rv-ease) var(--rv-delay, 0ms),
    translate var(--rv-dur) var(--rv-ease) var(--rv-delay, 0ms),
    scale var(--rv-dur-photo) var(--rv-ease) var(--rv-delay, 0ms);
}
html.has-js [data-reveal^="scale"]:not(.rv-done) {
  transition:
    opacity var(--rv-dur-photo) var(--rv-ease) var(--rv-delay, 0ms),
    scale var(--rv-dur-photo) var(--rv-ease) var(--rv-delay, 0ms);
}
html.has-js [data-reveal]:not(.is-visible) { opacity: 0; }
html.has-js [data-reveal="up"]:not(.is-visible) { translate: 0 var(--rv-y); }
html.has-js [data-reveal="up-sm"]:not(.is-visible) { translate: 0 var(--rv-y-sm); }
html.has-js [data-reveal="left"]:not(.is-visible) { translate: calc(var(--rv-x) * -1) 0; }
html.has-js [data-reveal="right"]:not(.is-visible) { translate: var(--rv-x) 0; }
html.has-js [data-reveal="scale"]:not(.is-visible) { scale: 1.035; }
html.has-js [data-reveal="scale-soft"]:not(.is-visible) { scale: 1.02; }
html.has-js [data-reveal="scale-in"]:not(.is-visible) { scale: .97; }
@media (max-width: 767px) {
  html.has-js [data-reveal="scale"]:not(.is-visible) { scale: 1.025; }
}

/* 写真の拡大アニメーションが枠の外にはみ出さないよう、写真を持つ帯の中に収める */
.sec-hero-new,
.sec-texton-new__top { overflow: hidden; }

/* 右下固定CTA: 読み込み直後は出さず、少しスクロールしてから表示(JSで .is-ready) */
html.has-js .training-floating-cta:not(.is-ready) { opacity: 0; transform: translateY(10px); pointer-events: none; }

/* 撮影モードは全て最終状態(浮遊アニメーションも停止) */
.capture-mode .sec-hero-new__badges li { animation: none; }

/* hover(PCのみ・控えめ) */
@media (hover: hover) and (pointer: fine) {
  .section07-card,
  .section08-point,
  .voice-card { transition: transform .3s var(--rv-ease), box-shadow .3s ease; }
  .section07-card:hover,
  .section08-point:hover,
  .voice-card:hover { transform: translateY(-3px); }

  .works-gallery__mainwrap,
  .works-gallery__thumbwrap { overflow: hidden; }
  .works-gallery__main,
  .works-gallery__thumb { transition: transform .5s var(--rv-ease); }
  .works-gallery__mainwrap:hover .works-gallery__main,
  .works-gallery__thumbwrap:hover .works-gallery__thumb { transform: scale(1.02); }

  .sec-hero-new__cta { transition: background-color .3s ease, transform .15s ease; }
  .sec-hero-new__cta span { display: inline-block; transition: transform .3s var(--rv-ease); }
  .sec-hero-new__cta:hover { background-color: #2a2c30; }
  .sec-hero-new__cta:hover span { transform: translateX(5px); }
  .sec-hero-new__cta:active { transform: scale(.99); }

  .faq-tab { transition: background-color .25s ease; }
  .faq-tab:not(.is-active):hover { background-color: #f0f2f4; }
}
@media (hover: hover) and (pointer: fine) and (max-width: 767px) {
  .faq-tab:not(.is-active):hover { background-color: rgba(22, 35, 63, .025); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* FAQ回答の見出し: PC・タブレットでは文末の句読点を消し、1行で表示(SPは文章として句読点を残す) */
@media (min-width: 768px) {
  .pc-punct { display: none; }
  .faq-answer__title { white-space: nowrap; }
}

/* フッター: 会社名をヘッダーと同じロゴ画像に */
.site-footer__logo-img { display: block; width: auto; height: 40px; margin-bottom: 8px; }
@media (max-width: 767px) { .site-footer__logo-img { height: 34px; } }

/* ハンバーガー表示時(1024px以下)は、PC用ナビが非表示になるためボタンを右端の列に固定する */
@media (max-width: 1024px) {
  .training-header__menu-button { grid-column: 3; justify-self: end; }
}

/* PC(1025px以上)の右下CTAは読み込み直後から常に表示(SP/タブレットは従来どおり) */
@media (min-width: 1025px) {
  html.has-js .training-floating-cta:not(.is-ready) { opacity: 1; transform: none; pointer-events: auto; }
}

/* SECTION07締めコピー: この帯は .section07-inner の外にあり左右の余白が無いため、SPでは他のコピーと同じ
   左右余白(--gutter)を付ける。PC・タブレットは「こと/で、」と折り返していたので、HTMLの改行位置だけで改行する */
@media (min-width: 768px) {
  .section07-closing__body { width: auto; }
  .section07-closing__heading { white-space: nowrap; }
}
@media (max-width: 767px) {
  .section07-closing { padding-left: var(--gutter); padding-right: var(--gutter); }
  .section07-closing__body { width: 100%; }
}

/* =====================================================================
   SECTION 05〜06 追加ブロック(2026-09-27)
   - 写真はすべて固定パスの画像を差し替えるだけで完成するよう、比率・トリミングはCSS側で固定
     STEP 05 : training-assets/workshop/cut-sample.jpg(4:3)
     廃ガラス : training-assets/texton/recycled-glass-{main,sub01,sub02}.jpg
   - 読み込み前から枠の高さが決まるよう aspect-ratio を必ず指定(CLS対策)
   ===================================================================== */

/* ---- SECTION 05: STEP 01〜04 を4列、STEP 05 を写真付きの1行に ---- */
.step-row.step-row--feature { grid-template-columns: repeat(4, 1fr); }
.step-feature {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  column-gap: clamp(28px, 4.5vw, 64px); align-items: center;
  margin-top: clamp(8px, 1.5vw, 20px);
  padding-top: clamp(28px, 3.5vw, 44px);
  border-top: 1px solid var(--line);
}
.step-feature__media { margin: 0; }
.step-feature__frame { position: relative; aspect-ratio: 4 / 3; background: #f5f5f2; overflow: hidden; }
.step-feature__photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* サンプル全体を切らずに見せたい写真のときは、HTMLの .step-feature__frame に is-contain を付ける */
.step-feature__frame.is-contain .step-feature__photo { object-fit: contain; }
.step-feature__caption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 14px; }
.step-feature__caption-en {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; color: var(--navy);
}
.step-feature__caption-en::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.step-feature__caption-ja { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.step-feature__title { font-size: clamp(20px, 1.8vw, 24px); margin-bottom: 2px; }
.step-feature__lead { font-size: clamp(17px, 1.5vw, 20px); font-weight: 700; line-height: 1.6; color: var(--ink); margin-bottom: 14px; }
.step-feature__desc { font-size: 15px; line-height: 1.9; color: var(--ink-soft); }
.step-feature__desc + .step-feature__desc { margin-top: 0.6em; }

/* ---- SECTION 06: 冒頭本文(2段落) ---- */
.sec-texton-new__desc + .sec-texton-new__desc { margin-top: 0.5em; }

/* ---- SECTION 06: 追加ブロック共通(ラベル+見出し左 / 本文右) ---- */
.sec06-block { margin-bottom: clamp(64px, 8vw, 104px); }
.sec06-block__head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  column-gap: clamp(32px, 5vw, 80px); align-items: end;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.sec06-block__label {
  grid-column: 1; grid-row: 1;
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--navy);
  margin-bottom: 14px;
}
.sec06-block__dash { display: inline-block; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.sec06-block__title { grid-column: 1; grid-row: 2; margin-bottom: 0; }
.sec06-block__text { grid-column: 2; grid-row: 1 / span 2; }
.sec06-block__text .s-desc { max-width: none; margin-bottom: 0.6em; }
.sec06-block__text .s-desc:last-child { margin-bottom: 0; }

/* 写真: 装飾は控えめ(角丸2px・影なし)。読み込み前は薄いグレーの枠だけ見える */
.sec06-photo { margin: 0; position: relative; overflow: hidden; border-radius: 2px; background: #f5f5f2; }
.sec06-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 廃ガラス: 上の「天然石だからこそ〜」(.sec06__variation = 左コピー / 右写真)を左右反転した2カラム。
   帯の背景・上下左右の余白・列間・写真の比率(1:1)と間隔は .sec06__variation / .sec06__swatches と同じ値。
   テキスト列は幅の40%(最大520px)、残りを写真2枚に使う */
.sec06-glass.sec__inner {
  max-width: none; background: var(--bg-soft);
  padding: clamp(40px, 5vw, 64px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) min(40%, 520px);
  column-gap: clamp(32px, 5vw, 64px); align-items: center;
}
.sec06-glass__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
/* 写真はサンプルが中央にあり左右に余白があるので、1:1 で左右だけ切ってもサンプル全体が収まる */
.sec06-glass__sub { aspect-ratio: 1 / 1; }
.sec06-glass__sub img { object-fit: cover; object-position: 50% 50%; }
.sec06-glass .sec06-block__head { display: block; margin-bottom: 0; }
.sec06-glass .sec06-block__title { margin-bottom: 14px; }

@media (max-width: 767px) {
  .step-row.step-row--feature { grid-template-columns: 1fr; }
  .step-feature { grid-template-columns: 1fr; row-gap: 22px; margin-top: 0; padding-top: 28px; }
  /* SPは写真下の補足(WORKSHOP TAKEAWAY / 制作したカットサンプルをお届けします)を出さない */
  .step-feature__caption { display: none; }
  .step-feature__title { font-size: 20px; }
  .step-feature__lead { font-size: 17px; }

  .sec06-block { margin-bottom: 72px; }
  /* SECTION06内の見出しを 28px 前後に揃える(375pxでも「天然石だからこそ生まれる」が1行に収まる大きさ) */
  .sec-texton-new__mid .s-title--sm { font-size: clamp(26px, 7.2vw, 30px); line-height: 1.45; }

}
/* タブレット: 冒頭本文が2段落になった分、写真の手袋に掛からないよう文字ブロックを少し上・細めに。
   追加ブロックの見出しは縦並び(横並びだと見出しの上に大きな空白ができるため) */
@media (min-width: 768px) and (max-width: 1023px) {
  .sec-texton-new__copy { top: 6.5%; width: 37%; }
}
/* SP: 上の「天然石だからこそ〜」のSPと同じく ラベル・見出し → 本文 → 写真2枚(横並び) の縦積み。
   本文と写真の間隔も天然石と同じ(本文最後の段落の下余白 14px 分)。
   タブレット(768〜1023)はPCと同じく「天然石だからこそ〜」を左右反転した2カラム */
@media (max-width: 767px) {
  .sec06-glass.sec__inner { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .sec06-glass__photos { order: 2; }
  .sec06-glass .sec06-block__text { max-width: 640px; }
}


/* ===== Production contact form additions ===== */
.contact-form__security { display:flex; justify-content:center; margin: 8px 0 4px; }
.contact-form__hp { position:absolute !important; left:-10000px !important; top:auto !important; width:1px !important; height:1px !important; overflow:hidden !important; }
.contact-form__notice { margin:0 0 24px; padding:14px 16px; border:1px solid #c9a86a; background:#fffaf0; color:#3a3328; font-size:14px; line-height:1.7; border-radius:3px; }
@media (max-width: 390px) { .contact-form__security { transform: scale(.92); transform-origin:center top; margin-bottom:-8px; } }
