/* ============================================================
   global.css
   CSS変数 / リセット / タイポグラフィ / 共通コンポーネント
   AUREA SOL LEVANS — aureasollevans-theme
============================================================ */

/* ── CSS変数 ─────────────────────────────────────────────── */
:root {
    --gold:          #B8973A;
    --gold-light:    #D4AF5A;
    --gold-pale:     #F0E4C0;
    --charcoal:      #1A1A1A;
    --charcoal-mid:  #2E2E2E;
    --off-white:     #EDE8DE;
    --off-white-alt: #E3DDD2;
    --warm-gray:     #8A8078;
    --text-dark:     #1A1A1A;
    --text-mid:      #4A4440;
    --on-dark:       #E8D5A3;
    --on-dark-sub:   #C9B98A;
}

/* ── リセット ────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
    background: var(--charcoal);
    color: var(--on-dark);
    overflow-x: hidden;
}

/* ── 言語トグル ──────────────────────────────────────────── */
#lang-toggle {
    position: fixed;
    top: 1.2rem;
    right: 1.8rem;
    z-index: 1000;
    display: flex;
    gap: 0;
    border: 1px solid rgba(184,151,58,0.5);
}
#lang-toggle button {
    background: transparent;
    border: none;
    padding: 0.35rem 0.9rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    cursor: pointer;
    color: var(--gold-pale);
    transition: all 0.3s ease;
}
#lang-toggle button.active {
    background: var(--gold);
    color: var(--charcoal);
}
#lang-toggle button:hover:not(.active) {
    background: rgba(184,151,58,0.15);
}

/* ── 共通セクションラベル・タイトル・ルール ─────────────── */
.section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    color: var(--gold);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1.2rem;
}
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 300;
    text-align: center;
    color: var(--on-dark);
    letter-spacing: 0.04em;
    margin-bottom: 0.6rem;
}
.section-title.ja {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.9rem);
    letter-spacing: 0.1em;
}
.section-rule {
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 4rem;
}

/* ── リンク・CTAボタン共通 ───────────────────────────────── */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    transition: gap 0.3s ease;
}
.link-arrow:hover { gap: 1.3rem; }
.link-arrow::after {
    content: '→';
    font-size: 0.9rem;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 3.5rem;
    background: var(--gold);
    color: var(--charcoal);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.3s, transform 0.2s;
}
.cta-btn:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

/* ── フッターロゴ画像（header.php / footer.php 共用） ────── */
.nav-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}
.footer-logo-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin: 0 auto 0.5rem;
    display: block;
}

/* ── レスポンシブ共通 ────────────────────────────────────── */
@media (max-width: 768px) {
    #lang-toggle { display: none; }
}

/* ── ユーティリティ ─────────────────────────────────── */
.text-left  { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }