/* =====================================================
   Front Page Styles
   ===================================================== */

/* ── Layout ─────────────────────────────────────── */
.l-main--front {
  background: var(--color-bg);
}

.full-width-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* =====================================================
   Section 共通
   ===================================================== */
.front-section {
  padding-block: clamp(5rem, 10vw, 9rem);
}

/* eyebrow + title の組み合わせ */
.front-section__eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
}

/* =====================================================
   Hero
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__bg img,
.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* グラデーションオーバーレイ */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.15) 55%,
    rgba(0, 68, 56, 0.45) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(4rem, 10vh, 10rem) 24px;
}

.hero__title {
  font-family: var(--font-cursive);
  font-weight: 900;
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-rendering: optimizeLegibility;
  margin: 0 0 1rem;
}

.hero__subtitle {
  font-family: var(--font-cursive);
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  opacity: 0.85;
  letter-spacing: 0.06em;
  margin: 0 0 1.5rem;
}

.hero__text {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  line-height: 1.85;
  margin: 0 0 2.5rem;
  opacity: 0.88;
  max-width: 540px;
}

/* CTA buttons */
.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* GSAP mask animation */
.mask   { display: block; overflow: hidden; }
.reveal { display: block; transform: translateY(100%); }

/* =====================================================
   Reasons（選ばれる理由）
   ===================================================== */
.reasons {
  padding-block: clamp(5rem, 10vw, 9rem);
  background: var(--color-bg-soft);
}

.reasons .l-container {
  text-align: center;
}

.reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: 0;
}

.reason-card {
  padding: clamp(1.75rem, 3vw, 2.5rem) 1.5rem;
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid transparent;
  transition:
    transform 0.3s cubic-bezier(0.2, 0, 0, 1),
    box-shadow 0.3s cubic-bezier(0.2, 0, 0, 1),
    border-color 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: color-mix(in srgb, var(--color-secondary) 30%, transparent);
}

.reason-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.reason-card img {
  height: 56px;
  width: auto;
  transition: transform 0.3s ease;
}

.reason-card:hover img {
  transform: scale(1.1);
}

.reason-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.reason-card p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin: 0;
}

/* =====================================================
   Featured Products
   ===================================================== */
.featured-products {
  padding-block: clamp(5rem, 10vw, 9rem);
  background: var(--color-bg);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

/* =====================================================
   Bottom CTA
   ===================================================== */
.bottom-cta {
  padding-block: clamp(5rem, 10vw, 9rem);
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 背景の装飾サークル */
.bottom-cta::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.bottom-cta::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  bottom: -150px;
  left: -50px;
  pointer-events: none;
}

.bottom-cta .l-container {
  position: relative;
  z-index: 1;
}

.bottom-cta h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.bottom-cta p {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  line-height: 1.8;
  opacity: 0.85;
  margin: 0 0 2.5rem;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.bottom-cta__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 992px) {
  .reasons__grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 85vh;
  }

  .hero__cta {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
