/* ============================================
   WAKE teaser LP — tokuiten.jp のデザイントーン準拠
   green: #8CC63E / dark: #81BF2A / light bg: #F3FAEA
   ============================================ */

:root {
  --green: #8CC63E;
  --green-dark: #81BF2A;
  --forest: #527A18;
  --green-bg: #F3FAEA;
  --magenta: #E61873;
  --magenta-dark: #C61062;
  --lime: #B9D83A;
  --lime-light: #DCEB78;
  --text: #1a1a1a;
  --text-sub: #525252;
  --white: #fff;
  --border: #8CC63E;
  --shadow: 0 8px 24px rgba(82, 122, 24, .08);
  --ng: #E61873;
  --radius-card: 0;
  --font: "Inter", "Noto Sans JP", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--font);
  font-feature-settings: "palt" 1;
  font-kerning: normal;
  color: var(--text);
  line-height: 1.8;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 800px; }

.pc-only { display: inline; }
.sp-only { display: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--forest);
  color: var(--white);
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 32px;
  line-height: 1.5;
  text-align: center;
  transition: background .2s, box-shadow .2s, transform .2s;
}
.btn:hover { background: #426514; box-shadow: 0 10px 24px rgba(82, 122, 24, .22); transform: translateY(-2px); }
.btn:focus-visible,
.lang-toggle__option:focus-visible,
.header__nav a:focus-visible,
.footer__link:focus-visible { outline: 3px solid var(--lime-light); outline-offset: 3px; }
.btn--small { min-width: 112px; padding: 8px 18px; font-size: 14px; white-space: nowrap; }
.btn--large { padding: 18px 56px; font-size: 18px; }
.btn--white { background: var(--white); color: var(--forest); }
.btn--white:hover { background: var(--green-bg); }
.hero__cta .btn { background: var(--magenta); }
.hero__cta .btn:hover { background: var(--magenta-dark); box-shadow: 0 10px 24px rgba(230, 24, 115, .28); }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 4px solid var(--green);
}
.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 13px 28px;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto minmax(250px, 1fr);
  align-items: center;
  gap: 28px;
}
.header__brand { display: flex; align-items: baseline; gap: 18px; min-width: 0; }
.header__logo { width: 138px; height: auto; flex: 0 0 auto; position: relative; top: 2px; }
.header__product {
  font-weight: 800;
  font-size: 18px;
  color: var(--green-dark);
  font-family: "Arial Narrow", "Helvetica Neue Condensed", var(--font);
  letter-spacing: .06em;
  position: relative;
  top: 1px;
}
.header__nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.header__nav a:not(.btn):hover { color: var(--green-dark); }
.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

/* ===== Lang toggle ===== */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: var(--green-bg);
  border: 2px solid var(--green);
  border-radius: 999px;
  flex: 0 0 auto;
}
.lang-toggle__option {
  min-width: 34px;
  padding: 4px 7px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--green-dark);
  font: 700 11px/1.4 var(--font);
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang-toggle__option.is-active {
  background: var(--green-dark);
  color: var(--white);
}
.lang-toggle__option:not(.is-active):hover { background: rgba(140, 198, 62, .18); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: min(900px, 100svh);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 16, 5, .03) 52%, rgba(8, 16, 5, .14) 100%),
    linear-gradient(90deg, rgba(8, 16, 5, .34) 0%, rgba(8, 16, 5, .20) 42%, rgba(8, 16, 5, .02) 76%);
}
.hero__content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 1160px;
  margin: 0 auto;
  padding: 128px 32px 88px;
  width: 100%;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .45);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}
