/* =========================================================
   to.Morrow LP シリーズの共通スタイル
   （Web制作・運用 /web/ と 動画制作 /movie/ で共有）

   ・色・余白・文字の大きさは :root の変数を直せば全LPに反映されます。
   ・サービスごとに違うのは「テーマ色」だけです。
     <html data-theme="web"> または <html data-theme="movie"> で切り替えます。
     新しいLPを足すときは、下の [data-theme] を1つ増やしてください。
   ・スマホを基準に書き、画面が広いときだけ @media で調整しています。
   ========================================================= */

:root {
  /* 色 */
  --navy: #13243a;          /* 文字・濃い背景 */
  --navy-soft: #4a5a6e;     /* 補足の文字 */
  --bg: #faf8f4;            /* ページの背景 */
  --white: #ffffff;
  /* テーマ色（サービスごとに切り替え。初期値は Web制作の水色） */
  --theme: #00aeef;         /* 飾り用（線・帯など）。文字には使わない */
  --theme-text: #0077a8;    /* テーマ色の文字・リンク */
  --theme-pale: #e6f6fd;    /* 薄い背景 */
  --sub: #ff8c42;           /* 差し色 */

  --orange: #ff8c42;        /* オレンジ（「おすすめ」の札など） */
  /* 申し込みボタン（HP・LP・プラグインサイト共通）。薄めのオレンジに濃いグレーの文字（6.0:1） */
  --button-bg: #ffa35c;
  --button-bg-hover: #ff9548;
  --button-text: #33383d;

  /* AI（攻め）＝オレンジ、IT（守り）＝水色。顧問LPで使い分ける */
  --ai: #ff8c42;
  --ai-text: #b34e08;       /* 指定の #C2560A を、小さい文字でも読める濃さにした色 */
  --ai-pale: #fff1e4;
  --it: #00aeef;
  --it-text: #0077a8;
  --it-pale: #e6f6fd;
  --orange-dark: #e9721f;
  --line: #e4e0d8;          /* 区切り線 */
  --brand-gradient: linear-gradient(90deg, #00aeef 0%, #00aeef 35%, #ffa75c 50%, #ff6f00 100%);

  /* 文字 */
  --font-head: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --fs-base: 1rem;
  --fs-small: 0.875rem;
  --fs-h2: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  --fs-h3: 1.125rem;

  /* 余白 */
  --gutter: 20px;           /* 画面の左右の余白 */
  --section-y: 72px;        /* セクションの上下の余白 */
  --gap: 16px;
  --radius: 14px;
  --container: 1120px;
  --container-narrow: 760px;
  --header-h: 60px;

  --shadow: 0 1px 2px rgba(19, 36, 58, 0.06), 0 8px 24px rgba(19, 36, 58, 0.06);
}

/* 動画制作：オレンジがテーマ、水色が差し色 */
[data-theme="movie"] {
  --theme: #ff8c42;
  --theme-text: var(--ai-text);
  --theme-pale: #fff1e4;
  --sub: #00aeef;
}

/* AI・IT伴走顧問：水色を基本に、AIの部分はオレンジで塗り分ける */
[data-theme="advisor"] {
  --theme: #00aeef;
  --theme-text: #0077a8;
  --theme-pale: #e6f6fd;
  --sub: #ff8c42;
}

/* kintoneシステム開発：黄色。#FFCC00 は面や帯だけに使い、文字には使わない。
   黄色の面の上の小さい文字は紺（#7A5F00 だと 4.0:1 で基準に届かないため）。 */
[data-theme="kintone"] {
  --theme: #ffcc00;
  --theme-text: #7a5f00;   /* 白地・生成り・薄い黄色の上の文字（5.4:1 以上） */
  --theme-pale: #fff3bf;
  --sub: #00aeef;
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
    --section-y: 112px;
    --gap: 24px;
    --header-h: 72px;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.85;
  color: var(--navy);
  background: var(--bg);
}

/* ページ上端の細いブランド帯 */
body::before {
  content: ""; display: block; height: 4px; background: var(--brand-gradient);
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
  letter-spacing: 0.02em;
}

p { margin: 0; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--theme-text); }
a:hover { text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--theme-text);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.u-accent { color: var(--theme-text); }
.u-pc { display: none; }
@media (min-width: 768px) { .u-pc { display: inline; } }
.u-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: 8px; top: -100px; z-index: 100;
  padding: 8px 16px; background: var(--navy); color: var(--white); border-radius: 8px;
}
.skip:focus { top: 8px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.4;
  text-align: center; text-decoration: none;
  border: 0; border-radius: 999px; cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}
