/* =============================================================================
   components.css / 全ページ共通コンポーネント
   - .page-hero（contact/company/privacy 系のシンプルヒーロー）
   - .section / .section-inner / .section--light/--sand
   - .section-lead-block
   - .btn-primary / .btn-dark / .btn-outline / .btn-ghost
   - .reveal（スクロール連動フェードイン）
   ============================================================================= */

/* =============================================================================
   01. ページヒーロー（contact / company / privacy 系）
   ============================================================================= */
.page-hero {
  position: relative;
  padding: 160px 40px 80px;
  background: linear-gradient(180deg, var(--midnight) 0%, var(--deep-sea) 100%);
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 196, 182, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .section-eyebrow {
  font-family: var(--ff-label);
  font-size: 13px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--turquoise);
  margin-bottom: 16px;
}
.page-hero .section-heading {
  font-family: var(--ff-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 300;
  color: #fff;
  letter-spacing: 4px;
  line-height: 1.3;
  margin-bottom: 20px;
}
.page-hero .hero-sub {
  font-family: var(--ff-body);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* =============================================================================
   02. セクションベース
   ============================================================================= */
.section {
  padding: 96px 40px;
}
.section--light { background: var(--cream); }
.section--sand  { background: var(--sand-light); }

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-lead-block {
  text-align: center;
  margin-bottom: 56px;
}
.section-lead-block .section-eyebrow {
  font-family: var(--ff-label);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}
.section-lead-block .section-heading {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  letter-spacing: 3px;
  line-height: 1.4;
  color: var(--ink);
}

/* =============================================================================
   03. スクロール連動フェードイン
   ============================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* reduced-motion: アニメーションを無効化 */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =============================================================================
   04. レスポンシブ：section の左右 padding を縮小
   ============================================================================= */
@media (max-width: 768px) {
  .section { padding: 64px 20px; }
  .page-hero { padding: 120px 20px 56px; }
}

@media (max-width: 380px) {
  .section { padding: 48px 14px; }
  .page-hero { padding: 100px 16px 40px; }
  .page-hero .section-heading { font-size: 26px; letter-spacing: 2px; }
  .page-hero .hero-sub { font-size: 13px; }
}
