/*
 * Discover Hiroshima & Beyond
 * WordPress準備用リファクタリング版CSS
 * シンプルで保守しやすく、デザインは完全維持
 */

/* ==========================================
   1. CSS変数とリセット
   ========================================== */
:root {
    /* カラーパレット */
    --primary: #c41e3a;
    --secondary: #1a5490;
    --accent: #f4a460;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --white: #ffffff;
    --gray: #7f8c8d;
    --light-gray: #f8f9fa;
    --success: #27ae60;
    
    /* フォント */
    --font-body: 'Merriweather', serif;
    --font-heading: 'Merriweather', serif;
    
    /* エフェクト */
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ==========================================
   2. レイアウト基本
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 5rem 0;
}

/* ==========================================
   3. ヘッダーとナビゲーション
   ========================================== */
/* ==========================================
   3. ヘッダーとナビゲーション
   ========================================== */

/* ===== ヘッダー固定 ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

/* ===== ヘッダー内レイアウト修正 ===== */
/* ここが重要修正ポイント */
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;              /* 高さを固定 */
    padding: 0 1rem;           /* 上下padding削除 */
}

/* ===== ロゴ ===== */
.header-logo {
    height: 50px;
    width: auto;
    display: block;
}

/* ===== ブランド ===== */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* アイコンは使わないなら削除OK */
.nav-brand i {
    font-size: 1.8rem;
}

/* ===== メニュー ===== */
.nav-list {
    display: flex;
    gap: 1rem;
    align-items: center;
    list-style: none;   /* ← 追加 */
    margin: 0;          /* ← 追加 */
    padding: 0;         /* ← 追加 */
}

.nav-list a {
    font-weight: 900;
    color: var(--dark);
    padding: 0.5rem 0;
    position: relative;
    text-decoration: none;  /* ← 追加 */
    letter-spacing: -0.2px; /* ← 文字幅狭く */
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary);
}

/* 下線アニメーション */
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;   /* 少し下に */
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

/* ===== ハンバーガー ===== */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: var(--transition);
}

/* ===== ヘッダー固定分の余白 /ヘッダー下の余白はここで調整した ===== */
body {
    padding-top: 0px;
}


/* ==========================================
   4. ヒーローセクション
   ========================================== */
   .hero {
    position: relative;
    overflow: visible;
    padding-top: 550px;
    padding-bottom: 550px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}


.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.hero-body {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--white);
}

.hero-figure {
    max-width: 800px;
    margin: 0 auto 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.hero-img {
    width: 100%;
    height: auto;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* ==========================================
   5. ボタン
   ========================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background: #a01729;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* ==========================================
   6. セクション共通スタイル
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-text {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================
   7. 特徴カード（6つのカテゴリ）
   ========================================== */
.features {
    background: var(--light-gray);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.card-text {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.card-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link:hover {
    gap: 1rem;
}

/* ==========================================
   8. 統計セクション
   ========================================== */
.stats {
    background: var(--dark);
    color: var(--white);
}

.stats .section-title {
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat {
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.stat-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-text {
    color: var(--light);
}

/* ==========================================
   9. ビデオセクション
   ========================================== */
.video-section {
    background: var(--light-gray);
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-placeholder {
    background: var(--dark);
    color: var(--white);
    padding: 5rem 2rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.video-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

/* ==========================================
   10. CTAセクション
   ========================================== */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ==========================================
   11. フッター
   ========================================== */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-text {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.footer-list li {
    margin-bottom: 0.8rem;
}

.footer-list a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-list i {
    margin-right: 0.5rem;
    color: var(--accent);
}

.social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================
   12. レスポンシブ
   ========================================== */
@media (max-width: 968px) {
    .nav-list {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-list li {
        padding: 1rem 0;
        width: 100%;
    }

    .nav-list.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

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

    .cta-title {
        font-size: 2rem;
    }

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

/* ===== FOOTER：見出し（太字タイトル）を確実に復活させる ===== */
footer.footer .footer-title,
footer.footer h4.footer-title,
footer.footer .footer-col h4{
  display: block;
  color: #fff;                 /* 背景と同化しないように固定 */
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.2;
  margin: 0 0 1.5rem;
}

/* 本文も白寄りで安定 */
footer.footer .footer-text,
footer.footer .footer-col p,
footer.footer .footer-list li{
  color: rgba(255,255,255,0.92);
}

/* リストの左ズレ原因を消す（ulのデフォルトpadding対策） */
footer.footer .footer-list{
  list-style: none;
  padding-left: 0;
  margin: 0;
}

/* リンクの色も継承して白に */
footer.footer .footer-list a{
  color: inherit;
  text-decoration: none;
}

/* 念のため、下のコピーライトも白に */
footer.footer .footer-bottom{
  color: rgba(255,255,255,0.9);
}

/* ==========================================
   FOOTER（全ページ共通・最終版）
   ・背景は左右いっぱい（full-bleed）
   ・中身は中央寄せ
   ・3カラムのブロック自体も中央に来る
   ========================================== */


  /* 中身の最大幅＋中央寄せ */
  .footer .footer-inner{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
  }
  
  /* 3カラムの「箱」を中央に寄せる（←これが効く） */
  .footer .footer-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
  
    /* 各カラム自体を中央に */
    justify-items: center;
  }
  
  /* 文字も中央寄せ（必要最小限） */
  .footer .footer-col{
    text-align: center;
    width: 100%;
    max-width: 360px;
  }
  
  .footer .footer-col h4{
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
  }
  
  .footer .footer-list{
    list-style: none;
    padding: 0;
    margin: 0;
  
    /* リスト項目を中央に */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
  
  /* 下段 */
  .footer .footer-bottom{
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  
  /* レスポンシブ */
  @media (max-width: 968px){
    .footer .footer-grid{
      grid-template-columns: 1fr;
      justify-items: center;
    }
  }
  
  /* 念のため横スクロール抑制（必要なら残す） */
  html, body{
    overflow-x: hidden;
  }
  
