/* ==========================================================
   SAKUTSUKU v2 — 「クリーム×燃えるオレンジ」
   参照: sakutsuku/DESIGN.md（Zapierベース・承認済み）
   ========================================================== */

:root {
  --canvas: #fffefb;
  --canvas-soft: #f8f4f0;
  --ink: #201515;
  --ink-soft: #2f2a26;
  --body: #605d52;
  --mute: #c5c0b1;
  --hairline: #ece7dd;
  --primary: #ff4f00;
  --primary-deep: #d84300;
  --primary-soft: #ffede4;
  --on-dark: #fffefb;
  --outline-text: rgba(32, 21, 21, 0.10);
  --ok: #007d48;
  --ng: #d30005;

  --font-jp: "Zen Kaku Gothic New", sans-serif;
  --font-en: "Outfit", sans-serif;
  --font-poster: "Anton", sans-serif;

  --r: 18px;
  --r-sm: 12px;
  --pill: 999px;
  --shadow: 0 10px 30px rgba(32, 21, 21, 0.08);
  --container: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
/* 装飾要素（回転ティッカー・ブロブ等）の横はみ出しでモバイルの
   レイアウト幅が拡張されるのを防ぐ（実機のフォーム見切れの根本原因） */
html, body { overflow-x: hidden; overflow-x: clip; }

body {
  font-family: var(--font-jp);
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
em { font-style: normal; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px);
}

.pc { display: inline; }

::selection { background: var(--primary); color: #fff; }

/* ==========================================================
   カスタムカーソル
   ========================================================== */
.cursor { display: none; }

@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }

  .cursor__dot,
  .cursor__ring {
    position: fixed;
    top: 0; left: 0;
    z-index: 999;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-100px, -100px);
  }

  .cursor__dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
  }

  .cursor__ring {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(255, 79, 0, 0.6);
    display: grid;
    place-items: center;
    transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                height 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                background-color 0.3s, border-color 0.3s;
  }

  .cursor__label {
    font-family: var(--font-en);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s;
  }

  .cursor--hover .cursor__ring {
    width: 64px;
    height: 64px;
    background: rgba(255, 79, 0, 0.12);
    border-color: var(--primary);
  }

  .cursor--view .cursor__ring {
    width: 84px;
    height: 84px;
    background: var(--primary);
    border-color: var(--primary);
  }

  .cursor--view .cursor__label { opacity: 1; }
  .cursor--view .cursor__dot { opacity: 0; }
}

/* ==========================================================
   共通パーツ
   ========================================================== */
.eyebrow {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--primary);
  margin-bottom: 16px;
}

.section { padding: clamp(88px, 11vw, 150px) 0; }
.section--soft { background: var(--canvas-soft); }

.section-head { margin-bottom: clamp(44px, 6vw, 72px); }

.section-title {
  text-wrap: balance; /* 1〜2文字だけの孤立折り返しを防ぐ */
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.02em;
  max-width: 24em;
}

.section-lead {
  margin-top: 22px;
  color: var(--body);
  max-width: 42em;
  font-size: 15px;
}

/* SplitText の行マスクは JS 側 (mask:"lines") が生成 */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  border-radius: var(--pill);
  padding: 18px 38px;
  will-change: transform;
}

