/* カスタムヘッダー用CSS */
:root {
    --primary-green: #349F87;
    --primary-green-hover: #2B8671;
    --deep-green: #002A1D;
    --bg-base: #F5F5EE;
    --bg-light: #F8F8F3;
    --bg-white: #FFFFFF;
    --accent-orange: #EFA661;
    --dark-orange: #D37C2D;
    --text-gray: #7B8F85;
    --font-en: 'Roboto Condensed', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.custom-site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: var(--transition-smooth);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 42, 29, 0.05);
    padding: 8px 0;
    box-sizing: border-box;
    font-family: 'Zen Kaku Gothic New', "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

.custom-site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 42, 29, 0.05);
}

.custom-site-header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.custom-site-header .logo {
    margin: 0;
}

.custom-site-header .logo a {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.custom-site-header .logo-img {
    height: 48px;
    width: 48px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 42, 29, 0.1);
    border: 2px solid var(--bg-white);
}

.custom-site-header .logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.custom-site-header .logo-sub {
    font-size: 10px;
    font-weight: 600;
    color: var(--primary-green);
    letter-spacing: 0.1em;
}

.custom-site-header .logo-main {
    font-size: 24px;
    font-weight: 700;
    color: var(--deep-green);
    letter-spacing: 0.05em;
}

.custom-site-header .logo-icon {
    font-size: 18px;
}

.custom-site-header .nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.custom-site-header .nav-list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--deep-green);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.custom-site-header .nav-list a:hover {
    color: var(--primary-green);
}

.custom-site-header .nav-jp {
    font-size: 14px;
    font-weight: 700;
}

.custom-site-header .nav-en {
    font-family: var(--font-en);
    font-size: 10px;
    color: var(--text-gray);
    letter-spacing: 0.1em;
}

.custom-site-header .nav-list a:hover .nav-en {
    color: var(--primary-green);
}

.custom-site-header .nav-btn-wrapper {
    display: none;
}

.custom-site-header .nav-icon {
    display: none;
}

.custom-site-header .mobile-menu-btn {
    display: none;
    background: var(--bg-white);
    border: 1px solid rgba(0, 42, 29, 0.1);
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: relative;
    z-index: 2000;
    box-shadow: 0 4px 15px rgba(52, 159, 135, 0.1);
    transition: 0.3s;
    padding: 0;
}

.custom-site-header .mobile-menu-btn.active {
    background: var(--accect-orange);
    border-color: var(--accect-orange);
}

.custom-site-header .menu-icon-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 14px;
}

.custom-site-header .menu-icon-lines span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--dark-orange);
    position: absolute;
    left: 0;
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.custom-site-header .mobile-menu-btn.active .menu-icon-lines span {
    background-color: white;
}

.custom-site-header .menu-icon-lines span:nth-child(1) {
    top: 0;
}

.custom-site-header .menu-icon-lines span:nth-child(2) {
    top: 6px;
}

.custom-site-header .menu-icon-lines span:nth-child(3) {
    top: 12px;
}

/* スマホ用スタイル */
@media (max-width: 900px) {
    .custom-site-header {
        padding: 4px 0;
    }

    .custom-site-header .logo a {
        gap: 8px;
    }

    .custom-site-header .logo-img {
        height: 36px;
        width: 36px;
    }

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

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

    .custom-site-header .mobile-menu-btn {
        display: block;
        width: 48px;
        height: 48px;
    }

    .custom-site-header .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--dark-orange);
        padding: 60px 24px 60px;
        box-sizing: border-box;
        transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 1500;
        overflow-y: auto;
        display: block;
    }

    .custom-site-header .nav.active {
        right: 0;
    }

    .custom-site-header .nav-list {
        display: block;
        width: 100%;
        margin-top: 20px;
    }

    .custom-site-header .nav-list>li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .custom-site-header .nav-list>li:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .custom-site-header .nav-list>li.nav-btn-wrapper {
        border: none;
        padding-top: 40px;
        display: block;
        text-align: center;
    }

    .custom-site-header .nav-list a {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 24px 16px;
        gap: 16px;
        color: var(--bg-white) !important;
    }

    .custom-site-header .nav-icon {
        display: block;
        width: 24px;
        height: 24px;
        margin: 0;
        color: var(--bg-white);
        flex-shrink: 0;
    }

    .custom-site-header .nav-jp {
        font-size: 18px;
        font-weight: 700;
        flex: 1;
        color: var(--bg-white) !important;
    }

    .custom-site-header .nav-en {
        display: block;
        font-size: 13px;
        letter-spacing: 0.15em;
        color: rgba(255, 255, 255, 0.7) !important;
    }

    .custom-site-header .nav-list .btn-primary {
        background-color: var(--bg-white);
        color: var(--dark-orange) !important;
        justify-content: center;
        padding: 18px;
        border-radius: 50px;
    }
}

/* ヘッダーの高さ分、bodyの上部に余白を持たせるための調整 */
body {
    padding-top: 80px;
}

@media (max-width: 900px) {
    body {
        padding-top: 55px;
    }
}

/* =========================================================================
   Footer (Custom)
   ========================================================================= */
.custom-site-footer {
    background-color: var(--dark-orange);
    color: var(--bg-white);
    padding: 60px 0 40px;
    text-align: center;
}

.custom-site-footer .footer-logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.custom-site-footer .logo-img {
    height: 56px;
    width: 56px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.custom-site-footer .logo-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.custom-site-footer .logo-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
}

.custom-site-footer .logo-main {
    font-size: 28px;
    font-weight: 700;
    color: var(--bg-white);
    letter-spacing: 0.05em;
}

.custom-site-footer .copyright {
    font-family: var(--font-en);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

/* =========================================================================
   Floating Action Button (FAB)
   ========================================================================= */
.fab {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background-color: var(--primary-green);
    color: var(--bg-white) !important;
    border-radius: 50px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 42, 29, 0.1);
    z-index: 999;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.fab:hover {
    background-color: var(--primary-green-hover);
    transform: translateY(-4px);
    color: var(--bg-white);
    text-decoration: none;
}

@media (max-width: 900px) {
    .fab {
        bottom: 16px;
        right: 16px;
        padding: 12px 16px;
        font-size: 13px;
    }
}