@charset "UTF-8";

/* =========================================
   Base Setup (Pension Ibuki)
   ========================================= */
:root {
    --bg-color: #f9fcf9; /* 極薄いグリーン */
    --text-main: #4a5d4e; /* 森のような深い緑 */
    --text-sub: #7a8c7e;
    --accent: #8fb996;    /* 若草色 */
    --accent-orange: #f2b138; /* 太陽のオレンジ */
    --font-base: 'Zen Maru Gothic', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-base);
    line-height: 1.8;
    letter-spacing: 0.05em;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { width: 100%; height: 100%; object-fit: cover; display: block; }
ul { list-style: none; }

/* アニメーション */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Header
   ========================================= */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1rem 3rem;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(74, 93, 78, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex; align-items: center; gap: 0.5rem;
}
.logo::before {
    content: '▲'; /* 山のアイコン代わり */
    color: var(--accent);
}

.nav ul { display: flex; gap: 2rem; }
.nav a { font-weight: 500; color: var(--text-main); }
.nav a:hover, .nav a.active { color: var(--accent); }

.btn-reserve-nav {
    background: var(--accent);
    color: #fff !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
}
.btn-reserve-nav:hover { background: var(--text-main); }

.hamburger { display: none; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--text-main); margin: 6px 0; }

/* =========================================
   Hero Section
   ========================================= */
.hero {
    height: 90vh;
    margin: 1rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
}
.hero-content {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    width: 90%;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero-sub {
    font-size: 1.2rem;
    font-weight: 500;
    background: rgba(255,255,255,0.2);
    display: inline-block;
    padding: 0.5rem 2rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

/* =========================================
   Common Layout
   ========================================= */
.section { padding: 6rem 5%; }
.container { max-width: 1000px; margin: 0 auto; }

.section-title {
    text-align: center; margin-bottom: 4rem;
}
.section-title span {
    display: block; color: var(--accent); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.1em;
}
.section-title h2 {
    font-size: 2rem; color: var(--text-main); margin-top: 0.5rem;
}

/* Card Style */
.card-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem;
}
.card {
    background: #fff; border-radius: 15px; overflow: hidden;
    box-shadow: 0 5px 20px rgba(74, 93, 78, 0.05);
    transition: 0.3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(74, 93, 78, 0.1); }
.card-img { height: 250px; }
.card-body { padding: 2rem; }
.card-body h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--text-main); }
.card-body p { color: var(--text-sub); font-size: 0.95rem; }

/* Button */
.btn-main {
    display: inline-block; background: var(--text-main); color: #fff;
    padding: 1rem 3rem; border-radius: 50px; margin-top: 2rem;
    font-weight: 700;
}
.btn-main:hover { background: var(--accent); }

/* =========================================
   Sub Pages
   ========================================= */
.page-header {
    height: 50vh;
    position: relative;
    margin-bottom: 5rem;
    display: flex; justify-content: center; align-items: center;
    color: #fff;
}
.page-header-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; z-index: -1;
    border-radius: 0 0 50px 50px; /* 下部を丸く */
}
.page-title {
    font-size: 3rem; font-weight: 700; text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

/* Concept / Facilities */
.feature-row {
    display: flex; align-items: center; gap: 4rem; margin-bottom: 6rem;
}
.feature-row:nth-child(even) { flex-direction: row-reverse; }
.feature-img {
    flex: 1; height: 400px; border-radius: 20px; overflow: hidden;
}
.feature-text { flex: 1; }
.feature-text h3 { font-size: 1.8rem; margin-bottom: 1.5rem; color: var(--accent); }

/* Rooms List */
.room-list { display: grid; grid-template-columns: 1fr; gap: 4rem; }
.room-item { background: #fff; border-radius: 20px; overflow: hidden; display: flex; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.room-img { width: 50%; }
.room-info { width: 50%; padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.room-info h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-main); }
.room-specs { margin-top: 2rem; color: var(--accent); font-weight: 700; }

/* Form */
.form-box {
    background: #fff; padding: 3rem; border-radius: 20px;
    max-width: 700px; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
input, textarea, select {
    width: 100%; padding: 1rem; border: 2px solid #eee; border-radius: 10px;
    margin-bottom: 1.5rem; font-family: inherit; color: var(--text-main);
}
input:focus, textarea:focus { border-color: var(--accent); outline: none; }
.btn-submit {
    width: 100%; padding: 1.2rem; background: var(--accent); color: #fff;
    border: none; border-radius: 50px; font-weight: 700; cursor: pointer; font-size: 1.1rem;
}
.btn-submit:hover { background: var(--text-main); }

/* Footer */
.footer {
    background: var(--text-main); color: #fff; padding: 4rem 5%;
    text-align: center; border-radius: 50px 50px 0 0; margin-top: 5rem;
}
.footer-logo { font-size: 2rem; margin-bottom: 1rem; font-weight: 700; }
.footer-nav { margin: 2rem 0; }
.footer-nav a { margin: 0 1rem; color: #ccc; }

/* Responsive */
@media (max-width: 768px) {
    .nav { display: none; }
    .hamburger { display: block; }
    .hero-title { font-size: 2.5rem; }
    .feature-row, .feature-row:nth-child(even), .room-item { flex-direction: column; gap: 2rem; }
    .room-img { width: 100%; height: 250px; }
    .room-info { width: 100%; padding: 2rem; }
}