@charset "UTF-8";
/* =========================================================
   山田太郎 業種別LP 共通スタイル（ピラティス／ジム ほか共通）
   置き場所：temp/common/assets/css/style.css
   Breakpoints: SP ～767px / TB 768～1023px / PC 1024px～

   目次
   01. Tokens / Reset / Utility
   02. Button / Heading / Layout（l-header）
   03. Hero
   04. Logos（導入店舗ロゴ：自動スクロール）
   05. Pains（お悩み）
   06. Solutions（解決できること）
   07. Styles（運用スタイル：2カラム／--col3 で3カラム）
   08. CTA（中間CTA）
   09. Cases（導入事例）
   10. Price（料金プラン）
   11. Flow（導入の流れ）
   12. FAQ
   13. Responsive（～1199 / ～1023 / ～767）
   14. Download（資料請求フォーム：Tatata Contact Form の上書き）
   15. Footer

   業種ごとの違いは HTML 側（画像パス・テキスト）で持ち、
   CSS は共通 1 本で運用する。業種専用の調整が必要な場合は
   body.lp-{業種}（例：body.lp-gym）で上書きする。
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --c-text: #212121;
  --c-orange: #ff9300;
  --c-orange-deep: #ff6a00;
  --c-bg-gray: #f5f3f1;
  --c-line: #cccccc;
  --c-plan-std: #ff8c00;
  --c-plan-safe: #bd4f6c;
  --c-plan-custom: #485696;
  --grad-orange: linear-gradient(100deg, #ff9300 0%, #ff6a00 100%);
  --shadow-s: 0 4px 8px rgba(0, 0, 0, .08);
  --shadow-m: 0 4px 12px rgba(0, 0, 0, .08);
  --radius: 8px;
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-en: "Inter", "Noto Sans JP", sans-serif;
  --gutter: 32px;
  --section-gap: 120px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-ja);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: #fff;
  font-feature-settings: "palt" 0;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 700; }
hgroup { margin: 0; }

/* ---------- Utility ---------- */
.u-sp { display: none; }
.u-kern { letter-spacing: -.1em; }
.u-kern-l { letter-spacing: -.44em; }

