@charset "UTF-8";

/* ══════════════════════════════════════════════════════════
   BiNDup 基本コース アップグレードキャンペーン LP
   ══════════════════════════════════════════════════════════ */

/* ── デザイントークン ───────────────────────────────────── */
:root {
  --mint:        #07c8c0;
  --mint-deep:   #00aaa7;
  --mint-pale:   #e7fbfa;
  --navy:        #12254a;
  --ink:         #282828;
  --coral:       #e05260;
  --coral-deep:  #bf3e4b;
  --coral-pale:  #fef0f1;
  --bg:          #f8f8fa;
  --white:       #ffffff;
  --muted:       #596276;
  --muted-light: #7f8794;
  --gray:        #9ca3af;
  --line:        #e5e7eb;

  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ── リセット ───────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

/* display: flex 等の指定に負けないよう hidden を強制 */
[hidden] { display: none !important; }

button {
  font: inherit;
  color: inherit;
}

/* ══════════════════════════════════════════════════════════
   共通パーツ
   ══════════════════════════════════════════════════════════ */

/* ── セクション ─────────────────────────────────────────── */
.section {
  padding: 116px 40px;
  background: var(--bg);
}
.section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section--next    { padding-top: 144px; }
.section--features,
.section--faq     { background: var(--white); }
.section--pricing { background: linear-gradient(160deg, #f0fdfc 0%, var(--bg) 60%); }

/* ── セクション見出し ───────────────────────────────────── */
.section-heading {
  margin-bottom: 48px;
  text-align: center;
}
.section-heading__eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--mint-deep);
}
.section-heading__title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .02em;
}
.section-heading__sub {
  margin: 16px auto 0;
  max-width: 600px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}
.is-mint { color: var(--mint); }

/* ── CTA ボタン ─────────────────────────────────────────── */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 500px;
  min-height: 72px;
  border-radius: 7px;
  color: #fff;
  background: var(--coral);
  text-decoration: none;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 11px 0 var(--coral-deep), 0 16px 24px rgba(224, 82, 96, .21);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(3px);
  box-shadow: 0 8px 0 var(--coral-deep), 0 12px 18px rgba(224, 82, 96, .2);
}
.cta-button__label {
  text-align: center;
  line-height: 1.5;
  white-space: nowrap;
}
.cta-button__br { display: none; }
.cta-button__arrow {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  font-size: 15px;
}

.cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ── クーポンバナー ─────────────────────────────────────── */
.coupon {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 500px;
  min-height: 72px;
  margin: 0 auto;
  padding: 10px 14px 10px 10px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(18, 37, 74, .08);
  cursor: pointer;
}
.coupon--hero { margin: 0; }

.coupon__badge {
  flex: 0 0 88px;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 2px 8px;
  color: #fff;
  background: var(--mint);
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
}
.coupon__code {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .035em;
  color: var(--navy);
}
.coupon--hero .coupon__code { font-size: clamp(18px, 2.1vw, 28px); }

/* コピーアイコン */
.coupon__copy {
  flex: 0 0 auto;
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--muted-light);
  background: transparent;
  transition: color .2s, background-color .2s;
}
.coupon:hover .coupon__copy,
.coupon:focus-visible .coupon__copy {
  color: var(--mint-deep);
  background: var(--mint-pale);
}
.coupon__copy-icon {
  grid-area: 1 / 1;
  transition: opacity .2s, transform .2s;
}
/* 通常時はコピーアイコン、コピー後はチェックアイコンを表示 */
.coupon__copy-icon--done { opacity: 0; transform: scale(.7); }
.coupon.is-copied .coupon__copy {
  color: var(--mint-deep);
  background: var(--mint-pale);
}
.coupon.is-copied .coupon__copy-icon--copy { opacity: 0; transform: scale(.7); }
.coupon.is-copied .coupon__copy-icon--done { opacity: 1; transform: scale(1); }

.coupon__note {
  margin: 0;
  color: var(--muted-light);
  font-size: 11px;
}
.coupon__note--hero { margin: 8px 0 24px; }

.br_sp { display: none; }

/* ── 汎用テーブル（仕様・概要） ─────────────────────────── */
.table-scroll {
  overflow-x: auto;
  margin-bottom: 24px;
}
.spec-table {
  width: 100%;
  min-width: 400px;
  border-collapse: collapse;
  font-size: 13px;
}
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table th {
  width: 22%;
  min-width: 90px;
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
  font-weight: 600;
  color: var(--muted);
  background: #f9fafb;
}
.spec-table td {
  padding: 11px 14px;
  color: var(--ink);
  line-height: 1.75;
}

/* ══════════════════════════════════════════════════════════
   ヘッダー
   ══════════════════════════════════════════════════════════ */
.lp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}
.lp-header__logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.lp-header__logo {
  height: 36px;
  width: auto;
}
.lp-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 5px;
  color: #fff;
  background: var(--coral);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}
.lp-header__cta-arrow { font-size: 14px; }

