/* --- 1. 基本設定 --- */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body { 
    font-family: 'Noto Sans JP', sans-serif; 
    color: #333; 
    line-height: 1.8; 
    padding-top: 90px; 
    background-color: #fff;
}

.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* --- 2. ヘッダー（共通デザイン） --- */
.main-header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 90px; 
    background: #fff; 
    z-index: 1000; 
    display: flex; 
    align-items: center; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
}

.header-container { 
    width: 90%; 
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo img { 
    height: 75px !important; 
    width: auto; 
}

.main-nav ul { 
    display: flex; 
    list-style: none; 
    gap: 25px; 
    align-items: center; 
}

.main-nav a { 
    text-decoration: none; 
    color: #333; 
    font-weight: bold; 
    font-size: 0.95rem;
}

.nav-contact { 
    border: 2px solid #38b6ff; 
    padding: 8px 20px; 
    border-radius: 50px; 
    color: #38b6ff !important; 
}

.nav-instagram svg {
    vertical-align: middle;
    transition: 0.3s;
}

.nav-instagram:hover svg {
    color: #38b6ff;
}

.menu-toggle { display: none; }

/* --- 3. ヒーローエリア & 導入 --- */
.rent-hero { 
    background: #f8fafc; 
    padding: 80px 0; 
    text-align: center; 
}

.en-title { 
    display: block; 
    color: #38b6ff; 
    font-size: 0.9rem; 
    font-weight: bold; 
    letter-spacing: 0.2em; 
    margin-bottom: 10px; 
}

.main-title { 
    font-size: 2.2rem; 
    font-weight: bold; 
}

.rent-intro { 
    padding: 100px 0; 
    text-align: center; 
}

.intro-centered-text { 
    max-width: 800px; 
    margin: 0 auto; 
}

.sub-title { 
    display: block; 
    color: #38b6ff; 
    font-weight: bold; 
    font-size: 0.9rem; 
    margin-bottom: 15px; 
}

.intro-centered-text h3 { 
    font-size: 2.2rem; 
    margin-bottom: 30px; 
}

/* --- 4. 自転車紹介カード --- */
.bike-selection { 
    padding: 80px 0; 
    background-color: #fcfdfe; 
}

.bike-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 40px; 
}

.bike-card { 
    background: #fff; 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}

.bike-img { 
    aspect-ratio: 16 / 10; 
    overflow: hidden; 
}

.bike-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: 0.5s; 
}

.bike-card:hover .bike-img img { 
    transform: scale(1.05); 
}

.bike-info { 
    padding: 30px; 
}

.bike-type { 
    color: #38b6ff; 
    font-weight: bold; 
    font-size: 0.8rem; 
}

.bike-info h4 { 
    font-size: 1.4rem; 
    margin: 10px 0; 
}

.bike-price { 
    display: block; 
    margin-top: 15px; 
    font-weight: bold; 
    font-size: 1.2rem; 
    color: #38b6ff; 
}

/* --- 5. 料金表（時間制プラン対応） --- */
.rent-guide { 
    padding: 100px 0; 
}

.guide-flex { 
    display: flex; 
    gap: 80px; 
    align-items: flex-start; 
}

.price-box, .step-box { 
    flex: 1; 
}

.section-header-left {
    margin-bottom: 30px;
}

/* テーブルデザインの修正 */
.price-table { 
    width: 100%; 
    border-collapse: collapse; 
    margin: 20px 0; 
}

.price-table thead th {
    background: #f8fafc;
    font-size: 0.85rem;
    color: #38b6ff;
    text-align: center;
    padding: 10px;
    border-bottom: 2px solid #38b6ff;
}

.price-table th, .price-table td { 
    padding: 15px 10px; 
    border-bottom: 1px solid #eee; 
    text-align: center;
}

/* 車種名列 */
.price-table tbody th { 
    text-align: left; 
    font-weight: bold; 
    color: #333; 
    width: 40%;
}

.price-table td { 
    font-weight: bold; 
    color: #38b6ff;
    width: 30%;
}

.table-note { 
    font-size: 0.8rem; 
    color: #888; 
    margin-top: 10px;
}

/* --- 6. 利用の流れ（ステップ） --- */
.steps { 
    margin-top: 30px; 
}

.step-item { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    margin-bottom: 25px; 
}

.step-num { 
    background: #38b6ff; 
    color: #fff; 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: bold; 
    flex-shrink: 0; 
}

/* --- 7. お問い合わせ・フッター --- */
.contact-footer { 
    background: #38b6ff; 
    padding: 80px 20px; 
    text-align: center; 
    color: #fff; 
}

.contact-box h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.btn-cta { 
    display: inline-block; 
    background: #fff; 
    color: #38b6ff; 
    padding: 15px 50px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: bold; 
    margin-top: 20px; 
    transition: 0.3s;
}

.btn-cta:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.footer-bar { 
    padding: 20px; 
    text-align: center; 
    color: #888; 
    font-size: 0.8rem; 
}

/* --- 8. スマホ対応（メディアクエリ） --- */
@media (max-width: 768px) {
    .header-container { justify-content: space-between; position: relative; }
    
    .menu-toggle { 
        display: flex; 
        flex-direction: column; 
        justify-content: space-between; 
        width: 30px; 
        height: 22px; 
        background: none; 
        border: none; 
        z-index: 2000;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background: #38b6ff;
        transition: 0.3s;
    }

    /* ハンバーガーアニメーション */
    .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(-10px) rotate(-45deg); }

    .main-nav { 
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 75%; 
        height: 100vh; 
        background: rgba(255,255,255,0.98); 
        display: flex; 
        flex-direction: column; 
        justify-content: center; 
        align-items: center; 
        transition: 0.4s; 
        z-index: 1500;
    }

    .main-nav.active { right: 0; }
    .main-nav ul { flex-direction: column; gap: 30px; }

    .intro-centered-text h3 { font-size: 1.5rem; }
    .bike-grid { grid-template-columns: 1fr; } 
    .guide-flex { flex-direction: column; gap: 60px; }

    .price-table th, .price-table td {
        padding: 10px 5px;
        font-size: 0.9rem;
    }
}