.btn__arrow {
  font-family: var(--font-en);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:hover .btn__arrow { transform: translateX(5px); }

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 26px rgba(255, 79, 0, 0.32);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.btn--primary:hover {
  background: var(--primary-deep);
  box-shadow: 0 14px 32px rgba(255, 79, 0, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  transition: background-color 0.3s, color 0.3s;
}

.btn--ghost:hover { background: var(--ink); color: var(--canvas); }

.btn--white {
  background: var(--canvas);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(32, 21, 21, 0.25);
}

/* ==========================================================
   ヘッダー
   ========================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 254, 251, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

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

.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px);
  height: 76px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.header__brand { display: flex; align-items: baseline; gap: 10px; }

.header__logo {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.05em;
}

.header__by {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--body);
}

.header__nav { display: flex; gap: 30px; margin-left: auto; }

.header__nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--body);
  transition: color 0.25s;
}

.header__nav a:hover { color: var(--primary); }

.header__cta {
  background: var(--ink);
  color: var(--canvas);
  font-size: 13px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--pill);
  transition: background-color 0.3s;
  will-change: transform;
}

.header__cta:hover { background: var(--primary); }

.header__progress {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2.5px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
}

/* ==========================================================
   ヒーロー
   ========================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px 0 90px;
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero__blob--a {
  width: 560px;
  height: 560px;
  right: -140px;
  top: -120px;
  background: rgba(255, 79, 0, 0.13);
}

.hero__blob--b {
  width: 460px;
  height: 460px;
  left: -160px;
  bottom: -180px;
  background: rgba(255, 79, 0, 0.07);
}

/* 背景の輪郭文字マーキー */
.hero__marquee {
  position: absolute;
  bottom: 4%;
  left: 0;
  right: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__marquee-track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}

.hero__marquee-track span {
  font-family: var(--font-poster);
  font-size: clamp(120px, 22vw, 300px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--outline-text);
  letter-spacing: 0.02em;
}

.hero__inner { position: relative; width: 100%; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--canvas);
  border-radius: var(--pill);
  box-shadow: var(--shadow);
  padding: 9px 20px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.hero__title {
  font-size: clamp(52px, 10vw, 128px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0.01em;
}

.hero__title-line { display: block; }

/* マーカー */
.marker {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.marker::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.04em;
  right: -0.04em;
  bottom: 0.03em;
  height: 0.34em;
  background: var(--primary);
  opacity: 0.85;
  transform: scaleX(0);
  transform-origin: left;
}

.marker.is-on::after {
  transform: scaleX(1);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.hero__lead {
  margin-top: clamp(26px, 3.4vw, 38px);
  color: var(--body);
  font-size: clamp(15px, 1.7vw, 18px);
  max-width: 44em;
}

.hero__stats {
  display: flex;
  gap: clamp(20px, 4vw, 56px);
  margin-top: clamp(30px, 4vw, 46px);
}

.hero__stat-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--body);
  letter-spacing: 0.08em;
}

.hero__stat-num { line-height: 1.1; }

.hero__stat-num em {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(40px, 5.4vw, 64px);
  color: var(--ink);
  letter-spacing: -0.02em;
}

.hero__stat-num span {
  font-size: 14px;
  font-weight: 900;
  margin-left: 3px;
}

.hero__stat:first-child .hero__stat-num em { color: var(--primary); }

.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: clamp(34px, 4.4vw, 52px);
  flex-wrap: wrap;
}

/* ==========================================================
   ティッカー
   ========================================================== */
.ticker {
  background: var(--primary);
  color: #fff;
  overflow: hidden;
  padding: 16px 0;
  transform: rotate(-1deg) scale(1.02);
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  will-change: transform;
}

.ticker__track span {
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.ticker__track i {
  font-style: normal;
  font-size: 8px;
  opacity: 0.7;
}

/* ==========================================================
   課題
   ========================================================== */
.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.problem {
  position: relative;
  background: var(--canvas);
  border-radius: var(--r);
  padding: 30px 28px 26px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
  will-change: transform;
}

.problem:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.problem::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.problem:hover::before { transform: scaleX(1); }

.problem__num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 14px;
}

.problem__title {
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 8px;
}

.problem__desc { font-size: 14px; color: var(--body); }

/* ==========================================================
   STUDIO ダーク帯（pin + scrub）
   ========================================================== */
.studio {
  background: var(--ink);
  color: var(--on-dark);
}

.studio__pin {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 60px 0;
}

.studio__giant {
  position: absolute;
  font-family: var(--font-poster);
  font-size: clamp(140px, 26vw, 360px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 254, 251, 0.12);
  letter-spacing: 0.02em;
  will-change: transform;
  user-select: none;
}

.studio__body {
  position: relative;
  max-width: 660px;
  padding: 0 clamp(20px, 4vw, 44px);
  text-align: center;
}

.studio__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  border: 1px solid rgba(255, 79, 0, 0.5);
  border-radius: var(--pill);
  padding: 7px 18px;
  margin-bottom: 22px;
}