/* ---------- Button ---------- */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--c-orange);
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
  transition: opacity .2s, transform .2s;
}
.c-btn:hover { opacity: .85; }
.c-btn:focus-visible { outline: 3px solid #ffd27a; outline-offset: 2px; }
.c-btn--primary { background: var(--grad-orange); color: #fff; }
.c-btn--outline { background: #fff; }
.c-btn--white { background: #fff; border-color: #fff; }
.c-btn__grad {
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.c-btn--s { padding: 8px 24px; font-size: 16px; }
.c-btn--l { padding: 16px 32px; font-size: 20px; }

/* ---------- Heading（mds1） ---------- */
.c-heading {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: center;
  font-weight: 700;
}
.c-heading__sub { font-size: 16px; line-height: 1.3; }
.c-heading__main { font-size: 26px; line-height: 1.8; }

.c-arrow { width: 52px; height: auto; margin-inline: auto; }

/* ---------- Layout ---------- */
.l-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px var(--gutter);
  background: #fff;
}
.l-header__logo img { width: 163px; }
.l-header__btns { display: flex; gap: 16px; }

.l-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--section-gap);
  padding: 0 var(--gutter) 75px;
}
.l-main > section { width: 100%; }

/* =========================================================
   Hero
   ========================================================= */
.p-hero {
  background: var(--c-bg-gray);
  border-radius: var(--radius);
  padding: 120px 48px;
}
.p-hero__body {
  display: grid;
  grid-template-columns: minmax(0, 546fr) minmax(0, 515fr);
  max-width: 1161px;
  margin-inline: auto;
  grid-template-rows: 1fr auto auto auto 1fr;
  column-gap: 100px;
  justify-content: center;
}
.p-hero__text { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 21px; }
.p-hero__points { grid-column: 1; grid-row: 3; margin-top: 21px; }
.p-hero__cta { grid-column: 1; grid-row: 4; margin-top: 55px; }
.p-hero__visual { grid-column: 2; grid-row: 1 / -1; align-self: center; }

.p-hero__badge {
  font-size: 16px;
  background: #fff;
  border-radius: 4px;
  padding: 6px 12px;
  font-weight: 700;
  line-height: 1.6;
}
.p-hero__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 21px;
  /* 左カラム幅に合わせて縮小（1行13文字が収まるサイズ） */
  font-size: clamp(32px, calc((100vw - 260px) * .039), 42px);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.p-hero__catch { display: block; }
.p-hero__lead { font-weight: 500; line-height: 1.8; }
.p-hero__points {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 447px;
}
.p-hero__points li {
  background: #fff;
  border-radius: 4px;
  padding: 6px 12px;
  font-weight: 500;
  line-height: 1.6;
}
/* 3つ目も他と同じく文字幅に合わせる（以前は幅いっぱい＋中央揃えだった） */

/* 写真（447×506）＋デバイス（339×352）の重ね合わせ：515×591 基準 */
.p-hero__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 515 / 591;
}
.p-hero__photo {
  position: absolute;
  top: 0; left: 0;
  width: 86.84%;
  height: 85.64%;
  object-fit: cover;
  border-radius: 16px;
}
.p-hero__device {
  position: absolute;
  left: 34%;
  top: 40.45%;
  width: 65.87%;
  height: auto;
}

/* =========================================================
   Logos（導入店舗のロゴ：右→左に自動スクロール）
   ========================================================= */
.p-logos {
  /* ヒーローとの間だけ40pxにする（通常のセクション間隔を打ち消す） */
  margin-top: calc(40px - var(--section-gap));
  /* 画面の端まで広げる */
  width: calc(100% + var(--gutter) * 2);
  margin-inline: calc(var(--gutter) * -1);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.p-logos__track { display: flex; width: max-content; }
.p-logos__list {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 16px; /* 複製したリストとのつなぎ目もgapと同じ間隔に */
}
.p-logos__list img { width: auto; height: 64px; }
/* ロゴの間隔を広げる版（余白の少ないロゴ画像向け：ジムLPなど） */
.p-logos--wide .p-logos__list { gap: 64px; padding-right: 64px; }
/* 文字が画像いっぱいのロゴは小さめに表示して、他のロゴと見た目の大きさをそろえる */
.p-logos__list img.is-small { height: 40px; }
/* JSが動かない・アニメーションを減らす設定の場合は中央寄せで折り返して表示 */
.p-logos:not(.is-animated) .p-logos__track { width: auto; justify-content: center; }
.p-logos:not(.is-animated) .p-logos__list { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); row-gap: 8px; }
.p-logos.is-animated .p-logos__track {
  animation: p-logos-scroll var(--logos-duration, 40s) linear infinite;
}
.p-logos.is-animated:hover .p-logos__track { animation-play-state: paused; }
@keyframes p-logos-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(var(--logos-shift, 50%) * -1)); } /* リスト1つ分だけ動かして繰り返す */
}

/* =========================================================
   Pains（お悩み）
   ========================================================= */
.p-pains {
  max-width: 1024px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.p-pains__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 27px;
}
.p-pains__illust { width: 80px; }
.p-pains__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
}
.p-pains__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 140px;
  padding: 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
}
.p-pains__item img { width: 50px; flex-shrink: 0; }
.p-pains__item p { min-width: 0; font-size: 18px; font-weight: 500; line-height: 1.6; }
@media (min-width: 1024px) {
  .p-pains__item p { min-width: 198px; white-space: nowrap; }
}
.p-pains__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  max-width: 647px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
}

/* =========================================================
   Solutions（解決できること）
   ========================================================= */
.p-solutions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 80px var(--gutter) 120px;
  background: var(--c-bg-gray);
  border-radius: var(--radius);
}
.p-solutions__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  width: 100%;
  max-width: 848px;
  align-items: start;
}
.p-solutions__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 32px 24px 48px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-m);
}
.p-solutions__item > img {
  width: 100%;
  aspect-ratio: 352 / 196;
  object-fit: cover;
  border-radius: 4px;
}
.p-solutions__txt {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 326px;
}
.p-solutions__txt h3 { font-size: 20px; font-weight: 700; line-height: 1.6; }
.p-solutions__foot {
  max-width: 647px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
}

/* =========================================================
   Styles（運用スタイル）
   ========================================================= */
