@charset "UTF-8";
@import url(https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Roboto:wght@300;400;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;500;600;700;900&display=swap);

:root {
    --whitecolor: #ffffff;
    --blackcolor: #000000;
    --color1: #f5a100;
    --color2: #f65657;
    --color3: #636363;
    --color4: #333333;
    --color5: #979797;
    --color6: #f1c163;
    --contents-width: 860px;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1;
    color: black;

    width: var(--contents-width);
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}
html{
    font-size: 62.5%;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    height: 100%;
}
@media screen and (max-width:860px){
	html{
		font-size: 1.163vw;
	}
}
@media screen and (max-width:750px){
	html{
		font-size: 1.3333vw;
	}
}
@media screen and (max-width:480px){
	html{
		font-size: 2.0833vw;
	}
}

.scale-fit {
  transform-origin: top;
}
/*************
画像関連
*************/
picture{
    display: block;
}
img{
    max-width: 100%;
    height:auto;
}
.image img{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*************

*************/
.full-none{
    display: none;
}
.xs-block{
    display: none;
}
.box-shadow{
    box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.16);
}
mark.yellow{
    background-color: #f8ebc9;
}
/*************
btn
*************/
.btn-wrap{
    margin-top: 5rem;
    margin-bottom: 0rem;
    margin-left: auto;
    margin-right: auto;
}
.btn-wrap .btn{
    display: block;
    border-radius: 10px;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 3rem;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.btn-wrap .btn:hover{
    opacity: 0.8;
}
.btn-wrap > p{
    text-align: center;
    font-size: 2rem;
    color: var(--color3);
    margin-bottom: 1rem !important;
}
.btn-wrap .btn.btn-start{
    background-color: var(--color2);
    color: var(--whitecolor);
    border-radius: 50px;
    width: 48rem;
    max-width: 100%;
}
/*
#form form .btn-wrap .btn{
    display: block;
    border-radius: 5px;
    padding: 1.25rem 1rem;
    text-align: center;
    font-size: 2.4rem;
    width: 7em;
    margin-left: auto;
    margin-right: auto;
}
*/

.btn-wrap .btn.btn-next{
    background-color: var(--color2);
    color: var(--whitecolor);
    border-radius: 50px;
    width: 35rem;
    min-width: max-content;
    max-width: 100%;
}
.btn-wrap .btn.btn-sendcode{
    width: 45rem;
}
.btn-wrap .btn.btn-back{
    background-color: var(--color5);
    color: var(--whitecolor);
    border-radius: 50px;
    width: 35rem;
}
.btn-wrap .btn.btn-submit{
    background-color: var(--color2);
    color: var(--whitecolor);
    border-radius: 50px;
    width: 35rem;
}
.btn-wrap .btn .arrow{
    display: block;
    width: 3.2rem;
    height: 3.2rem;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    right: 2.5rem;
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
}
.btn-wrap .btn .arrow::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.2rem;
    height: 1.2rem;
    border-top: 0.4rem solid var(--color2);;
    border-right: 0.4rem solid var(--color2);;
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 2px;
}
.btn-wrap .btn.btn-back .arrow::before{
    border-color: var(--color5);
}
.btn-wrap .btn.btn-back .arrow{
    left: 2.5rem;
    right: auto;
    transform: rotate(180deg);
}

/*************
header
*************/
header{

}
/*************
main
*************/
main{
    background-color: var(--whitecolor);
}
/*************
section
*************/
section p{
    font-size: 1.6rem;
    line-height: 1.45;
    margin-bottom: 1em;
}
section p:last-of-type{
    margin-bottom: 0;
}
/*************
kv
*************/

/*************
#index
*************/
#index #section1{
    margin-top: -60rem;
}
#index #section1 .text1{
    margin-bottom: 3rem;
}
#index #section1 .btn-wrap{
    margin-top: 3rem;
}
#index #section1 .text1 p{
    text-align: center;
    font-size: 3.8rem;
    line-height: 1.8;
    color: var(--color3);
}
#index #section1 .text2{
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    margin-top: 3rem;
}
#index #section1 .text2 p{
    font-size: 2.4rem;
    line-height: 1.8;
    color: var(--color3);
}

/*************
enquete
*************/
#form{

}
#form .form-wrap{

}
#form .step-form{
    position: relative;
}
#form .step-form form{
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}
#form .step-form h2{
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    margin-top: 5rem;
    margin-bottom: 5rem;
    line-height: 1.35;
}
#form .step-form h2 b{
    margin-right: 1em;
}
#form .step-form .kv-img{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
#form .step-form .kv-img img{
    width: 100%;
    display: block;
}
#form .step-form .form-group{
    margin-top: 5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    grid-gap: 2.5rem;
    gap: 2.5rem;
    grid-auto-rows: 1fr;
    align-items: stretch;
}
#form .step-form .form-group.input{
    grid-template-columns: repeat(1, 1fr);
    width: 500px;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

