@charset "utf-8";
/* Pay Guardian LP（パンフレット版・試作）
   値は 設計/デザイン.md に合わせる。文字の大きさ・行間・字間は typography のルール
   （整数px・12px以上・15/17pxは16pxへ・本文の行間1.9以上）に合わせて段階で切り替える */

:root {
  /* 文字サイズの段階（3 版目。これ以外の値は使わない） */
  --fs-12: 12px; --fs-13: 13px; --fs-14: 14px; --fs-16: 16px; --fs-18: 18px; --fs-19: 19px; --fs-20: 20px; --fs-22: 22px; --fs-24: 24px; --fs-28: 28px; --fs-30: 30px; --fs-32: 32px; --fs-36: 36px; --fs-40: 40px; --fs-44: 44px; --fs-48: 48px; --fs-56: 56px; --fs-64: 64px; --fs-72: 72px; --fs-88: 88px; --fs-96: 96px; --fs-120: 120px; --fs-160: 160px;

  /* 色 */
  --c-deep-900: #08221C;
  --c-deep-800: #0E3B30;
  --c-deep-700: #136052;
  --c-teal-700: #146B5D;
  --c-teal-600: #1A7F6E;
  --c-teal-500: #26A28F;
  --c-teal-400: #3FC1A8;
  --c-mint-300: #9AD6C8;
  --c-mint-200: #D3EEE6;
  --c-mint-100: #EAF6F2;
  --c-mint-line: #7CC4B3;
  --c-yellow-500: #F5E21B;
  --c-yellow-300: #FFF04D;
  --c-red-800: #9E1219;
  --c-red-600: #C62028;
  --c-red-500: #D7262B;
  --c-red-50:  #FFF5F5;
  --c-gray-band: #1C1F1E;
  --c-gray-300: #C9CDCC;
  --c-gray-200: #DCDFDE;
  --c-gray-100: #F4F5F5;
  --c-text: #1F2A27;
  --c-text-muted: #5F6B67;
  --c-text-on-dark: #FFFFFF;
  --c-muted-on-dark: #A9CFC3;
  --c-white: #FFFFFF;
  --c-line: #DCE5E1;
  --c-input-line: #C9D6D1;
  --c-placeholder: #66726E;

  /* グラデーション */
  --g-hero: linear-gradient(120deg, #08221C 0%, #0E3B30 40%, #136052 72%, #1F8C79 100%);
  --g-deep: linear-gradient(160deg, #0E3B30 0%, #0B2F27 100%);
  --g-use-bg: linear-gradient(180deg, #FFFFFF 0%, #EAF6F2 100%);
  --g-red-block: linear-gradient(150deg, #D7262B 0%, #9E1219 100%);
  --g-deep-block: linear-gradient(150deg, #1A7F6E 0%, #0E3B30 100%);
  --g-red-arrow: linear-gradient(90deg, #D7262B 0%, #9E1219 100%);
  --g-icon-circle: linear-gradient(150deg, #26A28F 0%, #146B5D 100%);

  /* 書体 */
  --font-base: "Manrope", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
  --fw-medium: 500; --fw-bold: 700; --fw-black: 900;

  /* 文字の大きさ（スマホの値。768px・1024px で切り替え） */
  --fs-hero: var(--fs-40);
  --fs-h2: var(--fs-28);
  --fs-band: var(--fs-22);
  --fs-h3: var(--fs-19);
  --fs-lead: var(--fs-16);
  --fs-body: var(--fs-16);
  --fs-small: var(--fs-13);
  --fs-note: var(--fs-12);
  --fs-eyebrow: var(--fs-12);

  /* 行間 */
  --lh-hero: 1.35; --lh-heading: 1.5; --lh-body: 1.9; --lh-lead: 1.9; --lh-small: 1.8;

  /* 余白 */
  --sp-4: 4px; --sp-8: 8px; --sp-12: 12px; --sp-16: 16px; --sp-24: 24px;
  --sp-32: 32px; --sp-48: 48px; --sp-64: 64px;
  --sp-section: 72px;

  /* 幅 */
  --container: 1200px;
  --container-narrow: 800px;
  --gutter: 20px;
  --header-h: 60px;

  /* 角丸 */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;

  /* 影 */
  --sh-card: 0 8px 24px rgba(14, 59, 48, 0.08);
  --sh-card-dark: 0 12px 32px rgba(4, 24, 19, 0.35);
  --sh-float: 0 24px 60px rgba(4, 24, 19, 0.30);
  --sh-btn: 0 6px 16px rgba(245, 226, 27, 0.25);

  /* 動き */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --dur-reveal: 600ms;
  --dur-ui: 200ms;
}
@media (min-width: 768px) {
  :root {
    --fs-hero: var(--fs-56); --fs-h2: var(--fs-36); --fs-band: var(--fs-28); --fs-h3: var(--fs-20);
    --fs-lead: var(--fs-18); --fs-small: var(--fs-14); --fs-eyebrow: var(--fs-13);
    --sp-section: 96px; --gutter: 32px; --header-h: 72px;
  }
}
@media (min-width: 1024px) {
  :root {
    --fs-hero: var(--fs-72); --fs-h2: var(--fs-44); --fs-band: var(--fs-32); --fs-h3: var(--fs-22);
    --fs-eyebrow: var(--fs-14); --sp-section: 120px; --gutter: 40px;
  }
}

/* ---------- 土台 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  line-height: var(--lh-body);
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 1;
  color: var(--c-text);
  background: var(--c-white);
  line-break: strict;
  overflow-wrap: anywhere;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, .band, .btn {
  font-feature-settings: "palt" 1;
  letter-spacing: 0.02em;
  text-wrap: balance;
  word-break: auto-phrase;
}
p { text-wrap: pretty; }
strong { font-weight: var(--fw-bold); }
em { font-style: normal; }
small { font-size: var(--fs-small); }
section[id], main [id] { scroll-margin-top: var(--header-h); }

.ib { display: inline-block; }
.nw { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hl-yellow { color: var(--c-yellow-500); }
.red { color: var(--c-red-600); }
.teal { color: var(--c-teal-700); }

.ic {
  width: 1em; height: 1em; flex: none;
  fill: currentColor; vertical-align: middle;
}

.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); }

:focus-visible { outline: 3px solid var(--c-teal-700); outline-offset: 3px; }
.hero :focus-visible, .features :focus-visible, .contact-text :focus-visible,
.site-footer :focus-visible, .site-header:not(.is-scrolled) :focus-visible,
body.nav-open .site-nav :focus-visible { outline-color: var(--c-teal-400); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  padding: 12px 20px; border-radius: var(--r-sm);
  background: var(--c-yellow-500); color: var(--c-deep-800);
  font-weight: var(--fw-bold); text-decoration: none;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* ---------- 共通の部品 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 36px;
  border: 0; border-radius: var(--r-pill);
  font-size: var(--fs-16); font-weight: var(--fw-bold); line-height: 1.5;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color var(--dur-ui) ease, transform var(--dur-ui) ease;
}
.btn .ic { width: 20px; height: 20px; transition: transform var(--dur-ui) ease; }
.btn:hover .ic { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-yellow-500); color: var(--c-deep-800); box-shadow: var(--sh-btn); }
.btn--primary:hover { background: #FFEB3B; }
.btn--ghost {
  background: transparent; color: var(--c-white);
  border: 1.5px solid rgba(255, 255, 255, .6); padding: 0 32px;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
@media (min-width: 768px) {
  .btn { min-height: 60px; }
  .btn--primary { font-size: var(--fs-18); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row--center { justify-content: center; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: var(--fs-eyebrow); font-weight: var(--fw-bold);
  line-height: 1.5; letter-spacing: 0.04em;
  color: var(--c-teal-700);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; flex: none; }
.eyebrow--dark { color: var(--c-teal-400); }
.eyebrow--center { justify-content: center; }

.h2 {
  margin-top: 12px;
  font-size: var(--fs-h2); font-weight: var(--fw-black);
  line-height: var(--lh-heading); color: var(--c-deep-800);
}
.h2--dark { color: var(--c-white); }
.h2--center { text-align: center; }
.lead {
  margin-top: 24px;
  font-size: var(--fs-lead); font-weight: var(--fw-medium);
  line-height: var(--lh-lead); max-width: 40em;
}
.lead--dark { color: var(--c-muted-on-dark); }

.note {
  font-size: var(--fs-note); line-height: var(--lh-small);
  color: var(--c-text-muted);
  padding-left: 1em; text-indent: -1em;
}
.note--dark { color: var(--c-muted-on-dark); }
.notes { margin-top: 24px; }

.marker {
  background: linear-gradient(transparent 58%, var(--c-yellow-300) 58%, var(--c-yellow-300) 92%, transparent 92%);
  padding: 0 0.1em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.card {
  background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); box-shadow: var(--sh-card);
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--c-white);
  background: transparent;
  transition: background-color var(--dur-ui) ease, color var(--dur-ui) ease, box-shadow var(--dur-ui) ease;
}
.site-header.is-scrolled {
  background: var(--c-white); color: var(--c-text);
  box-shadow: 0 1px 0 var(--c-line);
}
.header-inner { display: flex; align-items: center; gap: 8px; height: 100%; }
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; margin-right: auto;
}
.brand img { width: 32px; height: 32px; }
.brand-name { font-size: var(--fs-20); font-weight: var(--fw-bold); line-height: 1; letter-spacing: 0.01em; white-space: nowrap; }
.brand-pay { color: var(--c-teal-400); }
.site-header.is-scrolled .brand-pay { color: var(--c-teal-600); }
.site-header.is-scrolled .brand-name { color: var(--c-deep-800); }
@media (min-width: 768px) { .brand-name { font-size: var(--fs-22); } }

.btn--header {
  min-height: 40px; padding: 0 16px; font-size: var(--fs-14); box-shadow: none;
}
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 0; border-radius: var(--r-sm);
  color: inherit; cursor: pointer;
}
.nav-toggle .ic { width: 28px; height: 28px; }
.nav-toggle .ic-close,
.nav-toggle[aria-expanded="true"] .ic-menu { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }
html:not(.js) .nav-toggle { display: none; }

/* スマホ・タブレットのメニュー（1024px 未満でたたむ） */
@media (max-width: 1023px) {
  .site-nav {
    display: none;
    position: fixed; inset: var(--header-h) 0 0 0;
    padding: 24px var(--gutter) 40px;
    background: var(--c-deep-800); color: var(--c-white);
    overflow-y: auto;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-nav { display: block; }
  body.nav-open .site-header { background: var(--c-deep-800); color: var(--c-white); box-shadow: none; }
  body.nav-open .site-header .brand-name { color: var(--c-white); }
  body.nav-open .site-header .brand-pay { color: var(--c-teal-400); }
  .site-nav ul { display: grid; gap: 8px; }
  .site-nav li a {
    display: flex; align-items: center; min-height: 56px;
    font-size: var(--fs-20); font-weight: var(--fw-bold); text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  .nav-cta { margin-top: 32px; width: 100%; }
}
@media (max-width: 479px) { .hide-sm { display: none; } }
@media (max-width: 359px) { .btn--header { display: none; } }

@media (min-width: 768px) {
  .btn--header { min-height: 44px; padding: 0 20px; }
}
@media (min-width: 1024px) {
  .header-inner { gap: 32px; }
  .brand { margin-right: 0; }
  .site-nav { display: flex; align-items: center; margin-left: auto; }
  .site-nav ul { display: flex; gap: 32px; }
  .site-nav li a {
    font-size: var(--fs-16); font-weight: var(--fw-medium); text-decoration: none;
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .site-nav li a:hover { text-decoration: underline; text-underline-offset: 6px; }
  .nav-cta, .nav-toggle { display: none; }
}

/* ---------- 1. ファーストビュー ---------- */
.hero {
  position: relative; isolation: isolate;
  color: var(--c-white);
  background: var(--c-deep-900);
  padding: 96px 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: var(--c-deep-900) url("/lp/hero-background-960.webp?v=20261111-renewal-1") center / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: var(--g-hero);
  opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,.6) 100%);
          mask-image: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,.6) 100%);
}
@media (min-width: 961px) {
  .hero-bg { background-image: url("/lp/hero-background-optimized.webp?v=20261111-renewal-1"); }
}
.hero-grid { display: grid; gap: 40px; }
.hero-lead-line {
  display: flex; align-items: center; gap: 12px;
  font-size: var(--fs-14); font-weight: var(--fw-medium); line-height: 1.8;
  color: var(--c-muted-on-dark);
}
.hero-lead-line::after { content: ""; width: 64px; height: 1px; background: var(--c-teal-400); flex: none; }
.hero-target {
  margin-top: 16px;
  margin-left: calc(var(--gutter) * -1);
  padding: 8px 24px 8px var(--gutter);
  min-height: 40px; display: flex; align-items: center;
  background: linear-gradient(90deg, #1A7F6E 0%, #1A7F6E 80%, rgba(26, 127, 110, 0) 100%);
  font-size: var(--fs-14); font-weight: var(--fw-bold); line-height: 1.8;
}
.hero-title {
  margin-top: 32px;
  font-size: var(--fs-hero); font-weight: var(--fw-black);
  line-height: var(--lh-hero); letter-spacing: 0.02em;
}
.hero-sub {
  margin-top: 24px;
  font-size: var(--fs-16); font-weight: var(--fw-bold); line-height: 1.7;
}
.hero-note-line {
  margin-top: 12px;
  font-size: var(--fs-14); line-height: var(--lh-small); color: var(--c-muted-on-dark);
}
.hero-text .btn-row { margin-top: 32px; flex-direction: column; gap: 12px; }
.hero-text .btn-row .btn { width: 100%; }
.hero-visual { margin-right: calc(var(--gutter) * -1); }
.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 24px 40px rgba(4, 24, 19, .35));
}

.strengths { display: grid; gap: 12px; margin-top: 40px; }
.strength {
  display: flex; align-items: center; gap: 16px;
  min-height: 72px; padding: 10px 24px 10px 10px;
  border-radius: var(--r-pill);
  background: rgba(8, 34, 28, .55);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.strength-icon {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--g-icon-circle);
}
.strength-icon .ic { width: 26px; height: 26px; }
.strength-text { display: flex; flex-direction: column; min-width: 0; }
.strength-label { font-size: var(--fs-13); font-weight: var(--fw-bold); line-height: 1.8; color: var(--c-yellow-500); }
.strength-main { font-size: var(--fs-18); font-weight: var(--fw-black); line-height: 1.5; white-space: nowrap; }
.strength-main .num { font-size: var(--fs-28); line-height: 1; color: var(--c-yellow-500); margin-inline: 1px; }
.hero-note { margin-top: 12px; }
.hero-scroll {
  display: flex; justify-content: center; align-items: center;
  width: 44px; height: 44px; margin: 24px auto 0;
  color: var(--c-teal-400); border-radius: 50%;
}
.hero-scroll .ic { width: 32px; height: 32px; }

@media (min-width: 768px) {
  .hero { padding: 120px 0 120px; }
  .hero-target { font-size: var(--fs-16); min-height: 44px; }
  .hero-sub { font-size: var(--fs-20); }
  .hero-text .btn-row { flex-direction: row; gap: 16px; }
  .hero-text .btn-row .btn { width: auto; }
  .hero-visual { margin-right: 0; max-width: 620px; }
  .strengths { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (min-width: 1024px) {
  .hero { padding: 140px 0 120px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .hero-visual { margin-right: -40px; justify-self: end; }
  .strengths { margin-top: 48px; }
}
@media (min-width: 1200px) {
  .strengths { grid-template-columns: repeat(4, 1fr); }
  .strength { min-height: 88px; gap: 12px; padding: 12px 16px 12px 12px; }
  .strength-icon { width: 56px; height: 56px; }
  .strength-icon .ic { width: 30px; height: 30px; }
  .strength-label { font-size: var(--fs-12); white-space: nowrap; }
  .strength-main { font-size: var(--fs-18); }
  .strength-main .num { font-size: var(--fs-30); }
}

/* 3つの価値 */
.values { position: relative; z-index: 1; padding-bottom: 56px; }
.value-cards { display: grid; gap: 12px; margin-top: -40px; }
.value-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; border-radius: var(--r-lg);
  background: var(--c-white); box-shadow: var(--sh-card-dark);
}
.value-card .ic { width: 40px; height: 40px; color: var(--c-teal-500); }
.value-card p { display: flex; flex-direction: column; color: var(--c-deep-800); line-height: 1.5; }
.value-1 { font-size: var(--fs-18); font-weight: var(--fw-bold); }
.value-2 { font-size: var(--fs-20); font-weight: var(--fw-black); }
.inspection-line {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  max-width: 760px; margin: 40px auto 0; padding: 16px 20px;
  border-radius: var(--r-lg);
  background: var(--c-deep-800); color: var(--c-white);
  font-size: var(--fs-16); font-weight: var(--fw-bold); line-height: 1.6; text-align: center;
}
.inspection-line strong { font-size: var(--fs-22); color: var(--c-yellow-500); }
.inspection-line .ic { width: 28px; height: 28px; color: var(--c-yellow-500); }
@media (min-width: 768px) {
  .value-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: -64px; }
  .value-card { flex-direction: column; text-align: center; padding: 32px; gap: 16px; }
  .value-card .ic { width: 48px; height: 48px; }
  .value-card p { align-items: center; }
  .value-1 { font-size: var(--fs-20); }
  .inspection-line { min-height: 72px; border-radius: var(--r-pill); font-size: var(--fs-22); padding: 8px 32px; }
  .inspection-line strong { font-size: var(--fs-28); }
}

/* パートナーの帯 */
.partner-strip { border-top: 1px solid var(--c-line); padding: 24px 0; }
.partner-strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 48px; }
.partner-strip img:first-child { height: 28px; width: auto; }
.partner-strip img:last-child { height: 45px; width: auto; }   /* Draper Dragon：ハナカードのロゴ（高さ 45px）とそろえる */

/* ---------- 2・3. 使わない場合／使う場合 ---------- */
.case-photo { position: relative; display: block; height: 240px; overflow: hidden; }
.case-photo img { width: 100%; height: 100%; object-fit: cover; }
.case-photo::after { content: ""; position: absolute; inset: 70% 0 0 0; }
.case--without .case-photo img { object-position: 50% 35%; }
.case--without .case-photo::after { background: linear-gradient(transparent, rgba(28, 31, 30, .6)); }
.case--with .case-photo img { object-position: 60% 30%; }
.case--with .case-photo::after { background: linear-gradient(transparent, rgba(20, 107, 93, .5)); }

.band {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  min-height: 68px; padding: 8px var(--gutter);
  font-size: var(--fs-band); font-weight: var(--fw-bold); line-height: 1.5;
  letter-spacing: 0.04em; text-align: center;
  color: var(--c-white);
}
.band::after {
  content: ""; position: absolute; left: 50%; top: 100%;
  width: 64px; height: 24px; transform: translateX(-50%);
  background: inherit; clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.band em { color: var(--c-yellow-500); }
.band--without { background: var(--c-gray-band); }
.band--with { background: var(--c-teal-700); }
.band--with::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #0E3B30 0%, #146B5D 22%, #146B5D 100%);
}

.case-body { padding: 56px 0 var(--sp-section); }
.case--without .case-body { background: var(--c-gray-100); }
.case--with .case-body { background: var(--g-use-bg); }

.case-head { position: relative; text-align: center; }
.case-title { font-weight: var(--fw-black); line-height: 1.4; color: var(--c-text); }
.case-title > span { display: block; }
.case-title > span + span { margin-top: 8px; }
.ct-1 { font-size: var(--fs-22); }
.ct-2 { font-size: var(--fs-32); color: var(--c-red-600); }
.ct-3 { font-size: var(--fs-24); }

.memo {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(11em, 1fr)); column-gap: 16px;
  margin-top: 24px; padding: 12px 16px;
  background: var(--c-white); border: 1px solid var(--c-gray-300);
  border-radius: var(--r-sm); box-shadow: var(--sh-card);
  text-align: left;
}
.memo li {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0; font-size: var(--fs-16); font-weight: var(--fw-medium); line-height: 1.8;
  border-bottom: 1px dashed var(--c-gray-200);
}
.memo li::before {
  content: ""; width: 14px; height: 14px; flex: none;
  border: 1.5px solid var(--c-text-muted); border-radius: 2px;
}
.memo li:last-child { border-bottom: 0; }

.case-lead {
  max-width: 38em; margin: 32px auto 0;
  font-size: var(--fs-lead); font-weight: var(--fw-medium); line-height: var(--lh-lead);
}

.case-title--with { font-size: var(--fs-28); color: var(--c-deep-800); }
.case-title--with > span { display: inline-block; }
.case-title--with > span + span { margin-top: 0; }
.sparkle { position: absolute; fill: var(--c-yellow-500); }
.sparkle--1 { width: 28px; height: 28px; left: 0; top: -20px; }
.sparkle--2 { width: 20px; height: 20px; right: 0; top: -8px; }
.sparkle--3 { display: none; }
.badge-line {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin-top: 24px;
}
.badge {
  position: relative; font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: baseline;
  padding: 4px 16px;
  background: var(--c-yellow-300); border: 1.5px solid var(--c-deep-800);
  border-radius: var(--r-sm);
  font-size: var(--fs-20); font-weight: var(--fw-black); line-height: 1.5; color: var(--c-deep-800);
}
.badge .num { font-size: var(--fs-30); line-height: 1; color: var(--c-teal-700); margin-inline: 2px; }
.badge-text { font-size: var(--fs-18); font-weight: var(--fw-black); line-height: 1.5; color: var(--c-deep-800); }

/* 3段の流れ（スマホ：縦に積む） */
.flow { display: grid; gap: 24px; margin-top: 40px; }
.stage { display: flex; flex-direction: column; align-items: center; }
.arrow {
  width: 100%; min-height: 72px; padding: 8px 16px 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 50% 100%, 0 calc(100% - 12px));
}
.arrow-name { font-size: var(--fs-20); font-weight: var(--fw-bold); line-height: 1.5; }
.arrow-sub { font-size: var(--fs-small); font-weight: var(--fw-medium); line-height: 1.8; }
.flow--without .stage:nth-child(1) .arrow { background: var(--c-gray-200); }
.flow--without .stage:nth-child(2) .arrow { background: var(--c-gray-300); }
.flow--without .stage:nth-child(3) .arrow { background: var(--g-red-arrow); color: var(--c-white); }
.flow--with .stage:nth-child(1) .arrow { background: var(--c-mint-200); color: var(--c-deep-800); }
.flow--with .stage:nth-child(2) .arrow { background: var(--c-mint-300); color: var(--c-deep-800); }
.flow--with .stage:nth-child(3) .arrow { background: var(--c-teal-700); color: var(--c-white); }

.months {
  display: flex; gap: 4px; justify-content: center;
  margin-top: 16px;
}
.month {
  width: 12px; height: 12px; border-radius: 2px;
  border: 1.5px solid var(--c-gray-300); background: var(--c-white);
}
.flow--without .month.is-on { background: var(--c-red-500); border-color: var(--c-red-500); }
.flow--with .month { border-color: var(--c-teal-600); }
.flow--with .month.is-on { background: var(--c-teal-600); }
/* JS があるときだけ、見えたら順に塗る */
.js .months .month.is-on { background: var(--c-white); transition: background-color 300ms ease; }
.js .flow--with .months .month.is-on { border-color: var(--c-mint-line); transition: background-color 300ms ease, border-color 300ms ease; }
.js .flow--without .months .month.is-on { border-color: var(--c-gray-300); transition: background-color 300ms ease, border-color 300ms ease; }
.js .flow--without .months.is-visible .month.is-on { background: var(--c-red-500); border-color: var(--c-red-500); }
.js .flow--with .months.is-visible .month.is-on { background: var(--c-teal-600); border-color: var(--c-teal-600); }
.js .flow--without .months.is-visible .month:nth-child(10) { transition-delay: 300ms; }
.js .flow--without .months.is-visible .month:nth-child(11) { transition-delay: 450ms; }
.js .flow--without .months.is-visible .month:nth-child(12) { transition-delay: 600ms; }
.js .flow--with .months.is-visible .month { transition-delay: calc(var(--stage, 0ms) + var(--i, 0) * 20ms); }
.month:nth-child(1) { --i: 0; } .month:nth-child(2) { --i: 1; }
.month:nth-child(3) { --i: 2; } .month:nth-child(4) { --i: 3; }
.month:nth-child(5) { --i: 4; } .month:nth-child(6) { --i: 5; }
.month:nth-child(7) { --i: 6; } .month:nth-child(8) { --i: 7; }
.month:nth-child(9) { --i: 8; } .month:nth-child(10) { --i: 9; }
.month:nth-child(11) { --i: 10; } .month:nth-child(12) { --i: 11; }
.js .months[data-reveal] { opacity: 1; transform: none; }

.months-legend {
  margin-top: 12px; text-align: right;
  font-size: var(--fs-note); line-height: var(--lh-small); color: var(--c-text-muted);
}

.stage-card {
  position: relative; width: 100%;
  margin-top: 20px; padding: 24px 20px;
  background: var(--c-white); border: 1.5px solid var(--c-gray-200);
  border-radius: var(--r-lg);
  font-size: var(--fs-16); font-weight: var(--fw-medium); line-height: 1.9;
  text-align: center;
}
.stage-card::before {
  content: ""; position: absolute; left: 50%; bottom: 100%;
  width: 16px; height: 9px; transform: translateX(-50%);
  background: inherit; clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.stage-card::after {
  content: ""; position: absolute; left: 50%; bottom: calc(100% + 1px);
  width: 16px; height: 9px; transform: translateX(-50%); z-index: -1;
}
.flow--without .stage-card::before { background: var(--c-gray-200); }
.stage--alert .stage-card {
  border-color: var(--c-red-500); background: var(--c-red-50);
  color: var(--c-red-600); font-weight: var(--fw-bold);
}
.flow--without .stage--alert .stage-card::before { background: var(--c-red-500); }
.stage-pill {
  display: inline-flex; align-items: center; min-height: 32px;
  margin-top: 12px; padding: 0 16px;
  border-radius: var(--r-pill); background: var(--c-red-500); color: var(--c-white);
  font-size: var(--fs-14); font-weight: var(--fw-bold); line-height: 1.8;
}
.flow--with .stage-card { border-color: var(--c-mint-line); }
.flow--with .stage-card::before { background: var(--c-mint-line); }
.flow--with .stage-card .ic { width: 40px; height: 40px; color: var(--c-teal-500); margin: 0 auto 16px; display: block; }

/* まとめ箱 */
.sumbox {
  display: grid; gap: 16px;
  margin-top: 48px; padding: 16px;
  border: 1.5px solid; border-radius: var(--r-xl);
}
.sumbox-head {
  display: flex; align-items: center; justify-content: center;
  min-height: 72px; padding: 12px 16px;
  border-radius: var(--r-lg);
  color: var(--c-white); font-size: var(--fs-20); font-weight: var(--fw-black); line-height: 1.5; text-align: center;
}
.sumbox-list { display: grid; gap: 16px; padding: 4px 4px 8px; }
.sumbox-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: var(--fs-16); font-weight: var(--fw-medium); line-height: 1.9;
}
.sumbox-list .ic { width: 24px; height: 24px; margin-top: 2px; }
.sumbox-list small { font-size: var(--fs-14); }
.sumbox--risk { border-color: var(--c-red-500); background: var(--c-red-50); }
.sumbox--risk .sumbox-head { background: var(--g-red-block); }
.sumbox--risk .ic { color: var(--c-red-600); }
.sumbox--keep { border-color: var(--c-mint-line); background: var(--c-white); }
.sumbox--keep .sumbox-head { background: var(--g-deep-block); }
.sumbox--keep .ic { color: var(--c-teal-600); }
.case--with .btn-row { margin-top: 40px; }

.bridge {
  display: flex; align-items: center; justify-content: center;
  height: 72px;
  background: linear-gradient(180deg, var(--c-white) 0%, var(--c-mint-100) 100%);
  color: var(--c-teal-500);
}
.bridge .ic { width: 32px; height: 32px; }

@media (min-width: 768px) {
  .case-photo { height: 360px; }
  .band { min-height: 96px; }
  .case-body { padding-top: 72px; }
  .ct-1 { font-size: var(--fs-28); }
  .ct-2 { font-size: var(--fs-44); }
  .ct-3 { font-size: var(--fs-30); }
  .case-title--with { font-size: var(--fs-36); }
  .badge-line { flex-direction: row; justify-content: center; gap: 20px; }
  .badge::after {
    content: ""; position: absolute; left: 100%; top: 50%;
    width: 10px; height: 14px; transform: translateY(-50%);
    background: var(--c-deep-800); clip-path: polygon(0 0, 100% 50%, 0 100%);
  }
  .badge-text { font-size: var(--fs-24); }
  .sparkle--3 { display: block; width: 24px; height: 24px; left: 4%; bottom: 0; }

  /* 3段の流れ（横並び） */
  .flow { grid-template-columns: repeat(3, 1fr); column-gap: 24px; row-gap: 0; margin-top: 64px; }
  .arrow {
    position: relative;
    width: calc(100% + 24px + 16px);
    min-height: 96px; padding: 8px 32px 8px 40px;
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%, 24px 50%);
  }
  .stage:first-child .arrow {
    padding-left: 16px;
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%);
  }
  .stage:last-child .arrow { width: 100%; }
  .stage { align-items: stretch; }
  .stage .arrow { align-self: flex-start; }
  .months { justify-content: space-between; gap: 2px; }
  .month { width: 14px; height: 14px; }
  .stage-card { flex: 1; padding: 32px 24px; }
}
@media (min-width: 1024px) {
  .case-photo { height: 480px; }
  .case-head { max-width: 760px; margin-inline: auto; }
  .ct-1 { font-size: var(--fs-32); }
  .ct-2 { font-size: var(--fs-56); }
  .ct-3 { font-size: var(--fs-36); }
  .case-title--with { font-size: var(--fs-48); }
  .badge-text { font-size: var(--fs-28); }
  .sparkle--1 { width: 40px; height: 40px; left: -48px; top: -24px; }
  .sparkle--2 { width: 28px; height: 28px; right: -40px; top: 56px; }
  .sumbox { grid-template-columns: 240px 1fr; gap: 32px; }
  .sumbox-head { min-height: 200px; font-size: var(--fs-28); flex-direction: column; }
  .sumbox-head .ib { display: block; }
  .sumbox-list { gap: 20px; align-content: center; padding: 16px 16px 16px 0; }
  .bridge { height: 120px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .flow .arrow-name { font-size: var(--fs-18); }
  .flow .arrow-sub { font-size: var(--fs-13); }
  .stage-card { font-size: var(--fs-16); padding: 24px 16px; }
  .stage-pill { font-size: var(--fs-13); padding: 0 12px; }
}

@media (min-width: 1280px) {
  .memo {
    position: absolute; right: -200px; top: -16px; width: 220px;
    grid-template-columns: 1fr; margin-top: 0; padding: 12px 20px;
    transform: rotate(4deg);
  }
}
@media (min-width: 768px) and (max-width: 1279px) {
  .memo { max-width: 560px; margin-inline: auto; grid-template-columns: 1fr 1fr; }
  .memo li:nth-last-child(2) { border-bottom: 0; }
}

/* ---------- 4. 比べてみると ---------- */
.compare { padding: 64px 0; background: var(--c-white); }
.compare-title { justify-content: center; }
.compare-table { margin-top: 32px; display: grid; gap: 16px; }
.cmp-row.cmp-row--head { display: none; }
.cmp-row {
  display: grid; gap: 8px; padding: 16px;
  border: 1px solid var(--c-line); border-radius: var(--r-lg);
}
.cmp-stage { font-size: var(--fs-16); font-weight: var(--fw-bold); color: var(--c-deep-800); }
.cmp-cell {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 16px; border-radius: var(--r-sm);
  font-size: var(--fs-16); line-height: 1.9;
}
.cmp-cell .ic { width: 20px; height: 20px; margin-top: 4px; }
.cmp-cell--without { background: var(--c-gray-100); }
.cmp-cell--without .ic { color: var(--c-red-600); }
.cmp-cell--with { background: var(--c-mint-100); }
.cmp-cell--with .ic { color: var(--c-teal-600); }
.cmp-row--alert .cmp-cell--without { background: var(--c-red-50); color: var(--c-red-600); font-weight: var(--fw-bold); }
.cmp-label { display: block; font-size: var(--fs-13); font-weight: var(--fw-bold); color: var(--c-text-muted); }
.cmp-row--alert .cmp-label { color: var(--c-red-600); }
.cmp-down { width: 20px; height: 20px; color: var(--c-teal-500); justify-self: center; }
@media (min-width: 768px) {
  .compare { padding: 96px 0; }
  .compare-table { gap: 0; margin-top: 40px; }
  .cmp-row, .cmp-row.cmp-row--head {
    display: grid; grid-template-columns: 160px 1fr 1fr; gap: 0 4px;
    padding: 0; border: 0; border-radius: 0;
  }
  .cmp-row + .cmp-row { margin-top: 1px; }
  .cmp-head {
    display: flex; align-items: center; justify-content: center; min-height: 56px;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    color: var(--c-white); font-size: var(--fs-18); font-weight: var(--fw-bold);
  }
  .cmp-head--without { background: var(--c-gray-band); }
  .cmp-head--with { background: var(--c-teal-700); }
  .cmp-stage { display: flex; align-items: center; padding: 20px 16px 20px 0; }
  .cmp-cell { min-height: 88px; padding: 20px 24px; border-radius: 0; align-items: center; }
  .cmp-label, .cmp-down { display: none; }
}

/* ---------- 5. できること ---------- */
.features {
  position: relative; isolation: isolate; overflow: hidden;
  padding: var(--sp-section) 0; background: var(--g-deep); color: var(--c-white);
}
.features-head { display: grid; gap: 32px; }
.features-shot { position: relative; z-index: 0; }
.features-shot img { width: 100%; filter: drop-shadow(0 24px 40px rgba(4, 24, 19, .35)); }   /* 4 版目：表紙と同じ画像・同じ影 */
.feature-cards { display: grid; gap: 12px; margin-top: 40px; }
.feature-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; border-radius: var(--r-lg);
  background: var(--c-white); color: var(--c-text); box-shadow: var(--sh-card-dark);
  outline: 1px solid var(--c-mint-200); outline-offset: -8px;
}
.feature-card > .ic { width: 36px; height: 36px; color: var(--c-teal-500); }
.feature-card h3 { font-size: var(--fs-18); font-weight: var(--fw-bold); line-height: 1.5; color: var(--c-deep-800); }
.feature-card p { margin-top: 8px; font-size: var(--fs-16); line-height: 1.9; }
.features .btn-row { margin-top: 40px; }
.features-note { margin-top: 24px; }
@media (max-width: 767px) {
  .features .btn-row .btn { width: 100%; }
}
@media (min-width: 768px) {
  .feature-cards { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
  .feature-card { padding: 32px; gap: 24px; }
  .feature-card > .ic { width: 48px; height: 48px; }
  .feature-card h3 { font-size: var(--fs-h3); }
}
@media (min-width: 1024px) {
  .features-head { grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
  .features-shot { transform: translate(24px, -16px); }
}

/* ---------- 6. 実際の画面 ---------- */
.screens { padding: var(--sp-section) 0; background: var(--c-mint-100); }
.screens-title { justify-content: center; }
.shots { max-width: 1000px; margin: 32px auto 0; }
.shot-tabs {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 4px 24px 4px 4px; margin: 0 calc(var(--gutter) * -1) 0 0;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent);
          mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent);
}
.shot-tabs::-webkit-scrollbar { display: none; }
.shot-tabs [role="tab"] {
  flex: none; min-height: 48px; padding: 0 20px;
  border-radius: var(--r-pill); border: 1px solid var(--c-mint-line);
  background: var(--c-white); color: var(--c-teal-700);
  font-size: var(--fs-16); font-weight: var(--fw-bold); cursor: pointer;
}
.shot-tabs [role="tab"][aria-selected="true"] { background: var(--c-teal-600); border-color: var(--c-teal-600); color: var(--c-white); }
.shot-panel { margin-top: 24px; }
.browser {
  display: block; position: relative;
  padding-top: 36px; border-radius: var(--r-md); overflow: hidden;
  background: var(--c-line); box-shadow: var(--sh-float);
}
.browser::before {
  content: ""; position: absolute; left: 14px; top: 13px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c-gray-300);
  box-shadow: 16px 0 0 var(--c-gray-300), 32px 0 0 var(--c-gray-300);
}
.browser img { width: 100%; background: var(--c-white); }
.shot-caption { margin-top: 16px; font-size: var(--fs-16); line-height: 1.9; max-width: 40em; }
.shot-panel .note { margin-top: 4px; }
.tap-hint { margin-top: 4px; font-size: var(--fs-12); line-height: 1.8; color: var(--c-text-muted); }
.screens-note { margin-top: 16px; }
@media (min-width: 768px) {
  .shot-tabs { justify-content: center; flex-wrap: wrap; margin: 0; padding: 4px; -webkit-mask-image: none; mask-image: none; }
  .tap-hint { display: none; }
  .shots { margin-top: 48px; }
}

