/* =============================================
   Base — リセット・CSS変数・タイポグラフィ
   ============================================= */

:root {
  /* フォント */
  --font-heading: 'Figtree', sans-serif;
  --font-en: 'Figtree', sans-serif;
  --font-date: 'Oswald', 'Noto Sans JP', sans-serif;
  --font-sub: 'Barlow Semi Condensed', sans-serif;
  --font-ja: 'Noto Sans JP', sans-serif;

  /* ベースカラー */
  --color-bg: #FCFDFF;
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-gray: #33353E;           /* メインテキスト */
  --color-text: #33353E;
  --color-text-muted: #B1B1B1;     /* VIEW ALL 等 */
  --color-text-desc: #636D80;      /* 英語説明文 */
  --color-border: #000000;

  /* アクセント */
  --color-blue: #0057F9;
  --color-pink: #F90074;
  --color-green: #1CC365;

  /* ニュース／スケジュール共通カテゴリ */
  --color-cat-radio: #0057F9;    /* ラジオ — ブルー */
  --color-cat-tv: #1CC365;       /* TV — グリーン */
  --color-cat-online: #8B5CF6;   /* オンライン登壇 — バイオレット */
  --color-cat-youtube: #DC2626;  /* YouTube — レッド */
  --color-cat-lecture: #D97706;  /* 講演会 — アンバー */
  --color-cat-stage: #F90074;    /* 舞台 — ピンク */
  --color-cat-event: #0EA5A4;    /* イベント — ティール */
  --color-cat-other: #6B7280;    /* その他 — グレー */

  /* 背景 */
  --color-tab-bg: #F3F5F9;
  --color-control-bg: #F8F8F8;
  --color-recruit-bg: #AEB4BF;
  --color-footer-nav: #C7C7C7;

  /* SNSブランド */
  --color-youtube: #D40000;
  --color-x: #0A0A0A;
  --color-facebook: #202DDE;
  --color-instagram: linear-gradient(45.02deg, #FAC623 0%, #D62442 43.75%, #A5469A 77.4%, #4F2FF4 100%);

  /* スペーシング */
  --spacing-section: 120px;
  --spacing-side: 24px;
  --max-width: 1220px;

  /* フォーム */
  --color-input-bg: #E8E9F4;
  --color-required: #D40000;
  --form-max-width: 780px;

  /* CTAボタン */
  --cta-btn-width: 404px;
  --cta-btn-height: 80px;

  /* ページタイトル（英字）clamp */
  --page-title-size: clamp(40px, 5vw, 72px);
  --page-title-lh: 1.2;

  --ease-main: cubic-bezier(0.16, 1, 0.3, 1);
}

/* リセット */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-ja);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  overflow-x: hidden;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* 英語フォント */
.font-en {
  font-family: var(--font-en);
}

/* スクロールアニメーション */
[data-scroll] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-main), transform 0.6s var(--ease-main);
}

[data-scroll].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* リンクホバー */
.link-hover {
  position: relative;
  display: inline-block;

  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-main);
  }

  &:hover::after {
    transform: scaleX(1);
  }
}

/* レスポンシブ */
@media (max-width: 1024px) {
  :root {
    --spacing-side: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-section: 80px;
    --spacing-side: 16px;
  }
}

/* reCAPTCHA バッジ非表示 */
.grecaptcha-badge {
  visibility: hidden;
}
