@charset "utf-8";

/* ====================================
   1. 変数設定 & 基本設定
==================================== */
:root {
    --accent-gold: #BFA57D;
    --light-gold: #F3EFE6;
    --text-main: #4A423F;
    --text-sub: #4A423F;
    --white: #FFFFFF;
    --bg-offwhite: #FAFAF8;
    --footer-bg: #2C2624;
    
    --font-en: 'Cormorant Garamond', serif;
    --font-jp: 'Zen Kaku Gothic New', sans-serif;
    --header-height: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-jp);
    color: var(--text-main);
    line-height: 2.0;
    letter-spacing: 0.08em;
    font-weight: 300;
    padding-top: 0;
    background: #000;
}

/* 見出し類 */
h1, h2, h3, h4, h5, h6, 
.section-title-jp, .section-title-en,
.philosophy-visual-text, .philosophy-main-message,
.feature-title-vertical, .footer-top-message h2, .giant-logo {
    font-family: var(--font-jp);
    font-weight: 100 !important;
}

a { text-decoration: none; transition: 0.4s; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
/* PC・タブレットでは非表示 */
.sp-only {
  display: none;
}
.pc-only {
  display: block;
}  

/* スマホだけ表示 */
@media (max-width: 767px) {
  .sp-only {
    display: block;
  }
.pc-only {
  display: none;
}    
}
/* ====================================
   2. 共通レイアウト & ユーティリティ
==================================== */
#page-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.container { 
    max-width: 1100px; margin: 0 auto; padding: 0 40px; 
    position: relative; z-index: 2; width: 100%; 
}
.container-fluid {
    width: 100%; padding: 0; position: relative; z-index: 2;
}
.section { padding: 120px 0; position: relative; overflow: hidden; }
.bg-gray { background-color: var(--bg-offwhite); }
.text-center { text-align: center; }
.mt-50 { margin-top: 50px; }

/* セクションタイトル共通 */
.section-header { text-align: center; margin-bottom: 70px; }

.section-title-en { 
    font-family: var(--font-en);
    font-size: 60px;
    color: var(--accent-gold); 
    line-height: 1;
    margin-bottom: 10px; 
    font-weight: 400 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase; 
}

.section-title-jp { 
    font-family: var(--font-jp); 
    font-size: 13px;
    color: var(--text-main);
    letter-spacing: 0.2em; 
    font-weight: 400 !important;
    opacity: 0.8; 
}

/* ボタン共通 */
.btn-gold { 
    display: inline-block; 
    background: var(--accent-gold); 
    color: #fff; 
    padding: 15px 50px; 
    border-radius: 50px; 
    font-size: 15px; 
    letter-spacing: 0.1em; 
    box-shadow: 0 10px 20px rgba(191, 165, 125, 0.2); 
    font-weight: 400;
}
.btn-gold:hover { 
    background: #ab9066; 
    transform: translateY(-2px); 
    box-shadow: 0 15px 30px rgba(191, 165, 125, 0.3); 
    color: #fff;
}

/* ====================================
   3. 背景動画 & 白背景エリア
==================================== */
.fixed-bg-video-wrap {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    z-index: 0; overflow: hidden; background: #000;
}
.fixed-bg-video { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.fixed-bg-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.2 ); z-index: 1;
/*   background: rgba(0, 0, 0, 0.2); z-index: 1;*/
}

.white-background-area {
    position: relative; z-index: 10; background-color: var(--white); width: 100%;
}

/* ====================================
   4. ヘッダー (背景を白に変更)
==================================== */
.site-header {
    width: 100%;
    height: var(--header-height);
    background-color: var(--white); /* 背景を白に変更 */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    transition: 0.4s ease;
}

/* スクロール時の微調整 */
.site-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.98); 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Logo: ダークブラウンに変更 */
.header-logo {
    font-family: var(--font-jp); 
    font-size: 28px; 
    font-weight: 100; 
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main); /* ダークブラウンに変更 */
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 1; 
    visibility: visible;
    transition: color 0.4s ease;
}
.site-header.is-scrolled .header-logo { color: var(--text-main); }

