/* ==========================================================================
   boomboom-beach.com — Ferrari DESIGN.md 準拠（屋形船・東京湾の夜クルーズ）
   near-black #181818 / Rosso Corsa #da291c / sharp 0px / cinematic
   ========================================================================== */

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

:root {
  --primary: #da291c;        /* Rosso Corsa */
  --primary-active: #b01e0a;
  --ink: #ffffff;
  --body: #969696;
  --muted: #666666;
  --hairline: #303030;
  --canvas: #181818;         /* near-black, slightly warm */
  --canvas-elevated: #303030;
  --on-primary: #ffffff;

  --hover-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

  /* spacing ladder (8px) */
  --sp-sm: 24px;
  --sp-md: 32px;
  --sp-lg: 48px;
  --sp-xl: 64px;
  --sp-xxl: 96px;

  --max-width: 1280px;
  --content-width: 1080px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", "Noto Sans JP", -apple-system, system-ui, sans-serif;
  font-weight: 400;
  color: var(--body);
  background: var(--canvas);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: var(--primary-active);
}

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

/* ── Header (dark nav, 1px hairline, uppercase tracked) ── */
.header {
  background: var(--canvas);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.logo span {
  color: var(--primary);
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-list a {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.065em;
}

.nav-list a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ── Hero (full-bleed cinematic photo + display headline) ── */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(24, 24, 24, 0.45) 0%, rgba(24, 24, 24, 0.82) 100%),
    #0f0f0f url("images/hero.jpg") center / cover no-repeat;
  color: var(--ink);
  text-align: center;
  padding: 128px 24px 112px;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin: 0 auto 20px;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 1.02rem;
  font-weight: 400;
  color: #d8d8d8;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 36px;
}

/* button-primary: Rosso Corsa, white, sharp 0px, uppercase tracked */
.hero-cta,
.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 36px;
  border-radius: 0;
  transition: background 0.15s;
}

.hero-cta:hover,
.cta-btn:hover {
  background: var(--primary-active);
  color: var(--on-primary);
}

/* ── Sections ── */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--sp-xxl) 32px;
}

.section-alt {
  max-width: none;
  background: #141414;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.section-alt > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  font-weight: 500;
  text-align: center;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: var(--ink);
}

.section-lead {
  text-align: center;
  color: var(--body);
  margin-bottom: var(--sp-lg);
  font-size: 1rem;
  font-weight: 400;
}

/* ── Cards (elevated dark, sharp corners) ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--canvas-elevated);
  border-radius: 0;
  padding: 36px 30px;
  border: 1px solid var(--hairline);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

.card-icon {
  margin-bottom: 18px;
  color: var(--primary);
  line-height: 0;
}

.card-icon svg {
  width: 38px;
  height: 38px;
}

.card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.card p {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--body);
  line-height: 1.65;
}

/* ── Steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step {
  background: var(--canvas-elevated);
  border-radius: 0;
  padding: 30px 26px;
  border: 1px solid var(--hairline);
  position: relative;
  text-align: center;
}

.step::before {
  counter-increment: step;
  content: "STEP " counter(step);
  display: inline-block;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: 0;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

.step p {
  font-size: 0.9rem;
  color: var(--body);
}

/* ── FAQ ── */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--canvas-elevated);
  border: 1px solid var(--hairline);
  border-radius: 0;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 26px;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  font-family: inherit;
  line-height: 1.5;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 26px 22px;
  font-size: 0.94rem;
  color: var(--body);
  line-height: 1.7;
}

/* ── CTA Banner (dark, display headline, Rosso CTA) ── */
.cta-banner {
  background: #0f0f0f;
  color: var(--ink);
  text-align: center;
  padding: var(--sp-xxl) 24px;
  border-top: 1px solid var(--hairline);
}

.cta-banner h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1rem;
  color: var(--body);
  margin-bottom: 32px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Article ── */
.article-content {
  max-width: var(--content-width);
  margin: 0 auto;
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin: 40px 0 14px;
  padding-left: 16px;
  border-left: 3px solid var(--primary);
}

.article-content p {
  margin-bottom: 16px;
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--body);
}

.article-content ul {
  margin: 0 0 16px 22px;
  font-size: 0.95rem;
  color: var(--body);
}

.article-content li {
  margin-bottom: 8px;
}

.section-photo {
  max-width: var(--content-width);
  margin: 0 auto 44px;
}

.section-photo img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.highlight-box {
  background: var(--canvas-elevated);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--primary);
  border-radius: 0;
  padding: 22px 26px;
  margin: 28px 0;
  font-size: 0.95rem;
  color: var(--body);
}

.highlight-box strong {
  color: var(--ink);
}

/* ── Footer ── */
.footer {
  background: var(--canvas);
  color: var(--body);
  text-align: center;
  padding: var(--sp-xl) 24px;
  font-size: 0.82rem;
  border-top: 1px solid var(--hairline);
}

.footer a {
  color: var(--ink);
  font-weight: 600;
}

.footer a:hover {
  color: var(--primary);
}

/* ── Fade-in ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 20px;
  }

  .hero {
    padding: 88px 22px 80px;
  }

  .section {
    padding: var(--sp-xl) 22px;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--canvas);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--hairline);
  }

  .nav-list.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}
