@charset "UTF-8";

/* =========================================================
   特注クラウド — LP stylesheet v3 (sky, cloud and kingfisher; see art-direction.css)
   Zero dependency. Fonts: self-hosted Zen Kaku Gothic New (see art-direction.css).
   index.html と unsubscribed.html の両方をこの1枚で賄う。
   ========================================================= */

:root {
  --ink: #1b2a4a;
  --ink-deep: #14203a;
  --text: #1a2033;
  --muted: #5c6478;
  --tint: #e8ecf4;
  --tint-2: #f4f6fa;
  --line: #dde2ea;
  --white: #ffffff;
  --on-ink: #ffffff;
  --on-ink-70: #b9c1d2;

  --container: 1200px;
  --narrow: 860px;
  --radius: 6px;
  --radius-card: 12px;

  --header-h: 68px;
  --gutter: 24px;
  --sec-pad: 112px;

  --font-jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic,
    Meiryo, system-ui, sans-serif;
  --font-en: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ---------- base ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  background: var(--white);
  font-feature-settings: "palt" 1;
  /* 日本語を文節で折り返す（対応ブラウザのみ） */
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

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

a {
  color: var(--ink);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink-deep);
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.45;
  font-weight: 900;
}

p {
  margin: 0 0 1.2em;
}

p:last-child {
  margin-bottom: 0;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* ---------- layout ---------- */

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

.container.narrow {
  max-width: var(--narrow);
}

.section {
  padding-block: var(--sec-pad);
}

.section.band {
  background: var(--tint-2);
}

.sec-head {
  margin-bottom: 56px;
}

.kicker {
  margin: 0 0 12px;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.4;
}

h2 {
  font-size: 28px;
}

.sec-intro {
  margin: 20px 0 0;
  max-width: 62ch;
  color: var(--text);
}

h3 {
  font-size: 19px;
}

.note {
  margin: 24px 0 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.source {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.source a {
  color: var(--muted);
}

.hl {
  color: var(--ink);
  font-weight: 900;
}

.todo {
  background: var(--tint);
  color: var(--muted);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 13px;
}

/* ---------- 部品: ボタン ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 14px 28px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease;
}

.btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}

.btn-primary:hover {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  color: var(--on-ink);
}

.btn-outline {
  background: var(--white);
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  color: var(--on-ink);
}

/* unsubscribed.html が使う。見た目は .btn-outline と同じ */
.btn-ghost {
  background: var(--white);
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  color: var(--on-ink);
}

.btn-lg {
  padding: 17px 32px;
  font-size: 16px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 110px;
  padding: 18px 24px;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(27, 42, 74, 0.15);
  transition: background-color 0.18s ease;
}

.btn-big:hover {
  background: var(--ink-deep);
  color: var(--on-ink);
}

.btn-big-title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
}

.btn-big-sub {
  font-size: 13px;
  line-height: 1.6;
  color: var(--on-ink-70);
}

/* ---------- 部品: ラベル・数字 ---------- */

.badge {
  display: inline-block;
  margin: 0 0 24px;
  padding: 5px 12px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}

.num-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.num-badge {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 22px;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--radius-card);
}

.num-badge-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text);
}

.num-badge-value {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 2px;
  color: var(--ink);
}

.num-badge-value .num {
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.num-badge-value .unit {
  font-size: 16px;
  font-weight: 900;
}

/* ---------- 部品: 写真枠 ---------- */

.photo-slot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: var(--ratio, 4 / 3);
  background: var(--tint);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.photo-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-slot--4x3 {
  --ratio: 480 / 360;
}

.photo-slot--band {
  --ratio: 1600 / 420;
}

/* ---------- 部品: カード・矢印リンク ---------- */

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
}

.more {
  position: relative;
  display: inline-block;
  padding-right: 76px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
  text-decoration: none;
}

.more::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 60px;
  height: 1px;
  background: currentColor;
}

.more::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 11px;
  height: 1px;
  background: currentColor;
  transform-origin: right center;
  transform: rotate(-28deg);
}

.more:hover::after {
  width: 68px;
}

/* ---------- 表 ---------- */

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.75;
}

caption {
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  padding-bottom: 10px;
}

th,
td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

