/* ========================================
   Marine Shop JINBEI - Common Styles
   ======================================== */

/* ========================================
   CSS変数（カラーパレット）
   ======================================== */
:root {
    --primary: #0c4a6e;
    --primary-light: #0ea5e9;
    --accent: #06b6d4;
    --accent-gold: #c9a86c;
    --text: #1e293b;
    --text-light: #64748b;
    --white: #fff;
    --bg-light: #f8fafc;
    --bg-cream: #f0f9ff;
    --gradient-ocean: linear-gradient(135deg, #0c4a6e 0%, #0ea5e9 50%, #06b6d4 100%);

    /* アクティビティカラー */
    --parasailing-color: #667eea;
    --snorkeling-color: #f093fb;
    --diving-color: #0ea5e9;
    --banana-boat-color: #43e97b;
    --flyboard-color: #ff6b6b;
    --marble-color: #feca57;
    --halfpipe-color: #5f27cd;
    --wakeboard-color: #00d2d3;
    --fishing-color: #10ac84;
}

/* ========================================
   リセット・ベーススタイル
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    color: var(--text);
    line-height: 1.8;
    background: var(--white);
    letter-spacing: 0.05em;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

img {
    max-width: 100%;
    height: auto;
}

.en {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    letter-spacing: 0.1em;
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-ocean);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

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

.logo-main {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0.15em;
}

.logo-sub {
    font-size: 9px;
    color: var(--text-light);
    letter-spacing: 0.1em;
}

/* ========================================
   イコライザー風ハンバーガーメニュー
   ======================================== */
@keyframes equalizer01 {
    0% { width: 70%; }
    10% { width: 50%; }
    20% { width: 100%; }
    30% { width: 10%; }
    40% { width: 50%; }
    50% { width: 70%; }
    60% { width: 50%; }
    70% { width: 10%; }
    80% { width: 100%; }
    90% { width: 10%; }
    100% { width: 70%; }
}

@keyframes equalizer02 {
    0% { width: 30%; }
    10% { width: 20%; }
    20% { width: 40%; }
    30% { width: 10%; }
    40% { width: 20%; }
    50% { width: 30%; }
    60% { width: 20%; }
    70% { width: 10%; }
    80% { width: 40%; }
    90% { width: 10%; }
    100% { width: 30%; }
}

#navArea {
    position: relative;
}

.toggle_btn {
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.3s;
}

.toggle_btn:hover {
    background: var(--bg-light);
}

.toggle_btn span {
    display: block;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.4s;
}

.toggle_btn span:nth-child(1) {
    width: 70%;
    animation: equalizer01 2s infinite ease-in-out;
}

.toggle_btn span:nth-child(2) {
    width: 100%;
}

.toggle_btn span:nth-child(3) {
    width: 30%;
    animation: equalizer02 2s infinite ease-in-out;
}

.toggle_btn:hover span {
    animation-play-state: paused;
}

#navArea.open .toggle_btn span:nth-child(1) {
    animation: none;
    width: 100%;
    transform: translateY(10px) rotate(-45deg);
}

#navArea.open .toggle_btn span:nth-child(2) {
    opacity: 0;
}

#navArea.open .toggle_btn span:nth-child(3) {
    animation: none;
    width: 100%;
    transform: translateY(-10px) rotate(45deg);
}

/* ナビゲーションパネル */
#glovalNav {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    max-width: 90vw;
    height: 100vh;
    background: var(--white);
    z-index: 1001;
    transition: right 0.4s ease;
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}

#navArea.open #glovalNav {
    right: 0;
}

.nav-inner {
    padding: 30px;
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    color: var(--primary);
    font-weight: 500;
}

.nav-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-light);
    border-radius: 50%;
    transition: all 0.3s;
}

.nav-close:hover {
    background: var(--bg-light);
    color: var(--text);
}

.nav-category {
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    font-weight: 500;
}

.nav-divider {
    border: none;
    height: 1px;
    background: #eee;
    margin: 25px 0;
}

