@charset "UTF-8";

:root {
    /* 大枠ページ数 */
    --space-length: 2;
    /* 質問ページ数 */
    --answer-space-length: 2;
}

* {
    box-sizing: border-box;
}

*:focus {
    outline: none;
}

html, body {
    font-family: sans-serif;
    height: 100%;
    margin: 0 auto;
    max-width: 750px;
    padding: 0 0;
    width: 100%;
}

html {
    font-size: 62.5%;
}

button, input, select, textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

body {
    -webkit-text-size-adjust: 100%;
    color: #111;
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",YuGothic,"ヒラギノ角ゴ ProN W3",Hiragino Kaku Gothic ProN,Arial, "メイリオ",Meiryo,sans-serif;
}

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;
}

p {
    margin: 0;
}

textarea {
    font-size: 100%;
}

img {
    border-style: none;
    image-rendering: -webkit-optimize-contrast;
    max-width: 100%;
}

hr {
    display: none;
}

em {
    font-style: normal;
}

input {
    line-height: normal;
    vertical-align: top;
}


/* --------------------
brak point
-------------------- */

.max374 {
    display: none;
}


/* Hides from IE-mac \*/

* html .CF {
    height: 1%;
}

*+html .CF {
    min-height: 1%;
}

.cf {
    display: block;
}


/* End hide from IE-mac */


/*Google Chrome*/

a, input, textarea, select {
    outline: none;
}

.clearfix:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

.clearfix {
    display: inline-table;
}


/* --------------------
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;
}


/***************************************
common
***************************************/
.wrapper {
    position: relative;
    background: #fcfcd4;
}

.header {
    background: #003219;
    padding: 13px 0 10px;
    text-align: center;
}

.header__logo {
    height: auto;
    width: 50%;
}

.main {
    background: url(../img/fv_bg.png) center top/100% auto no-repeat;
    position: relative;
    width: 100%;
}

.main__fv {
    position: relative;
}

.main__fv_counter {
    background: #00b93c;
    border: 7px solid #006419;
    border-radius: 10px;
    padding: 15px;
    position: relative;
    width: 52%;
    height: auto;
    left: calc(50% - 26%);
    bottom: -11px;
    z-index: 3;
}

.main__fv_counter>img {
    width: 100%;
    height: auto;
}

.footer {
    font-size: 1.2rem;
    margin: 20px 0 0 0;
    padding: 10px 0;
    width: 100%;
}

.footer__links {
    display: flex;
    justify-content: center;
}

.footer__link {
    flex-shrink: 0;
    margin: 0 20px;
}

.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%;
}

.input_title {
    display: inline-block;
    padding: 5px 0;
}

.input_require {
    color: #f00000;
}

.input_optional {
    color: #aaa;
}

.input {
    background: #fff;
    border: 1px solid #7e7e7e;
    border-radius: 5px;
    box-shadow: none;
    box-sizing: border-box;
    display: inline-block;
    font-size: 1.6rem;
    height: 50px;
    padding: 0.8em;
    width: 100%;
}

.textarea {
    background: #fff;
    border: 1px solid #7e7e7e;
    border-radius: 5px;
    box-shadow: none;
    box-sizing: border-box;
    padding: 0.4em;
    font-size: 1.6rem;
}

.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 {
    background: #fff;
    border: 1px solid #7e7e7e;
    border-radius: 5px;
    box-shadow: none;
    font-size: 1.6rem;
    padding: 0.8em;
    height: 50px;
    width: 100%;
}

/***************************************
main
***************************************/

.spaces_wrapper {
    background: #fff;
    border: 6px solid #00b93c;
    position: relative;
    overflow: hidden;
    margin: -19px 10px 0;
    max-width: 710px;
}

.spaces {
    /*align-items: flex-start;*/
    display: flex;
    width: calc(100% * var(--space-length));
}

.space {
    padding: 35px 10px 30px;
    width: calc(100%/ var(--space-length));
}

/*-------------------------------------
スライドアニメーション（main contents）
--------------------------------------*/

.spaces.is-space_personal {
    margin-left: calc(-100% * 1);
    transition: all 0.25s 0s ease;
}

/***************************************
answer contents
***************************************/

.answer_spaces_wrapper {
    overflow: hidden;
}

.answer_spaces {
    display: flex;
    width: calc(100% * 2);
}