.studio__heading {
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 900;
  margin-bottom: 20px;
}

.studio__desc {
  font-size: 15px;
  color: rgba(255, 254, 251, 0.72);
  margin-bottom: 30px;
}

.studio__chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.studio__chips span {
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255, 254, 251, 0.25);
  border-radius: var(--pill);
  padding: 8px 18px;
  color: rgba(255, 254, 251, 0.85);
}

/* ==========================================================
   比較表
   ========================================================== */
.compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.compare {
  width: 100%;
  min-width: 780px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  overflow: hidden;
}

.compare th, .compare td {
  padding: 20px 18px;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid var(--hairline);
  vertical-align: middle;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }

.compare thead th {
  font-weight: 900;
  font-size: 15px;
  padding: 22px 18px;
  background: var(--canvas-soft);
}

.compare .compare__label {
  text-align: left;
  font-weight: 700;
  color: var(--body);
  font-size: 13px;
  width: 150px;
  background: var(--canvas-soft);
}

.compare td small {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--body);
  margin-top: 2px;
}

.compare .compare__us {
  background: var(--primary-soft);
  font-weight: 900;
}

.compare thead .compare__us {
  background: var(--primary);
  color: #fff;
  font-family: var(--font-en);
  font-size: 16px;
  letter-spacing: 0.06em;
}

.mark {
  display: block;
  font-weight: 900;
  font-size: 19px;
  line-height: 1.2;
  margin-bottom: 2px;
}

.mark--ok { color: var(--primary); }
.mark--soso { color: var(--ok); }
.mark--ng { color: var(--ng); }

.compare__note { margin-top: 14px; font-size: 12px; color: var(--body); }

/* ==========================================================
   選ばれる理由（pin + 横スクロール）
   ========================================================== */
.reasons {
  background: var(--canvas);
  overflow: hidden;
}

.reasons__pin {
  padding: clamp(88px, 10vw, 130px) 0 clamp(60px, 7vw, 90px);
}

.reasons__head { margin-bottom: clamp(40px, 5vw, 64px); }

.reasons__track {
  display: flex;
  gap: clamp(18px, 2.4vw, 28px);
  padding: 0 clamp(20px, 4vw, 44px);
  width: max-content;
  will-change: transform;
}

.rcard {
  width: clamp(300px, 34vw, 460px);
  background: var(--canvas-soft);
  border-radius: 24px;
  padding: clamp(30px, 3.4vw, 48px);
  flex-shrink: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.45s;
  will-change: transform;
}

.rcard:hover {
  transform: translateY(-8px);
  background: var(--canvas);
  box-shadow: var(--shadow);
}

.rcard__num {
  font-family: var(--font-poster);
  font-size: clamp(64px, 7vw, 104px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--primary);
  margin-bottom: 22px;
}

.rcard__title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 14px;
}

.rcard__desc { font-size: 14px; color: var(--body); }

/* ==========================================================
   制作実績（ブラウザ枠の中でページがスクロールするショーケース）
   ========================================================== */
.works__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}

.work { margin: 0; }

.work__frame {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(32, 21, 21, 0.05);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s;
  will-change: transform;
}

.work:hover .work__frame {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(32, 21, 21, 0.16);
}

/* ブラウザ風のバー */
.work__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}

.work__bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e3dbcf;
}

.work__bar i:first-child { background: var(--primary); opacity: 0.55; }

.work__bar b {
  flex: 1;
  height: 8px;
  margin-left: 6px;
  border-radius: 4px;
  background: #f1ece3;
  max-width: 55%;
}

/* ホバーでページの続きが見えるスクロール窓 */
.work__shot {
  --shot-h: clamp(340px, 26vw, 470px);
  height: var(--shot-h);
  overflow: hidden;
}

.work__shot img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(0);
  transition: transform 6s cubic-bezier(0.33, 0, 0.3, 1);
  will-change: transform;
}