/* ---------- 7. 外部監査委員・パートナー ---------- */
.trust { padding: var(--sp-section) 0; background: var(--c-white); }
.trust-grid { display: grid; gap: 48px; }
.trust-title {
  display: flex; align-items: center; gap: 12px;
  font-size: var(--fs-20); font-weight: var(--fw-black); line-height: 1.5; color: var(--c-deep-800);
}
.trust-title::before { content: ""; width: 24px; height: 2px; background: var(--c-teal-700); flex: none; align-self: center; }
.trust-col .card { margin-top: 20px; padding: 24px; }
.person { display: grid; gap: 20px; justify-items: center; text-align: center; }
.person-photo { width: 120px; height: 120px; border-radius: var(--r-md); object-fit: cover; }
.person-role { font-size: var(--fs-14); font-weight: var(--fw-bold); color: var(--c-teal-700); line-height: 1.8; }
.person-name { margin-top: 4px; font-size: var(--fs-28); font-weight: var(--fw-black); color: var(--c-deep-800); line-height: 1.5; }
.person-name span { font-size: var(--fs-16); font-weight: var(--fw-bold); }
.person-duty { margin-top: 8px; font-size: var(--fs-16); font-weight: var(--fw-medium); line-height: 1.9; }
.person-text { margin-top: 8px; font-size: var(--fs-14); line-height: 1.9; color: var(--c-text-muted); }
.person-career { width: 100%; text-align: left; border-top: 1px solid var(--c-line); padding-top: 16px; }
.person-career h3 { font-size: var(--fs-14); font-weight: var(--fw-bold); color: var(--c-teal-700); line-height: 1.8; }
.person-career dl { display: grid; gap: 12px; margin-top: 8px; }
.person-career dt { font-size: var(--fs-16); font-weight: var(--fw-bold); line-height: 1.6; }
.person-career dd { font-size: var(--fs-14); line-height: 1.9; color: var(--c-text-muted); }
.partners { display: grid; }
.partner { text-align: center; }
.partner + .partner { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.partner img { margin-inline: auto; width: auto; }
.logo-hana { height: 36px; }
.logo-draper { height: 32px; }
.partner-role { margin-top: 12px; font-size: var(--fs-13); line-height: 1.8; color: var(--c-text-muted); font-weight: var(--fw-bold); }
.partner-text { margin-top: 8px; font-size: var(--fs-14); line-height: 1.9; text-align: left; }
.maker {
  display: grid; gap: 20px; margin-top: 64px; padding-top: 48px;
  border-top: 1px solid var(--c-line);
}
.maker img { width: 200px; height: auto; }
.maker-title { font-size: var(--fs-20); font-weight: var(--fw-black); line-height: 1.5; color: var(--c-deep-800); }
.maker p { margin-top: 12px; font-size: var(--fs-16); line-height: 1.9; max-width: 38em; }
@media (min-width: 768px) {
  .trust-col .card { padding: 32px; }
  .person { grid-template-columns: 160px 1fr; justify-items: start; text-align: left; gap: 24px; }
  .person-photo { width: 160px; height: 160px; }
  .person-career { grid-column: 1 / -1; }
  .maker { grid-template-columns: 240px 1fr; gap: 40px; align-items: center; }
  .maker img { width: 240px; }
}
@media (min-width: 1024px) {
  .trust-grid { grid-template-columns: 7fr 5fr; gap: 24px; }
  .trust-title { font-size: var(--fs-22); }
}

/* ---------- 8. よくある質問 ---------- */
.faq { padding: var(--sp-section) 0; background: var(--c-gray-100); }
.faq-list { display: grid; gap: 12px; margin-top: 32px; }
.faq-item { background: var(--c-white); border-radius: var(--r-md); box-shadow: var(--sh-card); }
.faq-item h3 { font-size: inherit; }
.faq-q {
  display: flex; align-items: center; gap: 16px; width: 100%;
  min-height: 72px; padding: 20px;
  border: 0; background: transparent; border-radius: var(--r-md);
  text-align: left; cursor: pointer;
  font-size: var(--fs-16); font-weight: var(--fw-bold); line-height: 1.6; color: var(--c-deep-800);
}
.faq-mark {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--c-teal-600); color: var(--c-white);
  font-size: var(--fs-16); font-weight: var(--fw-black); line-height: 1;
}
.faq-q-text { flex: 1; }
.faq-q .ic { width: 24px; height: 24px; color: var(--c-teal-700); }
.faq-q .ic-remove, .faq-q[aria-expanded="true"] .ic-add { display: none; }
.faq-q[aria-expanded="true"] .ic-remove { display: block; }
.faq-a { display: flex; gap: 12px; padding: 0 20px 20px; }
.faq-a[hidden] { display: none; }
.faq-a-mark { flex: none; font-size: var(--fs-16); font-weight: var(--fw-black); color: var(--c-teal-700); line-height: 1.9; }
.faq-a p { font-size: var(--fs-16); line-height: 1.9; max-width: 40em; }
@media (min-width: 768px) {
  .faq-list { margin-top: 48px; }
  .faq-q { padding: 20px 24px; font-size: var(--fs-18); }
  .faq-a { padding: 0 24px 24px 72px; margin-left: -28px; }
}

