/* ================= 基础重置 ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

body {
    color: #333;
    overflow-x: hidden;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ================= 导航栏 ================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);*/
    border-bottom: 1px solid #E5EEF6; 
    z-index: 1000;
}

.logo {
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 40px;
    z-index: 1001;
}

.logo img {
    height: 70px;
    width: auto;
    display: block;
}

.nav-area {
    display: flex;
    height: 100%;
    align-items: center;
}

.nav-links {
    display: flex;
    height: 100%;
    align-items: center;
    list-style: none;
    gap: 40px;
    margin-right: 40px;
}

.nav-links li {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #000000;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links a:hover {
    color: #05325f;
}

.contact-btn {
    height: 100%;
    background-color: #05325f;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
}

.contact-btn:hover {
    opacity: 0.8;
}

/* 汉堡按钮 */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    margin-right: 20px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #05325f;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* ================= 轮播图区域 ================= */
.hero-section {
    margin-top: 80px;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 600px;
    position: relative;
    overflow: hidden;
    background-color: #111;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: scale(1.05);
    display: flex;
    align-items: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero-content {
    padding-left: 10%;
    max-width: 800px;
    color: #ffffff;
    z-index: 3;
    position: relative;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 56px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-desc {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 45px;
    letter-spacing: 0.05em;
    max-width: 600px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* 通用按钮 */
.btn {
    display: inline-block;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 18px 45px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #05325f;
    color: #ffffff;
}


.btn-primary:hover {
    background-color: #0a4a8c;
}

.btn-secondary {
    background-color: #ffffff;
    color: #05325f;
}

.btn-secondary:hover {
    background-color: #f0f0f0;
}

/* 轮播图箭头和圆点 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    border-radius: 50%;
}

.slider-arrow:hover { background: rgba(255, 255, 255, 0.3); }
.slider-arrow::after {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    display: block;
}
.arrow-prev { left: 20px; }
.arrow-prev::after { transform: rotate(-135deg); margin-left: 5px; }
.arrow-next { right: 20px; }
.arrow-next::after { transform: rotate(45deg); margin-right: 5px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

/* ================= 页脚模块 (从 お問い合わせ 开始) ================= */
.contact-section {
    position: relative;
    width: 100%;
    padding: 180px 5%;
    background-image: linear-gradient(rgba(5, 50, 95, 0.7), rgba(5, 50, 95, 0.7)), 
                      url('https://aimg8.dlssyht.cn/u/2326272/ev_user_module_content_tmp/2026_07_04/tmp1783157477_2326272_s.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.contact-container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.contact-header {
    position: relative;
    display: flex;
    align-items: center;
}

.contact-bg-text {
    position: absolute;
    top: -30px;
    left: 0;
    font-size: 70px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 0.05em;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.contact-title {
    position: relative;
    z-index: 1;
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 0.15em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.contact-text {
    position: relative;
    z-index: 1;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* 下半部分：深蓝色背景信息与版权 */
.footer-section {
    background-color: #005AA9;
    color: #ffffff;
    padding: 60px 5% 40px 5%;
    display: flex;
    flex-direction: column;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-info {
    flex: 1;
    min-width: 300px;
}

.footer-logo {
    background-color: #ffffff;
    padding: 10px 20px;
    display: inline-block;
    margin-bottom: 25px;
    border-radius: 4px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    display: block;
}

.footer-address {
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.05em;
}

.footer-nav {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 0.7;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
}

/* ================= 公共响应式 ================= */
@media (max-width: 1024px) {
    .hero-title { font-size: 44px; }
    .nav-links { gap: 20px; margin-right: 20px; }
    .contact-btn { padding: 0 30px; }
    .hamburger { display: flex; }
    
    .nav-area {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 100px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.4s ease-in-out;
        z-index: 1000;
    }

    .nav-area.is-active { right: 0; }

    .nav-links {
        flex-direction: column;
        width: 100%;
        height: auto;
        gap: 0;
        margin-right: 0;
    }

    .nav-links li { width: 100%; }

    .nav-links a {
        width: 100%;
        padding: 20px 40px;
        border-bottom: 1px solid #f0f0f0;
        justify-content: flex-start;
    }

    .contact-btn {
        width: 100%;
        height: auto;
        padding: 20px 40px;
        margin-top: 20px;
        border-bottom: none;
    }

    .hamburger.is-active span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
    .hamburger.is-active span:nth-child(2) { opacity: 0; }
    .hamburger.is-active span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }
}

@media (max-width: 768px) {
    header { height: 70px; }
    .logo { padding-left: 10px; }
    .logo img { height: 60px; }
    
    .hero-section {
        margin-top: 70px;
        height: auto;
        padding: 100px 0 150px;
        min-height: calc(100vh - 70px);
    }

    .hero-content { padding: 0 25px; text-align: center; }
    .hero-title { font-size: 32px; }
    .hero-desc { font-size: 14px; margin-bottom: 30px; }
    
    .hero-buttons { flex-direction: column; align-items: center; gap: 15px; }
    .btn { width: 100%; max-width: 300px; padding: 15px 0; }

    .slider-arrow { width: 40px; height: 40px; }
    .arrow-prev { left: 10px; }
    .arrow-next { right: 10px; }

    /* --- 页脚模块自适应 --- */
    .contact-section { padding: 80px 20px; }
    .contact-container { flex-direction: column; text-align: center; gap: 30px; }
    .contact-header { flex-direction: column; }
    .contact-bg-text { top: -15px; font-size: 45px; left: 50%; transform: translateX(-50%); }
    .contact-title { font-size: 24px; }
    .contact-text { font-size: 16px; line-height: 1.6; }

    .footer-section { padding: 50px 20px 30px 20px; }
    .footer-container { flex-direction: column; text-align: center; gap: 30px; }
    .footer-info { min-width: 100%; }
    .footer-logo { margin: 0 auto 20px auto; }
    .footer-nav { justify-content: center; flex-wrap: wrap; gap: 20px; }
    .footer-bottom { margin-top: 40px; }
}
