/*
 * デモ入口（Figma「01 デモ入口」PC 1440／960／SP 460）。
 * 幅・ブレイクポイント・ボタン・お問い合わせエリア・フッターは製品サイト（fixu-service-site src/styles/global.css、
 * src/components/CtaSection.astro・Footer.astro）と同じ値にしている。
 *   1200px 以上 → コンテンツ最大 1072px（左右 32px）／721〜1199px → 左右 40px／720px 以下 → 左右 16px
 */
:root {
  --c-strong: #303030;
  --c-sub: #595959;
  --c-muted: #767676;
  --c-primary: #004976;
  --c-navy: #162542;
  --c-dark: #0e2233;
  --c-soft: #e9edf1;
  --c-border: #d6e4ee;
  --c-accent: #ff8400;
  --c-line: #06c755;
  --radius: 8px;
  --max: 1072px;
  --gutter: 32px;
}
@media (max-width: 1199px) { :root { --gutter: 40px; } }
@media (max-width: 720px) { :root { --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', system-ui, -apple-system, 'Hiragino Sans', sans-serif;
  color: var(--c-strong);
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
}
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; height: auto; }
.sp { display: none; }
@media (max-width: 720px) { .sp { display: inline; } }

.container {
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---- ヒーロー ---- */
.hero { background: var(--c-navy); color: #fff; text-align: center; padding: 38px 0 72px; }
.hero__logo { display: inline-block; line-height: 0; }
.hero__logo img { width: auto; height: 34px; filter: brightness(0) invert(1); }
.hero__title { margin-top: 23px; font-size: 36px; font-weight: 700; line-height: 1.5; }
.hero__lead { margin-top: 6px; font-size: 16px; line-height: 1.6; }
@media (max-width: 720px) {
  .hero { padding: 28px 0 28px; }
  .hero__logo img { height: 24px; }
  .hero__title { margin-top: 20px; font-size: 22px; }
  .hero__lead { margin-top: 7px; font-size: 12px; }
}

/* ---- ボタン（製品サイトの .btn と同じ。ホバーで白地が左から伸びる） ---- */
.btn {
  --btn-bg: var(--c-primary);
  --btn-fg: #fff;
  --btn-bd: var(--btn-bg);
  --btn-hover-bg: #fff;
  --btn-hover-fg: var(--btn-bg);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: color .3s ease, border-color .3s ease;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-hover-bg);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s ease;
}
.btn:hover { color: var(--btn-hover-fg); }
.btn:hover::before { transform: scaleX(1); }
.btn--primary { --btn-bg: var(--c-primary); }
.btn--line { --btn-bg: var(--c-line); }
.btn--cv { --btn-bg: var(--c-accent); --btn-fg: var(--c-navy); --btn-hover-fg: var(--c-navy); }
.i-arrow { position: relative; flex: none; width: 16px; height: 12px; transition: transform .3s ease; }
.i-arrow::before { content: ''; position: absolute; left: 0; right: 1px; top: 5px; height: 2px; background: currentColor; }
.i-arrow::after { content: ''; position: absolute; right: 1px; top: 2px; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
a:hover > .i-arrow { transform: translateX(4px); }

/* ---- 体験する画面を選ぶ ---- */
.choose { padding: 50px 0 64px; }
.choose__title { text-align: center; font-size: 20px; font-weight: 700; line-height: 1.5; }
.choose__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
}
.card__title { color: var(--c-primary); font-size: 18px; font-weight: 700; line-height: 1.5; }
.card__text { color: var(--c-sub); font-size: 14px; line-height: 1.6; }
.card__actions { margin-top: auto; padding-top: 11px; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.card__actions .btn { width: 100%; }
.card__skip { padding: 2px 0; color: var(--c-sub); font-size: 11px; font-weight: 700; line-height: 1.5; text-decoration: underline; }
.card__skip:hover { color: var(--c-strong); }
.choose__note { margin-top: 24px; text-align: center; color: var(--c-muted); font-size: 12px; line-height: 1.6; }
@media (max-width: 720px) {
  .choose { padding: 32px 0; }
  .choose__cards { grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
  .card { padding: 20px; }
  .card__actions { padding-top: 0; }
  .choose__note { margin-top: 16px; }
}

/* ---- お問い合わせ（製品サイトの CtaSection と同じ） ---- */
.cv { background: var(--c-soft); padding: 72px 0 96px; }
.cv__heading { text-align: center; font-size: 32px; font-weight: 700; line-height: 1.7; margin-bottom: 26px; }
.cv__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.cv__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding: 40px 32px;
  border-radius: var(--radius);
  background: #fff;
}
.cv__card--wide { grid-column: 1 / -1; }
.cv__title { font-size: 20px; font-weight: 700; line-height: 1.6; }
@media (max-width: 720px) {
  .cv { padding: 40px 0 64px; }
  .cv__heading { font-size: 22px; }
  .cv__grid { grid-template-columns: 1fr; gap: 16px; }
  .cv__card { padding: 32px 20px; }
}

/* ---- フッター（製品サイトの Footer.astro と同じ） ---- */
.footer { background: var(--c-dark); color: #fff; padding: 72px 0 40px; line-height: 2; }
.footer__in { display: flex; flex-direction: column; gap: 48px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 72px; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; font-size: 15px; }
.footer__logo { width: auto; height: 36px; align-self: flex-start; filter: brightness(0) invert(1); }
.footer__navs { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.footer__head { margin-bottom: 16px; font-size: 12px; font-weight: 700; line-height: 1.7; opacity: .6; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.5; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 12px;
}
.footer .footer__legal { flex-direction: row; flex-wrap: wrap; gap: 8px 24px; font-size: 12px; opacity: .6; }
.footer__legal a { display: inline-flex; align-items: center; gap: 4px; }
.footer__legal .i-ext { width: 11px; height: 11px; }
.footer__copy { opacity: .6; }
@media (max-width: 720px) {
  .footer { padding: 56px 0 32px; }
  .footer__navs { gap: 32px 48px; }
}