/* ---------- 9. 問い合わせ ---------- */
.contact { padding: var(--sp-section) 0; background: var(--g-deep); color: var(--c-white); }
.contact-grid { display: grid; gap: 40px; }
.contact-title {
  margin-top: 12px;
  font-size: var(--fs-24); font-weight: var(--fw-black); line-height: 1.45;
}
.contact-list-title { margin-top: 32px; font-size: var(--fs-14); font-weight: var(--fw-bold); color: var(--c-teal-400); line-height: 1.8; }
.contact-list { display: grid; gap: 12px; margin-top: 12px; }
.contact-list li { display: flex; align-items: center; gap: 8px; font-size: var(--fs-16); line-height: 1.9; }
.contact-list .ic { width: 20px; height: 20px; color: var(--c-teal-400); }

.form-panel {
  padding: 24px; border-radius: var(--r-xl);
  background: var(--c-white); color: var(--c-text); box-shadow: var(--sh-float);
}
.form-title { font-size: var(--fs-22); font-weight: var(--fw-black); color: var(--c-deep-800); line-height: 1.5; }
.form-intro { margin-top: 4px; font-size: var(--fs-14); line-height: 1.8; color: var(--c-text-muted); }
#lpForm { margin-top: 24px; }
.field + .field { margin-top: 24px; }
.field > label, .field-label {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: var(--fs-16); font-weight: var(--fw-bold); line-height: 1.6;
}
.req, .opt {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border-radius: 4px; font-size: var(--fs-12); font-weight: var(--fw-bold); line-height: 1; letter-spacing: 0.04em;
}
.req { background: var(--c-red-600); color: var(--c-white); }
.opt { background: var(--c-gray-100); color: var(--c-text-muted); border: 1px solid var(--c-gray-200); }
.field-hint { margin-top: 4px; font-size: var(--fs-13); line-height: 1.8; color: var(--c-text-muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  display: block; width: 100%; height: 52px; margin-top: 8px; padding: 0 16px;
  font-size: var(--fs-16); line-height: 1.8;
  background: var(--c-white); color: var(--c-text);
  border: 1px solid var(--c-input-line); border-radius: var(--r-md);
  transition: border-color var(--dur-ui) ease, box-shadow var(--dur-ui) ease;
}
textarea { height: 160px; padding: 14px 16px; resize: vertical; line-height: 1.8; }
::placeholder { color: var(--c-placeholder); opacity: 1; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--c-teal-600);
  box-shadow: 0 0 0 3px rgba(26, 127, 110, .25);
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }
[aria-invalid="true"] { border-color: var(--c-red-600) !important; }
.phone-row { display: flex; gap: 8px; align-items: stretch; }
.phone-country {
  display: inline-flex; align-items: center; flex: none;
  height: 52px; margin-top: 8px; padding: 0 10px;
  border: 1px solid var(--c-input-line); border-radius: var(--r-md);
  background: var(--c-gray-100); font-size: var(--fs-14); white-space: nowrap;
}
.phone-row input { min-width: 0; padding: 0 12px; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap .ic {
  position: absolute; right: 14px; top: calc(50% + 4px); transform: translateY(-50%);
  width: 24px; height: 24px; color: var(--c-teal-700); pointer-events: none;
}
.field-error {
  display: flex; align-items: center; gap: 4px;
  margin-top: 8px; font-size: var(--fs-13); line-height: 1.8; color: var(--c-red-600); font-weight: var(--fw-medium);
}
.field-error::before {
  content: "!"; display: inline-grid; place-items: center; flex: none;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--c-red-600); color: var(--c-white); font-size: var(--fs-12); font-weight: var(--fw-bold); line-height: 1;
}
.field-error:empty { display: none; }
.field > label.agree {
  display: flex; flex-wrap: nowrap; font-weight: var(--fw-medium); align-items: flex-start; gap: 12px;
  font-size: var(--fs-14); line-height: 1.8; cursor: pointer;
}
.agree input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--c-teal-600); }
.agree .req { margin-left: 8px; vertical-align: 1px; }
.btn--submit { width: 100%; margin-top: 32px; min-height: 60px; border: 1px solid #E0CD12; }
.form-note { margin-top: 16px; padding-left: 0; text-indent: 0; }
.form-done { text-align: center; padding: 32px 0; }
.form-done:focus { outline: none; }
.form-done > .ic { width: 48px; height: 48px; color: var(--c-teal-600); margin: 0 auto; display: block; }
.form-done-title { margin-top: 12px; font-size: var(--fs-22); font-weight: var(--fw-black); color: var(--c-deep-800); }
.form-done p + p { margin-top: 8px; }
.form-done .note { text-indent: 0; padding-left: 0; }
@media (min-width: 768px) {
  .contact-title { font-size: var(--fs-32); }
  .form-panel { padding: 48px; }
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .contact-title { font-size: var(--fs-36); }
}

/* ---------- フッター ---------- */
.site-footer { padding: 48px 0 24px; background: var(--c-deep-900); color: var(--c-muted-on-dark); font-size: var(--fs-14); line-height: 1.8; }
.footer-grid { display: grid; gap: 32px; }
.brand--footer .brand-name { color: var(--c-white); }
.footer-company { margin-top: 16px; }
.footer-address { margin-top: 4px; }
.site-footer a { text-decoration: none; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.site-footer a:hover { color: var(--c-white); text-decoration: underline; }
.site-footer a .ic { width: 16px; height: 16px; }
.footer-links { display: grid; gap: 4px; }
.footer-links li { line-height: 1.8; }
.footer-links li > a { flex-wrap: wrap; }
.footer-links li { min-height: 44px; display: flex; align-items: center; flex-wrap: wrap; }
.footer-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.copyright { margin-top: 12px; font-size: var(--fs-12); }
@media (min-width: 768px) {
  .site-footer { padding: 64px 0 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}

/* ---------- ふわっと出る（JS があるときだけ隠す） ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .strengths > [data-reveal]:nth-child(2), .js .value-cards > [data-reveal]:nth-child(2) { transition-delay: 80ms; }
.js .strengths > [data-reveal]:nth-child(3), .js .value-cards > [data-reveal]:nth-child(3) { transition-delay: 160ms; }
.js .strengths > [data-reveal]:nth-child(4) { transition-delay: 240ms; }
.js .feature-cards > [data-reveal]:nth-child(even) { transition-delay: 80ms; }
.js .hero-title[data-reveal] { transition-delay: 0ms; }
.js .hero-sub[data-reveal] { transition-delay: 100ms; }
.js .hero-text .btn-row[data-reveal] { transition-delay: 200ms; }
.js .hero-visual[data-reveal] { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .flow--without .months .month.is-on { background: var(--c-red-500); border-color: var(--c-red-500); }
  .js .flow--with .months .month.is-on { background: var(--c-teal-600); border-color: var(--c-teal-600); }
}

/* =====================================================================
   2 版目（設計/デザイン_v2.md）の上乗せ
   - 1 版目の値はそのまま残し、ここで上書きする
   - 動きの「始まりの状態」は html.anim（動きを減らす設定でないときだけ付く）の下にだけ書く
     → JS が無い・動きを減らす設定のときは、最初から最終の形で見える
   ===================================================================== */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --c-deep-950: #05140F;
  --c-note-on-dark: #C6E3DA;
  --c-body-on-glass: #CFE5DE;
  --c-glass: rgba(255, 255, 255, 0.06);
  --c-glass-line: rgba(255, 255, 255, 0.14);
  --c-header-glass: rgba(8, 34, 28, 0.86);
  --c-grid-line: rgba(255, 255, 255, 0.05);
  --c-watermark-light: rgba(14, 59, 48, 0.045);   /* 4 版目：少し薄く */
  --c-watermark-dark: rgba(255, 255, 255, 0.035);
  --g-progress: linear-gradient(90deg, #3FC1A8 0%, #F5E21B 100%);
  --g-shine: linear-gradient(100deg, #F5E21B 0%, #F5E21B 42%, #FFF7B0 50%, #F5E21B 58%, #F5E21B 100%);
  --font-display: "Manrope", var(--font-base);

  --fs-hero: var(--fs-44); --fs-h2: var(--fs-30);
  --fs-watermark: var(--fs-88); --fs-en-label: var(--fs-12);
  --lh-hero: 1.35;
  --sp-section: 88px;
  --head-gap: 20px;      /* 見出しのかたまりと中身の間の半分（線をちょうど真ん中に引く） */
  --r-xl: 28px;
  --sh-glow-teal: 0 0 0 1px rgba(63,193,168,.5), 0 12px 40px rgba(63,193,168,.18);
  --sh-btn-hover: 0 10px 24px rgba(245,226,27,.35);

  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-out-back: cubic-bezier(.34, 1.3, .64, 1);   /* 4 版目：行きすぎを控えめに（3 版目は 1.56） */
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-reveal: 800ms;
}
@media (min-width: 768px) {
  :root { --fs-hero: var(--fs-56); --fs-h2: var(--fs-40); --fs-watermark: var(--fs-120); --sp-section: 112px; --head-gap: 28px; }
}
@media (min-width: 1024px) {
  :root { --fs-hero: var(--fs-72); --fs-h2: var(--fs-48); --fs-watermark: var(--fs-160); --sp-section: 160px; --head-gap: 36px; }
}
@media (min-width: 1280px) {
  :root { --fs-hero: var(--fs-88); --fs-h2: var(--fs-56); --fs-watermark: var(--fs-160); }
}

.h2 { line-height: 1.35; letter-spacing: 0.01em; }

/* ---------- 英字の透かし・英字の小ラベル・線 ---------- */
.case-body, .compare, .screens, .trust, .faq, .contact, .site-footer {
  position: relative; isolation: isolate; overflow: hidden;
}
.watermark {
  position: absolute; z-index: -1;
  top: calc(var(--sp-section) - 40px);
  left: max(var(--gutter), calc((100% - var(--container)) / 2));
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--fs-watermark); line-height: .9; letter-spacing: -0.02em;
  color: var(--c-watermark-light);
  white-space: nowrap; pointer-events: none; user-select: none;
  transform: translateX(var(--wx, 0px));
}
.watermark--center { left: 50%; transform: translateX(calc(-50% + var(--wx, 0px))); }
.watermark--dark { color: var(--c-watermark-dark); }
.case-body > .watermark { top: 16px; }
.compare > .watermark { top: 24px; }
@media (min-width: 768px) { .case-body > .watermark { top: 32px; } .compare > .watermark { top: 56px; } }

.en-label {
  margin: 0 0 8px;
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-en-label); line-height: 1.5; letter-spacing: 0.2em;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase; color: var(--c-teal-700);
}
.en-label--dark { color: var(--c-teal-400); }
.en-label--center, .en-label--case { text-align: center; }

.eyebrow::before { width: 40px; height: 1px; transform-origin: left center; }

.head-line {
  display: block; height: 1px; margin-top: var(--head-gap);
  background: var(--c-line); transform-origin: left center;
}
.head-line--dark { background: rgba(255, 255, 255, .12); }
.compare-table, .faq-list, .shots, .feature-cards { margin-top: var(--head-gap); }
@media (min-width: 768px) {
  .compare-table, .faq-list, .shots, .feature-cards { margin-top: var(--head-gap); }
}

/* 大見出しのせり上がり（.rise の中で .rise-in が下から） */
.rise {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding: 0 .12em .1em; margin: 0 -.12em -.1em;
}
.rise-in { display: inline-block; }

/* 蛍光ペン：左から引けるように、大きさを指定できる形に */
.marker { background-repeat: no-repeat; background-position: left center; background-size: 100% 100%; }

/* ---------- ボタン ---------- */
.btn { transition: background-color var(--dur-ui) ease, transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) ease, border-color var(--dur-ui) ease; }
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
  transform: translateX(-120%);
}
.btn--primary:hover { background: var(--c-yellow-500); }
@media (hover: hover) {
  .btn--primary:hover { transform: translateY(-2px); box-shadow: var(--sh-btn-hover); }
  .btn--primary:hover::after { transform: translateX(120%); transition: transform 700ms var(--ease-in-out); }
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--c-white); }
.btn--magnet { translate: var(--mgx, 0px) var(--mgy, 0px); }

