@charset "UTF-8";

#FormFaq {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#FormFaq .innerBox {
    position: relative;
    max-width: calc(1100px + calc(15px * 2));
    padding-top: 130px;
    padding-bottom: 130px;
}
@media screen and (max-width: 1100px) {
    #FormFaq .innerBox {
        max-width: 70%;
    }
}
@media screen and (max-width: 767px) {
    #FormFaq .innerBox {
        max-width: 100%;
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

#FormFaq .innerBox::before,
#FormFaq .innerBox::after {
    content: "";
    position: absolute;
    top: -350px;
    z-index: -10;
    width: 50vw;
    height: 100%;
    background-color: rgba(14, 20, 36, 0.4);
}

#FormFaq .innerBox::before {
    left: 0;
    transform: translateX(calc(-100% - 155px));
}

#FormFaq .innerBox::after {
    right: 0;
    transform: translateX(calc(100% + 155px));
}

.section_1 {
    position: relative;
    padding-bottom: 100px;
}
@media screen and (max-width: 767px) {
    .section_1 {
        padding-bottom: 80px;
    }
}

.section_1 p.text {
    display: block;
    text-align: center;
    margin-bottom: 87px;
    line-height: 1.5em;
}
@media screen and (max-width: 767px) {
    .section_1 p.text {
        margin-bottom: 50px;
    }
}
.section_1 p.text strong {
    color: #d01313;
}

.bg-contents {
    position: relative;
    width: 100%;
    height: 300px;
}
.bg-contents span {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
}
.bg-contents img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section_2 {
    position: relative;
    padding-top: 130px;
}
@media screen and (max-width: 767px) {
    .section_2 {
        padding-top: 80px;
    }
}
.section_2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: #fff;
    z-index: -1;
}

.faq_box {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq_box li {
    margin-bottom: 0;
}

.faq_box {
    padding: 14px 0;
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
}
.faq_box .faq_item:not(:last-child) {
    margin-bottom: 20px;
}

.faq_question,
.faq_answer {
    font-weight: bold;
    padding: 25px 16px 29px;
    display: flex;
    position: relative;
}
@media screen and (max-width: 767px) {
    .faq_question,
    .faq_answer {
        padding: 15px 16px 17px;
    }
}

.faq_question {
    background-color: rgba(173, 187, 198, 0.6);
    align-items: center;
}
.faq_answer {
    background-color: #fff;
}

.faq_box .faq_question .question_mark,
.faq_answer .answer_mark {
    font-size: 36px;
    font-weight: 700;
    margin-right: 32px;
}
.faq_box .faq_question .question_text {
    margin-right: 10px;
    font-size: 24px;
}
.faq_answer .answer_text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75em;
    letter-spacing: 0.036em;
}

#FormFaq .large-bg-text {
    position: absolute;
    z-index: 1;
    font-size: 350px;
    font-weight: 500;
    top: 830px;
    left: -230px;
}
@media screen and (max-width: 767px) {
    #FormFaq .section-1-title {
        margin-bottom: 60px;
    }
}

#FormFaq .section-1-title {
    margin-bottom: 100px;
}

#FormFaq .sub-title-container {
    display: grid;
    place-items: center;
    transform: translateX(-42px);
    margin-bottom: 77px;
}

#FormFaq .form-container {
    width: 100%;
    height: 100%;
}

#FormFaq .form-row {
    width: 100%;
    height: 100%;
    min-height: 80px;
    display: flex;
    border: 1px solid #374254;
    border-bottom: none;
}

#FormFaq .form-row-last {
    width: 100%;
    height: 207px;
    display: flex;
    border: 1px solid #374254;
    margin-bottom: 25px;
}

#FormFaq .form-label-container {
    width: 325px;
    height: initial;
    background-color: #374254;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px 0 5.6%;
    border-bottom: solid 2px #9e9e9e;
}
@media screen and (max-width: 1100px) {
    #FormFaq .form-label-container {
        width: 40%;
        padding: 0 2%;
    }
}

#FormFaq .form-label-container p,
#FormFaq .form-label-container-full p {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
@media screen and (max-width: 767px) {
    #FormFaq .form-label-container p,
    #FormFaq .form-label-container-full p {
        flex-direction: column;
    }
}

#FormFaq .form-label-container-full {
    width: 325px;
    height: 100%;
    background-color: #374254;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px 0 5.6%;
}
@media screen and (max-width: 1100px) {
    #FormFaq .form-label-container-full {
        width: 40%;
        padding: 0 2%;
    }
}

#FormFaq .form-label {
    font-size: 20px;
}
@media screen and (max-width: 1100px) {
    #FormFaq .form-label {
        font-size: 13px;
    }
}

