/* ------------------------------------------------------------- */
/* download-form                                                  */
/* ------------------------------------------------------------- */
.lower-mv.download {
    background-image: url(../img/download/download_lower_mv.jpg);
}

.download-form .lead-txt {
    line-height: 1.8;
    margin-bottom: 50px;
}

.download-form .lead-txt__list {
    margin-top: 30px;
}

.download-form__ttl {
    color: #e60416;
    font-size: 30px;
    font-weight: 700;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: solid 1px #dddddd;
}

@media (max-width: 768px) {
    .download-form__ttl {
        font-size: 20px;
    }
}

.download-form table {
    text-align: left;
    width: 100%;
}

.download-form table th,
.download-form table td {
    padding: 14px 30px;
}

@media (max-width: 768px) {
    .download-form table th,
    .download-form table td {
        padding: 0;
        border: 0;
        display: block;
        width: 100%;
    }
}

.download-form table th {
    width: 340px;
    padding: 14px 0 14px 25px;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .download-form table th {
        margin: 25px 0 10px;
        font-size: 18px;
        width: 100%;
        padding-left: 10px;
    }
}

.download-form table th .wrapper {
    position: relative;
}

.download-form table th .wrapper::after {
    position: absolute;
    right: 20px;
    content: '必須';
    color: #ffffff;
    background-color: #e60416;
    padding: 3px 17px;
    font-size: 14px;
}

.download-form table th .wrapper.optional::after {
    content: '任意';
    color: #ffffff;
    background-color: #787878;
}

.download-form table input,
.download-form table select,
.download-form table textarea {
    padding: 17px 10px;
    border: solid 1px #e0e6ee;
    outline: 0;
    resize: none;
    cursor: text;
    font-size: 16px;
}

.download-form table .select-wrap {
    position: relative;
    display: inline-block;
    margin: 10px 0;
}

.download-form table .select-wrap::after {
    position: absolute;
    z-index: 2;
    right: 0;
    top: 30%;
    content: url(../image/aside_catalog_link_arw.png);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    font-size: 15px;
    width: 20px;
    height: 20px;
    display: block;
    text-align: center;
}

.download-form table select {
    position: relative;
    width: 200px;
    cursor: pointer;
}

.download-form table select::-ms-expand {
    display: none;
}

.download-form table .address > select {
    margin: 10px 0;
}

.download-form table .add-flex > input {
    margin: 0 10px;
}

.download-form table .txt_box {
    line-height: 2;
    font-size: 15px;
}

.download-form table .big {
    width: 100%;
}

.download-form table .name_flex input:not(:last-child) {
    margin-right: 10px;
}

.download-form .radio {
    padding-left: 10px;
    margin: 12px 0;
}

.download-form .radio-btn {
    display: none;
}

.download-form .radio label {
    display: block;
    font-size: 15px;
}

.download-form .radio label:not(:last-child) {
    margin-bottom: 12px;
}

.download-form .radio-btn + label {
    padding-left: 70px;
    position: relative;
    margin-right: 33px;
}

.download-form .radio-btn + label::before {
    content: '';
    display: block;
    cursor: pointer;
    position: absolute;
    top: 4px;
    left: 4px;
    width: 15px;
    height: 15px;
    border: 1px solid #c4c4c4;
    background-color: #ffffff;
    border-radius: 50%;
}

.download-form .radio-btn:checked + label::after {
    content: '';
    display: block;
    position: absolute;
    top: 7px;
    left: 7px;
    width: 9px;
    height: 9px;
    background: #151cac;
    border: 1px solid #151cac;
    border-radius: 50%;
}

.download-form .agree__btn {
    display: none;
}

.download-form .agree label {
    font-size: 16px;
    margin: 40px auto 0;
    cursor: pointer;
}

.download-form .agree__btn + label {
    position: relative;
}

.download-form .agree__btn + label::before {
    content: '';
    display: block;
    cursor: pointer;
    position: absolute;
    top: 4px;
    left: -7px;
    width: 15px;
    height: 15px;
    border: 1px solid #c4c4c4;
    background-color: #ffffff;
    border-radius: 50%;
}

.download-form .agree__btn:checked + label::after {
    content: '';
    display: block;
    position: absolute;
    cursor: pointer;
    top: 7px;
    left: -4px;
    width: 9px;
    height: 9px;
    background: #e60416;
    border: 1px solid #e60416;
    border-radius: 50%;
}

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