.answer_space {
    position: relative;
    width: calc(100%/ 2);
}

.answer_space__back {
    color: #7b7b7b;
    display: inline-block;
    font-size: 1.2rem;
    margin: 24px 0 0 -20px;
    padding: 12px 20px;
    cursor: pointer;
}

/*-------------------------------------
スライドアニメーション（answer contents）
--------------------------------------*/

.answer_spaces.is-scene1 {
    margin-left: 0;
    transition: all 0.25s 0s ease;
}

.answer_spaces.is-scene2 {
    margin-left: calc(-100% * 1);
    transition: all 0.25s 0s ease;
}

.answer_spaces.is-scene3 {
    margin-left: calc(-100% * 2);
    transition: all 0.25s 0s ease;
}

.answer_spaces.is-scene4 {
    margin-left: calc(-100% * 3);
    transition: all 0.25s 0s ease;
}

.answer_spaces.is-scene5 {
    margin-left: calc(-100% * 4);
    transition: all 0.25s 0s ease;
}
/* --------------------
質問ステータス
-------------------- */

.ques_statuses_wrapper {
    background: #d7fae6;
    border-left: 7px solid #a5f0af;
    border-right: 7px solid #a5f0af;
    overflow: hidden;
}

.ques_statuses {
    display: flex;
    align-items: center;
    width: calc(100% * 2);
}

.ques_status {
    box-sizing: border-box;
    padding: 8px;
    text-align: center;
    width: calc(100%/ 2);
}

.ques_status__text {
    color: #111;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}

.ques_status__text--hilight {
    color: #ff8723;
}

.ques_status__text--hilight>em {
    color: #ff8723;
    font-size: 18px;
}

/*==============================
質問ステータスのスライド
==============================*/

.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 0;
    text-align: center;
}

.ques_title {
    border-bottom: 2px dotted #dcdcdc;
    color: #111;
    font-size: 19px;
    font-weight: bold;
    line-height: 1.4;
    padding: 10px 10px 10px 40px;
    position: relative;
    max-width: 617px;
    margin: 0 auto;
}

.ques_title__ques_icon:before {
    background: url(../img/icon_q.png) left top/contain no-repeat;
    content: '';
    display: inline-block;
    height: 25px;
    left: 0px;
    top: calc(50% - 15px);
    overflow: hidden;
    position: absolute;
    width: 25px;
}

.ques_title__caution_text {
    font-size: 14px;
    font-weight: normal;
}


/* --------------------
ボタン
-------------------- */

.button {
    background: #0a8c19;
    border: 3px solid #006419;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    padding: 15px 0;
    position: relative;
    text-align: center;
    width: 100%;
    /*max-width: 180px;*/
}

