/* ==========================================================================
   nextwave-energy.com — Starbucks DESIGN.md 準拠（プーケットのビーチ挙式）
   warm cream #f2f0eb / four-tier green / full-pill 50px / 12px cards / soft shadow
   ========================================================================== */

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

:root {
  --primary: #00754a;        /* Green Accent — CTA */
  --primary-active: #006241; /* Starbucks Green */
  --brand: #006241;          /* Starbucks Green — headings/brand */
  --house: #1e3932;          /* House Green — dark bands / footer */
  --gold: #cba258;
  --green-light: #d4e9e2;

  --canvas: #f2f0eb;         /* warm cream page canvas */
  --ceramic: #edebe9;
  --white: #ffffff;

  --ink: rgba(0, 0, 0, 0.87);
  --body: rgba(0, 0, 0, 0.58);
  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, 0.7);

  --r-card: 12px;
  --r-pill: 50px;
  --card-shadow: 0 0 0.5px rgba(0, 0, 0, 0.14), 0 1px 1px rgba(0, 0, 0, 0.24);
  --card-shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.12), 0 6px 12px rgba(0, 0, 0, 0.1);

  --serif: "Noto Serif JP", "Lora", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;

  --max-width: 1200px;
  --content-width: 1000px;
}

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

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ── Header (cream, soft three-layer lift) ── */
.header {
  background: var(--canvas);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.06), 0 0 2px rgba(0, 0, 0, 0.07);
}

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

.logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0;
}

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

.nav-list a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.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 (cream, serif headline, green pill CTA, rounded photo) ── */
.hero {
  background: var(--canvas);
  text-align: center;
  padding: 80px 24px 16px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--brand);
  max-width: 880px;
  margin: 0 auto 20px;
}

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

.hero p {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--body);
  line-height: 1.75;
  max-width: 660px;
  margin: 0 auto 32px;
}

/* button-primary: Green Accent fill, white, full pill */
.hero-cta,
.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--on-dark);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 36px;
  border-radius: var(--r-pill);
  border: 1px solid var(--primary);
  transition: transform 0.15s, background 0.2s;
}

.hero-cta:active,
.cta-btn:active {
  transform: scale(0.96);
}

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

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

.hero-photo img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--r-card);
  box-shadow: var(--card-shadow);
  display: block;
}

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

/* white content band on cream */
.section-alt {
  max-width: none;
  background: var(--white);
}

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

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0;
  margin-bottom: 12px;
  color: var(--brand);
}

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

/* ── Cards (white, 12px, soft shadow) ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 34px 30px;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.card-icon {
  margin-bottom: 16px;
  color: var(--gold);
  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.94rem;
  font-weight: 400;
  color: var(--body);
  line-height: 1.7;
}

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

.step {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 30px 26px;
  box-shadow: var(--card-shadow);
  position: relative;
  text-align: center;
}

.step::before {
  counter-increment: step;
  content: "STEP " counter(step);
  display: inline-block;
  background: var(--primary);
  color: var(--on-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}

.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: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--r-card);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.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.4rem;
  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.95rem;
  color: var(--body);
  line-height: 1.75;
}

/* ── CTA Banner (House Green dark band) ── */
.cta-banner {
  background: var(--house);
  color: var(--on-dark);
  text-align: center;
  padding: 80px 24px;
}

.cta-banner h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--on-dark);
}

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

/* white-filled, green text on dark green band */
.cta-banner .cta-btn {
  background: var(--white);
  color: var(--primary-active);
  border-color: var(--white);
}

.cta-banner .cta-btn:hover {
  background: var(--green-light);
  color: var(--primary-active);
}

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

.article-content h3 {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--brand);
  margin: 38px 0 14px;
}

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

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

.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: 440px;
  object-fit: cover;
  border-radius: var(--r-card);
  box-shadow: var(--card-shadow);
  display: block;
}

.highlight-box {
  background: rgba(212, 233, 226, 0.4);
  border-left: 4px solid var(--primary);
  border-radius: var(--r-card);
  padding: 22px 26px;
  margin: 26px 0;
  font-size: 0.96rem;
  color: var(--ink);
}

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

/* ── Footer (House Green) ── */
.footer {
  background: var(--house);
  color: var(--on-dark-soft);
  text-align: center;
  padding: 48px 24px;
  font-size: 0.85rem;
}

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

.footer a:hover {
  color: #e0cfa6;
}

/* ── 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: 56px 22px 8px;
  }

  .section {
    padding: 52px 22px;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--canvas);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    box-shadow: var(--card-shadow);
  }

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

  .nav-toggle {
    display: block;
  }

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

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