#form .step-form .bottom-wrap{
    margin-top: 10rem;
}

#form .step-form .step-bar-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
#form .step-form .step-bar{
    background-color: var(--whitecolor);
    border: 1px solid var(--color1);
    display: block;
    width: 100%;
    height: 2.5rem;
    border-radius: 15px;
    overflow: hidden;
}
#form .step-form .step-bar-wrap > p{
    font-size: 2.25rem;
    color: var(--color1);
    line-height: 2;
}
#form .step-form .step-bar .bar{
    display: block;
    height: 100%;
    background-image: linear-gradient(90deg, var(--color6), var(--color1));
    border-radius: inherit;
}
#form .step-form #step1 .step-bar .bar{
    width: 33.3%;
}
#form .step-form #step2 .step-bar .bar{
    width: 66.6%;
}
#form .step-form #step3 .step-bar .bar{
    width: 100%;
}

#form .step-form #step6 .step-bar .bar{
    width: 11.1%;
}
#form .step-form #step7 .step-bar .bar{
    width: 22.2%;
}
#form .step-form #step8 .step-bar .bar{
    width: 33.3%;
}
#form .step-form #step9 .step-bar .bar{
    width: 40%;
}
#form .step-form #step9-5 .step-bar .bar{
    width: 50%;
}
#form .step-form #step10 .step-bar .bar{
    width: 60%;
}
#form .step-form #step11 .step-bar .bar{
    width: 70%;
}
#form .step-form #step12 .step-bar .bar{
    width: 80%;
}
#form .step-form #step13 .step-bar .bar{
    width: 90%;
}
#form .step-form #step14 .step-bar .bar{
    width: 100%;
}

#form .step-form .step{
    display: none;
    position: relative;
    min-height: 550px;
    height: max-content;
    padding-bottom: 8rem;
}
#form .step-form .step.active{
    display: block;
}
#form form input[type="text"]{
    border: 2px solid #b2b2b2;
    background-color: var(--whitecolor);
    border-radius: 5px;
    padding: 1.25rem 1rem;
    font-size: 2.25rem;
    width: 100%;
}
#form form input[type="password"]{
    border: 2px solid #b2b2b2;
    background-color: var(--whitecolor);
    border-radius: 5px;
    padding: 1.25rem 1rem;
    font-size: 2.25rem;
    width: 100%;
}
#form form input[type="number"]{
    border: 2px solid #b2b2b2;
    background-color: var(--whitecolor);
    border-radius: 5px;
    padding: 1.25rem 1rem;
    font-size: 2.25rem;
    width: 100%;
}
#form form input[type="email"]{
    border: 2px solid #b2b2b2;
    background-color: var(--whitecolor);
    border-radius: 5px;
    padding: 1.25rem 1rem;
    font-size: 2.25rem;
    width: 100%;
}
#form form input[type="tel"]{
    border: 2px solid #b2b2b2;
    background-color: var(--whitecolor);
    border-radius: 5px;
    padding: 1.25rem 1rem;
    font-size: 2.25rem;
    width: 100%;
}
#form form select{
    border: 2px solid #b2b2b2;
    background-color: var(--whitecolor);
    border-radius: 5px;
    padding: 2rem 1rem;
    font-size: 2.25rem;
    width: 100%;
}
#form form .select-wrap{
    position: relative;
}
#form form .select-wrap:after{
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    pointer-events: none;

}
#form form input[type="radio"] {
    display: none;
}
#form form input[type="radio"]:checked + label {
    background-color: var(--color1);
    color: var(--whitecolor);
    border-color: var(--color1);
}
#form form input[type="radio"] + label{
    display: block;
    border: 2px solid var(--color4);
    border-radius: 10px;
    padding: 2rem 1rem;
    text-align: center;
    background-color: var(--whitecolor);
    font-size: 2.25rem;
    color: var(--color4);
    font-weight: 500;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
#form form input[type="radio"] + label:hover {
    border: 2px solid var(--color1);
}
#form form .form-group.checkbox-wrap{
    display: block;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    position: relative;
    cursor: pointer;
    margin-top: 2.5rem;
}
#form form .checkbox-wrap label::before{
    content: "";
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.8rem;
    height: 1.8rem;
    border: 2px solid #222;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
}
#form form .checkbox-wrap input[type="checkbox"]{
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
#form form .checkbox-wrap input[type="checkbox"]:checked + label::after{
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 45%;
    transform: translateY(-50%) rotate(45deg);
    width: 0.8rem;
    height: 1.6rem;
    border: solid #f65657;
    border-width: 0 3px 3px 0;
}
#form form .mail-group label{
    display: block;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

#form form .btn-wrap{
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    margin-bottom: auto;
    gap: 2.5rem;
}

#form form .birth{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    grid-gap: 2.5rem;
    gap: 2.5rem;
}
#form form .name{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    grid-gap: 2.5rem;
    gap: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
