/* ====================================
   Header & Menu Button
   ==================================== */
.header-outer {
    position: absolute; /* Placed on MV */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001; /* Foremost */
    padding: 20px 0;
}
.header-inner {
    max-width: 1300px; /* Max width setting */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    width: 140px;
    height: auto;
}

/* Menu button */
.menu-btn {
    position:fixed;
    top: 10px;
    right: 10%;
    z-index: 9999; /* Stacking order */
    appearance: none;
    border: none;
    background: linear-gradient(135deg, #D81B60, #8E24AA); /* Background gradient */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    font-family: "Jost", sans-serif;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    
}
.menu-btn:hover {
    transform: scale(1.1);
}

/* ====================================
   Global Navigation Overlay
   ==================================== */
.gnav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(90deg, rgba(142,36,170,0.95), rgba(229,57,53,0.95)); /* Background gradient */
    z-index: 2000;
    
    
    /* Initial state: hidden */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    
    color: #fff;
    overflow-y: auto; /* Allow vertical scroll */
    
}

/* Display state (.active) */
.gnav-overlay.active {
    opacity: 1;
    visibility: visible;
    z-index:100000;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10%;
    appearance: none;
    border: none;
    background: linear-gradient(46.29deg, #6A0DAD 14.24%, #D53D3B 84.96%);
    font-family: "Jost", sans-serif;
    font-weight: 700;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
}

/* Layout */
.gnav-inner {
    padding-top: 80px; /* Top margin */
    padding-bottom: 40px;
}

.gnav-flex {
    display: flex;
    flex-direction: column; /* Vertical layout */
    gap: 50px;
}

/* Link area */
.gnav-main-list {
    list-style: none;
    margin-top:120px;
}
.nav-item {
    margin-bottom: 20px;
}
.nav-item a {
    text-decoration: none;
    color: #fff;
    display: block;
}
.nav-item .en {
    display: block;
    font-family: "Jost", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}
.nav-item .ja {
    display: block;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 12px;
    margin-top: 5px;
    opacity: 0.8;
}

.gnav-contact > a{
    display:block;
    margin:0 auto;
    width:260px;
}

/* Sub menu */
.gnav-sub-list {
    margin-top: 15px;
    margin-left: 5px;
    padding-left: 20px;
    border-left: 1px solid #fff; /* Left border */
    list-style: none;
}
.gnav-sub-list li {
    margin-bottom: 15px;
}
.gnav-sub-list .sub-en {
    display: block;
    font-size: 16px;
    font-weight: 700;
    font-family: "Jost", sans-serif;
}
.gnav-sub-list .sub-ja {
    display: block;
    font-size: 11px;
    opacity: 0.8;
}

/* Information area */
.gnav-logo img {
    /* Logo image */
    width: 150px;
    margin-bottom: 20px;
}
.gnav-sns {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}
.gnav-sns img { width: 30px; }

.gnav-address {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 30px;
    color:#fff;
}
.gnav-address tr { margin-bottom: 10px; }
.gnav-address th { font-weight:800; color: #fff; }
.gnav-address td { padding-left:10px; color: #fff; }

/* Contact button */
.btn-contact-oval {
    display: inline-block;
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 15px 50px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}
.btn-contact-oval:hover {
    background: rgba(255,255,255,0.1);
}
.btn-en { display: block; font-size: 24px; font-weight: 700; font-family: "Jost", sans-serif; }
.btn-ja { display: block; font-size: 12px; }