/* PCナビゲーション: ダークブラウンに変更 */
.pc-nav ul { display: flex; gap: 30px; align-items: center; }
.pc-nav a { 
    font-family: var(--font-jp); font-size: 13px; font-weight: 400; 
    position: relative; letter-spacing: 0.1em; color: var(--text-main); /* ダークブラウンに変更 */
}
.site-header.is-scrolled .pc-nav a { color: var(--text-main); }

.pc-nav a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px; 
    background: var(--accent-gold); transition: 0.3s;
}
.pc-nav a:hover::after { width: 100%; }

/* ヘッダーボタン */
.header-btns { display: flex; gap: 15px; align-items: center; }
.btn-header-login { 
    font-family: var(--font-jp); font-size: 12px; font-weight: 400; 
    color: var(--text-main); border: 1px solid var(--text-main); padding: 8px 25px; border-radius: 50px; letter-spacing: 0.1em; 
}
.btn-header-login:hover { background: rgba(74, 66, 63, 0.05); } /* ホバー時の背景色を調整 */

.btn-header-register { 
    font-family: var(--font-jp); font-size: 12px; font-weight: 400; 
    color: #fff; background: var(--accent-gold); padding: 9px 25px; border-radius: 50px; letter-spacing: 0.1em; 
    box-shadow: 0 4px 10px rgba(191, 165, 125, 0.2); 
}
.btn-header-register:hover { opacity: 0.9; transform: translateY(-1px); }

/* --- ハンバーガーメニュー (ダークブラウンに変更) --- */
.hamburger-menu {
    display: none;
    cursor: pointer;
    width: 40px; height: 30px;
    position: relative;
    z-index: 1001;
    transition: 0.4s;
}
.hamburger-bar {
    display: block; width: 100%; height: 1px;
    background: var(--text-main); /* 棒の色をダークブラウンに変更 */
    position: absolute; right: 0;
    transition: 0.4s ease-in-out;
}

/* メニューオープン時は白に変更（オーバーレイが濃い色のため） */
.hamburger-menu.active .hamburger-bar {
    background: #fff;
}
/* 3本線の配置 */
.hamburger-bar:nth-child(1) { top: 5px; width: 100%; }
.hamburger-bar:nth-child(2) { top: 14px; width: 80%; } /* 真ん中短く */
.hamburger-bar:nth-child(3) { bottom: 5px; width: 100%; }

/* オープン時 */
.hamburger-menu.active .hamburger-bar:nth-child(1) { top: 14px; transform: rotate(45deg); width: 100%; }
.hamburger-menu.active .hamburger-bar:nth-child(2) { opacity: 0; width: 0; }
.hamburger-menu.active .hamburger-bar:nth-child(3) { bottom: 15px; transform: rotate(-45deg); width: 100%; }

/* --- スマホ用ナビゲーション (Scrollable & Stylish) --- */
.sp-nav-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(44, 38, 36, 0.98); /* 透過を少し減らして没入感を出す */
    z-index: 1000;
    
    /* 縦スクロール可能にする設定 */
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch;
    
    /* レイアウト調整 */
    display: flex; flex-direction: column; justify-content: flex-start; align-items: center;
    
    /* 余白確保（CLOSEボタンや下の見切れ防止） */
    padding-top: 100px; padding-bottom: 150px;
    
    opacity: 0; visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.sp-nav-overlay.active { opacity: 1; visibility: visible; }

/* CLOSEボタン */
.sp-nav-close {
    position: fixed; top: 30px; right: 30px; color: #fff;
    cursor: pointer; font-family: var(--font-en); font-size: 11px; letter-spacing: 0.2em;
    display: flex; align-items: center; gap: 8px; opacity: 0.7; transition: 0.3s;
    z-index: 1002;
}
.sp-nav-close:hover { opacity: 1; }

/* メニューリスト */
.sp-nav-list { text-align: center; width: 100%; padding: 0; margin-bottom: 30px; }

.sp-nav-list li { 
    margin-bottom: 25px; 
    opacity: 0; transform: translateY(10px); transition: 0.5s ease; 
}
.sp-nav-overlay.active .sp-nav-list li { opacity: 1; transform: translateY(0); }
.sp-nav-overlay.active .sp-nav-list li:nth-child(1) { transition-delay: 0.1s; }
.sp-nav-overlay.active .sp-nav-list li:nth-child(2) { transition-delay: 0.15s; }
.sp-nav-overlay.active .sp-nav-list li:nth-child(3) { transition-delay: 0.2s; }
.sp-nav-overlay.active .sp-nav-list li:nth-child(4) { transition-delay: 0.25s; }
.sp-nav-overlay.active .sp-nav-list li:nth-child(5) { transition-delay: 0.3s; }