.work:hover .work__shot img {
  transform: translateY(calc(-100% + var(--shot-h)));
}

.work__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding: 0 2px;
}

.work__name {
  font-size: 14.5px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.work__tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--body);
  border: 1px solid var(--hairline);
  border-radius: var(--pill);
  padding: 4px 12px;
  white-space: nowrap;
}

/* ==========================================================
   料金
   ========================================================== */
.plan-cat {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 19px;
  font-weight: 900;
  margin: clamp(40px, 5.4vw, 64px) 0 20px;
}

.plan-cat::before {
  content: "";
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background: var(--primary);
}

.plan-cat:first-of-type { margin-top: 0; }

.plans__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.plan {
  position: relative;
  background: var(--canvas);
  border-radius: var(--r);
  padding: clamp(28px, 3.6vw, 44px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
  will-change: transform;
}

.plan:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.plan--featured { border: 2px solid var(--primary); }

.plan__tag {
  position: absolute;
  top: -14px;
  left: 26px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--pill);
  padding: 5px 16px;
}

.plan__name { font-size: 16px; font-weight: 900; }

.plan__price { margin: 12px 0 16px; line-height: 1; }

.plan__price em {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(52px, 6vw, 72px);
  color: var(--primary);
  letter-spacing: -0.03em;
}

.plan__price span { font-size: 19px; font-weight: 900; margin-left: 5px; }

.plan__price small {
  font-size: 12px;
  color: var(--body);
  margin-left: 8px;
  font-weight: 700;
}

.plan__lead {
  font-size: 14px;
  color: var(--body);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 20px;
}

.plan__features { list-style: none; }

.plan__features li {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 0 6px 28px;
}

.plan__features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 13px;
  height: 7px;
  border-left: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
  transform: rotate(-45deg);
}

.options {
  margin-top: clamp(40px, 5.4vw, 64px);
  background: var(--canvas);
  border-radius: var(--r);
  padding: clamp(28px, 3.6vw, 44px);
}

.options__title { font-size: 18px; font-weight: 900; margin-bottom: 18px; }

.options__list div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
  padding: 13px 2px;
  border-bottom: 1px dashed var(--hairline);
  font-size: 14px;
}

.options__list dt { font-weight: 700; min-width: 0; }

.options__list dd {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 17px;
  white-space: nowrap;
  margin-left: auto;
}

.options__note { margin-top: 18px; font-size: 12px; color: var(--body); line-height: 2; }

/* ==========================================================
   FAQ
   ========================================================== */
.faq__list { max-width: 840px; }

