/* Google Fonts loaded in HTML head for better performance */

:root {
    --primary-color: #2D5A27;
    /* フォレストグリーン */
    --accent-color: #8B5E3C;
    /* ウッドブラウン */
    --bg-color: #F9F7F2;
    /* クリームベージュ */
    --text-color: #333333;
    --light-text: #666666;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-title p {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-top: 15px;
}

.concept-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 2;
}

.concept-description p {
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.concept-description p:last-child {
    margin-bottom: 0;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.2);
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 94, 60, 0.3);
}

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.9), -1px -1px 2px rgba(255, 255, 255, 0.9), 1px -1px 2px rgba(255, 255, 255, 0.9), -1px 1px 2px rgba(255, 255, 255, 0.9);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

header nav ul {
    display: flex;
    gap: 30px;
}

header nav ul li a {
    color: var(--primary-color);
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.9), -1px -1px 2px rgba(255, 255, 255, 0.9), 1px -1px 2px rgba(255, 255, 255, 0.9), -1px 1px 2px rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

header.scrolled .logo,
header.scrolled nav ul li a {
    text-shadow: none;
}

header.scrolled nav ul li a:hover {
    color: var(--primary-color);
}

/* ヒーローエリア */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('iloveimg-converted/IMG_4381.jpg') center/cover no-repeat, #2D5A27;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* アクティビティ */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.activity-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.activity-card:hover {
    transform: translateY(-10px);
}

.activity-img {
    height: 250px;
    overflow: hidden;
}

.activity-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.activity-card:hover .activity-img img {
    transform: scale(1.1);
}

.activity-info {
    padding: 30px;
}

.activity-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* ギャラリー（スライダー） */
.gallery-container {
    padding: 0 20px;
    max-width: 100%;
}

.gallery-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.gallery-slider::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 300px;
    scroll-snap-align: start;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    cursor: grab;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* フォーム */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.form-group textarea {
    height: 150px;
}

/* ハンバーガーメニューボタン */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 2000;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 11px;
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

/* ハンバーガーメニューのアクティブ状態 */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 11px;
}

/* モバイル言語切り替え */
.mobile-lang-switch {
    display: none;
    /* デフォルトで非表示（PC） */
    position: absolute;
    right: 60px;
    /* ハンバーガーメニューの左 */
    top: 25px;
    /* ヘッダーのパディングに合わせて調整 */
    font-weight: 700;
    z-index: 2000;
    color: var(--primary-color);
}

.mobile-lang-switch a {
    text-decoration: none;
    color: var(--text-color);
}

.mobile-lang-switch .active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .mobile-lang-switch {
        display: block;
        /* モバイルで表示 */
    }

    .hero {
        background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('iloveimg-converted/IMG_4456.jpg') center/cover no-repeat, #2D5A27;
    }


    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hamburger {
        display: block;
    }

    header nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1500;
        /* モバイルメニュー用の基本スタイルをリセット */
        opacity: 0;
        visibility: hidden;
    }

    header nav.active {
        right: 0;
        opacity: 1;
        visibility: visible;
    }

    header nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        width: 100%;
    }

    header nav ul li {
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.3s;
    }

    header nav.active ul li {
        opacity: 1;
        transform: translateY(0);
    }

    /* メニュー項目を順番に表示 */
    header nav.active ul li:nth-child(1) {
        transition-delay: 0.1s;
    }

    header nav.active ul li:nth-child(2) {
        transition-delay: 0.2s;
    }

    header nav.active ul li:nth-child(3) {
        transition-delay: 0.3s;
    }

    header nav.active ul li:nth-child(4) {
        transition-delay: 0.4s;
    }

    header nav.active ul li:nth-child(5) {
        transition-delay: 0.5s;
    }

    header nav.active ul li:nth-child(6) {
        transition-delay: 0.6s;
    }

    header nav ul li a {
        font-size: 1.2rem;
        display: block;
        padding: 10px 0;
    }

    section {
        padding: 60px 0;
    }
}

/* 自転車ツアーバナー */
.tour-banner-content {
    background-color: #2D5A27;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('iloveimg-converted/IMG_1559.jpg') center/cover no-repeat;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
    border-radius: 20px;
    margin: 0 20px;
}

.tour-banner-inner h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tour-banner-inner p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .tour-banner-inner h2 {
        font-size: 2rem;
    }

    .tour-banner-inner p {
        font-size: 1rem;
    }
}

/* 最新のお知らせ */
.news-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    gap: 20px;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 0.9rem;
    color: #999;
    min-width: 100px;
}

.news-title {
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.news-title:hover {
    color: var(--accent-color);
}

@media (max-width: 600px) {
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}