.btn--primary { background: var(--button-bg); color: var(--button-text); }
.btn--primary:hover { background: var(--button-bg-hover); }
.btn--primary:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: var(--fs-small); white-space: nowrap; }
.btn--lg { min-height: 56px; padding: 14px 16px; font-size: 1rem; }
@media (min-width: 768px) {
  .btn--lg { padding-inline: 32px; font-size: 1.0625rem; }
}
.btn--block { display: flex; width: 100%; }

/* ---------- ヘッダー ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, 0.97);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.header__logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--navy); }
.header__logo img { height: 32px; width: auto; }
.header__logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.02em; }

/* ---------- 1. ファーストビュー ---------- */
.hero { padding-block: 40px 64px; overflow: hidden; }
.hero__inner { display: grid; gap: 40px; align-items: center; }
.hero__label {
  display: inline-block; margin-bottom: 16px; padding: 4px 12px;
  font-size: var(--fs-small); font-weight: 700; color: var(--theme-text);
  background: var(--theme-pale); border-radius: 999px;
}
.hero__title { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); line-height: 1.4; }
.hero__lead { margin-top: 20px; color: var(--navy-soft); }
.hero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 28px; }
.hero__cta .btn { width: 100%; }
.hero__sub-link { font-weight: 700; font-size: var(--fs-small); }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: var(--fs-small); font-weight: 700; }
.hero__points li { position: relative; display: flex; align-items: center; gap: 6px; }
.hero__points li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--theme-pale);
}
.hero__points li::after {
  content: ""; position: absolute; left: 5px; top: 50%; width: 8px; height: 4px; margin-top: -3px;
  border-left: 2px solid var(--theme-text); border-bottom: 2px solid var(--theme-text); transform: rotate(-45deg);
}

