@charset "UTF-8";

/* =========================================
   Base & Variables
   ========================================= */
:root {
    --primary-color: #231815;
    --accent-color: #a48b78; /* プラン相談用 */
    --gold-color: #b19d64;   /* ドレス相談用 */
    --bg-color: #ffffff;
    --border-color: #D3D3D3;
    
    /* フォント設定 */
    --font-main: "Optima", "Yu Mincho Pr6N", "YuMincho", "HgMinchoE", "Hiragino Mincho ProN", "Shippori Mincho", serif;
}

/* =========================================
   改行コントロール用クラス
   ========================================= */

/* PCのみで改行（スマホでは非表示） */
.pc {
    display: block;
}

/* スマホのみで改行（PCでは非表示） */
.sp {
    display: none;
}

/* 横スクロール（横揺れ）の防止 */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

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

body {
    font-family: var(--font-main);
    color: var(--primary-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    /* ヘッダー固定分の余白 */
    padding-top: 80px; 
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; vertical-align: bottom; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 24px;
    text-align: center;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
    font-family: var(--font-main);
    font-weight: normal;
}

.cta-container { display: flex; justify-content: center; margin-top: 40px; }
.cta-button {
   display: block;
   width: 100%;
   max-width: 420px;
   height: 60px;
   line-height: 60px;
   text-align: center;
   border: 1px solid var(--accent-color);
   color: #333;
   font-size: 24px;
   letter-spacing: 0.05em;
   background: white;
   margin-top: 60px;
}
.cta-button:hover { background: var(--accent-color); color: white; }

/* =========================================
   Header (PC版固定)
   ========================================= */
.site-header {
    position: fixed; /* 固定表示 */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { 
    font-family: var(--font-main); 
    font-size: 24px; font-weight: 400; 
}
.site-nav ul { display: flex; list-style: none; gap: 20px; align-items: center; }
.site-nav a { font-size: 14px; letter-spacing: 1px; }

/* ヘッダー内相談ボタンの共通設定 */
.site-nav .nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px; /* 横幅を同じに固定 */
    height: 45px;
    color: #fff;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.site-nav .btn-plan {
    background: var(--accent-color);
}

.site-nav .btn-dress {
    background: var(--gold-color); /* #D4AF37 */
}

.site-nav .nav-btn:hover {
    opacity: 0.8;
    color: #fff;
}

/* スマホ用固定ナビ（PCでは非表示） */
.sp-fixed-nav {
    display: none;
}

/* =========================================
   Responsive Settings (Mobile)
   ========================================= */
@media (max-width: 768px) {
   
   .pc {
        display: none;
    }
    .sp {
        display: block;
    }
   
    body {
        padding-top: 60px; /* スマホ用ヘッダー高さ */
        padding-bottom: 60px; /* スマホ用フッター固定ボタン分 */
    }

    /* ヘッダー内の相談ボタンを非表示にする */
    .site-nav ul li:has(.nav-btn) {
        display: none;
    }

    .cta-button {
        display: block; width: 100%; max-width: 220px;
        height: 40px;
        line-height: 40px; text-align: center;
        border: 1px solid var(--accent-color); color: #333;
        font-size: 14px; letter-spacing: 0.05em; background: white;
    }

    .header-inner { flex-direction: row; gap: 0; }
    .site-nav ul { gap: 15px; }
    .logo {         
       font-size: 12px;
       line-height: 15px; }

    /* --- SP版フッター固定ナビ --- */
    .sp-fixed-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        z-index: 1001;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }

    .sp-nav-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
    }

    .sp-nav-btn.btn-plan {
        background: var(--accent-color);
    }

    .sp-nav-btn.btn-dress {
        background: var(--gold-color);
    }
    
    .footer-logo { font-family: var(--font-main); font-size: 28px; margin-bottom: 20px; }

}

/* =========================================
   Footer
   ========================================= */
.site-footer { background: #333; color: #fff; padding: 60px 0; text-align: center; }
.footer-logo { font-family: var(--font-main); font-size: 28px; margin-bottom: 20px; }
.footer-address { font-size: 12px; margin-bottom: 30px; opacity: 0.8; }
.footer-links { margin-bottom: 30px; }
.footer-links a { margin: 0 15px; font-size: 14px; }
.copyright { font-size: 10px; opacity: 0.5; }

/* =========================================
   Modal Window
   ========================================= */
.modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999; opacity: 0; visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.modal.is-active { opacity: 1; visibility: visible; }
.modal-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); cursor: pointer;
}
.modal-wrapper {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex; justify-content: center; align-items: center;
    pointer-events: none;
}
.modal-content {
    background: #fff; padding: 40px; 
    pointer-events: auto;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.modal-close-btn {
    position: absolute; top: 15px; right: 15px; background: transparent;
    border: none; font-size: 30px; line-height: 1; cursor: pointer;
    color: #333; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center; transition: 0.3s;
    z-index: 20;
}
.modal-close-btn:hover { color: var(--accent-color); transform: rotate(90deg); }