/*
 * Landing page styles for AI検定 (株式会社ZETTAI).
 * Self-contained; no dependency on the eiken-derived stylesheet.
 * Palette mirrors the navy used in /ai-kentei/.
 */

:root {
  --navy: #1b3b8b;
  --navy-deep: #0e255a;
  --accent: #2f6fed;
  --tint: #eaf0fb;
  --ink: #0e1726;
  --ink-soft: #44546a;
  --line: #d9dee8;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --max: 1200px;
  --pad: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.lp {
  margin: 0;
  font-family: -apple-system, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Noto Sans JP", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img { max-width: 100%; height: auto; display: block; }

/* ------- Accessibility ------- */

/*
 * Keyboard focus must be at least as visible as hover. A single global ring
 * plus a light-on-navy variant for the sections that invert the palette.
 */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.lp-hero__band :focus-visible,
.lp-voices :focus-visible,
.lp-cta :focus-visible,
.lp-band :focus-visible,
.lp-footer :focus-visible {
  outline-color: #fff;
}

main:focus { outline: none; }

.lp-skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: top 0.15s ease;
}

.lp-skip:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

/* ------- Header ------- */

.lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.lp-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 24px;
}

.lp-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.lp-logo svg { height: 44px; width: auto; display: block; }

.lp-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.lp-nav__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 1.2;
}

.lp-nav__link:hover {
  background: var(--tint);
  color: var(--navy);
}

.lp-nav__en {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.lp-nav__jp {
  font-size: 10px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.lp-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lp-header__link {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  padding: 6px 4px;
}

.lp-header__link:hover { text-decoration: underline; }

.lp-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: var(--navy);
  border: 1.5px solid var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.lp-header__cta:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #fff;
}

/* ------- Header: mobile nav ------- */

/*
 * The desktop nav collapses into a hamburger below 900px. The toggle button
 * flips `data-nav-open` on the header (see the inline script emitted by
 * src/lp/index.ts) and mirrors it in `aria-expanded`; CSS does the rest, so
 * the menu degrades to "always visible" only if the script never runs —
 * which is why the panel is display:none by default at desktop widths only.
 */
.lp-navtoggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  min-height: 44px;
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--navy-deep);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.lp-navtoggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 20px;
}

.lp-navtoggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-deep);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.lp-header[data-nav-open="true"] .lp-navtoggle {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.lp-header[data-nav-open="true"] .lp-navtoggle__bars span { background: #fff; }
.lp-header[data-nav-open="true"] .lp-navtoggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.lp-header[data-nav-open="true"] .lp-navtoggle__bars span:nth-child(2) { opacity: 0; }
.lp-header[data-nav-open="true"] .lp-navtoggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile-only action block inside the drop-down panel. */
.lp-nav__actions { display: none; }

.lp-nav__action {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  color: var(--navy-deep);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.lp-nav__action--primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

@media (max-width: 900px) {
  .lp-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px -22px rgba(14, 37, 90, 0.5);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .lp-header[data-nav-open="true"] .lp-nav { display: flex; }

  .lp-navtoggle { display: inline-flex; }

  .lp-header__inner { position: relative; }

  .lp-header__actions { margin-left: auto; }

  .lp-nav__link {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 10px;
    min-height: 48px;
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .lp-nav__jp { margin-top: 0; font-size: 13px; }

  .lp-nav__actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
  }
}

@media (max-width: 760px) {
  .lp-header__inner { padding: 10px var(--pad); gap: 12px; }
  .lp-logo svg { height: 38px; }
  .lp-header__actions { margin-left: auto; }
  .lp-header__cta {
    padding: 11px 18px;
    min-height: 44px;
  }
}

@media (max-width: 620px) {
  /* Logo + hamburger only; the 申込/ログイン導線 lives in the panel. */
  .lp-header__actions { display: none; }
  .lp-navtoggle { margin-left: auto; }
}

/* ------- Hero ------- */

.lp-hero { position: relative; }

/*
 * Hero photo is a wide brand banner (3840x900 ≈ 4.27:1) with
 * "AI検定 / 株式会社ZETTAI" centered in the frame. The visible aspect is
 * pulled in slightly to 7:2 (3.5:1) so the photo has more vertical
 * presence on desktop; that crops ~150px off each side at 1440vw, which
 * is well outside the centered lettering and the central composition, so
 * nothing essential is lost and the sides do not feel awkwardly chopped.
 *
 * Below ~720px the wide ratio becomes an unreadably thin strip, so we
 * swap to a near-square aspect via media query.
 */
.lp-hero__media {
  --hero-image-offset: clamp(40px, 8vw, 280px);
  position: relative;
  width: 100%;
  aspect-ratio: 7 / 2;
  overflow: hidden;
  background: #eef3fb;
}

.lp-hero__media img {
  width: calc(100% + var(--hero-image-offset));
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  margin-left: calc(var(--hero-image-offset) / -2);
  transform: translateX(calc(var(--hero-image-offset) / 2));
  display: block;
}

.lp-hero__tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 60%,
    rgba(14, 37, 90, 0.12) 100%
  );
  pointer-events: none;
}

@media (max-width: 900px) {
  .lp-hero__media {
    --hero-image-offset: clamp(40px, 9vw, 80px);
    aspect-ratio: 3840 / 900;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .lp-hero__media img {
    object-fit: contain;
    object-position: center center;
  }
}

.lp-hero__band {
  background: var(--navy);
  color: #fff;
  position: relative;
}

.lp-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 56px) var(--pad) clamp(48px, 9vw, 72px);
}