/* ══════════════════════════════════════════════════════════
   ヒーロー
   ══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(730px, 80vh);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
  padding: 20px 0 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--mint-deep);
}
.hero__eyebrow-bar {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--mint);
}
.hero__title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1.25;
  letter-spacing: .03em;
  font-weight: 800;
}
.hero__title em {
  font-style: normal;
  color: var(--mint);
}
.hero__lead {
  margin: 20px 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  font-weight: 500;
}
.hero__visual {
  display: block;
  justify-self: end;
  width: min(100%, 660px);
}
.hero__visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ══════════════════════════════════════════════════════════
   02. 次のステージへ
   ══════════════════════════════════════════════════════════ */
.next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.next-card {
  position: relative;
  overflow: hidden;
  padding: 36px 28px;
  background: var(--white);
  border-radius: 12px;
}
.next-card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  padding: 10px;
  background: var(--mint-pale);
  border-radius: 16px;
}
.next-card__title {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}
.next-card__body {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ══════════════════════════════════════════════════════════
   03. コース比較テーブル
   ══════════════════════════════════════════════════════════ */
.compare-wrap {
  overflow-x: auto;
  display: flex;
  justify-content: center;
}
.compare-table {
  width: 70%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 14px;
}
.compare-table col { width: 33.333%; }

.compare-table thead th {
  padding: 14px 16px;
  background: var(--navy);
  color: #fff;
}
.compare-table__th-label  { text-align: left;   font-weight: 700; border-radius: 10px 0 0 0; }
.compare-table__th-before { text-align: center; font-weight: 600; color: rgba(255, 255, 255, .55); }
.compare-table__th-after  { text-align: center; font-weight: 700; background: var(--mint); border-radius: 0 10px 0 0; }

.compare-table tbody th,
.compare-table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
/* 1列目：項目名 */
.compare-table tbody th {
  text-align: left;
  color: var(--navy);
  font-weight: 600;
}
/* 2列目：エントリーコース */
.compare-table tbody td:first-of-type {
  text-align: center;
  color: var(--gray);
}
/* 3列目：基本コース */
.compare-table tbody td:last-child {
  text-align: center;
  font-weight: 700;
  color: var(--mint-deep);
  border-bottom-color: rgba(7, 200, 192, .2);
  border-left-color: rgba(7, 200, 192, .2);
  border-right: 1px solid rgba(7, 200, 192, .2);
}
/* 交互の背景色 */
.compare-table tbody tr:nth-child(odd)  th,
.compare-table tbody tr:nth-child(odd)  td:first-of-type { background: var(--white); }
.compare-table tbody tr:nth-child(even) th,
.compare-table tbody tr:nth-child(even) td:first-of-type { background: #f3f4f6; }
.compare-table tbody tr:nth-child(odd)  td:last-child    { background: #f0fdfc; }
.compare-table tbody tr:nth-child(even) td:last-child    { background: #e5faf9; }
/* 最終行 */
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:last-child th        { border-radius: 0 0 0 10px; }
.compare-table tbody tr:last-child td:last-child { border-radius: 0 0 10px 0; }

/* ══════════════════════════════════════════════════════════
   04. 機能ハイライト
   ══════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.feature-card__corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  border-radius: 0 12px 0 80px;
  opacity: .6;
}
.feature-card__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 8px;
  margin-bottom: 18px;
  border-radius: 8px;
}
.feature-card--mint  .feature-card__corner,
.feature-card--mint  .feature-card__icon  { background: var(--mint-pale); }
.feature-card--coral .feature-card__corner,
.feature-card--coral .feature-card__icon  { background: var(--coral-pale); }

.feature-card__title {
  position: relative;
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}
.feature-card__body {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

/* ══════════════════════════════════════════════════════════
   05. 料金訴求
   ══════════════════════════════════════════════════════════ */
.price-card {
  max-width: 560px;
  margin: 0 auto 48px;
  padding: 32px 28px;
  background: var(--white);
  border: 2px solid var(--mint);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(18, 37, 74, .1);
  text-align: center;
}
.price-card__before {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--gray);
  text-decoration: line-through;
}
.price-card__now { margin: 0 0 10px; }
.price-card__num {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
}
.price-card__yen {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}
.price-card__tax {
  margin-left: 6px;
  font-size: 13px;
  color: var(--muted);
}
.price-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 6px 16px;
  background: var(--mint-pale);
  border-radius: 100px;
  color: var(--mint-deep);
  font-size: 14px;
  font-weight: 700;
}
.price-card__note {
  margin: 0;
  font-size: 12px;
  color: var(--gray);
}

.campaign {
  max-width: 700px;
  margin: 0 auto 48px;
}
.campaign__title {
  margin: 0 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--mint);
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
}
.campaign__table { font-size: 14px; min-width: 360px; }
.campaign__table th { width: 28%; padding: 14px 16px; }
.campaign__table td { padding: 14px 16px; }
.campaign .table-scroll { margin-bottom: 0; }
.campaign__note {
  margin: 10px 0 0;
  font-size: 10px;
  color: var(--gray);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   06. FAQ
   ══════════════════════════════════════════════════════════ */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq__item { border-bottom: 1px solid var(--line); }

.faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.faq__q-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.faq__mark {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
}
.faq__mark--q { background: var(--mint-pale);  color: var(--mint-deep); }
.faq__mark--a { background: var(--coral-pale); color: var(--coral); }

.faq__q-text {
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.6;
}
.faq__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--gray);
  transition: transform .25s ease, color .2s;
}
.faq__q:hover .faq__icon { color: var(--mint-deep); }
.faq__q[aria-expanded="true"] .faq__icon {
  transform: rotate(180deg);
  color: var(--mint);
}
.faq__a {
  display: flex;
  gap: 12px;
  padding-bottom: 20px;
}
.faq__a-text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