.p-styles {
  max-width: 1028px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}
.p-styles__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.p-styles__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  width: 100%;
}
.p-styles__item { display: flex; flex-direction: column; gap: 16px; }
.p-styles__item h3 { font-size: 22px; font-weight: 700; line-height: 1.6; }
.p-styles__item img {
  width: 100%;
  aspect-ratio: 490 / 276;
  object-fit: cover;
  border-radius: 4px;
}
/* 3カラム（ジムLPなど）：PC 3列 → TB 2列（3つ目は中央） → SP 1列 */
.p-styles__list--col3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
@media (min-width: 768px) and (max-width: 1023px) {
  .p-styles__list--col3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-styles__list--col3 > :nth-child(3):last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 40px) / 2);
  }
}

/* =========================================================
   CTA
   ========================================================= */
.p-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 344px;
  padding: 83px var(--gutter);
  background: #333; /* 画像の読み込み前に表示される色 */
  border-radius: var(--radius);
  color: #fff;
  text-align: center;
}
/* 背景写真（画像ファイルはHTML側で指定） */
.p-cta__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 写真の上に黒65%のオーバーレイ */
.p-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, .65);
}
.p-cta__ttl {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 0 15px rgba(0, 0, 0, .75);
}
.p-cta__ttl .p-cta__catch { font-size: 26px; }
.p-cta__ttl p { font-size: 16px; }

/* =========================================================
   Cases（導入事例）
   ========================================================= */
.p-cases {
  max-width: 1020px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.p-cases__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  width: 100%;
}
.p-cases__item { display: flex; flex-direction: column; gap: 21px; }
.p-cases__item > img {
  width: 100%;
  aspect-ratio: 490 / 276;
  object-fit: cover;
  border-radius: 4px;
}
.p-cases__name { display: flex; flex-direction: column; gap: 8px; line-height: 1.6; }
.p-cases__name h3 { font-size: 20px; font-weight: 700; }
.p-cases__name p { font-size: 14px; }
.p-cases__more {
  align-self: flex-start;
  gap: 8px;
  margin-top: auto; /* 本文の長さが違っても2枚のボタン位置を揃える */
}
.p-cases__more::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--c-orange-deep);
  border-right: 2px solid var(--c-orange-deep);
  transform: rotate(45deg);
}

/* =========================================================
   Price（料金プラン）
   ========================================================= */
.p-price {
  padding: 80px var(--gutter);
  background: var(--c-bg-gray);
  border-radius: var(--radius);
}
.p-price__inner {
  max-width: 964px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 46px;
}
.p-price__plans { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.p-price__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.p-price__plan { display: flex; flex-direction: column; }
.p-price__name {
  padding: 10px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--c-plan-std);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}
.p-price__plan--safe .p-price__name { background: var(--c-plan-safe); }
.p-price__plan--custom .p-price__name { background: var(--c-plan-custom); }
.p-price__box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  line-height: 1.6;
}
.p-price__num {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-weight: 700;
}
.p-price__num strong { font-size: 26px; }
.p-price__init { font-size: 14px; font-weight: 500; }
.p-price__note { font-size: 14px; }
.p-price__switch { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.p-price__switch h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.8;
}
.p-price__switch h3 img { width: 48px; flex-shrink: 0; }

/* =========================================================
   Flow（導入の流れ）
   ========================================================= */
.p-flow {
  max-width: 1020px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.p-flow__body { display: flex; flex-direction: column; gap: 40px; width: 100%; }
.p-flow__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.p-flow__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 32px 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
}
.p-flow__icon { display: flex; flex-direction: column; align-items: center; width: 64px; }
.p-flow__icon img { width: 64px; }
.p-flow__step {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.p-flow__txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  max-width: 200px;
  line-height: 1.6;
}
.p-flow__txt h3 { font-size: 16px; font-weight: 500; text-align: center; }
.p-flow__txt p { font-size: 14px; }

/* =========================================================
   FAQ
   ========================================================= */
.p-faq {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}
.p-faq__list { display: flex; flex-direction: column; gap: 32px; width: 100%; }
.p-faq__item {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-line);
}
.p-faq__q {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}
.p-faq__q::-webkit-details-marker { display: none; }
.p-faq__mark {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: 32px;
  line-height: 1;
  color: var(--c-orange);
}
.p-faq__a { margin-top: 24px; line-height: 1.8; }

