/* 全体設定 */
:root {
    --color-primary: #5c6b57; /* 落ち着いたグリーン */
    --color-primary-dark: #445240;
    --color-accent: #d4a359; /* 彩度を低く抑えたイエロー・ゴールド */
    --color-bg-light: #f7f5f0; /* 温かみのあるナチュラルオフホワイト */
    --color-bg-card: #f0ebe1; /* ライトブラウン系ニュアンス */
    --color-bg-purple-light: #f2ebf5; /* 薄紫色の背景 */
    --color-text: #2c2a29;
    --color-text-muted: #66605b;
    --font-main: 'Noto Sans JP', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-light);
    color: var(--color-text);
    line-height: 1.7;
}

/* PC画面ではスマホ用の改行を無効にする */
.sp-br {
    display: none;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 0;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 30px;
    position: relative;
}

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

/* ボタン共通設定 */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
}

    .btn-primary:hover {
        background-color: var(--color-primary-dark);
    }

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

    .btn-secondary:hover {
        background-color: var(--color-primary);
        color: #fff;
    }

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(247, 245, 240, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    flex-direction: column;
}

    .logo .company-name {
        font-size: 0.75rem;
        letter-spacing: 2px;
        color: var(--color-text-muted);
    }

    .logo .brand-name {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--color-primary);
    }

    .logo .sub-title {
        font-size: 0.9rem;
    }

/* ナビゲーション（PC） */
.nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 20px;
}

.nav a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

    .nav a:hover {
        color: var(--color-primary);
    }

.nav-btn-reserve {
    background-color: var(--color-accent);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

    .menu-toggle span {
        width: 25px;
        height: 3px;
        background-color: var(--color-primary);
        border-radius: 2px;
    }

/* メインビジュアル */
.hero {
    min-height: 85vh;
    background: url('https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&q=80&w=1200') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 40px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 42, 41, 0.45);
}

.hero-content {
    position: relative;
    color: #fff;
    z-index: 1;
    padding: 0 20px;
}

.hero-title {
    font-size: 2.2rem;
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.hero .btn-secondary {
    color: #fff;
    border-color: #fff;
}

/* Aboutセクション */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

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

.img-placeholder {
    background-color: #d1c7b7;
    height: 200px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    margin-bottom: 15px;
}

.img-placeholder-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.img-placeholder-sub {
    background-color: #c2b5a3;
    height: 100px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    font-weight: bold;
}

/* サービス・設備 */
.service-preview-box {
    background-color: var(--color-bg-purple-light);
    border-radius: 20px;
    padding: 30px 25px 15px;
    position: relative;
}

.service-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.service-preview-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 80px;
}

    .service-preview-card .check-mark {
        font-size: 1.2rem;
        font-weight: bold;
        color: #333;
        flex-shrink: 0;
    }

    .service-preview-card .service-text {
        font-size: 0.88rem;
        color: var(--color-text);
        line-height: 1.35;
        font-weight: 500;
    }

.service-more-wrapper {
    text-align: right;
}

.service-more-btn {
    background: none;
    border: none;
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
    padding: 5px 10px;
    font-family: inherit;
    transition: opacity 0.2s;
}

    .service-more-btn:hover {
        opacity: 0.7;
    }

/* サービス・設備モーダル */
.service-modal-content {
    max-width: 900px !important;
    width: 92% !important;
    background-color: var(--color-bg-purple-light) !important;
    border-radius: 20px !important;
    padding: 40px 30px !important;
}

.service-modal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-modal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-modal-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.service-modal-title {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.3;
    font-weight: 500;
}

/* 料金表 */
.price-notice {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.price-table-wrapper {
    overflow-x: auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

    .price-table th, .price-table td {
        padding: 12px 15px;
        border-bottom: 1px solid #eee;
    }

    .price-table th {
        background-color: var(--color-bg-card);
        color: var(--color-text);
        font-weight: 700;
    }

        .price-table th.highlight-head {
            background-color: var(--color-primary);
            color: #fff;
        }

    .price-table td.highlight-cell {
        background-color: rgba(92, 107, 87, 0.08);
        font-weight: 700;
        color: var(--color-primary);
    }

.price-action {
    text-align: center;
    margin-top: 30px;
}

/* よくある質問 */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5dfd5;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    display: none;
    padding: 0 20px 18px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    border-top: 1px dashed #eee;
    margin-top: 5px;
    padding-top: 12px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-icon {
    transition: transform 0.3s;
    font-size: 1.2rem;
}

/* お問い合わせ */
.contact-sub {
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        font-weight: 700;
        margin-bottom: 8px;
        font-size: 0.9rem;
    }

.required {
    background-color: var(--color-accent);
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.form-submit {
    width: 100%;
}

/* フッター */
.footer {
    background-color: var(--color-text);
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 0;
    padding-bottom: 0;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
}

    .footer-logo span {
        font-weight: 400;
        font-size: 0.9rem;
    }

.address {
    font-size: 0.85rem;
    color: #e5dfd5;
}

.footer-copy {
    font-size: 0.8rem;
    color: #999;
}

/* モーダル共通 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    position: relative;
    background-color: #fff;
    width: 90%;
    max-width: 500px;
    margin: 10vh auto;
    padding: 30px 20px;
    border-radius: 12px;
    z-index: 1001;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.modal-title {
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.modal-desc {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.modal-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-option-card {
    border: 2px solid var(--color-bg-card);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: border-color 0.3s;
}

    .modal-option-card:hover {
        border-color: var(--color-primary);
    }

.option-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background-color: var(--color-accent);
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
}

.modal-option-card h4 {
    margin-bottom: 8px;
    color: var(--color-text);
}

.modal-option-card p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.modal-btn {
    width: 100%;
    padding: 8px 0;
}

/* レスポンシブ対応（スマホ表示時：幅768px以下） */
@media (max-width: 768px) {
    /* スマホ表示でのみ改行タグを有効化 */
    .sp-br {
        display: inline;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* 固定ヘッダーとの文字かぶり防止 */
    .hero {
        padding-top: 130px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

        .nav.active {
            display: block;
        }

        .nav ul {
            flex-direction: column;
            padding: 20px 0;
            gap: 15px;
        }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    /* スマホ表示ではサービス・設備を縦1列に */
    .service-preview-grid {
        grid-template-columns: 1fr;
    }

    /* モーダル内も縦1列に */
    .service-modal-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
