@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700&display=swap');

:root {
    /* 色 ※カラー指定時は以下の変数を使用 */
    /* 例）color: var(変数); */
    --color-orange: #D45532;
    /* オレンジ */
    --color-orange-btn-hover: #DC765A;
    /* オレンジボタンhover */
    --color-orange-btn-active: #B44C30;
    /* オレンジボタンactive */
    --color-orange-text-focus: #FFB49F;
    /* テキストfocus時ボーダー */
    --color-orange-back: #FFF1EE;
    /* 薄オレンジ */
    --color-black-font: #505050;
    /* 黒（文字） */
    --color-black-back: #414553;
    /* 黒（背景色） */
    --color-gray-font: #969696;
    /* グレー（文字） */
    --color-gray-border: #DCDCDC;
    /* グレー（線） */
    --color-gray-back: #F9F9F9;
    /* グレー（背景色） */
    --color-gray-btn-hover: #F1F1F1;
    /* グレーボタン ホバー */
    --color-gray-btn-active: #E4E4E4;
    /* グレー（背景色） */
    --color-error-font: #C60000;
}

* {
    box-sizing: border-box;
}

body {
    box-sizing: border-box;
    font-family: 'Noto Sans Jp', sans-serif;
    width: 100%;
    margin: 0;
    /* zoom: 0.9; */
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

/* ボタン、テキスト、コンボ共通css */
button,
input,
select,
textarea {
    font-family: 'Noto Sans Jp', sans-serif;
    font-size: 13px;
}

/* テキスト、コンボ共通css */
input,
select,
textarea {
    border: 2px solid var(--color-gray-border);
    box-sizing: border-box;
    outline: 0;
    border-radius: 3px;
    color: var(--color-black-font);
    padding: 7px;
}

input:focus,
select:focus {
    border: 3px solid #FFB49F;
}

input.disabled,
select.disabled,
textarea.disabled {
    border: 2px solid var(--color-gray-border);
    pointer-events: none;
}

label{
    margin-bottom: 5px;
    font-size: 15px;
    color: var(--color-black-font);
}

/* コンボのみ共通css */
select.placeholder {
    color: var(--color-gray-font);
}

option {
    color: var(--color-black-font);
}

option.placeholder:first-child {
    color: var(--color-gray-font);
}


/* ボタン共通css */
button {
    outline: 0;
    cursor: pointer;
    border-radius: 5px;
    border: 0;
}

.btn_orange{
    background-color: var(--color-orange);
    color: #fff;
}

.btn_orange:hover{
    background-color: var(--color-orange-btn-hover);
}

.btn_orange:active{
    background-color: var(--color-orange-btn-active);
}

.btn_gray{
    background-color: var(--color-gray-back);
    color: var(--color-black-font);
}

.btn_gray:hover{
    background-color: var(--color-gray-btn-hover);
}

.btn_gray:active{
    background-color: var(--color-gray-btn-active);
}

/* プレースホルダー フォントカラー指定 */
::placeholder {
    color: var(--color-gray-font);
}


/*///////////////// LP ////////////////////*/
/*//// ヘッダー ////*/
header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 1;
    display: flex;
    justify-content: space-between;
}

.header_logo{
    width: 100px;
    height: auto;
}

ul:not(.terms){
    display: flex;
    justify-content: space-evenly;
}

/* 機能紹介 */
.function{
    background-color: var(--color-gray-back);
}

.function h1{
    font-size: 30px;
    color: var(--color-black-font);
}

/*////////////////// 仮申し込み //////////////////////*/
.temp_apply_back{
    background-color: var(--color-gray-back);
    height: 100vh;
    position: relative;
}

.temp_apply{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
    padding: 80px 0;
    background: #FFFFFF;
    width: 70%;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 14%), 0 5px 5px 0 rgb(0 0 0 / 14%);
    border-radius: 5px;
}

.temp_h1{
    color: var(--color-black-font);
    font-size: clamp(1.5em, 0.8vw, 1.5em);
    margin: 0;
}

.text{
    margin: 50px 0;
}

.required::after{
    content: "必須";
    background-color: var(--color-orange);
    color: #fff;
    font-size: 11px;
    min-width: 10px;
    padding: 3px 7px;
    margin: 0px 10px;
    line-height: 1.3;
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
    border-radius: 2px;
    display: inline-block;
}