thead th {
  background: var(--tint-2);
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

tbody th {
  background: var(--tint-2);
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.compare-corner {
  border: 1px solid var(--line);
  background: var(--tint-2);
}

/* 6列を1カラム幅に収めるため、比較表だけ字送りと余白を詰める。
   これ以上詰めると語中で折れるので、.price と同じく .table-scroll に逃がす */
.compare {
  min-width: 640px;
  font-size: 12px;
}

.compare th,
.compare td {
  padding: 8px 10px;
}

.compare thead th.is-us {
  background: var(--ink);
  color: var(--on-ink);
}

.compare td.is-us {
  background: var(--tint);
  color: var(--ink);
  font-weight: 700;
}

.price {
  min-width: 720px;
}

/* ---------- 定義リスト ---------- */

.timetable,
.company-mini {
  margin: 0;
}

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

.logo {
  flex: none;
  display: block;
}

.logo img {
  height: 28px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-right: auto;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header-actions .btn {
  padding: 10px 16px;
  font-size: 13px;
  white-space: nowrap;
}

/* ---------- 1 ヒーロー ---------- */

.hero {
  position: relative;
  padding-block: 64px 72px;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  /* 背面の抽象画（.hero-art）のはみ出しをここで切る */
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  /* h1 の1行（最長9文字）が 52px でも折れない幅を左に確保する */
  grid-template-columns: 60fr 40fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.4;
  color: var(--ink);
}

.hero h1 span {
  display: inline-block;
}

.hero-lead {
  margin: 28px 0 0;
  max-width: 44ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* 初期画面の折り返し位置に置く（本文カラムの左外側・ヒーロー下端ではなく) */
.scroll-hint {
  position: absolute;
  left: max(16px, calc((100% - var(--container)) / 2 - 44px));
  top: calc(100vh - var(--header-h) - 150px);
  z-index: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-hint::before {
  content: "";
  width: 1px;
  height: 80px;
  background: var(--ink);
  opacity: 0.4;
}

.scroll-hint span {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  writing-mode: vertical-rl;
}

/* ---------- グリッドの子（表・長い数値ではみ出させない） ---------- */

.situation,
.usecase,
.stage,
.ladder-step {
  min-width: 0;
}

/* ---------- 3 SITUATIONS ---------- */

.situations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.situation-n {
  margin: 20px 0 6px;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.situation h3 {
  margin-bottom: 14px;
  font-size: 19px;
}

.situation p:not(.situation-n):not(.source) {
  font-size: 15px;
  line-height: 1.9;
}

/* ---------- 4 ABOUT ---------- */

.about .define {
  margin-top: 0;
  padding: 24px;
  background: var(--tint);
  border-left: 4px solid var(--ink);
}

.about .define p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

.about-lead {
  margin: 24px 0 0;
  max-width: 62ch;
}

.about-band {
  /* 本文と Before/After バーの間に置く全幅の写真帯 */
  --band-h: 360px;
  margin-top: 64px;
}

.about-band-photo {
  height: var(--band-h);
}

.about-band-photo .photo-slot {
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
}

.ba-bar {
  margin-top: 72px;
  padding: 32px;
  background: var(--tint-2);
  border-radius: var(--radius-card);
}

.ba-row {
  display: grid;
  grid-template-columns: 170px 1fr 130px;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.ba-label {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.ba-track {
  height: 34px;
  display: flex;
  align-items: center;
}

.ba-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
}

.ba-fill.is-base {
  width: 100%;
  background: var(--line);
}

.ba-fill.is-us {
  width: 20%;
  background: var(--ink);
}

.ba-value {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}

.ba-caption {
  margin: 18px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 5 USE CASE ---------- */

.usecases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.usecase {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.usecase-screen {
  background: var(--ink);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  padding: 22px 22px 16px;
}

.usecase-art {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
}

.screen-note {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.7;
  color: var(--on-ink-70);
}

.usecase-body {
  flex: 1;
  padding: 26px 28px 24px;
}

.usecase-body h3 {
  font-size: 20px;
}

.ps-label {
  display: inline-block;
  margin: 18px 0 8px;
  padding: 2px 10px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.ps-problem {
  color: var(--ink);
  background: var(--white);
}

.ps-solution {
  color: var(--on-ink);
  background: var(--ink);
}

.ps-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
}

.ps-text.is-solution {
  color: var(--ink);
  font-weight: 700;
}

.tool-points {
  margin: 16px 0 0;
  padding-left: 1.1em;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.tool-points li {
  margin-bottom: 4px;
}

.usecase-foot {
  margin: 0;
  padding: 16px 28px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 13px;
  line-height: 1.8;
}

/* チップ */

.chips-line {
  margin: 48px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
}

.chip-head {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chip-list li {
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
}

/* ---------- 6・12 CTA帯 ---------- */

.cta-band {
  padding-block: 64px;
}

.cta-band-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* ---------- 7 FEATURE ---------- */

.features {
  display: grid;
  gap: 96px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 図の列は比較表の min-width 640px が収まる幅（1200pxコンテナで662px）にする */
.feature {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}

/* 表を含む列が min-content で膨らまないようにする（横スクロールは .table-scroll に閉じる） */
.feature > * {
  min-width: 0;
}

.features > li:nth-child(even) .feature-copy {
  order: 2;
}

.feature-copy {
  position: relative;
}

.feature-copy h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  font-size: 24px;
}

/* :not() で .watermark-n を外す（詳細度で絶対配置を上書きしないため） */
.feature-copy p:not(.watermark-n) {
  position: relative;
  z-index: 1;
  font-size: 15px;
  line-height: 1.9;
}

.watermark-n {
  position: absolute;
  top: -34px;
  left: -10px;
  z-index: 0;
  margin: 0;
  font-family: var(--font-en);
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
  color: var(--tint);
  pointer-events: none;
}

.ladder-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-items: end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ladder-step {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 18px;
  background: var(--tint-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-bottom: 3px solid var(--ink);
}

.ladder-steps > li:nth-child(1) {
  padding-top: 20px;
}

.ladder-steps > li:nth-child(2) {
  padding-top: 44px;
  background: var(--tint);
}

.ladder-stage {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.ladder-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.5;
}

.ladder-meta {
  font-size: 12px;
  color: var(--muted);
}

.ladder-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.ladder-more {
  margin: 24px 0 0;
}

/* ---------- 8 進め方 ---------- */

.stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.stage {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
}

.stage-n {
  margin: 0 0 8px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.stage h3 {
  font-size: 21px;
}

.stage-meta {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.8;
}

.timetable {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.timetable dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.85;
}

.timetable dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
}

/* ---------- 10 フォーム ---------- */

.form-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 40px;
}

.purpose {
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--tint-2);
}

.purpose legend {
  padding: 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.purpose-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 15px;
  cursor: pointer;
}

.purpose-option input {
  margin-top: 6px;
  accent-color: var(--ink);
}

.field {
  display: block;
  margin-bottom: 18px;
}

.sample-materials[hidden] {
  display: none;
}


.field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.req {
  margin-left: 4px;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  /* 入力文字は本文書体のサブセット外に出るので、OS書体に固定して字形の混在を避ける */
  font-family: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.field-note {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  margin-top: 28px;
}

.form-status {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: var(--tint);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.8;
}

.form-note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 11 FAQ ---------- */

.faq {
  display: grid;
  gap: 14px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 0 24px;
}

.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 44px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink);
}

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

.faq summary::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 22px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 900;
}

.faq summary::after {
  content: "＋";
  position: absolute;
  right: 0;
  top: 22px;
  color: var(--ink);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details > p {
  position: relative;
  margin: 0;
  padding: 18px 0 24px 44px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.9;
}

.faq details > p::before {
  content: "A";
  position: absolute;
  left: 4px;
  top: 16px;
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 900;
  color: var(--muted);
}

/* ---------- フッター ---------- */

.site-footer {
  background: var(--ink-deep);
  color: var(--on-ink);
  padding-block: 72px 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr;
  gap: 48px;
}

.footer-logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-tag {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--on-ink-70);
}

.footer-head {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--on-ink);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-links a,
.company-mini a,
.footer-note a {
  color: var(--on-ink-70);
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover,
.company-mini a:hover,
.footer-note a:hover {
  color: var(--on-ink);
  text-decoration: underline;
}

.company-mini {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 6px 16px;
}

.company-mini dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--on-ink-70);
  line-height: 1.8;
}

.company-mini dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--on-ink);
}

.company-mini .todo {
  background: rgba(255, 255, 255, 0.12);
  color: var(--on-ink-70);
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-note {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--on-ink-70);
}

.footer-note a {
  font-size: 12px;
  text-decoration: underline;
}

.copyright {
  margin: 20px 0 0;
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--on-ink-70);
}

/* フッター下段は著作権表記のみ。.footer-bottom の padding-top が唯一の余白になる */
.footer-bottom .copyright {
  margin-top: 0;
}

/* ---------- 配信停止ページ（unsubscribed.html） ---------- */

.page-simple {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--tint-2);
}

.simple-main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  padding-block: 96px;
}

.simple-card {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 48px;
}

.simple-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 0 24px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.simple-card h1 {
  margin-bottom: 0.8em;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.5;
}

.simple-lead {
  margin: 0 0 1.8em;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.9;
}

.simple-note {
  margin: 0 0 1em;
  max-width: 62ch;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

.simple-cta {
  margin: 36px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

/* フッターは1列（リンク列・会社情報を持たないページのため） */
.page-simple .footer-inner {
  grid-template-columns: 1fr;
}

.footer-name {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--on-ink);
}

.page-simple .copyright {
  margin-top: 16px;
}

/* ---------- レスポンシブ ---------- */

/* コンテナが 1200px を下回ると Scroll の縦書きが本文カラムの文頭に重なるので落とす */
@media (max-width: 1279px) {
  .scroll-hint {
    display: none;
  }
}

@media (max-width: 1023px) {
  :root {
    --sec-pad: 88px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 0;
    padding-block: 56px 64px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-lead {
    max-width: none;
  }

  .situations {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .situation {
    display: grid;
    grid-template-columns: 240px 1fr;
    grid-template-areas: "photo n" "photo title" "photo text" "photo source";
    gap: 0 28px;
    align-content: start;
  }

  .situation .photo-slot {
    grid-area: photo;
  }

  .situation-n {
    grid-area: n;
    margin-top: 0;
  }

  .situation h3 {
    grid-area: title;
  }

  .usecases,
  .ladder-steps {
    grid-template-columns: 1fr;
  }

  /* 3カードは 1024px 未満で2列、767px 以下で1列に落とす */
  .stages {
    grid-template-columns: repeat(2, 1fr);
  }

  .ladder-steps > li {
    padding-top: 20px;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .features > li:nth-child(even) .feature-copy {
    order: 0;
  }

  .features {
    gap: 72px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --sec-pad: 72px;
  }

  body {
    font-size: 15px;
  }

  h2 {
    font-size: 24px;
  }

  .sec-head {
    margin-bottom: 40px;
  }

  .header-actions .btn-outline {
    display: none;
  }

  .header-inner {
    gap: 12px;
  }

  .header-actions .btn {
    font-size: 13px;
    padding: 9px 12px;
    /* 320px 級では2行に折り返させる（はみ出させない） */
    white-space: normal;
  }

  .logo img {
    height: 24px;
  }

  .cta-row .btn {
    width: 100%;
  }

  .num-badges {
    gap: 12px;
  }

  .num-badge {
    flex: 1 1 140px;
    padding: 12px 16px;
  }

  .num-badge-value .num {
    font-size: 32px;
  }

  .stages {
    grid-template-columns: 1fr;
  }

  .situation {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .situation .photo-slot,
  .situation-n,
  .situation h3 {
    grid-area: auto;
  }

  .situation-n {
    margin-top: 20px;
  }

  .about-band {
    --band-h: 220px;
    margin-top: 40px;
  }

  .ba-bar {
    margin-top: 48px;
    padding: 20px;
  }

  .ba-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ba-value {
    text-align: left;
  }

  .usecase-body {
    padding: 22px 20px;
  }

  .usecase-foot {
    padding: 14px 20px;
  }

  .cta-band-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .btn-big {
    min-height: 92px;
  }

  .btn-big-title {
    font-size: 17px;
  }

  .watermark-n {
    display: none;
  }

  .feature-copy h3 {
    font-size: 21px;
  }

  .stage,
  .card,
  .form-card {
    padding: 24px 20px;
  }

  .timetable {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .timetable dd {
    margin-bottom: 12px;
  }

  .faq details {
    padding: 0 18px;
  }

  .faq summary {
    padding: 18px 32px 18px 36px;
    font-size: 15px;
  }

  .faq summary::before {
    top: 18px;
    width: 24px;
    height: 24px;
    font-size: 13px;
  }

  .faq summary::after {
    top: 18px;
  }

  .faq details > p {
    padding-left: 36px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .simple-main {
    padding-block: 56px;
  }

  .simple-card {
    padding: 28px 20px 32px;
  }
}

@media (max-width: 420px) {
  /* 「最大97%短縮」を1行で保つため、バッジは縦積みにして幅を確保する */
  .num-badges {
    flex-direction: column;
  }

  .num-badge {
    flex: 0 0 auto;
    width: 100%;
  }
}

/* ---------- 動き ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .sec-head,
    .situation,
    .usecase,
    .feature,
    .stage,
    .card,
    .ba-bar,
    .faq details {
      animation: rise 0.4s ease-out both;
      animation-timeline: view();
      animation-range: cover 0% cover 18%;
    }
  }
}

/* ---------- 印刷 ---------- */

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .site-header,
  .cta-band,
  .scroll-hint,
  #contact {
    display: none !important;
  }

  .section {
    padding-block: 24px;
  }

  .section.band,
  .card,
  .stage,
  .ba-bar,
  .usecase {
    background: #fff;
  }

  .card,
  .stage,
  .usecase,
  .feature,
  .situation,
  .faq details {
    break-inside: avoid;
  }

  .site-footer {
    background: #fff;
    color: #000;
  }

  .footer-logo {
    filter: none;
  }
}