/* ---------- ヘッダー（スクロール後も深い緑のすりガラス） ---------- */
.site-header { transition: background-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.site-header.is-scrolled {
  background: rgba(8, 34, 28, .96); color: var(--c-white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
@media (min-width: 768px) {
  @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .site-header.is-scrolled {
      background: var(--c-header-glass);
      -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
    }
  }
}
.site-header.is-scrolled .brand-pay { color: var(--c-teal-400); }
.site-header.is-scrolled .brand-name { color: var(--c-white); }
.site-header :focus-visible { outline-color: var(--c-teal-400); }
.brand { min-height: 44px; }
.progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--g-progress);
  transform: scaleX(var(--progress, 0)); transform-origin: left center;
  pointer-events: none;
}
.btn--header { min-height: 44px; padding: 0 16px; font-size: var(--fs-14); white-space: nowrap; }
@media (max-width: 374px) {
  .header-inner { gap: 4px; }
  .btn--header { padding: 0 12px; letter-spacing: 0; }
  .brand-name { font-size: var(--fs-18); }
}
@media (min-width: 1024px) {
  .site-nav ul { gap: 16px; }
  .site-nav li a { position: relative; padding-inline: 8px; white-space: nowrap; }   /* 言語の切り替えを足しても、1024px 前後で項目名が折れないように */
  .site-nav li a:hover { text-decoration: none; }
  .site-nav li a::after {
    content: ""; position: absolute; left: 8px; right: 8px; bottom: calc(50% - 21px);
    height: 1px; background: var(--c-teal-400);
    transform: scaleX(0); transform-origin: left center; transition: transform 250ms var(--ease-out);
  }
  .site-nav li a:hover::after { transform: scaleX(1); }
}

/* ---------- 1. 表紙 ---------- */
.hero .hero-bg { background: var(--c-deep-900); }
.hero .hero-bg::after { content: none; }
.hero-bg > * { position: absolute; }
.hero-photo { inset: 0; background: url("/lp/hero-background-960.webp?v=20261111-renewal-1") center / cover no-repeat; opacity: .5; }
@media (min-width: 961px) { .hero-photo { background-image: url("/lp/hero-background-optimized.webp?v=20261111-renewal-1"); } }
.hero-shade {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,34,28,0) 55%, #08221C 88%),
    linear-gradient(105deg, rgba(8,34,28,.96) 0%, rgba(8,34,28,.86) 45%, rgba(14,59,48,.58) 75%, rgba(19,96,82,.45) 100%);
}
.hero-lines, .features-lines {
  inset: 0;
  background-image: linear-gradient(var(--c-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--c-grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-lines {
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 0%, transparent 75%);
  animation: grid-flow 24s linear infinite;
}
@keyframes grid-flow { to { background-position: 72px 72px; } }
.orb { position: absolute; pointer-events: none; transform: translate(var(--ox, 0px), var(--oy, 0px)); }
.orb > span { position: absolute; inset: 0; border-radius: 50%; }
.orb--a { width: 720px; height: 720px; right: -160px; top: -200px; }
.orb--a > span { background: radial-gradient(circle, rgba(38,162,143,.35) 0%, transparent 70%); animation: drift-a 18s ease-in-out infinite alternate; }
.orb--b { width: 480px; height: 480px; left: -120px; bottom: 120px; }
.orb--b > span { background: radial-gradient(circle, rgba(245,226,27,.08) 0%, transparent 70%); animation: drift-b 22s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-60px, 40px); } }
@keyframes drift-b { to { transform: translate(40px, -30px); } }
.hero-particles { inset: 0; width: 100%; height: 100%; display: block; }

.hero-lead-line::after { transform-origin: left center; }
.hero-title { margin-top: 32px; line-height: var(--lh-hero); }
.hero-sub { margin-top: 32px; }
.hero-note-line { font-size: var(--fs-16); line-height: 1.9; color: var(--c-note-on-dark); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .shine.shine-on {
    background: var(--g-shine); background-size: 250% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
  }
}

.hero-visual { position: relative; z-index: 0; }
.hv-glow {
  position: absolute; z-index: -1; left: 10%; top: 50%; width: 80%; aspect-ratio: 1;
  transform: translateY(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(63,193,168,.30), transparent 65%);
  pointer-events: none;
}
.hv-floor {
  position: absolute; z-index: -1; left: 15%; width: 70%; height: 40px; bottom: -48px;
  background: radial-gradient(ellipse, rgba(0,0,0,.45), transparent 70%);
  pointer-events: none;
}
.hv-intro, .hv-tilt { transform-style: preserve-3d; }
@media (min-width: 1024px) {
  /* 大見出しが大きくなるので、文字の列を広げる（88px の「割賦販売法の」が 1 行に入るように） */
  .hero-grid { grid-template-columns: 7fr 5fr; }
  .hero-visual { perspective: 1600px; }
  .hv-tilt {
    transform: translate3d(var(--hx, 0px), var(--hy, 0px), 0)
               rotateY(calc(-14deg + var(--ry, 0deg))) rotateX(calc(6deg + var(--rx, 0deg))) rotateZ(1deg);
  }
}

.strength {
  background: rgba(255, 255, 255, .07); border-color: var(--c-glass-line);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: border-color 300ms ease, opacity 700ms var(--ease-out-expo), transform 700ms var(--ease-out-expo);
}
@media (min-width: 768px) {
  .strength { background: var(--c-glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}
.strength-icon { transition: transform 300ms var(--ease-out-back); }
@media (hover: hover) {
  .strength:hover { border-color: rgba(63, 193, 168, .6); }
  .strength:hover .strength-icon { transform: rotate(8deg); }
}
.strength-main .num {
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-30);
  font-variant-numeric: tabular-nums;
}
.strength-main .count, .badge .count { display: inline-block; min-width: 1ch; text-align: center; font-variant-numeric: tabular-nums; }
.num--2 .count { min-width: 2ch; }
@media (min-width: 1024px) { .strength-main .num { font-size: var(--fs-32); } }
@media (min-width: 1200px) { .strength-main .num { font-size: var(--fs-32); } }

.hero-note { color: var(--c-note-on-dark); font-size: var(--fs-13); line-height: 1.8; }

.hero-scroll {
  flex-direction: column; justify-content: flex-start; gap: 6px;
  width: 44px; height: 72px; margin-top: 24px; border-radius: 8px;
}
.scroll-line { position: relative; width: 1px; height: 48px; background: rgba(255, 255, 255, .2); flex: none; }
.scroll-dot {
  position: absolute; left: -1.5px; top: 0; width: 4px; height: 12px; border-radius: 2px;
  background: var(--c-teal-400);
  animation: scroll-dot 1800ms var(--ease-in-out) infinite;
}
@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; } 80% { opacity: 1; }
  100% { transform: translateY(calc(var(--sl, 48px) - 12px)); opacity: 0; }
}
.scroll-text {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-12); line-height: 1;
  letter-spacing: .2em; margin-right: -.2em; color: var(--c-muted-on-dark);
}

/* ---------- 3 つの価値（白い 1 枚の面を線で割る） ---------- */
.value-cards {
  gap: 0; background: var(--c-white);
  border-radius: var(--r-xl); box-shadow: var(--sh-card-dark);
}
.value-card { position: relative; background: none; box-shadow: none; border-radius: 0; }
.value-card + .value-card::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 1px; background: var(--c-line);
}
.value-card > .ic {
  width: 52px; height: 52px; padding: 13px; border-radius: 50%;
  background: var(--c-mint-100); color: var(--c-teal-600); box-sizing: border-box;
}
@media (min-width: 768px) {
  .value-cards { gap: 0; }
  .value-card + .value-card::before { left: 0; right: auto; top: 24px; bottom: 24px; width: 1px; height: auto; }
  .value-card > .ic { width: 64px; height: 64px; padding: 16px; }
}
.inspection-line { position: relative; }
@media (min-width: 1024px) {
  .inspection-line::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: conic-gradient(from var(--a), transparent 0 80%, #F5E21B 90%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: spin-a 6s linear infinite;
  }
}
@keyframes spin-a { to { --a: 360deg; } }

/* ---------- パートナーの帯 ---------- */
.partner-strip { padding: 24px 0; }
.partner-label {
  flex-basis: 100%; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-en-label);
  line-height: 1.5; letter-spacing: .2em; color: var(--c-teal-700);
}
@media (min-width: 768px) {
  .partner-strip { padding: 40px 0; }
  .partner-strip-inner { justify-content: flex-start; flex-wrap: nowrap; gap: 64px; }
  .partner-label { flex-basis: auto; display: flex; align-items: center; gap: 16px; margin-right: auto; }
  .partner-label::after { content: ""; width: 40px; height: 1px; background: currentColor; }
}

/* ---------- 2・3. 使わない場合／使う場合 ---------- */
.case-photo img { position: relative; height: 112%; top: -6%; }   /* 4 版目：パララックスをやめ、止まった状態（切り取りは 3 版目の静止時と同じ） */
.band-in { display: block; }
.band em { display: inline-block; }
.shake { position: relative; display: inline-block; }
.shake::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6'%3E%3Cpath d='M0 3 Q3 0 6 3 T12 3' fill='none' stroke='%23C62028' stroke-width='2'/%3E%3C/svg%3E") repeat-x left center / 12px 6px;
}
.memo { transform: rotate(var(--memo-rot, 0deg)); }
@media (min-width: 1280px) { .memo { --memo-rot: 4deg; transform: rotate(var(--memo-rot)); } }

