/**************************
↓↓↓↓ 共通 ↓↓↓↓
***************************/
:root {
    --font_color: #111111;
    --font_color2: #ffffff;
    --base_color: #6D9EEB;
    --btn_color: #1B5A96;
}

body {
    font-family: "Zen Kaku Gothic New","Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-weight: var(--fw_reg);
    color: var(--font_color);
    margin: 0;
    padding: 0;
    background-color: #dddddd;
}

h1, h2, h3, p, ul, li, dl, dd, dt {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}
select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.main_wrap {
    position: relative;
    width: 100%;
    max-width: 450px;
    /* min-height: calc(100vh - 60px); */
    margin-left: auto;
    margin-right: auto;
    padding-top: 44px;
    background-color: #ffffff;
}

.modal_bg {
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    opacity: 0;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
}
.modal_bg.active {
    z-index: 5;
    opacity: 0.5;
}
.modal {
    /*display: none;
    */opacity: 0;
    position: fixed;
    /*z-index: 10;
    */z-index: -1;
    width: 330px;
    top: 50%;
    left: 50%;
    background-color: #fff;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
}
.modal.active {
    z-index: 11;
    opacity: 1;
    /* display: block; */
}
.modal_header {
    text-align: center;
    color: #fff;
    font-weight: bold;
}

.modal_ttl {
    font-size: 20px;
    font-weight: bold;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
}
.modal .input_box {
    display: block;
    margin-bottom: 0;
    padding: 10px;
}
.modal .form_label {
    position: relative;
    width: 90%;
    border: none;
    padding: 10px 5px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -o-border-radius: 100px;
}
.modal .form_label:nth-of-type(1){
    background-color: #FEE902;
    box-shadow: 4px 5px 0px 0px rgb(204, 189, 23);
}
.modal .form_label:nth-of-type(1)::after {
    position: absolute;
    top: 12px;
    right: 10px;
    content: '▶︎';
    font-size: 12px;
    color: #FE9602;
}
.modal .form_label:nth-of-type(2){
    color: var(--font_color2);
    background-color: #FE9602;
    box-shadow: 4px 5px 0px 0px rgb(205, 120, 0);
}
.modal .form_label:nth-of-type(2)::after {
    position: absolute;
    top: 12px;
    right: 10px;
    content: '▶︎';
    font-size: 12px;
    color: #FFFFFF;
}
.modal .form_label_txt {
    text-align: center;
    padding-bottom: 0;
    font-weight: 600;
}
.modal .input_radio:checked + .form_label:nth-of-type(1) {
    border: none;
    opacity: 0.7;
    color: #000;
}
.modal .input_radio:checked + .form_label:nth-of-type(2) {
    border: none;
    opacity: 0.7;
    color: var(--font_color2);
}

.pointer {
    position: absolute;
    z-index: 7;
    /* top: 0;
    left: 0; */
    width: 45px;
    height: 45px;
    animation: moveX 1.2s linear 0s infinite;
    -ms-animation: moveX 1.2s infinite alternate linear;
    -webkit-animation: moveX 1.2s infinite alternate linear;
    -moz-animation: moveX 1.2s infinite alternate linear;
    transition: 0.3s;
    z-index: 100;
}
@keyframes moveX {
    0%, 100% {
    transform: translate(0, 0) scale(1);
    }
    50% {
    transform: translate(-15px, 0) scale(1.08);
    }
}
@-webkit-keyframes moveX /* Safari and Chrome */ {
    0%, 100% {
    transform: translate(0, 0) scale(1);
    }
    50% {
    transform: translate(-15px, 0) scale(1.08);
    }
}

/**************************
↓↓↓↓ header ↓↓↓↓
***************************/
header {
    position: fixed;
    z-index: 3;
    top: 0;
    max-width: 450px;
    width: 100%;
    height: 44px;
    background-color: #444444;
}
.header_box {
    width: auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 12px;
    padding-right: 12px;
}
.header_logo {
    width: 35%;
    height: 40px;
}
.header_logo h1 {
    display: flex;
    align-items: center;
    padding-right: 5px;
    padding-left: 5px;
    height: 40px;
}
.header_logo h1 img {
    -o-object-fit: contain;
       object-fit: contain;
}
.header_txt {
    font-size: 12px;
    color: var(--font_color2);
    font-weight: 500;
    text-align: right;
    line-height: 15px;
}

/**************************
↓↓↓↓ footer ↓↓↓↓
***************************/
footer {
    background-color: #67B001;
    text-align: center;
    padding: 10px 0;
}
.footer_link_list {
    padding: 0 10px;
    display: flex;
    justify-content: center;
}
.footer_link_list a {
    color: #fff;
    font-size: 12px;
    padding: 0 10px;
}
footer small {
    text-align: center;
    color: #fff;
    font-size: 10px;
}