/* ══════════════════════════════════════════════════════════
   07. 最終CTA
   ══════════════════════════════════════════════════════════ */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: 108px 40px;
  background: var(--mint);
  text-align: center;
}
.final-cta__blob {
  position: absolute;
  border-radius: 50%;
}
.final-cta__blob--1 {
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, .12);
}
.final-cta__blob--2 {
  bottom: -80px;
  left: -80px;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, .08);
}
.final-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}
.final-cta__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(18, 37, 74, .6);
}
.final-cta__title {
  margin: 0 0 30px;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .02em;
}
.final-cta__lead {
  margin: 0 0 40px;
  color: rgba(18, 37, 74, .7);
  font-size: 15px;
  line-height: 1.8;
}
.final-cta__coupon-frame {
  width: 100%;
  max-width: 500px;
  padding: 12px;
  background: rgba(255, 255, 255, .5);
  border-radius: 12px;
  backdrop-filter: blur(4px);
}
.final-cta__note {
  margin: 0;
  color: rgba(18, 37, 74, .55);
  font-size: 11px;
}

/* ══════════════════════════════════════════════════════════
   08. サービス仕様・動作環境
   ══════════════════════════════════════════════════════════ */
.spec {
  max-width: 800px;
  margin: 0 auto;
}
.spec__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 0 20px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: border-color .2s;
}
.spec__toggle[aria-expanded="true"] { border-bottom-color: var(--mint); }

.spec__heading {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
}
.spec__caret {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--gray);
  transition: transform .25s ease, color .2s;
}
.spec__toggle:hover .spec__caret { color: var(--mint-deep); }
.spec__toggle[aria-expanded="true"] .spec__caret {
  transform: rotate(180deg);
  color: var(--mint);
}

.spec__panel { padding-top: 32px; }

.spec__h3 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
}
.spec__h4 {
  margin: 24px 0 8px;
  padding-left: 10px;
  border-left: 3px solid var(--mint);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}
.spec__note {
  margin: 0;
  font-size: 10px;
  color: var(--gray);
  line-height: 1.7;
}
.spec__note--gap { margin-bottom: 32px; }

/* ══════════════════════════════════════════════════════════
   フッター
   ══════════════════════════════════════════════════════════ */
.lp-footer {
  padding: 24px 20px;
  background: #1a1e2a;
  text-align: center;
}
.lp-footer p {
  margin: 0;
  color: rgba(255, 255, 255, .35);
  font-size: 12px;
  line-height: 2;
}
.lp-footer a {
  color: rgba(255, 255, 255, .4);
  text-decoration: none;
}
.lp-footer a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════
   タブレット  ≤ 900px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .section { padding: 72px 24px; }
  .section--next { padding-top: 72px; }

  .lp-header { height: 64px; padding: 0 24px; }
  .lp-header__logo { height: 28px; }

  .hero__inner {
    width: calc(100% - 48px);
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 16px 0 24px;
  }
  .hero__visual {
    order: -1;
    width: min(100%, 440px);
    justify-self: center;
    padding: 0 20px;
  }

  .next-grid     { grid-template-columns: 1fr; gap: 16px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .compare-wrap  { justify-content: flex-start; }
  .compare-table { width: 100%; min-width: 480px; }

  .final-cta { padding: 72px 24px; }

  .cta-button__label { white-space: normal; }
  .cta-button__br    { display: inline; }

  .coupon__code              { font-size: 22px; }
  .coupon--hero .coupon__code { font-size: 20px; }
}

/* ══════════════════════════════════════════════════════════
   モバイル  ≤ 560px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 560px) {
  .br_sp { display: inline-block; }

  .section { padding: 56px 20px; }
  .section--next { padding-top: 56px; }

  .next-card { padding: 26px 28px; }
  .lp-header { padding: 0 20px; }

  .hero__inner  { width: calc(100% - 40px); padding: 12px 0 20px; }
  .hero__visual { padding: 0 16px; }

  .feature-card { padding: 18px 24px; }
  .features-grid { grid-template-columns: 1fr; }

  .compare-table { min-width: 400px; }
  
  .price-card__badge {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .final-cta { padding: 56px 20px; }

  .coupon__code               { font-size: 18px; }
  .coupon--hero .coupon__code { font-size: 20px; }


}

/* ══════════════════════════════════════════════════════════
   アクセシビリティ
   ══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--mint-deep);
  outline-offset: 3px;
}
