* {
    min-height:0;
    min-width : 0;
}
.form {
    margin-left: auto;
    margin-right: auto;
    max-width: 1080px;
    margin-top: 200px;
}
.error {
    border: #F00 1px solid;
    font-weight: 500;
    margin-bottom: 1em;
    color: #F00;
    padding: 1em;
}
@media screen and (max-width: 768px) {
    .form {
        max-width: 100%;
        width: 100%;
        padding: 0 5%;
    }
    .error {
        border: #F00 1px solid;
        font-weight: 500;
        margin-bottom: 3vw;
        font-size: 3.2vw;
        color: #F00;
        padding: 3vw;
    }
}
.form > h3 {
    width: 100%;
    letter-spacing: 0.05em;
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 1em;
}
.form > h3:before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 0.7em;
    border-radius: 4px;
    background: #B4DCFF;
    margin-right: 1em;
}
@media screen and (max-width: 768px) {
    .form > h3 {
        margin-bottom: 2vw;
        display: flex;
        align-items: center;
        font-size: 3.7vw;
    }
}
.form-item {
    padding-bottom: 24px;
    width: 100%;
    display: flex;
    align-items: center;

}
@media screen and (max-width: 768px) {
    .form-item {
        flex-wrap: wrap;
        padding-bottom: 4vw;
    }
}
.form.form-bordered .form-item {
    border-bottom: #CDD6DD 1px solid;
    padding: 1.5em 0;
}
.form.form-bordered .form-item:nth-last-of-type(1) {
    padding: 1.5em 0;
}
.form.form-bordered .form-item:nth-of-type(1) {
    border-top: #CDD6DD 1px solid;
}
.form-item > label {
    width: 100%;
    max-width: 300px;
    letter-spacing: 0.05em;
}
@media screen and (max-width: 768px) {
    .form-item > label {
        max-width: 100%;
        margin-bottom: 2vw;
        display: flex;
        align-items: center;
        font-size: 3.2vw;
    }
}
.form-item > label.isMsg {
    margin-top: 8px;
    margin-bottom: auto;
}
@media screen and (max-width: 768px) {
    .form-item > label.isMsg {
        margin-top: 0;
    }
}
.form-item > label span.required {
    border-radius: 1em;
    margin-right: 1em;
    margin-left: 1em;
    padding: 0.5em 1em;
    display: inline-block;
    text-align: center;
    background: #1E78C8;
    color: #fff;
    font-size: 13px;
    line-height: 1;
}
@media screen and (max-width: 768px) {
    .form-item > label span.required {
        font-size: 2.5vmin;
    }
}
.form-item input.input-s {
    max-width: 50% !important;
}
.form-item input.input-xs {
    max-width: 30% !important;
}
.form-item input[type="text"],
.form-item input[type="email"],
.form-item input[type="tel"],
.form-item input[type="password"],
.form-item input[type="number"],
.form-item input[type="date"] {
    /*outline: 1px solid #B7B7B7;*/
    border: none;
    border-radius: 5px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 40px;
    flex: 1;
    width: 100%;
    background: #F9F9F9;
    font-size: 16px;
    font-family: inherit;
}
@media screen and (max-width: 768px) {
    .form-item input[type="text"],
    .form-item input[type="email"],
    .form-item input[type="tel"],
    .form-item input[type="password"],
    .form-item input[type="number"],
    .form-item input[type="date"] {
        margin-left: 0;
        height: 8vw;
        flex: inherit;
        font-size: 3.4vw;
    }
}
.form-item textarea {
    /*outline: 1px solid #B7B7B7;*/
    border: none;
    border-radius: 5px;
    margin-left: 40px;
    padding: 1em;
    height: 216px;
    flex: 1;
    width: 100%;
    background: #F9F9F9;
    font-size: 16px;
    font-family: inherit;
}
@media screen and (max-width: 768px) {
    .form-item textarea {
        margin-left: 0;
        height: 20vw;
        flex: inherit;
        font-size: 3.4vw;
    }
}
.form-item input:focus,
.form-item textarea:focus,
.form-item select:focus {
    outline: 1px solid #40BBC0;
}