.hero__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", var(--font);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--lime-light);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero__label::before {
  content: "";
  width: 52px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime), var(--lime-light));
}
.hero__title {
  max-width: 960px;
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -.02em;
  margin-bottom: 26px;
}
/* Keep Japanese phrases together; narrow screens wrap between phrases. */
.hero__title-line { display: block; }
.hero__title-phrase { display: inline-block; }
.hero__name { font-size: clamp(18px, 2.4vw, 26px); font-weight: 500; margin-bottom: 12px; }
.hero__name strong { font-size: 1.35em; font-weight: 800; letter-spacing: .06em; color: var(--lime-light); }
.hero__name strong rt { font-size: .5em; font-weight: 500; letter-spacing: 0; opacity: .85; }
.hero__desc { max-width: 56ch; font-size: clamp(15px, 1.5vw, 17px); opacity: .95; margin-bottom: 36px; }
.hero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero__release {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  border-left: 3px solid var(--lime-light);
  padding-left: 12px;
  line-height: 1.35;
}

/* ===== Sections common ===== */
.section { padding: 112px 0; }
.section__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", var(--font);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--forest);
  font-weight: 700;
  margin-bottom: 12px;
}
.section__label::before {
  content: "";
  width: 58px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime), var(--lime-light));
}
.section__label::after {
  content: "\25B6  \25B6  \25B6";
  color: var(--green);
  font-size: 8px;
  letter-spacing: 1px;
}
.section__label--light { color: var(--white); opacity: 1; }
.section__label--light::after { color: var(--white); }
.section__title {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: -.015em;
  margin-bottom: 20px;
}
.section__title--light { color: var(--white); }
.section__lead { color: var(--text-sub); font-size: 16px; margin-bottom: 44px; }

/* ===== Problem ===== */
.problem { background: var(--green-bg); }
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.problem__item {
  background: var(--white);
  border: 3px solid var(--green);
  border-radius: var(--radius-card);
  box-shadow: none;
  padding: 32px;
}
.problem__num {
  font-size: 22px;
  font-weight: 800;
  color: var(--magenta);
  letter-spacing: .1em;
  line-height: 1;
  margin-bottom: 16px;
}
.problem__item h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.problem__item p:not(.problem__num) { font-size: 15px; color: var(--text-sub); }

/* ===== Value ===== */
.value__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.value__card {
  height: 100%;
  border: 3px solid var(--green);
  border-radius: var(--radius-card);
  box-shadow: none;
  padding: 32px;
  transition: box-shadow .25s, border-color .25s, transform .25s;
}
.value__card:hover { border-color: var(--green); box-shadow: 6px 6px 0 rgba(140, 198, 62, .22); transform: translate(-2px, -2px); }
.value__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-bg);
  color: var(--forest);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.value__card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.value__card p { font-size: 15px; color: var(--text-sub); }