.sp-nav-list a {
    color: #fff;
    font-family: var(--font-en); 
    font-size: 14px; /* 16pxに縮小 */
    font-weight: 400;
    letter-spacing: 0.3em; /* 間隔広め */
    display: inline-block; 
    padding: 0px 0;
    text-transform: uppercase;
    position: relative;
}
.sp-nav-list a::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 1px; background: var(--accent-gold); transition: 0.3s;
}
.sp-nav-list a:hover { color: var(--accent-gold); }
.sp-nav-list a:hover::after { width: 100%; }

/* ボタンエリア */
.sp-btn-area {
    margin-top: 10px; display: flex; flex-direction: column; gap: 15px; width: 200px;
    opacity: 0; transform: translateY(10px); transition: 0.5s ease 0.4s;
}
.sp-nav-overlay.active .sp-btn-area { opacity: 1; transform: translateY(0); }

.sp-btn-area a {
    text-align: center; padding: 14px; border-radius: 50px;
    font-family: var(--font-jp); font-weight: 300; font-size: 12px; letter-spacing: 0.1em; transition: 0.3s;
}
.btn-sp-login { border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.btn-sp-login:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-sp-register { background: var(--accent-gold); color: #fff; border: none; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.btn-sp-register:hover { background: #ab9066; transform: translateY(-2px); }




/* ====================================
   6. CTA & Footer & About Specifics
==================================== */
.cta-section { background-color: var(--light-gold); text-align: center; padding: 100px 20px; }
.site-footer { background-color: var(--footer-bg); color: #fff; padding: 100px 0 40px; font-size: 14px; position: relative; }
.footer-top-message { text-align: center; margin-bottom: 80px; }
.footer-top-message h2 { font-family: var(--font-jp); font-size: 28px; font-weight: 400; margin-bottom: 20px; letter-spacing: 0.1em; }
.en-message { font-size: 11px; opacity: 0.5; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 30px; line-height: 1.8; font-weight: 400; }
.color-swatches { display: flex; justify-content: center; gap: 15px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; display: inline-block; box-shadow: inset 0 2px 5px rgba(0,0,0,0.2); }
.swatch-1 { background: var(--white); }
.swatch-2 { background: var(--bg-offwhite); }
.swatch-3 { background: var(--light-gold); }
.swatch-4 { background: var(--accent-gold); }
.swatch-5 { background: var(--text-sub); }
.footer-divider { display: flex; align-items: center; justify-content: center; margin-bottom: 80px; gap: 30px; opacity: 0.6; }
.footer-divider::before, .footer-divider::after { content: ''; flex: 1; max-width: 300px; height: 1px; background: rgba(255,255,255,0.3); }
.footer-divider span { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; font-weight: 400; }
.footer-main-content { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 40px; align-items: end; }
.footer-left { text-align: left; }
.footer-nav-main { margin-bottom: 40px; padding: 0; }
.footer-nav-main li { margin-bottom: 15px; }
.footer-nav-main a { color: rgba(255,255,255,0.8); font-size: 12px; letter-spacing: 0.2em; font-weight: 500; text-transform: uppercase; }
.footer-nav-main a:hover { color: var(--accent-gold); }
.footer-sns { display: flex; gap: 20px; }
.footer-sns a { font-size: 18px; color: rgba(255,255,255,0.6); }
.footer-sns a:hover { color: #fff; }
.footer-center { text-align: center; }
.giant-logo { font-family: var(--font-jp); font-weight: 400; font-size: 180px; line-height: 1; color: #fff; display: block; margin-bottom: -20px; text-shadow: 0 0 30px rgba(255,255,255,0.1); }
.footer-right { text-align: right; }
.footer-nav-sub { margin-bottom: 40px; padding: 0; }
.footer-nav-sub li { margin-bottom: 15px; }
.footer-nav-sub a { color: rgba(255,255,255,0.5); font-size: 11px; letter-spacing: 0.1em; font-weight: 400; }
.footer-nav-sub a:hover { color: #fff; }
.copyright { font-size: 10px; color: rgba(255,255,255,0.3); letter-spacing: 0.1em; font-weight: 400; }

/* About Page Styles */
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
.page-header { text-align: center; padding: 180px 0 100px; background: var(--bg-offwhite); margin-bottom: 80px; }
.page-title-en { font-family: var(--font-en); font-size: 50px; font-weight: 300; color: var(--accent-gold); display: block; margin-bottom: 10px; letter-spacing: 0.05em; }
.page-title-ja { font-size: 13px; color: var(--text-main); font-weight: 400; display: block; letter-spacing: 0.2em; opacity: 0.8; }
.section-title-small { text-align: center; margin-bottom: 60px; }
.section-title-small h2 { font-family: var(--font-en); font-size: 32px; color: var(--accent-gold); font-weight: 400; margin-bottom: 10px; }
.section-title-small span { font-size: 12px; letter-spacing: 0.2em; opacity: 0.7; }
.message-section { padding-bottom: 100px; }
.message-head { font-family: var(--font-jp); font-size: 24px; font-weight: 400; text-align: center; margin-bottom: 50px; line-height: 2; letter-spacing: 0.1em; }
.message-body { font-size: 15px; line-height: 2.4; color: var(--text-main); }
.message-body p { margin-bottom: 30px; }
.message-sign { text-align: right; margin-top: 50px; font-family: var(--font-en); font-size: 16px; letter-spacing: 0.1em; }
.mission-section { background-color: var(--bg-offwhite); padding: 100px 0; text-align: center; }
.mission-label { display: inline-block; font-family: var(--font-en); font-size: 14px; letter-spacing: 0.2em; color: var(--accent-gold); margin-bottom: 30px; border-bottom: 1px solid var(--accent-gold); padding-bottom: 5px; }
.mission-catch { font-family: var(--font-jp); font-size: 28px; font-weight: 400; color: var(--text-main); margin-bottom: 40px; line-height: 1.8; letter-spacing: 0.1em; }
.mission-desc { font-size: 15px; max-width: 680px; margin: 0 auto; opacity: 0.9; }
.values-section { padding: 120px 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
.value-card { text-align: center; }
.value-icon { width: 60px; height: 60px; margin: 0 auto 25px; color: var(--accent-gold); font-size: 28px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--accent-gold); border-radius: 50%; }
.value-title { font-family: var(--font-en); font-size: 20px; font-weight: 400; margin-bottom: 15px; color: var(--text-main); letter-spacing: 0.05em; }
.value-title span { display: block; font-family: var(--font-jp); font-size: 13px; margin-top: 5px; font-weight: 400; opacity: 0.8; }
.value-text { font-size: 13px; color: var(--text-sub); line-height: 2; }
.safety-section { padding: 0 0 120px; }
.safety-box { background: #fff; border: 1px solid #eee; padding: 60px; position: relative; }
.safety-box::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--accent-gold); }
.safety-list { list-style: none; padding: 0; margin-top: 40px; }
.safety-list li { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid #f5f5f5; }
.safety-list li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.safety-list strong { color: var(--text-main); font-weight: 500; font-size: 16px; display: block; margin-bottom: 10px; position: relative; padding-left: 20px; }
.safety-list strong::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; background: var(--accent-gold); transform: rotate(45deg); }
.safety-desc-text { font-size: 14px; color: var(--text-sub); padding-left: 20px; }





/* ====================================
   Responsive
==================================== */
@media (max-width: 900px) {

    /* Header Mobile */
    .pc-nav, .header-btns { display: none; }
    .hamburger-menu { display: block; }
    .site-header { padding: 0 20px; }


.section-title-en { 

    font-size: 14vw;

}
    /* Footer Mobile */
    .footer-main-content { grid-template-columns: 1fr; text-align: center; gap: 50px; }
    .giant-logo { font-size: 25vw; order: -1; }
    .footer-left { text-align: center; }
    .footer-right { text-align: center; }
    .footer-sns { justify-content: center; }
    .footer-divider { gap: 15px; }
    .footer-divider::before, .footer-divider::after { max-width: 40px; } 
    .footer-divider span { font-size: 10px; }

}




/* --- フッター：大光量のピュアホワイト・ムーン --- */
.color-swatches {
    display: flex;
    justify-content: center;
    gap: 30px; /* サイズに合わせて余白も広めに */
    align-items: center;
    padding: 50px 0;
}

.swatch {
    width: 32px;  /* サイズを大幅にアップ */
    height: 32px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    /* 月の輪郭を強調する繊細なライン */
    border: 0.5px solid rgba(255, 255, 255, 0.2); 
    background: transparent;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* 共通：月の発光体（すべて白） */
.swatch::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    background: #ffffff;
    transition: inherit;
}

/* 共通：欠けを作る影（背景色と完全一致させる） */
.swatch::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    background: var(--footer-bg); /* #2C2624 */
    transition: inherit;
}

/* 1. 三日月（極細：静寂の始まり） */
.moon-1::before { opacity: 0.4; }
.moon-1::after { transform: translateX(6px) scale(1.1); } /* 影を大きく被せる */

/* 2. 三日月（優雅な弧） */
.moon-2::before { opacity: 0.6; }
.moon-2::after { transform: translateX(12px) scale(1.1); }

/* 3. 半月（均衡の美） */
.moon-3::before { opacity: 0.8; }
.moon-3::after { transform: translateX(16px) scale(1.1); border-radius: 0; }

/* 4. 十三夜（満ちる直前の高揚） */
.moon-4::before { opacity: 0.9; }
.moon-4::after { transform: translateX(24px) scale(1.1); }

/* 5. 満月（圧倒的な充足） */
.moon-5::before { 
    opacity: 1; 
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.6), 
        0 0 40px rgba(255, 255, 255, 0.2);
}
.moon-5::after { opacity: 0; }
.moon-5 { border-color: rgba(255, 255, 255, 0.5); }

/* ホバー：吸い込まれるような光の演出 */
.swatch:hover {
    transform: scale(1.15);
    cursor: pointer;
    border-color: rgba(255, 255, 255, 0.8);
}
.swatch:hover::before {
    opacity: 1;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.9);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .color-swatches { gap: 15px; }
    .swatch { width: 24px; height: 24px; }
}


/* ==========================================
   Section: ELUNA Invitation (Museum Gallery Style)
   ========================================== */

.el-gal-section {
    background-color: #ffffff !important;
    padding: 100px 0 !important;
    position: relative !important;
    z-index: 20 !important;
    text-align: center !important;
    width: 100% !important;
}

.el-gal-container {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0!important;
}

/* ラベル：SELECTED MEMBERS ONLY */
.el-gal-top {
    margin-bottom: 60px !important;
    display: flex !important;
    justify-content: center !important;
}

.el-gal-label {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
}

.el-gal-label-en {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 11px !important;
    letter-spacing: 0.5em !important;
    color: #bfa57d !important;
}

.el-gal-label-line {
    width: 1px !important;
    height: 40px !important;
    background-color: #bfa57d !important;
    opacity: 0.4 !important;
}

/* メインメッセージ */
.el-gal-header { margin-bottom: 100px !important; }

.el-gal-hook {
    font-size: 14px !important;
    color: #bfa57d !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 25px !important;
    font-weight: 500 !important;
}

.el-gal-title {
    font-family: 'Zen Kaku Gothic New', sans-serif !important;
    font-size: clamp(26px, 4vw, 40px) !important;
    font-weight: 300 !important;
    line-height: 1.6 !important;
    color: #333 !important;
    letter-spacing: 0.08em !important;
}

/* ギャラリーグリッド */
.el-gal-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 40px !important;
    margin-bottom: 120px !important;
    border-top: 1px solid #eee !important;
    border-bottom: 1px solid #eee !important;
    padding: 60px 0 !important;
}

.el-gal-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
}

