@charset "UTF-8";

/* =========================================
   ベース設定 (デザインルールに基づく)
========================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --color-main: #5c7b52; /* アースグリーン */
    --color-bg: #f9f9f9;   /* 薄いグレー */
    --color-text: #333333; /* 濃いグレー */
    --color-white: #ffffff;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

ul { list-style: none; padding: 0; margin: 0; }
a { text-decoration: none; color: inherit; }

/* =========================================
   共通パーツ
========================================= */
.btn-contact {
    display: inline-block;
    background-color: var(--color-main);
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    transition: opacity 0.3s ease;
}
.btn-contact:hover { opacity: 0.8; }

.section { padding: 80px 5%; }
.section-inner { max-width: 1000px; margin: 0 auto; width: 100%; }
.section-title { font-size: 2rem; margin-bottom: 20px; line-height: 1.4; }
.section-desc { margin-bottom: 40px; color: #666; }

/* =========================================
   ① ヘッダー
========================================= */
.header {
    background-color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-area { display: flex; align-items: center; gap: 10px; }
.logo-mark {
    width: 40px; height: 40px;
    background-color: #eaf1e8; color: var(--color-main);
    display: flex; justify-content: center; align-items: center;
    border-radius: 8px; font-weight: bold; font-size: 20px;
}
.logo-text { font-size: 1.2rem; font-weight: bold; letter-spacing: 0.05em; }

.global-nav { display: flex; align-items: center; gap: 30px; }
.nav-list { display: flex; gap: 20px; }
.nav-list a { font-size: 0.95rem; font-weight: bold; }
.nav-list a:hover { color: var(--color-main); }
.hamburger { display: none; }

/* =========================================
   ② ヒーローエリア (PC版用)
========================================= */
.hero {
    background-image: url('hero.jpg'); /* 画像の読み込み */
    background-size: cover;          /* レスポンシブ対応 */
    background-position: center;     /* 中央基準 */
    background-repeat: no-repeat;
    background-color: #d1dfc9; 
    height: 60vh; min-height: 400px;
    display: flex; align-items: center;
    padding: 0 5%; position: relative;
}

/* 画像の上に半透明の膜を張って、文字を読みやすくする */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* 【修正】白い膜を0.4から0.5に濃くし、視認性を向上 */
    background-color: rgba(255, 255, 255, 0.5); 
    z-index: 1;
}

.hero-content {
    max-width: 1200px; margin: 0 auto; width: 100%;
    position: relative; z-index: 2;
}

.hero-title {
    font-size: 3.5rem; 
    line-height: 1.3;
    margin-bottom: 25px;
    color: var(--color-text); /* 文字色を黒（濃いグレー）に戻す */
    /* 白い靄（もや）を何重にも重ねて発光させる */
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 1),
        0 0 20px rgba(255, 255, 255, 1),
        0 0 30px rgba(255, 255, 255, 0.9),
        0 0 50px rgba(255, 255, 255, 0.8);
}

.hero-desc {
    font-size: 1.25rem; 
    font-weight: bold;
    margin-bottom: 35px;
    color: var(--color-text); /* 文字色を黒に戻す */
    /* こちらも白い靄をかける */
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 1),
        0 0 15px rgba(255, 255, 255, 1),
        0 0 25px rgba(255, 255, 255, 0.9);
}

.hero-btn { 
    /* 【修正】1.1remから1.2remに拡大 */
    font-size: 1.2rem; 
    padding: 16px 45px; 
    /* 【修正】ボタンに影をつけて存在感をアップ */
    box-shadow: 0 4px 15px rgba(0,0,0,0.15); 
}

/* =========================================
   ③ 私たちについて
========================================= */
.about-inner { display: flex; gap: 5%; align-items: flex-start; }
.about-content { width: 55%; }
.about-image { width: 40%; }
.about-desc { margin-bottom: 30px; font-size: 1.05rem; }

.img-placeholder {
    width: 100%; height: 100%; min-height: 350px;
    background-color: #dcdcdc; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #888; font-weight: bold;
}

