.otoiawase_width{
    width: 930px;
    margin: 0 auto;
    margin-top: 70px;
}
.otoiawase_text{
    font-size: 17px;
    line-height: 20px;
    width: fit-content;
    color: #686a6a;
    margin: 0 auto;
    padding: 35px 0 100px;
}
.nyuuryoku_flex, .nyuuryoku_flex2{
    display: flex;
}
.nyuuryoku_flex2{
    margin:10px 0;
}
.nyuuryoku_p, .nyuuryoku_p2, .nyuuryoku_p3{
    width: 21%;
    font-size: 15px;
    padding-top: 10px;
    position: relative;
}
.nyuuryoku_p2:before, .nyuuryoku_p3:before{
    content: '※';
    position: absolute;
    left: 0px;
    top: 11px;
    color: #e50011;
}
.nyuuryoku_p2, .nyuuryoku_p3{
    padding-left: 15px;
}
.nyuuryoku_input, .nyuuryoku_input2, .nyuuryoku_flex2 textarea{
    width: 100%;
    font-size: 15px;
    border: 1px solid #bcbcbc;
    padding: 11px 15px;
}
.nyuuryoku_flex .nyuuryoku_input.none, .nyuuryoku_flex .nyuuryoku_input2.none{
    display:none;
}
.nyuuryoku_flex2 textarea{
    height: 250px;
}
.hn_flex{
    display: flex;
    margin-top: 20px;
    justify-content: flex-end;
    margin-bottom: 8px;
}
.hn_flex p{
    font-size: 12px;
    position: relative;
}
.akamaru:before, .kuromaru:before{
    content: '※';
    position: absolute;
    left: -15px;
    color: #e50011;
    top: 50%;
    transform: translate(0px, -50%);
}
.otoiawase_hr{
    border-top: 1px solid #8c8b8b;
    margin-bottom: 20px;
}
.sousin{
    text-align: center;
    /*background-color: #436589;*/
    background-color: #005ca2;
    color: #fff;
    font-weight: bold;
    border-radius: 40px;
    margin-top: 60px;
    margin-bottom: 150px;
    width: 450px;
    font-size: 16px;
}
.sousin p{
    letter-spacing: 2px;
    color: #fff;
    line-height: 54px;
}
.sousin_text{
    font-size: 15px;
    text-align: right;
    margin-top: 15px;
    padding-right: 15px;
    margin-bottom: 150px;
}
.sousin_text a{
    color: #156fbf;
    text-decoration:underline;
}
.sousin_text a:hover{
    opacity:0.6;
}
.sousin_text a:visited{
    color: #4a148c;
}
.sousin:hover{
    opacity:0.6;
}
.nyuuryoku_p{
    font-weight: bold;
}
.nyuuryoku_flex2 div, .nyuuryoku_flex div{
    width: 79%;
}
.hissu_text{
    color: red;
    margin-top: 7px;
    margin-left: 7px;
    font-size: 14px;
}
.sousin_button{
    display: flex;
    justify-content: center;
}
.doui_text{
    font-size: 14.9px;
    margin:15px 0px;
    margin-top: 40px;
    text-align: center;
    line-height: normal;
}
.doui_text span{
    text-decoration: underline;
}
.doui_check{
    display: flex;
    justify-content: center;
}
.doui_check input{
    display: none;
}
.doui_check label{
    position: relative;
}
.doui_check label::before, .doui_check label::after{
    content: "";
    display: block;
    position: absolute;
}
.doui_check label::before{
    top: -1px;
    left: 0px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    border-radius: 3px;
    border: 1px solid #bcbcbc;
    background: #ffffff;
}
.doui_check label::after{
    top: 4px;
    left: 4px;
    width: 11px;
    height: 5px;
    transform: rotate(-45deg);
    border: 2px solid #5e849e;
    border-top-style: none;
    border-right-style: none;
    opacity: 0;
}
.doui_check input:checked + label::after{
    opacity: 1;
}
.doui_check p{
    margin-left: 27px;
    padding-left: 18px;
    font-size: 15px;
    color: #221814;
    position: relative;
}
.doui_check p:before{
    content: '※';
    position: absolute;
    left: 0px;
    color: #e50011;
    font-size: 12px;
    top: 50%;
    transform: translate(0px, -50%);
}
.kikan_box{
    display: flex;
    position: relative;
    line-height: 40px;
    border: 1px solid #bcbcbc;
    cursor: pointer;
}
.kikan_box:after {
    position: absolute;
    display: block;
    content: '';
    width: 8px;
    height: 8px;
    top: 50%;
    right: 15px;
    margin-top: 0px;
    border-bottom: 2px solid #003e83;
    border-right: 2px solid #003e83;
    transform: rotate(45deg) translateY(-50%);
    transition: all .4s ease-in-out;
    transform-origin: 50% 0;
}
.select_flex{
    position: absolute;
    width: 100% !important;
    height: 100%;
    padding-left: 15px;
}
.label{
    z-index: 1;
    font-size: 15px;
}
.kikan_select{
    display: block;
    cursor: pointer;
    width: 100%;
    border: none;
    opacity: 0;
    position: relative;
    padding-left: 15px;
    z-index: 2;
}
.doui_text a{
    text-decoration: underline;
}
@media screen and (max-width:1080px) {
    .otoiawase_width {
        width: 88%;
    }
    .yakudati_contents p {
        font-size: 23px;
    }
    .yakudati_contents p span {
        font-size: 15px;
    }
    .yakudati_contents p::before {
        width: 40px;
        height: 3px;
        bottom: -10px;
        left: 50%;
    }
    .yakudati_contents {
        margin: 50px auto 35px;
    }
    .otoiawase_text, .otoiawase_text2 {
        font-size: 15px;
        padding: 0px 0 100px;
    }
    .otoiawase_block p, .otoiawase_block2 p {
        font-size: 18px;
        padding: 23px 40px;
    }
    .sousin p {
        padding: 0;
    }
    .otoiawase_flex {
        justify-content: space-evenly;
    }
    .title_inquiry{
        padding: 30px 0;
    }
}
@media screen and (max-width:820px) {
    .otoiawase_block p, .otoiawase_block2 p {
        font-size: 16px;
        padding: 18px 40px;
    }
    .otoiawase_flex {
        margin: 40px 0 50px;
    }
    .nyuuryoku_p, .nyuuryoku_p2, .nyuuryoku_p3 {
        width: 22%;
        font-size: 14px;
    }
    .nyuuryoku_flex2 div, .nyuuryoku_flex div{
        width: 78%;
    }
    .nyuuryoku_input, .nyuuryoku_input2, .nyuuryoku_flex2 textarea {
        width: 100%;
        font-size: 14px;
    }
    .sousin_text {
        font-size: 12px;
        padding-right: 0px;
    }
    .otoiawase_text2 {
        width: 90%;
        margin: 0 auto 35px;
    }
}
@media screen and (max-width:480px) {
    .otoiawase_width {
        margin: 0 auto;
    }
    .yakudati_contents {
        margin: 10vw auto 10vw;
    }
    .otoiawase_text, .otoiawase_text2 {
        font-size: 3vw;
        line-height: 4vw;
        text-align: left;
        padding: 0px 0 14vw;
    }
    .otoiawase_flex {
        margin: 4vw 0;
        flex-direction: column;
    }
    .otoiawase_block p, .otoiawase_block2 p {
        padding: 3.5vw 0vw;
        text-align: center;
        font-size: 3.5vw;
    }
    .otoiawase_block, .otoiawase_block2 {
        margin: 1vw 0;
        width: 60vw;
    }
    .nyuuryoku_flex, .nyuuryoku_flex2 {
        display: flex;
        flex-direction: column;
    }
    .nyuuryoku_p, .nyuuryoku_p2, .nyuuryoku_p3 {
        width: 100%;
        font-size: 3.5vw;
        padding-top: 0vw;
        padding-bottom: 1vw;
    }
    .nyuuryoku_input, .nyuuryoku_input2, .nyuuryoku_flex2 textarea {
        width: 100%;
        font-size: 3.2vw;
        padding: 0 1.5vw;
    }
    .hn_flex {
        margin-top: 6vw;
        margin-bottom: 1vw;
    }
    .otoiawase_hr {
        margin-bottom: 0vw;
    }
    .nyuuryoku_flex2 {
        margin: 4vw 0;
    }
    .nyuuryoku_p2, .nyuuryoku_p3 {
        padding-left: 5vw;
    }
    .nyuuryoku_p2:before, .nyuuryoku_p3:before {
        width: 2vw;
        height: 2vw;
        border-radius: 5vw;
        position: absolute;
        left: 1vw;
        top: 0.2vw;
        font-size: 3.2vw;
    }
    .sousin {
        width: 100%;
        margin-top: 0;
        margin-bottom: 0;
    }
    .sousin p {
        padding: 0;
        font-size: 3.5vw;
        line-height: 11vw;
    }
    .sousin_text {
        font-size: 3vw;
        text-align: left;
        margin-top: 3vw;
        margin-bottom: 30vw;
    }
    .sousin_button {
        display: flex;
        justify-content: center;
        padding: 10vw 0 30vw;
    }
    .nyuuryoku_flex2 div, .nyuuryoku_flex div {
        width: 100%;
    }
    .kikan_box {
        line-height: 8vw;
    }
    .hissu_text {
        margin-top: 1vw;
        margin-left: 1vw;
        font-size: 3vw;
        line-height: 4vw;
    }
    .yakudati_contents p {
        font-size: 5.5vw;
    }
    .yakudati_contents p span {
        font-size: 3.6vw;
    }
    .yakudati_contents p::before {
        width: 10vw;
        height: 0.6vw;
        bottom: -2.5vw;
    }
    .hn_flex p {
        font-size: 3vw;
    }
    .akamaru:before, .kuromaru:before {
        width: 3.5vw;
        height: 3.5vw;
        left: -3.5vw;
    }
    .title_inquiry {
        padding: 8vw 0;
    }
    .select_flex {
        padding-left: 3vw;
    }
    .label {
        font-size: 3.2vw;
    }
    .kikan_select {
        padding-left: 3vw;
    }
    .kikan_box:after {
        width: 1.7vw;
        height: 1.7vw;
        right: 3vw;
    }
    .nyuuryoku_input, .nyuuryoku_input2{
        line-height: 8vw;
    }
    .nyuuryoku_flex2 textarea {
        height: 50vw;
    }
    .doui_text {
        font-size: 3.2vw;
        margin: 6vw 0px;
        text-align: left;
    }
    .doui_check label::before {
        top: 0vw;
        left: 0px;
        width: 4vw;
        height: 4vw;
    }
    .doui_check label::after {
        top: 1.2vw;
        left: 1.2vw;
        width: 2vw;
        height: 1vw;
    }
    .doui_check p {
        margin-left: 7vw;
        padding-left: 4vw;
        font-size: 3.5vw;
        color: #221814;
        position: relative;
    }
    .doui_check p:before {
        font-size: 3vw;
    }
}