/* ===== Variables ===== */
:root {
  /* Luxy Brand Colors */
  --color-primary: #e7380e;
  --color-primary-dark: #c42d09;
  --color-primary-light: #faefe9;
  --color-primary-pale: #ffe3cd;
  --color-accent: #1a1a1a;
  --color-bg: #faefe9;
  --color-bg-dark: #f5e6dc;
  --color-text: #1a1a1a;
  --color-text-light: #6b6b6b;
  --color-white: #FFFFFF;
  --color-border: #d8d8d8;
  --color-gray: #a8a8a8;
  --color-gray-pale: #f2f2f2;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);

  /* Radius - employee (warm) */
  --radius: 32px;
  --radius-lg: 32px;
  --radius-sm: 16px;
  --radius-pill: 50px;

  /* Layout */
  --max-width: 1120px;
  --header-height: 56px;
  --transition: 0.3s ease;
}

/* ===== Base ===== */
html {
  font-size: 62.5%;
}

body {
  font-family: "NotoSansJP", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
  font-size: 1.4rem;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.8;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 112px 0;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* ===== Typography ===== */
h1 {
  font-family: "Poppins", "NotoSansJP", sans-serif;
  font-size: 4.0rem;
  font-weight: 700;
  line-height: 1.3;
}

h2 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.4;
}

h3 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
}

/* Luxy HP Style Section Title: Poppins large + Japanese subtitle */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title .en {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

.section-title .ja {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 8px;
}

/* Fallback for plain section-title (no .en/.ja children) */
.section-title:not(:has(.en)) {
  font-size: 2.4rem;
  font-weight: 700;
}

.section-title:not(:has(.en))::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-primary);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===== Buttons (Pill Shape - Luxy HP style) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 40px;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-lg {
  padding: 20px 56px;
  font-size: 1.8rem;
}

/* ===== Section Wave Separator (Employee sites) ===== */
.section-wave {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -1px;
}

.section-wave-bottom {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -1px;
  transform: rotate(180deg);
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-light { color: var(--color-text-light); }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.font-poppins { font-family: "Poppins", sans-serif; }

/* ===== Grid ===== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (min-width: 1100px) {
  :root {
    --header-height: 82px;
  }
  body {
    font-size: 1.6rem;
  }
}

@media (max-width: 1099px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.0rem; }
  section { padding: 80px 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .section-title .en { font-size: 3.6rem; }
}

@media (max-width: 767px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }
  section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .btn-lg { padding: 16px 32px; font-size: 1.6rem; }
  .section-title .en { font-size: 2.8rem; }
}
