
body.lower-page .header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
}

body.lower-page .nav-list li a,
body.lower-page .nav-link-trigger {
    color: #333;
}
body.lower-page .nav-link-trigger .caret {
    color: #333;
}
body.lower-page .menu-icon span,
body.lower-page .menu-icon::before,
body.lower-page .menu-icon::after {
    background: #333;
}

body.lower-page .site-logo-svg .st1 {
    fill: #000000 !important;
}


.not-found-section {
    padding: 120px 0;
    text-align: center;
}

.error-code {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 10rem;
    font-weight: 900;
    color: #f0f4f8;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.error-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #003366;
    margin-bottom: 30px;
}

.error-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 50px;
}

.pc-only {
    display: block;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #003366;
    color: #fff;
    padding: 18px 60px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.2);
    margin-bottom: 70px;
}

.btn-back-home:hover {
    background-color: #4da2d8; /* Smart Blue */
    box-shadow: 0 8px 25px rgba(77, 162, 216, 0.3);
    transform: translateY(-3px);
}

.sitemap-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    border-top: 1px solid #eaeaea;
    padding-top: 50px;
    flex-wrap: wrap;
}

.sitemap-links a {
    position: relative;
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.sitemap-links a::after {
    content: "›";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #4da2d8;
}

.sitemap-links a:hover {
    color: #4da2d8;
}

@media (max-width: 768px) {
    .not-found-section {
        padding: 80px 0;
    }
    
    .error-code {
        font-size: 7rem;
    }
    
    .error-title {
        font-size: 1.4rem;
    }
    
    .error-text {
        font-size: 1rem;
    }
    
    .pc-only {
        display: none;
    }
    
    .btn-back-home {
        width: 100%;
        padding: 18px 0;
        box-sizing: border-box;
    }
    
    .sitemap-links {
        flex-direction: column;
        gap: 20px;
        padding-top: 40px;
    }
    
    .sitemap-links a::after {
        display: none;
    }
}





/* =========================================
   Page Header (Modern Minimal / SaaS Style)
   ========================================= */

.page-header-modern {
    background-color: #F8FAFC; 
    
    padding: 150px 0 50px; 
    
    border-bottom: 1px solid #E2E8F0; 
}

.page-title-wrapper {
    border-left: 4px solid var(--primary-color); 
    padding-left: 24px;
}

.en-title {
    display: block;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.2em;
    margin-bottom: 12px;
}

.ja-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin: 0;
    font-feature-settings: "palt";
}

/* =========================================
   Breadcrumbs (Modern Style)
   ========================================= */
.breadcrumbs-modern {
    background-color: #fff;
    padding: 15px 0;
}

.breadcrumbs-modern .breadcrumbs-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: #666;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.breadcrumbs-modern li {
    display: flex;
    align-items: center;
}

.breadcrumbs-modern li + li::before {
    content: "/";
    margin: 0 12px;
    color: #cbd5e1;
}

.breadcrumbs-modern a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs-modern a:hover {
    color: var(--primary-color);
}

/* =========================================
   Mobile Responsive
   ========================================= */
@media (max-width: 768px) {
    .page-header-modern {
        padding: 130px 0 30px;
    }
    
    .page-title-wrapper {
        padding-left: 16px;
        border-left-width: 3px;
    }
    
    .en-title {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .ja-title {
        font-size: 2rem;
    }
    
    .breadcrumbs-modern .breadcrumbs-list {
        white-space: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }
}



.c-section{
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
}

.container-small {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    background-color: #fff;
    padding-bottom: 100px;
}

.content-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
    margin: 0px 0 40px;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.content-title .ja {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
}

.profile-list {
    border-top: 1px solid #e0e0e0;
    width: 100%;
}

.profile-row {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}

.profile-row dt {
    width: 25%;
    background-color: #f8fafd;
    padding: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.profile-row dd {
    width: 75%;
    padding: 20px;
    color: #333;
    line-height: 1.8;
}

.service-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.access-block {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
    
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.access-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.access-info {
    width: 40%;
}

.office-name {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 20px;
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.office-address {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.access-map {
    width: 60%;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.access-map iframe {
    display: block;
    width: 100%;
}


@media (max-width: 768px) {
    
    .page-header {
        height: 200px;
        padding-top: 60px;
    }
    .page-title {
        font-size: 2rem;
    }
    .page-title .ja {
        font-size: 0.9rem;
        margin-top: 10px;
    }
    
    .breadcrumbs-list {
        font-size: 0.75rem;
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .content-title {
        font-size: 1.8rem;
        margin: 0 0 30px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .profile-row {
        flex-direction: column;
    }
    .profile-row dt {
        width: 100%;
        background-color: #eef2f6;
        padding: 15px 20px;
        border-bottom: 1px solid #fff;
    }
    .profile-row dd {
        width: 100%;
        padding: 15px 20px;
    }
    
    .access-block {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }
    .access-info {
        width: 100%;
    }
    .access-map {
        width: 100%;
    }
}


.section-history {
    background-color: #fff;
    padding-bottom: 120px;
}

.history-list {
    width: 100%;
    border-top: 1px solid #e0e0e0;
}

.history-row {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin: 0;
    padding: 0;
}

.history-row dt {
    width: 20%;
    padding: 25px 20px;
    background-color: #fff;
    font-family: "Helvetica Neue", Arial, sans-serif;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
}

.history-row dd {
    width: 80%;
    padding: 25px 30px;
    margin: 0;
    line-height: 1.8;
}


/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .history-row {
        flex-direction: column;
        padding: 15px 0;
    }

    .history-row dt {
        width: 100%;
        padding: 0 20px 10px;
        font-size: 1.1rem;
        border-bottom: none;
    }

    .history-row dd {
        width: 100%;
        padding: 0 20px;
    }
}


.bg-light-gray {
    background-color: #f8fafd !important; 
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.c-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.c-heading-main {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    line-height: 1.2;
    font-feature-settings: "palt";
}

.c-heading-main .en-label {
    font-size: 1rem;
    color: #ffa41a;
    letter-spacing: 0.1em;
    font-family: "Helvetica Neue", Arial, sans-serif;
    text-transform: uppercase;
}

.c-link-arrow {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    font-weight: bold;
    color: #003366;
    text-decoration: none;
    padding-bottom: 3px;
    border-bottom: 2px solid #003366;
    transition: all 0.3s;
    margin-top: 20px;
}
.c-link-arrow .arrow {
    margin-left: 10px;
    transition: transform 0.3s;
}
.c-link-arrow:hover {
    color: #FFA41A;
    border-bottom-color: #FFA41A;
}
.c-link-arrow:hover .arrow {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .c-section { padding: 60px 0; }
    .c-container { padding: 0 20px; }
    .c-heading-main { font-size: 1.8rem; margin-bottom: 30px; }
    .sp-img img{width: 100%;}
}