@charset "utf-8";

/* ===================================================================
   ベーススタイル・共通設定
   ※Nature Worldの「壮大さ・高級感」を意識した配色とフォント
   =================================================================== */
body {
    margin: 0;
    /* 背景色は落ち着きのある微かなオフホワイト */
    background-color: #f9f9f9;
    color: #333333;
    font-size: 16px;
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.8;
}

img { max-width: 100%; height: auto; vertical-align: bottom; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }

/* 明朝体の見出し用クラス */
.serif-font {
    font-family: "Noto Serif JP", "Times New Roman", serif;
}

/* --- パンくずリスト --- */
.breadcrumb-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    /* 上部にJSヘッダー分の余白を空ける */
    padding: 0px 20px 15px;
}
.breadcrumb {
    list-style: none; display: flex; margin: 0; padding: 0;
    font-size: 12px; color: #888;
}
.breadcrumb-item + .breadcrumb-item::before { content: ">"; margin: 0 10px; color: #ccc; }
.breadcrumb-item a { color: #1e6287; transition: opacity 0.3s; }
.breadcrumb-item a:hover { opacity: 0.7; }


/* ===================================================================
   パララックス（視差効果）セクション
   =================================================================== */
.parallax-section {
    position: relative;
    width: 100%;
    /* 背景画像を固定してスクロール時に視差を生む要の指定 */
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* 画像を少し暗くして文字を読みやすくするオーバーレイ */
.parallax-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* ヒーローセクション（一番上） */
.hero-parallax {
    height: 70vh;
    min-height: 500px;
    margin-bottom: 60px;
    background-color: #111; /* ロード時やフェード中の背景色 */
}

/* ===================================================================
   ヒーロー背景スライドショー（クロスフェード＆ズーム）
   =================================================================== */
.hero-slideshow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-attachment: fixed; /* パララックス維持 */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    /* 24秒で1周（4枚 × 6秒） */
    animation: heroFadeZoom 24s infinite;
}

/* 4枚の画像を順番に設定し、遅延（delay）でタイミングをずらす */
.hero-slide:nth-child(1) {
    background-image: url("../images/index/top01.jpg"); /* ボリビア ウユニ */
    animation-delay: 0s;
}
.hero-slide:nth-child(2) {
    background-image: url("../images/index/top03.jpg"); /* コスタリカ */
    animation-delay: 6s;
}
.hero-slide:nth-child(3) {
    background-image: url("../images/index/top02.jpg"); /* ジョージア */
    animation-delay: 12s;
}
.hero-slide:nth-child(4) {
    background-image: url("../images/index/top04.jpg"); /* モロッコ */
    animation-delay: 18s;
}

/* フェードイン・アウトしながらゆっくりズームするアニメーション */
@keyframes heroFadeZoom {
    0% { opacity: 0; transform: scale(1); }
    8% { opacity: 1; }
    25% { opacity: 1; }
    33% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(1.05); }
}


.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 20px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.hero-title {
    font-family: "Marcellus", "Noto Serif JP", serif;
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin: 0 0 30px 0;
    line-height: 1.4;
}

.hero-title span {
    display: block;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.15em;
    margin-top: 10px;
}

.hero-text {
    font-size: 16px;
    line-height: 2.2;
    font-weight: 500;
}

/* 各エリアの区切りパララックス */
.section-divider {
    height: 35vh;
    min-height: 300px;
    margin-top: 40px;
}

.parallax-title {
    position: relative;
    z-index: 2;
    color: #fff;
    font-family: "Marcellus", "Noto Serif JP", serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.parallax-title span {
    display: block;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2em;
    margin-top: 5px;
}


/* ===================================================================
   コンテンツ（ツアー一覧）エリア
   =================================================================== */
.content-section {
    background-color: #f9f9f9;
    padding: 60px 20px 40px;
}

/* エリアごとの背景色調整（わかりやすさ向上、全デバイス共通） */
.content-section.bg-asia { background-color: #fdfbf7; } /* アジア: 微かな暖色 */
.content-section.bg-africa { background-color: #fcf8f2; } /* アフリカ: 微かな土色 */
.content-section.bg-europe { background-color: #f4f8fa; } /* 欧州・中近東: 微かな青系 */
.content-section.bg-america { background-color: #f5f9f6; } /* 北米・中南米: 微かな緑系 */
.content-section.bg-theme { background-color: #f8f6f9; } /* 目的別: 微かな紫系 */

/* ツアーグリッド（PCは3列） */
.tour-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 50px 30px;
}

/* 個別のツアーアイテム（カードレス） */
.tour-item {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.tour-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tour-thumb {
    border-radius: 8px; /* エコより角を少しシャープにして高級感を */
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    aspect-ratio: 4 / 3;
    background-color: #eee;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.tour-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tour-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tour-title {
    font-family: "Noto Serif JP", serif; /* タイトルは明朝体 */
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #111;
    transition: color 0.3s;
}

.tour-desc {
    font-size: 14px;
    color: #555;
    margin: 0 0 20px 0;
    line-height: 1.7;
    flex-grow: 1;
}

.tour-more {
    font-size: 13px;
    color: #1e6287; /* ネイチャーのテーマカラーに近いブルー系 */
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s;
}
.tour-more::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s;
}

/* --- その他のリンク用（テキストカード） --- */
.other-links-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.other-links-card .tour-title {
    font-size: 18px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.other-links-list {
    list-style: none;
    padding: 0; margin: 0 0 20px 0;
    flex-grow: 1;
}
.other-links-list li {
    font-size: 14px; color: #555;
    margin-bottom: 8px;
    padding-left: 12px;
    position: relative;
}
.other-links-list li::before {
    content: ''; position: absolute; left: 0; top: 8px;
    width: 4px; height: 4px; border-radius: 50%; background: #1e6287;
}
.tour-more-btn {
    display: inline-block;
    background: #1e6287; color: #fff;
    font-size: 13px; font-weight: bold;
    text-align: center;
    padding: 12px 0; border-radius: 4px;
    transition: background 0.3s;
}
.tour-more-btn:hover { background: #154661; color: #fff; }


/* ===================================================================
   PC用レイアウト上書き設定 & ホバーエフェクト
   =================================================================== */
@media screen and (min-width: 769px) {

    /* PCは均等な3列グリッド */
    .tour-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* ホバー時のアクション */
    .tour-item:hover {
        transform: translateY(-8px);
    }
    .tour-link:hover .tour-thumb img {
        transform: scale(1.05);
    }
    .tour-link:hover .tour-title {
        color: #1e6287;
    }
    .tour-link:hover .tour-more::after {
        transform: translateX(5px);
    }
    
    .other-links-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    }
}