/* アクティビティナビ */
.activity-nav-section {
    margin-bottom: 20px;
}

.activity-nav-header {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.activity-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s;
}

.activity-nav-item:hover {
    background: var(--bg-cream);
    transform: translateX(5px);
}

.activity-nav-item.active {
    background: var(--bg-cream);
    border: 1px solid var(--accent);
}

.activity-nav-thumb {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.activity-nav-info {
    flex: 1;
}

.activity-nav-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 1px;
}

.activity-nav-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    margin: 2px 0;
}

.activity-nav-price {
    font-size: 12px;
    color: var(--primary-light);
    font-weight: 500;
}

.activity-nav-arrow {
    font-size: 20px;
    color: #ccc;
    transition: all 0.3s;
}

.activity-nav-item:hover .activity-nav-arrow {
    color: var(--accent);
    transform: translateX(3px);
}

/* ナビリスト */
.nav-list {
    list-style: none;
}

.nav-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-size: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.nav-list li:last-child a {
    border-bottom: none;
}

.nav-list li a:hover {
    color: var(--accent);
}

.nav-list li a .arrow-icon {
    width: 28px;
    height: 28px;
    border: 1.5px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #999;
    transition: all 0.2s;
}

.nav-list li a:hover .arrow-icon {
    border-color: var(--accent);
    color: var(--accent);
}

.nav-back-home {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text);
}

.nav-back-home:hover {
    background: var(--bg-cream);
    color: var(--primary);
}

/* マスク */
#mask {
    display: none;
}

#navArea.open #mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.6;
    z-index: 1000;
    cursor: pointer;
}

/* ========================================
   フッター（共通）
   ======================================== */
.footer {
    background: var(--white);
    padding: 60px 40px 30px;
    border-top: 1px solid #eee;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    text-align: center;
    margin-bottom: 40px;
}

.footer-brand .logo {
    justify-content: center;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 13px;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-light);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.copyright {
    font-size: 12px;
    color: var(--text-light);
}

/* ========================================
   共通コンポーネント
   ======================================== */

/* セクションタイトル */
.section-title {
    font-size: 22px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent);
    position: relative;
}

/* ボタン共通 */
.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.btn-outline {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--white);
}

/* ========================================
   レスポンシブ（共通）
   ======================================== */
@media (max-width: 768px) {
    .header {
        padding: 12px 20px;
    }

    .logo-main {
        font-size: 20px;
    }

    .footer {
        padding: 40px 20px 20px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .logo-main {
        font-size: 18px;
    }

    .logo-sub {
        font-size: 8px;
    }
}

/* ========================================
   モバイルフッター 2列ボタンレイアウト
   ======================================== */

/* モバイルフッターはデフォルトで非表示 */
.footer-mobile {
    display: none;
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 20px 30px;
    }

    .footer-inner {
        display: block;
    }

    /* デスクトップ用フッターを非表示 */
    .footer-desktop {
        display: none !important;
    }

    .footer-brand:not(.footer-desktop) {
        display: none;
    }

    .footer-links:not(.footer-desktop) {
        display: none;
    }

    /* モバイル用フッターを表示 */
    .footer-mobile {
        display: block;
    }

    .footer-mobile-section {
        margin-bottom: 30px;
    }

    .footer-mobile-section-title {
        font-family: 'Cormorant Garamond', serif;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 0.2em;
        color: #c9a86c;
        text-align: center;
        margin-bottom: 15px;
    }

    .footer-mobile-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .footer-mobile-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 14px 10px;
        background: var(--white);
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 400;
        color: var(--text);
        text-align: center;
        transition: all 0.3s;
    }

    .footer-mobile-btn:hover {
        border-color: var(--accent);
        color: var(--accent);
    }

    .footer-mobile-btn.full-width {
        grid-column: span 2;
    }

    .footer-bottom {
        margin-top: 30px;
        padding-top: 20px;
        text-align: center;
    }
}
