/* ========================================
   共通CSS - カラー・フォント・リセット
   ======================================== */

/* ── CSS変数（デザイントークン）────────── */
:root {
  /* カラーパレット（デザイン画像から抽出）*/
  --clr-primary:    #5488d3;  /* メインブルー */
  --clr-primary-dk: #3A6AAC;  /* ダークブルー */
  --clr-primary-dbg: #89cfeb;  /* ブルー背景 */
  --clr-primary-lt: #D6EAF8;  /* ライトブルー背景 */
  --clr-accent:     #FFC72C;  /* イエロー（CTA・アクセント）*/
  --clr-accent-dk:  #E5B328;  /* ダークイエロー */
  --clr-sky:        #A8D5F2;  /* スカイブルー（背景）*/
  --clr-white:      #FFFFFF;
  --clr-text:       #333333;  /* 本文テキスト */
  --clr-text-lt:    #666666;  /* ライトテキスト */
  --clr-border:     #E0E0E0;  /* ボーダー */
  --clr-bg-gray:    #F8F9FA;  /* 背景グレー */

  /* タイポグラフィ */
  --font-jp:        'Zen Maru Gothic', sans-serif;
  --font-en:        'M PLUS Rounded 1c', sans-serif;

  /* スペーシング */
  --space-xs:   8px;
  --space-sm:   16px;
  --space-md:   24px;
  --space-lg:   48px;
  --space-xl:   80px;
  --space-2xl:  120px;

  /* 角丸 */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-pill: 50px;

  /* アニメーション */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-btn:   cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:   200ms;
  --dur-mid:    350ms;
  --dur-slow:   600ms;

  /* レイアウト */
  --max-width:  1440px;
  --container:  1200px;
}

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

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

body {
  font-family: var(--font-jp);
  color: var(--clr-text);
  background: var(--clr-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 700; /* 本文テキストをBoldに */
}

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

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

ul, ol {
  list-style: none;
}

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

/* ── コンテナ ────────────────────────── */
.container {
  width: 90%;
  max-width: var(--container);
  margin: 0 auto;
}

/* ── セクション共通スタイル ────────────── */
section {
  padding: var(--space-xl) 0;
}

.section-head {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--clr-primary);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-family: var(--font-jp);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1.4;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--clr-text-lt);
  margin-top: var(--space-sm);
  line-height: 1.8;
}

/* ── セクションタイトル ────────────────── */
.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--clr-primary);
  font-weight: 700;
  margin-bottom: var(--space-xl);
  line-height: 1.4;
}

.section-title-en {
  display: block;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--clr-text);
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--clr-text-lt);
  margin-bottom: var(--space-lg);
}

/* ── ボタン ────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center; /* 中央揃え */
  gap: 10px;
  padding: 16px 40px;
  width: 256.41px; /* 統一サイズ */
  border-radius: 10px; /* 角丸10px */
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: background var(--dur-mid) var(--ease-btn),
              color var(--dur-mid) var(--ease-btn),
              box-shadow var(--dur-mid) var(--ease-btn),
              transform var(--dur-fast);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--clr-accent);
  color: var(--clr-text);
  box-shadow: 0 4px 14px rgba(255, 199, 44, 0.35);
}

/* ネガポジ反転 */
.btn--primary:hover {
  background: var(--clr-text);
  color: var(--clr-accent);
  box-shadow: 0 6px 24px rgba(51, 51, 51, 0.3);
  transform: translateY(-2px);
}

.btn--secondary {
  background: var(--clr-primary);
  color: var(--clr-white);
  box-shadow: 0 4px 14px rgba(84, 136, 211, 0.35);
}

.btn--secondary:hover {
  background: var(--clr-white);
  color: var(--clr-primary);
  box-shadow: 0 6px 24px rgba(84, 136, 211, 0.4);
  transform: translateY(-2px);
}

/* 矢印アイコン（10px右移動）*/
.btn-arrow {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 800; /* ExtraBold */
  transition: transform var(--dur-mid) var(--ease-btn);
  font-size: 1.2em;
}

.btn:hover .btn-arrow {
  transform: translateX(10px);
}

/* ── スクロールフェードイン ────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(60px); /* より大きく下から */
  transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), /* バウンス効果 */
              transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: 0.3s; /* 待ち時間を長く */
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── レスポンシブ - モバイル ────────────── */
@media (max-width: 600px) {
  :root {
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
  }

  section {
    padding: var(--space-lg) 0;
  }

  .btn {
    width: 219.09px; /* スマホサイズ */
    padding: 14px 28px;
    font-size: 0.92rem;
  }
}

/* 愛知県発着バッジ */
.hero-badge {
  position: absolute;
  top: 240px;
  left: 500px;
  animation: float-badge 2s ease-in-out infinite;
}

.hero-badge-circle {
  width: 150px;
  height: 150px;
  background-color: #A8D5F2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.hero-badge-text {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #FFFFFF;
  text-align: center;
  line-height: 1.4;
}


/* 愛知県発着バッジ フッター*/
.footer-badge {
  position: absolute;
  top: 130px;
  left: 230px;
  animation: float-badge 2s ease-in-out infinite;
}

.footer-badge-circle {
  width: 80px;
  height: 80px;
  background-color: #A8D5F2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
}

.footer-badge-text {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #FFFFFF;
  text-align: center;
  line-height: 1.4;
}

/* ── レスポンシブ ────────────────────────── */
@media (max-width: 900px) {
  .hero-badge {
  top: 160px;
  left: 450px;
}
  .footer-badge {
  top: 130px;
  left: 230px;
}
.hero-badge-circle {
  width: 120px;
  height: 120px;
  border: 1px solid #fff;
}
.hero-badge-text {
  font-size: 18px;
}
}

@media (max-width: 600px) {
  .hero-badge {
  top: 160px;
  left: 300px;
}
.hero-badge-circle {
  width: 100px;
  height: 100px;
  border: 1px solid #fff;
}

.hero-badge-text {
  font-size: 16px;
}
  .footer-badge {
  top: 130px;
  left: 200px;
}
.footer-badge-circle {
  width: 60px;
  height: 60px;
}

.footer-badge-text {
  font-size: 14px;
}
}

@keyframes float-badge {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}