/**************************
↓↓↓↓ プログレスバー ↓↓↓↓
***************************/
.progressbar {
    position: relative;
    /* padding: 25px 30px; */
    padding: 10px 30px 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.progressbar li {
    position: relative;
    list-style-type: none;
    text-align: center;
    text-transform: uppercase;
    width: 15%;
    color: #999999;
    font-weight: bold;
    font-size: 10px;
}
.progressbar li span {
    position: absolute;
    top: 0px;
    left: 13px;
}
.progressbar li:before {
    position: relative;
    z-index: 2;
    display: block;
    width: 18px;
    height: 18px;
    margin: 30px auto 0px auto;
    content: '';
    text-align: center;
    border-radius: 50%;
    background-color: #F5F5F5;
}
.progressbar li:after {
    position: absolute;
    z-index: 1;
    top: 36px;
    left: -60%;
    width: 100%;
    height: 4px;
    content: '';
    background-color: #F5F5F5;
}
.progressbar li:first-child:after {
    content: none;
}
.progressbar li.active:before {
    content: url(../img/check.svg);
    width: auto;
    height: auto;
    margin-top: 20px;
    background-color: unset;
}


/* form */
.form {
    padding: 0 20px;
}
.form_ttl {
    text-align: center;
    font-size: 18px;
    margin-bottom: 15px;
}
.form_ttl span {
    position: relative;
    display: inline-block;
}

.form_subttl {
    position: relative;
    text-align: center;
    font-size: 16px;
    margin-bottom: 15px;
}
.form_subttl::before {
    position: absolute;
    top: 12px;
    left: 0;
    content: '';
    width: 33%;
    height: 1px;
    background-color: #000;
}
.form_subttl::after {
    position: absolute;
    top: 12px;
    right: 0;
    content: '';
    width: 33%;
    height: 1px;
    background-color: #000;
}
.form_lastttl {
    text-align: center;
    font-size: 16px;
    margin-bottom: 15px;
}
.input_box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.input_radio {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
}
.form_label {
    cursor: pointer;
    width: 43%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 10px 5px; */
    padding: 2px 5px 0;
    margin-bottom: 20px;
    border: 1px solid #444444;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    box-shadow: 2px 2px 10px -3px rgba(0, 0, 0, 0.6);
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
}
.form_label_img {
    width: 40px;
    height: 42px;
    margin-right: 10px;
    display: flex;
    align-items: center;
}
.form_label_img img {
    -o-object-fit: contain;
       object-fit: contain;
}
.form_label_txt {
    padding-bottom: 2px;
}
.gender_label, .menkyo_label, .status_label {
    justify-content: unset;
}

.input_radio:checked + .form_label {
    border: 1px solid #67B001;
    color: #67B001;
}
.input_radio:checked + .form_label path {
    fill: #67B001;
}
.form_label.area_label {
    padding: 10px 5px;
}
.form_label.education_label {
    justify-content: start;
}
.no_open {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.no_open div:last-child {
    margin-bottom: 6px;
}
.form_ttl span.icon_box {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
}

.btn_box {
    text-align: center;
}
.next_btn {
    color: #000;
    cursor: pointer;
    position: relative;
    font-size:16px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    padding: 15px;
    background-color: #FEE902;
    box-shadow: 4px 5px 0px 0px rgb(204, 189, 23);
    font-weight: bold;
    border: none;
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -o-border-radius: 100px;
}
.next_btn::after {
    content: '▶︎';
    color: #FE9602;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translate(0%, -50%);
    -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
}
.next_btn:disabled {
    background-color: #cccccc;
    box-shadow: 4px 5px 0px 0px rgb(159, 159, 159);
}

#form_step5 {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
#form_step6 {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
#form_step5 .form_ttl, #form_step6 .form_ttl {
    text-align: left;
    margin-bottom: 0;
}
.input_text {
    border: 1px solid #000000;
    border-radius: 10px;
    padding: 10px;
    font-size: 18px;
    width: 100%;
}
.input_text.optional {
    border: 1px solid #000000;
}
.select_box {
    width: 100%;
    position: relative;
}
.select_box::after {
    position: absolute;
    top: 10px;
    right: 10px;
    content: '▼';
}
.input_select {
    color: #000000;
    background-color: #fff;
    border: 1px solid #000000;
    border-radius: 10px;
    padding: 10px;
    font-size: 18px;
    width: 100%;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.submit_btn {
    color: #000;
    cursor: pointer;
    position: relative;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 30px;
    padding: 10px;
    background-color: #FEE902;
    box-shadow: 4px 5px 0px 0px rgb(204, 189, 23);
    font-weight: bold;
    border: none;
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -o-border-radius: 100px;
}
.submit_btn::after {
    content: '▶︎';
    color: #FE9602;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translate(0%, -50%);
    -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
}
.submit_btn span {
    display: block;
}
.submit_btn span:first-child {
    font-size: 14px;
}
.submit_btn span:last-child {
    font-size: 18px;
}
.return_btn {
    color: #000;
    cursor: pointer;
    position: relative;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    padding: 10px;
    text-decoration: underline;
    border: none;
    background-color: unset;
}

.error {
    color: red;
    font-size: 12px;
}

/* 吹き出し */
.balloon_box {
    display: flex;
    align-items: center;
}
.balloon_img {
    width: 20%;
}
.balloon-004 {
    display: flex;
    align-items: center;
    position: relative;
    width: 80%;
    margin-left: 15px;
    padding: .8em 1.2em;
    border-radius: 5px;
    background-color: #fffcd9;
    color: #000000;
    font-size: 13px;
}
.balloon-004 span {
    color: #FE9602;
    font-weight: bold;
}

.balloon-004::before {
    position: absolute;
    left: -15px;
    width: 15px;
    height: 15px;
    background-color: #fffcd9;
    -webkit-clip-path: polygon(0 50%, 100% 0, 100% 100%);
            clip-path: polygon(0 50%, 100% 0, 100% 100%);
    content: '';
}