.flow--without .stage--alert .arrow { position: relative; isolation: isolate; overflow: hidden; }
.flow--without .stage--alert .arrow > span { position: relative; z-index: 1; }
.flow--without .stage--alert .arrow::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -34px; right: 0; z-index: 0;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.08) 0 12px, transparent 12px 24px);
  background-size: 33.941px 33.941px;
}
.sumbox--risk .sumbox-head {
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.06) 0 12px, transparent 12px 24px), var(--g-red-block);
}
.months { position: relative; }
.flow--with .months { overflow: hidden; }
.flow--with .months::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent calc(50% - 40px), rgba(255,255,255,.7) 50%, transparent calc(50% + 40px));
}

/* つなぎ（書類の山 → パソコン） */
.bridge {
  --p: 1; --p1: 1; --p2: 1; --p3: 1; --bx: 108px; --bw: 168px;
  position: relative; display: block; height: 300px; overflow: hidden;
  background: var(--c-gray-100); color: var(--c-teal-500);
}
.bridge > * { position: absolute; left: 50%; top: 50%; }
.bridge .bridge-mint { inset: 0; left: 0; top: 0; background: var(--c-mint-100); opacity: var(--p); }
.bridge-en {
  transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-56); line-height: 1; letter-spacing: -.02em;
  color: rgba(14, 59, 48, 0.06); white-space: nowrap;   /* 透かしを薄くしても、つなぎの英字は 3 版目の濃さのまま */
}
.bridge-pile, .bridge-pc { width: var(--bw); max-width: none; height: auto; }
.bridge .bridge-pile {
  left: calc(50% - var(--bx));
  transform: translate(-50%, -50%) translateX(calc(var(--p1) * 18%)) scale(calc(1 - var(--p1) * .3)) rotate(calc(var(--p1) * -8deg));
  opacity: calc(1 - var(--p1));
}
.bridge .bridge-pc {
  left: calc(50% + var(--bx));
  transform: translate(-50%, -50%) translateX(calc((1 - var(--p2)) * -12%)) scale(calc(.8 + var(--p2) * .2));
  opacity: var(--p2);
}
.bridge-arrow {
  display: grid; place-items: center;
  transform: translate(-50%, -50%) translateX(calc(var(--p3) * 8px));
  color: #26A28F; color: color-mix(in srgb, #C9CDCC, #26A28F calc(var(--p3) * 100%));
}
.bridge .bridge-arrow .ic { width: 32px; height: 32px; }
@media (min-width: 768px) { .bridge { height: 360px; --bx: 180px; --bw: 280px; } .bridge-en { font-size: var(--fs-96); } }
@media (min-width: 1024px) { .bridge { height: 420px; --bx: 240px; --bw: 320px; } .bridge-en { font-size: var(--fs-120); } }

/* ---------- 4. 比べてみると ---------- */
.compare { position: relative; }
@media (min-width: 768px) {
  .compare-table { position: relative; isolation: isolate; }
  .compare-table::before {
    content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; right: 0;
    left: calc(168px + (100% - 168px) / 2);
    border-radius: 16px; box-shadow: 0 24px 48px rgba(14, 59, 48, .12); pointer-events: none;
  }
  .cmp-cell--with { background: var(--c-white); border-left: 2px solid var(--c-teal-600); border-right: 2px solid var(--c-teal-600); }
  .cmp-row:last-child .cmp-cell--with { border-bottom: 2px solid var(--c-teal-600); border-radius: 0 0 16px 16px; }
  .cmp-head--without { margin-top: 8px; }
  .cmp-row:last-child .cmp-cell--without { margin-bottom: 8px; }
  .cmp-head--with { border-radius: 16px 16px 0 0; }
  .cmp-row + .cmp-row .cmp-cell--with { margin-top: -1px; border-top: 1px solid var(--c-mint-200); }
}

/* ---------- 5. できること ---------- */
.features-lines { position: absolute; z-index: -1;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 80% 80%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 80% 80%, #000 0%, transparent 75%);
}
.features-orb {
  position: absolute; z-index: -1; left: -220px; top: -220px; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(38,162,143,.25) 0%, transparent 70%); pointer-events: none;
}
@media (min-width: 1024px) {
  /* 表紙の画面と同じ立体の向き（止まった状態） */
  .features-shot { perspective: 1600px; }
  .fs-tilt { transform-style: preserve-3d; transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg); }
}
.feature-card {
  position: relative;
  background: rgba(255, 255, 255, .07); color: var(--c-white);
  border: 1px solid var(--c-glass-line); border-radius: var(--r-lg);
  box-shadow: none; outline: 0; padding: 24px;
}
@media (min-width: 768px) {
  .feature-card {
    padding: 32px; background: var(--c-glass);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
}
.feature-card h3 { color: var(--c-white); padding-right: 32px; }
.feature-card p { color: var(--c-body-on-glass); font-size: var(--fs-16); line-height: 1.9; }
.feature-card strong { color: var(--c-white); font-weight: var(--fw-bold); }
.fc-num {
  position: absolute; top: 16px; right: 20px;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-13); line-height: 1; letter-spacing: .12em; font-variant-numeric: tabular-nums;
  color: var(--c-teal-400);
}
.fc-icon {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(63, 193, 168, .12); border: 1px solid rgba(63, 193, 168, .35);
  color: var(--c-teal-400);
  transition: transform 400ms var(--ease-out-back);
}
.fc-icon .ic { width: 28px; height: 28px; }
@media (hover: hover) and (pointer: fine) {
  .feature-card:hover {
    translate: 0 -4px;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(63,193,168,.16), transparent 60%), var(--c-glass);
  }
  .feature-card::before {
    content: ""; position: absolute; inset: -1px; padding: 1px; border-radius: inherit; pointer-events: none;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), #3FC1A8, transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity: 0; transition: opacity 300ms ease;
  }
  .feature-card:hover::before { opacity: 1; }
  .feature-card:hover .fc-icon { transform: rotate(-6deg) scale(1.08); }
}

/* ---------- 6. 実際の画面 ---------- */
.shot-tabs {
  position: relative; gap: 0; padding: 4px;
  background: var(--c-white); border: 1px solid var(--c-mint-line); border-radius: var(--r-pill);
  margin-right: 0;
}
.shot-tabs [role="tab"] { position: relative; z-index: 1; border: 0; background: transparent; transition: color 300ms ease; }
.shot-tabs [role="tab"][aria-selected="true"] { background: var(--c-teal-600); color: var(--c-white); }
.shot-tabs.has-indicator [role="tab"][aria-selected="true"] { background: transparent; }
.tab-indicator {
  position: absolute; z-index: 0; left: 0; top: 4px; bottom: 4px; width: var(--tw, 0px);
  border-radius: var(--r-pill); background: var(--c-teal-600);
  transform: translateX(var(--tx, 0px));
  transition: transform 400ms var(--ease-in-out), width 400ms var(--ease-in-out);
  display: none;
}
.shot-tabs.has-indicator .tab-indicator { display: block; }
@media (min-width: 768px) {
  .shot-tabs { width: fit-content; max-width: 100%; margin-inline: auto; flex-wrap: nowrap; }
}
.browser { transform: perspective(1400px) rotateX(var(--gr, 0deg)) scale(var(--gs, 1)); transform-origin: 50% 100%; }
.shot-panel.is-entering { animation: panel-in 300ms var(--ease-out-expo); }
@keyframes panel-in { from { opacity: 0; transform: scale(.98); } }

/* ---------- 7. 外部監査委員・パートナー ---------- */
.trust > .container:first-of-type { margin-bottom: 8px; }
.trust .card { border: 0; box-shadow: 0 24px 60px rgba(14, 59, 48, .10); }
.person-photo-wrap { position: relative; isolation: isolate; width: 120px; height: 120px; }
.person-photo-wrap::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border: 1px solid var(--c-teal-400); border-radius: var(--r-md);
  transform: translate(-4px, 4px);
}
.person-text { font-size: var(--fs-16); }
.person-career dd { font-size: var(--fs-16); }
.person-career dl > div { position: relative; padding-top: 12px; }
.person-career dl > div::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--c-line);
  transform-origin: left center;
}
.partner-text { font-size: var(--fs-16); max-width: 40em; }
@media (min-width: 768px) { .person-photo-wrap { width: 160px; height: 160px; } }

/* ---------- 8. よくある質問 ---------- */
.faq-a-wrap { display: grid; grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; min-height: 0; }
.js .faq-a-wrap { grid-template-rows: 0fr; transition: grid-template-rows 360ms var(--ease-out-expo); }
.js .faq-a-wrap.is-open { grid-template-rows: 1fr; }
.js .faq-a-wrap .faq-a-inner { visibility: hidden; transition: visibility 0s linear 360ms; }
.js .faq-a-wrap.is-open .faq-a-inner { visibility: visible; transition: visibility 0s; }
.faq-q { transition: background-color 200ms ease; }
.faq-q[aria-expanded="true"] .ic-add { display: block; transform: rotate(45deg); }
.faq-q .ic-add { transition: transform 300ms var(--ease-out-back); }
.faq-mark { transition: transform 200ms var(--ease-out); }
@media (hover: hover) {
  .faq-q:hover { background: var(--c-mint-100); }
  .faq-q:hover .faq-mark { transform: scale(1.08); }
}

/* ---------- 9. 問い合わせ ---------- */
.orb--c { width: 640px; height: 640px; right: -220px; top: -200px; z-index: -1; }
.orb--c > span { background: radial-gradient(circle, rgba(38,162,143,.25) 0%, transparent 70%); animation: drift-c 20s ease-in-out infinite alternate; }
.orb--d { width: 480px; height: 480px; left: -160px; bottom: -160px; z-index: -1; }
.orb--d > span { background: radial-gradient(circle, rgba(245,226,27,.06) 0%, transparent 70%); animation: drift-d 20s ease-in-out infinite alternate; }
@keyframes drift-c { to { transform: translate(-40px, 40px); } }
@keyframes drift-d { to { transform: translate(40px, -40px); } }
.form-intro { font-size: var(--fs-16); line-height: 1.9; max-width: 40em; }
.field > label { transition: color 200ms ease; }
.field:focus-within > label:not(.agree):not(.sr-only) { color: var(--c-teal-700); }
.field > label.agree { font-size: var(--fs-16); line-height: 1.9; }
.agree input:focus,
.agree input:focus-visible { outline: 3px solid var(--c-teal-700); outline-offset: 3px; box-shadow: none; }
.agree:has(input:focus-visible) { background: var(--c-mint-100); border-radius: 8px; }
.field > label.agree { padding: 8px; margin: -8px; }
.phone-row { flex-wrap: wrap; column-gap: 8px; row-gap: 0; }
.phone-row input { flex: 1 1 180px; }
/* 空のときも「存在はする」形に（aria-live が効くように） */
.field-error:empty { display: block; height: 0; margin: 0; overflow: hidden; }
.field-error:empty::before { content: none; }

/* ---------- フッター ---------- */
.site-footer { border-top: 1px solid rgba(255, 255, 255, .08); }
.watermark--footer { top: 24px; font-size: var(--fs-64); }
@media (min-width: 768px) { .watermark--footer { font-size: var(--fs-160); } }

/* =====================================================================
   動き（html.anim のときだけ「始まりの状態」にする）
   ===================================================================== */
/* B-9：data-reveal（1 版目の取り決めのまま .is-visible で出る）。並びの中で 80ms ずつ */
.js [data-reveal] {
  transition: opacity var(--dur-reveal) var(--ease-out-expo), transform var(--dur-reveal) var(--ease-out-expo);
  transition-delay: calc(var(--rv-i, 0) * 80ms);
}

/* 読み込み時（A） */
.anim .hero-lines, .anim .orb--a, .anim .orb--b { opacity: 0; transition: opacity 1200ms var(--ease-out); }
.anim.is-loaded .hero-lines, .anim.is-loaded .orb--a, .anim.is-loaded .orb--b { opacity: 1; }
.anim [data-intro] { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease-out-expo), transform 700ms var(--ease-out-expo); }
.anim.is-loaded [data-intro] { opacity: 1; transform: none; }
.anim .hero-lead-line { transform: translateY(12px); transition-duration: 600ms; transition-delay: 100ms; }
.anim .hero-lead-line::after { transform: scaleX(0); transition: transform 600ms var(--ease-out-expo) 100ms; }
.anim.is-loaded .hero-lead-line::after { transform: none; }
.anim .hero-target { transform: none; clip-path: inset(0 100% 0 0); transition: opacity 10ms linear 200ms, clip-path 700ms var(--ease-out-expo) 200ms; }
.anim.is-loaded .hero-target { clip-path: inset(0); }
.anim .hero-title .rise-in { transform: translateY(110%); transition: transform 900ms var(--ease-out-expo); }
.anim .hero-title .rise:nth-child(1) .rise-in { transition-delay: 350ms; }
.anim .hero-title .rise:nth-child(2) .rise-in { transition-delay: 470ms; }
.anim .hero-title .rise:nth-child(3) .rise-in { transition-delay: 590ms; }
.anim.is-loaded .hero-title .rise-in { transform: none; }
.anim .shine.shine-on { animation: shine 7s var(--ease-in-out) 200ms infinite; }
@keyframes shine { 0% { background-position: 100% 0; } 17%, 100% { background-position: 0% 0; } }
.anim .hero-sub { transition-delay: 900ms; }
.anim .hero-note-line { transition-delay: 1000ms; }
.anim .hero-text .btn:nth-child(1) { transition-delay: 1100ms; }
.anim .hero-text .btn:nth-child(2) { transition-delay: 1180ms; }
.anim .hv-intro { opacity: 0; transform: translateY(60px) rotateX(20deg); transition: opacity 1400ms var(--ease-out-expo) 600ms, transform 1400ms var(--ease-out-expo) 600ms; }
.anim.is-loaded .hv-intro { opacity: 1; transform: none; }
.anim.is-loaded .hv-float { animation: hv-float 3000ms ease-in-out 2000ms infinite alternate; }
@keyframes hv-float { to { transform: translateY(-10px); } }
.anim .strength[data-intro] { transform: translateY(24px); }
.anim.is-loaded .strength[data-intro] { transform: none; }
.anim .strength:nth-child(1) { transition-delay: 0ms, 1300ms, 1300ms; }
.anim .strength:nth-child(2) { transition-delay: 0ms, 1400ms, 1400ms; }
.anim .strength:nth-child(3) { transition-delay: 0ms, 1500ms, 1500ms; }
.anim .strength:nth-child(4) { transition-delay: 0ms, 1600ms, 1600ms; }
.anim .hero-note, .anim .hero-scroll { transform: none; transition: opacity 600ms var(--ease-out) 1800ms; }

/* 全体（B） */
.anim .eyebrow::before { transform: scaleX(0); transition: transform 600ms var(--ease-out-expo); }
.anim .eyebrow.is-visible::before { transform: none; }
.anim .en-label[data-anim], .anim .eyebrow[data-anim] { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease-out-expo) 100ms, transform 600ms var(--ease-out-expo) 100ms; }
.anim .en-label.is-visible, .anim .eyebrow.is-visible { opacity: 1; transform: none; }
.anim [data-rise] .rise-in { transform: translateY(110%); transition: transform 900ms var(--ease-out-expo); transition-delay: calc(200ms + var(--ri, 0) * 90ms); }
.anim [data-rise].is-visible .rise-in { transform: none; }
.anim .marker { background-size: 0% 100%; transition: background-size 800ms var(--ease-in-out) 700ms; }
.anim .is-visible .marker, .anim .marker.is-visible { background-size: 100% 100%; }
.anim .head-line { transform: scaleX(0); transition: transform 1000ms var(--ease-in-out) 400ms; }
.anim .head-line.is-visible { transform: none; }