.form-item .radio,
.form-item .checkbox {
    width: 100%;
    display: flex;
    align-items: center;
}
.radio + .radio,
.checkbox + .checkbox {
    margin-top: 1em;
}
.form-item input[type="radio"] {
    position: relative;
    width: 1.4em;
    height: 1.4em;
    border: 1px solid #5D5D5D;
    border-radius: 50%;
    vertical-align: -2px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0 0 0 0.2em;
    top: 0.1em;
}
.form-item input[type="radio"]:checked:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.8em;
    height: 0.8em;
    border-radius: 50%;
    background: #f00;
    content: '';
}
.form-item input[type="checkbox"] {
    position: relative;
    width: 1.4em;
    height: 1.4em;
    border: 1px solid #5D5D5D;
    border-radius: 3px;
    vertical-align: -2px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0 0 0 0.2em;
    top: 0.1em;
}
.form-item input[type="checkbox"]:checked:before {
    position: absolute;
    top: -0.2em;
    left: 0.3em;
    transform: rotate(50deg);
    width: 0.5em;
    height: 1em;
    border-right: 3px solid #F00;
    border-bottom: 3px solid #F00;
    content: '';
}
.form-item input[type="radio"] + label,
.form-item input[type="checkbox"] + label {
    display: inline-block;
    padding-left: 0.6em;
    width: auto;
    font-weight: 400;
}
@media screen and (max-width: 768px) {
    .form-item .radio,
    .form-item .checkbox {
        margin-top: 0;
    }
    .radio + .radio,
    .checkbox + .checkbox {
        margin-top: 0;
    }
    .form-item input[type="radio"] {
        width: 4vw;
        height: 4vw;
        top: 0.8vw;
        min-width: 4vw;
    }
    .form-item input[type="checkbox"] {
        width: 4vw;
        height: 4vw;
        top: 0.8vw;
        min-width: 4vw;
    }
}
.select {
    display: inline-block;
    position: relative;
    border: 1px solid #B7B7B7;
    vertical-align: middle;
}
select {
    /*appearance: none;*/
    width: 100%;
    padding: 0.6em;
    /*padding-right: 1em;*/
    /*border: none;*/
    /*outline: 0;*/
    /*background: #fff;*/
    /*background-image: none;*/
    /*box-shadow: none;*/
    /*text-indent: 0.01px;*/
    text-overflow: ellipsis;
    /*cursor: pointer;*/
    font-family: inherit;
    border-radius: 0.3em;
    font-size: 16px;
}

select::before {
    content: "";
    position: absolute;
    right: 10px;
    top: 15px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #ccc;
    border-left: 2px solid #ccc;
    transform: translateY(-50%) rotate(-135deg);
    font-size: 20px;
    pointer-events: none;
}

select::-ms-expand {
    display: none;
}
@media screen and (max-width: 768px) {
    select {
        font-size: 3.4vw;
    }
}

.form .form-item:nth-last-of-type(1) {
    padding-bottom: 0;
}
.form-item.wide {
    display: flex;
    flex-wrap: wrap;
    row-gap: 1em;
}
.form-item .form-group {
    display: flex;
    flex-wrap: wrap;
    row-gap: 1vw;
}
.form-item.wide > label {
    margin-bottom: 0;
}
@media screen and (min-width: 769px) {
    .form-item.wide > label {
        max-width: 100%;
        margin-bottom: 0;
    }
    .form-item.wide .radio,
    .form-item.wide .checkbox {
        width: 100%;
    }
    .radio + .radio,
    .checkbox + .checkbox {
        margin-top: 0;
    }
    .form-item input[type="text"],
    .form-item input[type="email"],
    .form-item input[type="password"],
    .form-item input[type="tel"],
    .form-item input[type="date"],
    .form-item input[type="number"],
    .form-item textarea {
        margin-left: 0;
    }
    .form-item .form-group {
        display: flex;
        flex-wrap: wrap;
        row-gap: 0.6em;
    }
    .form-item .form-group.flex-nowrap {
        flex-wrap: nowrap;
        gap: 5em;
    }
}
.input-group {
    margin-top: 0.6em;
    margin-bottom: 0.6em;
    padding-left: 4em;
    display: flex;
}
@media screen and (max-width: 768px) {
    .input-group {
        margin-top: 1vw;
        margin-bottom: 1vw;
        padding-left: 7vw;
    }
    .input-group input[type="text"] {
        width: auto;
    }
    .input-group .input-group-append {
        line-height: 8vw;
        padding-left: 2vw;
    }
    .input-group .input-group-append .input-group-text {
        font-size: 3.4vw;
    }
}
.inner-q {
    background: #F5F5F5;
    padding: 1em;
    margin-top: 0.6em;
    margin-bottom: 0.6em;
}
@media screen and (max-width: 768px) {
    .inner-q {
        padding: 3vw;
        margin-top: 2vw;
        margin-bottom: 2vw;
    }
}


.slide-items {
    width: 100%;
    height: 100%;
    position: relative;
    margin-top: 3vw;
    margin-bottom: 3vw;
}
.slick-slide {
    height: 41vw !important;
}
.slide-items img {
    width: 100%;
    object-fit: cover;
}
.slick-prev,.slick-next {
    top: calc(50% - 10px) !important;
}
.slick-prev {
    left: 2vw !important;
    z-index: 10;
}
.slick-next {
    right: 2vw !important;
    z-index: 10;
}
.slick-next:before {
    content: none;
}
@media screen and (min-width:769px) {
    .slide-items {
        width: 100%;
        height: 100%;
        margin-top: 1em;
        margin-bottom: 1em;
    }
    .slick-slide {
        height: 200px !important;
    }
    .slide-items img {
        width: 100%;
        object-fit: cover;
    }
    .slick-prev {
        left: 20px !important;
        z-index: 10;
    }
    .slick-next {
        right: 20px !important;
        z-index: 10;
    }
}

