/* ==============================================
   AI-DX BUILD — Brand Overrides
   main.css / responsive.css の後に読み込む上書き専用ファイル
   ============================================== */

:root {
  /* Palette — 明度は元テーマ（ライム）と同等に保ち、暗色テキストが乗る前提を壊さない */
  --accent: #7BD8FF;                       /* CTA・帯・アクセント面 */
  --accent-strong: #0B6FA8;                /* 白地に置くテキスト用の濃色 */
  --accent-glow: rgba(123, 216, 255, 0.5);
}

/* accent-strong を面に使う箇所だけは、文字が白になるよう担保 */
.btn--accent,
.btn--solid:hover {
  color: #082b3d;
}

/* ------------------------------------------------
   テキストロゴ（画像ロゴの代替）
------------------------------------------------ */
.header__logo--text {
  display: inline-flex;
  align-items: center;
  gap: 0.12em;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #12222b;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.header__logo--text .header__logo-accent {
  display: inline-block;
  padding: 4px 7px 3px;
  margin-left: 4px;
  border-radius: 5px;
  background: #12222b;
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 0.08em;
}
@media (max-width: 768px) {
  .header__logo--text { font-size: 17px; }
  .header__logo--text .header__logo-accent { font-size: 13px; padding: 3px 6px 2px; }
}

.footer__brand--text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--on-dark, #fff);
  line-height: 1;
}
.footer__brand--text span {
  display: inline-block;
  margin-left: 5px;
  padding: 4px 7px 3px;
  border-radius: 5px;
  background: var(--accent);
  color: #12222b;
  font-size: 16px;
}

.compare-strip__logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 15px;
  white-space: nowrap;
}
.compare-strip__logo-text span {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 5px 1px;
  border-radius: 4px;
  background: var(--accent);
  color: #12222b;
}

.pricing-reveal__brand-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* ------------------------------------------------
   TEAM：写真のない側のプレースホルダ
------------------------------------------------ */
.profile__avatar--mark {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #12222b 0%, #1d3a49 100%);
}
.profile__avatar--mark span {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.7vw, 20px);
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-indent: 0.28em;
}

/* ------------------------------------------------
   比較表の注記
------------------------------------------------ */
.compare-strip__note {
  max-width: 900px;
  margin: 28px auto 0;
  padding: 0 var(--pad-x);
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-muted);
  text-align: left;
}

/* ------------------------------------------------
   USE CASES（業種別ユースケース）
------------------------------------------------ */
.usecases {
  padding: 80px var(--pad-x);
  max-width: var(--max-content);
  margin: 0 auto;
}
.usecases__head {
  text-align: center;
  margin-bottom: 50px;
}
.usecases__eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--accent-strong);
  text-transform: uppercase;
  margin: 0 0 14px;
  font-weight: 800;
}
.usecases__title {
  font-family: var(--font-display);
  font-size: clamp(33.6px, 4.08vw, 52.8px);
  font-weight: 400;
  margin: 0 0 12px;
  line-height: 1.25;
}
.usecases__sub {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.9;
  margin: 0;
}
.usecases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.usecase {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 30px;
  background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.usecase:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 14px 40px rgba(18, 34, 43, 0.09);
}
.usecase__field {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-section);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.usecase__app {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.35;
}
.usecase__desc {
  font-size: 15px;
  line-height: 2;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.usecase__price {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.usecases__cta-wrap {
  text-align: center;
  margin: 44px 0 0;
}
@media (max-width: 768px) {
  .usecases { padding: 56px var(--pad-x); }
  .usecases__grid { grid-template-columns: 1fr; }
  .usecase { padding: 26px 22px; }
  .usecases__sub { font-size: 16px; }
}

/* ------------------------------------------------
   CLOSING CTA（カウントダウンの置き換え）
------------------------------------------------ */
.closing-cta {
  padding: 96px var(--pad-x);
  text-align: center;
  background: var(--bg-alt);
  color: var(--on-dark);
}
.closing-cta__eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 800;
}
.closing-cta__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.08vw, 52px);
  font-weight: 700;
  margin: 0 0 26px;
  line-height: 1.28;
  color: var(--on-dark);
}
.closing-cta__lead {
  font-size: 17px;
  line-height: 2.1;
  color: var(--on-dark-muted);
  margin: 0 auto 40px;
  max-width: 720px;
}
.closing-cta__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .closing-cta { padding: 64px var(--pad-x); }
  .closing-cta__lead { font-size: 15px; }
  .closing-cta__btns .btn { width: 100%; justify-content: center; }
}

