.mv-lower_bg {
    background: url(../img/mv-download_sp.png) center/cover no-repeat;
}

.download {
    padding-block: 60px 100px;
}

.download-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.download-item {}

.download-item_title {
    color: var(--color-contrast, #1A1A1A);
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px; /* 140% */
}

.download-item_img {
    margin: 40px auto 0;
    max-width: 275px;
    background:  lightgray 50%;
    box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.16);
}

.download-item_text {
    margin-top: 40px;
    color: var(--color-contrast, #1A1A1A);
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 171.429% */
}

.download-form {
    padding: 40px 20px;
    border-radius: 12px;
    background: var(--color-main-light, #EDF3F8);
}

.form_title {
    color: var(--color-contrast, #1A1A1A);
    font-family: "Noto Sans JP";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.form_fields {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form_field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
}

.form_label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form_label-text {
    color: var(--color-contrast, #1A1A1A);
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
}

.form_label-required {
    padding: 1px 8px;
    background: var(--color-accent-2, #E61264);
    color: var(--color-base, #FFF);
    font-family: "Noto Sans JP";
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.form_input {
    width: 100%;
    border-radius: 5px;
    border: 1px solid #DDD;
    background: var(--color-base, #FFF);
    padding: 12px 14px;
    line-height: normal;

    &::placeholder {
        color: #CCC;
        font-family: "Noto Sans JP";
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }
}

.form-consent {
    height: 28px;
    align-items: center;
    margin: 40px auto 0;
    display: flex;
    width: fit-content;
    cursor: pointer;

    & input[type="checkbox"] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    & input:checked + span::after {
        opacity: 1;
    }
}

input[type="checkbox"] + span {
    position: relative;
	display:inline-block;
    padding-left: 38px;
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: var(--color-contrast, #1A1A1A);

    &::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 28px;
        height: 28px;
        border: 1px solid #3E3E3E;
        background: var(--color-base, #FFF);
    }

    &::after {
        content: "";
        position: absolute;
        left: 8px;
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
        width: 11.607px;
        height: 6.359px;
        border-left: 1px solid #3E3E3E;
        border-bottom: 1px solid #3E3E3E;
        opacity: 0;
        transition: opacity .2s;
    }

    & a {
        margin-right: 6px;
        font-weight: 700;
        text-decoration-line: underline;
        text-decoration-style: solid;
        text-decoration-skip-ink: none;
        text-decoration-thickness: auto;
        text-underline-offset: auto;
        text-underline-position: from-font;
    }
}

.download-btn {
    margin: 40px auto 0;
    display: block;
    width: 100%;
    max-width: 336px;
    padding: 23px 0 23px;
    border: 1px solid var(--color-main, #023E78);
    background: var(--color-base, #FFF);
    color: var(--color-main, #023E78);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

.form-thanks_title {
    color: var(--color-contrast, #1A1A1A);
    font-family: "Noto Sans JP";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px; /* 166.667% */
}

.form-thanks_text {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: var(--color-contrast, #1A1A1A);
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;

    & span:first-of-type {
        line-height: 24px;
    }

    & a {
        color: #023E78;
        line-height: normal;
        text-decoration-line: underline;
        text-decoration-style: solid;
        text-decoration-skip-ink: none;
        text-decoration-thickness: auto;
        text-underline-offset: auto;
        text-underline-position: from-font;
    }

    & span:last-of-type {
        line-height: 28px;
    }
}

@media screen and (min-width:768px) {
    .mv-lower_bg {
    background: url(../img/mv-download_pc.png) center/cover no-repeat;
}
.download {
    padding-block: 70px 160px;
}

.download-content {
    flex-direction: row;
    gap: 40px;
}

.download-item {}

.download-item_title {
    font-size: 28px;
    line-height: 40px;
}

.download-item_img {}

.download-item_text {}

.download-form {
    width: 50%;
    flex-shrink: 0;
    padding: 40px;
}

.form_title {
    font-size: 32px ;
}

.form_fields {
    gap: 32px;
}

.form_field {
    gap: 12px;
}

.form_label {
    gap: 9px;
}

.form_label-text {
    font-size: 18px;
}

.form_label-required {
    font-size: 12px;
}

.form_input {
    padding: 10px 16px;

    &::placeholder {
        font-size: 16px;
    }
}

.form-consent {
    height: 32px;
}

input[type="checkbox"] + span {
    padding-left: 42px;
    font-size: 16px;

    &::before {
        width: 32px;
        height: 32px;
    }
    

    &::after {
        left: 10px;
    }

    & a {
        margin-right: 10px;
    }
}

.download-btn {
    font-size: 16px;
    padding: 23px 0 23px;
}

.download-form-thanks_title {
    font-size: 32px;
}

.download-form-thanks_text {
    margin-top: 40px;
}
}