.nav-horizontal li a:hover {
    color: #323232!important;
}
.nav-horizontal li:nth-child(-n+5) a:after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #F69321;
    bottom: -1px;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform 0.3s;
}
.nav-horizontal li:nth-child(-n+5) a:hover:after {
    transform: scale(1, 1);
}

.nav-horizontal li:nth-child(n+6) {
    border: solid 1px #000;
}
.home .nav-horizontal li:nth-child(6n) a,
.page-id-583 .nav-horizontal li:nth-child(6n) a{
    background: #000;
    color: #fff;
    border-radius: 0;
}
.home .nav-horizontal li:nth-child(n+6) a:hover,
.page-id-583 .nav-horizontal li:nth-child(n+6) a:hover{
    background: #fff;
    color: #000!important;
    border-radius: 0;
}
.page-id-481 .nav-horizontal li:nth-child(7n) a {
    background: #000;
    color: #fff;
    border-radius: 0;
}
.page-id-481 .nav-horizontal li:nth-child(n+6) a:hover {
    background: #fff;
    color: #000!important;
    border-radius: 0;
}
.nav-vertical li:nth-child(n+6) {
    border: solid 1px #000;
    display: inline-block;
}
.nav-vertical li:nth-child(n+6) a {
    font-size: 85%;
    padding: 5px 10px;
}
.home .nav-vertical li:nth-child(6n) a,
.page-id-583 .nav-vertical li:nth-child(6n) a{
    background: #000!important;
    color: #fff!important;
    border-radius: 0;
}
.home .nav-vertical li:nth-child(7n) a,
.page-id-583 .nav-vertical li:nth-child(7n) a {
    background: #fff!important;
    color: #000!important;
    border-radius: 0;
}
.page-id-481 .nav-vertical li:nth-child(7n) a {
    background: #000!important;
    color: #fff!important;
    border-radius: 0;
}
.page-id-481 .nav-vertical li:nth-child(6n) a {
    background: #fff!important;
    color: #000!important;
    border-radius: 0;
}
#service h4 {
    font-size: 20px;
    margin-bottom: 10px;
} 
#service h4 span {
    font-weight: 400;
    font-size: 80%;
    background: #fff;
    display: inline-block;
    color: #07203E;
    padding: 5px 10px;
    line-height: 1;
}
.elementor-accordion-icon {
    background: #fff;
    width: 1.5em!important;
    height: 1.5em!important;
    border-radius: 50%;
    position: relative;
}
.elementor-accordion-icon svg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 1.2em!important;
    fill: #0077BD!important;
}
#footer .content {
    padding: 0!important;
}
#contact table {
    border: none;
}
#contact table th {
    border-left: none;
    border-bottom: dotted 1px #999;
    background: #eee;
}
#contact table td{
    border-right: none;
    border-bottom: dotted 1px #999;
}
#contact table tr:first-child th,
#contact table tr:first-child td {
    border-top: dotted 1px #999;
}
#contact table th p,
#contact table td p {
    margin: 0!important;
}
#contact table th .hissu {
    background: #ff0000;
    color: #fff;
    display: inline-block;
    padding: 5px;
    margin-left: 10px;
    line-height: 1;
    font-size:  85%;
}
.btn_submit {
    text-align: center;
}
.btn_submit input {
    width: 150px!important;
    padding: 10px!important;
    box-sizing: border-box;
}
.grecaptcha-badge {
    z-index: 10;
    bottom: 4em!important;
}
.tit_sub h1 {
    font-size: 50px!important;
    padding: 70px 0!important;
}
.pd_box {
    padding: 80px 0;
}
.pd_box.pd_bg {
    background: #f0f7f7;
}
.box_prepair {
    border: solid 4px #ddd;
    padding: 30px;
}
.box_prepair ul li {
    font-weight: bold;
    background: url("assets/images/ico_check.png") no-repeat left 2px;
    padding: 3px 0 3px 30px;
    font-size: 110%;
    margin-bottom: 5px;
}
.box_prepair ul li:last-child {
    margin-bottom: 0;
}
.tit_br {
    text-align: center;
    position: relative;
    padding-top: 50px;
    margin-bottom: 30px!important;
}
.tit_br:before {
    content: '';
    position: absolute;
    width: 2px;
    height: 40px;
    background: #80abb1;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
}
.tit_br h2 {
    color: #000!important;
    font-size: 30px;
}
.flow_box dl {
    display: flex;
    align-items: center;
    background: #fff;
    margin-bottom: 40px;
    position: relative;
}
.flow_box dl:after {
    content: '';
    position: absolute;
    background: #80abb0;
    height: calc(tan(60deg) * 20px / 2);
    width: 40px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    margin: auto;
    left: 0;
    right: 0;
    bottom: -20px;
}
.flow_box dl:last-child {
    margin-bottom: 0;
}
.flow_box dl:last-child:after {
    display: none;
}
.flow_box dl dt {
    width: 22%;
    position: relative;
    overflow: hidden;
}
.flow_box dl dt:before{
    content: "";
    padding-top: 100%;
    display: block;
}
.flow_box dl dt img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}
.flow_box dl dd {
   padding: 3%;
}
.flow_box dl dd .tit_flow {
    display: flow;
}
.flow_box dl dd h3 {
    font-size: 120%;
    font-weight: bold;
    margin-bottom: 5px;
}
.flow_box dl dd h3 span {
    background: #80abb1;
    color: #fff;
    line-height: 1;
    padding: 3px 7px;
}
.flow_box dl dd h3 em {
    font-style: normal;
    padding-left: 10px;
}
.faq_box dl {
    border-bottom: dotted 2px #ccc;
    padding: 20px 0;
}
.faq_box dl dt {
    position: relative;
    font-weight: bold;
    padding-left: 35px;
    margin-bottom: 10px;
    font-size: 110%;
}
.faq_box dl:first-child dt {
    padding-top: 0;
}
.faq_box dl dt:before {
    position: absolute;
    left: 0;
    content: 'Q';
    background: #80abb1;
    color: #fff;
    line-height: 1;
    padding: 5px;
}
.faq_box dl dd {
    padding-left: 35px;
}
.faq_box dl dd:before {
    position: absolute;
    left: 0;
    content: 'A';
    color: #e6723c;
    line-height: 1;
    padding: 5px;
    font-weight: bold;
    font-size: 110%;
}
@media (max-width: 767px) {
    .home .elementor-heading-title {
        font-size: 26px!important;
    }
    
    .tit_sub h1 {
        font-size: 40px!important;
        padding: 50px 0!important;
    }
    .pd_box {
        padding: 10% 5%!important;
    }
    .box_prepair {
        padding: 20px;
    }
    .box_prepair ul li {
        background: url("assets/images/ico_check.png") no-repeat left 3px;
        background-size: 18px;
        padding: 2px 0 2px 23px;
        font-size: 105%;
        margin-bottom: 5px;
    }
    .tit_br {
        padding-top: 35px;
        margin-bottom: 20px!important;
    }
    .tit_br:before {
        height: 25px;
    }
    .tit_br h2 {
        font-size: 24px;
    }
    .flow_box dl {
        display: block;
        margin-bottom: 40px;
    }
    .flow_box dl dt {
        width: 100%;
        position: static;
    }
    .flow_box dl dt:before{
        display: none;
    }
    .flow_box dl dt img{
        position: static;
        object-fit: fill;
    }
    .flow_box dl dd {
       padding: 3%;
    }
    .flow_box dl dd h3 {
        font-size: 110%;
    }
    .faq_box dl dt,
    .faq_box dl dd:before {
        font-size: 105%;
    }
}
@media (max-width: 456px) {
   #contact table th,
    #contact table td {
        width: 100%;
        display: block;
    }
    .custom-logo-link img {
        max-height: 27px!important;
    }
}