/* --- 共通リセット --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.boukatsuinner {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* PC版のセクション余白 */
.section-padding {
    padding: 100px 0;
}

/* 改行制御用 */
.sp-only {
    display: none;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background: url('https://shifton.kpp-gr.com/dcms_media/image/boukatsu_LP_TOP.jpg') no-repeat center center / cover;
    display: flex;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero .boukatsuinner {
    position: relative;
    z-index: 2;
    color: #fff;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 25px;
}

.highlight {
    color: #f7b41b;
}

.sub-copy {
    font-size: 1.25rem;
    margin-bottom: 45px;
    font-weight: 500;
}

.line-break {
    display: block;
}

.button-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 18px 45px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    min-width: 250px;
    transition: opacity 0.3s;
}

.btn-navy {
    background-color: #0c2b5e;
    color: #fff;
}

.btn-orange {
    background-color: #f06c00;
    color: #fff;
}

/* --- Problem --- */
.problem-section {
    background-color: #0c2b5e;
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.problem-title {
    font-size: 2rem;
    margin-bottom: 30px;
}

.problem-list {
    display: inline-block;
    text-align: left;
    list-style: none;
}

.problem-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
}

.problem-list li::before {
    content: "✓";
    margin-right: 10px;
    flex-shrink: 0;
}

/* --- Solution --- */
.solution-section {
    padding: 100px 0;
}

.solution-main-title {
    text-align: center;
    font-size: 2.2rem;
    color: #0c2b5e;
    margin-bottom: 60px;
}

.solution-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.solution-image {
    flex: 0 0 45%;
}

.solution-text {
    flex: 1;
}

.solution-item-title {
    font-size: 1.6rem;
    color: #6a8caf;
    margin-bottom: 15px;
}

.solution-item-title span {
    margin-right: 10px;
}

/* --- Reason --- */
.reason-section {
    background-color: #f8f9fa;
    padding: 100px 0;
}

.reason-main-title {
    text-align: center;
    font-size: 2.2rem;
    color: #0c2b5e;
    margin-bottom: 50px;
}

.reason-grid {
    display: flex;
    gap: 30px;
}

.reason-card {
    flex: 1;
    text-align: center;
}