#form form label.error{
    color: red;
    font-size: 1.8rem;
    display: block;
    margin-top: 1rem;
    line-height: 1.45;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
}
/** #step4 **/
#form .step-form #step4 h2{
    font-size: 3rem;
    line-height: 1.8;
    text-align: center;
    font-weight: normal;
}
#form .step-form #step4 .text{

}
#form .step-form #step4 .text p{
    font-size: 3rem;
    line-height: 1.8;
    text-align: center;
    font-weight: normal;
}
#form .step-form #step4 .img{
    margin-top: 8rem;
    margin-bottom: 8rem;
}
#form .step-form #step4 .img img{
    width: 100%;
}
#form .step-form #step4 .text2{
    margin-top: 5rem;
    margin-bottom: 5rem;
}
#form .step-form #step4 .text2 a{
    text-decoration: underline;
}
#form .step-form #step4 .text2 p{
    font-size: 2.5rem;
    line-height: 1.8;
    text-align: center;
    font-weight: normal;
}
#form .step-form #step4 .bottom-wrap{
    margin-top: 5rem;
}
/** #step5 **/
#form .step-form #step5 h2{
    font-size: 3rem;
    line-height: 1.8;
    text-align: center;
    font-weight: normal;
}
#form .step-form #step5 .text2{
    margin-top: 5rem;
    margin-bottom: 5rem;
}
#form .step-form #step5 .text2 p{
    font-size: 2.5rem;
    line-height: 1.8;
    text-align: center;
    font-weight: normal;
}
/** step11 **/
#form .step-form #step11 .birth{
    grid-template-columns: none;
    width: 40rem;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
}
/** step13 **/
#form .step-form #step13 .tel{
    grid-template-columns: none;
    width: 40rem;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
}
/** step14 **/
#form .step-form #step14 .password{
    grid-template-columns: none;
    width: 80rem;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
}
#form .step-form #step14 .desc {
    font-size: 1.6rem;
    color: #555;
    padding-left: 0.5rem;
    margin-top: 1rem;
    line-height: 1.45;
}
#form .step-form #step14 .info-box {
    background: #fafaff;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 2rem;
    margin: 3rem 0 2rem 0;
    color: #222;
    line-height: 1.8;
}
/** step15 **/
#form .step-form #step15 #summary{

}
#form .step-form #step15 #summary ul li{
    margin-bottom: 3rem;
    font-size: 2rem;
    line-height: 1.5;
    border-bottom: 1px solid #333333;
    padding-bottom: 1em;
}
#form .step-form #step15 #summary ul li b{
    font-weight: bold;
    display: block;
    margin-bottom: 0.5em;
}
#form .step-form #step15 #summary ul li:last-of-type{
    margin-bottom: 0;
}

/*************
footer
*************/
footer{
    min-height: 5rem;
}

@media screen and (max-width:480px){
    .xs-block{
        display: block;
    }
    #index #section1 {
        margin-top: -33rem;
    }
    #index #section1 .text1 {
        margin-bottom: 1rem;
    }
    #index #section1 .btn-wrap{
        margin-top: 1rem;
    }
    #index #section1 .text1 p {
        font-size: 2.0rem;
    }
    #index #section1 .text2{
        margin-top: 1rem;
    }
    #index #section1 .text2 p {
        font-size: 1.6rem;
    }
    .btn-wrap .btn .arrow{
        right: 1rem;
    }
    .btn-wrap .btn.btn-back .arrow{
        left: 1rem;
    }
    .btn-wrap > p{
        font-size: 1.6rem;
    }
    .btn-wrap .btn.btn-start{
        width: 36rem;
    }
    .btn-wrap .btn{
        font-size: 2.2rem;
    }
    #form .step-form #step4 h2{
        font-size: 2.2rem;
    }
    #form .step-form #step4 .text p{
        font-size: 1.9rem;
    }
    #form .step-form #step4 .text2 p{
        font-size: 1.8rem;
    }
    #form .step-form #step5 h2{
        font-size: 2.2rem;
    }
    #form .step-form #step5 .text2 p{
        font-size: 1.8rem;
    }
    #form form input[type="radio"] + label{
        font-size: 1.8rem;
    }
    #form form input[type="text"]{
        font-size: 1.8rem;
    }
    #form form input[type="password"]{
        font-size: 1.8rem;
    }
    #form form select{
        font-size: 1.8rem;
    }
    #form form input[type="tel"]{
        font-size: 1.8rem;
    }
    #form form input[type="email"]{
        font-size: 1.8rem;
    }
    /* エラーメッセージのスマホ対応 */
    #form form label.error{
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        word-break: break-all;
        text-align: center;
        padding: 0 1rem;
        box-sizing: border-box;
    }
}

/* パスワード表示/非表示アイコン（既存の会員登録と同じスタイル） */
.password {
    position: relative;
}
.password .password_eye {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    width: 2rem;
    cursor: pointer;
}
.password .password_eye_conf {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    width: 2rem;
    cursor: pointer;
}
