/* ===================== 全局基础样式 ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Meiryo", Arial, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.8;
    font-size: 15px;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #0B2A6F;
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

/* ===================== 头部导航 ===================== */
header {
    position: sticky;
    top: 0;
    background: rgba(240, 247, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e6eef8;
    z-index: 999;
    padding: 14px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    flex-shrink: 0;
    line-height: 0;
}

.logo img {
    height: 44px;
    vertical-align: middle;
}

.nav-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
}

nav ul {
    display: flex;
    gap: 24px;
}

nav a {
    color: #333;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.05em;
    transition: color 0.2s;
    cursor: pointer;
}

nav a:hover,
nav a.active {
    color: #0B2A6F;
}

.header-btns {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1.5px solid #0B2A6F;
    border-radius: 999px;
    color: #0B2A6F;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    background: #fff;
}

.btn-header:hover {
    background: #0B2A6F;
    color: #fff;
    opacity: 1;
}

.btn-header.contact::before {
    content: "✉️";
    font-size: 14px;
}

.btn-header.shop::before {
    content: "🛒";
    font-size: 14px;
}

/* ===================== 通用文字样式 ===================== */
.label {
    font-size: 12px;
    color: #888;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

h1 {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
    color: #111;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #111;
}

h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #333; 
}

h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

p {
    color: #555;
    line-height: 1.8;
}

/* ===================== 区块通用 ===================== */
.section {
    padding: 80px 0;
}

.gray {
    background: #f8f9fb;
}

/* 3栏卡片网格 */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eaecef;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    /* 四周均匀内边距，实现一圈留白，内容占比约90% */
    padding: 5%;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #f0f0f0;
    margin-bottom: 16px;
    transition: transform 0.4s ease;
    border-radius: 4px;
}

/* OEM卡片悬停放大 */
.oem-card:hover img {
    transform: scale(1.05);
}

/* 产品页正方形卡片（优先级覆盖上面的4:3） */
.product-card img {
    aspect-ratio: 1 / 1;
    height: auto;
}

.card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111;
    line-height: 1.5;
}

.card p {
    font-size: 14px;
    color: #666;
    line-height: 1.9;
    margin: 0;
}

/* ===================== 按钮样式 ===================== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border: 1px solid #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-top: 20px;
    cursor: pointer;
    background: #fff;
    color: #333;
    transition: all 0.2s;
    border-radius: 4px;
}

.btn:hover {
    background: #333;
    color: #fff;
    opacity: 1;
}

.btn.primary {
    background: #0B2A6F;
    color: #fff;
    border-color: #0B2A6F;
}

.btn.primary:hover {
    background: #0d338a;
    border-color: #0d338a;
}

.cta {
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    margin-bottom: 8px;
}

.small {
    font-size: 13px;
    color: #888;
    margin-top: 8px;
}

.section-sub {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 15px;
}

/* ===================== 通用流程步骤 ===================== */
.flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 30px;
}

.step {
    border: 1px solid #eee;
    padding: 18px;
    text-align: center;
    font-size: 13px;
    border-radius: 4px;
    background: #fff;
}

.step span {
    display: block;
    font-size: 11px;
    color: #999;
    margin-bottom: 5px;
}

/* ===================== FUSIONのこだわり 页面样式 ===================== */
.fusion-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.fusion-item {
    display: flex;
    align-items: center;
    gap: 50px;
}

.fusion-item:nth-child(even) {
    flex-direction: row-reverse;
}

.fusion-img {
    flex: 1;
}

.fusion-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: #eee;
    border-radius: 8px;
}

.fusion-text {
    flex: 1.2;
}

.fusion-text h3 {
    font-size: 22px;
    color: #0B2A6F;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.fusion-text p {
    font-size: 15px;
    color: #444;
    line-height: 2;
    margin-bottom: 14px;
}

.fusion-text p:last-child {
    margin-bottom: 0;
}

/* ===================== 首页首屏轮播 ===================== */
.hero {
    padding: 0;
    background: #fff;
}