/* 使わない → 使う（C） */
.anim .band em { opacity: 0; transform: translateY(8px); transition: opacity 600ms var(--ease-out-back) 200ms, transform 600ms var(--ease-out-back) 200ms; }
.anim .band.is-visible em { opacity: 1; transform: none; }
.anim [data-rise].is-visible .shake { animation: shake 360ms ease-in-out 1500ms; }
.anim .shake::after { clip-path: inset(0 100% 0 0); transition: clip-path 600ms var(--ease-in-out) 1500ms; }
.anim [data-rise].is-visible .shake::after { clip-path: inset(0); }
@keyframes shake {   /* 4 版目：小さく（回転なし） */
  25% { transform: translateX(-1.5px); } 50% { transform: translateX(1.5px); } 75% { transform: translateX(-1px); }
}
.anim .memo { opacity: 0; transform: translateY(-24px) rotate(0deg); transition: opacity 700ms var(--ease-out-back) 300ms, transform 700ms var(--ease-out-back) 300ms; }
.anim .memo.is-visible { opacity: 1; transform: rotate(var(--memo-rot, 0deg)); }
.anim .memo li { opacity: 0; transform: translateX(-8px); transition: opacity 400ms var(--ease-out-expo), transform 400ms var(--ease-out-expo); }
.anim .memo.is-visible li { opacity: 1; transform: none; }
.anim .memo li:nth-child(1) { transition-delay: 700ms; } .anim .memo li:nth-child(2) { transition-delay: 820ms; }
.anim .memo li:nth-child(3) { transition-delay: 940ms; } .anim .memo li:nth-child(4) { transition-delay: 1060ms; }
.anim .flow .arrow { opacity: 0; transform: translateX(-24px); transition: opacity 700ms var(--ease-out-expo), transform 700ms var(--ease-out-expo); }
.anim .flow .stage-card { opacity: 0; transform: translateY(32px); transition: opacity 800ms var(--ease-out-expo) 200ms, transform 800ms var(--ease-out-expo) 200ms; }
.anim .flow .stage:nth-child(2) .arrow { transition-delay: 120ms; }
.anim .flow .stage:nth-child(3) .arrow { transition-delay: 240ms; }
.anim .flow .stage:nth-child(2) .stage-card { transition-delay: 320ms; }
.anim .flow .stage:nth-child(3) .stage-card { transition-delay: 440ms; }
.anim .flow.is-visible .arrow, .anim .flow.is-visible .stage-card { opacity: 1; transform: none; }
.anim .flow--without.is-visible .stage--alert .arrow::after { animation: stripes 1200ms linear infinite; }
@keyframes stripes { to { transform: translateX(33.941px); } }
/* 月のマス（使わない）：空のマスが左から並ぶ → 最後の 3 つが赤くなって脈打つ */
.anim .flow--without .months .month,
.anim .flow--without .months .month.is-on { opacity: 0; transition: opacity 200ms ease calc(var(--i) * 20ms), background-color 300ms ease, border-color 300ms ease; }
.anim .flow--without .months.is-visible .month { opacity: 1; }
.anim .flow--without .months.is-visible .month.is-on:nth-child(10) { transition-delay: 180ms, 1020ms, 1020ms; animation: pulse 400ms var(--ease-out-back) 1020ms; }
.anim .flow--without .months.is-visible .month.is-on:nth-child(11) { transition-delay: 200ms, 1170ms, 1170ms; animation: pulse 400ms var(--ease-out-back) 1170ms; }
.anim .flow--without .months.is-visible .month.is-on:nth-child(12) { transition-delay: 220ms, 1320ms, 1320ms; animation: pulse 400ms var(--ease-out-back) 1320ms; }
@keyframes pulse { 50% { transform: scale(1.35); } }
.anim .flow--with .months.is-visible::after { animation: sheen 900ms var(--ease-in-out) forwards; animation-delay: calc(var(--stage, 0ms) + 560ms); }
@keyframes sheen { from { opacity: 1; transform: translateX(-100%); } to { opacity: 1; transform: translateX(100%); } }
.anim .sumbox-list li { opacity: 0; transform: translateX(-12px); transition: opacity 500ms var(--ease-out-back), transform 500ms var(--ease-out-back); }
.anim .sumbox.is-visible .sumbox-list li { opacity: 1; transform: none; }
.anim .sumbox-list li:nth-child(2) { transition-delay: 120ms; } .anim .sumbox-list li:nth-child(3) { transition-delay: 240ms; }
.anim .sumbox-list li:nth-child(4) { transition-delay: 360ms; }
.anim .sumbox-list .ic { transform: scale(0); }
.anim .sumbox.is-visible .sumbox-list .ic { animation: pop-in 500ms var(--ease-out-back) forwards; }
.anim .sumbox.is-visible .sumbox-list li:nth-child(2) .ic { animation-delay: 120ms; }
.anim .sumbox.is-visible .sumbox-list li:nth-child(3) .ic { animation-delay: 240ms; }
.anim .sumbox.is-visible .sumbox-list li:nth-child(4) .ic { animation-delay: 360ms; }
@keyframes pop-in { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.anim .case-head--with .sparkle { opacity: 0; transform: scale(0) rotate(-90deg); }
.anim .case-head--with.is-visible .sparkle { animation: spark-in 600ms var(--ease-out-back) forwards, twinkle 2400ms ease-in-out 600ms infinite alternate; }
.anim .case-head--with.is-visible .sparkle--2 { animation-delay: 200ms, 800ms; }
.anim .case-head--with.is-visible .sparkle--3 { animation-delay: 400ms, 1000ms; }
@keyframes spark-in { to { opacity: 1; transform: none; } }
@keyframes twinkle { from { opacity: 1; transform: none; } to { opacity: .6; transform: scale(.7); } }
.anim .badge { opacity: 0; transform: scale(.8); transition: opacity 700ms var(--ease-out-back) 500ms, transform 700ms var(--ease-out-back) 500ms; }
.anim .case-head--with.is-visible .badge { opacity: 1; transform: none; }

/* 比べてみると（E） */
.anim .cmp-row[data-anim] .cmp-cell--without, .anim .cmp-row[data-anim] .cmp-stage { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease-out-expo), transform 700ms var(--ease-out-expo); }
.anim .cmp-row[data-anim] .cmp-cell--with { opacity: 0; transform: translateX(40px); transition: opacity 700ms var(--ease-out-expo) 150ms, transform 700ms var(--ease-out-expo) 150ms; }
.anim .cmp-row[data-anim] .cmp-cell--with .ic { transform: scale(0); transition: transform 400ms var(--ease-out-back) 350ms; }
.anim .cmp-row.is-visible .cmp-cell, .anim .cmp-row.is-visible .cmp-stage, .anim .cmp-row.is-visible .cmp-cell--with .ic { opacity: 1; transform: none; }

/* できること（F）：左上から右下へ波のように */
.feature-card:nth-child(1) { --fd: 0ms; } .feature-card:nth-child(2) { --fd: 100ms; }
.feature-card:nth-child(3) { --fd: 200ms; } .feature-card:nth-child(4) { --fd: 300ms; }
.feature-card:nth-child(5) { --fd: 400ms; } .feature-card:nth-child(6) { --fd: 500ms; }
.feature-card:nth-child(7) { --fd: 600ms; } .feature-card:nth-child(8) { --fd: 700ms; }
@media (min-width: 768px) {
  .feature-card:nth-child(1) { --fd: 0ms; }   .feature-card:nth-child(2) { --fd: 60ms; }
  .feature-card:nth-child(3) { --fd: 100ms; } .feature-card:nth-child(4) { --fd: 160ms; }
  .feature-card:nth-child(5) { --fd: 200ms; } .feature-card:nth-child(6) { --fd: 260ms; }
  .feature-card:nth-child(7) { --fd: 300ms; } .feature-card:nth-child(8) { --fd: 360ms; }
}
.js .feature-card[data-reveal] {
  transition: opacity 700ms var(--ease-out-expo), transform 1000ms var(--ease-out-back), filter 800ms var(--ease-out-expo), translate 300ms var(--ease-out), background-color 300ms ease, rotate 500ms var(--ease-out-expo);
  transition-delay: var(--fd, 0ms), var(--fd, 0ms), var(--fd, 0ms), 0ms, 0ms, 0ms;
}
.anim .feature-card[data-reveal] { transform: translateY(64px) scale(.86); }
.anim .feature-card[data-reveal].is-visible { transform: none; }
@media (min-width: 768px) {
  .anim .feature-card[data-reveal] { filter: blur(3px); }   /* 4 版目：動いている間も読めるように弱く */
  .anim .feature-card[data-reveal].is-visible { filter: none; }
}

/* 信頼（H） */
.anim .person-photo-wrap .person-photo { clip-path: inset(100% 0 0 0); transition: clip-path 900ms var(--ease-out-expo); }
.anim .person-photo-wrap.is-visible .person-photo { clip-path: inset(0); }
.anim .person-photo-wrap::after { opacity: 0; transform: translate(-8px, 8px); transition: opacity 700ms var(--ease-out-expo) 300ms, transform 700ms var(--ease-out-expo) 300ms; }
.anim .person-photo-wrap.is-visible::after { opacity: 1; transform: translate(-4px, 4px); }
.anim .person-career dl > div::before { transform: scaleX(0); transition: transform 700ms var(--ease-in-out); }
.anim .person-career.is-visible dl > div::before { transform: none; }
.anim .person-career dl > div:nth-child(2)::before { transition-delay: 120ms; }
.anim .person-career dl > div:nth-child(3)::before { transition-delay: 240ms; }

/* 3 つの価値の稲妻（ぱちっと光る） */
.anim .inspection-line.is-visible .ic { animation: zap 600ms var(--ease-out-back) 500ms both; }
@keyframes zap { 0% { opacity: .3; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.3); } 100% { opacity: 1; transform: none; } }

/* ---------- 動きを減らす設定：すべて最終の形 ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-particles { display: none; }
  .shine { background: none; color: var(--c-yellow-500); -webkit-text-fill-color: currentColor; }
  .browser { transform: none !important; }
}
/* 表紙の演出が終わったら、ボタンのマウスの反応を元の速さに */
.anim.intro-done .hero-text .btn { transition: background-color var(--dur-ui) ease, transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) ease, border-color var(--dur-ui) ease; transition-delay: 0ms; }
/* 768〜1023px：カード本文を 16px にしたため、決め打ちの改行をやめて文節で折り返す（言葉の途中で切れないように） */
@media (min-width: 768px) and (max-width: 1023px) {
  .stage-card br { display: none; }
  .stage-card, .stage-card p { word-break: auto-phrase; text-wrap: balance; }
}

/* =====================================================================
   3 版目（もっと派手に・読み込み画面・FAQ・文字の段階）
   - 2 版目の取り決めはそのまま。始まりの状態は html.anim の下にだけ書く
   ===================================================================== */

/* ---------- 読み込み画面（html.pg-load のときだけ） ---------- */
.loader { display: none; }
.pg-load body { overflow: hidden; }
.pg-load .loader {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 1000;
  color: var(--c-white); cursor: pointer;
  --lt: 1;          /* 時間の倍率（2 回目以降は短く） */
}
.pg-quick .loader { --lt: .3; }
.loader-curtain {
  position: absolute; left: 0; right: 0; height: 50.5%;
  background: var(--c-deep-900);
  transition: transform calc(420ms * var(--lt) + 80ms) cubic-bezier(.76, 0, .24, 1);
}
.loader-curtain--top { top: 0; background: linear-gradient(180deg, #05140F 0%, #08221C 100%); }
.loader-curtain--bottom { bottom: 0; background: linear-gradient(0deg, #05140F 0%, #08221C 100%); }
.loader.is-out .loader-curtain--top { transform: translateY(-101%); }
.loader.is-out .loader-curtain--bottom { transform: translateY(101%); }
.loader-inner {
  position: relative; display: grid; justify-items: center; gap: 16px;
  transition: opacity calc(240ms * var(--lt)) ease, transform calc(400ms * var(--lt)) var(--ease-in-out);
}
.loader.is-out .loader-inner { opacity: 0; transform: scale(.96); }
.loader-logo { position: relative; display: block; width: 88px; height: 88px; }
/* 後ろの柔らかい光 */
.loader-logo::before {
  content: ""; position: absolute; inset: -60%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(63, 193, 168, .32) 0%, transparent 62%);
  opacity: 0; transform: scale(.6);
  transition: opacity calc(600ms * var(--lt)) ease, transform calc(800ms * var(--lt)) var(--ease-out-expo);
}
/* ロゴは本物の画像をそのまま（形・色は変えない）。少し拡大しながら、下から光で満ちるように現れる */
.loader-logo img {
  position: relative; display: block; width: 88px; height: 88px;
  opacity: 0; transform: scale(.86);
  -webkit-mask-image: linear-gradient(0deg, #000 45%, transparent 55%); mask-image: linear-gradient(0deg, #000 45%, transparent 55%);
  -webkit-mask-size: 100% 240%; mask-size: 100% 240%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 0 0; mask-position: 0 0;
  transition: opacity calc(300ms * var(--lt)) ease, transform calc(700ms * var(--lt)) var(--ease-out-expo),
              -webkit-mask-position calc(650ms * var(--lt)) var(--ease-in-out), mask-position calc(650ms * var(--lt)) var(--ease-in-out);
}
.loader.is-run .loader-logo::before { opacity: 1; transform: none; }
.loader.is-run .loader-logo img { opacity: 1; transform: none; -webkit-mask-position: 0 100%; mask-position: 0 100%; }
/* 「Pay Guardian」はヘッダーのロゴと同じ書き方・色（.brand-name / .brand-pay）。大きさだけ少し大きく */
.loader .loader-name {
  font-size: var(--fs-28);
  opacity: 0; transform: translateY(8px);
  transition: opacity calc(400ms * var(--lt)) ease calc(250ms * var(--lt)), transform calc(500ms * var(--lt)) var(--ease-out-expo) calc(250ms * var(--lt));
}
.loader.is-run .loader-name { opacity: 1; transform: none; }
.loader-bar { position: relative; display: block; width: 160px; height: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; border-radius: 2px; }
.loader-bar-in { position: absolute; inset: 0; background: var(--g-progress); transform: scaleX(var(--lp, 0)); transform-origin: left center; }
.loader-num {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-12); line-height: 1.5; letter-spacing: .2em;
  color: var(--c-muted-on-dark); font-variant-numeric: tabular-nums; margin-right: -.2em;
}
.loader-pct { display: inline-block; min-width: 3ch; text-align: right; }

/* ---------- 表紙の大見出し：1 文字ずつ ---------- */
.hero-title .ch { display: inline-block; }
.anim .hero-title.is-split .rise { overflow: visible; }
.anim .hero-title.is-split .rise-in { transform: none; transition: none; }
.anim .hero-title .ch {
  opacity: 0; filter: blur(4px); transform: translateY(.3em);   /* 4 版目：回転なし・ぼかし小さく・ずらし 22ms */
  transition: opacity 500ms var(--ease-out-expo), filter 500ms var(--ease-out-expo), transform 700ms var(--ease-out-expo);
  transition-delay: calc(200ms + var(--ci, 0) * 22ms);
}
.anim.is-loaded .hero-title .ch { opacity: 1; filter: none; transform: none; }
.shine { display: inline-block; }
.shine.is-glitch { animation: glitch 260ms steps(2, end) both; }   /* 4 版目：1 回だけ、短く弱く */
@keyframes glitch {
  0%   { transform: translate(0); text-shadow: none; }
  30%  { transform: translate(-2px, 0); text-shadow: 2px 0 rgba(255, 40, 90, .45), -2px 0 rgba(0, 240, 220, .45); }
  60%  { transform: translate(2px, 0); text-shadow: -1px 0 rgba(255, 40, 90, .35), 1px 0 rgba(0, 240, 220, .35); }
  100% { transform: none; text-shadow: none; }
}

/* 表紙：マウスの位置の柔らかい光（PC だけ、JS が足す） */
.hero-spot {
  inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--sx, 50%) var(--sy, 40%), rgba(63, 193, 168, .22), rgba(63, 193, 168, .06) 40%, transparent 70%);
  transition: opacity 600ms ease;
}
.hero.is-spot .hero-spot { opacity: 1; }

/* ---------- 英字のラベル：スクランブル中も幅がぶれない ---------- */
.en-label.is-scrambling { font-variant-numeric: tabular-nums; }

/* ---------- 見出し：左から拭き取るように（マスクで。clip-path で全部隠すと「見えた」判定が起きないため） ---------- */
.anim [data-rise], .anim [data-wipe] {
  -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%); mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
  transition: -webkit-mask-position 1200ms var(--ease-in-out) 60ms, mask-position 1200ms var(--ease-in-out) 60ms;
}
.anim [data-rise].is-visible, .anim [data-wipe].is-visible { -webkit-mask-position: 0 0; mask-position: 0 0; }
.anim [data-rise].is-wiped, .anim [data-wipe].is-wiped { -webkit-mask-image: none; mask-image: none; }
.anim .eyebrow[data-wipe] { transition: -webkit-mask-position 1200ms var(--ease-in-out) 60ms, mask-position 1200ms var(--ease-in-out) 60ms, opacity 600ms var(--ease-out-expo) 100ms, transform 600ms var(--ease-out-expo) 100ms; }
.anim .trust-title[data-wipe]::before { transform: scaleX(0); transform-origin: left center; transition: transform 700ms var(--ease-out-expo) 500ms; }
.anim .trust-title[data-wipe].is-visible::before { transform: none; }

