/* =========================================
   Yakuorder LP — styles.css (faithful rewrite)
   ========================================= */

/* LINE Seed JP — Bd subset (HTML/JSON 内の文字＋ひらがな/カタカナ/ASCIIのみ) */
@font-face {
  font-family: "LINE Seed JP";
  src: url("fonts/LINESeedJP_OTF_Bd-subset.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* === Brand colors (extracted from LP.svg) === */
  --c-teal:        #10abbc;
  --c-teal-deep:   #08565e;
  --c-teal-bright: #2bbbcb;
  --c-teal-mid:    #67c9d3;
  --c-teal-light:  #9bdde2;
  --c-teal-mint:   #b5e4e8;
  --c-teal-pale:   #c9e6ea;
  --c-teal-paler:  #e2f1f3;
  --c-hero-bg:     #C8E7EA;

  --c-orange:      #ff6b00;
  --c-orange-soft: #ff9243;
  --c-orange-pale: #ffeae8;
  --c-cream:       #fff1d9;
  --c-cream-deep:  #ffd9b1;

  --c-yellow:      #ffd439;
  --c-yellow-pale: #ffee65;

  --c-text:        #142a37;
  --c-text-muted:  #5f6c75;
  --c-text-soft:   #79878f;
  --c-line:        #e2ebec;
  --c-bg:          #ffffff;

  --shadow-sm: 0 1px 4px rgba(20, 42, 55, 0.06);
  --shadow-md: 0 6px 18px rgba(20, 42, 55, 0.08);
  --shadow-lg: 0 12px 32px rgba(20, 42, 55, 0.12);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --max-w: 420px;
  --side: 22px;

  --font-display: "LINE Seed JP", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", system-ui, sans-serif;
  --font-text:    "LINE Seed JP", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 450;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: transparent; border: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
b, strong { font-weight: 700; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--side);
}

/* ============== Header ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  transition: transform 0.25s ease;
  will-change: transform;
}
.site-header.is-hidden {
  transform: translateY(-100%);
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px var(--side);
}
.brand__logo {
  display: block;
  height: 44px;
  width: auto;
}
/* ============== Section title ============== */
.section-title {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 450;
  font-size: 24px;
  line-height: 1.45;
  color: var(--c-text);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

/* highlight helper */
.hl-teal { color: var(--c-teal); }

/* ===================================================
   Hero
   =================================================== */
.hero {
  position: relative;
  background: var(--c-hero-bg);
  padding: 28px 0 90px;
  overflow: hidden;
}
.hero__deco {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 8% 20%, rgba(255, 255, 255, 0.18) 0 1.4px, transparent 1.6px),
    radial-gradient(circle at 92% 30%, rgba(255, 255, 255, 0.18) 0 1.4px, transparent 1.6px),
    radial-gradient(circle at 18% 70%, rgba(255, 255, 255, 0.16) 0 1.6px, transparent 1.8px),
    radial-gradient(circle at 82% 78%, rgba(255, 255, 255, 0.16) 0 1.6px, transparent 1.8px);
  background-size: 240px 240px, 280px 280px, 220px 220px, 260px 260px;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }

.hero__main {
  position: relative;
}
.hero__main img {
  width: 122%;
  max-width: none;
  height: auto;
  display: block;
}

.hero__bottom {
  position: relative;
  margin-top: 28px;
}
.hero__bg-items {
  position: absolute;
  top: 0;
  left: -12%;
  width: 124%;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero__bottom > *:not(.hero__bg-items) {
  position: relative;
  z-index: 1;
}

.hero__notice {
  text-align: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 450;
  color: var(--c-text);
  line-height: 1.85;
}
.hero__notice b {
  color: inherit;
  font-weight: inherit;
}

/* ---- Coupon & CTA (image-based) ---- */
.hero__coupon {
  margin-top: 26px;
}
.hero__coupon img {
  width: 100%;
  height: auto;
  display: block;
}

.coupon__note {
  margin-top: 5px;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", system-ui, sans-serif;
  font-size: 11px;
  color: var(--c-text-muted);
  text-align: center;
  letter-spacing: 0.04em;
}

.hero__cta-link {
  display: block;
  margin-top: 18px;
}
.hero__cta-link img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===================================================
   About
   =================================================== */
.about {
  position: relative;
  background: #fff;
  padding: 0 0 100px;
  margin-top: -1px;
}
.section-divider {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  height: 80px;
  object-fit: fill;
  display: block;
  pointer-events: none;
  z-index: 2;
  transform: translateY(15px);
}
.about__title {
  text-align: center;
  margin: 0 0 18px;
}
.about > .container {
  position: relative;
  z-index: 3;
}
.about__title img {
  display: inline-block;
  height: auto;
  max-width: 70%;
  width: auto;
}

.about__lead {
  text-align: center;
  font-size: 14px;
  line-height: 2;
  margin-bottom: 26px;
  font-weight: 450;
  color: var(--c-text);
}

.about__merits img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.about__notes {
  margin-top: 22px;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", system-ui, sans-serif;
  font-size: 11px;
  color: var(--c-text-muted);
  line-height: 1.95;
  text-align: center;
}

/* ===================================================
   Use cases (strong teal section, rounded top)
   =================================================== */
.usecases {
  position: relative;
  background: #7ED5DF;
  padding: 0 0 100px;
  margin-top: -1px;
}
.usecases > .container {
  position: relative;
  z-index: 3;
}
.usecases .section-title {
  color: var(--c-text);
  font-weight: 450;
}
.usecases__lead {
  text-align: center;
  font-size: 13px;
  margin-bottom: 22px;
  font-weight: 450;
  line-height: 1.85;
  color: var(--c-text);
}
.usecases__merits img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.usecases__chev {
  display: flex;
  justify-content: center;
  margin: 22px 0 0;
  color: #fff;
}
.usecases__chev svg { width: 22px; height: 22px; }

.usecases__solution {
  margin: 12px 0 0;
  text-align: center;
}
.usecases__solution img {
  display: inline-block;
  width: 100%;
  height: auto;
  max-width: 360px;
}

.install-link {
  display: block;
  margin-top: 12px;
}
.install-link img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===================================================
   How to use (steps carousel)
   =================================================== */
.howto {
  background: #fff;
  padding: 0 0 100px;
  margin-top: -1px;
  position: relative;
}
.howto > .container {
  position: relative;
  z-index: 3;
}
.howto .section-title { font-weight: 450; }
.howto__lead {
  text-align: center;
  font-size: 13px;
  color: var(--c-text);
  margin-bottom: 22px;
  font-weight: 450;
}

.steps {
  position: relative;
}
.steps__viewport {
  overflow: hidden;
  border-radius: 10px;
}
.steps__track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.steps__item {
  flex: 0 0 100%;
  background: #fff;
  border: 1.5px solid var(--c-teal-pale);
  border-radius: 10px;
  padding: 36px;
  overflow: hidden;
  text-align: center;
}
.steps__item > img {
  width: 100%;
  height: auto;
  display: block;
}
.steps__caption {
  margin-top: 18px;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.6;
  text-align: center;
}

.steps__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-teal-pale);
  color: var(--c-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.steps__nav[hidden] { display: none; }
.steps__nav--prev { left: -8px; }
.steps__nav--next { right: -8px; }
.steps__nav svg { width: 16px; height: 16px; }

.steps__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.steps__dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-teal-pale);
}
.steps__dots button.is-active {
  background: var(--c-teal);
}