.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.slides-wrap {
    position: relative;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    position: relative;
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

/* 暗色渐变遮罩 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0) 75%);
    z-index: 2;
    pointer-events: none;
}

/* 左上文字 */
.hero-text {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    text-align: left;
    width: auto;
    max-width: 520px;
    padding: 0;
    color: #fff;
    z-index: 3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-text .en-sub {
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 16px;
    text-transform: uppercase;
    opacity: 0.9;
    color: #fff;
}

.hero-text h1 {
    font-size: 38px;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
}

.hero-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #fff;
    opacity: 0.95;
}

/* 左右切换按钮 */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.8);
    color: #333;
    font-size: 26px;
    line-height: 44px;
    cursor: pointer;
    z-index: 4;
    transition: background 0.2s;
    padding: 0;
    text-align: center;
}

.slider-btn:hover {
    background: rgba(255,255,255,1);
}

.slider-btn.prev {
    left: 24px;
}

.slider-btn.next {
    right: 24px;
}

/* 底部圆点指示器 */
.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.2s;
}

.dot.active {
    background: #fff;
}

/* ===================== 内页顶部标题横幅 ===================== */
.page-hero {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    line-height: 0;
}

.page-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0) 75%);
    z-index: 2;
    pointer-events: none;
}

.page-hero-text {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 3;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.page-hero-text .en-sub {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 12px;
    color: #fff;
}

.page-hero-text h1 {
    font-size: 36px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    color: #fff;
}

/* ===================== 首页简略会社概要 ===================== */
.about-short {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-short-img {
    flex: 1;
}

.about-short-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.about-short-text {
    flex: 1.2;
}

.about-short-text h2 {
    font-size: 28px;
    color: #0B2A6F;
    margin-bottom: 16px;
    line-height: 1.5;
    font-weight: 600;
}

.about-short-text h2 .en-sub {
    display: block;
    font-size: 13px;
    color: #999;
    font-weight: 400;
    margin-top: 4px;
    letter-spacing: 2px;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0B2A6F;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: gap 0.2s;
    font-size: 14px;
    margin-top: 24px;
}

.btn-text:hover {
    gap: 12px;
    opacity: 1;
}

.btn-text::after {
    content: "→";
    font-size: 16px;
}

/* ===================== OEM板块标题 ===================== */
.oem-section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #0B2A6F;
    margin-bottom: 10px;
}

.oem-section-title .en-sub {
    display: block;
    font-size: 13px;
    color: #999;
    font-weight: 400;
    margin-top: 6px;
    letter-spacing: 2px;
}

.oem-sub-title {
    text-align: center;
    font-size: 22px;
    color: #0B2A6F;
    font-weight: 600;
    margin: 10px 0 40px;
}

/* ===================== OEM制作流程样式 ===================== */
.oem-flow {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 40px;
}

.flow-step {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border: 1px solid #eaecef;
}

/* 花形数字标识 */
.flow-number {
    width: 64px;
    height: 64px;
    border: 2px solid #0B2A6F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
    background: #fff;
    position: relative;
    flex-shrink: 0;
    color: #0B2A6F;
}

.flow-number::before,
.flow-number::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border: 2px solid #0B2A6F;
    border-radius: 50%;
}

.flow-number::before {
    top: -6px;
}

.flow-number::after {
    bottom: -6px;
}

.flow-step p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    text-align: left;
    margin: 0;
}

/* 步骤间箭头 */
.flow-arrow {
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 24px;
    color: #999;
    flex-shrink: 0;
}

/* ===================== 安心保障板块样式 ===================== */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.trust-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.trust-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.trust-item:hover img {
    transform: scale(1.05);
}

.trust-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
    z-index: 1;
    transition: background 0.3s;
    pointer-events: none;
}

.trust-item:hover .trust-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
}

.trust-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 24px;
    z-index: 2;
    color: #fff;
    width: 100%;
}

.trust-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.trust-content p {
    font-size: 14px;
    color: #fff;
    opacity: 0.95;
    line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ===================== 会社概要页面样式 ===================== */
.company-intro {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-top: 20px;
}

.company-intro-text {
    flex: 1.3;
}

.company-intro-text p {
    font-size: 15px;
    color: #444;
    margin-bottom: 20px;
    line-height: 2;
}

.company-intro-img {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.company-intro-img img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
}

.info-table {
    width: 100%;
    border-top: 1px solid #ddd;
    margin-top: 20px;
    border-collapse: collapse;
}

.info-table .row {
    display: flex;
    border-bottom: 1px solid #ddd;
}

.info-table dt {
    width: 25%;
    padding: 18px 20px;
    background: #f7f9fc;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.info-table dd {
    width: 75%;
    padding: 18px 20px;
    font-size: 14px;
    color: #444;
}

/* ===================== 首页优势卡片 ===================== */
.reason-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.reason-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.reason-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #eef2fb;
    color: #0B2A6F;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: 600;
}

