/* 基本設定 */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.8;
    background: #fff;
}

/* ヘッダー */
.main-header {
    position: fixed;
    top: 0; width: 100%; height: 80px;
    background: rgba(255,255,255,0.9);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
}
.header-container {
    width: 90%; max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}

.logo {
    margin-right: auto; /* 強制的に左側に寄せます */
    display: flex;
    align-items: center;
}
.logo img {
    height: 60px; /* ロゴの大きさ。ここを変えるとヘッダーの幅も自動で調整されます */
    width: auto;
    display: block;
    }

.main-nav ul { display: flex; list-style: none; gap: 25px; }
.main-nav a { text-decoration: none; color: #333; font-weight: bold; font-size: 0.9rem; }
.nav-contact { background: #38b6ff; color: #fff !important; padding: 8px 20px; border-radius: 5px; }

/* 1. ヒーロー（スライド） */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; }
.slider { position: absolute; top: 0; width: 100%; height: 100%; z-index: -1; }
.slide { position: absolute; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; animation: fadeLoop 24s infinite; /* 合計24秒でループ */ }


.slide1 { animation-delay: 0s; } .slide2 { animation-delay: 4s; } .slide3 { animation-delay: 8s; } .slide4 { animation-delay: 12s; } .slide5 { animation-delay: 16s; } .slide6 { animation-delay: 20s; }
@keyframes fadeLoop { 0% { opacity: 0; } 10% { opacity: 1; } 33% { opacity: 1; } 43% { opacity: 0; } 100% { opacity: 0; } }
.main-copy { font-family: 'Noto Serif JP', serif; font-size: 2.8rem; margin-bottom: 20px; }
.sub-copy {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem; /* ← この数字を大きくすると英文が大きくなります */
    font-style: italic; /* 斜体（イタリック）の設定 */
    letter-spacing: 0.05em; /* 文字の間隔 */
    text-shadow: 0 0 10px rgba(0,0,0,0.3); /* 文字を読みやすくする影 */
}

/* 2. コンセプト */
.concept-section { padding: 120px 20px; text-align: center; }
.en-label { color: #38b6ff; font-weight: bold; letter-spacing: 0.2em; display: block; margin-bottom: 20px; }
.concept-title { font-family: 'Noto Serif JP', serif; font-size: 2.2rem; line-height: 1.4; margin-bottom: 40px; }
.concept-text { max-width: 700px; margin: 0 auto 40px; font-size: 1.1rem; }
.btn-standard { text-decoration: none; color: #333; border: 1px solid #333; padding: 12px 40px; display: inline-block; transition: 0.3s; }
.btn-standard:hover { background: #333; color: #fff; }

/* 3. カテゴリーナビ */
.category-nav { display: flex; height: 500px; }
.category-item { flex: 1; position: relative; overflow: hidden; }
.cat-img { width: 100%; height: 100%; background-size: cover; background-position: center; transition: 0.8s; }
.category-item:hover .cat-img { transform: scale(1.1); }
.cat-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff; text-align: center; pointer-events: none; }
.cat-text span { font-size: 0.9rem; letter-spacing: 0.3em; }
.cat-text h4 { font-family: 'Noto Serif JP', serif; font-size: 2rem; margin-top: 10px; }

/* 4. NEWS */
.news-section { padding: 100px 20px; background: #f9f9f9; }
.news-list { list-style: none; max-width: 800px; margin: 40px auto 0; }
.news-list li { border-bottom: 1px solid #ddd; padding: 20px 0; }
.news-list a { display: flex; text-decoration: none; color: #333; align-items: center; }
.date { font-weight: bold; margin-right: 20px; color: #888; }
.label { background: #38b6ff; color: #fff; font-size: 0.7rem; padding: 2px 8px; margin-right: 20px; }

/* 5. CONTACT */
.contact-footer { padding: 100px 20px; text-align: center; background: #38b6ff; color: #fff; }
.btn-cta { text-decoration: none; background: #fff; color: #38b6ff; padding: 15px 50px; border-radius: 50px; display: inline-block; margin-top: 30px; font-weight: bold; }

.footer-bar { padding: 40px; text-align: center; font-size: 0.8rem; }

@media (max-width: 768px) {
    .category-nav { flex-direction: column; height: 800px; }
    .main-copy { font-size: 1.8rem; }
    .sub-copy { font-size: 1.0rem; }
}


/* ヘッダーアイコン、トップページツアー、イベント、レンタサイクル、インスタフィード */

/* インスタアイコン調整 */
.nav-instagram {
    display: flex;
    align-items: center;
    color: #333;
    transition: color 0.3s;
}
.nav-instagram:hover { color: #38b6ff; }

/* ハイライトセクション */
.highlight-block {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto 120px;
    padding: 0 20px;
}
.highlight-block.reverse { flex-direction: row-reverse; }

.highlight-image { flex: 1; overflow: hidden; border-radius: 5px; }
.highlight-image img { width: 100%; height: auto; display: block; transition: 0.5s; }
.highlight-block:hover .highlight-image img { transform: scale(1.05); }

.highlight-text { flex: 1; }
.highlight-title { font-family: 'Noto Serif JP', serif; font-size: 1.8rem; margin: 15px 0 25px; line-height: 1.5; }
.highlight-text p { margin-bottom: 30px; color: #555; }

/* ボタン（リンク枠）の調整 */
.btn-more {
    display: inline-block; /* 幅を中身（画像）に合わせる */
    margin-top: 20px;      /* 説明文との間隔 */
    text-align: left;      /* 左寄せ */
    transition: 0.3s;
}

/* 中の画像自体の大きさを調整 */
.btn-more img {
    /* ここでボタンの大きさを直接指定します */
    width: 220px;         /* 好きなサイズ（px）に変えてください */
    height: auto;         /* 比率は維持 */
    display: block;
}

/* マウスを乗せた時の動き（ふわっと浮き上がる） */
.btn-more:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}
/* レンタサイクルリンク */
.rental-link {
    display: block;
    margin-top: 15px;
    font-size: 0.8rem;
    color: #888;
    text-decoration: underline;
    transition: color 0.3s;
}
.rental-link:hover { color: #38b6ff; }

/* Instagram埋め込みエリアのレスポンシブ設定 */
.insta-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}

/* スマホ表示の調整 */
@media (max-width: 768px) {
    .highlight-block, .highlight-block.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }
    .highlight-title {
        font-size: 1.5rem;
    }
}

/* インスタ誘導ボタンのボックス */
.insta-lead-box {
    max-width: 600px;
    margin: 0 auto 30px; /* ウィジェットとの間隔 */
    text-align: center;
}

.insta-click-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #38b6ff; /* ロゴの色で縁取り */
    color: #333;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(56, 182, 255, 0.1);
}

.insta-icon {
    margin-right: 12px;
    color: #38b6ff;
    display: flex;
    align-items: center;
}

.click-text {
    margin-left: 10px;
    color: #38b6ff;
    border-bottom: 1px solid #38b6ff;
    font-size: 0.85rem;
}

/* ホバー（マウスを乗せた時）の動き：躍動感 */
.insta-click-btn:hover {
    background: #38b6ff;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(56, 182, 255, 0.3);
}

.insta-click-btn:hover .insta-icon,
.insta-click-btn:hover .click-text {
    color: #fff;
    border-color: #fff;
}

/* スマホの場合 */

@media (max-width: 768px) {
    .insta-click-btn {
        flex-direction: column;
        gap: 8px;
        font-size: 0.85rem;
    }
    .insta-icon { margin-right: 0; }
}

/* --- 全機種共通のレスポンシブ基盤 --- */
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

    /* 1. スライドショーの高さを固定せず、横幅100%に合わせる */
    .hero {
        height: auto !important; /* 画面固定を解除 */
        aspect-ratio: 16 / 9;   /* 写真の比率を維持（縮小版のような見せ方） */
        min-height: 250px;      /* 小さくなりすぎないための最低限の高さ */
        margin-top: 80px;       /* ヘッダーに隠れないよう調整 */
    }

    /* 2. スライドの中身を、親要素（hero）の高さに合わせる */
    .slider, .slide {
        height: 100% !important;
    }

   /* 3. 文字サイズを画面幅に合わせて微調整 */
    .main-copy {
        font-size: 1.1rem !important; /* 小さな写真の中でもはみ出さないサイズ */
        margin-bottom: 5px !important;
        line-height: 1.3 !important;
    }

    .sub-copy {
        font-size: 0.65rem !important;
        letter-spacing: 0.02em !important;
    }




/* 2. ハイライトセクション（TOUR/EVENT）のスマホ対応 */
.highlight-block {
    display: flex;
    flex-wrap: wrap; /* 横幅が足りない時に折り返す */
    gap: 40px;
    margin-bottom: 80px;
}

/* 3. インスタ誘導バナーの2段調整 */
.insta-btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

.insta-text-main {
    line-height: 1.4;
    font-size: 1rem;
}

.sp-only { display: none; } /* デフォルトは非表示 */

/* トップページタイトルをデスクトップ版は大きく表示*/
/* 1. タイトル全体のコンテナ */
.hero-text {
    width: 80% !important; /* 横幅を広げて余裕を持たせる */
    max-width: 1000px;
    text-align: center;
}

/* 2. メインコピー（「帰ってきたい」場所がある。） */
.main-copy {
    /* 現在より一回り大きく。3rem〜3.5rem程度がPCでは映えます */
    font-size: 3.2rem !important; 
    font-weight: 700; /* 少し太くして存在感を出す */
    line-height: 1.6;
    margin-bottom: 15px;
    
    /* 写真に文字が埋もれないよう、薄く影をつけると高級感が出ます */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3); 
}

/* 3. サブコピー（英字部分など） */
.sub-copy {
    font-size: 1.2rem !important;
    letter-spacing: 0.15em; /* 文字の間隔を広げてスタイリッシュに */
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

/* ロゴのサイズアップ */
.logo img {
    height: 79px !important; /* 現在より一回り大きく設定（お好みで100px程度まで可） */
    width: auto;
    transition: transform 0.3s ease;
}

/* ロゴにマウスを乗せた時に少し浮く演出（隠し味） */
.logo img:hover {
    transform: scale(1.05);
}



/* --- モバイル専用設定（画面幅 768px 以下） --- */
@media (max-width: 768px) {
    /* ヘッダーのロゴをスマホで見やすく */
    .logo img { height: 45px; }

    /* メインコピーのサイズダウン（全機種で1画面に収める） */
    .main-copy {
        font-size: 1.6rem !important;
        padding: 0 10px;
        line-height: 1.3;
    }
    .sub-copy {
        font-size: 0.9rem !important;
    }

    /* ハイライトブロックを縦並びに */
    .highlight-block, .highlight-block.reverse {
        flex-direction: column;
        gap: 20px;
    }
    
    .highlight-image, .highlight-text {
        width: 100%;
        flex: none;
    }

    /* 「詳しく見る」画像ボタンをスマホで押しやすいサイズに */
    .btn-more img {
        width: 150px;
    }

    /* インスタバナーをスマホで2段＋2段に最適化 */
    .insta-btn-content {
        flex-direction: column;
        text-align: center;
    }
    
    .sp-only { display: block; } /* スマホの時だけ強制改行 */

    .insta-text-main {
        font-size: 0.9rem;
        margin: 5px 0;
    }
}

/* --- 極小スマホ（iPhone SEなど）向けの微調整 --- */
@media (max-width: 375px) {
    .main-copy { font-size: 1.4rem !important; }
    .highlight-title { font-size: 1.4rem; }
}

/* --- スマホ専用設定 (768px以下) --- */
@media (max-width: 768px) {
    @media (max-width: 768px) {
    /* 1. 全体設計：横幅からはみ出さないように固定 */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    /* 2. ヘッダー：ロゴとメニューを対比配置 */
    .main-header {
        height: 60px; /* 少しスリムに */
        padding: 0 4vw; /* 画面幅に応じて余白を自動調整 */
    }

    .header-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo img {
        height: 35px; /* ロゴも少し小さめに */
    }

    /* 3. スライドショー：デスクトップの縮小版（横長維持） */
    .hero {
        height: auto !important;
        aspect-ratio: 16 / 9; /* 横長比率を維持 */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 60px;
    }

    /* 4. 文字サイズ：画面幅に応じて自動で大きさが変わる設定 */
    .main-copy {
        /* 画面幅(vw)を基準にすることで、スマホサイズに合わせて自動縮小されます */
        font-size: 5.5vw !important; 
        line-height: 1.5 !important;
        white-space: nowrap; /* 改行させず一行で縮小表示 */
    }

    .sub-copy {
        font-size: 3vw !important;
        margin-top: 10px;
    }

    /* 5. ハイライトブロック（TOUR/EVENT）：デスクトップの縮小イメージ */
    .highlight-block {
        flex-direction: column !important; /* スマホでは縦に並べるが、幅は100% */
        gap: 5vw;
        padding: 0 5vw;
        margin-bottom: 10vh;
    }

    .highlight-image, .highlight-text {
        width: 100% !important;
    }

    .highlight-title {
        font-size: 5vw; /* タイトルも画面幅連動 */
    }

    /* 6. インスタバナー：ボタンも自動縮小 */
    .insta-click-btn {
        width: 90%;
        margin: 0 auto;
        padding: 4vw !important;
        font-size: 3.5vw !important;
        flex-direction: column !important;
    }

    /* --- ヘッダーの対比配置 --- */
    .header-container {
        display: flex !important;
        justify-content: space-between !important; /* ロゴとボタンを左右に分ける */
        align-items: center !important;
        padding: 0 5vw !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* --- 消えてしまった三本線ボタンを再定義 --- */
    .menu-toggle {
        display: flex !important; /* 強制的に表示 */
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 2000;
        position: relative;
    }

    /* 三本線の「棒」を作る */
    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #38b6ff; /* ロゴに合わせたブルー */
        transition: 0.3s;
        border-radius: 2px;
    }

  




    @media (max-width: 768px) {
    /* スマホ版タイトル、ちょうどいいサイズに固定 */
    .logo img {
        height: 45px !important; /* スマホで見栄えが良いサイズ */
        width: auto;
    }
    
    /* スマホのタイトルサイズ（縮小版として維持） */
    .hero-text {
        font-size: 5.5vw !important; 
        text-align: center;
    }
}

        /* 1. ヘッダー：どのスマホでも見切れない「ゆとり」設計 */
    .main-header {
        height: 70px;
        padding: 0 5vw; /* 左右に画面幅5%の余白を強制 */
    }

    .header-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0;
    }

    /* メニューボタン：見切れないよう右余白を調整 */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        z-index: 2000;
        margin-right: 2vw; /* 右端ギリギリにならないよう調整 */
    }

    /* 2. メニュー本体：右から50%幅で登場 */
    .main-nav {
        display: flex !important;
        position: fixed;
        top: 0;
        right: -100%; /* 初期は隠す */
        width: 50%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        z-index: 1500;
        transition: all 0.4s ease;
        
        /* 中のアイテムを「真ん中」に集める */
        flex-direction: column !important;
        justify-content: center !important; /* 上下中央 */
        align-items: center !important;     /* 左右中央 */
    }

    .main-nav.active {
        right: 0 !important;
    }

    /* 3. アイテム一覧：中央に綺麗に並べる */
    .main-nav ul {
        flex-direction: column !important;
        padding: 0;
        margin: 0;
        list-style: none;
        display: flex !important;
        align-items: center !important; /* 箇条書きを中央揃え */
        gap: 4vh; /* 項目間の間隔を画面の高さに合わせて調整 */
        width: 100%;
    }

    .main-nav ul li {
        width: 100%;
        text-align: center;
    }

    .main-nav ul li a {
        font-size: 5vw !important; /* スマホ画面に応じた自動縮小 */
        font-weight: bold;
        color: #333;
        display: inline-block;
        padding: 10px 0;
        letter-spacing: 0.15em;
    }

    /* CONTACTボタンの中央配置微調整 */
    .nav-contact {
        border: 1.5px solid #38b6ff;
        padding: 8px 25px !important;
        border-radius: 25px;
        margin-top: 10px;
    }
}

    /* JavaScriptでactiveクラスがついた時だけ表示 */
    .main-nav.active {
        display: flex !important;
    }

    /* ボタンがactive（クリックされた）時の三本線の変形 */
    .menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

/* ツアーページ内の画像ボタンもサイズを統一 */
.btn-more img {
    width: 250px !important; /* PCでの「ちょうどいい」サイズ */
    height: auto;
}

@media (max-width: 768px) {
    .btn-more img {
        width: 50vw !important; /* スマホでは画面の半分くらいのサイズ */
        max-width: 200px;
    }
}

/* --- スマホ版：ヒーロータイトルの中央寄せ決定版 --- */
@media (max-width: 768px) {
    /* 1. ヒーローセクション全体の中央揃えを強化 */
    .hero {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important; /* 上下中央 */
        align-items: center !important;     /* 左右中央 */
        text-align: center !important;
        width: 100% !important;
    }

    /* 2. タイトルを包むコンテナの幅を広げる */
    .hero-text {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
    }

    /* 3. メインコピー（日本語）の調整 */
    .main-copy {
        width: 100% !important;
        text-align: center !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        /* 長い場合に備えて、一行に収めるための微調整 */
        font-size: 6vw !important; 
        white-space: normal !important; /* 必要に応じて改行を許可 */
    }

    /* 4. サブコピー（英語）の調整 */
    .sub-copy {
        width: 100% !important;
        text-align: center !important;
        margin-top: 10px !important;
    }
}



/* Upcoming Events セクション */
.upcoming-events {
    padding: 80px 20px;
    background-color: #fff;
}

.event-card-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* PCは4列 */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.event-card {
    text-decoration: none;
    color: #333;
    background: #fff;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.event-card-img {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.event-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-status {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4757; /* 目立つ赤色 */
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    font-weight: bold;
    border-radius: 3px;
}

.event-card-info {
    padding: 15px;
    flex-grow: 1;
}

.event-date {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 8px;
}

.event-card-title {
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 3行超えたら「...」にする */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* スマホ・タブレット対応 */
@media (max-width: 1024px) {
    .event-card-container {
        grid-template-columns: repeat(2, 1fr); /* タブレットは2列 */
    }
}

@media (max-width: 599px) {
    .event-card-container {
        grid-template-columns: 1fr; /* スマホは1列 */
        gap: 15px;
    }
    .upcoming-events {
        padding: 50px 15px;
    }
}