.lp-hero__en {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: 0.15em;
  margin: 0 0 8px;
  color: #fff;
}

.lp-hero__title {
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.35;
  margin: 0 0 20px;
  font-weight: 800;
}

.lp-hero__lead {
  font-size: clamp(15px, 1.6vw, 18px);
  margin: 0 0 28px;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.92);
}

.lp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.lp-hero__sub {
  margin: 20px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.lp-hero__sub a {
  color: #fff;
  font-weight: 700;
  text-underline-offset: 3px;
}

.lp-hero__sep { color: rgba(255, 255, 255, 0.4); }

@media (max-width: 760px) {
  .lp-hero__inner {
    text-align: center;
  }

  .lp-hero__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .lp-hero__ctas {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .lp-hero__ctas { flex-direction: column; gap: 12px; }
  .lp-hero__ctas .lp-btn { width: 100%; }
}

/* ------- Buttons ------- */

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 32px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: transform 0.1s ease, background 0.15s ease, color 0.15s ease;
}

.lp-btn:active { transform: translateY(1px); }

.lp-btn--primary {
  background: #fff;
  color: var(--navy);
}

.lp-btn--primary:hover { background: var(--tint); }

.lp-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}

.lp-btn--ghost:hover {
  background: #fff;
  color: var(--navy);
}

/* Navy-on-light pair, for the light mid-page CTA band. */
.lp-btn--solid {
  background: var(--navy);
  color: #fff;
  border: 1.5px solid var(--navy);
}

.lp-btn--solid:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.lp-btn--outline {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.lp-btn--outline:hover {
  background: var(--tint);
}

/* ------- Sections ------- */

.lp-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 88px) var(--pad);
}

.lp-section__head { margin-bottom: clamp(28px, 5vw, 48px); }

.lp-h2 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: var(--navy-deep);
}

.lp-h2__en {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 0.15em;
  color: var(--navy-deep);
}

.lp-h2__sep { color: var(--line); font-weight: 400; }

.lp-h2__jp { font-size: clamp(16px, 1.8vw, 22px); color: var(--ink-soft); }

.lp-section__lead {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ------- About ------- */

.lp-about { background: var(--bg-soft); max-width: none; }
.lp-about > .lp-section__head,
.lp-about > .lp-about__grid {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.lp-about__grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}

.lp-about__label {
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  padding: 22px 28px;
}

.lp-about__body p { margin: 0 0 16px; font-size: 16px; }

.lp-about__body strong { color: var(--navy); }

.lp-about__body em { font-style: normal; border-bottom: 2px solid var(--accent); padding-bottom: 1px; }

@media (max-width: 760px) {
  .lp-about__grid { grid-template-columns: 1fr; gap: 20px; }
  .lp-about__label { font-size: 18px; padding: 16px 20px; }
  .lp-about__body p { font-size: 15px; }
}

/* ------- Exams (試験概要 + 出題分野) ------- */

.lp-outline {
  margin: 0 0 28px;
  border-top: 1px solid var(--line);
}

.lp-outline__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}

.lp-outline__row dt {
  margin: 0;
  font-weight: 800;
  font-size: 15px;
  color: var(--navy-deep);
}

.lp-outline__row dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.lp-exams__note {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .lp-outline__row { grid-template-columns: 1fr; gap: 4px; }
}

.lp-exams__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

@media (max-width: 760px) {
  .lp-exams__grid { grid-template-columns: 1fr; gap: 16px; }
  .lp-exam { padding: 24px 20px; }
}

.lp-exam {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px 24px;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lp-exam:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -16px rgba(14, 37, 90, 0.25);
}

.lp-exam__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.lp-exam__code {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  flex: 0 0 auto;
}

.lp-exam__title {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy-deep);
  margin: 0 0 10px;
  line-height: 1.4;
}

.lp-exam__desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 14px;
  line-height: 1.75;
}

.lp-exam__topics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lp-exam__topics li {
  background: var(--tint);
  color: var(--navy);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

/* ------- Steps ------- */

.lp-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: lp-step;
}

