/* ============================================================
   style.css — stores.fun ライクなシンプル・クリーンデザイン
   zero start ホームページ制作サービス
   ============================================================ */

/* ---- Variables ---- */
:root {
  --blue:       #0066ff;
  --blue-hover: #0052cc;
  --blue-bg:    #f0f5ff;
  --line:       #06c755;
  --line-hover: #05a845;
  --text:       #0a0a0a;
  --text-mid:   #555550;
  --text-weak:  #888882;
  --bg:         #ffffff;
  --bg-gray:    #f2f2f0;
  --border:     #d8d8d4;
  --bad:        #cc2222;
  --font:       "Noto Sans JP", "Hiragino Kaku Gothic ProN", Helvetica, sans-serif;
  --max:        1080px;
  --nav-h:      64px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ============================================================
   GLOBAL NAV
   ============================================================ */
.gn {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.gn__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 4px;
}
.gn__logo {
  font-size: 17px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.02em;
  margin-right: 12px;
  flex-shrink: 0;
}
.gn__nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.gn__nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  padding: 6px 12px;
  border-radius: 4px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.gn__nav a:hover { color: var(--text); background: var(--bg-gray); }
.gn__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.gn__btn-line {
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  background: var(--line);
  color: #fff;
  border-radius: 6px;
  transition: background .15s;
  white-space: nowrap;
}
.gn__btn-line:hover { background: var(--line-hover); }

/* Hamburger */
.gn__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
}
.gn__menu-btn span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform .25s, opacity .2s, width .2s;
}
.gn__menu-btn.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.gn__menu-btn.open span:nth-child(2) { opacity: 0; width: 0; }