/* ---------- カード：行きすぎて戻る弾み ---------- */
.anim .value-card[data-reveal] { transform: translateY(56px) scale(.88); transition: opacity 600ms var(--ease-out-expo), transform 1000ms var(--ease-out-back), rotate 500ms var(--ease-out-expo); transition-delay: calc(var(--rv-i, 0) * 110ms), calc(var(--rv-i, 0) * 110ms), 0ms; }
.anim .value-card[data-reveal].is-visible { transform: none; }
.anim .flow .stage-card { transform: translateY(48px) scale(.9); transition: opacity 700ms var(--ease-out-expo) 200ms, transform 1000ms var(--ease-out-back) 200ms; }
.anim .flow .stage:nth-child(2) .stage-card { transition-delay: 340ms; }
.anim .flow .stage:nth-child(3) .stage-card { transition-delay: 480ms; }
.anim .strength[data-intro] { transform: translateY(40px) scale(.9); transition: border-color 300ms ease, opacity 600ms var(--ease-out-expo), transform 900ms var(--ease-out-back); }
.anim .cmp-row[data-anim] .cmp-cell--with { transition: opacity 700ms var(--ease-out-expo) 150ms, transform 900ms var(--ease-out-back) 150ms; }

/* PC：マウスを乗せると 3D に傾き、光が追う（JS が rotate と --mx / --my を入れる） */
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .feature-cards, .value-cards, .trust-col { perspective: 1100px; }
  .trust .card { transition: rotate 500ms var(--ease-out-expo); }
  .value-card, .trust .card { position: relative; }
  .value-card::after, .trust .card::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(63, 193, 168, .16), transparent 65%);
    opacity: 0; transition: opacity 300ms ease;
  }
  .value-card:hover::after, .trust .card:hover::after { opacity: 1; }
  .value-cards { overflow: visible; }
}