@media (max-width: 500px) {
    .download-form .submit-btn {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .download-form .download-form td {
        padding: 0;
    }

    .download-form select,
    .download-form .textarea,
    .download-form input,
    .download-form .download-form .big {
        width: 100%;
    }

    .download-form table select {
        width: 100%;
    }

    .download-form .name_flex input {
        width: 43vw;
    }

    .download-form .address .address-num {
        width: 29vw;
    }

    .download-form th::after,
    .download-form th.optional::after {
        position: unset;
        margin-left: 18px;
    }
}

/* ダウンロード一覧 */
.document__list {
    /*
    display: flex;
    flex-wrap: wrap;
	*/
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.document__item {
    /* width: calc(100% / 3 - 40px); */
    width: calc(100% - 40px);
    list-style: none;
    margin: 20px;
    padding: 0;
    box-shadow: 0px 3px 15px rgb(0 0 0 / 16%);
    border-radius: 10px;
}

.document__list figure {
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.document__list figure img {
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.document__container {
    padding: 24px 18px 24px;
    line-height: 1.5;
    background: #fff;
    border-radius: 0 0 10px 10px;
    background: #fff;
}

.document__title {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 4px;
    border-bottom: 3px solid #e60416;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .document__list {
        /*
        justify-content: space-between;
		*/
        grid-template-columns: repeat(2, 1fr);
        gap: 0 15px;
    }

    .document__item {
        width: 100%;
        /* width: calc(100% / 2 - 5px); */
        margin: 0 0 20px 0;
        border-radius: 4px;
    }

    .document__list figure {
        border-radius: 4px 4px 0 0;
    }

    .document__list figure img {
        border-radius: 4px 4px 0 0;
    }

    .document__container {
        border-radius: 0 0 4px 4px;
    }

    .document__title {
        font-size: 15px;
        padding-bottom: 10px;
    }
}

@media (max-width: 475px) {
    .document__list {
        grid-template-columns: repeat(1, 1fr);
        gap: 0 15px;
    }
}

/* 資料ダウンロード詳細 */
.documentDL {
    display: flex;
    justify-content: space-between;
}

.documentDL__formItems {
    width: 43%;
}

.DLform {
    width: 50%;
}

.download-form table th {
    width: 260px;
    padding: 14px 0;
}

.download-form table td {
    padding: 8px 0;
}

.documentDL__title {
    font-size: 24px;
    font-weight: 700;
    margin: 20px 0;
    color: #e60416;
}

.documentDL__subcopy {
    margin-bottom: 40px;
}

.documentDL__dl {
    border: solid 3px #ebecf2;
    border-radius: 4px;
    position: relative;
    padding: 30px 20px;
    margin-bottom: 30px;
}

.documentDL__conttitle {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #fff;
    font-weight: bold;
}

.documentDL__caption {
    font-size: 14px;
}

@media (max-width: 768px) {
    .documentDL {
        display: block;
    }

    .documentDL__formItems {
        width: 100%;
    }

    .DLform {
        width: 100%;
    }

    .documentDL__formItems {
        margin-bottom: 40px;
    }

    .documentDL__title {
        font-size: 20px;
    }

    .documentDL__conttitle {
        font-size: 16px;
    }

    .download-form table th {
        width: 100%;
        margin: 0;
    }

    .agree {
        margin-top: 0;
    }

    .btn::before,
    input.btn::before,
    .submit-btn__wrap::before {
        left: 17%;
    }

    .download-form table th {
        padding: 0;
    }

    .documentDL table tr {
        margin: 15px 0;
    }

    .documentDL .name_flex {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
}

.documentDL table tr {
    display: grid;
}

.documentDL table th {
    width: 100%;
}

.documentDL table th .wrapper::after {
    right: 0;
}

.box_scroll {
    box-sizing: border-box;
    width: 100%;
    overflow: auto;
    height: 180px;
    border: 1px solid #eee;
    text-align: left;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 10px;
}

.box_scroll .contents_text.koumoku,
.box_scroll h4 {
    font-weight: bold;
    font-size: 18px;
    margin: 0 0 20px;
}

.box_scroll .contents_text {
    margin: 0 0 20px;
    font-size: 13.5px;
    color: #555;
    line-height: 1.6;
}

.box_scroll .contents_text.text-r {
    text-align: end;
}

.box_scroll .contents_text.text-r a {
    color: #3577c1;
    text-decoration: underline;
}

.box_scroll ul li {
    text-indent: -1em;
    padding-left: 1em;
}

.box_scroll ul li::before {
    content: '-';
    color: #999999;
    margin-right: 15px;
}

.DL_douiText {
    margin-top: 5px;
    font-size: 14px;
    font-weight: 100;
}

.DL_line {
    margin-top: 20px;
}

.DL_line th {
    padding: 20px 0 14px;
}

.name_flex span:first-child input {
    margin-right: 10px;
}

.add-flex p {
    margin: 0 10px;
}

.agree {
    text-align: center;
}

.doui .formErrorContent {
    text-align: center;
}

.doui_wrap {
    margin-top: 15px;
}

.download-form .turnstile-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.download-form .turnstile-area .cf-turnstile {
    display: inline-block;
}

@media (max-width: 768px) {
    .download-form .turnstile-area {
        margin-top: 20px;
    }
}