.value__estimate {
  display: grid;
  grid-template-columns: minmax(200px, 264px) 1fr;
  gap: 44px;
  align-items: center;
  margin-top: 24px;
  padding: 44px 48px;
  background: var(--green-bg);
  border-radius: var(--radius-card);
}
.value__estimate-figure { text-align: center; }
.value__estimate-cap {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}
.value__estimate-num {
  font-size: clamp(48px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.value__estimate-num span { font-size: .34em; font-weight: 700; margin-left: 4px; }
.value__estimate-unit { margin-top: 8px; font-size: 13px; color: var(--text-sub); }
.value__estimate-text h3 { font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.value__estimate-text p { font-size: 15px; color: var(--text-sub); }
.value__estimate-text p + p { margin-top: 14px; }
.value__estimate-note { font-size: 12px; line-height: 1.8; }

/* ===== Numbers ===== */
.numbers { background: var(--white); }
.numbers .section__label--light { color: var(--green); }
.numbers .section__label--light::after { color: var(--green); }
.numbers .section__title--light { color: var(--text); }
.numbers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.numbers__item {
  text-align: center;
  color: var(--text);
  background: var(--white);
  border: 4px solid var(--green);
  border-radius: var(--radius-card);
  padding: 8px 8px 24px;
}
.numbers__value {
  margin-bottom: 16px;
  padding: 18px 8px;
  background: var(--magenta);
  color: var(--white);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
}
.numbers__value span { font-size: .38em; font-weight: 700; margin-left: 4px; }
.numbers__caption { min-height: 3.6em; color: var(--text-sub); font-size: 13px; opacity: 1; margin-top: 0; padding-inline: 8px; }

/* ===== Detection ===== */
.detection__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.detection__item {
  border-radius: 0;
  overflow: hidden;
  border: 4px solid var(--green);
  box-shadow: none;
  background: var(--white);
}
.detection__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.detection__item figcaption {
  background: var(--green);
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  padding: 10px 12px;
}
.detection__note { font-size: 12px; color: var(--text-sub); margin-top: 20px; }

/* ===== Demo ===== */
.demo { background: var(--green-bg); }
.demo__video-wrap {
  border: 4px solid var(--green);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 10px 10px 0 rgba(140, 198, 62, .18);
}
.demo__video { width: 100%; }

/* ===== How It Works ===== */
.howto__video-wrap {
  border: 4px solid var(--green);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 10px 10px 0 rgba(140, 198, 62, .18);
}
.howto__video-wrap iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: none;
}
.howto__note { text-align: center; color: var(--text-sub); font-size: 12px; margin-top: 20px; }

/* ===== Specs ===== */
.specs__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.specs__table th,
.specs__table td {
  text-align: left;
  padding: 18px 16px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 15px;
  vertical-align: top;
}
.specs__table th {
  width: 160px;
  color: var(--green-dark);
  font-weight: 700;
  white-space: nowrap;
}
.specs__sub { font-size: 12px; color: var(--text-sub); }

/* ===== Price ===== */
.price { background: var(--green-bg); }
.price__card {
  background: var(--white);
  border: 4px solid var(--green);
  border-radius: var(--radius-card);
  box-shadow: none;
  padding: 48px 40px;
  text-align: center;
}
.price__label { font-size: 15px; font-weight: 700; color: var(--forest); margin-bottom: 8px; }
.price__value {
  color: var(--magenta);
  font-size: clamp(56px, 8vw, 80px);
  font-weight: 800;
  line-height: 1.2;
}
.price__unit { font-size: .4em; font-weight: 700; margin-left: 4px; }
.price__tax { font-size: .25em; font-weight: 500; color: var(--text-sub); }
/* English uses the full yen amount; separate currency/tax so it fits mobile cards. */
html[lang="en"] .price__value { font-size: clamp(28px, 8vw, 64px); }
.price__currency { display: block; font-size: .4em; }
html[lang="en"] .price__tax { display: block; margin-top: .5em; font-size: .32em; }
.price__subsidy {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
}
.price__notes {
  list-style: none;
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 24px;
  text-align: left;
  display: inline-block;
}

/* ===== Reserve ===== */
.reserve {
  background: var(--green);
  text-align: center;
}
/* ===== Mid-page CTA ===== */
.midcta {
  margin-top: 48px;
  padding: 36px 32px;
  background: var(--green-bg);
  border-radius: var(--radius-card);
  text-align: center;
}
.midcta__text { font-size: 17px; font-weight: 700; margin-bottom: 20px; }
.midcta .btn--large { width: auto; }

/* ===== FAQ ===== */
/* A white section separates FAQ from pricing; softer borders keep questions calm. */
.faq {
  --border: color-mix(in srgb, var(--forest) 22%, var(--white));
  background: var(--white);
}
.faq__list { margin-top: 44px; }
.faq__item {
  background: var(--green-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 24px;
}
.faq__item + .faq__item { margin-top: 16px; }
.faq__item summary {
  position: relative;
  padding-right: 36px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  color: var(--forest);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
.faq__item[open] { background: var(--white); border-color: var(--forest); }
.faq__item[open] summary::after { content: "−"; }
.faq__item summary:hover { color: var(--forest); }
.faq__item summary:focus-visible { outline: 2px solid var(--forest); outline-offset: 6px; }
.faq__item p {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-sub);
}

.reserve__lead { color: var(--white); margin-bottom: 36px; }
.reserve__lead--sub { font-size: 15px; opacity: .92; margin-top: -20px; }
.reserve__form { max-width: 560px; margin: 0 auto; }
.reserve__note { color: var(--white); font-size: 13px; opacity: .9; margin-top: 16px; }

/* ===== Footer ===== */
.footer { background: #1a1a1a; color: #ccc; padding: 56px 0 32px; }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__logo { width: 96px; height: auto; margin-bottom: 12px; }
.footer__company p { font-size: 13px; }
.footer__link { font-size: 14px; font-weight: 700; color: var(--green); }
.footer__link:hover { text-decoration: underline; }
.footer__copy { text-align: center; font-size: 12px; color: #888; margin-top: 40px; }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .header__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 20px; }
  .header__nav { display: none; }
  .header__actions { min-width: 0; }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }

  .container { padding: 0 20px; }
  .header__inner { padding: 10px 14px; gap: 10px; }
  .header__brand { gap: 10px; }
  .header__product { font-size: 15px; }
  .header__actions { gap: 7px; }
  .header__logo { width: 104px; }
  .header__actions .btn--small { min-width: 96px; padding: 7px 11px; font-size: 12px; }
  .lang-toggle__option { min-width: 30px; padding: 3px 5px; font-size: 10px; }

  .section { padding: 72px 0; }

  .hero { min-height: 100svh; }
  .hero__video { object-position: 58% center; }
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(8, 16, 5, .10) 0%, rgba(8, 16, 5, .26) 56%, rgba(8, 16, 5, .34) 100%),
      linear-gradient(90deg, rgba(8, 16, 5, .24) 0%, rgba(8, 16, 5, .04) 100%);
  }
  .hero__content { padding: 112px 20px 64px; }
  .hero__badge { margin-bottom: 16px; padding: 7px 15px; font-size: 13px; }
  .hero__title { font-size: clamp(27px, 8vw, 38px); line-height: 1.34; }
  .hero__desc { font-size: 15px; }
  .hero__cta { width: 100%; flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn--large { width: 100%; max-width: 360px; padding: 16px 24px; font-size: 16px; }

  .problem__grid,
  .value__grid,
  .numbers__grid { grid-template-columns: 1fr; gap: 16px; }
  .problem__grid,
  .value__grid,
  .numbers__grid { margin-top: 36px; }
  .problem__item,
  .value__card { padding: 28px 24px; }

  .value__estimate {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 16px;
    padding: 32px 24px;
  }
  .value__estimate-text h3 { font-size: 19px; }

  .midcta { margin-top: 32px; padding: 28px 20px; }
  .midcta__text { font-size: 16px; }
  .midcta .btn--large { width: 100%; }

  .faq__list { margin-top: 36px; }
  .faq__item { padding: 18px 20px; }
  .faq__item summary { font-size: 16px; }

  .detection__gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .specs__table,
  .specs__table tbody,
  .specs__table tr,
  .specs__table th,
  .specs__table td { display: block; width: 100%; }
  .specs__table tr { border-bottom: 1px solid var(--border); padding: 16px 0; }
  .specs__table th,
  .specs__table td { border: 0; padding: 0; white-space: normal; }
  .specs__table th { margin-bottom: 6px; font-size: 13px; }
  .specs__table td { font-size: 14px; }

  .price__card { padding: 36px 20px; }

  .footer__inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .header__inner { padding-inline: 12px; }
  .header__brand { gap: 7px; }
  .header__logo { width: 84px; }
  .header__product { font-size: 13px; letter-spacing: .03em; }
  .header__actions .btn--small { min-width: 96px; padding-inline: 9px; font-size: 11px; }
  .lang-toggle__option { min-width: 27px; padding-inline: 4px; }
  .section__label::before { width: 36px; }
  .section__label::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { background: #182612 url("images/hero-poster.jpg") center / cover no-repeat; }
  .hero__video { display: none; }
  .btn,
  .lang-toggle__option,
  .value__card,
  .reveal { transition: none; }
  .reveal { opacity: 1; transform: none; }
}