/* Drawer */
.gn__drawer {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 16px 24px 28px;
  gap: 0;
}
.gn__drawer.open { display: flex; }
.gn__drawer ul { display: flex; flex-direction: column; margin-bottom: 20px; }
.gn__drawer li a {
  display: block;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: color .15s;
}
.gn__drawer li a:hover { color: var(--blue); }
.btn-line-full {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  background: var(--line);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 6px;
  transition: background .15s;
}
.btn-line-full:hover { background: var(--line-hover); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  background: var(--bg);
}
.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--blue);
  background: var(--blue-bg);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero__heading {
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.04em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero__lead {
  font-size: 15px;
  line-height: 2;
  color: var(--text-mid);
  margin-bottom: 36px;
}
.hero__cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  transition: background .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--blue-hover); box-shadow: 0 4px 16px rgba(0,102,255,.3); }
.btn-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  transition: color .15s;
}
.btn-text:hover { color: var(--blue); }
.hero__disclaimer {
  font-size: 12px;
  color: var(--text-weak);
  line-height: 1.7;
}
.hero__visual {
  aspect-ratio: 4/3;
  background: var(--bg-gray);
  overflow: hidden;
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.br-pc { display: inline; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats {
  background: var(--text);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.stats__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 32px 52px;
}
.stats__item strong {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1;
}
.stats__item strong small {
  font-size: .55em;
  font-weight: 700;
}
.stats__item span {
  font-size: 11px;
  color: rgba(255,255,255,.45);
  font-weight: 500;
  letter-spacing: .06em;
  white-space: nowrap;
}
.stats__divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section { padding: 112px 0; }
.section--gray { background: var(--bg-gray); }

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

.section__head { max-width: 640px; margin-bottom: 56px; }
.section__head + * { margin-top: 0; }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 20px;
}

.section__body {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 2;
}

/* ============================================================
   CONCEPT
   ============================================================ */
.concept-cols {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
}
.concept-col {
  flex: 1;
  padding: 48px 40px;
}
.concept-col--before {
  background: var(--bg-gray);
  border-right: 1px solid var(--border);
}
.concept-col--after {
  background: var(--bg);
}
.concept-arrow {
  padding: 0 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.concept-col__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.concept-col--before .concept-col__label { color: var(--text-weak); }
.concept-col--after  .concept-col__label { color: var(--blue); }
.concept-col__heading {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.concept-col--before .concept-col__heading { color: var(--text-mid); }
.concept-col--after  .concept-col__heading { color: var(--text); }
.concept-col__text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
}

/* ============================================================
   SERVICE
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  gap: 0;
}
.service-item {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  background: var(--bg);
}
.service-item:last-child { border-right: none; }

.service-item__num {
  font-size: 52px;
  font-weight: 900;
  color: var(--blue-bg);
  letter-spacing: -.06em;
  line-height: 1;
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}
.service-item__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.service-item__desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 20px;
}
.service-item__list { display: flex; flex-direction: column; gap: 8px; }
.service-item__list li {
  font-size: 13px;
  color: var(--text-mid);
  padding-left: 14px;
  position: relative;
  line-height: 1.6;
}
.service-item__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  background: var(--blue);
  border-radius: 50%;
}

/* ============================================================
   COMPARISON
   ============================================================ */
.cmp-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
}
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 520px;
}
.cmp-table th,
.cmp-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
  vertical-align: middle;
}
.cmp-table thead th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text-weak);
  background: var(--bg-gray);
  text-transform: uppercase;
}
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table tbody tr:nth-child(odd) td:not(.cmp-us) { background: #fafaf8; }
.cmp-table td:first-child {
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
  white-space: nowrap;
}
.cmp-us {
  background: var(--blue-bg) !important;
}
.cmp-table thead .cmp-us {
  color: var(--blue) !important;
}
.cmp-bad { color: var(--bad); font-weight: 600; }
.cmp-good { color: var(--blue); font-weight: 700; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-layout {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  max-width: 800px;
}
.plan {
  flex: 1;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.plan:first-child { border-right: 1px solid var(--border); background: var(--bg-gray); }
.plan--main { background: var(--bg); }

.pricing-divider { display: none; }

.plan__badge {
  position: absolute;
  top: 0; right: 0;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 4px 14px;
}

.plan__head { display: flex; flex-direction: column; gap: 8px; }
.plan__name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--text-weak);
  text-transform: uppercase;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}
.plan__yen { font-size: 18px; font-weight: 900; color: var(--blue); }
.plan__num { font-size: 48px; font-weight: 900; color: var(--blue); letter-spacing: -.04em; }
.plan__unit { font-size: 13px; color: var(--text-weak); font-weight: 500; margin-left: 4px; }
.plan__catch { font-size: 14px; color: var(--text-mid); }

.plan__list { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan__list li {
  font-size: 14px;
  color: var(--text);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}
.plan__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  background: var(--blue);
  border-radius: 50%;
}

.btn-plan {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  background: var(--bg);
  color: var(--text);
  border: 1.5px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-plan:hover { background: var(--bg-gray); border-color: var(--text-mid); }
.btn-plan--primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-plan--primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }

.plan__note {
  font-size: 12px;
  color: var(--text-weak);
  text-align: center;
  line-height: 1.6;
}

/* ============================================================
   FLOW
   ============================================================ */
.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  gap: 0;
}
.flow-item {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  background: var(--bg);
  position: relative;
}
.flow-item:last-child { border-right: none; }

.flow-item__step {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--blue);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.flow-item__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.01em;
  margin-bottom: 12px;
}
.flow-item__desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.85;
}
.flow-item__desc strong { color: var(--blue); font-weight: 700; }

/* ============================================================
   CASES
   ============================================================ */
/* 1件のみ表示の場合 */
.cases-grid--single {
  grid-template-columns: 1fr;
  max-width: 640px;
}
.cases-grid--single .case-card {
  border-right: none;
  flex-direction: row;
  align-items: stretch;
}
.cases-grid--single .case-card__thumb {
  width: 300px;
  flex-shrink: 0;
  aspect-ratio: unset;
}
.cases-grid--single .case-card__body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.case-card__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-top: 8px;
}

