@charset "UTF-8";

:root {
    /* 大枠ページ数 */
    --space-length: 3;
    /* 質問ページ数 */
    --answer-space-length: 2;
}

* {
    box-sizing: border-box;
}
*:focus {
    outline: none;
}


.loader {
    background: #fff;
    border-radius: 20px;
    height: 40px;
    left: calc(50% - 20px);
    padding: 10px;
    position: fixed;
    top: -100vh;
    width: 40px;
    z-index: 5;
    transition: top 0.25s 0s linear;
}
.loader.is-show {
    /*top: calc(50% - 20px);*/
}
.loader>img {
    height: auto;
    width: 100%;
}


/*brak point*/
.max374 {
    display: none;
}

* {
    font-family: "Noto Serif JP", serif;
}

html, body {
    height: 100%;
    margin: 0 auto;
    padding: 0 0;
    width: 100%;
}

html {

}

body {
    -webkit-text-size-adjust: 100%;
    color: #111;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6, p, address, ul, ol, li, dl, dt, dd, table, caption, th, td, img, form {
    border: none;
    border-collapse: collapse;
    font-size: 100%;
    font-style: normal;
    font-weight: normal;
    line-height: 100%;
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: left;
    vertical-align: top;
}
a {
    color: #111;
    text-decoration: none;
}
img {
    border-style: none;
    image-rendering: -webkit-optimize-contrast;
    max-width: 100%;
}
hr {
    display: none;
}
em {
    font-style: normal;
}


/*Hides from IE-mac*/
* html .CF {
    height: 1%;
}
*+html .CF {
    min-height: 1%;
}
.cf {
    display: block;
}
.clearfix:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}
.clearfix {
    display: inline-table;
}


button, input, select, textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
textarea {
    font-size: 100%;
}
input {
    line-height: normal;
    vertical-align: top;
}

/*Google Chrome*/
a, input, textarea, select {
    outline: none;
}


/*Utils*/
.bold {
    font-weight: bold !important;
}
.hide {
    display: none !important;
}
.centering {
    text-align: center !important;
}
.righting {
    text-align: right !important;
}
.mt10 {
    margin-top: 10px !important;
}
.mt15 {
    margin-top: 15px !important;
}
.mt20 {
    margin-top: 20px !important;
}
.mt30 {
    margin-top: 30px !important;
}
.mb10 {
    margin-bottom: 10px !important;
}
.mb15 {
    margin-bottom: 15px !important;
}
.mb20 {
    margin-bottom: 20px !important;
}
.mb30 {
    margin-bottom: 30px !important;
}
.ml10 {
    margin-left: 10px !important;
}
.ml15 {
    margin-left: 15px !important;
}
.ml20 {
    margin-left: 20px !important;
}
.ml30 {
    margin-left: 20px !important;
}
.mr10 {
    margin-right: 10px !important;
}
.mr15 {
    margin-right: 15px !important;
}
.mr20 {
    margin-right: 20px !important;
}
.mr30 {
    margin-right: 20px !important;
}

/*common*/
.wrapper {
    position: relative;
    background: #1f1f19;
}
.header{

}
.header__img{
    width:100%;
    height:auto;
}

.fv__movie {
    width: 100%;
    vertical-align: bottom;
}

.main {
    position: relative;
    width: 100%;
    background: url("../img/ver5/bg.png") no-repeat center/cover;
    overflow: hidden;
}
.input_title {
    display: inline-block;
    padding: 5px 0;
}
.input_require {
    color: #f00000;
}
.input_optional {
    color: #aaa;
}
.input {
    font-weight: bold;
    background: #eaeaea;
    border: 1px solid #edd371;
    border-radius: 5px;
    box-shadow: none;
    box-sizing: border-box;
    display: inline-block;
    font-size: 1rem;
    height: 50px;
    padding: 0.8em;
    width: 100%;
}
.textarea {
    background: #eaeaea;
    border: 1px solid #edd371;
    border-radius: 5px;
    box-shadow: none;
    box-sizing: border-box;
    padding: 0.4em;
    font-size: 1rem;
}


.select_box {
    position: relative;
}
.select_box:after {
    content: '';
    border: none;
    border-bottom: 3px solid #111;
    border-right: 3px solid #111;
    display: block;
    height: 6px;
    margin: auto;
    position: absolute;
    right: calc(3px + 10px);
    bottom: calc(50% - 3px);
    transform: rotate(45deg);
    width: 6px;
}
.select_box>select {
    font-weight: bold;
    background: #eaeaea;
    border: 1px solid #edd371;
    border-radius: 5px;
    box-shadow: none;
    font-size: 1rem;
    padding: 0.8em;
    height: 50px;
    width: 100%;
    color: #111;
}