.reason-card h3 {
    font-size: 17px;
    color: #0B2A6F;
    margin-bottom: 12px;
}

.reason-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    text-align: left;
}

/* ===================== FAQ样式 ===================== */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 24px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #eaecef;
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: #0B2A6F;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-question::before {
    content: "Q";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #0B2A6F;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 1;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.faq-answer {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
    padding-left: 40px;
}

/* ===================== 联系表单样式 ===================== */
.contact-form {
    max-width: 680px;
    margin: 0 auto;
    background: #fff;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.contact-form form {
    display: grid;
    gap: 24px;
}

.form-item label {
    display: block;
    font-size: 14.5px;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-item label .required {
    color: #d33;
    font-size: 12px;
    margin-left: 6px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    background: #fafafa;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0B2A6F;
    background: #fff;
}

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.submit-btn {
    text-align: center;
    margin-top: 10px;
}

.submit-btn button {
    background: #0B2A6F;
    color: #fff;
    border: none;
    padding: 14px 56px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.submit-btn button:hover {
    background: #0d338a;
}

.submit-btn button:disabled {
    background: #9aa0a6;
    cursor: not-allowed;
}

/* 表单提交结果提示 */
.form-result {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
}

.form-result.success {
    background: #e6f4ea;
    color: #137333;
    border: 1px solid #ceead6;
}

.form-result.error {
    background: #fce8e6;
    color: #c5221f;
    border: 1px solid #fad2cf;
}

/* ===================== 页脚 ===================== */
footer {
    background: #0B2A6F;
    color: #fff;
    padding: 56px 0 24px;
}

.footer-inner {
    text-align: center;
}

.footer-logo {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    color: #fff;
}

.footer-info {
    margin-bottom: 32px;
}

.footer-info p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 6px;
    color: #fff;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #fff;
    font-size: 14px;
    opacity: 0.9;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-copyright {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 13px;
    opacity: 0.7;
    color: #fff;
}

/* ===================== 响应式适配 ===================== */
@media (max-width: 960px) {
    .header-inner {
        flex-direction: column;
        gap: 12px;
    }

    .nav-wrap {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .about-short,
    .company-intro,
    .fusion-item,
    .fusion-item:nth-child(even) {
        flex-direction: column;
    }

    .grid-3,
    .reason-grid {
        grid-template-columns: 1fr 1fr;
    }

    .flow {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 60px 0;
    }

    h1 {
        font-size: 28px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .slide img {
        height: 420px;
    }

    .page-hero {
        height: 260px;
    }

    .page-hero-text h1 {
        font-size: 28px;
    }

    .info-table .row {
        flex-direction: column;
    }

    .info-table dt,
    .info-table dd {
        width: 100%;
    }

    /* OEM流程移动端垂直排列 */
    .oem-flow {
        flex-direction: column;
        gap: 16px;
    }

    .flow-arrow {
        transform: rotate(90deg);
        justify-content: center;
        padding: 0;
    }

    /* 安心板块移动端2列 */
    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-form {
        padding: 32px 24px;
    }
}

@media (max-width: 560px) {
    .grid-3,
    .reason-grid,
    .flow,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    nav ul {
        gap: 12px;
    }

    .header-btns {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-text {
        top: 50%;
        left: 5%;
        right: 5%;
        max-width: none;
    }

    .hero-text h1 {
        font-size: 24px;
    }

    .hero-text p {
        font-size: 13px;
    }

    .hero-text .en-sub {
        font-size: 11px;
    }

    .slide img {
        height: 360px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 20px;
        line-height: 34px;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .page-hero {
        height: 220px;
    }

    .page-hero-text {
        left: 5%;
        right: 5%;
    }

    .page-hero-text .en-sub {
        font-size: 11px;
    }

    .page-hero-text h1 {
        font-size: 22px;
    }

    .contact-form {
        padding: 24px 16px;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-answer {
        padding-left: 0;
        margin-top: 12px;
    }
}