@media (max-width: 640px) {
  .cases-grid--single .case-card {
    flex-direction: column;
  }
  .cases-grid--single .case-card__thumb {
    width: 100%;
    aspect-ratio: 16/10;
  }
}
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  gap: 0;
}
.case-card {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  color: inherit;
  transition: background .15s;
}
.case-card:last-child { border-right: none; }
.case-card--soon { opacity: .4; pointer-events: none; }

a.case-card:hover { background: var(--blue-bg); }

.case-card__thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #e8e8e4;
}
.case-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
a.case-card:hover .case-card__thumb img { transform: scale(1.04); }

.case-card__thumb--soon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  color: #b8b8b4;
  aspect-ratio: 16/10;
  background: #e8e8e4;
}

.case-card__body { padding: 20px 24px 28px; }
.case-card__genre {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--blue);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.case-card__name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
.case-card__desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  border: 1px solid var(--border);
  max-width: 760px;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  background: var(--bg);
  border: none;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: background .15s, color .15s;
}
.faq-q:hover { background: var(--bg-gray); }
.faq-q[aria-expanded="true"] { color: var(--blue); background: var(--blue-bg); }

.faq-q__icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1;
  transition: transform .25s cubic-bezier(.22,1,.36,1), border-color .15s, color .15s;
}
.faq-q[aria-expanded="true"] .faq-q__icon {
  transform: rotate(45deg);
  border-color: var(--blue);
  color: var(--blue);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s cubic-bezier(.22,1,.36,1);
}
.faq-a.open { grid-template-rows: 1fr; }
.faq-a__body { overflow: hidden; }
.faq-a__body p {
  padding: 4px 24px 24px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: var(--text);
  padding: 112px 24px;
  text-align: center;
}
.final-cta__sub {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  color: rgba(255,255,255,.35);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.final-cta__heading {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -.04em;
  margin-bottom: 44px;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  background: var(--line);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  transition: background .15s, box-shadow .15s;
  margin-bottom: 20px;
}
.btn-cta:hover { background: var(--line-hover); box-shadow: 0 6px 20px rgba(6,199,85,.3); }
.final-cta__note {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.3);
  line-height: 1.7;
  margin-top: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--text);
  padding: 64px 24px 40px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.footer__brand {
  flex: 0 0 200px;
}
.footer__logo {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.footer__tagline {
  font-size: 11px;
  color: rgba(255,255,255,.3);
  letter-spacing: .08em;
  margin-bottom: 24px;
}
.footer__copy {
  font-size: 11px;
  color: rgba(255,255,255,.2);
  line-height: 1.6;
  margin-bottom: 10px;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__legal a {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color .15s;
}
.footer__legal a:hover { color: rgba(255,255,255,.75); }
.footer__links {
  display: flex;
  gap: 48px;
  flex: 1;
  justify-content: flex-end;
}
.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  transition: color .15s;
}
.footer__col ul a:hover { color: #fff; }
.footer__line-btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--line);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  transition: background .15s;
}
.footer__line-btn:hover { background: var(--line-hover); }

/* ============================================================
   FIXED CTA
   ============================================================ */
