/*
 * テンプレート① レイアウト。色・フォント・寸法は theme-04.css のトークンのみ参照する。
 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--demo-h)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-ja);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-white);
  background: var(--c-black);
  letter-spacing: 0.03em;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

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

/* ---------- Section heading（#01 / NEWS / お知らせ） ---------- */
.sec-head__num { color: var(--c-accent); font-family: var(--ff-en); font-size: var(--fs-sec-num); font-weight: 800; font-style: italic; line-height: 1.2; letter-spacing: 0.03em; }
.sec-head__en { font-family: var(--ff-en); font-size: var(--fs-sec-en); font-weight: 800; line-height: 1.2; }
.sec-head__ja { font-size: var(--fs-sec-ja); font-weight: 600; line-height: 1.2; margin-top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 18px 28px 18px 32px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 16px; line-height: 1.4;
  background: var(--c-accent); color: var(--c-on-accent);
  transition: opacity .2s;
}
.btn:hover { opacity: .85; }
.btn__arrow {
  display: inline-grid; place-items: center; width: 32px; height: 20px; border-radius: var(--radius-pill);
  background: var(--c-on-accent); color: var(--c-accent); font-size: 12px;
}
.btn--pill { padding: 14px 20px 14px 28px; font-size: 15px; font-weight: 500; }

/* ---------- DEMO帯（本番では削除） ---------- */
.demo-strip {
  position: fixed; inset: 0 0 auto 0; z-index: 70; height: var(--demo-h);
  display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 16px;
  background: var(--c-black); border-bottom: 1px solid var(--c-accent); font-size: 12px; line-height: 1.4; white-space: nowrap;
}
.demo-strip__badge { padding: 1px 10px; border-radius: var(--radius-pill); background: var(--c-accent); color: var(--c-on-accent); font-weight: 700; }
.demo-strip__text--short { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: var(--demo-h) 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; gap: 40px; padding: 0 40px;
  background: rgba(0,0,0,.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.site-header__logo img { height: 34px; width: auto; }
.site-header__nav { margin-left: auto; }
.site-header__nav ul { display: flex; gap: 32px; }
.site-header__nav a { font-family: var(--ff-en); font-weight: 700; font-size: 15px; letter-spacing: 0.04em; }
.site-header__nav a:hover { color: var(--c-accent); }
.site-header__cta {
  padding: 10px 22px; border-radius: var(--radius-pill); background: var(--c-accent); color: var(--c-on-accent);
  border: 1px solid var(--c-accent); font-weight: 700; font-size: 14px; line-height: 1.4; white-space: nowrap;
}

/* ---------- FV ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  /* 視認性：全体オーバーレイ＋文字が乗る下部をさらに暗く */
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.4) 100%);
}
.hero__inner { position: relative; width: 100%; padding: 0 80px 110px; }
.hero__title { font-weight: 900; font-size: clamp(34px, 5.6vw, 84px); line-height: 1.25; letter-spacing: 0.02em; text-shadow: 0 2px 16px rgba(0,0,0,.45); }
.hero__title span { display: block; }
.hero__title span:last-child { color: var(--c-accent); }
.hero__lead { margin-top: 24px; font-weight: 600; font-size: 20px; line-height: 1.7; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hero__lead span { display: block; }
.hero .btn { margin-top: 40px; }

/* ---------- #01 SCENE（NEWS流用：暗い写真背景＋左見出し・右リスト） ---------- */
.scene { position: relative; padding: var(--sec-pad) 0; overflow: hidden; }
.scene__bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; }
.scene__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.78); }
.scene__grid { position: relative; display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.scene .sec-head { position: sticky; top: calc(var(--header-h) + var(--demo-h) + 20px); }
.scene-item { display: grid; grid-template-columns: 44% 1fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--c-line); }
.scene-item:first-child { padding-top: 0; }
.scene-item__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.scene-item__note { margin-top: 6px; font-size: 12px; line-height: 1.5; opacity: .75; }
.scene-item__tag {
  display: inline-block; padding: 2px 14px; border: 1px solid var(--c-accent); border-radius: var(--radius-pill);
  color: var(--c-accent); font-size: 13px; font-weight: 600; line-height: 1.8;
}
.scene-item__title { margin-top: 14px; font-size: 24px; font-weight: 700; line-height: 1.5; }
.scene-item__text { margin-top: 14px; }
.scene-item__points { margin-top: 16px; }
.scene-item__points li { position: relative; padding-left: 1.2em; font-size: var(--fs-small); line-height: 1.9; }
.scene-item__points li::before { content: "・"; position: absolute; left: 0; color: var(--c-accent); }
.scene__more { margin-top: 40px; text-align: right; }

