/* ========================================
    CSS変数 (テーマカラー設定)
======================================== */
:root {
    --color-base: #FAFAED; /* アイボリー系背景 */
    --color-main: #EFE4D3; /* ベージュ系 */
    --color-white: #FFFFFF;
    --color-text: #4A3E38; /* 柔らかいブラウンブラック */
    --color-accent-green: #44633F; /* 深緑 */
    --color-accent-orange: #D97E4A; /* 落ち着いたオレンジ */
    --font-family: 'Zen Kaku Gothic New', sans-serif;
    --header-height: 70px;
}

/* ========================================
    リセット & ベース
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-base);
    line-height: 1.8;
    font-size: 16px; /* 高齢者にも見やすい基本サイズ */
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* 全体的に角を丸くして温かみを */
    width: 100%;
}

/* ========================================
    共通コンポーネント
======================================== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 40px;
    color: var(--color-accent-green);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--color-accent-orange);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-padding {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    background-color: var(--color-accent-orange);
    color: var(--color-white);
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 4px 10px rgba(217, 126, 74, 0.3);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(217, 126, 74, 0.4);
    opacity: 1;
    color: var(--color-white);
}

/* アニメーション用クラス */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
    ヘッダー
======================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent-green);
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
}

.header-btn {
    background-color: var(--color-accent-orange);
    color: var(--color-white);
    padding: 8px 24px;
    border-radius: 20px;
}

/* ハンバーガーメニュー (モバイル用) */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--color-text);
    cursor: pointer;
}

/* ========================================
    1. ファーストビュー (Hero)
======================================== */
.hero {
    position: relative;
}

.hero-content {
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hero-title {
    font-size: clamp(1.5rem, 1.152rem + 1.46vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
}

/* ========================================
    2. 宿について (About)
======================================== */
.about-wrap {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
}

.about-img {
    flex: 1;
}

/* ========================================
    3. お部屋 (Rooms)
======================================== */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.room-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.room-card img {
    border-radius: 0;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.room-info {
    padding: 20px;
}

.room-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-accent-green);
}

/* ========================================
    4. お料理 (Food)
======================================== */
.food-wrap {
    background-color: var(--color-main);
    padding: 40px;
    border-radius: 12px;
}

.food-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.food-img {
    flex: 1;
}

.food-text {
    flex: 1;
}

/* ========================================
    5. 館内案内 (Facilities)
======================================== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    text-align: center;
}

.facility-item {
    background: var(--color-white);
    padding: 30px 10px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.facility-item i {
    font-size: 2.5rem;
    color: var(--color-accent-orange);
    margin-bottom: 15px;
}

/* ========================================
    6. 周辺観光 (Sightseeing)
======================================== */
.spot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.spot-card {
    background: var(--color-white);
    padding: 15px;
    border-radius: 12px;
}

.spot-info {
    margin-top: 15px;
}

.spot-time {
    display: inline-block;
    background: var(--color-base);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--color-accent-green);
    margin-top: 8px;
}

/* ========================================
    8. よくある質問 (FAQ)
======================================== */
.faq-item {
    background: var(--color-white);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 500;
    color: var(--color-accent-green);
    list-style: none;
    position: relative;
}

.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 20px 20px;
    color: var(--color-text);
}

/* ========================================
    9. アクセス (Access)
======================================== */
.access-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 12px;
}

.access-info {
    background: var(--color-white);
    padding: 20px;
    border-radius: 12px;
}

/* ========================================
    10. フッター
======================================== */
footer {
    background-color: var(--color-accent-green);
    color: var(--color-white);
    padding: 60px 20px 20px;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-info {
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ========================================
    レスポンシブ (スマホ対応)
======================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* スマホではメニューを隠す（実装次第でドロワー化） */
    }
    .menu-toggle {
        display: block;
    }
    .hero-title {
        font-size: 2rem;
    }
    .about-wrap, .food-content {
        flex-direction: column;
    }
}
