/* =============================================
   POLIST LLC — 共通スタイル
   ============================================= */

:root {
    --navy:  #0f1e35;
    --navy2: #1a2e4a;
    --gold:  #b8965a;
    --gold2: #d4af7a;
    --light: #f5f3ef;
    --gray:  #555555;
    --white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--light);
    color: var(--navy);
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

/* =============================================
   ナビゲーション
   ============================================= */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px;
    background: rgba(15,30,53,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(184,150,90,0.25);
    overflow: visible;
}
.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}
.nav-logo-img {
    height: 48px;
    width: auto;
    display: block;
    filter: brightness(1.2);
}

/* PC用：普通のflexリスト */
.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}
.nav-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    transition: color 0.3s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }

/* ハンバーガーボタン（PCでは非表示） */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    background-color: transparent;
    border: none;
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    padding: 4px;
    z-index: 200;
    position: relative;
}
.nav-hamburger span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--white);
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* オーバーレイ（PCでは非表示） */
.nav-overlay {
    display: none;
}

/* =============================================
   ページヘッダー（内ページ共通）
   ============================================= */
.page-header {
    background: var(--navy);
    padding: 160px 60px 80px;
    position: relative;
    overflow: hidden;
}
.page-header-inner { max-width: 1100px; margin: 0 auto; }
.page-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 300;
    color: var(--white);
    letter-spacing: 0.04em;
    line-height: 1.2;
}
.page-header p.sub {
    color: rgba(255,255,255,0.65);
    font-size: 0.93rem;
    font-weight: 400;
    margin-top: 16px;
}

/* =============================================
   共通ラベル・タイトル
   ============================================= */
.section-label {
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    color: var(--gold);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 400;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 48px;
}

/* =============================================
   CTAボタン
   ============================================= */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    padding: 18px 48px;
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    transition: background 0.3s;
}
.cta-btn:hover { background: var(--navy2); }

/* =============================================
   フッター
   ============================================= */
footer {
    background: #080f1a;
    color: rgba(255,255,255,0.55);
    padding: 36px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}
.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.5);
}
.footer-logo-img {
    height: 40px;
    width: auto;
    display: block;
    opacity: 0.6;
}

/* =============================================
   スマホ用（900px以下）
   ============================================= */
@media (max-width: 900px) {
    nav { padding: 18px 24px; }
    .nav-hamburger { display: flex; }
    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
        list-style: none;
        position: fixed;
        top: 0;
        right: -320px;
        bottom: 0;
        width: 280px;
        background: #0a1426;
        padding: 90px 36px 60px;
        transition: right 0.3s ease;
        border-left: 2px solid rgba(184,150,90,0.4);
        box-shadow: -4px 0 20px rgba(0,0,0,0.5);
        z-index: 99999;
        overflow-y: auto;
    }
    .nav-links.open { right: 0; }
    .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.08); }
    .nav-links a {
        display: block;
        padding: 18px 0;
        font-size: 0.95rem;
        letter-spacing: 0.2em;
        color: rgba(255,255,255,0.85);
    }
    .nav-links a::after { display: none; }
    .nav-links a.active { color: var(--gold); }
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 99998;
    }
    .nav-overlay.open { display: block; }
    .page-header { padding: 120px 24px 60px; }
    footer { flex-direction: column; gap: 16px; text-align: center; }
}