/* ---------- 使わない場合 ---------- */
/* 月のマス：左から勢いよく連続で点灯 → 最後の 3 つが赤く脈打つ */
.anim .flow--without .months .month,
.anim .flow--without .months .month.is-on { opacity: 0; transform: scale(0); transition: background-color 300ms ease, border-color 300ms ease; }
.anim .flow--without .months.is-visible .month { animation: month-pop 420ms var(--ease-out-back) calc(var(--i) * 42ms) both; }
.anim .flow--without .months.is-visible .month.is-on:nth-child(10) { transition-delay: 760ms; animation: month-pop 420ms var(--ease-out-back) 378ms both, pulse 420ms var(--ease-out-back) 900ms; }
.anim .flow--without .months.is-visible .month.is-on:nth-child(11) { transition-delay: 880ms; animation: month-pop 420ms var(--ease-out-back) 420ms both, pulse 420ms var(--ease-out-back) 1020ms; }
.anim .flow--without .months.is-visible .month.is-on:nth-child(12) { transition-delay: 1000ms; animation: month-pop 420ms var(--ease-out-back) 462ms both, pulse 420ms var(--ease-out-back) 1140ms; }
@keyframes month-pop {
  0% { opacity: 0; transform: scale(0); background-color: #FFFFFF; }
  45% { opacity: 1; background-color: #9AA19F; border-color: #9AA19F; }
  100% { opacity: 1; transform: none; }
}
/* 「行政処分」が見えたら：画面の縁が赤く光る ＋ 見出しが小さく震える */
.vignette {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0;
  box-shadow: inset 0 0 120px 16px rgba(215, 38, 43, .22), inset 0 0 320px 32px rgba(158, 18, 25, .08);   /* 4 版目：弱く */
}
.vignette.is-on { animation: vignette 700ms ease-out; }   /* うっすら 1 回 */
@keyframes vignette { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
.case-title.is-tremble { animation: tremble 300ms linear; }
@keyframes tremble {   /* 4 版目：震えは 1px まで */
  0%, 100% { translate: 0 0; } 25% { translate: -1px 0; } 50% { translate: 1px 0; } 75% { translate: -1px 0; }
}

/* ---------- 使う場合 ---------- */
/* 緑の光の帯が左から右へ一気になでる */
.flow--with { position: relative; }
.flow--with::after {
  content: ""; position: absolute; top: -16px; bottom: -16px; left: -10%; width: 60%; pointer-events: none; z-index: 2;
  background: linear-gradient(100deg, transparent 0%, rgba(63, 193, 168, .0) 20%, rgba(63, 193, 168, .38) 50%, rgba(255, 255, 255, .5) 54%, rgba(63, 193, 168, 0) 80%, transparent 100%);
  opacity: 0; transform: translateX(-120%) skewX(-12deg);
}
.anim .flow--with.is-visible::after { animation: sweep-green 1100ms var(--ease-in-out) 250ms both; }
@keyframes sweep-green { 0% { opacity: 1; transform: translateX(-120%) skewX(-12deg); } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(260%) skewX(-12deg); } }
/* チェックの印は 1 つずつ線で描く */
.ic-draw rect { fill: currentColor; }
.ic-draw path { fill: none; stroke: var(--c-white); stroke-width: 2.1; stroke-linecap: square; stroke-linejoin: miter; }
.anim .ic-draw path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 420ms var(--ease-out-expo); }
.anim .sumbox.is-visible .ic-draw path { stroke-dashoffset: 0; transition-delay: 420ms; }
.anim .sumbox.is-visible li:nth-child(2) .ic-draw path { transition-delay: 640ms; }
.anim .sumbox.is-visible li:nth-child(3) .ic-draw path { transition-delay: 860ms; }
.anim .sumbox.is-visible li:nth-child(4) .ic-draw path { transition-delay: 1080ms; }
.anim .sumbox.is-visible li:nth-child(5) .ic-draw path { transition-delay: 1300ms; }

/* ---------- ボタン：定期的に光が走る・押すと波紋 ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.anim .btn--primary::after { animation: btn-shine 9000ms var(--ease-in-out) 2600ms infinite; }   /* 4 版目：間隔を長く（光の速さは同じ） */
@keyframes btn-shine { 0% { transform: translateX(-120%); } 8.5%, 100% { transform: translateX(120%); } }
.ripple {
  position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
  width: var(--rs); height: var(--rs); left: var(--rx); top: var(--ry); margin: calc(var(--rs) / -2) 0 0 calc(var(--rs) / -2);
  background: rgba(255, 255, 255, .55); transform: scale(0); opacity: .8;
  animation: ripple 650ms var(--ease-out-expo) forwards;
}
.btn--primary .ripple { background: rgba(255, 255, 255, .7); }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.btn--magnet, .btn.is-magnet { translate: var(--mgx, 0px) var(--mgy, 0px); }

/* ---------- 数字：等幅に ---------- */
.num, .count, .num-c { font-variant-numeric: tabular-nums; }
.num-c .count { display: inline-block; min-width: 1ch; text-align: right; }
.num-c .count[data-count="70"], .num-c .count[data-count="59"] { min-width: 2ch; }

/* ---------- よくある質問：なめらかに開閉 ---------- */
.js .faq-a-wrap { transition: grid-template-rows 520ms cubic-bezier(.4, 0, .2, 1); }
.js .faq-a-wrap .faq-a-inner { transition: visibility 0s linear 520ms; }
.js .faq-a-wrap .faq-a { opacity: 0; transform: translateY(-10px); transition: opacity 220ms ease, transform 320ms var(--ease-out); }
.js .faq-a-wrap.is-open .faq-a { opacity: 1; transform: none; transition: opacity 420ms ease 160ms, transform 520ms var(--ease-out-expo) 160ms; }
.faq-q[aria-expanded="true"] .ic-add { transform: rotate(135deg); }
.faq-q .ic-add { transition: transform 480ms var(--ease-out-back); }
.faq-item { transition: box-shadow 300ms ease; }
.faq-item:has(.faq-q[aria-expanded="true"]) { box-shadow: 0 16px 40px rgba(14, 59, 48, .12); }

/* ---------- 動きを減らす設定：すべて最終の形 ---------- */
@media (prefers-reduced-motion: reduce) {
  .loader, .vignette, .hero-spot { display: none !important; }
  .js .faq-a-wrap .faq-a { opacity: 1; transform: none; }
}

/* ---------- 3 版目の確認での直し ---------- */
/* SCROLL・PARTNERS が途中で折り返さないように */
.hero-scroll { width: auto; min-width: 44px; }
.scroll-text { white-space: nowrap; }
.partner-label { white-space: nowrap; }
@media (min-width: 768px) and (max-width: 1023px) {
  .partner-strip-inner { gap: 24px; }
  .partner-label::after { display: none; }
}
/* 画面の外にあるセクションのくり返しの動きを止める（スクロールを軽く） */
.is-offscreen, .is-offscreen * { animation-play-state: paused !important; }
.site-header.is-scrolled .btn--primary::after { animation-play-state: paused; }

/* =====================================================================
   4 版目（見やすく：動きを落ち着かせる・表紙の最初の画面に SCROLL まで）
   ===================================================================== */

/* ---------- 表紙：最初の画面（見出し〜ボタン・画面のスクショ・SCROLL）を画面の高さに収める ---------- */
/* 強み 4 つと注記は SCROLL の下へ。100vh は 100svh が使えないブラウザ用 */
.hero { padding-top: 0; }
.hero-first {
  display: grid; grid-template-rows: auto minmax(140px, 1fr) auto; row-gap: 16px;
  min-height: 100vh; min-height: 100svh;
  padding-top: calc(var(--header-h) + 16px);
}
.hero-first > .hero-grid { display: contents; }
.hero-first .hero-scroll { height: auto; margin: 0 auto 12px; text-decoration: none; }
/* スマホ・タブレット：画面のスクショは「残った高さ」に収まる大きさ（縦横比はそのまま） */
@media (max-width: 1023px) {
  .hero-first .hero-visual { position: relative; min-height: 0; max-width: none; }
  .hero-first .hv-intro { position: absolute; inset: 0; }
  .hero-first .hv-tilt, .hero-first .hv-float { height: 100%; }
  .hero-first .hero-visual img { width: 100%; height: 100%; object-fit: contain; }
  .hero-first .hv-floor { bottom: -8px; height: 24px; }
}
@media (max-width: 767px) {
  .hero-title { margin-top: 20px; }
  .hero-sub { margin-top: 16px; }
  .hero-note-line { margin-top: 8px; }
  .hero-text .btn-row { margin-top: 20px; }
}
/* 高さの低いスマホ（375×667 など）：スクショまで入れると SCROLL が出ないので、スクショは SCROLL の下へ */
@media (max-width: 767px) and (max-height: 740px) {
  .hero-first { grid-template-rows: auto auto auto; align-content: start; }
  .hero-first .hero-scroll { grid-row: 2; margin-bottom: 0; }
  .hero-first .hero-visual { grid-row: 3; height: 240px; margin-top: 16px; }
}
.hero-first + .strengths { margin-top: 24px; }
@media (min-width: 1024px) {
  .hero-first { display: flex; flex-direction: column; padding-top: calc(var(--header-h) + 24px); }
  .hero-first > .hero-grid { display: grid; flex: 1 0 auto; align-content: center; }
  .hero-first .hero-scroll { margin: 16px auto; }
  .hero-first + .strengths { margin-top: 32px; }
}
/* 大見出し：PC は 72px（「対応を、自動化。」を 1 行に）。縦に余裕のある画面だけ 3 版目の 88px */
@media (min-width: 1280px) { :root { --fs-hero: var(--fs-72); } }
@media (min-width: 1280px) and (min-height: 1000px) { :root { --fs-hero: var(--fs-88); } }

/* ---------- 使わない場合・使う場合の写真：見えたときに 1 回ふわっと出るだけ ---------- */
.anim .case-photo[data-anim] img { opacity: 0; transform: scale(1.03); transition: opacity 900ms var(--ease-out), transform 1200ms var(--ease-out-expo); }
.anim .case-photo.is-visible img { opacity: 1; transform: none; }

/* ---------- できることの画面：表紙と同じく、下から起き上がって出る（1 回だけ） ---------- */
.anim .features-shot[data-anim] img { opacity: 0; transform: translateY(60px) rotateX(20deg); transition: opacity 1400ms var(--ease-out-expo) 200ms, transform 1400ms var(--ease-out-expo) 200ms; }
.anim .features-shot.is-visible img { opacity: 1; transform: none; }
@media (max-width: 767px) {
  .hero-first { grid-template-rows: auto minmax(120px, 1fr) auto; padding-top: calc(var(--header-h) + 12px); }
  /* 見出しの上の 1 行：飾りの線を縮めて、文を 1 行に収める */
  .hero-lead-line::after { flex: 0 1000 64px; min-width: 16px; }   /* 文字より先に線が縮む */
  /* SCROLL の印：線を短く（点の動きも線の長さに合わせる） */
  .hero-first .scroll-line { --sl: 28px; height: var(--sl); }
  .hero-first .hero-scroll { margin-bottom: 8px; }
}
@media (max-width: 767px) and (max-height: 740px) {
  .hero-first { grid-template-rows: auto auto auto; }
  .hero-title { margin-top: 16px; }
  .hero-text .btn-row { margin-top: 16px; }
}

/* ---------- 4 版目の追加：PC だけ、強み 4 つまで最初の画面に入れる（1023px 以下は上のまま） ---------- */
@media (min-width: 1024px) {
  .hero-inner {
    display: grid; grid-template-columns: 1fr auto; column-gap: 32px;
    grid-template-areas: "main main" "str str" "note scroll";
    grid-template-rows: minmax(0, 1fr) auto auto;
    min-height: 100vh; min-height: 100svh;
    padding-top: calc(var(--header-h) + 8px);
  }
  .hero-first { display: contents; }
  .hero-first > .hero-grid { grid-area: main; }
  .hero-inner > .strengths, .hero-first + .strengths { grid-area: str; margin-top: 20px; }
  .hero-inner > .hero-note { grid-area: note; margin-top: 8px; align-self: center; }
  .hero-first .hero-scroll { grid-area: scroll; margin: 8px 0 8px; align-self: end; }
  /* 見出しまわりの余白を詰める */
  .hero-target { margin-top: 12px; min-height: 40px; }
  .hero-title { margin-top: 20px; }
  .hero-sub { margin-top: 20px; }
  .hero-note-line { margin-top: 8px; }
  .hero-text .btn-row { margin-top: 24px; }
  /* 強み 4 つ：丸と文字を少し小さく */
  .strength { min-height: 72px; gap: 12px; padding: 8px 16px 8px 8px; }
  .strength-icon { width: 48px; height: 48px; }
  .strength-icon .ic { width: 26px; height: 26px; }
  .strength-main { font-size: var(--fs-16); }
  .strength-main .num { font-size: var(--fs-28); }
}
/* 大見出し：PC は 64px。縦に余裕のある画面（1000px 以上）だけ 3 版目の 88px */
@media (min-width: 1024px) { :root { --fs-hero: var(--fs-64); } }
@media (min-width: 1280px) and (min-height: 1000px) { :root { --fs-hero: var(--fs-88); } }

/* ---------- SCROLL を表紙の右端に縦向きで置く ---------- */
.hero .hero-first .hero-scroll {
  position: absolute; z-index: 2;
  right: 32px; top: calc(100vh - 176px); top: calc(100svh - 176px);
  margin: 0; width: auto; min-width: 0; height: auto;
  flex-direction: column; align-items: center; gap: 12px;
}
.hero .hero-first .scroll-text { order: -1; writing-mode: vertical-rl; margin: 0; letter-spacing: .2em; }
.hero .hero-first .scroll-line { --sl: 56px; height: var(--sl); }
@media (max-width: 1023px) {
  .hero .hero-first .hero-scroll { right: 16px; top: calc(100vh - 144px); top: calc(100svh - 144px); }
  .hero .hero-first .scroll-line { --sl: 40px; }
}
@media (max-width: 767px) {
  .hero .hero-first .hero-scroll { right: 4px; top: calc(100vh - 120px); top: calc(100svh - 120px); gap: 8px; }
  .hero .hero-first .scroll-line { --sl: 28px; }
}
@media (max-width: 767px) {
  .hero .hero-first .hero-visual { margin-right: 12px; }   /* 右端の SCROLL とスクショが重ならないように */
}

/* =====================================================================
   本番の LP に組み込むときに足した部分（2026-11-11）
   試作（LP_パンフレット版/site）に無い、本番の仕組みのための見た目だけ。
   英語版（en.html）は lp.css のまま。ここは日本語版だけが読む
   ===================================================================== */

/* ---------- 言語の切り替え（国旗＋略称のボタン → 押すと日本語・English・한국어 のリスト） ---------- */
.language-switch { flex: none; }
.lang-menu { position: relative; }
.lang-current {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 8px 0 12px;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: transparent;
  font-size: var(--fs-14); font-weight: var(--fw-bold); line-height: 1; letter-spacing: 0.04em;
  color: inherit; cursor: pointer;
  transition: border-color 200ms var(--ease-out), background-color 200ms var(--ease-out);
}
.lang-current:hover, .lang-menu.is-open .lang-current { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .08); }
.flag { width: 21px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); flex: none; }
.lang-chevron { width: 18px; height: 18px; transition: rotate 200ms var(--ease-out); }
.lang-current[aria-expanded="true"] .lang-chevron { rotate: 180deg; }
.lang-list {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 20;
  min-width: 184px; padding: 6px;
  background: var(--c-white); color: var(--c-text);
  border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
  opacity: 0; visibility: hidden; translate: 0 -6px;
  transition: opacity 180ms var(--ease-out), translate 180ms var(--ease-out), visibility 0s linear 180ms;
}
.lang-menu.is-open .lang-list,
html:not(.js) .lang-menu:focus-within .lang-list {
  opacity: 1; visibility: visible; translate: 0 0;
  transition: opacity 180ms var(--ease-out), translate 180ms var(--ease-out), visibility 0s;
}
.lang-list a {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px;
  border-radius: 8px; text-decoration: none; color: inherit;
  font-size: var(--fs-14); font-weight: var(--fw-bold); line-height: 1.2; letter-spacing: 0.02em;
}
/* ヘッダーのメニュー（.site-nav ul / li a）の並び・下線・大きさを、言語のリストには効かせない */
.site-nav .lang-list { display: block; }
.site-nav .lang-list a {
  display: flex; min-height: 44px; padding: 0 12px; border-bottom: 0; white-space: nowrap;
  font-size: var(--fs-14); font-weight: var(--fw-bold); text-decoration: none;
}
.site-nav .lang-list a::after { content: none; }
.lang-list a:hover, .lang-list a:focus-visible { background: #EEF6F4; }
.lang-list a:focus-visible { outline: 2px solid var(--c-teal-600); outline-offset: -2px; }
.lang-list a[aria-current="page"] { color: var(--c-teal-600); }
.lang-check { width: 18px; height: 18px; margin-left: auto; visibility: hidden; }
.lang-list a[aria-current="page"] .lang-check { visibility: visible; }
@media (max-width: 1023px) {
  /* スマホ・タブレットはメニューの中。リストはボタンの左端から開く */
  .site-nav .language-switch { margin-top: 24px; }
  .lang-current { font-size: var(--fs-16); min-height: 44px; }
  .lang-list { left: 0; right: auto; }
}
@media (min-width: 1024px) {
  .site-nav .language-switch { margin-left: 32px; }
}

/* ---------- 電話番号の国・地域（国名・国番号で検索して選ぶ） ---------- */
/* 閉じているときは、試作の .phone-country と同じ見た目 */
.country-picker { position: relative; flex: none; min-width: 0; max-width: 100%; }
.country-picker select[hidden] { display: none !important; }
.phone-row .country-picker > select:not([hidden]) {
  width: auto; height: 52px; margin-top: 8px; padding: 0 10px;
  background: var(--c-gray-100); font-size: var(--fs-14);
}
.country-trigger {
  display: inline-flex; align-items: center; gap: 0; max-width: 100%;
  height: 52px; margin-top: 8px; padding: 0 2px 0 10px;
  border: 1px solid var(--c-input-line); border-radius: var(--r-md);
  background: var(--c-gray-100); color: var(--c-text);
  font-size: var(--fs-14); line-height: 1.6; white-space: nowrap; text-align: left; cursor: pointer;
  transition: border-color var(--dur-ui) ease, box-shadow var(--dur-ui) ease;
}
.country-selected { overflow: hidden; text-overflow: ellipsis; }
.country-trigger .ic { flex: none; width: 16px; height: 16px; color: var(--c-teal-700); }
.country-trigger:focus-visible, .country-trigger[aria-expanded="true"] {
  outline: none; border-color: var(--c-teal-600); box-shadow: 0 0 0 3px rgba(26, 127, 110, .25);
}
.country-trigger.bad, .country-trigger[aria-invalid="true"] { border-color: var(--c-red-600); }
.country-menu {
  position: absolute; z-index: 25; top: calc(100% + 6px); left: 0;
  width: min(340px, calc(100vw - 72px)); padding: 10px;
  background: var(--c-white); color: var(--c-text);
  border: 1px solid var(--c-input-line); border-radius: var(--r-md);
  box-shadow: 0 12px 32px rgba(4, 24, 19, .2);
}
.country-menu[hidden] { display: none !important; }
.country-menu.opens-up { top: auto; bottom: calc(100% + 6px); }
.country-search {
  display: block; width: 100%; height: 44px; padding: 0 12px;
  font-size: var(--fs-16); line-height: 1.6;
  background: var(--c-white); color: var(--c-text);
  border: 1px solid var(--c-input-line); border-radius: var(--r-sm);
}
.country-options { position: relative; max-height: 220px; overflow-y: auto; overscroll-behavior: contain; margin-top: 8px; scrollbar-width: thin; }
.country-option { font-size: var(--fs-14); line-height: 1.6; padding: 10px; border-radius: 6px; cursor: pointer; overflow-wrap: anywhere; }
.country-option:hover, .country-option.is-active { background: var(--c-mint-100); }
.country-option[aria-selected="true"] { color: var(--c-teal-700); font-weight: var(--fw-bold); }
.country-status { margin: 8px 4px 0; font-size: var(--fs-12); line-height: 1.6; color: var(--c-text-muted); }

/* ---------- 送らない欄（ロボット対策）・人間の確認・送信の結果 ---------- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
#lpCaptcha:not([hidden]) { margin-top: 24px; }
.form-msg { margin-top: 16px; font-size: var(--fs-14); line-height: 1.8; font-weight: var(--fw-medium); }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--c-teal-700); }
.form-msg.ng { color: var(--c-red-600); }
.btn--submit:disabled { opacity: .7; cursor: progress; }

/* ---------- アクセス解析の同意（analytics.js が出す。本番のドメインだけ） ---------- */
.analytics-settings {
  display: block; margin-top: 8px; padding: 0; border: 0; background: none;
  color: var(--c-muted-on-dark); font: inherit; font-size: var(--fs-12); line-height: 1.8;
  text-decoration: underline; cursor: pointer;
}
.analytics-consent {
  position: fixed; z-index: 120; bottom: 16px; left: 50%; transform: translateX(-50%);
  width: min(900px, calc(100% - 32px));
  display: flex; align-items: center; gap: 24px;
  padding: 20px 24px; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  background: var(--c-white); color: var(--c-text); box-shadow: var(--sh-float);
  font-size: var(--fs-13); line-height: 1.8;
}
.analytics-consent[hidden], .analytics-settings[hidden] { display: none !important; }
.analytics-consent p { margin: 0; flex: 1; }
.analytics-consent b, .analytics-consent span { display: block; }
.analytics-consent b { font-size: var(--fs-16); margin-bottom: 4px; color: var(--c-deep-800); }
.analytics-consent a { font-size: var(--fs-12); color: var(--c-teal-700); text-decoration: underline; }
.analytics-consent > div { display: flex; gap: 8px; flex: none; }
.analytics-consent button {
  min-height: 44px; padding: 0 16px; border: 1px solid var(--c-input-line); border-radius: var(--r-sm);
  background: var(--c-white); color: var(--c-text); font: inherit; font-size: var(--fs-14); font-weight: var(--fw-bold); cursor: pointer;
}
.analytics-consent button[data-consent="granted"] { background: var(--c-teal-600); border-color: var(--c-teal-600); color: var(--c-white); }
@media (max-width: 600px) {
  .analytics-consent { bottom: 8px; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .analytics-consent > div { justify-content: flex-end; }
}

/* ---------- 2026-11-13 ファーストビューの直し ----------
   - 「クレジットカード番号等…」の帯：左のはみ出しをやめ、中身の左端から始める
   - サブキャッチを大きく
   - 右の画面を、文字の列とのすき間側へ広げて大きく（文字の列の幅は変えない） */
.hero-target { margin-left: 0; padding-left: 20px; }
.hero-sub { font-size: var(--fs-18); }
@media (min-width: 768px) { .hero-sub { font-size: var(--fs-22); } }
@media (min-width: 1024px) {
  .hero-sub { font-size: var(--fs-24); }
  .hero-first .hero-visual { max-width: none; margin-left: -112px; margin-right: -24px; }   /* 右は画面の端にかからない量に */
}
@media (min-width: 1024px) {
  /* 下の※：右の空いた列まで広げ、11px で 1 行に収める（11px はユーザー指定） */
  .hero-inner > .hero-note { grid-column: 1 / -1; font-size: 11px; }
}
@media (min-width: 1280px) { .hero-sub { font-size: var(--fs-28); } }

/* ---------- 2026-11-13 ファーストビューの下に余白（PC） ----------
   ファーストビューの高さを画面より 120px 低くし（真ん中の上下のすき間が縮む）、
   ※の下に 80px の余白。白いカード（3 つの価値）の上 40px ほどが最初の画面に見える */
@media (min-width: 1024px) {
  .hero-inner { min-height: calc(100vh - 120px); min-height: calc(100svh - 120px); }
  .hero { padding-bottom: 144px; }   /* 144 − カードの重なり 64 = ※の下の余白 80 */
}

/* ---------- 2026-11-13 強み 4 つの文字を大きく（PC） ---------- */
@media (min-width: 1024px) {
  .strength-label { font-size: var(--fs-14); }
  .strength-main { font-size: var(--fs-20); }
  .strength-main .num { font-size: var(--fs-32); }
}

/* ---------- 2026-11-13 スマホのファーストビュー：画像を文字の上に、SCROLL なし、文字を少し小さく ---------- */
@media (max-width: 767px) {
  .hero .hero-first .hero-scroll { display: none; }
  .hero-first { grid-template-rows: minmax(160px, 1fr) auto; }
  .hero-first .hero-visual { grid-row: 1; margin-right: 0; }
  .hero .hero-first .hero-visual { margin-right: 0; }
  .hero-first .hero-text { grid-row: 2; }
  .hero-title { font-size: var(--fs-36); }
  .hero-sub { font-size: var(--fs-16); }
  .hero-note-line { font-size: var(--fs-14); line-height: 1.8; }
}
/* 高さの低いスマホ：画像は決まった高さで、文字の上に */
@media (max-width: 767px) and (max-height: 740px) {
  .hero-first { grid-template-rows: auto auto; }
  .hero-first .hero-visual { grid-row: 1; height: 180px; margin-top: 0; }
}

/* ---------- 2026-11-13 ハンバーガー：アイコンの右端を中身の右端にそろえる ---------- */
@media (max-width: 1023px) {
  .nav-toggle { margin-right: -8px; }   /* 44px の押せる範囲の中の余白 8px ぶん右へ */
}

/* ---------- 2026-11-13 メニューの展開の動き（1023px 以下） ----------
   上から下へ広がって開き、項目が順に出る。閉じるときは逆。アイコンは回って ≡ と × が入れ替わる */
@media (max-width: 1023px) {
  .js .site-nav {
    display: block; visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 420ms var(--ease-out-expo), visibility 0s linear 420ms;
  }
  .js body.nav-open .site-nav {
    visibility: visible; clip-path: inset(0 0 0 0);
    transition: clip-path 520ms var(--ease-out-expo), visibility 0s;
  }
  .js .site-nav li, .js .site-nav .language-switch, .js .site-nav .nav-cta {
    opacity: 0; transform: translateY(-12px);
    transition: opacity 200ms ease, transform 200ms ease;
  }
  .js body.nav-open .site-nav li, .js body.nav-open .site-nav .language-switch, .js body.nav-open .site-nav .nav-cta {
    opacity: 1; transform: none;
    transition: opacity 400ms ease, transform 500ms var(--ease-out-expo);
  }
  .js body.nav-open .site-nav li:nth-child(1) { transition-delay: 120ms; }
  .js body.nav-open .site-nav li:nth-child(2) { transition-delay: 170ms; }
  .js body.nav-open .site-nav li:nth-child(3) { transition-delay: 220ms; }
  .js body.nav-open .site-nav li:nth-child(4) { transition-delay: 270ms; }
  .js body.nav-open .site-nav li:nth-child(5) { transition-delay: 320ms; }
  .js body.nav-open .site-nav .language-switch { transition-delay: 370ms; }
  .js body.nav-open .site-nav .nav-cta { transition-delay: 420ms; }
  /* アイコン：2 つを重ね、回しながら入れ替える */
  .nav-toggle { position: relative; }
  .nav-toggle .ic-menu, .nav-toggle .ic-close,
  .nav-toggle[aria-expanded="true"] .ic-menu, .nav-toggle[aria-expanded="true"] .ic-close {
    display: block; position: absolute; top: 50%; left: 50%; margin: -14px 0 0 -14px;
    transition: opacity 250ms ease, transform 400ms var(--ease-out-expo);
  }
  .nav-toggle .ic-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
  .nav-toggle[aria-expanded="true"] .ic-menu { opacity: 0; transform: rotate(90deg) scale(.6); }
  .nav-toggle[aria-expanded="true"] .ic-close { opacity: 1; transform: none; }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  .js .site-nav, .js body.nav-open .site-nav,
  .js .site-nav li, .js .site-nav .language-switch, .js .site-nav .nav-cta,
  .nav-toggle .ic-menu, .nav-toggle .ic-close { transition: none !important; }
}
