/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: white;
}

.max-container {
    max-width: 1440px;
    margin: 0 auto;
}

.sp_br{
    display: none;
}

.pc_br{
    display: block;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 70px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 24px 32px;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255,0.5);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1356px;
    margin: 0 auto;
}

.logo img {
    width: 65px;
    height: 37px;
}

.gnav {
    display: flex;
    gap: 30px;
}

.gnav a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.4px;
    transition: opacity 0.3s ease;
}

.header.scrolled .gnav a{
    color: #3d2f68;
}

.gnav a:hover {
    opacity: 0.7;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
    width: 30px;
    height: 18px;
    z-index: 1002;
    position: relative;
    justify-content: space-between;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
    transform-origin: center;
}

.header.scrolled .hamburger span {
    background-color: #52428B;
}

/* ハンバーガーメニューが×に変わるアニメーション */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #52428B;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-close {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.menu-close span {
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: white;
}

.menu-close span:first-child {
    transform: rotate(45deg);
}

.menu-close span:last-child {
    transform: rotate(-45deg);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mobile-nav-link {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: opacity 0.3s ease;
    padding: 10px 0;
}

.mobile-nav-link:hover {
    opacity: 0.7;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.title-main {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 1.8px;
    color: #52428b;
    margin-bottom: 10px;
    line-height: 1.2;
}

.title-sub {
    font-size: 13px;
    letter-spacing: 0.65px;
    color: #52428b;
    line-height: 1.2;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 9px 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.4px;
    transition: all 0.3s ease;
    min-width: 220px;
    height: 56px;
}

.btn-primary {
    background-color: #52428b;
    color: white;
}

.btn-primary:hover {
    background-color: #3d2f68;
}

.btn-white {
    background-color: white;
    color: #333;
}

.btn-white:hover {
    background-color: #f5f5f5;
}

.btn-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon img {
    width: 12px;
    height: 16px;
    object-fit: contain;
}

/* Footer */
.footer {
    background-color: #120e19;
    padding: 60px 0 40px;
    text-align: center;
}

.fnav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.fnav a {
    color: white;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1.2px;
    transition: opacity 0.3s ease;
}

.fnav a:hover {
    opacity: 0.7;
}

.copyright {
    color: white;
    font-size: 10px;
    letter-spacing: 0.5px;
    line-height: 1.8;
}

/* Current page navigation styling */
.gnav a.current,
.mobile-nav-link.current {
    opacity: 0.7;
}
/* Sub Header */
.sub-header {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.sub-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}


.sub-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.sub-title {
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 1.8px;
    margin-bottom: 8px;
    line-height: 43.2px;
}

.sub-subtitle {
    font-size: 13px;
    letter-spacing: 0.65px;
    line-height: 15.6px;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #f7f7f7;
    padding: 8px 0;
    height: 43px;
    display: flex;
    align-items: center;
}

.breadcrumb-content {
    max-width: 1440px;
    padding: 0 165px;
    font-size: 12px;
    line-height: 21.6px;
}

.breadcrumb-home {
    color: #e1484d;
}

.breadcrumb-separator {
    color: #333333;
}

.breadcrumb-current {
    color: #333333;
}



/* Common Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .sp_br{
        display: block;
    }

    .pc_br{
        display: none;
    }

    .header {
        padding: 17px 15px;
    }
    
    .header-content {
        max-width: none;
    }

    
    .logo img {
        width: 55px;
        height: 31px;
    }
    
    .gnav {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }

    .breadcrumb-content {
        padding: 0 15px;
        font-size: 11px;
    }
    
    /* Section Titles Mobile */
    .title-main {
        font-size: 28px;
    }
    
    .title-sub {
        font-size: 12px;
    }
    
    /* Button Mobile */
    .btn {
        min-width: 200px;
        height: 50px;
        padding: 15px 30px;
        font-size: 13px;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 40px 0 30px;
    }
    
    .fnav {
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .fnav a {
        font-size: 11px;
    }
    
    .copyright {
        font-size: 9px;
    }
}

/* Contact Section for Index Page */
.contact {
    padding: 80px 0;
    background-color: #f7f7f7;
}

.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-description {
    font-size: 15px;
    letter-spacing: 0.75px;
    color: #333;
    margin: 40px 0 60px;
    line-height: 1.8;
}