/* ファーストビュー右側の仮の絵（画像に差し替える場所） */
.hero__visual { position: relative; aspect-ratio: 4 / 3; }
.mock {
  position: absolute; inset: 0 12% 10% 0;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden;
}
.mock__bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.mock__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock__body { padding: 6%; display: grid; gap: 10px; }
.mock__hero { height: 0; padding-bottom: 32%; border-radius: 8px; background: linear-gradient(120deg, var(--theme-pale), #fdebdc); }
.mock__line { height: 10px; border-radius: 5px; background: #eef0f3; width: 70%; }
.mock__line--l { width: 90%; height: 14px; background: #dfe5ec; }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.mock__cards i { display: block; height: 0; padding-bottom: 70%; border-radius: 6px; background: #f2f4f6; }
.mock--phone {
  inset: auto 0 0 auto; width: 30%; aspect-ratio: 9 / 17; border-radius: 18px;
  border: 5px solid var(--navy);
}
.mock--phone .mock__body { padding: 10%; gap: 8px; }
.mock--phone .mock__hero { padding-bottom: 70%; }
.mock--phone .mock__line { height: 7px; }

@media (min-width: 900px) {
  .hero { padding-block: 72px 112px; }
  .hero__inner { grid-template-columns: 1.25fr 1fr; gap: 56px; }
  .hero__cta { flex-direction: row; align-items: center; gap: 24px; }
  .hero__cta .btn { width: auto; }
}

/* ---------- セクション共通 ---------- */
.section { padding-block: var(--section-y); }
/* 画面の外にあるセクションは、見えるまで描画を後回しにして初回表示を速くする */
.section { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.section--white { background: var(--white); }
.section__en {
  font-family: var(--font-head); font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.2em; color: var(--theme-text); text-align: center; margin-bottom: 8px;
}
.section__title { font-size: var(--fs-h2); text-align: center; }
.section__lead { margin-top: 16px; text-align: center; color: var(--navy-soft); }

/* ---------- 2. お悩み ---------- */
.worries { display: grid; gap: var(--gap); margin-top: 40px; }
.worry {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.worry__icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px;
  border-radius: 50%; background: var(--theme-pale); color: var(--theme-text);
}
.worry__title { font-size: var(--fs-h3); margin-bottom: 8px; }
.worry p { color: var(--navy-soft); font-size: 0.9375rem; }
.worries__answer {
  margin-top: 40px; text-align: center; font-family: var(--font-head);
  font-weight: 700; font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
}
.worries__answer strong { color: var(--theme-text); }
@media (min-width: 768px) {
  .worries { grid-template-columns: repeat(3, 1fr); margin-top: 56px; }
}

/* ---------- 3. 特徴 ---------- */
.features { display: grid; gap: var(--gap); margin-top: 40px; }
.feature {
  position: relative; padding: 28px 24px; border-radius: var(--radius);
  background: var(--bg); border-top: 4px solid var(--theme);
}
.feature__num {
  display: block; font-family: var(--font-head); font-weight: 700; font-size: 2rem;
  line-height: 1; color: var(--theme-text); margin-bottom: 14px;
}
.feature__title { font-size: 1.1875rem; margin-bottom: 12px; }
.feature p { font-size: 0.9375rem; color: var(--navy-soft); }
@media (min-width: 900px) {
  .features { grid-template-columns: repeat(3, 1fr); margin-top: 56px; }
  .feature { padding: 36px 32px; }
}

/* ---------- 4. 制作の流れ ---------- */
.flow { display: grid; gap: 0; margin-top: 40px; max-width: 760px; margin-inline: auto; }
.flow__step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding-bottom: 28px; }
.flow__step:not(:last-child)::before {
  content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--line);
}
.flow__num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.125rem;
}
.flow__step:first-child .flow__num { background: var(--theme-text); }
.flow__title { font-size: var(--fs-h3); padding-top: 9px; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.flow__step p { font-size: 0.9375rem; color: var(--navy-soft); }
.tag { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: 0.75rem; font-family: var(--font-body); }
.tag--free { background: var(--theme-pale); color: var(--theme-text); }

/* ---------- 5. 料金 ---------- */
.price-heading {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.25rem; margin: 48px 0 20px;
}
.price-heading::before { content: ""; width: 6px; height: 1.2em; border-radius: 3px; background: var(--theme); }
.plans { display: grid; gap: var(--gap); }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.plan__name { font-weight: 700; font-size: 0.9375rem; }
.plan__price { margin-top: 4px; font-weight: 700; font-size: 1rem; }
.plan__num { font-family: var(--font-head); font-size: 2rem; letter-spacing: 0.01em; margin-right: 2px; }
.plan__price small { font-size: 0.8125rem; color: var(--navy-soft); margin-left: 2px; }
.plan__desc { margin-top: 8px; font-size: 0.875rem; color: var(--navy-soft); line-height: 1.7; }
.plan__list { margin-top: 12px; display: grid; gap: 6px; font-size: 0.9375rem; }
.plan__list li { position: relative; padding-left: 22px; line-height: 1.6; }
.plan__list li::before {
  content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px;
  border-left: 2px solid var(--theme-text); border-bottom: 2px solid var(--theme-text); transform: rotate(-45deg);
}
.plan--recommend { border: 2px solid var(--theme-text); box-shadow: var(--shadow); }
.plan__badge {
  position: absolute; top: -13px; left: 24px; padding: 2px 14px;
  font-size: 0.8125rem; font-weight: 700; color: var(--navy);
  background: var(--orange); border-radius: 999px;
}
.plan--wide { gap: 8px; background: var(--bg); border: 0; }
.price-note {
  margin-top: 16px; padding: 14px 18px; border-radius: 10px; background: var(--bg);
  font-size: 0.9375rem; font-weight: 700;
}
.price-note__label {
  display: inline-block; margin-right: 8px; padding: 1px 10px; border-radius: 999px;
  font-size: 0.75rem; background: var(--navy); color: var(--white); vertical-align: 2px;
}
@media (max-width: 599px) {
  .price-note__label { display: table; margin-bottom: 6px; }
}
.price-other { margin-top: 32px; font-size: 0.875rem; color: var(--navy-soft); }

@media (min-width: 600px) {
  .plans--make { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .plans--run { grid-template-columns: repeat(3, 1fr); }
  .plan--wide { flex-direction: row; align-items: center; justify-content: space-between; padding: 28px 40px; }
  .plan--wide .plan__list { margin-top: 0; }
}

/* 無料試作の帯 */
.free-banner {
  display: flex; align-items: center; gap: 16px; margin-top: 32px; padding: 18px 20px;
  background: var(--theme-pale); border-radius: var(--radius); font-weight: 700; line-height: 1.7;
}
.free-banner__price {
  flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--white); color: var(--theme-text); font-family: var(--font-head); font-size: 1.25rem;
}
.price-small { margin-top: 12px; font-size: 0.8125rem; color: var(--navy-soft); line-height: 1.8; }

/* オプション表 */
.options { display: grid; align-items: start; gap: 0 var(--gap); background: var(--bg); border-radius: var(--radius); padding: 8px 20px; }
.options__table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.options__cap { caption-side: top; padding: 14px 0 2px; text-align: left; font-size: 0.875rem; font-weight: 700; color: var(--theme-text); }
.options__table th,
.options__table td { padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.6; }
.options__table th { text-align: left; font-weight: 400; padding-right: 12px; }
.options__table td { text-align: right; font-weight: 700; white-space: nowrap; }
.options__table td small { font-weight: 400; color: var(--navy-soft); font-size: 0.8125rem; }
.options__table:last-child tr:last-child th,
.options__table:last-child tr:last-child td { border-bottom: 0; }

/* よくある組み合わせ */
.combos { display: grid; gap: var(--gap); }
.combo { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.combo__title { font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; margin-bottom: 12px; }
.combo__list { display: grid; gap: 6px; font-size: 0.875rem; color: var(--navy-soft); }
.combo__list li,
.combo__total { display: flex; justify-content: space-between; gap: 12px; }
.combo__list li span:last-child { white-space: nowrap; }
.combo__total { align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 2px solid var(--navy); font-weight: 700; }

@media (min-width: 900px) {
  .free-banner { padding: 20px 32px; font-size: 1.0625rem; }
  .options { grid-template-columns: 1fr 1fr; padding: 12px 32px; }
  .options__table:first-child tr:last-child th,
  .options__table:first-child tr:last-child td { border-bottom: 0; }
  .combos { grid-template-columns: 1fr 1fr; }
  .combo { padding: 28px 32px; }
}

/* ---------- 6. 制作実績 ---------- */
.works { display: grid; gap: var(--gap); margin-top: 40px; }
.work {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.work__img { aspect-ratio: 16 / 10; display: grid; place-items: center; }
.work__img img { width: 100%; height: 100%; object-fit: cover; }
.work__img--placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, #1f3a5c 100%);
  color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.04em;
}
.work__img--soon {
  background: repeating-linear-gradient(45deg, #f4f1eb 0 12px, #efebe3 12px 24px);
  color: var(--navy-soft); font-family: var(--font-head); font-weight: 700; letter-spacing: 0.1em;
}
.work__body { padding: 24px; }
.work__cat { font-size: 0.8125rem; font-weight: 700; color: var(--theme-text); }
.work__title { font-size: 1.25rem; margin: 4px 0 8px; }
.work__body p:not(.work__cat) { font-size: 0.9375rem; color: var(--navy-soft); }
.work__link { display: inline-block; margin-top: 12px; font-weight: 700; }
.work--soon { box-shadow: none; border-style: dashed; }
@media (min-width: 768px) {
  .works { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
}

/* ---------- 7. よくある質問 ---------- */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  position: relative; display: block; padding: 20px 44px 20px 36px;
  font-weight: 700; cursor: pointer; list-style: none; line-height: 1.6;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before {
  content: "Q"; position: absolute; left: 4px; top: 19px;
  font-family: var(--font-head); color: var(--theme-text); font-size: 1.125rem;
}
.faq__item summary::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: rotate(45deg); transition: transform 0.2s;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__a { position: relative; padding: 0 8px 22px 36px; color: var(--navy-soft); font-size: 0.9375rem; }
.faq__a::before {
  content: "A"; position: absolute; left: 4px; top: -2px;
  font-family: var(--font-head); font-weight: 700; color: var(--orange-dark); font-size: 1.125rem;
}

/* ---------- 8. お問い合わせ ---------- */
.contact { background: var(--theme-pale); }
.form {
  margin-top: 40px; padding: 28px 20px; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.form__row { margin-bottom: 22px; }
.form__row label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-weight: 700; font-size: 0.9375rem; }
.req, .opt { padding: 0 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; line-height: 1.7; }
.req { background: var(--navy); color: var(--white); }
.opt { background: #eceae5; color: var(--navy-soft); }
.form input,
.form textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: 1rem; /* 16px 以上にして、iPhoneでの自動拡大を防ぐ */
  color: var(--navy); background: var(--bg);
  border: 1px solid #c9c4ba; border-radius: 10px;
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus,
.form select:focus,
.form textarea:focus { outline: 3px solid var(--theme-pale); border-color: var(--theme-text); background: var(--white); }
.form [aria-invalid="true"] { border-color: #c0392b; background: #fdf3f2; }
.form__error { margin-top: 6px; font-size: 0.8125rem; color: #b03a2e; font-weight: 700; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__privacy { margin-bottom: 20px; font-size: 0.8125rem; color: var(--navy-soft); }
.form__privacy a { color: var(--navy); }
.form__status { margin-top: 16px; font-weight: 700; text-align: center; }
.form__status.is-success { color: var(--theme-text); }
.form__status.is-error { color: #b03a2e; }
.form button[disabled] { opacity: 0.6; cursor: wait; }
@media (min-width: 768px) {
  .form { padding: 48px 56px; }
}

/* ---------- 9. フッター ---------- */
.footer { background: var(--navy); color: #d9dee5; padding: 48px 0 calc(48px + 76px); font-size: 0.875rem; }
.footer__inner { display: grid; gap: 4px; text-align: center; }
.footer__name { font-family: var(--font-head); font-weight: 700; font-size: 1.375rem; color: var(--white); margin-bottom: 8px; }
.footer a { display: inline-block; padding: 6px 0; color: var(--white); }
.footer__links { margin-top: 12px; }
.footer__copy { margin-top: 16px; color: #a9b3bf; }
@media (min-width: 768px) {
  .footer { padding-bottom: 48px; }
}

/* ---------- スマホ下部の申し込みボタン ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 248, 244, 0.95); border-top: 1px solid var(--line);
  transition: transform 0.3s, opacity 0.3s;
}
.sticky-cta.is-hidden { transform: translateY(100%); opacity: 0; pointer-events: none; }
@media (min-width: 768px) {
  .sticky-cta { display: none; }
}

/* =========================================================
   動画まわり（動画制作LPで使用。ほかのLPでも使えます）
   ========================================================= */

/* 動画の枠。中身は <video> か、差し替え前の仮の絵（.video-ph） */
.vframe {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--navy); box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}
.vframe--tall { aspect-ratio: 9 / 16; }
.vframe--square { aspect-ratio: 1 / 1; }
.vframe video,
.vframe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 「サンプル」の札（架空の実績と誤解されないよう、必ず表示する） */
.vframe__label {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  padding: 2px 10px; border-radius: 999px;
  background: rgba(19, 36, 58, 0.82); color: var(--white);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
}

/* 差し替え前の仮の絵 */
.video-ph {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px;
  background:
    radial-gradient(80% 80% at 20% 15%, rgba(255, 140, 66, 0.55), transparent 60%),
    radial-gradient(70% 70% at 90% 90%, rgba(0, 174, 239, 0.45), transparent 60%),
    linear-gradient(150deg, #13243a, #1d3550);
  color: var(--white); text-align: center; font-size: 0.8125rem; font-weight: 700;
}
.video-ph::before {
  content: ""; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%2313243a'/%3E%3C/svg%3E") center / 28px no-repeat;
}

/* ファーストビューの動画（PCでは文章の右側） */
.hero__video { position: relative; }
.hero__video .vframe { box-shadow: 0 20px 50px rgba(19, 36, 58, 0.18); }
.hero__video::after {
  content: ""; position: absolute; z-index: -1; right: -14px; bottom: -14px; width: 60%; height: 60%;
  border-radius: var(--radius); background: var(--theme-pale);
}

/* サンプル動画の一覧 */
.samples { display: grid; gap: var(--gap); margin-top: 40px; }
.sample__cap { margin-top: 12px; }
.sample__title { font-size: var(--fs-h3); }
.sample__desc { font-size: 0.875rem; color: var(--navy-soft); }
.samples__note { margin-top: 24px; text-align: center; font-size: 0.875rem; color: var(--navy-soft); }
@media (max-width: 767px) {
  .sample--tall .vframe { max-width: 300px; margin-inline: auto; }
}
@media (min-width: 768px) {
  .samples { grid-template-columns: 1.7fr 1fr; grid-template-rows: auto auto; align-items: start; margin-top: 56px; }
  .sample--tall { grid-column: 2; grid-row: 1 / span 2; }
}

/* 大事なお約束（流れの下の枠） */
.promise {
  max-width: 760px; margin: 16px auto 0; padding: 20px 22px;
  background: var(--theme-pale); border-radius: var(--radius);
}
.promise li { position: relative; padding-left: 26px; font-weight: 700; line-height: 1.7; }
.promise li + li { margin-top: 8px; }
.promise li::before {
  content: ""; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 7px;
  border-left: 2px solid var(--theme-text); border-bottom: 2px solid var(--theme-text); transform: rotate(-45deg);
}

/* 料金カードを2つ並べる */
@media (min-width: 700px) {
  .plans--two { grid-template-columns: repeat(2, 1fr); }
}
.plans--spaced { margin-top: 20px; }
.plan__breakdown { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--bg); }
.plan__sub { margin-top: 2px; font-size: 0.875rem; color: var(--navy-soft); }
.plan__sub strong { color: var(--navy); }

/* フォームの選択肢（チェックボックス） */
.form__checks { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.form__checks legend { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 0; font-weight: 700; font-size: 0.9375rem; }
.form__checks-list { display: flex; flex-wrap: wrap; gap: 8px; }
.form__check { position: relative; }
.form__check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form__check span {
  display: inline-block; padding: 8px 16px; border: 1px solid #c9c4ba; border-radius: 999px;
  background: var(--bg); font-size: 0.9375rem; cursor: pointer;
}
.form__check input:checked + span { background: var(--theme-pale); border-color: var(--theme-text); color: var(--navy); font-weight: 700; }
.form__check input:focus-visible + span { outline: 3px solid var(--theme-text); outline-offset: 2px; }
.form select {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--navy);
  background: var(--bg); border: 1px solid #c9c4ba; border-radius: 10px;
}

/* シリーズのほかのLPへのリンク（フッター） */
.footer__series { margin-top: 12px; }

/* =========================================================
   AI・IT伴走顧問LPで使う部品（ほかのLPでも使えます）
   ========================================================= */

/* 見出しの下に、ブランドのグラデーションの短い線を引く（顧問LPだけ） */
[data-theme="advisor"] .section__title::after {
  content: ""; display: block; width: 56px; height: 4px; margin: 14px auto 0;
  border-radius: 2px; background: var(--brand-gradient);
}

/* 「AI」「IT」の小さな札 */
.chip {
  display: inline-block; padding: 1px 10px; border-radius: 999px;
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; line-height: 1.7; vertical-align: 2px;
}
.chip--ai { background: var(--ai-pale); color: var(--ai-text); }
.chip--it { background: var(--it-pale); color: var(--it-text); }
.chip--base { background: var(--navy); color: var(--white); }

/* お悩みを4つ並べる */
@media (min-width: 600px) {
  .worries--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .worries--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ファーストビュー右側：相談のやりとりのイメージ（画像に差し替えてもよい） */
.chat {
  position: relative; padding: 20px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(19, 36, 58, 0.12);
}
.chat__head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line);
  font-size: 0.8125rem; font-weight: 700; color: var(--navy-soft);
}
.chat__msg {
  max-width: 85%; padding: 10px 14px; margin-bottom: 10px; border-radius: 14px;
  font-size: 0.875rem; line-height: 1.7;
}
.chat__msg--you { margin-left: auto; background: var(--bg); border-bottom-right-radius: 4px; }
.chat__msg--us { background: var(--theme-pale); border-bottom-left-radius: 4px; }
.chat__msg--us.is-ai { background: var(--ai-pale); }
.chat__who { display: block; margin-bottom: 2px; font-size: 0.6875rem; font-weight: 700; color: var(--navy-soft); }

/* 1ヶ月の流れ（例） */
.month {
  max-width: 860px; margin: 40px auto 0; padding: 8px 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.month__row {
  display: grid; grid-template-columns: 1fr; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line);
}
.month__row:last-child { border-bottom: 0; }
.month__when { font-family: var(--font-head); font-weight: 700; font-size: 0.9375rem; color: var(--theme-text); }
.month__what { font-weight: 700; }
.month__what small { display: block; font-weight: 400; font-size: 0.875rem; color: var(--navy-soft); }
.month__plan { align-self: start; }
.month__note { margin-top: 12px; text-align: center; font-size: 0.8125rem; color: var(--navy-soft); }
@media (min-width: 700px) {
  .month { padding: 8px 32px; }
  .month__row { grid-template-columns: 7em 1fr auto; gap: 20px; align-items: center; }
}

/* AI（攻め）と IT（守り）を並べる */
.duo { display: grid; gap: var(--gap); margin-top: 40px; }
.duo__card { padding: 24px; border-radius: var(--radius); border-top: 4px solid; }
.duo__card--ai { background: var(--ai-pale); border-color: var(--ai); }
.duo__card--it { background: var(--it-pale); border-color: var(--it); }
.duo__label { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.duo__card--ai .duo__label { color: var(--ai-text); }
.duo__card--it .duo__label { color: var(--it-text); }
.duo__text { margin-top: 6px; font-weight: 700; }
.duo__join {
  text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem;
}
@media (min-width: 768px) {
  .duo { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
  .duo__join { display: grid; place-items: center; padding-inline: 8px; }
  .duo__card { padding: 28px 32px; }
}

/* 成果テーマ（2列） */
.themes { display: grid; gap: var(--gap); margin-top: 40px; }
.theme-box { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.theme-box__title { display: flex; align-items: center; gap: 10px; font-size: 1.125rem; margin-bottom: 14px; }
.theme-box__list { display: flex; flex-wrap: wrap; gap: 8px; }
.theme-box__list li {
  padding: 6px 14px; border-radius: 999px; background: var(--ai-pale);
  font-size: 0.9375rem; font-weight: 700; color: var(--navy);
}
@media (min-width: 768px) {
  .themes { grid-template-columns: 1fr 1fr; }
  .theme-box { padding: 28px 32px; }
}

/* ITの対応範囲（3段） */
.scope { display: grid; gap: var(--gap); margin-top: 32px; }
.scope__item { display: grid; gap: 10px; padding: 22px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.scope__level { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; }
.scope__mark {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 700;
}
.scope__item--full { border: 2px solid var(--it-text); }
.scope__item--full .scope__mark { background: var(--it-text); color: var(--white); }
.scope__item--first .scope__mark { background: var(--it-pale); color: var(--it-text); }
.scope__item--guide .scope__mark { background: var(--bg); color: var(--navy); border: 1px solid var(--line); }
.scope__item p { font-size: 0.9375rem; color: var(--navy-soft); }
@media (min-width: 900px) {
  .scope__item { grid-template-columns: 17em 1fr; align-items: start; gap: 24px; padding: 24px 32px; }
}

/* 育てたい人（2つ並べる） */
.people { display: grid; gap: var(--gap); margin-top: 40px; }
.person { padding: 28px 24px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.person__title { font-size: 1.25rem; }
.person__title span { color: var(--theme-text); }
.person p { margin-top: 8px; font-size: 0.9375rem; color: var(--navy-soft); }
.people__note { max-width: 760px; margin: 24px auto 0; text-align: center; color: var(--navy-soft); }
@media (min-width: 768px) {
  .people { grid-template-columns: 1fr 1fr; max-width: 860px; margin-inline: auto; }
}

/* 料金：土台＋追加の積み木 */
.blocks { display: grid; gap: var(--gap); }
.block__tag { margin-bottom: 6px; }
@media (min-width: 900px) {
  .blocks { grid-template-columns: repeat(3, 1fr); }
}

/* 料金：組み合わせ4つ */
.combo4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.combo4 .plan { padding: 20px 12px; }
.combo4 .plan { text-align: center; align-items: center; }
.combo4 .plan__parts { margin-top: 6px; font-size: 0.8125rem; color: var(--navy-soft); }
@media (min-width: 1000px) {
  .combo4 { grid-template-columns: repeat(4, 1fr); }
}

/* 小さな注記の箇条書き */
.notes { margin-top: 20px; display: grid; gap: 6px; font-size: 0.875rem; color: var(--navy-soft); }
.notes li { position: relative; padding-left: 1.1em; }
.notes li::before { content: "※"; position: absolute; left: 0; }
.disclaimer { margin-top: 16px; font-size: 0.75rem; color: var(--navy-soft); }
.disclaimer--center { text-align: center; }
.works.works--one { grid-template-columns: 1fr; }
.works--one .work__img { aspect-ratio: 21 / 9; }
.month__heading { max-width: 860px; margin-inline: auto; }
@media (min-width: 900px) {
  .options.options--one { grid-template-columns: 1fr; }
}
.options__note { display: block; font-size: 0.8125rem; color: var(--navy-soft); }

/* =========================================================
   kintoneシステム開発LPで使う部品（ほかのLPでも使えます）
   ========================================================= */

/* 強みを4つ並べる */
@media (min-width: 700px) {
  .features--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .features--4 { grid-template-columns: repeat(4, 1fr); }
  .features--4 .feature { padding: 28px 24px; }
}

/* 認定資格のマークを置く枠 */
.certs { display: grid; grid-template-columns: repeat(3, minmax(0, 72px)); gap: 8px; margin-top: 14px; }
.cert { padding: 6px; border-radius: 8px; background: var(--white); }
.cert img { width: 100%; height: auto; }

/* サービスの全体像（①→②→③） */
.roadmap { display: grid; gap: 12px; margin-top: 40px; }
.roadmap__step {
  position: relative; padding: 22px 22px 22px 70px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.roadmap__num {
  position: absolute; left: 20px; top: 22px; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--theme); color: var(--navy);
  font-family: var(--font-head); font-weight: 700;
}
.roadmap__title { font-size: 1.0625rem; }
.roadmap__title small { display: block; font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; color: var(--theme-text); }
.roadmap__step p { margin-top: 4px; font-size: 0.9375rem; color: var(--navy-soft); }
.roadmap__arrow { text-align: center; font-size: 1.25rem; line-height: 1; color: var(--theme-text); }
.roadmap__spot {
  margin-top: 16px; padding: 18px 22px; border-radius: var(--radius);
  background: var(--theme-pale); font-weight: 700;
}
.roadmap__spot span { font-weight: 400; color: var(--navy-soft); }
@media (min-width: 900px) {
  .roadmap { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; }
  .roadmap__arrow { display: grid; place-items: center; }
  .roadmap__arrow span { transform: rotate(-90deg); display: inline-block; }
  .roadmap__spot { text-align: center; }
}

/* 料金：導入パッケージの大きなカード */
.package {
  display: grid; gap: 20px; padding: 28px 24px; border-radius: var(--radius);
  background: var(--white); border: 2px solid var(--theme-text); box-shadow: var(--shadow);
}
.package__name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.package__price { margin-top: 4px; font-weight: 700; }
.package__price .plan__num { font-size: 2.5rem; }
.campaign {
  display: inline-block; margin-top: 12px; padding: 8px 16px; border-radius: 10px;
  background: var(--theme); color: var(--navy); font-weight: 700; line-height: 1.6;
}
.campaign strong { font-family: var(--font-head); font-size: 1.25rem; }
.package__note { margin-top: 10px; font-size: 0.8125rem; color: var(--navy-soft); }
@media (min-width: 900px) {
  .package { grid-template-columns: 1fr 1.2fr; align-items: start; padding: 36px 40px; gap: 40px; }
}

/* 「作ってほしい／自分たちで作りたい」の違いを1行で */
.which {
  margin: 0 0 20px; padding: 14px 18px; border-left: 4px solid var(--theme);
  background: var(--white); border-radius: 0 10px 10px 0; font-weight: 700;
}

/* 画面の例（スクリーンショット3枚） */
.shots { display: grid; gap: var(--gap); margin-top: 40px; }
.shot__img {
  aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden;
  background: repeating-linear-gradient(45deg, #fbf6df 0 12px, #f7efcf 12px 24px);
  border: 1px solid var(--line); display: grid; place-items: center;
  font-size: 0.8125rem; font-weight: 700; color: var(--navy-soft);
}
.shot__img img { width: 100%; height: 100%; object-fit: cover; }
.shot__cap { margin-top: 10px; font-weight: 700; font-size: 0.9375rem; }
@media (min-width: 768px) {
  .shots { grid-template-columns: repeat(3, 1fr); }
}

/* 商標などの小さな注記（フッター） */
.footer__legal { margin-top: 12px; font-size: 0.75rem; color: #a9b3bf; }

/* =========================================================
   顧問LP「入口は相談」の見せ方で使う部品
   ========================================================= */

/* ボタンの下の小さな一言 */
.hero__after { margin-top: 10px; font-size: 0.8125rem; font-weight: 700; color: var(--navy-soft); }

/* 「できること」の先頭カードを大きく・色付きに */
.feature--main { background: var(--theme-pale); border-top-width: 6px; }
.feature--main .feature__title { font-size: 1.375rem; }
.feature--main p { font-size: 1rem; color: var(--navy); }
@media (min-width: 900px) {
  .features--lead { grid-template-columns: repeat(2, 1fr); }
  .features--lead .feature--main { grid-column: 1 / -1; padding: 40px 48px; }
}

/* 料金：いちばん目立たせる「まずはここから」 */
.plan--start {
  border: 3px solid var(--theme-text); background: var(--theme-pale);
  box-shadow: 0 16px 36px rgba(19, 36, 58, 0.14);
}
.plan__badge--start { background: var(--navy); color: var(--white); }
.which--after { margin: 20px 0 0; }

/* 相談から先の流れ（横並び。スマホでは縦並び） */
.path { display: grid; gap: 36px; margin-top: 40px; }
.path__step {
  position: relative; padding: 24px 22px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line);
}
.path__step:not(:last-child)::after {
  content: "▼"; position: absolute; left: 50%; bottom: -28px; transform: translateX(-50%);
  font-size: 0.875rem; color: var(--theme-text);
}
.path__step:last-child { background: var(--theme-pale); border-color: transparent; }
.path__num {
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 10px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 700;
}
.path__title { font-size: 1.0625rem; }
.path__title small { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; color: var(--navy-soft); }
.path__step p { margin-top: 6px; font-size: 0.9375rem; color: var(--navy-soft); }
.path__links { margin-top: 12px; display: grid; gap: 4px; font-size: 0.875rem; font-weight: 700; }
@media (min-width: 900px) {
  .path { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .path__step:not(:last-child)::after { content: "▶"; left: auto; right: -24px; bottom: auto; top: 50%; transform: translateY(-50%); }
}

/* お問い合わせの見出しの下の一言 */
.contact__next { margin-top: 12px; text-align: center; font-weight: 700; }

/* ---------- スクロールで軽くフェードイン ---------- */
/* JavaScript が動くときだけ隠す（動かない環境でも内容は必ず見える） */
.js .fade { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .fade.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .fade { opacity: 1; transform: none; transition: none; }
  .btn, .sticky-cta { transition: none; }
}