.el-gal-no {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 20px !important;
    color: #ccc !important;
    letter-spacing: 0.2em !important;
    margin-bottom: 20px !important;
}

.el-gal-icon {
    font-size: 18px !important;
    color: #bfa57d !important;
    margin-bottom: 20px !important;
}

.el-gal-item h3 {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 11px !important;
    letter-spacing: 0.2em !important;
    color: #333 !important;
    margin-bottom: 12px !important;
    font-weight: 600 !important;
}

.el-gal-item p {
    font-size: 12px !important;
    line-height: 1.8 !important;
}

/* プレミアム・ギャラリーボタン */
.el-gal-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 50px !important;
    padding: 25px 50px !important;
    background: #fff !important;
    border: 1px solid #333 !important;
    text-decoration: none !important;
    color: #333 !important;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1) !important;
}

.el-gal-btn-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
}

.el-gal-btn-jp {
    font-size: 16px !important;
    letter-spacing: 0.15em !important;
    font-weight: 500 !important;
    margin-bottom: 5px !important;
}

.el-gal-btn-en {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 9px !important;
    letter-spacing: 0.3em !important;
    opacity: 0.5 !important;
}

.el-gal-btn-arrow {
    width: 40px !important;
}

.el-gal-btn-arrow svg {
    fill: none !important;
    stroke: #333 !important;
    stroke-width: 1px !important;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1) !important;
}