.lp-step {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px 28px;
  position: relative;
}

.lp-step__num {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  font-family: -apple-system, Helvetica, Arial, sans-serif;
}

.lp-step__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-deep);
  margin: 0 0 10px;
}

.lp-step__body {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 760px) {
  .lp-steps__list { grid-template-columns: 1fr; gap: 16px; }
  .lp-step { padding: 28px 24px; }
  .lp-step__num { font-size: 32px; }
}

/* ------- Mid-page apply band ------- */

.lp-band {
  background: var(--tint);
  border-top: 1px solid #d3ddf3;
  border-bottom: 1px solid #d3ddf3;
}

.lp-band__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 48px) var(--pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lp-band__title {
  margin: 0 0 6px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  color: var(--navy-deep);
}

.lp-band__lead {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.lp-band__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 760px) {
  .lp-band__inner { flex-direction: column; align-items: stretch; }
  .lp-band__btns { flex-direction: column; }
  .lp-band__btns .lp-btn { width: 100%; }
}

/* ------- Features ------- */

.lp-features { background: var(--bg-soft); max-width: none; }
.lp-features > .lp-section__head,
.lp-features > .lp-features__grid {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.lp-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.lp-feature {
  padding: 24px 20px;
  border-left: 4px solid var(--accent);
  background: #fff;
}

.lp-feature__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-deep);
  margin: 0 0 10px;
}