/* PCでは常に開いた状態（JSで open を付与） */
@media (min-width: 768px) {
  .p-faq__q { cursor: default; pointer-events: none; }
}

/* ---------- SP 追従CTA ---------- */
.c-fixed-cta { display: none; }

/* =========================================================
   Hero：2カラムが収まらない幅（～1199px）は縦積み
   ========================================================= */
@media (max-width: 1199px) {
  .p-hero { padding: 80px 40px; }
  .p-hero__body {
    grid-template-columns: minmax(0, 600px);
    grid-template-rows: none;
    justify-content: center;
    row-gap: 0;
  }
  .p-hero__text, .p-hero__points, .p-hero__cta, .p-hero__visual { grid-column: 1; grid-row: auto; }
  .p-hero__title { font-size: 40px; }
  .p-hero__visual { max-width: 515px; width: 100%; margin: 40px auto 0; justify-self: center; }
  .p-hero__points { max-width: none; }
  .p-hero__cta { justify-self: start; }
}

/* =========================================================
   Tablet（～1023px）
   ========================================================= */
@media (max-width: 1023px) {
  :root { --section-gap: 96px; }

  .u-pc { display: none; }
  .u-sp { display: inline; }

  /* 見出し・短いラベルは文節で改行（対応ブラウザのみ） */
  h1, h2, h3, .p-pains__item p, .p-cta__ttl p { word-break: auto-phrase; }

  .p-pains__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

  .p-price__list { grid-template-columns: minmax(0, 1fr); max-width: 520px; width: 100%; margin-inline: auto; gap: 24px; }

  .p-flow__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================================================
   SP（～767px）
   ========================================================= */
@media (max-width: 767px) {
  :root { --gutter: 16px; --section-gap: 72px; }

  body { font-size: 15px; padding-bottom: 80px; }

  .c-heading__sub { font-size: 14px; }
  .c-heading__main { font-size: 22px; line-height: 1.6; }
  .c-btn--l { width: 100%; padding: 14px 16px; font-size: 17px; white-space: normal; text-align: center; }

  /* header：ロゴのみ（CTAは画面下に追従） */
  .l-header { justify-content: center; padding: 12px 16px; }
  .l-header__logo img { width: 124px; }
  .l-header__btns { display: none; }

  .l-main { padding-bottom: 56px; }

  /* hero */
  .p-hero { padding: 40px 20px 48px; margin-inline: calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2) !important; border-radius: 0; }
  .p-hero__body { grid-template-columns: minmax(0, 1fr); }
  .p-hero__text { gap: 16px; }
  .p-hero__title { gap: 16px; }
  .p-hero__badge { font-size: 13px; padding: 4px 10px; }
  .p-hero__title { font-size: clamp(22px, 6.6vw, 28px); line-height: 1.4; }
  .p-hero__lead { font-size: 15px; line-height: 1.7; }
  .p-hero__visual { margin-top: 24px; }
  .p-hero__points { margin-top: 24px; gap: 10px; }
  .p-hero__points li { font-size: 14px; padding: 8px 12px; align-self: stretch; }
  .p-hero__cta { margin-top: 32px; justify-self: stretch; }

  /* logos */
  .p-logos { margin-top: calc(24px - var(--section-gap)); }
  .p-logos__list { gap: 12px; padding-right: 12px; }
  .p-logos__list img { height: 48px; }
  .p-logos--wide .p-logos__list { gap: 40px; padding-right: 40px; }
  .p-logos__list img.is-small { height: 30px; }

  /* pains */
  .p-pains { gap: 32px; }
  .p-pains__head { gap: 20px; }
  .p-pains__illust { width: 64px; }
  .p-pains__list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .p-pains__item { justify-content: flex-start; min-height: 0; padding: 16px 20px; gap: 16px; }
  .p-pains__item img { width: 40px; }
  .p-pains__item p { flex: 1; font-size: 16px; }
  .p-pains__foot { font-size: 16px; text-align: left; align-items: stretch; }
  .p-pains__foot .c-arrow { align-self: center; }

  /* solutions */
  .p-solutions { padding: 56px 16px 64px; gap: 32px; margin-inline: calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2) !important; border-radius: 0; }
  .p-solutions__list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .p-solutions__item { padding: 20px 20px 28px; gap: 20px; }
  .p-solutions__txt { max-width: none; gap: 10px; }
  .p-solutions__txt h3 { font-size: 18px; }
  .p-solutions__txt p { font-size: 15px; }
  .p-solutions__foot { font-size: 16px; text-align: left; }

  /* styles */
  .p-styles { gap: 32px; }
  .p-styles__head { gap: 24px; }
  .p-styles__list { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .p-styles__item { gap: 12px; }
  .p-styles__item h3 { font-size: 20px; }

  /* cta */
  .p-cta { min-height: 0; padding: 48px 20px; gap: 24px; }
  .p-cta__ttl { gap: 12px; }
  .p-cta__ttl .p-cta__catch { font-size: 21px; }
  .p-cta__ttl p { font-size: 14px; line-height: 1.5; }

  /* cases */
  .p-cases { gap: 32px; }
  .p-cases__list { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .p-cases__item { gap: 16px; }
  .p-cases__name { gap: 2px; }
  .p-cases__name h3 { font-size: 18px; }
  .p-cases__more { align-self: stretch; padding: 12px 16px; }

  /* price */
  .p-price { padding: 56px 16px; margin-inline: calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2) !important; border-radius: 0; }
  .p-price__inner { gap: 32px; }
  .p-price__list { gap: 16px; }
  .p-price__name { font-size: 16px; padding: 8px; }
  .p-price__box { padding: 16px 20px 20px; gap: 12px; align-items: center; text-align: center; }
  .p-price__num { justify-content: center; }
  .p-price__num strong { font-size: 28px; }
  .p-price__desc { font-size: 15px; }
  .p-price__note { font-size: 13px; }
  .p-price__switch h3 { font-size: 18px; line-height: 1.6; align-items: flex-start; }
  .p-price__switch h3 img { width: 40px; }
  .p-price__switch p { font-size: 15px; }

  /* flow：横並びカード */
  .p-flow { gap: 32px; }
  .p-flow__body { gap: 24px; }
  .p-flow__list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .p-flow__item { flex-direction: row; justify-content: flex-start; align-items: center; gap: 16px; padding: 16px 20px; }
  .p-flow__icon { width: 64px; }
  .p-flow__icon img { width: 44px; }
  .p-flow__step { font-size: 13px; }
  .p-flow__txt { align-items: flex-start; max-width: none; gap: 4px; flex: 1; }
  .p-flow__txt h3 { text-align: left; font-weight: 700; }
  .p-flow__txt p { font-size: 13px; }
  .p-flow__note { font-size: 14px; }

  /* faq：アコーディオン */
  .p-faq { gap: 32px; }
  .p-faq__list { gap: 12px; }
  .p-faq__item {
    padding: 0;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    background: #fff;
  }
  .p-faq__q {
    position: relative;
    padding: 16px 44px 16px 16px;
    gap: 10px;
    font-size: 15px;
    cursor: pointer;
    align-items: flex-start;
  }
  .p-faq__mark { font-size: 22px; }
  .p-faq__q::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--c-orange);
    border-bottom: 2px solid var(--c-orange);
    transform: translateY(-75%) rotate(45deg);
    transition: transform .2s;
  }
  .p-faq__item[open] .p-faq__q::after { transform: translateY(-25%) rotate(-135deg); }
  .p-faq__a { margin: 0; padding: 0 16px 16px; font-size: 14px; line-height: 1.8; }

  /* 追従CTA */
  .c-fixed-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 100;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .08);
    transform: translateY(110%);
    transition: transform .3s ease;
  }
  .c-fixed-cta.is-show { transform: translateY(0); }
  .c-fixed-cta .c-btn { padding: 12px 8px; font-size: 15px; }
}

