/****************************************************
全体
****************************************************/
section {
    padding-top: 5em;
    width: 1200px;
    max-width: 95%;
    margin: 0 auto;
}
.ttl {
    position: relative;
    display: block;
    margin-bottom: 1em;
    text-align: center;
}
.ttl:before {
    content: "";
    position: absolute;
    bottom: -15px;
    display: inline-block;
    width: 60px;
    height: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #5691ff;
    border-radius: 2px;
}
/****************************************************
hero
****************************************************/
.lp_hero {
    padding-top: 70px;
    background-color: #d9e2f3;
}
.lp_hero_inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 40px;
    gap: 55px;
    max-width: 1200px;
    margin: 0 auto;
}
.lp_left {
    flex: 1;
}
.lp_left_ttl {
    font-weight: bold;
    margin-bottom: 20px;
    color: #4876f3;
}
.lp_left_txt {
    font-size: 25px;
    line-height: 1.8;
    color: #30376c;
    font-weight: bold;
}
.lp_right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.lp_right img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.lp_badge {
    width: 120px;
    aspect-ratio: 1;
    --o: calc(50% * tan(-22.5deg));
    clip-path: polygon(var(--o) 50%, 50% var(--o), calc(100% - var(--o)) 50%, 50% calc(100% - var(--o)));
    position: absolute;
    top: 20px;
    right: 0;
    background: #4876f3;
    font-weight: bold;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.lp_badge_txt {
    color: #ffffff;
    text-align: center;
    font-size: 22px;
    line-height: 1.4;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

/****************************************************
商品紹介
****************************************************/
.lp_introduce_content {
    padding-top: 2em;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.introduce_content_left img {
    max-width: 320px;
    width: 100%;
    height: auto;
}
.introduce_content_right {
    max-width: 480px;
    font-size: 16px;
    line-height: 2;
    color: #333;
}

/****************************************************
3つのメリット
****************************************************/
.merit-container {
    display: flex;
    justify-content: center;
    gap: 3em;
    flex-wrap: wrap;
    padding-top: 3em;
}
.merit-box {
    background-color: #e6f0ff;
    padding: 30px 20px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    position: relative;
    box-sizing: border-box;
}
.merit-number {
    background-color: #007bff;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    position: absolute;
    top: -35px;
    left: calc(50% - 35px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.merit-number span {
    font-size: 20px;
    line-height: 1;
}
.merit-box h2 {
    color: #007bff;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.merit-box p {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

/****************************************************
主なサポート
****************************************************/
.lp_support {
    width: 960px;
}
.lp_support_content {
    padding-top: 2em;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.support-box {
    display: flex;
    justify-content: space-between;
    background: white;
    border: 2px solid #007bff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    align-items: center;
    position: relative;
}
.support-box::before {
    position: absolute;
    display: block;
    content: "";
    top: 0;
    left: 0;
    border-top: 2em solid #007bff;
    border-right: 2em solid transparent;
}
.text-area {
    flex: 1;
    padding-right: 20px;
}
.text-area h3 {
    color: #007bff;
    margin-bottom: 10px;
}
.text-area p {
    margin: 0 0 10px;
    color: #858585;
    font-weight: bold;
}
.text-area ul {
    padding-left: 20px;
    margin: 0;
    font-size: 14px;
    color: #333333;
}
.image-area {
    width: 300px;
    max-width: 100%;
}
.image-area img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

/****************************************************
導入イメージ
****************************************************/
.lp_introduction {
    padding-top: 5em;
}
.introduction-box {
    padding: 2em 0;
    background-color: #e6f0ff;
    width: 100%;
}
.introduction-box-inner {
    width: 1200px;
    max-width: 95%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.introduction-card {
    border-radius: 8px;
    padding: 16px;
    text-align: left;
}
.introduction-card h4 {
    color: #007bff;
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
}
.introduction-card img {
    width: 100%;
    height: 16vh;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}
.introduction-card ul {
    padding-left: 20px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin: 0;
    list-style: disc;
}
.introduction-card ul li {
    letter-spacing: 0;
}
.introduction-card ul li::marker {
    color: #007bff;
}

/****************************************************
契約の流れ
****************************************************/
.lp_flow_content {
    max-width: 95%;
    margin: 0 auto;
    background: white;
    box-sizing: border-box;
}
.header-text {
    text-align: center;
    margin-bottom: 40px;
    color: #555;
}
.step {
    display: flex;
    margin-bottom: 2em;
    border-radius: 4px;
    position: relative;
}
.step:nth-child(odd)::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-top: 50px solid #dff0ff;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    z-index: 1;
}
.step:nth-child(even)::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-top: 50px solid #cee6ff;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    z-index: 1;
}
.step:last-child {
    margin-bottom: 0;
}
.step:last-child::after {
    display: none;
}
.step-left {
    background: #3685d8;
    color: white;
    width: 150px;
    padding: 20px 10px;
    text-align: center;
    box-sizing: border-box;
    position: relative;
}
.step-number {
    font-size: 36px;
    font-weight: bold;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.step-number::before {
    content: "STEP";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    font-size: 16px;
    font-weight: bold;
    color: white;
}
.step-right {
    padding: 20px;
    box-sizing: border-box;
    flex: 1;
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 120px 1fr;
    align-items: center;
}
.step-right.odd {
    background: #cee6ff;
}
.step-right.even {
    background: #dff0ff;
}
.step-title {
    font-weight: bold;
    font-size: 24px;
}
.step-icon img {
    width: 100%;
}
.step-text {
    color: #30376c;
}

/****************************************************
よくあるご質問
****************************************************/
.faq_inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 95%;
    margin: 2em auto;
}
.question-wrap {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 1em;
    cursor: pointer;
    display: grid;
    gap: 20px;
    grid-template-columns: auto 1fr;
    align-items: center;
}
.faq_badge {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    padding: 0.5em;
    width: 36px;
    height: 36px;
    border-radius: 50px;
    line-height: 0.75;
    text-align: center;
    position: relative;
}
.faq_badge.q {
    background-color: #1b378d;
}
.faq_badge.a {
    top: 17px;
    left: 17px;
    background-color: #cd65ff;
}
.faq_badge::after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: -16px;
    margin-top: -15px;
    border: 10px solid transparent;
    z-index: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.faq_badge.q::after {
    border-left: 30px solid #1b378d;
}
.faq_badge.a::after {
    border-left: 30px solid #cd65ff;
}
.faq-question {
    font-size: 18px;
    font-weight: bold;
}
.answer-wrap {
    display: none;
    position: relative;
}
.answer-wrap_inner {
    display: grid;
    gap: 50px;
    grid-template-columns: auto 1fr;
    margin-top: 1em;
}
.faq-answer {
    background-color: #fceaff;
    padding: 2em;
    font-size: 18px;
}
.btn {
    background: linear-gradient(135deg, #9333ea, #3b82f6);
    color: #ffffff !important;
    font-weight: bold;
    border: none !important;
}
.btn::before {
    position: absolute;
    z-index: -1;
    transform: rotate(-30deg);
    width: 100%;
    height: 0;
    border-radius: 25px;
    content: "";
    transition: height 0.3s ease;
}
.btn::after {
    border-top: 2px solid #ffffff !important;
    border-right: 2px solid #ffffff !important;
}
.btn:hover {
    opacity: 0.8;
}
.lp-btn{
    width: 350px;
}

/****************************************************
メッセージ
****************************************************/
.lp_message_content {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.message_content_left img {
    max-width: 200px;
    width: 100%;
    height: auto;
}
.message_content_right {
    max-width: 300px;
    line-height: 2;
    color: #333;
}

@media (max-width: 1024px) {
    /** よくあるご質問 **/
    .step-right {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .step-icon {
        width: 120px;
    }
}
@media (max-width: 768px) {
    /** hero **/
    .lp_hero_inner {
        flex-direction: column;
        padding: 100px 50px 50px;
        gap: 20px;
    }
    .lp_right {
        display: block;
        width: 80%;
        margin: 0 auto;
    }
    .lp_badge {
        right: 30px;
    }

    /** 商品紹介 **/
    .lp_introduce_content {
        gap: 15px;
    }

    /** 3つのメリット **/
    .merit-container {
        gap: 4em;
    }
}
@media (max-width: 600px) {
    /** 契約の流れ **/
    .lp_flow_content {
        max-width: 100%;
    }
    .step-left {
        width: 60px;
    }
}
@media (max-width: 500px) {
    /** hero **/
    .lp_badge {
        width: 80px;
    }
    .lp_left_txt {
        font-size: 20px;
    }
    .lp_badge_txt {
        font-size: 16px;
    }
    /** 3つのメリット **/
    .merit-box {
        width: 100%;
    }

    /** 主なサポート **/
    .support-box {
        flex-direction: column;
        gap: 20px;
    }
    .text-area {
        padding-right: 0;
    }
    .text-area ul {
        padding-left: 0;
    }

    /** 導入イメージ **/
    .introduction-box-inner {
        gap: 0px;
    }

    /** 契約の流れ **/
    .step-title {
        font-size: 20px;
    }

    /** よくある質問 **/
    .faq_badge {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
    .faq_badge::after {
        bottom: -5px;
        right: -8px;
        margin-top: -5px;
        border: 5px solid transparent;
    }
    .faq_badge.q::after {
        border-left: 15px solid #1b378d;
    }
    .faq_badge.a::after {
        border-left: 15px solid #cd65ff;
    }
    .faq-question {
        font-size: 16px;
    }
    .answer-wrap_inner {
        gap: 30px;
    }
    .faq-answer {
        padding: 1em;
        font-size: 16px;
    }

    /** メッセージ **/
    .lp_message_content {
        gap: 20px;
        margin-bottom: 30px;
    }
}
