/* 全局样式 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a3d62;
    --secondary-color: #d4af37; /* 金色 */
    --accent-color: #c0392b;
    --text-color: #2c3e50;
    --light-text: #ecf0f1;
    --bg-color: #f8f9fa;
    --dark-bg: #1e272e;
    --card-bg: #ffffff;
    --border-color: rgba(212, 175, 55, 0.3); /* 淡金色边框 */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* 头部样式 */
header {
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    text-align: left;
}

.logo-img {
    max-height: 60px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo a {
    display: inline-block;
    position: relative;
}

.logo a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
    opacity: 0;
}

.logo a:hover::after {
    width: 100%;
    opacity: 1;
}

.logo a:hover .logo-img {
    transform: translateY(-2px);
}

nav ul {
    display: flex;
    justify-content: flex-end;
    gap: 40px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--secondary-color);
}

nav ul li a:hover::after {
    width: 100%;
}

/* 首页英雄区域 */
.hero {
    background: linear-gradient(rgba(10, 61, 98, 0.8), rgba(10, 61, 98, 0.9)), url('../fuji.jpg') no-repeat center center/cover;
    padding: 180px 0 150px;
    text-align: center;
    color: var(--light-text);
    position: relative;
    margin-top: -1px; /* 防止可能的间隙 */
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--bg-color), transparent);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--light-text);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    color: var(--light-text);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-btn:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* 服务区域 */
.services {
    padding: 120px 0 80px;
    background-color: var(--light-bg);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--card-bg));
}

.services h2 {
    text-align: center;
    margin-bottom: 70px;
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--primary-color);
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.service-items {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.service-item {
    flex: 1;
    min-width: 300px;
    background-color: var(--bg-color);
    padding: 50px 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-item:hover::before {
    width: 100%;
    opacity: 0.1;
}

.service-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.info-logo-img {
    max-height: 50px;
    width: auto;
    margin-bottom: 10px;
}

.service-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.service-item:hover h3::after {
    width: 60px;
}

.service-item p {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.8;
}

/* 页面头部 */
.page-header {
    background: linear-gradient(rgba(10, 61, 98, 0.8), rgba(10, 61, 98, 0.9)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    padding: 120px 0 100px;
    text-align: center;
    color: var(--light-text);
    position: relative;
    margin-top: -1px; /* 防止可能的间隙 */
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, var(--bg-color), transparent);
}

.page-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--light-text);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 0;
}

.page-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* 关于我们页面 */
.about-content {
    padding: 100px 0;
    background-color: var(--card-bg);
    position: relative;
}

.info-section, .mission-section, .value-section {
    margin-bottom: 70px;
    position: relative;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.info-section:hover, .mission-section:hover, .value-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.info-section h3, .mission-section h3, .value-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
    position: relative;
}

.info-section h3::after, .mission-section h3::after, .value-section h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--secondary-color);
}

.info-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.info-item:hover {
    border-bottom-color: var(--secondary-color);
}

.info-label {
    width: 150px;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.info-value {
    flex: 1;
    color: var(--text-color);
}

.mission-section p, .value-section p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-color);
    letter-spacing: 0.3px;
}

/* 联系页面 */
.contact-content {
    padding: 100px 0;
    background-color: var(--card-bg);
    position: relative;
}

.company-info {
    margin-bottom: 70px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.company-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.company-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
    position: relative;
}

.company-info h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--secondary-color);
}

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.social-link {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    border-radius: 50px;
    color: var(--light-text);
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.social-link:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.contact-form {
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
    position: relative;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--secondary-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.required {
    color: var(--accent-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: 2px solid var(--primary-color);
    padding: 15px 35px;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 页脚 */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 40px 0;
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
    opacity: 0.3;
}

footer p {
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

footer p:last-child {
    margin-bottom: 0;
}

footer p:first-child::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: var(--secondary-color);
    opacity: 0.5;
}

footer a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
}

footer a:hover {
    color: var(--secondary-color);
    opacity: 1;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        text-align: center;
        margin-bottom: 20px;
    }
    
    nav ul {
        justify-content: center;
        margin-top: 15px;
    }
    
    .hero h2 {
        font-size: 40px;
    }
    
    .service-item {
        min-width: 45%;
    }
}

@media (max-width: 768px) {
    .logo-img {
        max-height: 50px;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .hero {
        padding: 120px 0 100px;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .services {
        padding: 80px 0 60px;
    }
    
    .services h2 {
        font-size: 32px;
    }
    
    .service-item {
        min-width: 100%;
    }
    

    
    .page-header {
        padding: 80px 0 60px;
    }
    
    .page-header h2 {
        font-size: 32px;
    }
    
    .info-section, .mission-section, .value-section, .company-info, .contact-form {
        padding: 30px 20px;
    }
    
    .info-item {
        flex-direction: column;
    }
    
    .info-label {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-height: 40px;
    }
    
    .hero {
        padding: 100px 0 80px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    

    
    .services h2, .page-header h2, .info-section h3, .mission-section h3, .value-section h3, .company-info h3, .contact-form h3 {
        font-size: 24px;
    }
    
    .submit-btn {
        width: 100%;
    }
}

/* Privacy Policy页面样式 */
.privacy-content {
    padding: 100px 0;
    background-color: var(--card-bg);
    position: relative;
}

.privacy-text {
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    max-width: 900px;
    margin: 0 auto;
}

.privacy-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.privacy-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin: 40px 0 20px 0;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    position: relative;
}

.privacy-text h3:first-child {
    margin-top: 0;
}

.privacy-text h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--secondary-color);
}

.privacy-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.privacy-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

.privacy-text ul li {
    list-style: disc;
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.6;
}

.privacy-text ol {
    margin: 20px 0;
    padding-left: 20px;
}

.privacy-text ol li {
    list-style: decimal;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.6;
}

.privacy-text ol li ul {
    margin: 10px 0;
    padding-left: 20px;
}

.privacy-text ol li ul li {
    list-style: disc;
    margin-bottom: 8px;
}

.contact-info {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 8px;
    font-size: 15px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .privacy-text {
        padding: 30px 20px;
    }
    
    .privacy-text h3 {
        font-size: 20px;
    }
    
    .privacy-text p {
        font-size: 15px;
    }
}