/* =========================================================
   Download（資料請求フォーム：下部CTA）
   フォーム本体は Tatata Contact Form（[tatata_contact]）の出力。
   プラグインの form.css をLPのデザインに合わせて上書きしています。
   ========================================================= */
.p-download {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 74px var(--gutter);
  background: #333; /* 画像の読み込み前に表示される色 */
  border-radius: var(--radius);
  scroll-margin-top: 24px;
}
.p-download__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-download::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, .65);
}
.p-download__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 48px 96px;
  max-width: 1029px;
  margin-inline: auto;
}
.p-download__intro {
  flex: 1 1 0;
  min-width: 240px;
  max-width: 449px;
  display: flex;
  flex-direction: column;
  gap: 39px;
  color: #fff;
}
.p-download__head { display: flex; flex-direction: column; gap: 6px; }
.p-download__ttl { font-size: 26px; font-weight: 700; line-height: 1.8; }
.p-download__txt { line-height: 1.8; }
.p-download__img { width: 100%; max-width: 397px; }
.p-download__form {
  flex: 1 1 0;
  min-width: 240px;
  max-width: 484px;
  padding: 36px 42px 40px;
  background: #fff;
  border-radius: var(--radius);
  color: var(--c-text);
}

/* --- プラグイン出力の上書き（.p-download 内だけに効く） --- */
.p-download .ttcf {
  --ttcf-main: #ff9300;
  --ttcf-main-dark: #e46a00;
  --ttcf-main-light: #fff4e5;
  --ttcf-main-text: #b35400;
  --ttcf-main-rgb: 255, 147, 0;
  --ttcf-text: #212121;
  --ttcf-border: #aaa;
  --ttcf-radius: 2px;
  font-size: 14px;
  line-height: 1.8;
  scroll-margin-top: 24px;
}
/* デザインに合わせ、確認ステップと必須の説明文は表示しない */
.p-download .ttcf .ttcf-steps,
.p-download .ttcf .ttcf-lead { display: none; }
/* 必須／任意バッジ：ラベル（13px）に合わせて小さめに */
.p-download .ttcf .ttcf-badge { padding: 0 6px; font-size: 11px; line-height: 1.7; }
.p-download .ttcf .ttcf-field { margin: 0 0 12px; }
.p-download .ttcf .ttcf-label {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
}
.p-download .ttcf .ttcf-help { margin: -2px 0 6px; font-size: 12px; line-height: 1.6; }
.p-download .ttcf .ttcf-input {
  min-height: 40px;
  padding: 6px 12px;
  font-size: 16px; /* iOSの自動ズーム防止 */
  line-height: 1.6;
}
.p-download .ttcf .ttcf-input::placeholder { color: #b5b5b5; }
.p-download .ttcf .is-valid .ttcf-input:not(select):not([type="date"]) { padding-right: 36px; background-position: right 12px center; background-size: 16px; }
/* 同意チェック：見出し（同意事項）は読み上げのみ、グレーの枠はなし */
.p-download .ttcf .ttcf-field--agree > .ttcf-label {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.p-download .ttcf .ttcf-agree { padding: 0; background: none; }
.p-download .ttcf .is-invalid .ttcf-agree { padding: 6px 8px; background: var(--ttcf-error-bg); }
.p-download .ttcf .ttcf-check { gap: 6px; font-size: 14px; font-weight: 400; }
/* 送信ボタン（上の余白36px。項目のmarginと相殺されるため36pxを指定） */
.p-download .ttcf .ttcf-actions { margin: 36px 0 0; }
.p-download .ttcf .ttcf-btn {
  max-width: none;
  min-height: 56px;
  padding: 12px 10px;
  border: 0;
  border-radius: 4px;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1.8;
}
.p-download .ttcf .ttcf-btn--primary,
.p-download .ttcf .ttcf-btn--primary:hover {
  background: var(--grad-orange);
  color: #fff;
  box-shadow: none;
}
.p-download .ttcf .ttcf-btn--primary:hover { opacity: .85; }
.p-download .ttcf .ttcf-btn--ghost { border: 1.5px solid var(--c-orange); }
/* エラー表示・reCAPTCHAの表記 */
.p-download .ttcf .ttcf-alert { margin: 0 0 16px; padding: 12px 14px; font-size: 13px; }
.p-download .ttcf .ttcf-error { margin: 6px 0 0; font-size: 13px; }
.p-download .ttcf .ttcf-recaptcha-note { margin: 16px 0 0; font-size: 11px; line-height: 1.6; }
/* 送信完了（LP内では「トップページへ戻る」は出さない） */
.p-download .ttcf .ttcf-complete__back { display: none; }
.p-download .ttcf .ttcf-complete { padding: 16px 0 0; background: none; }
.p-download .ttcf .ttcf-complete__icon { width: 56px; height: 56px; background-size: 28px; }
.p-download .ttcf .ttcf-complete__title { font-size: 20px; }
.p-download .ttcf .ttcf-complete__text { font-size: 14px; }

@media (max-width: 1023px) {
  .p-download__inner { flex-direction: column; align-items: center; gap: 40px; }
  .p-download__intro, .p-download__form { flex: none; width: 100%; max-width: 560px; }
  .p-download__intro { align-items: center; text-align: center; }
}

@media (max-width: 767px) {
  .p-download {
    padding: 48px 16px 56px;
    margin-inline: calc(var(--gutter) * -1);
    width: calc(100% + var(--gutter) * 2) !important;
    border-radius: 0;
  }
  .p-download__inner { align-items: stretch; gap: 32px; }
  .p-download__intro, .p-download__form { max-width: none; min-width: 0; }
  .p-download__intro { gap: 24px; align-items: stretch; text-align: left; }
  .p-download__ttl { font-size: 22px; line-height: 1.6; }
  .p-download__txt { font-size: 15px; }
  .p-download__img { margin-inline: auto; }
  .p-download__form { padding: 24px 20px 28px; }
  .p-download .ttcf .ttcf-btn { font-size: 17px; }
}

/* =========================================================
   Footer
   ========================================================= */
.l-footer {
  padding: 0 var(--gutter) 95px;
  font-size: 14px;
}
.l-footer a:hover { text-decoration: underline; }
.l-footer__main,
.l-footer__btm { max-width: 1024px; margin-inline: auto; }
.l-footer__main {
  display: flex;
  flex-direction: column;
  gap: 45px;
  padding-bottom: 29px;
  border-bottom: 1px solid var(--c-line);
}
.l-footer__hd {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.l-footer__info {
  flex: 1 1 0;
  min-width: 280px;
  max-width: 422px;
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.l-footer__logo img { width: 163px; }
.l-footer__info p { line-height: 1.8; }
.l-footer__nav { display: flex; flex-direction: column; gap: 11px; }
.l-footer__nav-ttl { font-weight: 700; line-height: 1.8; }
.l-footer__nav li { line-height: 2; }
.l-footer__nav li::before { content: "－ "; }
.l-footer__isms { display: flex; align-items: center; gap: 14px; }
.l-footer__isms img { width: 117px; flex-shrink: 0; }
.l-footer__isms p { font-size: 12px; line-height: 1.8; }
.l-footer__btm {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  padding-top: 29px;
  font-size: 12px;
  line-height: 2;
}
.l-footer__links { display: flex; flex-wrap: wrap; flex: 1 1 280px; }
.l-footer__links li:not(:last-child)::after { content: "|"; margin: 0 .3em; }
.l-footer__copy small { font-size: inherit; white-space: nowrap; }

@media (max-width: 767px) {
  .l-footer { padding-bottom: 40px; }
  .l-footer__main { gap: 32px; padding-bottom: 24px; }
  .l-footer__hd { flex-direction: column; gap: 32px; }
  .l-footer__info { flex: none; min-width: 0; max-width: none; gap: 16px; }
  .l-footer__logo { align-self: center; }
  .l-footer__logo img { width: 140px; }
  .l-footer__isms { align-items: flex-start; }
  .l-footer__isms img { width: 100px; }
  .l-footer__btm { flex-direction: column; align-items: center; padding-top: 20px; text-align: center; }
  .l-footer__links { flex: none; justify-content: center; }

  /* タップしやすいよう、リンク1つあたり高さ44px以上を確保 */
  .l-footer__nav { gap: 4px; }
  .l-footer__nav li { line-height: 1.6; }
  .l-footer__nav li a { display: inline-block; padding: 11px 0; }
  .l-footer__links li { display: flex; align-items: center; }
  .l-footer__links li a { display: inline-block; padding: 10px 8px; }
  .l-footer__links li:not(:last-child)::after { margin: 0; }
  .l-footer__copy { margin-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .p-logos.is-animated .p-logos__track { animation: none; }
}