/* ホバー：美術館の什器のような精密な動き */
.el-gal-btn:hover {
    background: #333 !important;
    color: #fff !important;
}

.el-gal-btn:hover .el-gal-btn-arrow svg {
    stroke: #fff !important;
    transform: translateX(10px) !important;
}

.el-gal-note {
    margin-top: 40px !important;
    font-size: 10px !important;
    color: #aaa !important;
    letter-spacing: 0.05em !important;
}

/* --- スマホ対応 (Gallery Mobile) --- */
@media (max-width: 900px) {
    .el-gal-section { padding: 100px 2em !important; }
    .el-gal-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 50px 20px !important;
    }
    .el-gal-btn {
        width: 100% !important;
        padding: 20px 30px !important;
        gap: 20px !important;
        justify-content: space-between !important;
    }
    .el-gal-btn-jp { font-size: 14px !important; }
    .el-gal-title { font-size: 24px !important; }
}


/* ======================================
   Footer account actions (Login/Register etc.)
====================================== */
.footer-account-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-bottom: 18px;
}

/* Base button */
.footer-account-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(191,165,125,.45);
  background: #fff;
  color: #6b5a3d;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .06em;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

/* Primary (gold filled) ＝ 新規登録と同じ色 */
.footer-account-btn--primary{
  background: #bfa57d;
  border-color: #bfa57d;
  color: #fff;
}