.fixed-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 800;
  opacity: 0;
  transition: transform .4s cubic-bezier(.22,1,.36,1), opacity .4s;
  pointer-events: none;
}
.fixed-cta.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.fixed-cta a {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  background: var(--line);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 100px;
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
  transition: background .15s, box-shadow .15s;
  white-space: nowrap;
}
.fixed-cta a:hover { background: var(--line-hover); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: center;
}
.footer__pp-btn {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 12px;
  color: rgba(255,255,255,.3);
  cursor: pointer;
  padding: 4px 0;
  transition: color .15s;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__pp-btn:hover { color: rgba(255,255,255,.65); }

/* ============================================================
   PRIVACY MODAL
   ============================================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
}
.modal.open {
  display: flex;
  pointer-events: auto;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,.6);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal__box {
  position: relative;
  z-index: 1;
  background: var(--bg);
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  animation: modalIn .3s cubic-bezier(.22,1,.36,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.modal__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
}
.modal__close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--text-weak);
  cursor: pointer;
  padding: 4px 8px;
  transition: color .15s;
  font-weight: 300;
}
.modal__close:hover { color: var(--text); }

.modal__body {
  overflow-y: auto;
  padding: 28px;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.modal__updated {
  font-size: 12px;
  color: var(--text-weak);
  margin-bottom: 28px;
}

.modal__section {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.modal__section--last {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.modal__section h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 2px solid var(--blue);
}
.modal__section p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 8px;
}
.modal__section p:last-child { margin-bottom: 0; }
.modal__section ul {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.modal__section ul li {
  font-size: 13px;
  color: var(--text-mid);
  padding-left: 14px;
  position: relative;
  line-height: 1.75;
}
.modal__section ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 4px; height: 4px;
  background: var(--blue);
  border-radius: 50%;
}
.modal__line-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 10px 20px;
  background: #06c755;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  transition: background .15s;
  text-decoration: none;
}
.modal__box--wide { max-width: 720px; }

/* テーブル形式（特定商取引法） */
.modal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.modal__table th,
.modal__table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  line-height: 1.85;
}
.modal__table tbody tr:last-child th,
.modal__table tbody tr:last-child td { border-bottom: none; }
.modal__table th {
  width: 130px;
  font-weight: 700;
  color: var(--text);
  background: var(--bg-gray);
  white-space: nowrap;
  font-size: 12px;
}
.modal__table td { color: var(--text-mid); }
.modal__table td strong { color: var(--text); }


.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .gn__nav    { display: none; }
  .gn__actions{ display: none; }
  .gn__menu-btn { display: flex; }

  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }
  .hero__visual { max-width: 480px; }
  .br-pc { display: none; }

  .stats__item { padding: 28px 32px; }

  .service-grid  { grid-template-columns: 1fr; }
  .service-item  { border-right: none; border-bottom: 1px solid var(--border); }
  .service-item:last-child { border-bottom: none; }

  .concept-cols  { flex-direction: column; }
  .concept-col--before { border-right: none; border-bottom: 1px solid var(--border); }
  .concept-arrow { display: none; }

  .cmp-table th:nth-child(2),
  .cmp-table td:nth-child(2) { display: none; }

  .pricing-layout { flex-direction: column; max-width: 480px; }
  .plan:first-child { border-right: none; border-bottom: 1px solid var(--border); }

  .flow-list { grid-template-columns: 1fr 1fr; }
  .flow-item:nth-child(2) { border-right: none; }
  .flow-item:nth-child(3) { border-top: 1px solid var(--border); }
  .flow-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }

  .cases-grid    { grid-template-columns: 1fr; }
  .case-card     { border-right: none; border-bottom: 1px solid var(--border); }
  .case-card:last-child { border-bottom: none; }

  .footer__inner  { flex-direction: column; gap: 40px; }
  .footer__links  { flex-wrap: wrap; gap: 32px; justify-content: flex-start; }
}

@media (max-width: 640px) {
  :root { --nav-h: 56px; }

  .hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 56px; }
  .hero__heading { letter-spacing: -.03em; }

  .stats__inner  { flex-wrap: wrap; }
  .stats__item   { padding: 20px 24px; }
  .stats__divider { display: none; }

  .section { padding: 80px 0; }

  .concept-col { padding: 32px 24px; }

  .service-item { padding: 32px 24px; }

  .flow-list { grid-template-columns: 1fr; }
  .flow-item { border-right: none; border-bottom: 1px solid var(--border); }
  .flow-item:last-child { border-bottom: none; }
  .flow-item:nth-child(3),
  .flow-item:nth-child(4) { border-top: none; }

  .final-cta { padding: 80px 24px; }
  .btn-cta   { font-size: 14px; padding: 14px 28px; }

  .footer__inner { padding: 0; }
}