._input_card_number,
._input_card_expiry,
._input_card_cvc {
    width: 100%;
    padding: 1.5vw 3vw;
    outline: 1px solid #B7B7B7;
    background: #FDFDFD;
    border-radius: 0.5vw;
}
._input_card_expiry {
    width: 30%;
}
._input_card_cvc {
    width: 30%;
}
@media screen and (min-width:769px) {
    ._input_card_number,
    ._input_card_expiry,
    ._input_card_cvc {
        padding: 0.5em 1em;
        border-radius: 2px;
    }
    ._input_card_expiry {
        max-width: 10em;
    }
    ._input_card_cvc {
        max-width: 10em;
    }
}



/* ========================================================
rightLinks ダウンロードアイコン付き
======================================================== */

.custom_upload_area > button {
    padding-right: 1.2em;
    box-sizing: border-box;
    position: relative;
    left: 1.8em;
    line-height: 1;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
}
.custom_upload_area > button::after {
    content: '';
    width: 1.1em;
    height: 1em;
    display: block;
    position: absolute;
    right: -1.5em;
    top: 1px;
    background: url("/assets/img/arrow_blue.svg") no-repeat;-moz-background-size: 45% auto;background-size: 45% auto;background-position: center center;
}
.custom_upload_area > button::before {
    content: '';
    width: 1.4em;
    height: 1.4em;
    display: block;
    position: absolute;
    left: -1.8em;
    top: -0.2em;
    background: url("/assets/img/up.svg") no-repeat;-moz-background-size: contain;background-size: contain;background-position: center center;
}
@media screen and (max-width: 768px) {
    .custom_upload_area > button {
        font-size: 3.2vw;
        left: 6vw;
        padding-right: 4vw;
    }
    .custom_upload_area > button::after {
        width: 4vw;
        height: 4vw;
        right: -5vw;
        top: 0;
    }
    .custom_upload_area > button::before {
        width: 4vw;
        height: 4vw;
        left: -6vw;
        top: 0;
    }
}

.custom_upload {
    display: none;
}
.custom_upload + button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
    font-family: inherit;
    font-size: inherit;
}
.custom_upload_area .thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    row-gap: 1em;
    margin-top: 1em;
}
.custom_upload_area .thumbs span {
    width: 100px;
    height: 100px;
    border: 1px solid #B7B7B7;
    border-radius: 5px;
}
.custom_upload_area .thumbs span img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media screen and (max-width: 768px) {
    .custom_upload_area .thumbs {
        gap: 4vw;
        row-gap: 4vw;
        margin-top: 4vw;
    }
    .custom_upload_area .thumbs span {
        width: 24vw;
        height: 24vw;
        border-radius: 1vw;
    }
}


.error_txt {
    padding: 0.4em 1.2em;
    background: #FDF3F3;
    border-radius: 100vh;
    color: #D71718;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}
label:has(.error_txt) + input {
    background: #FDF3F3 !important;
    color: #D71718;
    outline: #D71718 1px solid !important;
}

ul.help {
    width: 100%;
    position: relative;
    top: -0.4em;
}
ul.help li {
    font-size: 14px;
}
@media screen and (max-width: 768px) {
    ul.help {
        top: -2vw;
    }
    ul.help li {
        font-size: 3vw;
        padding-left: 3vw;
        position: relative;
    }
    ul.help li:before {
        content: "・";
        position: absolute;
        left: 0;
    }
}

::placeholder{
    color:#cecece;
}


.form-item dl.input-flex {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5em;
}
.form-item dl.input-flex dt {
    font-weight: normal;
    min-width: 2em;
    white-space: nowrap;
}
.form-item dl.input-flex dd {
    font-weight: normal;
    min-width: 20%;
}
.form-item dl.input-flex dd + dt {
    margin-left: 1em;
}
.form-item dl.input-flex-s {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5em;
}
.form-item dl.input-flex-s dt {
    font-weight: normal;
}
.form-item dl.input-flex-s dd {
    font-weight: normal;
}
.form-item dl.input-flex-s dd input {
    max-width: 100% !important;
    width: 100px;
}

.form ul.submit {
    display: flex;
    justify-content: center;
    gap: 2em;
    margin-top: 4em;
}
.form button {
    width: auto;
    border: #1E78C8 1px solid;
    background: none;
    border-radius: 9999px;
    padding: 1.3em 4em;
    line-height: 1;
    display: inline-block;
    color: #1E78C8;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: all .3s;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}
.form button:hover {
    color: #FFF;
}
.form a.button {
    width: auto;
    border: #999 1px solid;
    background: #F0F0F0;
    border-radius: 9999px;
    padding: 1.3em 4em;
    line-height: 1;
    display: inline-block;
    color: #999;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: all .3s;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}
@media screen and (max-width: 768px) {
    .form ul.submit {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 1em;
    }
    .form ul.submit li {
        width: 100%;
        text-align: center;
    }
}
