/* =========================================================
   AIOLP (touch DURABLE × Cypher Point) — LP styles
   ========================================================= */

:root{
  --c-navy:        #0f2341;
  --c-navy-deep:   #081530;
  --c-navy-soft:   #2a3e62;
  --c-coral:       #e86a6a;
  --c-cyan:        #3aa7c7;
  --c-gold:        #e2b857;
  --c-bg:          #ffffff;
  --c-bg-tint:     #f3f7fb;
  --c-bg-tint-2:   #eef3f9;
  --c-text:        #2b2f36;
  --c-text-soft:   #5d6775;
  --c-line:        #e3e9f1;

  --f-ja: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-num:"Oswald", "Noto Sans JP", sans-serif;
  --f-en: "Montserrat", "Lato", sans-serif;

  --container: 1200px;
  --radius:    14px;
  --shadow-sm: 0 2px 10px rgba(15,35,65,.06);
  --shadow-md: 0 8px 30px rgba(15,35,65,.08);
  --shadow-lg: 0 20px 60px rgba(15,35,65,.12);
}

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: var(--f-ja); font-size: 16px;
  color: var(--c-text); background: var(--c-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center{ text-align: center; }

strong{ color: var(--c-navy); font-weight: 900; }

/* ---------------- HEADER ---------------- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner{
  max-width: 1360px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 28px;
}
.logo{ display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--c-navy); }
.logo__mark{
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-cyan) 100%);
  color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 900;
  font-family: var(--f-en); letter-spacing: .02em;
}
.logo__text{ font-size: 15px; letter-spacing: .02em; line-height: 1.2;
  font-family: var(--f-en); font-weight: 800;}
.logo__text strong{ font-weight: 800; color: var(--c-navy); font-size: 11px; display: block; letter-spacing: .08em; }
.logo__text em{ font-style: normal; color: var(--c-text-soft); font-size: 10px; display: block; font-weight: 500; letter-spacing: .1em; }

.gnav{ margin-left: auto; display: flex; gap: 26px; }
.gnav a{ font-size: 13px; font-weight: 700; color: var(--c-navy); }
.gnav a:hover{ color: var(--c-coral); }

.header-cta{ display: flex; gap: 10px; }
.header-cta-sp{ display: none; gap: 6px; margin-left: auto; }
.btn--sp-header{ padding: 8px 14px; font-size: 11px; }

/* ---------------- BUTTONS ---------------- */
.btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 900; font-size: 14px;
  transition: transform .15s ease, box-shadow .15s ease, background .2s;
  border: 0; cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.btn__icon{
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,.22);
  display: grid; place-items: center; font-size: 11px;
}
.btn--primary{ background: var(--c-navy); color: #fff; }
.btn--primary:hover{ background: var(--c-navy-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--white{ background: #fff; color: var(--c-navy); border: 1px solid var(--c-line); }
.btn--white:hover{ border-color: var(--c-navy); }
.btn--ghost{ background: transparent; color: var(--c-navy); border: 2px solid var(--c-navy);}
.btn--ghost .btn__icon{ background: rgba(15,35,65,.08);}
.btn--ghost:hover{ background: var(--c-navy); color: #fff;}
.btn--lg{ padding: 18px 36px; font-size: 16px; }
.btn--lg .btn__icon{ width: 26px; height: 26px; font-size: 13px; }

/* ---------------- HERO ---------------- */
.hero{
  position: relative;
  padding: 72px 0 120px;
  background:
    radial-gradient(900px 500px at 85% 10%, #eaf4fa 0%, transparent 70%),
    linear-gradient(180deg, #f6fafd 0%, #ffffff 100%);
  overflow: hidden;
}
.hero__inner{
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 40px; align-items: center;
}
.hero__badges{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.hbadge{
  display: inline-flex; align-items: center;
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 900;
  background: #fff; border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}
.hbadge--pink{ color: var(--c-coral); border-color: #f6d6d6; }
.hbadge--cyan{ color: var(--c-cyan); border-color: #c9e6ef; }
.hbadge--gold{ color: #b88b1d; border-color: #efdfa8; }

.hero__title{
  font-size: 48px; font-weight: 900; line-height: 1.4;
  color: var(--c-navy); letter-spacing: .01em;
  margin: 0 0 20px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.hero__title .nowrap{ display: inline-block; }
.hero__title-sub{ display: block; font-size: 28px; margin-top: 14px; color: var(--c-navy-soft); font-weight: 900; line-height: 1.6; word-break: keep-all;}

.hero__lead{ font-size: 15px; color: var(--c-text-soft); margin: 0 0 32px; line-height: 2; }
.hero__cta{ display: flex; gap: 12px; flex-wrap: wrap; }

/* 装飾ドット/バー */
.decor{ position: absolute; border-radius: 999px; opacity: .9; filter: blur(.5px); z-index: 0; }
.decor--pink{ width: 70px; height: 260px; background: var(--c-coral); transform: rotate(22deg); top: 40%; left: 48%; opacity:.35;}
.decor--cyan{ width: 70px; height: 220px; background: var(--c-cyan); transform: rotate(-25deg); top: 60%; right: 46%; opacity:.3;}
.decor--yellow{ width: 40px; height: 40px; background: var(--c-gold); top: 120px; right: 40px; opacity:.5;}

/* Hero visual mockups */
.hero__visual{ position: relative; height: 500px; }
.mock{ position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); }

/* Browser mock — Webサイトのプレビュー */
.mock--browser{
  width: 520px; height: 400px; top: 20px; right: 70px;
  border: 1px solid var(--c-line); padding: 0; overflow: hidden;
}
.mock__bar{
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px; background: #f4f6fa;
  border-bottom: 1px solid var(--c-line);
}
.mock__bar > span{ width: 10px; height: 10px; border-radius: 50%; background: #e4e8ef;}
.mock__bar > span:first-child{ background: #f6a6a0;}
.mock__bar > span:nth-child(2){ background: #f2c976;}
.mock__bar > span:nth-child(3){ background: #8dcfa7;}
.mock__url{
  margin-left: 14px; flex: 1; background: #fff;
  border: 1px solid var(--c-line); border-radius: 6px;
  padding: 4px 12px; font-size: 11px; color: var(--c-text-soft);
  font-family: var(--f-en);
}
.mock__site{ padding: 14px 18px 18px; height: calc(100% - 44px); }
.mock__site-nav{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px;}
.mock__site-logo{ width: 80px; height: 14px; background: var(--c-navy); border-radius: 4px;}
.mock__site-menu{ display: flex; gap: 10px; }
.mock__site-menu span{ width: 36px; height: 8px; background: #d7dee8; border-radius: 3px;}
.mock__site-menu span:last-child{ background: var(--c-navy); width: 60px; height: 20px; border-radius: 999px;}

.mock__site-hero{ margin-bottom: 18px; }
.mock__h1{ height: 14px; background: var(--c-navy); border-radius: 5px; margin-bottom: 8px; width: 75%;}
.mock__h1--sub{ height: 14px; background: var(--c-navy-soft); width: 55%;}
.mock__site-btn{ margin-top: 14px; width: 110px; height: 26px; background: var(--c-coral); border-radius: 999px;}

.mock__site-cards{ display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px;}
.mock__site-card{ background: #f6fafd; border-radius: 8px; padding: 8px; border: 1px solid var(--c-line);}
.mock__card-img{ height: 50px; border-radius: 5px; margin-bottom: 6px;}
.mock__card-img--1{ background: linear-gradient(135deg, var(--c-cyan), #a6dced);}
.mock__card-img--2{ background: linear-gradient(135deg, var(--c-coral), #f4b0a7);}
.mock__card-img--3{ background: linear-gradient(135deg, var(--c-gold), #f1dda5);}
.mock__card-line{ height: 5px; background: #cdd6e1; border-radius: 3px; margin-bottom: 4px;}
.mock__card-line--s{ width: 60%;}

/* AI Overview バッジ（hero__visual直下でフローティング） */
.mock__aio-badge{
  position: absolute; left: 30px; bottom: 20px;
  background: #fff; border-radius: 12px; padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--c-coral);
  width: 230px;
  z-index: 5;
}
.mock__aio-badge-head{ font-family: var(--f-en); font-weight: 800; font-size: 11px; color: var(--c-coral); letter-spacing: .12em; margin-bottom: 10px;}
.mock__aio-badge-line{ height: 7px; border-radius: 4px; background: #cdd6e1; margin-bottom: 5px;}
.mock__aio-badge-line--s{ width: 55%;}
.mock__aio-badge-cite{ font-size: 10px; color: var(--c-navy); font-weight: 800; margin-top: 8px;}

/* Phone mock — 同じサイトのモバイル表示 */
.mock--phone{
  width: 180px; height: 360px; right: 0; top: 90px;
  border-radius: 28px; border: 7px solid var(--c-navy-deep);
  overflow: hidden; background: #fff;
  padding: 0;
}
.mock__screen{ height: 100%; background: #fff; padding: 14px 12px;}
.mock__phone-nav{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px;}
.mock__phone-logo{ width: 50px; height: 10px; background: var(--c-navy); border-radius: 3px;}
.mock__phone-burger{ width: 16px; height: 10px; background: #d7dee8; border-radius: 2px;}
.mock__phone-hero{ margin-bottom: 14px;}
.mock__phone-h1{ height: 9px; background: var(--c-navy); border-radius: 3px; margin-bottom: 5px; width: 85%;}
.mock__phone-h1--s{ background: var(--c-navy-soft); width: 60%;}
.mock__phone-card{
  height: 90px; background: linear-gradient(135deg, #cde8f1, #eaf4fa);
  border-radius: 8px; margin-bottom: 10px;
}
.mock__phone-card--2{ background: linear-gradient(135deg, #f6e6d6, #f5cbc3);}

/* Portfolio grid (Feature 02) */
.detail__visual--portfolio{ position: relative; min-height: 380px;}
.portfolio-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  max-width: 420px;
}
.pf-card{
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--c-line);
  position: relative;
}
.pf-card__head{ height: 80px; }
.pf-card__head--1{ background: linear-gradient(135deg, #1e3a6d, #3aa7c7);}
.pf-card__head--2{ background: linear-gradient(135deg, #e86a6a, #f3b7a5);}
.pf-card__head--3{ background: linear-gradient(135deg, #e2b857, #f3dd9e);}
.pf-card__head--4{ background: linear-gradient(135deg, #4a5d82, #a9b5cb);}
.pf-card__body{ padding: 12px 14px 16px;}
.pf-card__line{ height: 6px; border-radius: 3px; background: #d7dee8; margin-bottom: 5px;}
.pf-card__line--s{ width: 60%;}
.pf-card__tag{
  position: absolute; top: 10px; left: 10px;
  background: rgba(255,255,255,.92); color: var(--c-navy);
  font-family: var(--f-en); font-size: 9px; font-weight: 800; letter-spacing: .12em;
  padding: 3px 8px; border-radius: 4px;
}
.kpi-card--floating{
  position: absolute; right: 0; bottom: -10px;
  width: 200px; background: #fff;
}

/* ---------------- LOGO WALL ---------------- */
/* ---------------- LOGO WALL (static / 7+6 = 2 rows) ---------------- */
.logowall{
  padding: 56px 0 64px;
  background: var(--c-bg-tint);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.logowall__label{
  text-align: center; font-size: 12px; color: #9ca9be;
  letter-spacing: .14em; margin: 0 0 36px; font-weight: 700;
  text-transform: uppercase;
}
.logowall__belt{
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px;
}
.logowall__track{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;  /* 2行目の6枚が自然にセンタリング */
  row-gap: 20px;
}
.logo-cell{
  flex: 0 0 calc(100% / 7);  /* 1行7枚固定 → 13枚は7+6になる */
  max-width: calc(100% / 7);
  display: flex; align-items: center; justify-content: center;
  padding: 0 16px;
  height: 96px;
}
.logo-cell img{
  max-width: 100%;
  max-height: 68px;   /* 大きく表示 */
  width: auto; height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 1024px){
  .logo-cell{
    flex: 0 0 calc(100% / 5);     /* タブレットは1行5枚 */
    max-width: calc(100% / 5);
    height: 84px;
  }
  .logo-cell img{ max-height: 56px; }
}
@media (max-width: 640px){
  .logowall{ padding: 36px 0 40px; }
  .logowall__label{ margin-bottom: 20px; }
  .logowall__belt{ overflow: hidden; padding: 0; }
  .logowall__track{
    flex-wrap: nowrap;
    justify-content: flex-start;
    animation: logoScroll 25s linear infinite;
    width: max-content;
  }
  .logo-cell{
    flex: 0 0 auto;
    max-width: none;
    height: 56px;
    padding: 0 16px;
  }
  .logo-cell img{ max-height: 36px; }
}
@keyframes logoScroll{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

/* ---------------- SECTION COMMON ---------------- */
.section{ padding: 120px 0; position: relative; overflow: hidden; }
.section--intro{ padding: 100px 0 80px; background: var(--c-bg-tint); }
.eyebrow{
  color: var(--c-coral); font-family: var(--f-en);
  font-size: 14px; font-weight: 700; letter-spacing: .18em;
  margin: 0 0 12px;
}
.section-title{
  font-size: 40px; font-weight: 900; color: var(--c-navy);
  line-height: 1.4; margin: 0 0 24px; letter-spacing: .02em;
}
.section-lead{
  font-size: 15px; color: var(--c-text-soft); margin: 0 auto 40px;
  line-height: 2.1; max-width: 780px;
}

/* ---------------- FEATURES 3カラム ---------------- */
.section--features{ padding-top: 40px; padding-bottom: 60px; background: var(--c-bg-tint); }
.feature-cards{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 30px;
}
.fcard{
  background: #fff; border-radius: var(--radius); padding: 40px 28px;
  text-align: center; box-shadow: var(--shadow-sm);
}
.fcard__num{
  font-family: var(--f-num); font-size: 48px; font-weight: 700; line-height: 1;
  margin-bottom: 14px;
}
.fcard__num--pink{ color: var(--c-coral); }
.fcard__num--cyan{ color: var(--c-cyan); }
.fcard__num--yellow{ color: var(--c-gold); }
.fcard__title{ font-size: 20px; font-weight: 900; color: var(--c-navy); line-height: 1.6; margin: 0 0 24px; }
.fcard__illus{
  height: 160px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #f3f7fb 0%, #ffffff 100%);
  padding: 10px;
  overflow: hidden;
}

/* =========================================================
   .illus-slot — ソコスト等のイラスト差し込み枠
   ========================================================= */
.illus-slot{
  margin: 0;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #f3f7fb 0%, #ffffff 100%);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.illus-slot img{
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  display: block;
}
.illus-slot img.is-missing{ display: none; }
.illus-slot img.is-missing + *{ display: block; }
.illus-slot::after{
  content: "📷 " attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--c-text-soft); font-size: 13px; font-weight: 700;
  opacity: 0; pointer-events: none;
  background:
    repeating-linear-gradient(45deg,
      transparent 0 10px,
      rgba(15,35,65,.02) 10px 20px),
    linear-gradient(180deg, #f3f7fb 0%, #ffffff 100%);
  z-index: 0;
}
.illus-slot:has(img.is-missing)::after{ opacity: 1;}

/* サイズバリエーション */
.illus-slot--card{
  width: 100%; height: 180px;
  background: transparent;
  padding: 12px;
  margin-top: 8px;
}
.illus-slot--card .illus-svg{
  width: 100%; height: 100%;
  display: block;
}
.illus-slot--hero{
  width: 100%; height: 100%;
  min-height: 420px;
  background: linear-gradient(135deg, #eaf4fa 0%, #f6e9e3 60%, #fff 100%);
  padding: 24px;
}

/* =========================================================
   .hero-samples — ヒーロー右側のサンプル3枚スタック
   ========================================================= */
.hero-samples{
  position: relative;
  width: 100%; height: 560px;
  perspective: 1200px;
}
.hero-sample{
  position: absolute;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15,35,65,.18), 0 2px 8px rgba(15,35,65,.08);
  background: #fff;
  border: 1px solid rgba(15,35,65,.08);
  pointer-events: none; /* 装飾扱い・クリック不可 */
}
.hero-sample img{
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.hero-sample__badge{
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--f-en);
  font-size: 11px; font-weight: 800; letter-spacing: .14em;
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
.hero-sample__badge--gold { background: var(--c-gold); }
.hero-sample__badge--cyan { background: var(--c-cyan); }
.hero-sample__badge--pink { background: var(--c-coral); }

/* 配置: 左上→右下に流れる階段配置（大きめ） */
.hero-sample--back{
  top: -2%; left: -4%;
  width: 88%;
  transform: rotate(-4deg);
  z-index: 1;
  opacity: .95;
}
.hero-sample--mid{
  top: 26%; left: 10%;
  width: 88%;
  transform: rotate(2deg);
  z-index: 2;
}
.hero-sample--front{
  top: 54%; left: 24%;
  width: 88%;
  transform: rotate(-2deg);
  z-index: 3;
}

@media (max-width: 1024px){
  .hero-samples{ height: 440px; }
  .hero-sample--back, .hero-sample--mid, .hero-sample--front{ width: 82%; }
}
@media (max-width: 640px){
  .hero-samples{ height: 400px; }
  .hero-sample--back{ top: -2%; left: -4%; width: 82%; }
  .hero-sample--mid{ top: 26%; left: 10%; width: 82%; }
  .hero-sample--front{ top: 54%; left: 20%; width: 82%; }
}

/* =========================================================
   ヒーロー装飾（blob / floating card / sparkle）
   ========================================================= */
.hero-samples__blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: .55;
  z-index: 0;
  pointer-events: none;
}
.hero-samples__blob--pink{
  width: 220px; height: 220px;
  background: #f7c3c8;
  top: -40px; right: -20px;
}
.hero-samples__blob--cyan{
  width: 260px; height: 260px;
  background: #b8e0ed;
  bottom: -40px; left: -30px;
}

.hero-float{
  position: absolute;
  z-index: 5;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15,35,65,.15), 0 2px 6px rgba(15,35,65,.06);
  border: 1px solid rgba(15,35,65,.08);
  animation: heroFloat 4s ease-in-out infinite;
}

/* AI Overview カード（右上） */
.hero-float--ai{
  top: 8%; right: 2%;
  width: 180px;
  padding: 14px 16px;
  animation-delay: -1s;
}
.hero-float__head{
  display: flex; align-items: center; gap: 6px;
  font-family: var(--f-en);
  font-size: 10px; font-weight: 800; letter-spacing: .12em;
  color: var(--c-coral);
  margin-bottom: 10px;
}
.hero-float__dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-coral);
  box-shadow: 0 0 0 3px rgba(232,106,106,.2);
}
.hero-float__line{
  height: 6px; border-radius: 3px;
  background: #e3e9f1;
  margin-bottom: 6px;
}
.hero-float__line--short{ width: 60%; }
.hero-float__cite{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e3e9f1;
  font-size: 10px;
  font-weight: 800;
  color: var(--c-cyan);
}

/* 納期統計バッジ（右下・サンプル右外） */
.hero-float--stat{
  bottom: 8%; right: 0;
  padding: 16px 22px;
  text-align: center;
  z-index: 6;
  animation-delay: -2s;
}
.hero-float__num{
  font-family: var(--f-num);
  font-size: 36px; font-weight: 700;
  color: var(--c-navy);
  line-height: 1;
}
.hero-float__num span{
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text-soft);
  margin-left: 2px;
}
.hero-float__label{
  font-size: 11px;
  font-weight: 800;
  color: var(--c-cyan);
  letter-spacing: .08em;
  margin-top: 4px;
}

@keyframes heroFloat{
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* スパークル */
.hero-spark{
  position: absolute;
  width: 20px; height: 20px;
  z-index: 4;
  opacity: .8;
  animation: heroTwinkle 3s ease-in-out infinite;
}
.hero-spark--1{ top: 5%;  left: 55%; animation-delay: 0s;     width: 22px; height: 22px;}
.hero-spark--2{ top: 42%; left: 2%;  animation-delay: -1s;    width: 16px; height: 16px;}
.hero-spark--3{ bottom: 12%; left: 10%; animation-delay: -2s; width: 14px; height: 14px;}

@keyframes heroTwinkle{
  0%, 100% { opacity: .4; transform: scale(.9) rotate(0deg); }
  50%      { opacity: 1;  transform: scale(1.15) rotate(180deg); }
}

@media (prefers-reduced-motion: reduce){
  .hero-float, .hero-spark{ animation: none; }
}
.hero-illus-img{
  width: 100%; height: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
}
.illus-slot--hero .illus-svg--hero{
  width: 100%; height: 100%;
  display: block;
}
.illus-slot--detail{
  width: 100%; aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #eaf4fa 0%, #ffffff 100%);
  box-shadow: var(--shadow-sm);
}

/* =========================================================
   .flow-diagram — 詳細01 構造化フロー図
   ========================================================= */
.flow-diagram{
  display: flex; flex-direction: column;
  background: linear-gradient(135deg, #eaf4fa 0%, #ffffff 100%);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
}
.flow-node{
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: 12px;
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(15,35,65,.04);
}
.flow-node--mid{
  background: #f0f8fb;
  border-color: #b8d8e4;
}
.flow-node--end{
  background: #fff;
  border: 2px solid var(--c-coral);
  box-shadow: 0 6px 18px rgba(232,106,106,.15);
}
.flow-node__label{
  font-family: var(--f-en);
  font-size: 10px; font-weight: 800; letter-spacing: .14em;
  color: var(--c-text-soft);
  margin-bottom: 6px;
}
.flow-node--end .flow-node__label{ color: var(--c-coral); }
.flow-node__title{
  font-size: 18px; font-weight: 900;
  color: var(--c-navy);
  line-height: 1.4;
}
.flow-node__cite{
  display: inline-block;
  margin-top: 10px;
  background: #fdeee5;
  color: var(--c-coral);
  font-size: 12px; font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
}
.flow-arrow{
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 0;
  gap: 4px;
}
.flow-arrow__tag{
  font-size: 11px; font-weight: 800;
  color: var(--c-navy-soft);
  background: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px dashed var(--c-cyan);
  letter-spacing: .02em;
}
.flow-arrow__mark{
  font-size: 12px; font-weight: 900;
  color: var(--c-cyan);
  line-height: 1;
}

/* =========================================================
   .coverage-panel — 詳細02 対応領域パネル
   ========================================================= */
.coverage-panel{
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.coverage-panel__head{
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; font-weight: 900;
  color: var(--c-cyan);
  letter-spacing: .08em;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1.5px solid var(--c-line);
}
.coverage-panel__dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-cyan);
}
.coverage-grid{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.coverage-item{
  background: #f3f7fb;
  border-radius: 10px;
  padding: 18px 20px;
  transition: background .2s, transform .2s;
}
.coverage-item:hover{
  background: #eaf4fa;
  transform: translateY(-2px);
}
.coverage-item__num{
  font-family: var(--f-num);
  font-size: 26px; font-weight: 700;
  color: var(--c-cyan);
  line-height: 1;
  margin-bottom: 8px;
}
.coverage-item__title{
  font-size: 15px; font-weight: 900;
  color: var(--c-navy);
  margin-bottom: 4px;
}
.coverage-item__desc{
  font-size: 12px; font-weight: 500;
  color: var(--c-text-soft);
  line-height: 1.5;
}
.coverage-panel__foot{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--c-line);
  text-align: center;
  font-size: 13px; color: var(--c-text-soft);
}

/* ---------------- FEATURE DETAIL ---------------- */
.section--detail{ background: var(--c-bg); padding: 100px 0; }
.section--detail-alt{ background: var(--c-bg-tint); }
.detail{
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center;
}
.detail__num{
  font-family: var(--f-num); font-size: 80px; font-weight: 700; line-height: 1;
  margin-bottom: 12px;
}
.detail__num--pink{ color: var(--c-coral); }
.detail__num--cyan{ color: var(--c-cyan); }
.detail__num--yellow{ color: var(--c-gold); }
.detail__title{ font-size: 28px; font-weight: 900; color: var(--c-navy); line-height: 1.5; margin: 0 0 22px; }
.detail__body{ color: var(--c-text-soft); font-size: 15px; line-height: 2.05; margin: 0 0 20px;}
.detail__tags{ list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.detail__tags li{
  padding: 6px 14px; background: #fff; border: 1px solid var(--c-coral);
  color: var(--c-coral); border-radius: 999px; font-size: 12px; font-weight: 800;
}

/* AIO Panel (feature 01 visual) */
.aio-panel{
  background: #fff; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-md); border: 1px solid var(--c-line);
}
.aio-panel__head{ font-family: var(--f-en); font-weight: 800; font-size: 13px; color: var(--c-coral); letter-spacing: .14em; margin-bottom: 18px;}
.aio-panel__body{
  background: linear-gradient(135deg, #eaf4fa 0%, #f6e9e3 100%);
  border-radius: 10px; padding: 22px; margin-bottom: 18px;
  border-left: 4px solid var(--c-coral);
}
.aio-line{ height: 10px; border-radius: 5px; background: #cdd6e1; margin-bottom: 10px; }
.aio-line--short{ width: 55%;}
.aio-cite{ display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; font-weight: 800; color: var(--c-navy);}
.aio-cite__dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--c-coral);}
.aio-panel__foot{ display: flex; flex-wrap: wrap; gap: 8px; }
.aio-tag{
  background: var(--c-navy); color: #fff; padding: 6px 12px; border-radius: 6px;
  font-family: var(--f-en); font-weight: 700; font-size: 11px; letter-spacing: .1em;
}

/* phones */
.detail__visual--phones{
  display: flex; align-items: center; gap: 16px; position: relative;
}
.phone-mock{
  width: 170px; height: 340px; border-radius: 26px;
  border: 8px solid var(--c-navy-deep); background: linear-gradient(180deg, #d6ead0, #f1f5d9);
  box-shadow: var(--shadow-md);
}
.phone-mock--alt{ background: linear-gradient(180deg, #e7e0f5, #fae0d5); }
.arrow{ color: var(--c-cyan); font-weight: 900; letter-spacing: -1px; }
.kpi-card{
  flex: 1; background: #fff; border-radius: 12px; padding: 18px 20px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-line);
}
.kpi-card__title{ font-size: 12px; color: var(--c-coral); font-weight: 800; margin-bottom: 10px; }
.kpi-card__row{ display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--c-line);}
.kpi-card__row:last-child{ border-bottom: 0;}
.kpi-card__row span{ font-size: 13px; color: var(--c-text); font-weight: 700;}
.kpi-card__row strong{ color: var(--c-cyan); font-size: 16px;}

/* Compare box (feature 03) */
.compare{
  display: flex; align-items: center; gap: 20px; justify-content: center;
  padding: 40px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.compare__col{ text-align: center; flex: 1; }
.compare__col--hl{ padding: 24px; background: var(--c-bg-tint); border-radius: 10px; border: 2px solid var(--c-gold);}
.compare__label{ font-size: 13px; font-weight: 800; color: var(--c-text-soft); margin-bottom: 10px;}
.compare__col--hl .compare__label{ color: var(--c-gold);}
.compare__price{ font-family: var(--f-num); font-size: 34px; font-weight: 700; color: var(--c-navy);}
.compare__price--strike{ text-decoration: line-through; color: #aab2be;}
.compare__save{ margin-top: 8px; font-size: 13px; font-weight: 800; color: var(--c-coral);}
.compare__arrow{ font-size: 28px; color: var(--c-navy-soft); font-weight: 900;}

/* ---------------- RESULTS ---------------- */
.section--consulting{ background: var(--c-bg-tint); }
.result-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.result-card{
  background: #fff; border-radius: var(--radius); padding: 36px 28px;
  box-shadow: var(--shadow-sm); text-align: center;
}
.result-card__tag{
  display: inline-block; font-family: var(--f-en); font-weight: 800;
  color: var(--c-coral); letter-spacing: .12em; font-size: 12px; margin-bottom: 8px;
}
.result-card__industry{ font-size: 14px; color: var(--c-text-soft); font-weight: 700; margin-bottom: 16px;}
.result-card__metric{ color: var(--c-navy); font-size: 14px; font-weight: 700; line-height: 1.6;}
.result-card__metric strong{ font-family: var(--f-num); font-size: 56px; color: var(--c-coral); font-weight: 700; display: inline-block; line-height: 1; margin: 6px 4px 0;}
.result-card__metric em{ font-style: normal; font-size: 13px; color: var(--c-text-soft); font-weight: 700; display: inline-block; margin-left: 2px;}

/* ---------------- SERVICE ---------------- */
.section--function{ background: #fff; }
.func-box{
  background: var(--c-navy); border-radius: var(--radius);
  padding: 26px; color: #fff;
}
.func-box__head{ font-weight: 900; margin-bottom: 18px; font-size: 15px;}
.func-cards{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.func-card{
  background: #fff; color: var(--c-navy); border-radius: 12px; padding: 22px; position: relative;
}
.func-card__tier{
  display: inline-block; font-family: var(--f-en); font-size: 11px; font-weight: 800;
  letter-spacing: .14em; color: #fff; padding: 4px 10px; border-radius: 4px; margin-bottom: 14px;
  background: var(--c-coral);
}
.func-card:nth-child(1) .func-card__tier{ background: var(--c-gold);}
.func-card:nth-child(2) .func-card__tier{ background: var(--c-cyan);}
.func-card:nth-child(3) .func-card__tier{ background: var(--c-coral);}
.func-card h4{ font-size: 16px; margin: 0 0 8px; }
.func-card p{ font-size: 13px; color: var(--c-text-soft); margin: 0; line-height: 1.9;}

/* Steps */
.steps-title{ font-weight: 900; margin-bottom: 16px; font-size: 15px; color: var(--c-navy); }
.steps{ display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch;}
.step{ background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 20px; box-shadow: var(--shadow-sm); }
.step__num{
  font-family: var(--f-en); font-weight: 800; font-size: 11px; letter-spacing: .12em;
  color: var(--c-coral); margin-bottom: 6px;
}
.step h4{ font-size: 15px; margin: 0 0 8px; color: var(--c-navy); }
.step p{ font-size: 12px; color: var(--c-text-soft); margin: 0; line-height: 1.8;}
.step-arrow{
  display: grid; place-items: center;
  font-size: 22px; color: var(--c-navy-soft); font-weight: 900;
  background: transparent; border: 0; box-shadow: none; padding: 0;
}

/* ---------------- PRICING ---------------- */
.section--price{ background: var(--c-bg-tint); }
.plan-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch;}
.plan{
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  position: relative;
}
.plan--featured{
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--c-cyan);
}
.plan__ribbon{
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: var(--c-coral); color: #fff;
  font-size: 11px; font-weight: 900; letter-spacing: .08em;
  padding: 4px 12px; border-radius: 999px;
}
.plan__header{ padding: 28px; text-align: center; color: #fff;}
.plan__header--yellow{ background: var(--c-gold);}
.plan__header--cyan{ background: var(--c-cyan);}
.plan__header--pink{ background: var(--c-coral);}
.plan__name{ font-family: var(--f-en); font-size: 22px; font-weight: 800; letter-spacing: .12em;}
.plan__ja{ font-size: 12px; font-weight: 700; letter-spacing: .08em; opacity: .9;}
.plan__body{ padding: 28px; flex: 1; display: flex; flex-direction: column;}
.plan__desc{ font-size: 13px; color: var(--c-text-soft); margin-bottom: 14px; line-height: 1.8;}
.plan__market{ font-size: 11px; color: #aab2be; text-decoration: line-through; margin-bottom: 6px;}
.plan__price{ margin-bottom: 22px; color: var(--c-navy);}
.plan__price-num{ font-family: var(--f-num); font-size: 38px; font-weight: 700; letter-spacing: .01em;}
.plan__price-unit{ font-size: 12px; color: var(--c-text-soft); font-weight: 700; margin-left: 4px;}
.plan__list{ list-style: none; padding: 0; margin: 0 0 24px; flex: 1;}
.plan__list li{
  font-size: 13px; color: var(--c-text); padding: 8px 0 8px 22px;
  border-bottom: 1px dashed var(--c-line); position: relative; line-height: 1.7;
}
.plan__list li::before{
  content: "✓"; position: absolute; left: 0; top: 8px;
  color: var(--c-cyan); font-weight: 900;
}
.plan__cta{ width: 100%; justify-content: center;}
.plan__note{
  margin-top: 28px; font-size: 11px; color: var(--c-text-soft);
  line-height: 1.9; background: #fff; padding: 16px 20px; border-radius: 10px;
  border: 1px solid var(--c-line);
}

/* =========================================================
   .samples — プランごとの制作サンプル
   ========================================================= */
.samples{
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--c-line);
}
.samples__head{
  text-align: center;
  margin-bottom: 36px;
}
.samples__title{
  font-size: 28px; font-weight: 900; color: var(--c-navy);
  margin: 8px 0 12px;
}
.samples__lead{
  font-size: 14px; color: var(--c-text-soft);
  line-height: 1.8;
}
.samples__grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.sample-card{
  display: block;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: var(--shadow-sm);
}
.sample-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-cyan);
}
.sample-card__thumb{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f3f7fb;
  overflow: hidden;
  border-bottom: 1px solid var(--c-line);
}
.sample-card__thumb iframe{
  /* iframeを縮小して全ページ表示 */
  position: absolute;
  top: 0; left: 0;
  width: 1280px; height: 960px;
  border: 0;
  transform: scale(.3125); /* 400/1280 */
  transform-origin: 0 0;
  pointer-events: none;
}
.sample-card__thumb--static img{
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.sample-card__overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,35,65,0) 0%, rgba(15,35,65,.75) 100%);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .25s ease;
}
.sample-card:hover .sample-card__overlay{ opacity: 1; }
.sample-card__visit{
  background: #fff;
  color: var(--c-navy);
  font-size: 13px; font-weight: 900;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}
.sample-card__meta{
  padding: 20px 22px;
}
.sample-card__tier{
  display: inline-block;
  font-family: var(--f-en);
  font-size: 11px; font-weight: 800;
  letter-spacing: .12em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
  color: #fff;
}
.sample-card__tier--yellow{ background: var(--c-gold); }
.sample-card__tier--cyan  { background: var(--c-cyan); }
.sample-card__tier--pink  { background: var(--c-coral); }
.sample-card__title{
  font-size: 15px; font-weight: 900; color: var(--c-navy);
  margin-bottom: 6px;
}
.sample-card__url{
  font-size: 11px; color: var(--c-text-soft);
  font-family: var(--f-en);
  word-break: break-all;
}

/* ---------------- GUARANTEE ---------------- */
.section--guarantee{
  padding: 80px 0;
  background: linear-gradient(135deg, #fff6df 0%, #fde6e0 100%);
}
.guarantee{
  display: flex; align-items: center; gap: 40px; justify-content: center;
  background: #fff; border-radius: var(--radius); padding: 48px 56px;
  box-shadow: var(--shadow-md); max-width: 960px; margin: 0 auto;
}
.guarantee__seal{
  flex: 0 0 160px; width: 160px; height: 160px; border-radius: 50%;
  background: var(--c-coral); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 900; box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--c-coral);
  gap: 2px;
}
.guarantee__seal-top{ font-size: 14px; letter-spacing: .1em;}
.guarantee__seal-main{ font-size: 38px; line-height: 1; letter-spacing: .05em;}
.guarantee__seal-bot{ font-size: 14px; letter-spacing: .1em;}
.guarantee__text{ flex: 1;}
.guarantee__text h3{ font-size: 26px; color: var(--c-navy); margin: 0 0 14px; font-weight: 900;}
.guarantee__text p{ color: var(--c-text-soft); margin: 0 0 8px; font-size: 14px; line-height: 2;}
.guarantee__note{ font-size: 11px !important; color: var(--c-text-soft); opacity: .7; margin-top: 10px !important;}

/* ---------------- TEAM ---------------- */
.section--team{ background: #fff; }
.team-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 1000px; margin: 0 auto;}
.team-card{
  background: #fff; border-radius: var(--radius); padding: 36px 32px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--c-line);
  text-align: center;
}
.team-card__role{
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .04em;
  color: #fff; background: var(--c-navy); padding: 7px 18px; border-radius: 999px;
  margin-bottom: 20px; line-height: 1.5;
}
.team-card__photo{
  width: 160px; height: 160px; border-radius: 50%; overflow: hidden;
  margin: 0 auto 20px; background: linear-gradient(135deg, #dbe6f0, #eaf0f7);
  position: relative;
}
.team-card__photo img{ width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.team-card__ph-label{
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; color: var(--c-navy-soft);
  opacity: 0; pointer-events: none;
}
.team-card__photo.is-placeholder .team-card__ph-label{ opacity: 1;}
.team-card__company{ font-size: 13px; color: var(--c-text-soft); font-weight: 700; margin-bottom: 4px;}
.team-card__name{ font-size: 22px; font-weight: 900; color: var(--c-navy); margin-bottom: 16px;}
.team-card__name span{ font-size: 12px; color: var(--c-text-soft); font-weight: 700; margin-left: 6px;}
.team-card__desc{ font-size: 13px; color: var(--c-text-soft); line-height: 1.95; margin: 0 0 24px; text-align: left;}
.team-card__logo{ height: 80px; display: grid; place-items: center; border-top: 1px solid var(--c-line); padding-top: 20px;}
.team-card__logo img{ max-height: 60px; max-width: 200px; width: auto; object-fit: contain;}
.team-card__logo--touch img{ max-height: 48px; max-width: 360px; }
.team-card__logo--cypher img{ max-height: 60px; max-width: 180px; }
.team-card__logo .text-fallback{ font-family: var(--f-en); font-weight: 700; letter-spacing: .14em; color: var(--c-navy);}

/* ---------------- FAQ ---------------- */
.section--faq{ background: var(--c-bg-tint); }
.faq-list{ max-width: 820px; }
.faq-item{
  border: 1px solid var(--c-line); border-radius: 10px;
  padding: 18px 22px; margin-bottom: 12px; background: #fff;
}
.faq-item summary{
  cursor: pointer; list-style: none; font-weight: 800; color: var(--c-navy);
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after{ content: "+"; font-size: 22px; color: var(--c-coral); font-weight: 400;}
.faq-item[open] summary::after{ content: "−"; }
.faq-item p{ margin: 14px 0 0; color: var(--c-text-soft); font-size: 14px; line-height: 1.95; }

/* ---------------- CTA / FORM ---------------- */
.section--cta{ background: #fff; padding: 100px 0 140px; }
.cta-top{ margin-bottom: 60px;}
.cta-sub{ font-size: 15px; color: var(--c-text-soft); margin: 12px 0 28px; }
.cta-sub strong{ color: var(--c-coral);}
.cta-buttons{ display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;}

.contact-form{
  max-width: 720px; margin: 0 auto;
  background: var(--c-bg-tint); border-radius: var(--radius); padding: 40px;
}
.form-row{ margin-bottom: 20px;}
.form-row label{
  display: block; font-size: 13px; font-weight: 800; color: var(--c-navy); margin-bottom: 8px;
}
.form-row label .req{
  display: inline-block; margin-left: 8px; background: var(--c-coral); color: #fff;
  font-size: 10px; padding: 2px 8px; border-radius: 4px; letter-spacing: .08em;
}
.form-row input, .form-row select, .form-row textarea{
  width: 100%; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: 8px;
  font-family: inherit; font-size: 14px; background: #fff; color: var(--c-text);
  transition: border-color .15s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{
  outline: none; border-color: var(--c-navy);
}
.form-submit{ width: 100%; justify-content: center; margin-top: 12px;}

/* =========================================================
   LEGAL PAGES (privacy / tokushoho)
   ========================================================= */
.legal-page{
  background: var(--c-bg-tint);
  padding: 80px 0 100px;
  min-height: calc(100vh - 400px);
}
.legal-title{
  font-size: 36px; font-weight: 900; color: var(--c-navy);
  margin: 8px 0 24px;
  line-height: 1.4;
}
.legal-lead{
  font-size: 15px; color: var(--c-text-soft);
  line-height: 2;
  margin: 0 0 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--c-line);
}
.legal-section{
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 36px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.legal-section h2{
  font-size: 18px; font-weight: 900; color: var(--c-navy);
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--c-coral);
  line-height: 1.5;
}
.legal-section p{
  font-size: 14px; color: var(--c-text);
  line-height: 2;
  margin: 0 0 12px;
}
.legal-section p:last-child{ margin-bottom: 0; }
.legal-list{
  font-size: 14px; color: var(--c-text);
  line-height: 2;
  margin: 12px 0 0; padding-left: 22px;
}
.legal-list li{ margin-bottom: 4px; }
.legal-box{
  background: var(--c-bg-tint);
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 2;
}
.legal-box a{ color: var(--c-cyan); text-decoration: underline; }
.legal-table{
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
}
.legal-table th,
.legal-table td{
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
  line-height: 1.9;
}
.legal-table th{
  background: var(--c-bg-tint);
  font-weight: 900; color: var(--c-navy);
  width: 220px;
  white-space: nowrap;
}
.legal-table tr:last-child th,
.legal-table tr:last-child td{ border-bottom: 0; }
.legal-table a{ color: var(--c-cyan); text-decoration: underline; }
.legal-date{
  margin-top: 40px;
  font-size: 13px; color: var(--c-text-soft);
  text-align: right;
  line-height: 1.9;
}
.legal-back{
  margin-top: 48px;
  text-align: center;
}

@media (max-width: 768px){
  .legal-title{ font-size: 26px; }
  .legal-section{ padding: 24px 22px; }
  .legal-table th{ width: auto; display: block; border-bottom: 0; padding-bottom: 8px; }
  .legal-table td{ display: block; padding-top: 0; }
}

/* ---------------- FOOTER ---------------- */
.site-footer{ background: var(--c-navy-deep); color: #fff; padding: 60px 0 0; }
.footer__inner{
  display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; align-items: flex-start;
  padding-bottom: 40px;
}
.site-footer .logo{ color: #fff; }
.site-footer .logo__text strong,
.site-footer .logo__text em{ color: #cfd7e3;}
.footer__tag{ font-size: 12px; color: #9ca9be; margin: 14px 0 0;}
.footer__links{ display: flex; flex-direction: column; gap: 12px; }
.footer__links a{ font-size: 13px; color: #cfd7e3;}
.footer__links a:hover{ color: #fff;}
.footer__company{ font-size: 13px; color: #cfd7e3; line-height: 1.9; display: flex; flex-direction: column; gap: 18px;}
.footer__company strong{ color: #fff; display: block;}
.footer__corp-label{
  display: inline-block;
  font-size: 10px; font-weight: 800; letter-spacing: .12em;
  color: #9ca9be;
  padding: 2px 10px; border: 1px solid #2a3e62; border-radius: 999px;
  margin-bottom: 6px;
}
.footer__corp-name{ font-size: 14px; }
.footer__addr{ font-size: 11px; color: #9ca9be; margin-top: 8px; line-height: 1.8;}
.footer__corp--partner{ padding-top: 14px; border-top: 1px dashed #1e3156; }

/* フッターロゴストリップ */
.footer__logos{
  display: flex; align-items: center; justify-content: center; gap: 56px;
  padding: 40px 24px 32px;
  border-top: 1px solid #1e3156;
}
.footer__logo{
  display: grid; place-items: center;
}
.footer__logo img{
  display: block; width: auto; object-fit: contain;
  opacity: .9;
  transition: opacity .2s;
}
.footer__logo:hover img{ opacity: 1; }
/* touch DURABLE: 透明背景SVG → filterで白化 */
.footer__logo--touch img{
  height: 120px; max-width: 280px;
  filter: brightness(0) invert(1);
}
/* Cypher Point: 黒背景PNG → 黒を背景に溶かす */
.footer__logo--cypher img{
  height: 72px; max-width: 280px;
  mix-blend-mode: screen;
}
.footer__logo-divider{
  width: 1px; height: 80px; background: #2a3e62;
}

.footer__copy{ border-top: 1px solid #1e3156; padding: 18px 0; font-size: 12px; color: #9ca9be;}
.footer__copy-inner{ display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;}
.footer__sub{ display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.footer__sub a{ color: #9ca9be; }
.footer__sub a:hover{ color: #fff; text-decoration: underline; }
.footer__sub-sep{ color: #3a4d6b; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1024px){
  .hero__inner{ grid-template-columns: 1fr; }
  .hero__visual{ height: 420px; }
  .mock--browser{ right: auto; left: 0; width: 90%; }
  .mock--phone{ right: 10%; }
  .feature-cards, .func-cards, .result-grid, .plan-grid, .team-grid, .samples__grid{ grid-template-columns: 1fr; }
  /* ロゴ — 640px以下は別途スクロール制御するため、ここではタブレットのみ */
  .plan--featured{ transform: none;}
  .steps{ grid-template-columns: 1fr; }
  .step-arrow{ transform: rotate(90deg); padding: 4px 0;}
  .detail{ grid-template-columns: 1fr; gap: 30px;}
  .footer__inner{ grid-template-columns: 1fr; }
  .guarantee{ flex-direction: column; padding: 32px 24px; text-align: center;}
  .guarantee__seal{ flex: none; width: 120px; height: 120px; }
  .guarantee__seal-main{ font-size: 28px; }
  .guarantee__text h3{ font-size: 22px;}
}
@media (max-width: 640px){
  /* ===== 全体スペーシング ===== */
  .hero{ padding: 40px 0 56px; }
  .section{ padding: 64px 0; }
  .section--intro{ padding: 56px 0 48px; }
  .section--detail, .section--consulting, .section--function,
  .section--price, .section--team, .section--faq{ padding: 64px 0; }
  .container{ padding: 0 18px; }

  /* ===== ヘッダー ===== */
  .site-header__inner{ padding: 12px 16px; gap: 12px; }
  .gnav{ display: none; }
  .header-cta .btn--white{ display: none; }
  .header-cta .btn--primary{ padding: 10px 16px; font-size: 12px; }
  .logo__text{ font-size: 13px; }

  /* ===== ヒーロー ===== */
  .hero__inner{ gap: 24px; padding: 0 18px; }
  .hero__badges{ gap: 6px; margin-bottom: 16px; }
  .hbadge{ font-size: 10px; padding: 5px 10px; }
  .hero__title{ font-size: 28px; line-height: 1.35; margin-bottom: 16px; }
  .hero__title-sub{ font-size: 16px; margin-top: 10px; line-height: 1.5; }
  .hero__lead{ font-size: 14px; line-height: 1.9; margin-bottom: 24px; }
  .hero__cta{ gap: 10px; }
  .hero__cta .btn{ flex: 1; justify-content: center; padding: 14px 18px; font-size: 13px; }

  /* ヒーロー右側サンプル（横はみ出し防止） */
  .hero-samples{ height: 340px; margin-top: 8px; }
  .hero-sample{ width: 80%; }
  .hero-sample--back{ top: 0; left: 0; }
  .hero-sample--mid{ top: 26%; left: 10%; }
  .hero-sample--front{ top: 52%; left: 18%; }
  .hero-sample__badge{ font-size: 9px; padding: 4px 10px; top: 8px; left: 8px; }
  /* 装飾blobを控えめに */
  .hero-samples__blob--pink{ width: 140px; height: 140px; }
  .hero-samples__blob--cyan{ width: 160px; height: 160px; }
  .hero-spark--1, .hero-spark--2, .hero-spark--3{ width: 12px; height: 12px; }

  /* ===== セクションタイトル共通 ===== */
  .section-title{ font-size: 24px; line-height: 1.4; }
  .section-lead{ font-size: 14px; line-height: 1.9; margin-bottom: 28px; }
  .eyebrow{ font-size: 12px; }

  /* ===== 3つの安心 ===== */
  .feature-cards{ gap: 16px; margin-top: 20px; }
  .fcard{ padding: 28px 22px; }
  .fcard__num{ font-size: 40px; margin-bottom: 10px; }
  .fcard__title{ font-size: 17px; margin-bottom: 18px; }
  .illus-slot--card{ height: 140px; }

  /* ===== 詳細 01/02/03 ===== */
  .detail{ gap: 24px; }
  .detail__num{ font-size: 56px; margin-bottom: 12px; }
  .detail__title{ font-size: 22px; line-height: 1.5; margin-bottom: 14px; }
  .detail__body{ font-size: 14px; line-height: 1.95; }
  .detail__tags{ gap: 6px; }
  .detail__tags li{ font-size: 11px; padding: 5px 10px; }
  .flow-diagram{ padding: 24px 18px; }
  .flow-node{ padding: 14px 16px; }
  .flow-node__title{ font-size: 16px; }
  .coverage-panel{ padding: 20px 18px; }
  .coverage-grid{ gap: 8px; }
  .coverage-item{ padding: 14px 16px; }
  .coverage-item__num{ font-size: 22px; }
  .coverage-item__title{ font-size: 14px; }
  .coverage-item__desc{ font-size: 11px; }

  /* ===== 成果事例 ===== */
  .result-grid{ gap: 14px; }
  .result-card{ padding: 24px; }

  /* ===== サービス ===== */
  .func-box{ padding: 24px 18px; }
  .func-cards{ gap: 14px; }
  .func-card{ padding: 22px 18px; }
  .func-card h4{ font-size: 16px; }
  .func-card p{ font-size: 13px; }
  .steps{ gap: 12px; }
  .step{ padding: 20px 18px; }
  .step h4{ font-size: 15px; }
  .step p{ font-size: 13px; }
  .step-arrow{ font-size: 18px; }

  /* ===== 料金プラン ===== */
  .plan-grid{ gap: 16px; }
  .plan{ padding-bottom: 16px; }
  .plan__header{ padding: 20px 18px; }
  .plan__name{ font-size: 22px; }
  .plan__body{ padding: 18px 20px 20px; }
  .plan__price-num{ font-size: 32px; }
  .plan__list li{ font-size: 13px; }
  .plan--featured{ transform: none; }
  .plan__ribbon{ font-size: 11px; top: -12px; padding: 5px 16px; }

  /* サンプルサイト（料金下） */
  .samples{ margin-top: 48px; padding-top: 36px; }
  .samples__title{ font-size: 22px; }
  .samples__lead{ font-size: 13px; }
  .samples__grid{ gap: 16px; }
  .sample-card__thumb iframe{
    width: 100vw; height: 75vw;
    transform: scale(calc(100vw / 1280));
    transform-origin: 0 0;
  }
  .sample-card__thumb--static img{ object-position: top center; }
  .sample-card__meta{ padding: 16px 18px; }

  /* ===== 返金保証 ===== */
  .guarantee{ gap: 20px; padding: 28px 22px; }
  .guarantee__seal{ flex: none; width: 100px; height: 100px; }
  .guarantee__seal-main{ font-size: 22px; }
  .guarantee__seal-top, .guarantee__seal-bot{ font-size: 11px; }
  .guarantee__text h3{ font-size: 20px; line-height: 1.5; }
  .guarantee__text p{ font-size: 13px; line-height: 1.9; }

  /* ===== 制作体制 ===== */
  .team-card{ padding: 28px 22px; }
  .team-card__role{ font-size: 12px; padding: 6px 14px; margin-bottom: 16px; }
  .team-card__photo{ width: 130px; height: 130px; margin-bottom: 16px; }
  .team-card__company{ font-size: 12px; }
  .team-card__name{ font-size: 20px; margin-bottom: 12px; }
  .team-card__desc{ font-size: 13px; line-height: 1.9; margin-bottom: 18px; }

  /* ===== FAQ ===== */
  .faq-item summary{ font-size: 14px; padding: 16px 20px; }
  .faq-item p{ font-size: 13px; padding: 0 20px 16px; line-height: 1.9; }

  /* ===== CTAセクション ===== */
  .cta-sub{ font-size: 14px; }
  .cta-buttons{ gap: 10px; }
  .cta-buttons .btn{ width: 100%; justify-content: center; }

  /* ===== フォーム ===== */
  .contact-form{ padding: 22px 18px; }
  .form-row label{ font-size: 13px; }
  .form-row input, .form-row select, .form-row textarea{ font-size: 16px; padding: 12px 14px; } /* iOS拡大防止で16px死守 */

  /* ===== 比較（相場 vs AIOLP） ===== */
  .compare{ padding: 20px; flex-direction: column; gap: 14px; }
  .compare__arrow{ transform: rotate(90deg); }

  /* ===== フッター ===== */
  .site-footer{ padding: 48px 0 0; }
  .footer__inner{ gap: 28px; padding-bottom: 28px; }
  .footer__links{ flex-direction: row; flex-wrap: wrap; gap: 12px 18px; }
  .footer__links a{ font-size: 12px; }
  .footer__tag{ font-size: 11px; }
  .footer__logos{ gap: 24px; padding: 24px 20px 20px; }
  .footer__logo--touch img{ height: 56px; max-width: 140px; }
  .footer__logo--cypher img{ height: 32px; max-width: 140px; }
  .footer__logo-divider{ height: 48px; }
  .footer__copy{ padding: 14px 0; font-size: 11px; }
  .footer__copy-inner{ flex-direction: column; align-items: flex-start; gap: 6px; }

  /* ===== ボタン基本 ===== */
  .btn--lg{ font-size: 14px; padding: 14px 22px; }
  .btn{ font-size: 13px; padding: 12px 18px; }
}

/* =========================================================
   ハンバーガーメニュー & モバイルナビ
   ========================================================= */
.hamburger{
  display: none; /* デスクトップでは非表示 */
  background: none; border: 0; cursor: pointer;
  width: 36px; height: 36px;
  padding: 6px;
  position: relative; z-index: 101;
  flex-shrink: 0;
}
.hamburger span{
  display: block;
  width: 22px; height: 2px;
  background: var(--c-navy);
  border-radius: 2px;
  margin: 5px auto;
  transition: transform .25s ease, opacity .2s ease;
}
.hamburger.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2){ opacity: 0; }
.hamburger.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav{
  display: none; /* デスクトップでは非表示 */
}

@media (max-width: 640px){
  .hamburger{ display: block !important; }

  .mobile-nav{
    display: block !important;
    position: fixed; inset: 0; z-index: 100;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(8px);
    padding: 80px 24px 40px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .3s ease, transform .3s ease;
    overflow-y: auto;
  }
  .mobile-nav.is-open{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .mobile-nav__links{
    display: flex; flex-direction: column; gap: 0;
  }
  .mobile-nav__links a{
    display: block;
    padding: 16px 0;
    font-size: 16px; font-weight: 800;
    color: var(--c-navy);
    border-bottom: 1px solid var(--c-line);
    text-decoration: none;
  }
  .mobile-nav__cta{
    margin-top: 28px;
  }
}

/* さらに狭い画面（iPhone SE等） */
@media (max-width: 380px){
  .hero__title{ font-size: 24px; }
  .hero__title-sub{ font-size: 15px; }
  .section-title{ font-size: 22px; }
  .hero-samples{ height: 280px; }
  .hero-sample{ width: 84%; }
  .hero-sample--front{ left: 12%; }
  .hero-sample--mid{ left: 6%; }
  .hero-sample--back{ left: 0; }
}