.button_list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.button_list__item {
    flex-shrink: 0;
    padding: 5px 5px 10px;
    width: 50%;
    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_text_before,
.personal_space__title_text_after {
    border-radius: 15px;
    font-weight: 700;
    line-height: 1;
    padding: 7px;
    position: relative;
    text-align: center;
}

.personal_space__title_text_before {
    background: #aaa;
    color: #111;
    animation: calc 1s ease-in-out infinite alternate;
}

.personal_space__title_text_after {
    background: #ff8723;
    color: #fff;
}

.personal_space__title.is-before>.personal_space__title_text_after {
    display: none;
}

.personal_space__title.is-after>.personal_space__title_text_before {
    display: none;
}

@keyframes calc {
    0% {
        background: #c8c8c8;
        color: #333;
    }
    100% {
        background: #e6e6e6;
        color: #999;
    }
}

.personal_space__subtitle {
    border-bottom: 2px dotted #aaa;
    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 {
    background: #ff8723;
    border: 3px solid #ff6423;
}

.button--submit:disabled {
    background: #ddd;
    border: 1px solid #ccc;
}

.button--submit__text_disabled {
    margin-left: 1em;
    display: inline-block;
    color: #333;
}

.button--submit:disabled>.button--submit__text_abled {
    display: none;
}

.button--submit:not(:disabled)>.button--submit__text_disabled {
    display: none;
}

.button--submit__text_disabled>span {
    position: relative;
    animation: letter_anime 1s ease -2s infinite alternate;
}

@keyframes letter_anime {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.button--submit__text_disabled>span:nth-of-type(2) {
    animation-delay: 200ms;
}

.button--submit__text_disabled>span:nth-of-type(3) {
    animation-delay: 300ms;
}

.button--submit__text_disabled>span:nth-of-type(4) {
    animation-delay: 400ms;
}

.button--submit__text_disabled>span:nth-of-type(5) {
    animation-delay: 500ms;
}

.button--submit__text_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__text {
    position: relative;
}
.submit_to__text: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__text: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_text {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.6;
    margin-top: 15px;
    text-align: center;
}


/***************************************

thanks

***************************************/

.thanks_wrapper {
    background: #fff;
    border: 6px solid #00b93c;
    line-height: 1.8;
    margin: -19px 10px 0;
    overflow: hidden;
    padding: 35px 10px 30px;
    position: relative;
}

.thanks_title {
    border-bottom: 2px dotted #dcdcdc;
    color: #ff8723;
    display: block;
    font-size: 30px;
    font-weight: bold;
    margin: 0 auto;
    padding: 10px 0 15px;
    text-align: center;
}

.thanks_text {
    line-height: 1.8;
    text-align: center;
}

.thanks_text_hilight {
    background: #FFFF00;
}

.thanks_flow_caption {
    background: #d7fae6;
    border-left: 5px solid #a5f0af;
    border-right: 5px solid #a5f0af;
    color: #111;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.8;
    margin: 30px 0 0;
    padding: 5px;
    text-align: center;
}

.thanks_flow {
    display: flex;
}

.thanks_flow__title {
    background: #006419;
    border: 3px solid #006419;
    border-right: none;
    border-radius: 8px 0 0 8px;
    color: #fff;
    font-size: 16px;
    padding: 8px;
    width: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.thanks_flow__text {
    background: #fff;
    border: 3px solid #006419;
    border-left: none;
    border-radius: 0 8px 8px 0;
    color: #003219;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.8;
    padding: 8px;
    width: 85%;
}

.thanks_flow__text--hilight {
    background: linear-gradient(transparent 55%, #ffff00 55% 95%, transparent 95%);
    padding-bottom: 3px;
}

.thanks_flow_triangle {
    text-align: center;
}

.thanks_flow_triangle>img {
    width: 15%;
    height: auto;
}

.thanks_office {
    border: 3px solid #b9f0b9;
    padding: 10px 10px 15px;
}

.thanks_office__name {
    background: #0a8c19;
    border-radius: 5px;
    color: #fff;
    line-height: 1.8;
    padding: 10px 5px;
    text-align: center;
}

.thanks_office__phone {
    background: url(../img/tel.png) no-repeat;
    background-size: auto 30px;
    background-position: 0 5px;
    color: #006419;
    display: inline-block;
    font-size: 45px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    line-height: 1;
    padding: 0 0 0 30px;
    text-align: center;
}

/*===================================
PC表示
/*==================================*/
@media screen and (min-width:768px) and ( max-width:1024px) {
    .button {
        font-size:1.8rem;
        padding: 20px 0;
    }
    .next_button_box {
        margin: 50px auto 0;
        width: 60%;
    }
    .thanks_wrapper {
        padding: 30px 20px;
    }
    .thanks_flow_triangle>img {
        width: 10%;
        height: auto;
    }
}

@media screen and (min-width:1024px) {
    .button {
        font-size:2.5rem;
        padding: 20px 0;
    }
    .next_button_box {
        margin: 50px auto 0;
        width: 60%;
    }
    .thanks_wrapper {
        padding: 40px 20px 25px;
        margin: -19px auto 10px;
        max-width: 710px;
    }
    .thanks_flow_triangle>img {
        width: 10%;
        height: auto;
    }
}
/*===================================
SP表示
/*==================================*/
@media screen and (max-width:768px){
    .main__fv_counter{
        border: 4px solid #006419;
        padding: 6px;
    }
    .thanks_flow__title{
        width: 20%
    }
    .thanks_office__phone{
    font-size: 36px;
    }
}

.is_privacy_read_text {
    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;
}
.surely{
    background:#266207;
    border-radius:5px;
    color:#ffff00;
    font-size:25px;
    font-size:2.5rem;
    font-weight:bold;
    line-height:1.6;
    margin:20px 0 0;
    padding:10px;
    text-align:center;
    animation:blink 1.2s linear infinite;
}
@keyframes blink{
0%{color:#fff;}
50%{color:#fff;}
51%{color:#ffff00;}
100%{color:#ffff00;}
}
