/* ベーススタイル */
body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #f5f5f0;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

nav a {
    color: white;
    margin: 0 1rem;
    text-decoration: none;
    font-weight: bold;
}

h1, h2, h3 {
    margin: 0 0 1rem 0;
}

main {
    max-width: 1200px;
    margin: auto;
    padding: 1.5rem;
}

section {
    margin-bottom: 3rem;
}

/* ヒーローセクション */
#hero {
    position: relative;
    text-align: center;
    color: white;
}

.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.5);
    padding: 1rem 2rem;
    border-radius: 8px;
}

/* 紹介エリア */
.about {
    display: block;
}

/* ギャラリー */
#gallery {
    margin-top: 2rem;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.gallery-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* SNS・予約アイコン */
.icon {
    width: 50px;
    height: 50px;
    margin: 0 15px;
}

/* アクセス情報 */
#access {
    margin-top: 2rem;
}

.access-info {
    margin-top: 1rem;
}

.access-info h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

/* フッター */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

.logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
    padding-top: 1rem;
}

/* 料金表テーブル */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 1rem;
}

.price-table th, 
.price-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

.price-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.price-table tr:nth-child(even) {
    background-color: #fafafa;
}

.price-table tr:hover {
    background-color: #f0f0f0;
}

/* 動画 */
.intro-video {
    text-align: center;
    margin-bottom: 20px;
    max-width: 900px;
    padding: 0 20px;
}

.intro-video h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #333;
}

.intro-video video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* 利用規約 */
.terms {
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    margin: 2rem auto;
    max-width: 900px;
}

.terms h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

.terms-box {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
    line-height: 1.6;
}

/* ---- レスポンシブ調整 ---- */

/* スマホ (〜600px) */
@media (max-width: 600px) {
    header nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .hero-image {
        height: 250px;
    }

    .hero-text {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    main {
        padding: 1rem;
    }

    .gallery-container {
        grid-template-columns: 1fr;
    }

    .price-table {
        font-size: 0.8rem;
    }

    .terms-box {
        max-height: 300px;
        padding: 0.8rem;
    }
}

/* タブレット (601px〜991px) */
@media (min-width: 601px) and (max-width: 991px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-image {
        height: 320px;
    }

    .price-table {
        font-size: 0.9rem;
    }
}

/* PC (992px〜) */
@media (min-width: 992px) {
    .about {
        display: flex;
        align-items: center;
        gap: 30px;
    }
    .intro-video {
        flex: 2;
    }
    .about .text {
        flex: 1;
    }
}


/* ページ幅を画面サイズに収める */
html, body {
    max-width: 100%;
    overflow-x: hidden; /* 横スクロール禁止 */
}


/* 利用規約ページの読みやすさ改善 */
#terms {
    line-height: 1.8;       /* 行間を広めに */
    font-size: 14px;        /* スマホでも読みやすい文字サイズ */
}

#terms p, 
#terms ul, 
#terms li {
    margin-bottom: 1rem;    /* 各項目に余白 */
}

#terms h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-left: 4px solid #2c3e50; /* 左線で強調 */
    padding-left: 8px;
}