/* ---------- #02 REASON（CONCEPT流用：ネイビー＋斜めストライプ＋写真帯） ---------- */
.reason {
  position: relative; padding-top: var(--sec-pad); overflow: hidden;
  background:
    linear-gradient(118deg, transparent 0 46%, var(--c-navy-stripe) 46% 66%, transparent 66% 100%),
    var(--c-navy);
}
.reason__grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; }
.reason__title { font-size: 34px; font-weight: 700; line-height: 1.7; letter-spacing: 0.04em; }
.reason__text { margin-top: 32px; max-width: 46em; }
.reason__list { margin-top: 56px; display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.reason-item { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--c-line); }
.reason-item__no { color: var(--c-accent); font-family: var(--ff-en); font-size: 44px; font-weight: 800; font-style: italic; line-height: 1; }
.reason-item__title { font-size: 20px; font-weight: 700; line-height: 1.5; }
.reason-item__text { margin-top: 8px; }
.reason__strip { margin-top: var(--sec-pad); display: grid; grid-template-columns: repeat(4, 1fr); }
.reason__strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- #03 PRODUCTS（PLAN流用：カードレイアウト） ---------- */
.products { padding: var(--sec-pad) 0; background: var(--c-navy); }
.products__head { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.products__lead { padding-top: 12px; }
.products__cards { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan-card { display: flex; flex-direction: column; background: var(--c-white); color: var(--c-black); border-radius: var(--radius-card); overflow: hidden; }
.plan-card__head { background: var(--c-accent); color: var(--c-on-accent); text-align: center; padding: 16px 12px 18px; }
.plan-card__catch { font-size: 13px; font-weight: 700; line-height: 1.6; }
.plan-card__maker { font-family: var(--ff-en); font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: 0.04em; }
.plan-card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.plan-card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.plan-card__price {
  display: flex; align-items: baseline; justify-content: center; gap: 12px;
  padding-bottom: 18px; border-bottom: 1px solid #dde3ea;
  font-size: 22px; font-weight: 700; line-height: 1.4;
}
.plan-card__price-label { font-size: 13px; font-weight: 600; color: var(--c-gray); }
.plan-card__feature { margin-top: 18px; font-size: var(--fs-small); line-height: 1.85; color: var(--c-text-sub); min-height: calc(1.85em * 3); }
.plan-card__lineup { margin-top: 18px; padding-top: 16px; border-top: 1px solid #dde3ea; }
.plan-card__lineup-label { font-size: 13px; font-weight: 700; color: var(--c-navy); line-height: 1.6; }
.plan-card__products { margin-top: 6px; display: grid; gap: 4px; }
.plan-card__products li { position: relative; padding-left: 1em; font-family: var(--ff-en); font-size: 16px; font-weight: 700; line-height: 1.6; }
.plan-card__products li::before { content: "・"; position: absolute; left: 0; }
.products__closing { margin-top: 80px; text-align: center; }
.products__closing-title { font-size: 24px; font-weight: 700; line-height: 1.6; }
.products__closing-text { margin-top: 12px; }
.products__closing .btn { margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 120px; background: var(--c-black); font-size: 13px; line-height: 1.9; }
.site-footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 16px 48px; align-items: center; }
.site-footer__logo img { height: 30px; width: auto; }
.site-footer__copy { grid-column: 1 / -1; font-family: var(--ff-en); opacity: .6; font-size: 12px; }

/* ---------- Floating CTA ---------- */
.floating-cta {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 26px; border-radius: var(--radius-pill); background: var(--c-accent); color: var(--c-on-accent);
  box-shadow: 0 6px 20px rgba(0,0,0,.3); line-height: 1.4;
}
.floating-cta__sub { font-size: 11px; }
.floating-cta__main { font-size: 15px; font-weight: 700; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .site-header { padding: 0 24px; gap: 24px; }
  .site-header__nav ul { gap: 20px; }
  .scene__grid, .reason__grid, .products__head { grid-template-columns: 1fr; gap: 40px; }
  .scene .sec-head { position: static; }
  .products__cards { grid-template-columns: 1fr 1fr; }
  .hero__inner { padding: 0 40px 96px; }
}

/* ---------- SP ---------- */
@media (max-width: 767px) {
  .demo-strip__text { display: none; }
  .demo-strip__text--short { display: inline; }
  .site-header { padding: 0 16px; }
  .site-header__nav { display: none; }
  .site-header__logo img { height: 26px; }
  .site-header__nav a:hover { color: var(--c-accent); }
.site-header__cta { margin-left: auto; padding: 8px 14px; font-size: 12px; }

  .hero__inner { padding: 0 16px 88px; }
  .hero__title { font-size: 30px; letter-spacing: 0; }
  .hero__lead { font-size: 15px; margin-top: 18px; }
  .hero__lead span { display: inline; }
  .plan-card__feature { min-height: 0; }
  .hero .btn { margin-top: 28px; }
  .btn { font-size: 15px; padding: 16px 20px 16px 24px; gap: 12px; }

  .scene__bg { background-attachment: scroll; }
  .scene__grid, .reason__grid, .products__head { gap: 32px; }
  .scene-item { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .scene-item__title { font-size: 20px; }
  .scene__more { text-align: center; }

  .reason {
    background:
      linear-gradient(150deg, transparent 0 30%, var(--c-navy-stripe) 30% 52%, transparent 52% 100%),
      var(--c-navy);
  }
  .reason__title { font-size: 23px; }
  .reason__text { margin-top: 24px; }
  .reason__list { margin-top: 40px; }
  .reason-item { grid-template-columns: 52px 1fr; gap: 12px; padding: 22px 0; }
  .reason-item__no { font-size: 30px; }
  .reason-item__title { font-size: 17px; }
  .reason__strip { grid-template-columns: 1fr 1fr; }

  .products__cards { grid-template-columns: 1fr; margin-top: 40px; gap: 20px; }
  .plan-card__maker { font-size: 24px; }
  .products__closing { margin-top: 56px; text-align: left; }
  .products__closing-title { font-size: 19px; }

  .site-footer { padding-bottom: 110px; }
  .site-footer__inner { grid-template-columns: 1fr; }

  .floating-cta { left: 16px; right: 16px; bottom: 12px; padding: 8px 16px; }
}