.fv {
    width: 750px;
    max-width: 750px;
    margin: 0 auto;
}

/*main*/
.spaces_wrapper {
    width: 640px;
    max-width: 640px;
    margin: -15vh auto 2rem auto;
    overflow: hidden;
}
.spaces {
    display: flex;
    align-items: flex-start;
    width: calc(100% * var(--space-length));
}
.space {
    width: calc(100%/ var(--space-length));
    position: relative;
    overflow: hidden;
    margin: 0 10px;
}

.panel {
    background: #fff;
    border-radius: 20px 0 20px 0;
    padding: 10px;
}

.panel__body {
    border: 1px solid #eed372;
    border-radius: 20px 0 20px 0;
    padding: 25px 5vw;
}

.spaces.is-scene1 {
    margin-left: 0;
    transition: all 0.25s 0s ease;
}
.spaces.is-scene2 {
    margin-left: calc(-100% * 1);
    transition: all 0.25s 0s ease;
}
.spaces.is-scene3 {
    margin-left: calc(-100% * 2);
    transition: all 0.25s 0s ease;
}
.spaces.is-scene4 {
    margin-left: calc(-100% * 3);
    transition: all 0.25s 0s ease;
}
.spaces.is-scene5 {
    margin-left: calc(-100% * 4);
    transition: all 0.25s 0s ease;
}

.space__back {
    background-color: #edd371;
    border-radius: 24px;
    color: #1f201a;
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    margin: 2rem 0 2rem 0;
    padding: .8rem 2rem;
    cursor: pointer;
}

.space__back.is-disabled {
    cursor: auto;
    opacity: 0;
}

