/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

body.is-menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

section {
    margin-bottom: 100px;
}

a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    html {
        max-width: 100vw;
        overflow-x: hidden;
    }

    body {
        max-width: 100vw;
        overflow-x: hidden;
    }
    section {
        margin-bottom: 25px;
    }
}

@media (min-width: 769px) {
    .nonePC {
        display: none;
    }
}

@media (max-width: 768px) {
    .noneSP {
        display: none;
    }
}
/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 280px;
    height: 70px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.hamburger {
    display: none;
    position: relative;
    width: 36px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    z-index: 120;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #333;
    transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 12px; }
.hamburger span:nth-child(3) { top: 24px; }

.hamburger.is-active span:nth-child(1) {
    top: 12px;
    transform: rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    top: 12px;
    transform: rotate(-45deg);
}

.nav-list > .nav-item {
    position: relative;
}

.nav-list a {
    font-size: 14px;
    line-height: 40px;
    color: #333;
    font-weight: 500;
}

.nav-submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 150px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    padding: 0;
    display: none;
    z-index: 20;

}

.nav-submenu li {
    padding: 0;
}

.nav-submenu a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: #fff;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    background-color: #8dcc00;
}

.nav-submenu a.submenu-link {
    background-color: #8dcfed;
}

.nav-submenu a:hover {
    background: #f5f5f5;
    color: #000;
}

.nav-item.has-submenu:hover .nav-submenu,
.nav-item.has-submenu:focus-within .nav-submenu {
    display: block;
}

.mobile-menu {
    position: fixed;
    width: 100vw;
    inset: 0;
    background: rgba(6, 11, 25, 0.45);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 110;
}

.mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu__inner {
    position: absolute;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100%;
    background: #F1F1F1;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    box-shadow: -18px 0 40px rgba(9, 14, 29, 0.2);
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu__logo img {
    width: 180px;
    height: auto;
}

.mobile-menu__close {
    position: relative;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.mobile-menu__close span {
    position: absolute;
    left: 4px;
    right: 4px;
    height: 2px;
    background: #333;
    top: 50%;
}

.mobile-menu__close span:first-child { transform: translateY(-50%) rotate(45deg); }
.mobile-menu__close span:last-child { transform: translateY(-50%) rotate(-45deg); }

.mobile-menu__body {
    flex: 1;
    overflow-y: auto;
    padding: 32px 0;
}

.mobile-menu__nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.parent-item {
    border-bottom: 1px solid #545151;
    position: relative;
}

.next {
    position: relative;
}

.next-link::after {
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    border-bottom: 2px solid #545151;
    border-right: 2px solid #545151;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.mobile-menu__nav a,
.mobile-menu__nav-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    width: 300px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: start;
    padding-left: 10px;
}

.mobile-menu__nav-group ul {
    list-style: none;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu__nav-group ul a {
    font-size: 15px;
    font-weight: 500;
    color: #545151;
}

.mobile-menu__cta {
    margin-top: 32px;
}

.mobile-menu__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    background: #545151;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(84, 81, 81, 0.25);
    margin-bottom: 10px;
}

.mobile-menu__button.en {
    background: #545151;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(84, 81, 81, 0.25);
    margin-bottom: 10px;
}

.mobile-menu__footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid #e5e5e5;
    font-size: 12px;
    color: #777;
}

.mobile-menu__address {
    font-style: normal;
    margin-bottom: 10px;
}

.mobile-menu__mail {
    color: #545151;
    font-weight: 600;
}

.btn-contact {
    background: #545151;
    color: #fff !important;
    height: 60px;
    width: 136px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.btn-contact:hover {
    opacity: 0.9;
}

.lang-switch {
    height: 60px;
    width: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    border: 2px solid #545151;
    color: #545151;
    background-color: #fff;
    transition: background 0.3s;
}

.lang-switch:hover {
    background: #545151;
    color: #fff;
}

.lang-icon {
    font-size: 18px;
}

.lang-text {
    font-size: 14px;
    font-weight: 600;
}

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.site-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.site-loader__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: loaderPulse 1.8s infinite ease-in-out;
}

.site-loader__logo {
    width: 200px;
    height: auto;
    object-fit: contain;
}

/* @keyframes loaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
} */

@media (max-width: 768px) {
    .is-menu-open .header {
        background: #F1F1F1;
        box-shadow: none;
    }
    .logo-img {
        width: 200px;
        height: 44px;
    }
}

/* Hero Section */
.hero {
    margin-top: 100px;
    position: relative;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}


.hero-bg-image {
    width: 100%;
    height: calc(100vh - 100px)!important;
    object-fit: cover;
    margin: 0 8px;
    position: relative;
    z-index: -1;
}

.hero-bg-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 100px)!important;
    z-index: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-image {
    position: absolute;
    width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.hero-image-1 {
    top: 20%;
    left: 10%;
    z-index: 1;
}

.hero-image-2 {
    top: 40%;
    right: 15%;
    z-index: 1;
}

.hero-image-3 {
    bottom: 20%;
    left: 20%;
    z-index: 1;
}

.hero-content-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.hero-content {
    text-align: center;
    z-index: 10;
    padding: 40px 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 20px;
    color: #fff;
    line-height: 1.8;
    font-weight: bold;
}

@media (max-width: 768px) {
    .hero {
        position: relative;
        min-height: calc(100vh - 70px);
        margin-top: 70px;
    }
    
    .hero-background {
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }
    
    
    .hero-bg-image {
        width: 100%;
        height: calc(100vh - 70px)!important;
        margin: 0 4px;
        z-index: -1;
    }
    
    .hero-bg-image:before {
        display: none;
    }
    
    .hero-content-container {
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    
    .hero-content {
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
        line-height: 1.4;
        text-align: start;
    }
    
    .hero-subtitle {
        text-align: start;
    }
}

/* Section Styles */

.section-header {
    text-align: center;
    padding-top: 100px;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 2px;
    color: #545151;
    font-weight: 600;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 10px;
}

.section-description {
    font-size: 19px;
    color: #fff;
    line-height: 1.8;
    font-weight: bold;
}

@media (max-width: 768px) {
    .section-header {
        padding: 50px 20px 0 20px;
        margin-bottom: 30px;
    }
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about-content {
    width: 100vw;
    height: 450px;
    position: relative;
}

.about-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    width: 80%;
    position: absolute;
    top : 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

@media (max-width: 768px) {
    .about-text {
        width: 90%;
    }
}

/* Service Section (Hero) */
.service-hero {
    position: relative;
    padding: 140px 0;
    color: #fff;
    overflow: hidden;
}

.service-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.service-bg-img {
    position: absolute;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%);
}

.service-bg-img-left {
    width: 55%;
    left: 0;
    top: 0;
}

.service-bg-img-right {
    width: 60%;
    right: 0;
    bottom: 0;
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(12, 17, 33, 0.92) 15%, rgba(21, 31, 53, 0.78) 55%, rgba(10, 12, 23, 0.92) 100%);
}

.service-inner {
    position: relative;
    z-index: 1;
}

.service-header {
    text-align: center;
    margin: 0 auto;
}

.service-heading {
    color: #545151;
}

.service-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1px;
    margin-top: 48px;
}
.service-item {
    width: 550px;
    height: 400px;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-image: url(../images/service_bg_left.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-item-right {
    background-image: url(../images/service_bg_right.jpg);
    margin-left: 1px;
}

.service-item-title {
    width: 438px;
    text-align: start;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-top: 58px;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.service-item-text {
    width: 438px;
    text-align: start;
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 28px;
    font-weight: bold;
}

.service-item-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    margin-top: 100px;
    padding-bottom: 4px;
    transition: gap 0.3s, color 0.3s, border-color 0.3s;
}

.service-item-link::after {
    content: '\2192';
    font-size: 16px;
}

.service-item-link:hover {
    gap: 14px;
    color: #c8d7ff;
    border-color: rgba(200, 215, 255, 0.7);
}

@media (max-width: 768px) {
    .service-items {
        flex-direction: column;
        gap: 10px;  
    }
    .service-item {
        width: 100%;
    }
    .service-item-title {
        width: 90%;
        margin: 0 auto;
        margin-top: 40px;
    }
    .service-item-text {
        width: 90%;
        margin: 0 auto;
    }
}

/* Members Section */
.members {
    background: #f8f9fa;
    padding-bottom: 100px;
}

.members-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.member-card {
    width: 500px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.member-image {
    width: 100%;
    height: auto;
    margin: 50px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.member-image img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.member-name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    padding: 0 30px;
    margin-bottom: 10px;
}

.member-position {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding: 0 30px;
}

.member-quote {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    font-style: italic;
    padding: 0 30px 50px 30px;
}

@media (max-width: 768px) {
    .members-grid {
        flex-direction: column;
        gap: 20px;
    }
    .member-card {
        width: 90%;
        margin: 0 auto;
    }
    .member-image {
        height: auto;
    }
    .member-quote {
        padding: 0 15px 0 15px;
    }
    .member-name {
        padding: 0 15px;
    }
    .member-position {
        padding: 0 15px;
    }
}

/* News Section */
.news-list {
    max-width: 1100px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #545151;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.news-item-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.news-date {
    font-size: 14px;
    color: #999;
    font-weight: 600;
    min-width: 100px;
}

.news-category {
    display: inline-block;
    padding: 5px 15px;
    background: #545151;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    min-width: 100px;
    text-align: center;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

@media (max-width: 768px) {
    .news-list {
        width: 95%;
        margin: 0 auto;
    }
    .news-item-content {
        gap: 0px;
    }
}

/* Company Section */
.company {
    background: #F1F1F1;
    padding-bottom: 100px;
}

.company-table {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 155px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}

.company-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    padding: 28px 40px;
    border-bottom: 1px solid #545151;
    align-items: center;
}

.company-row:last-child {
    border-bottom: none;
}

.company-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    letter-spacing: 1px;
}

.company-value {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .company-table {
        width: 95%;
        margin: 0 auto;
        padding: 30px 20px;
    }
    .company-row {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: #fff;
    color: #545151;
    padding: 80px 55px 40px 55px;
}

.footer-content {
    min-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
    gap: 48px;
    align-items: flex-start;
    margin-bottom: 48px;
}

.footer-logo-img {
    width: 294px;
    height: auto;
}

.footer-address {
    margin: 20px 0 12px;
    font-size: 14px;
    color: #545151;
    line-height: 1.8;
}

.footer-email {
    display: inline-block;
    font-size: 14px;
    color: #545151;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-email:hover {
    opacity: 0.7;
}

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #545151;
    margin-bottom: 18px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-list a {
    color: #545151;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: #545151;
}

.footer-submenu {
    list-style: none;
    padding-left: 10px;
}

.footer-social {
    margin-top: -10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    transition: all 0.3s;
}

.footer-social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    min-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 13px;
    color: #545151;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: #545151;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: #545151;
}

/* Responsive Design */
@media (max-width: 768px) {

    .section-title {
        font-size: 24px;
    }

    .header {
        width: 100vw;
        height: 70px;
        padding: 15px 15px;
    }

    .header-inner {
        justify-content: space-between;
    }

    .nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-image {
        width: 200px;
    }

    .service-hero {
        padding: 110px 0;
    }

    .service-bg-img-left,
    .service-bg-img-right {
        width: 100%;
        opacity: 0.45;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .members-grid {
        grid-template-columns: 1fr;
    }

    .service-items {
        grid-template-columns: 1fr;
    }

    .service-item {
        padding: 32px;
    }

    .service-item-title {
        font-size: 26px;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .company-table {
        border-radius: 14px;
    }

    .company-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 24px;
    }

    .company-label {
        font-size: 14px;
    }

    .company-value {
        font-size: 16px;
    }

    .footer {
        padding: 30px 20px;
        font-size: 14px!important;
    }

    .footer-content {
        min-width: 100vw;
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-social {
        gap: 14px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-address,.footer-heading,.footer-list a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {

    .service-hero {
        padding: 25px 0;
    }

    .service-item {
        padding: 26px;
    }

    .service-item-title {
        font-size: 24px;
    }

    .service-item-text {
        font-size: 15px;
    }

    .member-card {
        padding: 30px 20px;
    }

    .company-table {
        border-radius: 12px;
    }

    .company-row {
        padding: 20px 18px;
    }

    .footer-social-link {
        width: 40px;
        height: 40px;
    }

    .footer-social-link img {
        width: 20px;
        height: 20px;
    }
}