/* Ghost */
.footer-account-btn--ghost{
  background: transparent;
}

/* ✅ Login button: white background */
.footer-account-btn.is-login{
  background: #fff;
  border-color: rgba(191,165,125,.55);
  color: #6b5a3d;
}

/* ✅ Logout を 新規登録(Primary) と同じ色にする */
.footer-account-btn--logout{
  background: #bfa57d;
  border-color: #bfa57d;
  color: #fff;
}

/* ✅ マイページだけ控えめにする（ログイン中の primary を白に変更）
   ※マイページは footer-account-btn--primary を使っているため、ここで上書き */
.footer-account-actions a[href*="wp-admin"].footer-account-btn--primary{
  background: #fff;
  border-color: rgba(191,165,125,.75);
  color: #8c6b2b;
}

/* hover */
@media (hover:hover){
  .footer-account-btn:hover{
    background: #fff;
    border-color: rgba(191,165,125,.55);
    color: #6b5a3d;
  }

  /* 新規登録 hover */
  .footer-account-btn--primary:hover{
    background: #a98f67;
    border-color: #a98f67;
    color: #fff;
  }

  /* ログアウト hover（新規登録と同じ挙動） */
  .footer-account-btn--logout:hover{
    background: #a98f67;
    border-color: #a98f67;
    color: #fff;
  }

  /* マイページ hover（控えめに） */
  .footer-account-actions a[href*="wp-admin"].footer-account-btn--primary:hover{
     background: #fff;
    border-color: rgba(191,165,125,.85);
    color: #8c6b2b;
  }
}

/* ✅ PC: vertical stack, BUT no fixed width */
@media (min-width: 769px){
  .footer-account-actions{
    flex-direction: column;  /* 縦並び */
    align-items: flex-end;   /* 右寄せ */
    gap: 10px;
  }
  .footer-account-actions .footer-account-btn{
    width: auto;
    min-width: 0;
  }
}

/* Mobile */
@media (max-width: 768px){
  .footer-account-actions{
    justify-content: center;
  }
  .footer-account-btn{
    height: 42px;
    padding: 0 18px;
    font-size: 13px;
  }
}