/*質問ステータス*/
.ques_statuses_wrapper {

}
.ques_statuses {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.ques_status {
    font-size: 0;
    margin: 0 6px;
    overflow: hidden;
    padding-bottom: 6px;
    text-indent: 100%;
}

.ques_status:before {
    background: #dedede;
    border: 2px solid #dedede;
    border-radius: 8px;
    content: '';
    display: block;
    height: 4px;
    width: 4px;
}

.ques_status.is-now:before {
    background: #edd371;
    border: 2px solid #edd371;
}

/*質問ステータスのスライド*/
.ques_statuses.is-scene1 {
    margin-left: 0;
    transition: all 0.25s 0s ease;
}
.ques_statuses.is-scene2 {
    margin-left: calc(-100% * 1);
    transition: all 0.25s 0s ease;
}
.ques_statuses.is-scene3 {
    margin-left: calc(-100% * 2);
    transition: all 0.25s 0s ease;
}
.ques_statuses.is-scene4 {
    margin-left: calc(-100% * 3);
    transition: all 0.25s 0s ease;
}
.ques_statuses.is-scene5 {
    margin-left: calc(-100% * 4);
    transition: all 0.25s 0s ease;
}


/*質問文*/
.ques_title_wraper {
    margin: 10px 0 0 15px;
    text-align: center;
}
.ques_title {
    color: #111;
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1.5;
    padding: 0 0 0 2rem;
    position: relative;
    margin: 0 auto;
}
.ques_title__ques_icon:before {
    content: 'Q';
    color: #714200;
    display: inline-block;
    left: -1rem;
    top: -.5rem;
    overflow: hidden;
    position: absolute;
    font-weight: 500;
    font-size: 2.5rem;
    font-family: "Shippori Mincho", serif;
}
.ques_title__caution_txt {
    font-size: 1rem;
}

.ques_prompt_txt {
    margin: 2rem 0 0 0;
    text-align: center;
    font-weight: 700;
    font-size: 1.5rem;
}

/*ボタン*/
.button {
    background: linear-gradient(#f7d561, #e2b51e);
    box-shadow: 0 4px 0 #b88523;
    border: none;
    border-radius: 5px;
    color: #1f201a;
    cursor: pointer;
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    padding: 15px 0;
    position: relative;
    text-align: center;
    width: 100%;
}
.button_list {

}
.button_list__item {
    padding: 5px 5px 10px;
    width: 100%;
    text-align: center;
}
.next_button_box {
    margin: 30px auto 0;
    width: 80%;
}


/*借入件数*/
.answer_space__count_debt_button_list {
    margin: 10px 0 0 0;
}


/*借入金額*/
.answer_space__debt_total_input_group {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 15px 20px 0 20px;
}
.answer_space__debt_total_input {
    border: 1px solid #7e7e7e;
    border-radius: 5px;
    display: inline-block;
    font-size: 24px;
    margin-right: 10px;
    width: 200px;
    padding: 15px 10px;
    text-align: center;
}
.answer_space__debt_total_input_unit {
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    margin: 15px 0 0 0;
}


/*個人情報入力*/
.personal_space_wrapper {
    position: relative;
}
.personal_space {
    font-size: 16px;
}

.personal_space__title {
    text-align: center;
}
.personal_space__title_txt_before,
.personal_space__title_txt_after {
    border-radius: 24px;
    font-weight: 700;
    line-height: 1;
    position: relative;
    text-align: center;
    display: inline-block;
    padding: .8rem 3rem;
}
.personal_space__title_txt_before {
    background: #aaa;
    color: #111;
    animation: calc 1s ease-in-out infinite alternate;
}
.personal_space__title_txt_after {
    background: #4b2d01;
    color: #fff;
}
.personal_space__title.is-before>.personal_space__title_txt_after {
    display: none;
}
.personal_space__title.is-after>.personal_space__title_txt_before {
    display: none;
}
@keyframes calc {
    0% {
        background: #c8c8c8;
        color: #333;
    }
    100% {
        background: #e6e6e6;
        color: #999;
    }
}
.personal_space__subtitle {
    font-weight: 700;
    margin: 10px 0 0 0;
    line-height: 1.4;
    padding: 0 0 12px;
    text-align: center;
}
.personal_form__input_group {
    margin: 15px 0 0 0;
}
.personal_form__input_phone_group {
    align-items: center;
    display: flex;
    justify-content: space-between;
}
.personal_form__input_phone_group>.input,
.personal_form__input_phone_group>.select_box {
    width: 27%;
}
.personal_form__input_comment {
    height: calc( 1em * 5);
    line-height: 1;
    padding: 10px 8px;
    width: 100%;
}


/*診断結果ボタン*/
.button--submit {

}
.button--submit:disabled {
    background: #ddd;
    border: 1px solid #ccc;
    box-shadow: 0 2px 0 #b3b3b3;
}
.button--submit__txt_disabled {
    margin-left: 1em;
    display: inline-block;
    color: #333;
}
.button--submit:disabled>.button--submit__txt_abled {
    display: none;
}
.button--submit:not(:disabled)>.button--submit__txt_disabled {
    display: none;
}
.button--submit__txt_disabled>span {
    position: relative;
    animation: letter_anime 1s ease -2s infinite alternate;
}
@keyframes letter_anime {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.button--submit__txt_disabled>span:nth-of-type(2) {
    animation-delay: 200ms;
}
.button--submit__txt_disabled>span:nth-of-type(3) {
    animation-delay: 300ms;
}
.button--submit__txt_disabled>span:nth-of-type(4) {
    animation-delay: 400ms;
}
.button--submit__txt_disabled>span:nth-of-type(5) {
    animation-delay: 500ms;
}
.button--submit__txt_disabled>span:nth-of-type(6) {
    animation-delay: 600ms;
}
.submit_to {
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 10px;
    text-align: center;
}
.submit_to__txt {
    position: relative;
}
.submit_to__txt:before {
    background: url(../img/to_b_left.png) no-repeat;
    background-size: 100% 100%;
    content: '';
    width: 22px;
    height: 22px;
    position: absolute;
    top: -1px;
    left: -30px;
}
.submit_to__txt:after {
    background: url(../img/to_b_right.png) no-repeat;
    background-size: 100% 100%;
    content: '';
    width: 22px;
    height: 22px;
    position: absolute;
    top: -1px;
    right: -30px;
}
.submit_after_txt {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.6;
    margin-top: 15px;
    text-align: center;
}

.debt_count_num {
    font-size: 1.5rem;
}

/*footer*/
.footer {
    font-size: 1.2rem;
    width: 100%;
    color: #fff;
}

.footer__office {
    padding: 2rem 0;
}

.footer__office_items {
    display: flex;
    justify-content: space-evenly;
}

.footer__office_item {
    width: 50%;
}

.footer__office_txt {
    line-height: 1.5;
    font-size: .8rem;
    width: fit-content;
}

.footer__office_info {
    width: fit-content;
    margin: 0 5vw 0 auto;
}

.footer__office_logo_img {
    max-width: 300px;
}

.footer__office_info_txt_wrap {
    width: 20vw;
}

.footer__office_person_info {
    display: flex;
    width: fit-content;
    margin: 0 auto 0 5vw;
}

.footer__links {
    background: #edd371;
    display: flex;
    justify-content: center;
    padding: 1.2rem 0;
    font-size: .8rem;
}
.footer__link {
    margin: 0 20px;
    font-weight: 900;
}

/*thanks　サンクスページ*/
.thanks {
    width: 100%;
    background: url(../img/ver5/bg.png) repeat center / cover;
    margin: 0 auto;
    padding: 5vh 0 0 0;
    font-size: 1.5rem;
}

.thanks__panel {
    width: 640px;
    max-width: 640px;
    margin: 0 auto;
}

.thanks__panel_body {
    padding: 20px;
}

.thanks__title_wrap {
    text-align: center;
}

.thanks__title {
    border-radius: 24px;
    position: relative;
    text-align: center;
    display: inline-block;
    padding: .8rem 3rem;
    background: #edd371;
}
.thanks__title_txt {
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.thanks__office_panel {
    border: solid 2px #edd371;
    border-radius: 5px;
    padding: 2rem 1rem;
    font-size: 1.4rem;
}

.thanks__office_tilte {
    background: #EBEBEB;
    border-radius: 24px;
    padding: 1rem 1.5rem;
    text-align: center;
    font-weight: 700;
}

.thanks__office_tel {
    color: #4b2d02;
    font-size: 4rem;
    font-weight: 700;
    padding: 1.5rem .8rem;
    text-align: center;
}

.thanks__office_desc {
    font-weight: 700;
    padding: .8rem;
    text-align: center;
    line-height: 1.5;
}

.thanks__greeting {
    margin: 3rem 0 0 0;
    background: #edd371;
    padding: 0 15vw;
}

.thanks__greeting__inner {
    max-width: 60vw;
    margin: 0 auto;
}

.thanks__greeting_h2 {
    text-align: center;
    font-size: 2.5rem;
    padding: 3rem 0;
    font-weight: 700;
    border-bottom: #fff 1px solid;
}

.thanks__greeting_body {
    position: relative;
}

.thanks__greeting_txt {
    font-size: 1.4rem;
    line-height: 1.5;
    padding: 1.5rem .5rem 3rem;
    font-weight: 700;
}

.thanks__greeting_txt_bold {
    font-weight: 700;
}

.thanks__greeting_person {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 125%;
    max-height: 320px;
}

.thanks__greeting_person_img {
    height: 100%;
}

.thanks__flow {
    padding: 3rem 0;
}

.thanks__flow_h1 {
    text-align: center;
    padding: 2rem 0 0 0;
}

.thanks__flow_h1_img {
    width: 90%;
}

.thanks__flow_steps {
    margin: 3rem 0 0 0;
}

.thanks__flow_step {
    padding: 1.5rem 10px;
    border-radius: 10px;
}

.thanks__flow_step:nth-child(n+2) {
    margin: 20px 0 0 0;
}

.thanks__flow_step:nth-child(2n+1) {
    background: #edd371;
}

.thanks__flow_step:nth-child(2n) {
    background: #fff1bd;
}

.thanks__flow_step_head {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.thanks__flow_step_head:before,
.thanks__flow_step_head:after {
    content: "";
    height: 1px;
    flex-grow: 1;
}

.thanks__flow_step:nth-child(2n+1) .thanks__flow_step_head:before,
.thanks__flow_step:nth-child(2n+1) .thanks__flow_step_head:after {
    background-color: #fff;
}

.thanks__flow_step:nth-child(2n) .thanks__flow_step_head:before,
.thanks__flow_step:nth-child(2n) .thanks__flow_step_head:after {
    background-color: #edd371;
}

.thanks__flow_step_head:before {
    margin-right: 15px;
}
.thanks__flow_step_head:after {
    margin-left: 15px;
}

.thanks__flow_step_head_num {
    font-size: 2.5rem;
}

.thanks__flow_step_body {
    margin: 1.5rem 0 0 0;
    text-align: center;
    line-height: 1.5;
    font-weight: 700;
}

.thanks__flow_desc {
    margin: 2rem 0;
    text-align: center;
    font-weight: 700;
    line-height: 1.5;
}

.thanks__flow_desc_hilight {
    background: linear-gradient(transparent 60%, #edd371 60%);
}

.is_privacy_read_txt {
    margin: 20px 0;
    text-align: center;
    font-size: 12px;
}
.checkbox {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 5px 30px;
    position: relative;
    width: auto;
}
.checkbox:before {
    background: #fff;
    border: 1px solid #231815;
    content: '';
    display: block;
    height: 14px;
    left: 5px;
    margin-top: -8px;
    position: absolute;
    top: 50%;
    width: 14px;
}
.checkbox:after {
    border-right: 3px solid #06b5b5;
    border-bottom: 3px solid #06b5b5;
    content: '';
    display: block;
    height: 9px;
    left: 9px;
    margin-top: -7px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
    width: 5px;
}
input[type=checkbox]:checked + .checkbox:after {
    opacity: 1;
}