/* ===================================================
   FAQ
   =================================================== */
.faq {
  position: relative;
  background: #fff;
  padding: 0 0 100px;
  margin-top: -1px;
}
.faq > .container {
  position: relative;
  z-index: 3;
}
.faq .section-title { font-weight: 450; }
.faq__lead {
  text-align: center;
  font-size: 13px;
  color: var(--c-text);
  margin-bottom: 22px;
  font-weight: 450;
}
.faq__item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq__q {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  text-align: left;
}
.faq__mark {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-teal);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 450;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.faq__qtext {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 450;
  font-size: 17px;
  color: var(--c-text);
}
.faq__icon {
  flex: 0 0 24px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--c-teal-paler);
  position: relative;
  transition: background 0.2s ease;
}
.faq__icon::before {
  content: "";
  position: absolute;
  width: 8px; height: 8px;
  left: 50%;
  top: 7px;
  transform: translateX(-50%) rotate(45deg);
  border-right: 2.2px solid var(--c-teal);
  border-bottom: 2.2px solid var(--c-teal);
  transition: transform 0.2s ease, top 0.2s ease;
  border-radius: 1px;
}
.faq__q[aria-expanded="true"] .faq__icon::before {
  top: 10px;
  transform: translateX(-50%) rotate(-135deg);
}

.faq__a {
  display: flex;
  gap: 12px;
  padding: 14px 16px 16px;
  background: #ECF5F6;
  border-top: 1px solid var(--c-line);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.85;
  color: var(--c-text);
}
.faq__a[hidden] { display: none; }
.faq__amark {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 450;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.faq__a p { flex: 1; }

/* ===================================================
   Final CTA
   =================================================== */
.finalcta {
  position: relative;
  background: var(--c-orange);
  color: #fff;
  padding: 0 0 36px;
  text-align: center;
  margin-top: -1px;
}
.finalcta > .container {
  position: relative;
  z-index: 3;
}
.finalcta__title {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: 26px;
  line-height: 1.4;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.finalcta__notes {
  margin-top: 80px;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", system-ui, sans-serif;
  text-align: left;
  font-size: 10.5px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 400;
}
.finalcta__notes li { margin-bottom: 4px; }

/* ===================================================
   Footer
   =================================================== */
.site-footer {
  background: #fff;
  padding: 30px 0 44px;
  text-align: center;
}
.site-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}
.site-footer__logo {
  height: 38px;
  width: auto;
  display: block;
}
.site-footer__links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", system-ui, sans-serif;
}
.site-footer__links a {
  font-size: 11px;
  color: var(--c-text-muted);
  font-family: inherit;
  font-weight: 700;
}
.site-footer__notice {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", system-ui, sans-serif;
  font-size: 10px;
  color: var(--c-text-soft);
  letter-spacing: 0.04em;
  margin-top: 8px;
  line-height: 1.6;
}
.site-footer__copy {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", system-ui, sans-serif;
  font-size: 10px;
  color: var(--c-text-soft);
  letter-spacing: 0.04em;
  margin-top: 16px;
}

/* ===================================================
   Responsive
   =================================================== */
@media (max-width: 374px) {
  :root { --side: 16px; }
  .section-title { font-size: 22px; }
}
@media (min-width: 600px) {
  :root { --max-w: 460px; }
  body { font-size: 15px; }
  .section-title { font-size: 26px; }
}
@media (min-width: 900px) {
  :root { --max-w: 500px; }
}
