/* 共通 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    color: var(--font_color1);
}

a {
    color: var(--font_color1);
    text-decoration: none;
}

li {
    list-style: none;
}

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

.inner {
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}


/* fv */
.fv {
    margin-bottom: 13px;
}
.fv_box {
    position: relative;
}
.fv_img2 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 19%;
    width: 90%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}
.fv_img3 {
    width: 90%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    padding-top: 13vw;
}

/* form */
.form {
    margin-bottom: 100px;
}
.form_box {
    padding-left: 20px;
    padding-right: 20px;
}

.diagnosis_form {
    border: 3px solid #002973;
    background-image: url(../img/form_bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 44px;
    padding-bottom: 80px;
}
.form_ttl {
    width: 95%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 34px;
}
.form_txt {
    width: 95%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}
.form_arrow {
    width: 4%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    margin-bottom: 15px;
}

.form_content {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}
.form_c_ttl {
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    line-height: 36px;
    background-color: #002973;
    margin-bottom: 25px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 31px;
    -webkit-border-radius: 31px;
    -moz-border-radius: 31px;
    -ms-border-radius: 31px;
    -o-border-radius: 31px;
}
.radio_box {
    margin-bottom: 20px;
}

.radio_box label {
    position: relative;
    cursor: pointer;
    padding-left: 70px;
    font-size: 36px;
    font-weight: bold;
}
.radio_box label::before,
.radio_box label::after {
    content: "";
    display: block; 
    border-radius: 50%;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
}

.radio_box label::before {
    background-color: #fff;
    border: 3px solid #7ccdeb;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    left: 5px;
}

.radio_box label::after {
    background-color: #7ccdeb;
    border-radius: 50%;
    opacity: 0;
    width: 40px;
    height: 40px;
    left: 11px;
}

input:checked + label::after {
    opacity: 1;
}

.visually-hidden {
position: absolute;
white-space: nowrap;
border: 0;
clip: rect(0 0 0 0);
-webkit-clip-path: inset(50%);
        clip-path: inset(50%);
overflow: hidden;
height: 1px;
width: 1px;
margin: -1px;
padding: 0;
}

.form_wrap {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}
.form_w_ttl {
    display: flex;
    align-items: center;
    font-size: 36px;
    font-weight: bold;
    line-height: 36px;
    padding-left: 20px;
    margin-bottom: 13px;
}
.form_w_ttl span {
    display: inline-block;
    font-size: 24px;
    line-height: 24px;
    padding: 6px 20px;
    margin-left: 20px;
    background-color: #2b88bd;
    color: #fff;
    border-radius: 9px;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    -ms-border-radius: 9px;
    -o-border-radius: 9px;
}
.form_w_txt {
    font-size: 22px;
    font-weight: bold;
    line-height: 25px;
    color: #2b88bd;
    padding-left: 20px;
    margin-bottom: 21px;
}

.selectbox-2 {
    position: relative;
    display: block;
}

.selectbox-2::before,
.selectbox-2::after {
    position: absolute;
    content: '';
    pointer-events: none;
}

.selectbox-2::before {
    right: 2px;
    top: 2px;
    display: inline-block;
    width: 33px;
    height: 52px;
    border-radius: 0 3px 3px 0;
    background-color: #d5d5d5;
    content: '';
    border-radius: 0 12px 12px 0;
    -webkit-border-radius: 0 12px 12px 0;
    -moz-border-radius: 0 12px 12px 0;
    -ms-border-radius: 0 12px 12px 0;
    -o-border-radius: 0 12px 12px 0;
}

.selectbox-2::after {
    position: absolute;
    color: #939393;
    font-size: 12px;
    top: 50%;
    right: 13px;
    content: '▼';
    transform: translate(0%, -50%);
    -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
}

.selectbox-2 select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    min-width: 230px;
    height: 56px;
    padding: .4em 3.6em .4em .8em;
    border: 2px solid #000000;
    border-radius: 3px;
    color: #939393;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}

.selectbox-2 select:focus {
    outline: 1px solid #000000;
}

.txt_input {
    width: 100%;
    height: 56px;
    padding: 17px 20px;
    font-size: 24px;
    font-weight: bold;
    color: #939393;
    border: 2px solid #000;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}

.form_caution {
    width: 90%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 72px;
}
.form_caution.mb0 {
    margin-bottom: 0;
}
.campaign_txt {
    width: 90%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-top: 24px;
}
.form_txt_onbg {
    width: 80%;
    height: auto;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    padding-top: 11px;
    padding-bottom: 11px;
    background-color: #002973;
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -o-border-radius: 100px;
}
.form_txt_onbg span {
    font-size: 30px;
}
.form_txt2 {
    width: 90%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.form_btn_box {
    width: 90%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
}
.form_btn_box button {
    cursor: pointer;
    border: none;
    background: unset;
}
.form_btn_box button img {
    -webkit-animation: btnAnime 1.6s ease-in infinite;
    animation: btnAnime 1.6s ease-in infinite;
}

@-webkit-keyframes btnAnime {

    0% {
      transform: scale(1.09);
    }
  
    10% {
      transform: scale(1.09);
      -webkit-transform: scale(1.09);
      -moz-transform: scale(1.09);
      -ms-transform: scale(1.09);
      -o-transform: scale(1.09);
}
  
    30% {
      transform: scale(1.01);
    }
  
    40% {
      transform: scale(1.01);
    }
  
    50% {
      transform: scale(1, 1.04);
    }
  
    60% {
      transform: scale(1.09);
    }
  
    70% {
      transform: scale(1.02);
    }
  
    100% {
      transform: scale(1.09);
    }
}
@keyframes btnAnime {
    0% {
      transform: scale(1.09);
    }
  
    10% {
      transform: scale(1.09);
    }
  
    30% {
      transform: scale(1.01);
    }
  
    40% {
      transform: scale(1.01);
    }
  
    50% {
      transform: scale(1, 1.04);
    }
  
    60% {
      transform: scale(1.09);
    }
  
    70% {
      transform: scale(1.02);
    }
  
    100% {
      transform: scale(1.09);
    }
}

.form_subtxt {
    width: 90%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    font-size: 17px;
    line-height: 30px;
    font-weight: bold;
}


/* footer */
.footer_box {
    background-color: #434343;
    padding-top: 83px;
    padding-bottom: 207px;
}
.footer_inner {
    width: 80%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}
.footer_logo {
    width: 85%;
    height: auto;
    margin-bottom: 70px;
}
.footer_ttl {
    font-size: 40px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 90px;
}

.company_info_txt {
    color: #fff;
    font-size: 30px;
    letter-spacing: 0.14rem;
    padding-bottom: 14px;
    margin-bottom: 50px;
    border-bottom: 1px solid #ffffff;
}
.company_info_txt:last-child {
    margin-top: 100px;
    padding-bottom: 50px;
}
.company_info_txt:last-child span {
    display: inline-block;
    margin-bottom: 45px;
}

.footer_subttl {
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 50px;
    color: #fff;
}
.branch_info {
    margin-bottom: 100px;
}
.branch_txt {
    font-size: 25px;
    font-weight: 400;
    line-height: 35px;
    margin-bottom: 30px;
    color: #fff;
}
.branch_txt:last-child {
    margin-bottom: 0;
}
.footer_link_box {
    display: flex;
    margin-top: 146px;
    margin-bottom: 48px;
}
.footer_link_box a {
    font-size: 25px;
    font-weight: 400;
    color: #fff;
}
.footer_link_box a:first-child {
    margin-right: 48px;
}
.copyright {
    font-size: 20px;
    color: #fff;
    text-align: center;
}

.thanks_box {
    padding-top: 64px;
    padding-bottom: 150px;
    background-image: url(../img/thanks_bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
}
.thanks_txt_box {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    font-size: 32px;
    line-height: 52px;
}

@media only screen and (max-width: 425px) {
    .form {
        margin-bottom: 70px;
    }
    .form_arrow {
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .form_c_ttl {
        font-size: 18px;
        padding-top: 5px;
        padding-bottom: 5px;
        margin-bottom: 15px;
    }
    .form_wrap {
        margin-bottom: 5px;
    }
    .form_content {
        margin-bottom: 15px;
    }
    .form_ttl {
        margin-bottom: 10px;
    }
    .diagnosis_form {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .radio_box {
        margin-bottom: 10px;
    }
    .radio_box label {
        font-size: 18px;
        padding-left: 50px;
    }
    .radio_box label::before {
        width: 26px;
        height: 26px;
    }
    .radio_box label::after {
        width: 20px;
        height: 20px;
    }
    .form_w_ttl {
        font-size: 13px;
        padding-left: 10px;
        margin-bottom: 0px;
    }
    .form_w_ttl span {
        font-size: 10px;
        padding: 0px 10px;
        margin-left: 10px;
    }
    .selectbox-2 select {
        font-size: 12px;
        height: 30px;
        border-radius: 6px;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        -ms-border-radius: 6px;
        -o-border-radius: 6px;
    }
    .selectbox-2::before {
        height: 26px;
        border-radius: 0 6px 6px 0;
        -webkit-border-radius: 0 6px 6px 0;
        -moz-border-radius: 0 6px 6px 0;
        -ms-border-radius: 0 6px 6px 0;
        -o-border-radius: 0 6px 6px 0;
    }
    .selectbox-2::after {
        font-size: 10px;
    }
    .txt_input {
        font-size: 12px;
        height: 30px;
    }
    .form_w_txt {
        font-size: 12px;
        line-height: 20px;
        margin-bottom: 10px;
    }
    .campaign_txt {
        margin-top: 5px;
    }
    .form_txt_onbg {
        font-size: 16px;
    }
    .form_txt_onbg span {
        font-size: 20px;
    }
    .form_caution {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .form_subtxt {
        font-size: 12px;
        line-height: 20px;
    }
    .form_btn_box {
        margin-bottom: 10px;
    }
    .footer_box {
        padding-top: 60px;
        padding-bottom: 50px;
    }
    .footer_logo {
        margin-bottom: 50px;
    }
    .footer_ttl {
        font-size: 13px;
        margin-bottom: 30px;
    }
    .company_info_txt {
        font-size: 13px;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    .company_info_txt:last-child {
        margin-top: 20px;
        padding-bottom: 20px;
    }
    .company_info_txt:last-child span {
        margin-bottom: 20px;
    }
    .footer_subttl {
        font-size: 13px;
        margin-bottom: 20px;
    }
    .branch_info {
        margin-bottom: 50px;
    }
    .branch_txt {
        font-size: 13px;
        margin-bottom: 20px;
        line-height: 20px;
    }
    .footer_link_box {
        margin-top: 50px;
    }
    .footer_link_box a {
        font-size: 13px;
    }
    .footer_link_box a:first-child {
        margin-right: 30px;
    }
    .copyright {
        font-size: 12px;
    }
    .thanks_box {
        padding-top: 40px;
        padding-bottom: 100px;
    }
    .thanks_txt_box {
        font-size: 20px;
        line-height: 30px;
    }
}