.lp-feature__body {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 760px) {
  .lp-features__grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ------- Partners ------- */

.lp-partners__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.lp-partner {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-partner__role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.lp-partner__name {
  font-weight: 700;
  color: var(--navy-deep);
  font-size: 15px;
}

/* ------- Company ------- */

.lp-company__list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.lp-company__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}

.lp-company__label {
  margin: 0;
  font-weight: 700;
  color: var(--navy-deep);
  font-size: 15px;
}

.lp-company__value {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.lp-company__value a { color: var(--accent); text-decoration: none; }
.lp-company__value a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .lp-company__row { grid-template-columns: 1fr; gap: 4px; }
}

/* ------- Voices ------- */

.lp-voices { background: var(--navy); color: #fff; max-width: none; }
.lp-voices > .lp-section__head,
.lp-voices > .lp-voices__prep,
.lp-voices > .lp-voices__grid {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.lp-voices .lp-h2,
.lp-voices .lp-h2__en,
.lp-voices .lp-h2__jp { color: #fff; }
.lp-voices .lp-h2__sep { color: rgba(255, 255, 255, 0.4); }

.lp-voices__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.lp-voice {
  margin: 0;
  background: rgba(255, 255, 255, 0.08);
  padding: 28px;
  border-left: 3px solid var(--accent);
}

.lp-voice__quote {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.85;
  font-style: normal;
}

.lp-voice__quote::before { content: "“"; font-size: 28px; margin-right: 4px; opacity: 0.7; }

.lp-voice__who {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

/* Placeholder shown until real, consented testimonials exist. */
.lp-voices__prep {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--accent);
  padding: 28px;
}

.lp-voices__prep-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
}

.lp-voices__prep-body {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.lp-voices__prep-body a { color: #fff; font-weight: 700; }

/* ------- News ------- */

.lp-news {
  max-width: none;
  background: #fff;
}

.lp-news > .lp-section__head,
.lp-news > .lp-news__list,
.lp-news > .lp-news__more {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.lp-news__list {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line);
}

.lp-news__item {
  border-bottom: 1px solid var(--line);
}

.lp-news__link {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 28px;
  min-height: 104px;
  padding: 26px 70px 24px 18px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s ease;
}

.lp-news__link:hover {
  background: #f8f9fc;
}

.lp-news__meta {
  display: flex;
  align-items: center;
  gap: 22px;
  grid-column: 1;
}

.lp-news__date {
  color: #3f4651;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.lp-news__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 28px;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.lp-news__tag--gold {
  background: #e6ad47;
  color: #fff;
}

.lp-news__tag--blue {
  background: #4b7fd4;
  color: #fff;
}

.lp-news__tag--gray {
  border: 1.5px solid #7b818c;
  color: #4f5662;
  background: #fff;
}

.lp-news__title {
  grid-column: 1;
  margin: 0;
  color: #30343a;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.55;
}

.lp-news__arrow {
  position: absolute;
  right: 0;
  top: 50%;
  width: 38px;
  height: 38px;
  border: 2px solid #d1a033;
  border-radius: 50%;
  transform: translateY(-50%);
}

.lp-news__arrow::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 10px;
  width: 10px;
  height: 10px;
  border-top: 3px solid #d1a033;
  border-right: 3px solid #d1a033;
  transform: rotate(45deg);
}

.lp-news__more {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.lp-news__more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 210px;
  min-height: 54px;
  padding: 12px 34px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.lp-news__more-link span {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid currentColor;
}

.lp-news__more-link:hover {
  background: var(--navy);
  color: #fff;
}

@media (max-width: 760px) {
  .lp-news__link {
    min-height: auto;
    padding: 20px 52px 20px 0;
    gap: 8px;
  }

  .lp-news__meta {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .lp-news__date {
    font-size: 15px;
  }

  .lp-news__tag {
    min-width: 68px;
    min-height: 26px;
    font-size: 12px;
    padding: 4px 12px;
  }

  .lp-news__title {
    font-size: 16px;
    line-height: 1.65;
  }

  .lp-news__arrow {
    width: 34px;
    height: 34px;
  }

  .lp-news__arrow::after {
    left: 11px;
    top: 9px;
  }

  .lp-news__more {
    margin-top: 28px;
  }
}

/* ------- FAQ ------- */

.lp-faq__list { display: grid; gap: 12px; }

.lp-faq__item {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px 24px;
}

.lp-faq__item[open] { border-color: var(--accent); }

.lp-faq__q {
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-deep);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}

.lp-faq__q::-webkit-details-marker { display: none; }

.lp-faq__q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 22px;
  color: var(--accent);
  transition: transform 0.15s ease;
}

.lp-faq__item[open] .lp-faq__q::after { content: "−"; }

.lp-faq__a {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

/* ------- CTA ------- */

.lp-cta {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--accent) 100%);
  color: #fff;
}

.lp-cta__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 88px) var(--pad);
  text-align: center;
}

.lp-cta__en {
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0.18em;
  font-weight: 800;
  margin: 0 0 10px;
}

.lp-cta__title {
  font-size: clamp(24px, 3.4vw, 36px);
  margin: 0 0 16px;
  font-weight: 800;
}

.lp-cta__lead {
  font-size: 16px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
}

.lp-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.lp-cta__note {
  margin: 22px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.lp-cta__note a { color: #fff; font-weight: 700; }

/* Mobile tightening for the navy/quote/faq/cta blocks: trim card padding so
 * vertical rhythm stays compact, and let CTA buttons fill the width so they
 * read as a clean, thumb-friendly stack rather than two cramped pills. */
@media (max-width: 480px) {
  .lp-voice { padding: 22px 20px; }
  .lp-faq__item { padding: 16px 18px; }
  .lp-faq__q { font-size: 15px; }
  .lp-cta__lead { font-size: 15px; }
  .lp-cta__btns { flex-direction: column; gap: 12px; }
  .lp-cta__btns .lp-btn { width: 100%; }
}

/* ------- Legal (特定商取引法に基づく表記) ------- */

.lp-legal { background: var(--bg-soft); max-width: none; }
.lp-legal > .lp-section__head,
.lp-legal > .lp-legal__list,
.lp-legal > .lp-legal__links {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.lp-legal__list {
  margin: 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.lp-legal__row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.lp-legal__label {
  margin: 0;
  font-weight: 700;
  color: var(--navy-deep);
  font-size: 15px;
}

.lp-legal__value {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.lp-legal__links {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}

.lp-legal__links a { color: var(--accent); font-weight: 700; }

@media (max-width: 640px) {
  .lp-legal__row { grid-template-columns: 1fr; gap: 4px; padding: 16px; }
}

/* ------- Footer ------- */

.lp-footer { background: #0a1730; color: #c7cfdd; }

.lp-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px var(--pad);
  display: grid;
  gap: 24px;
}

.lp-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.lp-footer__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 24px;
  background: var(--accent);
  border: 1.5px solid var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.lp-footer__cta:hover { background: #1c56c9; border-color: #1c56c9; color: #fff; }

.lp-footer__cta--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.lp-footer__cta--ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

.lp-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.lp-footer__legal a {
  color: #c7cfdd;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.lp-footer__legal a:hover { color: #fff; text-decoration: underline; }

.lp-footer__brand svg { height: 40px; }
.lp-footer__brand svg text { fill: #fff; }
.lp-footer__brand svg circle:first-child { fill: #fff; }
.lp-footer__brand svg circle:nth-child(2) { stroke: var(--accent); }
.lp-footer__brand svg g text { fill: var(--navy); }

.lp-footer__copy { margin: 0; font-size: 12px; color: #8290a8; }

.lp-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.lp-footer__nav a {
  color: #c7cfdd;
  text-decoration: none;
  font-size: 13px;
}

.lp-footer__nav a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 760px) {
  .lp-footer__top { flex-direction: column; align-items: flex-start; }
  .lp-footer__ctas { width: 100%; flex-direction: column; }
  .lp-footer__cta { width: 100%; }
}
