/* 基本リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif; /* 日本語フォントを優先 */
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ヘッダーとナビゲーション (段を分ける修正) */
header {
    background-color: #000;
    color: #fff;
    padding: 15px 20px;
    display: block; 
    text-align: center; /* 中央揃え */
    /* 修正点: position: sticky; と top: 0; を削除して固定を解除 */
    position: relative; 
    z-index: 1000;
}

header h1 {
    /* <h1>タグ自体を中央に配置 */
    margin-bottom: 10px; 
}

header h1 a {
    color: #fff;
    font-size: 1.0em; 
    font-weight: 700;
    text-decoration: none;
}

nav {
    /* ナビゲーションを次の段に配置 */
    padding-top: 5px; 
    border-top: 1px solid #333; /* タイトルとの区切り線 */
}

nav ul {
    list-style: none;
    /* 修正点: 中央揃え */
    display: flex;
    justify-content: center; 
    gap: 15px; /* PCでのメニューの間隔を調整 */
    font-size: 0.9em; 
}

nav a {
    color: #ccc;
    font-weight: 400;
    transition: color 0.3s;
}

nav a:hover {
    color: #fff;
    text-decoration: none;
}

/* メインコンテンツ */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ヒーローセクション */
#hero {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-content {
    order: 2; 
    padding-top: 20px;
}

#hero h2 {
    font-size: 2em;
    color: #cc0000; 
    margin-bottom: 10px;
}

#hero p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    order: 1; 
    margin-bottom: 15px;
}

/* ボタン */
.button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s, opacity 0.3s;
    text-decoration: none !important;
}

.primary-button {
    background-color: #cc0000;
    color: #fff;
}

.primary-button:hover {
    background-color: #a00000;
}

.instagram-button {
    background-color: #E1306C; 
    color: #fff;
    font-size: 1.1em;
    margin-top: 15px;
}

.instagram-button:hover {
    opacity: 0.85;
}

/* コンテンツセクション共通 */
.content-section {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.content-section h2 {
    border-left: 5px solid #cc0000;
    padding-left: 10px;
    margin-bottom: 25px;
    font-size: 1.8em;
    color: #333;
}

.content-section h3 {
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.content-section p, .content-section ul, .content-section ol {
    margin-bottom: 15px;
}

/* リスト */
.feature-list, .delivery-list, .must-have-list, .required-procedure, .link-list {
    list-style: disc;
    padding-left: 20px;
}

.flow-list {
    list-style: decimal;
    padding-left: 20px;
    font-weight: 700;
}

.flow-list li {
    margin-bottom: 10px;
}

/* テーブル */
.table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 0.95em;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #f8f8f8;
    font-weight: 700;
    color: #555;
}

/* 特定テーブルのスタイリング */
.car-lineup tr.status-available, .price-table tr.status-available {
    background-color: #e6ffe6; 
    font-weight: bold;
}

.car-lineup tr.status-unavailable, .price-table tr.status-unavailable {
    color: #777; 
    background-color: #fcfcfc;
}

.holiday {
    background-color: #ffe6e6; 
    font-weight: bold;
}

.caution, .fee {
    background-color: #fff5e6; 
    color: #a0522d;
}

/* 総費用と割引 */
.formula {
    background-color: #eaf6ff;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.discount-info p:first-of-type {
    background-color: #fff9c4;
    padding: 10px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
}

.note {
    font-size: 0.85em;
    color: #777;
    margin-top: -5px;
}

.current-status {
    font-size: 0.9em;
    color: #cc0000;
    font-weight: 700;
    margin-top: 10px;
}

/* プロフィール */
.profile-info img {
    max-width: 150px;
    height: auto;
    border-radius: 50%;
    float: left;
    margin-right: 20px;
}

/* 横線 */
hr {
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 40px 0;
}

/* フッター */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
    font-size: 0.9em;
}


/* --- レスポンシブ対応 --- */
@media (min-width: 768px) {
    #hero {
        flex-direction: row;
        text-align: left;
        padding: 50px;
    }

    .hero-content {
        order: 1; 
        flex: 1;
        padding-right: 40px;
    }

    .hero-image {
        order: 2; 
        max-width: 45%;
        margin-bottom: 0;
    }
    
    header {
        padding: 20px 40px;
    }
    
    nav ul {
        gap: 30px; /* PCでのメニューの間隔を少し広めに */
    }
}

@media (max-width: 600px) {
    header {
        border: none;
    }
    
    nav {
        padding-top: 10px; 
        border-top: none; 
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}