@charset "UTF-8";

/* Header */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

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

.header-nav ul {
    display: flex;
    /* Increased gap */
    align-items: center;
}

.nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 17px;
    width: auto;
    height: auto;
    padding: 10px 10px;
    background-color: transparent;
    border-radius: 0;
    z-index: 1;
    transition: transform 0.3s ease;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    /* Prevent line breaks */
}

/* Circular Background using pseudo-element */
.nav-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    /* circle size 40px */
    height: 40px;
    border-radius: 50%;
    z-index: -1;
    transition: transform 0.3s ease;
}

/* Hover effect */
.nav-item:hover {
    transform: scale(1.1);
}

/* Specific Colors applied to ::before */
.header-nav li:nth-child(1) .nav-item::before {
    background-color: #fff9db;
}

.header-nav li:nth-child(2) .nav-item::before {
    background-color: #dbefff;
}

.header-nav li:nth-child(3) .nav-item::before {
    background-color: #dfffdb;
}

.header-nav li:nth-child(4) .nav-item::before {
    background-color: #ffe4db;
}

.header-nav li:nth-child(5) .nav-item::before {
    background-color: #ffdbed;
}

.header-nav li:nth-child(6) .nav-item::before {
    background-color: #e4dbff;
}



/* Header CTA */
.header-cta {
    display: flex;
    gap: 15px;
}

.cta-tel,
.cta-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border-radius: 25px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    padding: 0 12px;
    transition: opacity 0.3s;
}

.cta-tel {
    background-color: #ffbf00;
}

.cta-contact {
    background-color: #27afa0;
}

/* Remove glossy pseudo-elements from Header CTA */
.cta-tel::before,
.cta-contact::before {
    display: none;
}

.cta-tel .icon,
.cta-contact .icon {
    margin-right: 10px;
    width: 20px;
    height: auto;
}

/* Header specific: Hide hours only */
.header-cta .tel-hours {
    display: none;
}

.header-cta .tel-info {
    display: flex;
    /* Keep flex layout */
    align-items: center;
    /* Center align for header */
}

/* Ensure text is standard size in header */
.header-cta .tel-text {
    font-size: 15px;
    display: block;
}

.tel-hours {
    font-size: 10px;
    font-weight: normal;
}

.contact-text {
    z-index: 1;
    font-size: 15px;
}

.cta-tel:hover,
.cta-contact:hover {
    opacity: 0.9;
}

/* Mobile Menu Trigger & Content would go here matching previous logic */
.hamburger {
    display: none;
    border: none;
    background: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    margin: 5px 0;
}

.nav-mobile {
    display: none;
    position: fixed;
    top: 55px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    border-bottom: 2px solid #eee;
}

.nav-mobile.active {
    display: block;
}

/* Mobile Nav Links */
.nav-mobile li {
    margin-bottom: 10px;
    text-align: left;
    /* Changed from center to left */
}

.nav-mobile li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    /* Changed from block to flex */
    align-items: center;
    /* Vertical center alignment */
    padding: 10px;
}

/* Colored Squares for Mobile Nav */
.nav-mobile li a::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background-color: #ccc;
    flex-shrink: 0;
    /* Prevent shrinking */
}

/* Specific Colors - Matching Footer */
/* 1. Home - Yellow */
.nav-mobile li:nth-child(1) a::before {
    background-color: #f2cb10;
}

/* 2. Service - Blue */
.nav-mobile li:nth-child(2) a::before {
    background-color: #00abff;
}

/* 3. Eiken - Green */
.nav-mobile li:nth-child(3) a::before {
    background-color: #7fd628;
}

/* 4. Fees - Orange/Beige */
.nav-mobile li:nth-child(4) a::before {
    background-color: #faaa80;
}

/* 5. Facilities - Pink */
.nav-mobile li:nth-child(5) a::before {
    background-color: #fa9cbb;
}

/* 6. Online - Gold/Yellow */
.nav-mobile li:nth-child(6) a::before {
    background-color: #f2cb10;
}

/* Mobile CTA Area */
.mobile-cta-area {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 20px;
}

.mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    border-radius: 30px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-cta-btn.tel {
    background-color: #ffbf00;
}

.mobile-cta-btn.contact {
    background-color: #27afa0;
}

.mobile-cta-btn .icon {
    width: 24px;
    height: auto;
    margin-right: 10px;
}

.mobile-cta-btn .tel-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.mobile-cta-btn .tel-text {
    font-size: 18px;
}

.mobile-cta-btn .tel-hours {
    font-size: 10px;
    font-weight: normal;
}

/* Responsive Header Styles */
@media (max-width: 1285px) {

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

    .hamburger {
        display: block;
        margin-left: auto;
        margin-right: 15px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 10px;
        height: 55px;
    }

    .header-logo img {
        height: 40px;
    }
}