@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "HondaGlobalFontJP-Regular", sans-serif;
    font-weight: normal;
    font-feature-settings: "palt";
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* コンテナ */
.hero-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 20px 0px;
    text-align: center;
}

.no-wrap {
    white-space: nowrap;
}

.hero {
    background: linear-gradient(90deg, #ffffff 50%, #21213d 50%);
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    padding-right: 40px;
}

.battery-img {
    width: 280px;
    height: auto;
    filter: drop-shadow(8px 12px 20px rgba(0,0,0,0.2));
}

.hero-title {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-box {
    background-color: #21213d;
    color: white;
    padding: 50px 60px;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
}

.title-box h1 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.title-box span {
    font-size: 18px;
    display: block;
    margin-top: 12px;
}

/* PC表示（1024px以上） */
@media (min-width: 1024px) {
    .hero-inner {
        flex-direction: row;
        gap: 0;
        justify-content: center;
    }

    .title-box {
        text-align: left;
    }

    .battery-img {
        width: 340px;
    }

    .section-title {
        width: auto;
    }
}

.section-title {
    width: 50%;
    background-color: #21213d;
    color: white;
    font-size: 18px;
    font-weight: 700;
    padding: 20px 40px;
    border-radius: 15px;
    display: inline-block;
    margin-top: 30px;
}

/* コンテンツボックス */
.notice-box,
.content-box {
    background: white;
    border: 1px solid #ddd;
    padding: 40px 0;
    font-size: 14px;
    line-height: 1.8;
    max-width: 860px;
    margin: 50px auto;
    text-align: center;
}

.content-box2 {
    background: white;
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.8;
    max-width: 860px;
    margin: 10px auto;
    text-align: center;
}

.target-inner {
    background: white;
    border: 1px solid #ddd;
    padding: 50px 30px;
    text-align: center;
}

.target-text {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}

.serial {
    font-size: 36px;
    font-weight: 700;
    color: #c00;
    letter-spacing: 4px;
    margin: 20px 0 50px;
}

.diagram-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

@media (min-width: 1024px) {
    .diagram-area {
        flex-direction: row;
        justify-content: center;
        gap: 80px;
    }
}

.battery-diagram {
    position: relative;
    text-align: center;
}

.main-battery {
    width: 260px;
    height: auto;
}

.arrow-label,
.label-header {
    background: #c00;
    color: white;
    font-weight: bold;
    border-radius: 30px;
}

.label-img {
    display: block;
    margin: 0 auto 25px;
    width: 80%;
}

.label-box {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 15px;
}

/* 申込ボタン */
.apply {
    padding: 80px 20px;
    text-align: center;
}

.privacy-text {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 50px;
}

.privacy-link {
    color: #0066cc;
    text-decoration: underline;
}

.apply-btn {
    display: inline-block;
    background: #c00;
    color: white;
    font-size: 26px;
    font-weight: bold;
    padding: 24px 80px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(204, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.apply-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(204, 0, 0, 0.4);
}

/* フッター */
footer {
    background: #21213d;
    color: white;
    text-align: center;
    padding: 40px 20px;
    font-size: 15px;
}

footer p {
    margin: 8px 0;
}

/* ====================== モバイル表示（1023px以下） ====================== */
@media (max-width: 1023px) {
    .title-box {
        background-color: #21213d;
        color: white;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding: 55px 15px;
        border-radius: 0;
        box-shadow: none;
        text-align: center;
    }

    .title-box h1 {
        font-size: 21px;
        line-height: 1.35;
    }

    .title-box span {
        font-size: 18px;
        margin-top: 16px;
    }

    .section-title {
        width: 80%;
        font-size: 17.5px;
    }

    .serial {
        font-size: 24px;
    }

    .hero {
        background: #ffffff;
        min-height: auto;
        padding: 20px 0 0 0;
    }

    .hero-inner {
        flex-direction: column;
        gap: 25px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    .hero-title {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        flex: none;
    }

    .hero-image {
        width: 100%;
        padding: 0 20px;
        text-align: center;
    }

    .battery-img {
        width: 270px;
        max-width: 92%;
        height: auto;
    }

    .notice,
    .defect,
    .target,
    .apply,
    footer {
        width: 100%;
        max-width: 100%;
    }

    .notice-box,
    .content-box {
        margin: 30px auto;
        padding: 40px 20px;
        max-width: 860px;
        box-sizing: border-box;
    }

    .content-box2 {
        margin: 10px auto;
        padding: 10px 0;
        max-width: 860px;
        box-sizing: border-box;
    }

    .hero-container {
        padding: 0;
    }

    .label-img {
        width: 95%;
    }
}