.flex{
    text-align: left;
    display: flex;
    flex-flow: column;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.note{
    color: var(--color-black-font);
    font-size: clamp(0.8em, 0.8vw, 1.2em);
    text-align: left;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.temp_send{
    background-color: var(--color-orange);
    color: #fff;
    line-height: 50px;
    width: 60%;
}

/*////////////////// 仮申し込み完了 //////////////////////*/
.svg_check{
    width: 100px;
    height: auto;
    margin-top: 20px;
}

.sentence{
    font-size: clamp(0.9em, 0.8vw, 1.2em);
    color: var(--color-black-font);
    line-height: 1.5;
    margin-bottom: 30px;
}

.sentence p span{
    color: var(--color-orange);
    margin: 0 5px;
}

.top_back{
    display: block;
    line-height: 50px;
    background-color: var(--color-orange);
    width: 40%;
    color: #fff;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
}

/*////////////////// 本申し込み //////////////////////*/
.logo_div{
    text-align: center;
    margin-top: 10px;
}

.logo_div img{
    width: 150px;
    height: auto;
}

.pro_apply_back{
    background-color: var(--color-gray-back);
    height: 100%;
}

.pro_apply{
    padding: 50px 0;
    background: #FFFFFF;
    width: 70%;
    max-width: 800px;
    margin: 10px auto 50px;
    text-align: center;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 14%), 0 5px 5px 0 rgb(0 0 0 / 14%);
    border-radius: 5px;
}

.input_group{
    margin-bottom: 60px;
}

.title_left{
    text-align: left;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.input_title{
    border-left: 4px solid var(--color-orange);
    padding-left: 7px;
}

.add_search{
    line-height: 2.5;
    width: 90px;
    color: var(--color-orange);
    margin-left: 5px;
}

.add_search:hover{
    background-color: var(--color-gray-btn-hover);
}

.add_search:active{
    background-color: var(--color-gray-btn-active);
}

.user_flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user_flex select{
    width: 50%;
}

.chk{
    display: flex;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.chk p a{
    color: var(--color-orange);
    text-decoration: underline;
}

.margin_none{
    margin-bottom: 0;
}

.next_btn{
    display: block;
    line-height: 50px;
    background-color: var(--color-orange);
    width: 40%;
    color: #fff;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
}

/* 入力内容の確認 */
.flex_check{
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid var(--color-gray-border);
    width: 60%;
    margin: 5px auto;
    font-size: 15px;
}

.flex_check .label{
    width: 35%;
    text-align: left;
    color: var(--color-gray-font);
    margin-left: 5px;
}

.flex_check .input{
    width: 65%;
    text-align: left;
    margin-left: 10px;
    color: var(--color-black-font);
}

.apply_btn_group{
    width: 60%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.apply_btn_group .back_btn{
    width: 38%;
}

.apply_btn_group .apply_btn{
    width: 58%;
}

.back_btn,.apply_btn{
    display: block;
    line-height: 50px;
    border-radius: 5px;
}

/* 申し込み完了 */
.apply_complete{
    font-size: 20px;
    color: var(--color-black-font);
    margin-bottom: 40px;
}

.site_top{
    display: block;
    color: var(--color-orange);
    margin-top: 20px;
}

.site_top:hover{
    text-decoration: underline;
}

/*////////// プロセスバー ////////////*/
.progressbar {
    position: relative;
    margin: 50px auto;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    width: 60%;
    justify-content: space-between;
}
.progressbar li {
    position: relative;
    list-style-type: none;
    text-align: center;
    text-transform: uppercase;
    width: 33.333%;
    color: var(--color-gray-font);
    counter-increment: steps;
    font-size: 13px;
}
.progressbar li:before {
    display: block;
    width: 26px;
    height: 26px;
    margin: 7px auto 20px auto;
    content: '';
    line-height: 26px;
    font-size: 12px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--color-gray-back);
    content: counter(steps);
    position: relative;
    z-index: 2;
}
.progressbar li:after {
    position: absolute;
    top: 18px;
    left: -50%;
    width: 100%;
    height: 2px;
    content: '';
    background-color: var(--color-gray-back);
}
.progressbar li:first-child:after {
    content: none;
}
.progressbar li.active,
.progressbar li.complete{
    color: var(--color-black-font);
}
.progressbar li.active:before,
.progressbar li.complete:before {
    background-color: var(--color-orange);
    color: #FFF;
}
.progressbar li.active:after,
.progressbar li.complete:after {
    background-color: var(--color-orange);
}

/* Tablet */
@media screen and (max-width: 960px){

    /*////////////////// 本申し込み //////////////////////*/
    .pro_apply{
        width: 90%;
    }
}

/* Mobile */
@media screen and (max-width: 520px){

    /*////////////////// 仮申し込み //////////////////////*/
    .temp_apply_back{
        background-color: #fff;
    }
    
    .temp_apply{
        box-shadow: none;
        width: 100%;
    }

    .flex,.note,.temp_send{
        width: 80%;
    }

    /*////////////////// 本申し込み //////////////////////*/
    .logo_div{
        display: none;
    }

    .pro_apply_back{
        background-color: #fff;
    }
    
    .pro_apply{
        width: 100%;
        box-shadow: none;
    }

    .title_left,.chk,.progressbar{
        width: 80%;
    }

    .next_btn{
        width: 60%;
    }

    /* 入力内容確認 */
    .flex_check{
        width: 80%;
        font-size: 13px;
    }

    .apply_btn_group{
        width: 80%;
    }
}

/* エラーメッセージ */
.error-message {
    background-color: var(--color-error-back);
    color: var(--color-error-font);
    /* margin: 12px 20px 10px; */
    /* margin-bottom: 10px; */
    /* height: 44px; */
    /* padding: 10px 15px; */
    /* font-size: 10px; */
    /* display: none; */
    border-radius: 3px;
    height: auto;
}

.error-message .error-text {
    margin: 0;
    /* font-size: 1em; */
    font-size: 13px;
    vertical-align: middle;
    padding: 5px;
    display: block;
}

.terms-box{
    height: 200px;
    overflow: auto;
    margin-left: 10px;
    margin-right: 10px;
    border: #414553 1px solid;
}

.chk{
    margin-bottom: 50px;
    margin-top: 20px;
}

.privacy{
    text-align: left;
}