.features { display: flex; flex-direction: column; gap: 15px; }
.feature-card {
    background-color: var(--color-white); border-radius: 12px;
    padding: 20px; display: flex; gap: 15px; border: 1px solid #eaeaea;
}
.feature-icon {
    font-size: 1.8rem; color: var(--color-main); background-color: #eaf1e8;
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature-text h3 { margin: 0 0 5px 0; font-size: 1.1rem; }
.feature-text p { margin: 0; font-size: 0.9rem; color: #666; }

/* =========================================
   ④ 一日の流れ (タイムライン)
========================================= */
.flow { background-color: var(--color-white); }
.timeline { position: relative; max-width: 650px; margin: 0 auto; }
.timeline::before {
    content: ''; position: absolute; top: 5px; bottom: 0; left: 80px;
    width: 2px; background-color: var(--color-main); opacity: 0.3;
}
.timeline-item { display: flex; align-items: flex-start; margin-bottom: 35px; position: relative; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
    content: ''; position: absolute; left: 73px; top: 5px;
    width: 16px; height: 16px; background-color: var(--color-main);
    border-radius: 50%; box-shadow: 0 0 0 4px var(--color-white);
}
.timeline-time {
    width: 80px; padding-right: 25px; text-align: right;
    font-weight: bold; color: var(--color-main); font-size: 1.1rem; flex-shrink: 0;
}
.timeline-content { flex: 1; padding-left: 20px; }
.timeline-content h3 { margin: 0 0 5px 0; font-size: 1.1rem; }
.timeline-content p { margin: 0; color: #555; font-size: 0.95rem; }

/* =========================================
   ⑤ 利用登録の流れ (追加したCSS)
========================================= */
.steps { display: flex; flex-direction: column; gap: 20px; }
.step-box {
    background-color: var(--color-white);
    border-radius: 12px; padding: 25px 30px;
    display: flex; align-items: center; gap: 30px;
    border-left: 6px solid var(--color-main);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.step-num {
    font-size: 1.2rem; font-weight: bold; color: var(--color-main);
    background-color: #eaf1e8; padding: 10px 20px; border-radius: 30px;
    flex-shrink: 0;
}
.step-content h3 { margin: 0 0 10px 0; font-size: 1.1rem; }
.step-content p { margin: 0; font-size: 0.95rem; color: #555; }

/* =========================================
   ⑥ ギャラリー & ⑦ アクセス (追加したCSS)
========================================= */
.sns-placeholder {
    width: 100%; height: 400px; background-color: #f0f0f0;
    border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #888;
}

.access-container { display: flex; gap: 50px; }
.access-map { flex: 1; }
.map-placeholder {
    width: 100%; height: 350px; background-color: #dcdcdc;
    border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #888;
}
.access-info { flex: 1; display: flex; flex-direction: column; gap: 15px; justify-content: center; }
.access-info h3 { margin: 0; font-size: 1.3rem; border-bottom: 2px solid var(--color-main); padding-bottom: 10px; display: inline-block; }
.access-info p { margin: 0; font-size: 1rem; }
.access-info .tel { font-size: 1.1rem; color: var(--color-main); }

/* =========================================
   ⑧ お問い合わせ & ⑨ フッター (追加したCSS)
========================================= */
.contact { background-color: var(--color-main); color: var(--color-white); padding-bottom: 100px; }
.contact .section-title { color: var(--color-white); }
.contact-header { text-align: center; margin-bottom: 40px; }
.contact-header h2 { font-size: 2rem; margin-bottom: 10px; }
.contact-tel-big { font-size: 2.5rem; font-weight: bold; margin-top: 15px; }

.form-placeholder {
    width: 100%; 
    max-width: 800px; 
    margin: 0 auto; 
    /* 仮枠の高さ(500px)や背景色を削除し、中身に合わせて広がるようにします */
}

/* iframe（Googleフォーム）自体の高さを直接指定するコードを追加 */
.form-placeholder iframe {
    width: 100%;
    height: 950px; /* ★もしこれでも下が切れる場合は、1000pxや1100pxに増やしてください */
    border: none;
}

.footer { background-color: #333; color: var(--color-white); text-align: center; padding: 20px 5%; }
.footer p { margin: 0; font-size: 0.9rem; letter-spacing: 0.05em; }


/* =========================================
   📱 レスポンシブ (スマホ向け: 768px以下)
========================================= */
@media screen and (max-width: 768px) {
    /* 共通の余白と文字サイズ調整 */
    .section { padding: 50px 5%; }
    .section-title { font-size: 1.5rem; }
    
    /* スマホではテキスト内の改行(<br>)を無効化 */
    .hero-desc br, .about-desc br { display: none; }

    /* ハンバーガーメニュー */
    .hamburger {
        display: block; width: 30px; height: 24px;
        position: relative; background: none; border: none; cursor: pointer; z-index: 101;
    }
    .hamburger span {
        position: absolute; left: 0; width: 100%; height: 3px;
        background-color: var(--color-main); border-radius: 2px; transition: 0.3s;
    }
    .hamburger span:nth-child(1) { top: 0; }
    .hamburger span:nth-child(2) { top: 10px; }
    .hamburger span:nth-child(3) { bottom: 0; }
    
    .global-nav {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background-color: rgba(255,255,255,0.95);
        flex-direction: column; justify-content: center;
        opacity: 0; visibility: hidden; transition: 0.3s;
    }
    .global-nav.is-active { opacity: 1; visibility: visible; }
    .nav-list { flex-direction: column; align-items: center; gap: 30px; margin-bottom: 30px; }

/* ヒーローエリア (スマホ版用) */
    .hero { height: auto; min-height: 350px; padding: 40px 5%; }
    .hero-title { 
        /* 【修正】文字が1行に綺麗に収まるよう、1.8remから1.5remに少し調整 */
        font-size: 1.5rem; 
        line-height: 1.5; 
        color: var(--color-text); /* 黒文字 */
        text-shadow: 
            0 0 8px rgba(255, 255, 255, 1),
            0 0 15px rgba(255, 255, 255, 1),
            0 0 25px rgba(255, 255, 255, 0.9);
    }
    
    /* ↓【ここが超重要！】↓
       以前ここにあった `.hero-title br { display: none; }` という行を「削除」しました。
       これでHTMLの <br> がスマホでも有効になります！
    */

    .hero-desc { 
        font-size: 1.1rem; 
        width: 100%; 
        color: var(--color-text);
        text-shadow: 
            0 0 8px rgba(255, 255, 255, 1),
            0 0 15px rgba(255, 255, 255, 1);
    }
    .hero-btn { 
        display: block; 
        width: 100%; /* スマホではボタンを横幅いっぱいに */
        box-sizing: border-box; 
    }

    /* 私たちについて */
    .about-inner { flex-direction: column; gap: 30px; }
    .about-content, .about-image { width: 100% !important; }
    .img-placeholder { min-height: 250px; }
    .feature-card { padding: 15px; }

    /* 一日の流れ（完全縦積み） */
    .timeline::before { left: 15px; }
    .timeline-item { display: flex; flex-direction: column; align-items: flex-start; padding-left: 45px; margin-bottom: 25px; }
    .timeline-item::before { left: 7px; top: 2px; }
    .timeline-time { width: 100%; text-align: left; padding-right: 0; margin-bottom: 5px; }
    .timeline-content { padding-left: 0; }

    /* 新規セクションのスマホ対応 */
    .step-box { flex-direction: column; align-items: flex-start; gap: 15px; padding: 20px; }
    .step-num { padding: 5px 15px; font-size: 1rem; }
    
    .access-container { flex-direction: column; gap: 30px; }
    .access-map, .access-info { width: 100%; }
    
    .contact-header h2 { font-size: 1.5rem; }
    .contact-tel-big { font-size: 2rem; }
    /* スマホは入力欄が縦に並んで長くなるため、PCよりも高さを大きく確保します */
    .form-placeholder iframe { 
        height: 1200px; /* ★スマホで下が切れる場合は、1300pxなどに増やしてください */
    }
}