/* ------------------------------------------------
   下層ページ共通（ページヘッダー＋本文）
------------------------------------------------ */
.page-head {
  padding: calc(var(--header-h) + 72px) var(--pad-x) 64px;
  background: var(--bg-section);
  text-align: center;
}
.page-head__eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--accent-strong);
  text-transform: uppercase;
  margin: 0 0 14px;
  font-weight: 800;
}
.page-head__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 700;
  margin: 0 0 18px;
  line-height: 1.25;
}
.page-head__lead {
  font-size: 17px;
  line-height: 2.05;
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 760px;
}

.page-body {
  max-width: 1000px;
  margin: 0 auto;
  padding: 72px var(--pad-x) 96px;
}
.page-body h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  margin: 64px 0 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent);
  line-height: 1.35;
}
.page-body h2:first-child { margin-top: 0; }
.page-body h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  margin: 36px 0 12px;
  line-height: 1.5;
}
.page-body p {
  font-size: 16px;
  line-height: 2.05;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.page-body ul,
.page-body ol {
  margin: 0 0 22px;
  padding-left: 1.4em;
}
.page-body li {
  font-size: 16px;
  line-height: 2.05;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.page-body strong { color: var(--text); }
.page-body .note {
  font-size: 14px;
  line-height: 1.95;
  color: var(--text-faint);
}

/* 表 */
.tbl-wrap { overflow-x: auto; margin: 0 0 28px; }
.tbl {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
}
.tbl th,
.tbl td {
  border: 1px solid var(--border);
  padding: 14px 16px;
  text-align: left;
  line-height: 1.75;
  vertical-align: top;
}
.tbl th {
  background: var(--bg-section);
  font-weight: 700;
  white-space: nowrap;
}
.tbl td.num {
  text-align: right;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
}
.tbl tr.is-highlight td { background: rgba(123, 216, 255, 0.13); }

/* アプリカード一覧 */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 16px;
}
.app-grid--2 { grid-template-columns: repeat(2, 1fr); }
.app-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.app-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 34px rgba(18, 34, 43, 0.08);
}
.app-card--hero {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.app-card__name {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.45;
}
.app-card__desc {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--text-muted);
  margin: 0 0 20px;
  flex: 1;
}
.app-card__price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
@media (max-width: 900px) {
  .app-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .app-grid,
  .app-grid--2 { grid-template-columns: 1fr; }
}

/* 価格プラン */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 28px;
}
.plan {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 26px;
  text-align: center;
  background: #fff;
}
.plan--best {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  position: relative;
}
.plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #12222b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan__name { font-size: 17px; font-weight: 700; margin: 0 0 14px; }
.plan__price {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  margin: 0 0 6px;
  line-height: 1.1;
}
.plan__unit { font-size: 14px; color: var(--text-muted); margin: 0 0 16px; }
.plan__each {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-strong);
  margin: 0;
}
@media (max-width: 780px) {
  .plan-grid { grid-template-columns: 1fr; }
}

/* お問い合わせ導線 */
.contact-box {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  background: var(--bg-section);
  text-align: center;
  margin: 40px 0 0;
}
.contact-box__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  margin: 0 0 14px;
}
.contact-box__desc {
  font-size: 16px;
  line-height: 2;
  color: var(--text-muted);
  margin: 0 0 26px;
}
.contact-box__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: inline-block;
  text-align: left;
}
.contact-box__list li {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 10px;
  padding-left: 26px;
  position: relative;
}
.contact-box__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-strong);
  font-weight: 800;
}
@media (max-width: 768px) {
  .contact-box { padding: 28px 20px; }
}

/* ------------------------------------------------
   HERO：静止画ビジュアル用の可読性オーバーレイ
------------------------------------------------ */
.section--hero-mv .section__media--mv::after {
  background:
    linear-gradient(90deg, rgba(4, 14, 20, 0.58) 0%, rgba(4, 14, 20, 0.32) 40%, rgba(4, 14, 20, 0.00) 66%),
    linear-gradient(180deg, rgba(4, 14, 20, 0.30) 0%, rgba(4, 14, 20, 0.00) 40%, rgba(4, 14, 20, 0.42) 100%);
}
img.hero-mv { object-position: center center; }
/* SP：MVにマスクをかけない（映像をそのまま見せる） */
@media (max-width: 768px) {
  .section--hero-mv .section__media--mv::after { background: none; }
}

/* ------------------------------------------------
   数値表示：日本語混じり・金額表記に合わせた縮小
------------------------------------------------ */
.why-now__stat-value {
  font-size: clamp(30px, 3.4vw, 46px) !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
  white-space: nowrap;
}
.huge-num__value {
  font-size: clamp(56px, 11vw, 150px);
  letter-spacing: -0.01em;
  line-height: 1;
}
.huge-num__sub {
  font-size: 15px;
  line-height: 1.9;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.huge-num__caption { font-size: clamp(16px, 1.6vw, 21px); letter-spacing: 0.1em; }
@media (max-width: 768px) {
  .why-now__stat-value { font-size: clamp(26px, 7vw, 34px) !important; }
}