#FormFaq .required-badge {
    font-size: 12px;
    font-weight: 600;
    background-color: #d01313;
    padding: 3px 9px;
}
@media screen and (max-width: 767px) {
    #FormFaq .required-badge {
        width: fit-content;
    }
}

#FormFaq .form-input-container {
    width: 70%;
    padding: 20px;
    padding-right: 70px;
}
@media screen and (max-width: 1100px) {
    #FormFaq .form-input-container {
        padding-right: 20px;
    }
}

#FormFaq .wpcf7-form-control-wrap input {
    height: 40px;
    padding: 15px;
    width: 100%;
    border: solid 1px #9e9e9e;
}

#FormFaq .wpcf7-list-item input {
    width: 100%;
    height: 100%;
    padding: 0;
    border: solid 1px #9e9e9e;
    cursor: pointer;
}
#FormFaq .wpcf7-form-control  {
    display: block;
    width: 100%;
    height: 100%;
}
#FormFaq .wpcf7-list-item {
    display: block !important;
    margin: 0 !important;
}

#FormFaq .form-input-dark {
    height: 40px;
    padding: 15px;
    width: 100%;
    border: solid 1px #374254;
}

#FormFaq .wpcf7-form-control-wrap textarea {
    height: 164px;
    min-height: 164px;
    max-height: 164px;
    padding: 15px;
    width: 100%;
    border: solid 1px #9e9e9e;
    resize: none;
    overflow-y: auto;
    box-sizing: border-box;
    line-height: 1.75em;
}
#FormFaq .wpcf7-form-control-wrap {
    width: 13px;
}

#FormFaq .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
    position: absolute;
    font-size: 12px;
    bottom: -15.5px;
    left: 15px;
    color: #dc3232;
}
@media screen and (max-width: 767px) {
    #FormFaq .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
        font-size: 10px;
    }
}

#FormFaq .wpcf7-list-item input[type="checkbox"] + span.wpcf7-not-valid-tip {
    width: 250px;
}

#FormFaq .checkbox-container {
    text-align: center;
}
#FormFaq .checkbox-container p {
    margin-bottom: 30px;
}
#FormFaq .checkbox-container label {
    position: relative;
    display: flex;
    justify-content: center;
}
#FormFaq .checkbox-container .wpcf7-acceptance {
    width: 100%;
    height: 100%;
    display: block;
    transform: translateX(-10px);
}

#FormFaq .button-container .wpcf7-submit {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    background: transparent;
    border: solid 2px #0E1424;
    color: #0E1424;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.29s ease-in-out;
    cursor: pointer;
}
#FormFaq .button-container .wpcf7-submit:hover {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

#FormFaq .privacy-link {
    font-size: 14px;
    font-weight: 400;
    text-decoration: underline;
}

#FormFaq .button-container {
    position: relative;
    width: 330px;
    height: 67px;
    margin: 0 auto;
}
/* #FormFaq .button-container-cf7.button-container::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 9px;
    height: 18px;
    right: 45px;
    background: url(../image/button_arrow_black.svg) no-repeat center center / contain;
} */
#FormFaq .button-container p,
#FormFaq .button-container input {
    height: 100%;
}

#FormFaq .section-2-title {
    display: grid;
    place-items: center;
    transform: translateX(-42px);
    margin-bottom: 77px;
}
@media screen and (max-width: 767px) {
    #FormFaq .section-2-title {
        margin-bottom: 50px;
    }
}

#FormFaq .form-row .message-container {
    position: absolute;
}

#FormFaq .wpcf7-spinner {
    display: none;
}

#FormFaq .button-container {
    opacity: 0.5;
    pointer-events: none;
    transition: all 0.29s ease-in-out;
}
#FormFaq .button-container.active {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

#FormFaq form.sent .wpcf7-response-output {
    border-color: #46b450;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    width: fit-content;
    margin: 30px auto;
}

#FormFaq #PageHeader .page-header-title-box {
    transform: translateX(-340px);
}
#FormFaq #PageHeader .page-header-ja-title {
    left: 140px;
}

/* 確認メッセージのスタイル */
#FormFaq .form-confirmation-warning {
    margin-top: 20px;
    padding: 15px 20px;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    text-align: center;
    animation: slideDown 0.29s ease-out;
    margin-bottom: 20px;
}

#FormFaq .form-confirmation-warning p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #856404;
}

#FormFaq .form-confirmation-warning strong {
    color: #d01313;
    font-weight: 700;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 767px) {
    #FormFaq .form-confirmation-warning {
        margin-top: 15px;
        padding: 12px 15px;
    }
    
    #FormFaq .form-confirmation-warning p {
        font-size: 13px;
    }
}