.faq {
  background: var(--canvas);
  border-radius: var(--r-sm);
  margin-bottom: 12px;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 60px 20px 22px;
  font-weight: 700;
  font-size: 15px;
  position: relative;
  transition: color 0.25s;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::before {
  content: "Q";
  font-family: var(--font-en);
  font-weight: 800;
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}

.faq summary:hover { color: var(--primary-deep); }

.faq__icon {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq__icon::before {
  left: 0; right: 0; top: 6px;
  height: 2px;
}

.faq__icon::after {
  top: 0; bottom: 0; left: 6px;
  width: 2px;
}

.faq[open] .faq__icon::after { transform: scaleY(0); }

.faq p {
  padding: 0 22px 22px 56px;
  font-size: 14px;
  color: var(--body);
  position: relative;
}

.faq p::before {
  content: "A";
  position: absolute;
  left: 23px;
  font-family: var(--font-en);
  font-weight: 800;
  color: var(--ink);
  font-size: 17px;
}

/* ==========================================================
   CTAバンド
   ========================================================== */
.ctaband {
  background: var(--primary);
  color: #fff;
  padding: clamp(80px, 11vw, 150px) 0;
  overflow: hidden;
}

.ctaband__inner { text-align: center; }

.ctaband__title {
  font-size: clamp(38px, 6.4vw, 76px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 18px;
}

.ctaband__lead {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: clamp(30px, 4vw, 44px);
}

/* ==========================================================
   フォーム
   ========================================================== */
.form {
  max-width: 740px;
  background: var(--canvas);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: clamp(28px, 4.4vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.form-field { display: flex; flex-direction: column; gap: 9px; border: 0; }

.form-field label, .form-field legend {
  font-size: 13px;
  font-weight: 700;
}

.req, .opt {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: 1px;
}

.req { background: var(--primary); color: #fff; }
.opt { background: var(--hairline); color: var(--body); }

.form-field input,
.form-field textarea {
  width: 100%;
  min-width: 0;
  font-family: var(--font-jp);
  font-size: 15px;
  color: var(--ink);
  background: var(--canvas-soft);
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.25s, background-color 0.25s;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  background: #fff;
}

.form-field textarea { resize: vertical; min-height: 120px; }

.form-radios { display: flex; gap: 12px; margin-top: 8px; }

.radio { cursor: pointer; }
/* 完全に描画不能な隠し方（width:100%共通ルールの巻き添えで740px幅の
   バーになり、クリック時に一瞬チラつくバグの修正 2026-07-10） */
.radio input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  opacity: 0;
  appearance: none;
}

.radio span {
  display: inline-block;
  border: 2px solid var(--hairline);
  border-radius: var(--pill);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--body);
  transition: all 0.25s;
}

.radio input:checked + span {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-deep);
}

.radio input:focus-visible + span { border-color: var(--primary); }

.form-consent {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  cursor: pointer;
}

.form-consent input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.form-consent a { color: var(--primary); text-decoration: underline; }

.btn--submit {
  align-self: flex-start;
  border: 0;
  cursor: pointer;
  font-family: var(--font-jp);
}

.form-note { font-size: 13px; color: var(--primary-deep); min-height: 1.4em; }

/* ==========================================================
   フッター
   ========================================================== */
.footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(44px, 6vw, 72px) 0 30px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}

.footer__logo {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.05em;
}

.footer__by { margin-top: 8px; font-size: 13px; color: rgba(255, 254, 251, 0.55); }
.footer__by a { text-decoration: underline; }

.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }

.footer__links a {
  font-size: 13px;
  color: rgba(255, 254, 251, 0.7);
  transition: color 0.25s;
}

.footer__links a:hover { color: var(--primary); }

.footer__copy {
  text-align: center;
  font-family: var(--font-en);
  font-size: 11px;
  color: rgba(255, 254, 251, 0.4);
  margin-top: 44px;
}

/* ==========================================================
   モバイル固定CTA
   ========================================================== */
.mobile-cta {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 90;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  text-align: center;
  padding: 17px;
  border-radius: var(--pill);
  box-shadow: 0 10px 28px rgba(255, 79, 0, 0.45);
}

/* ==========================================================
   レスポンシブ
   ========================================================== */
@media (max-width: 960px) {
  .problems__grid { grid-template-columns: repeat(2, 1fr); }
  .reasons__track { flex-direction: column; width: auto; }
  .rcard { width: 100%; }
  .works__grid { grid-template-columns: repeat(2, 1fr); }
  .work__shot { --shot-h: clamp(320px, 44vw, 420px); }
}

@media (max-width: 768px) {
  .pc { display: none; }
  .header__nav { display: none; }
  .header__brand { gap: 7px; }
  .header__logo { font-size: 18px; }
  .header__by { font-size: 10px; white-space: nowrap; }
  .header__cta { margin-left: auto; white-space: nowrap; font-size: 12px; padding: 11px 18px; }
  .ctaband__title { font-size: clamp(28px, 8.6vw, 38px); text-wrap: balance; }
  .problems__grid, .plans__grid, .form-row { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 110px; }
  .hero__stats { flex-wrap: wrap; gap: 18px 28px; }
  .btn { width: 100%; justify-content: center; }
  .btn--submit { width: 100%; }
  .mobile-cta { display: block; }
  body { padding-bottom: 78px; }
  .studio__pin { min-height: auto; padding: 90px 0; }
}

/* ==========================================================
   reduced motion
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .cursor { display: none !important; }
  .marker::after { transform: scaleX(1); }
}
