@charset "utf-8";

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

:root {
    --primary: #233a5e;
    --accent: #3b5374;
    --text: #262b52;
    --subtext: #636E72;
    --bg: #dfe4ea;
    --white: #FFFFFF;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text);
    background-color: var(--bg);
}

body.menu-open .header-nav,
body.menu-open .header-cta {
    display: none !important;
}

body.menu-open .mobile-menu-btn {
    display: flex !important;
}

.site-header {
    width: 100%;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

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

.header-nav {
    margin-left: auto;
    margin-right: 40px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list li a {
    font-size: 15px;
    font-weight: bold;
    color: var(--text);
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
    display: block;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

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

.nav-list li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-contact {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: #d1d6ec;
    color: var(--primary) !important;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--bg);
    z-index: 1500;
    padding: 120px 40px 0;
    transition: right 0.4s ease-out;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    text-align: left;
    height: calc(100vh - 120px - 40px);
}

.mobile-nav-list li {
    border-bottom: 1px solid rgba(90, 64, 48, 0.1);
}

.mobile-nav-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    font-weight: bold;
    border-bottom: 1px solid rgba(90, 64, 48, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-list a::after {
    content: '';
    width: 34px;
    height: 34px;
    background-color: var(--primary);
    border-radius: 50%;
    border: 2px solid var(--primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 16px;
    flex-shrink: 0;
    margin-left: 10px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.mobile-nav-list a.mobile-btn-contact {
    justify-content: center;
    text-align: center;
    border-bottom: none;
    margin: 20px;
    padding: 15px 30px;
    background-color: var(--primary);
    color: var(--white) !important;
    border-radius: 50px;
    font-weight: bold;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.mobile-nav-list a.mobile-btn-contact:hover {
    background-color: #d1d6ec !important;
    border-color: var(--primary);
    color: var(--primary) !important;
}

.mobile-nav-list a.mobile-btn-contact::after {
    display: none;
}

.mobile-nav-list a:not(.mobile-btn-contact) {
    transition: color 0.3s ease;
}

.mobile-nav-list a:not(.mobile-btn-contact):hover {
    color: var(--accent);
    background-color: transparent;
}

.mobile-nav-list a:not(.mobile-btn-contact):hover::after {
    background-color: #d1d6ec;
    border-color: var(--primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23233a5e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
}

.mobile-nav-list li:last-child {
    margin-top: auto;
    border-bottom: none;
}

.mobile-btn-contact {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    text-align: center;
    border-radius: 50px;
    margin-top: 0px;
    padding: 15px !important;
    display: block;
}

.mobile-menu-btn {
    display: none;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    margin-left: auto;
}

.menu-trigger {
    position: relative;
    width: 100%;
    height: 100%;
}

.menu-trigger span {
    display: block;
    height: 2px;
    background-color: var(--white);
    transition: all 0.4s ease;
    border-radius: 2px;
    position: absolute;
    left: 50%;
    top: 38%;
}

.menu-trigger span:nth-child(1) {
    width: 18px;
    margin-left: -9px;
    transform: translateY(-10px);
}

.menu-trigger span:nth-child(2) {
    width: 26px;
    margin-left: -13px;
    transform: translateY(0);
}

.menu-trigger span:nth-child(3) {
    width: 18px;
    margin-left: -9px;
    transform: translateY(10px);
}

.menu-trigger small {
    color: var(--white);
    font-size: 9px;
    font-weight: bold;
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 8px;
    left: 0;
    transition: opacity 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    width: 26px;
    margin-left: -13px;
    transform: translateY(0) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    width: 26px;
    margin-left: -13px;
    transform: translateY(0) rotate(-45deg);
}

.mobile-menu-btn.active small {
    font-size: 0;
}

.mobile-menu-btn.active small::after {
    content: "CLOSE";
    font-size: 9px;
    display: block;
}

.mobile-fixed-cta {
    display: none;
}

.cta-section {
    position: relative;
    min-height: 350px;
    max-height: 500px;
    display: flex;
    align-items: center;
    background-image: url('../img/00_CAT.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(55, 53, 93, 0.8);
    z-index: 1;
}

.cta-inner {
    width: 65%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
}

.cta-content {
    color: var(--white);
    flex: 1;
}

.cta-title {
    font-size: clamp(18px, 2.1vw + 8px, 32px);
    font-weight: bold;
    line-height: 2;
    margin-bottom: 20px;
}

.cta-text {
    font-size: clamp(14px, 1vw + 10px, 16px);
    opacity: 0.9;
}

.btn-pill-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg);
    color: var(--text);
    padding: 20px 40px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-pill-large:hover {
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.site-footer {
    margin-top: auto;
}

.footer-copyright {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    font-size: 12px;
    padding: 10px 0;
    font-family: "Yu Mincho", "YuMincho", serif;
}



@media (max-width: 850px) {
    .site-header {
        height: 75px;
    }

    .header-nav,
    .header-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .cta-inner {
        width: 80%;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cta-content {
        width: 100%;
        text-align: center;
    }

    .cta-title {
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .btn-pill-large {
        padding: 15px 35px;
    }
}


@media (max-width: 600px) {
    body {
        padding-bottom: 57px;
    }

    .menu-trigger span:nth-child(1) {
        transform: translateY(-8px);
    }

    .menu-trigger span:nth-child(3) {
        transform: translateY(8px);
    }

    .menu-trigger small {
        bottom: 7px;
    }

    .mobile-nav {
        padding: 100px 10px 0;
    }

    .mobile-nav-list {
        height: calc(100vh - 120px - 0px);
    }

    .mobile-nav-list a {
        padding: 15px 15px;
        font-size: 15px;
    }

    .mobile-nav-list a.mobile-btn-contact {
        padding: 10px;
    }

    .mobile-menu-btn {
        width: 50px;
        height: 50px;
    }

    .mobile-fixed-cta {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 56px;
        background-color: var(--accent);
        color: var(--white);
        font-weight: bold;
        font-size: 15px;
        text-align: center;
        z-index: 3000;
        border-top: 1px solid rgba(255, 255, 255, 0.25);
        gap: 8px;
    }

    .cta-icon {
        flex-shrink: 0;
        transform: translateY(-0.5px);
    }

    body.menu-open .mobile-fixed-cta {
        z-index: 1000;
    }

    .cta-section {
        min-height: 230px;
    }

    .cta-inner {
        width: 85%;
        gap: 0px;
    }

    .cta-title {
        line-height: 1.0;
    }

    .cta-text {
        font-size: 11px;
    }

    .btn-pill-large {
        padding: 10px 25px;
        font-size: 15px;
    }

    .footer-copyright {
        font-size: 10px;
        padding: 8px 0;
    }
}


@media screen and (min-width: 650px) {
    .side-lines-wrapper {
        position: relative;
        overflow: hidden;
    }

    .side-lines-wrapper::before,
    .side-lines-wrapper::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 25px;
        background-color: #f1e0c7; 
        z-index: 9999;
        pointer-events: none;
    }

    .side-lines-wrapper::before {
        left: 0;
    }

    .side-lines-wrapper::after {
        right: 0;
    }
}

@media screen and (max-width: 650px) {

}