/* ============================================================
   LP UI Kit — landing-page styles
   Pulls tokens from ../../colors_and_type.css
   Two device modes driven by [data-device] on .lp-root:
   "pc" (default, 1200 content) and "sp" (390 mobile column).
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--color-background);
  font-family: var(--font-jp);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

/* ---- Device toolbar ---- */
.kit-toolbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  height: 52px; background: #1a1a1a; color: #fff;
  font-family: var(--font-latin); font-size: 13px;
}
.kit-toolbar .brand { position: absolute; left: 20px; font-weight: 700; letter-spacing: 0.04em; }
.kit-seg { display: flex; background: rgba(255,255,255,0.1); border-radius: 999px; padding: 3px; }
.kit-seg button {
  border: none; background: none; color: rgba(255,255,255,0.65);
  font-family: var(--font-latin); font-size: 12px; font-weight: 700;
  padding: 6px 18px; border-radius: 999px; cursor: pointer; transition: all .15s ease;
}
.kit-seg button.active { background: var(--color-primary); color: #fff; }

/* ---- Device stage ---- */
.lp-root {
  background: var(--color-background);
  width: 100%;
  overflow: hidden;
}

/* =========================================================
   PRIMITIVES
   ========================================================= */
.btn {
  border: none; cursor: pointer; border-radius: var(--radius-pill);
  font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: 16px;
  color: #fff; padding: 14px 28px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .12s ease, filter .15s ease, box-shadow .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.99); filter: brightness(0.96); }
.btn--primary { background: var(--color-accent-grad); background-size: 140% 140%; color: #FFFFFF; -webkit-text-fill-color: #FFFFFF; }
.btn--primary:hover { filter: brightness(1.04) saturate(1.05); }
.btn--secondary {
  background: linear-gradient(#fff,#fff) padding-box, var(--ig-gradient) border-box;
  border: 2px solid transparent;
  padding: 12px 26px;
  color: var(--ig-magenta);
  -webkit-text-fill-color: var(--ig-magenta);
}
.btn--secondary.btn--sm { padding: 8px 14px; }
.btn--secondary:hover { filter: brightness(1) saturate(1.08); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(207,46,146,0.18); }
.btn--line { background: var(--color-line); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--block { width: 100%; }

.eyebrow {
  font-family: var(--font-latin); font-weight: 700; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--ig-gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--ig-magenta);
  width: fit-content;
}
.eyebrow--cap { text-transform: none; }

.sec-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.sec-head h2 { margin: 0; font-size: var(--fs-h2); font-weight: 700; line-height: 1.4; color: var(--color-text); letter-spacing: 0.08em; }
.sec-head p { margin: 0; font-size: 14px; color: var(--color-muted); line-height: 1.8; max-width: 640px; }

.lp-icon { width: 24px; height: 24px; color: var(--color-primary); flex: none; }

/* card base */
.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}

/* =========================================================
   SECTION SHELL
   ========================================================= */
.section { padding: var(--space-section-y) var(--space-section-x); }
.section--alt { background: var(--ig-magenta-pale); }
.section--dots {
  background-color: #ffffff;
  background-image: radial-gradient(var(--ig-magenta-pale) 2.4px, transparent 2.4px);
  background-size: 24px 24px;
  background-position: 0 0;
}
.section-inner { max-width: 1072px; margin: 0 auto; }

/* =========================================================
   HEADER
   ========================================================= */
.hdr {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247,220,236,0.70);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 64px; height: 72px; border-bottom: 1px solid rgba(207,46,146,0.18);
}
.hdr-logo { display: flex; align-items: center; gap: 14px; }
.hdr-logo img { width: 44px; height: 44px; object-fit: contain; }
.hdr-logo .name { font-size: 16px; font-weight: 700; color: #000; }
.hdr-nav { display: flex; align-items: center; gap: 32px; }
.hdr-nav .nav-links { display: flex; align-items: center; gap: 32px; }
.hdr-nav a { font-size: 14px; color: var(--color-text); text-decoration: none; }
.hdr-nav a:hover { color: var(--color-primary); }
.hdr-burger { display: none; width: 28px; height: 28px; border: none; background: none; cursor: pointer; flex-direction: column; gap: 6px; justify-content: center; }
.hdr-burger span { height: 2px; background: var(--color-text); border-radius: 2px; display: block; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; display: flex; align-items: center; min-height: 620px; padding: 72px 64px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: linear-gradient(158deg, #FDE6D4 0%, #F8DCD1 46%, #EDCABE 73%, #DEBFBB 100%); }
.hero-bg img { position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: 112%; width: auto; display: block; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    #ffffff 0%,
    rgba(255,255,255,0.96) 30%,
    rgba(255,255,255,0.80) 46%,
    rgba(255,255,255,0.35) 60%,
    rgba(255,255,255,0) 78%
  );
}
.hero-content { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; gap: 20px; max-width: 520px; }
.hero h1 { margin: 0; font-size: var(--fs-display); font-weight: 700; line-height: 1.35; color: var(--color-text); }
.hero p { margin: 0; font-size: 16px; color: var(--color-text); line-height: 1.9; }
.hero-buttons { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; }

/* =========================================================
   PROBLEM
   ========================================================= */
.problem-list { display: flex; flex-direction: column; gap: 16px; max-width: 540px; margin: 36px auto 0; }
.check-item { display: flex; align-items: center; gap: 16px; padding: 24px 32px; }
.check-item .ct { font-size: 16px; font-weight: 500; color: var(--color-text); }
.check-item .lp-icon { color: var(--ig-magenta); }

/* =========================================================
   SOLUTION
   ========================================================= */
.solution { display: flex; align-items: center; gap: 48px; }
.solution-text { flex: 1; display: flex; flex-direction: column; gap: 16px; max-width: 480px; }
.solution-text h2 { margin: 0; font-size: var(--fs-h3); font-weight: 700; line-height: 1.45; }
.solution-text p { margin: 0; font-size: 15px; color: var(--color-muted); line-height: 1.9; }
.solution-visual { width: 420px; height: 320px; flex: none; border-radius: 8px; background: var(--color-secondary); display: flex; align-items: center; justify-content: center; color: #2b6cb0; font-size: 14px; font-weight: 700; text-align: center; padding: 20px; }

/* =========================================================
   3-UP CARD GRID (Service / Reason)
   ========================================================= */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.feature-card { padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.feature-card .num { font-family: var(--font-latin); font-weight: 700; font-size: 14px; color: var(--color-primary); }
.feature-card h3 { margin: 0; font-size: 18px; font-weight: 700; color: var(--color-text); }
.feature-card p { margin: 0; font-size: 13px; color: var(--color-muted); line-height: 1.8; }

/* =========================================================
   WORK
   ========================================================= */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.work-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease; }
.work-card:hover { transform: translateY(-4px); }
.work-card .img { height: 200px; background: var(--color-secondary); border-radius: 8px 8px 0 0; display: flex; align-items: center; justify-content: center; color: #2b6cb0; font-size: 13px; font-weight: 700; }
.work-card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.work-card h3 { margin: 0; font-size: 16px; font-weight: 700; }
.work-card p { margin: 0; font-size: 13px; color: var(--color-muted); line-height: 1.8; }
.work-card .more { align-self: flex-end; font-size: 14px; color: var(--color-muted); }
.work-cta { display: flex; justify-content: center; margin-top: 36px; }

/* =========================================================
   PRICE
   ========================================================= */
.price-wrap { display: flex; justify-content: center; margin-top: 44px; }
.price-card { width: 360px; padding: 32px; display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.price-card .pn { font-size: 16px; font-weight: 700; }
.price-card .pf { font-size: 28px; font-weight: 700; color: var(--color-accent); }
.price-card .pd { font-size: 14px; color: var(--color-muted); line-height: 1.8; }
.price-card .incl { font-size: 14px; color: var(--color-muted); line-height: 1.9; text-align: left; align-self: stretch; white-space: pre-line; }

/* =========================================================
   FLOW
   ========================================================= */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.flow-card { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.flow-card .step { font-family: var(--font-latin); font-weight: 700; font-size: 13px; color: var(--color-primary); }
.flow-card h3 { margin: 0; font-size: 16px; font-weight: 700; }
.flow-card p { margin: 0; font-size: 13px; color: var(--color-muted); line-height: 1.8; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { display: flex; flex-direction: column; gap: 16px; max-width: 800px; margin: 44px auto 0; }
.faq-item { padding: 0 20px; overflow: hidden; }
.faq-q { display: flex; align-items: center; gap: 10px; padding: 20px 0; cursor: pointer; }
.faq-q .mark { font-size: 16px; font-weight: 700; color: var(--color-primary); flex: none; }
.faq-q .qt { font-size: 16px; font-weight: 700; color: var(--color-text); flex: 1; line-height: 1.5; }
.faq-q .chev { transition: transform .2s ease; color: var(--color-muted); flex: none; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { display: flex; gap: 10px; max-height: 0; opacity: 0; transition: max-height .25s ease, opacity .2s ease, padding .25s ease; padding: 0; }
.faq-item.open .faq-a { max-height: 240px; opacity: 1; padding: 0 0 22px; }
.faq-a .mark { font-size: 16px; font-weight: 700; color: var(--color-accent); flex: none; }
.faq-a .at { font-size: 14px; color: var(--color-muted); line-height: 1.8; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.final-cta .eyebrow { color: var(--color-muted); -webkit-text-fill-color: var(--color-muted); background: none; font-family: var(--font-jp); text-transform: none; letter-spacing: 0; font-size: 13px; }
.final-cta h2 { margin: 0; font-size: var(--fs-h3); font-weight: 700; line-height: 1.5; max-width: 720px; }
.final-cta p { margin: 0; font-size: 15px; color: var(--color-muted); line-height: 1.8; max-width: 600px; }
.final-cta .ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* Final CTA with FV background + overlay */
.final-cta-section { position: relative; overflow: hidden; }
.final-cta-section .fc-bg { position: absolute; inset: 0; z-index: 0; }
.final-cta-section .fc-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.final-cta-section .fc-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(40,20,45,0.30) 0%, rgba(40,20,45,0.30) 100%),
    linear-gradient(115deg, rgba(207,46,146,0.62) 0%, rgba(242,105,57,0.42) 45%, rgba(76,100,211,0.62) 100%);
}
.final-cta-section .final-cta { position: relative; z-index: 1; }
.final-cta-section .final-cta .eyebrow { color: rgba(255,255,255,0.92); -webkit-text-fill-color: rgba(255,255,255,0.92); background: none; }
.final-cta-section .final-cta h2 { color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,0.22); }
.final-cta-section .final-cta p { color: rgba(255,255,255,0.94); text-shadow: 0 1px 10px rgba(0,0,0,0.20); }
.final-cta-section .btn--secondary { box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

/* =========================================================
   FOOTER
   ========================================================= */
.lp-footer { background: var(--gray-20); color: rgba(255,255,255,0.85); padding: 40px 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lp-footer .f-logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; color: #fff; }
.lp-footer .f-logo img { width: 36px; height: 36px; object-fit: cover; border-radius: 50%; background: #fff; padding: 0; }
.lp-footer .f-links { display: flex; gap: 24px; font-size: 13px; }
.lp-footer .f-links a { color: rgba(255,255,255,0.8); text-decoration: none; }
.lp-footer .copy { font-family: var(--font-latin); font-size: 11px; color: rgba(255,255,255,0.5); }

/* =========================================================
   SP (mobile) MODE
   ========================================================= */

@media (max-width: 768px) {
  .hdr { padding: 0 20px; height: 64px; }
  .hdr-nav .nav-links { display: none; }
  .hdr-burger { display: flex; }
  .hdr-nav .btn { display: none; }
}


@media (max-width: 768px) {
  .section { padding: 48px 20px; }
}

/* SP HERO — stacked: image (fade to white at bottom) → title → details → CTA */

@media (max-width: 768px) {
  .hero { flex-direction: column; padding: 0 0 36px; min-height: 0; text-align: left; align-items: stretch; gap: 0; }
  .hero-bg { position: relative; inset: auto; height: 300px; width: 100%; }
  .hero-bg img { position: absolute; inset: 0; right: auto; top: auto; transform: none; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
  .hero-scrim {
}
  background: linear-gradient(180deg, rgba(255,255,255,0) 55%, rgba(255,255,255,0.85) 82%, #ffffff 100%);
}

@media (max-width: 768px) {
  .hero-content { align-items: flex-start; text-align: left; max-width: 100%; padding: 22px 20px 0; gap: 16px; }
  .hero h1 { font-size: 27px; }
  .hero-meta { justify-content: flex-start; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }
}

/* SP — body text left, but section TITLES centered */

@media (max-width: 768px) {
  .sec-head { align-items: center; text-align: center; }
  .sec-head h2 { font-size: 21px; }
  .about { align-items: flex-start; text-align: left; }
  .about h2 { font-size: 23px; align-self: stretch; text-align: center; }
  .final-cta { align-items: flex-start; text-align: left; }
  .final-cta h2 { font-size: 23px; align-self: stretch; text-align: center; }
  .audience-note { text-align: left; }
}


@media (max-width: 768px) {
  .solution { flex-direction: column; gap: 28px; }
  .solution-text { max-width: 100%; align-items: center; text-align: center; }
  .solution-visual { width: 100%; height: 220px; }
}


@media (max-width: 768px) {
  .grid3,
  .work-grid,
  .flow-grid { grid-template-columns: 1fr; }
  .price-card { width: 100%; }
  .check-item { padding: 16px 20px; }
  .sec-head h2 { font-size: 24px; }
  .lp-footer { flex-direction: column; text-align: center; padding: 32px 20px; }
}

/* SP slide-in menu */
.sp-menu { position: absolute; inset: 0; background: rgba(255,255,255,0.98); z-index: 30; display: none; flex-direction: column; padding: 80px 28px 28px; gap: 4px; }

@media (max-width: 768px) {
  .sp-menu.open { display: flex; }
}
.sp-menu a { padding: 16px 0; font-size: 17px; font-weight: 700; color: var(--color-text); text-decoration: none; border-bottom: 1px solid var(--color-border); }
.sp-menu .btn { margin-top: 20px; }
.sp-menu .close { position: absolute; top: 22px; right: 24px; font-size: 26px; background: none; border: none; cursor: pointer; color: var(--color-text); }

html { scroll-behavior: smooth; }

/* =========================================================
   EVENT-LP ADDITIONS
   ========================================================= */
/* Wordmark (text logo) */
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark .badge {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
}
.wordmark .wm-icon { width: 44px; height: 44px; border-radius: 50%; flex: none; object-fit: cover; }
.wordmark .wm-text { display: flex; flex-direction: column; line-height: 1.15; }
.wordmark .wm-text b { font-size: 16px; font-weight: 700; color: var(--color-text); }
.wordmark .wm-text small { font-family: var(--font-latin); font-size: 9.5px; letter-spacing: 0.14em; font-weight: 700; background: var(--ig-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--ig-magenta); width: fit-content; }

/* Hero meta chips */
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.meta-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: #FFFFFF; border: 1px solid rgba(207,46,146,0.18);
  border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 700; color: var(--color-text);
  box-shadow: 0 2px 8px rgba(40,20,45,0.06);
}
.meta-chip .em { font-size: 14px; }
.mi {
  font-family: "Material Symbols Rounded";
  font-weight: normal; font-style: normal; line-height: 1;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  -webkit-font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased;
}
.meta-chip .mi { font-size: 19px; color: var(--ig-magenta); }

/* About — centered intro */
.about { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.about .lead { font-size: 17px; font-weight: 700; color: var(--color-accent); }
.about h2 { letter-spacing: 0.08em; }
.final-cta h2 { letter-spacing: 0.08em; }
.about p { margin: 0; font-size: 15px; line-height: 2; color: var(--color-text); max-width: 640px; }

/* About — split (key-visual + text) */
.about-split { display: flex; align-items: center; gap: 56px; }
.about-kv { flex: none; width: 340px; }
.about-kv img { width: 100%; height: auto; display: block; border-radius: 16px; box-shadow: 0 12px 32px rgba(68,157,243,0.18); }
.about-text { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.about-text .lead { font-size: 17px; font-weight: 700; color: var(--color-accent); }
.about-text p { margin: 0; font-size: 15px; line-height: 2; color: var(--color-text); }

/* Audience checklist closing note */
.audience-note { text-align: center; font-size: 15px; font-weight: 700; color: var(--color-text); margin-top: 28px; }

/* Event info card (定義リスト) */
.info-wrap { display: flex; justify-content: center; margin-top: 44px; }
.info-card { width: 640px; max-width: 100%; padding: 8px 32px; border: 2px solid var(--color-accent); box-shadow: 0 10px 30px rgba(207,46,146,0.10); }
.info-row { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--color-border); }
.info-row:last-child { border-bottom: none; }
.info-row .label { flex: none; width: 132px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--color-text); }
.info-row .label .em { font-size: 17px; }
.info-row .label .mi { font-size: 21px; color: var(--ig-magenta); }
.info-row .value { font-size: 15px; line-height: 1.8; color: var(--color-text); }
.info-row .value .tag { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; color: var(--color-accent); background: var(--red-80); border-radius: 999px; padding: 2px 10px; vertical-align: middle; }
.info-row .value .free { color: var(--color-accent); font-weight: 700; font-size: 18px; }

/* Access */
.access { display: flex; gap: 40px; align-items: stretch; }
.access-info { flex: 1; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.access-info h3 { margin: 0; font-size: 20px; font-weight: 700; }
.access-info p { margin: 0; font-size: 14px; color: var(--color-muted); line-height: 1.8; }
.access-note { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: var(--blue-90); border-radius: 8px; padding: 12px 16px; font-size: 13px; font-weight: 700; color: var(--color-primary); }
.map-slot { flex: 1; min-height: 240px; border-radius: 8px; background: var(--color-secondary); display: flex; align-items: center; justify-content: center; color: #2b6cb0; font-size: 13px; font-weight: 700; }

/* SP overrides for event additions */

@media (max-width: 768px) {
  .hero-meta { justify-content: center; }
  .info-card { width: 100%; padding: 4px 20px; }
  .info-row { flex-direction: column; gap: 6px; padding: 16px 0; }
  .info-row .label { width: auto; }
  .access { flex-direction: column; gap: 20px; }
  .map-slot { min-height: 180px; }
  .about-split { flex-direction: column; gap: 28px; text-align: center; }
  .about-kv { width: 240px; }
  .about-text { align-items: center; }
}