.reason-card-title {
    font-size: 1.3rem;
    color: #6a8caf;
    margin-bottom: 20px;
    height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reason-icon {
    max-width: 150px;
    margin: 0 auto 20px;
}

/* --- Product (横幅を調整) --- */
.product-section {
    padding: 100px 0;
    text-align: center;
}

.product-main-title {
    font-size: 2.2rem;
    color: #0c2b5e;
    margin-bottom: 40px;
}

.product-grid {
    display: flex;
    gap: 40px; /* カード同士の間隔を広げる */
    justify-content: center; /* 中央に寄せる */
    max-width: 900px; /* コンテナ全体より一回り小さく設定 */
    margin: 0 auto;
}

.product-card {
    flex: 1;
    max-width: 400px; /* カード1枚あたりの最大幅を制限 */
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.product-card-header {
    background: #0c2b5e;
    color: #fff;
    padding: 15px;
    font-weight: bold;
    font-size: 1.1rem;
}

.product-card-body {
    padding: 30px 20px;
    text-align: left;
}

.product-card-copy {
    font-size: 1.2rem;
    color: #6a8caf;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}

.product-features {
    list-style: none;
    font-size: 0.95rem;
}

.product-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.product-features li::before {
    content: "・";
    position: absolute;
    left: 0;
}

/* --- Flow --- */
.flow-section {
    background: #EAEFEF;
    padding: 100px 0;
}

.flow-main-title {
    text-align: center;
    font-size: 2.2rem;
    color: #0c2b5e;
    margin-bottom: 50px;
}

.flow-item {
    display: flex;
    background: #fff;
    margin-bottom: 20px;
}

.flow-image {
    flex: 0 0 40%;
    height: 200px;
}

.flow-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flow-text {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flow-text h3 {
    color: #6a8caf;
    margin-bottom: 10px;
}

/* --- FAQ --- */
.faq-section {
    padding: 100px 0;
}

.faq-main-title {
    text-align: center;
    font-size: 2.2rem;
    color: #0c2b5e;
    margin-bottom: 50px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.faq-question {
    background: #002147;
    color: #fff;
    display: flex;
}

.faq-q-label {
    padding: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    border-right: 1px solid #444;
}

.faq-q-text {
    padding: 15px;
    font-weight: bold;
}

.faq-answer {
    display: flex;
    background: #fff;
}

.faq-a-label {
    padding: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    border-right: 1px solid #ddd;
}

.faq-a-text {
    padding: 15px;
}

/* --- Footer CTA --- */
.footer-cta {
    position: relative;
    padding: 80px 0;
    background: url('https://shifton.kpp-gr.com/dcms_media/image/boukatsu_LP_FOOTER.jpg') no-repeat center center / cover;
    text-align: center;
    color: #fff;
}

.footer-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.footer-cta .boukatsuinner {
    position: relative;
    z-index: 2;
}

.footer-main-copy {
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.4;
}

.footer-sub-copy {
    margin-bottom: 50px; 
    line-height: 1.6;
}

.footer-cta .button-group {
    justify-content: center;
}

.site-footer {
    background: #0c2b5e;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 0.8rem;
}

/* --- レスポンシブ (一般スマホ 850px以下) --- */
@media screen and (max-width: 850px) {
    .sp-only {
        display: block;
    }

    .section-padding,
    .solution-section,
    .reason-section,
    .product-section,
    .flow-section,
    .faq-section {
        padding: 50px 0;
    }

    .problem-section {
        padding: 50px 0;
    }

    .hero {
        height: 100dvh;
        align-items: center;
        padding-top: 0;
        text-align: center;
        background: url('https://shifton.kpp-gr.com/dcms_media/image/boukatsu_LP_SPTOP.jpg') no-repeat center bottom / cover;
    }

    .problem-title,
    .solution-main-title,
    .reason-main-title,
    .product-main-title,
    .flow-main-title,
    .faq-main-title {
        font-size: 1.4rem;
        line-height: 1.4;
        margin-bottom: 25px;
    }

    .solution-item {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 40px;
    }

    .solution-item-title {
        order: 1;
        font-size: 1.25rem;
        margin-bottom: 10px;
    }

    .solution-image {
        order: 2;
        width: 100%;
        margin-bottom: 10px;
    }

    .solution-text p {
        order: 3;
    }

    .button-group {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }

    .reason-grid,
    .product-grid,
    .flow-item {
        flex-direction: column;
        gap: 20px;
    }

    /* SP版の製品カードの幅調整 */
    .product-grid {
        max-width: 340px; /* スマホで横に広がりすぎないように制限 */
    }

    .product-card {
        max-width: 100%;
    }

    .flow-image {
        flex: none;
        width: 100%;
        height: 180px;
    }

    .footer-cta {
        padding: 50px 0;
    }

    .footer-main-copy {
        font-size: 1.8rem;
    }
}

/* --- 超小型スマホ（480px以下） --- */
@media screen and (max-width: 480px) {
    .section-padding,
    .problem-section,
    .solution-section,
    .reason-section,
    .product-section,
    .flow-section,
    .faq-section,
    .footer-cta {
        padding: 40px 0;
    }

    .main-title {
        font-size: 5.8vw;
        white-space: nowrap;
        margin-bottom: 15px;
    }

    .sub-copy {
        font-size: 3.4vw;
        white-space: nowrap;
        margin-bottom: 35px;
        letter-spacing: -0.01em;
    }

    .problem-title,
    .solution-main-title,
    .reason-main-title,
    .product-main-title,
    .flow-main-title,
    .faq-main-title {
        font-size: 1.35rem;
    }

    .footer-main-copy {
        font-size: 6.2vw;
        white-space: nowrap;
        margin-bottom: 25px;
    }

    .footer-sub-copy {
        font-size: 3.8vw;
        margin-bottom: 35px;
    }
}