/*******************
弁護士費用
********************/

.content.fee_page{
    position: relative;
    padding-top: 120px !important;
}
.tag_box{
    width: 100%;
    position: absolute;
    top:0;
    left: 0;
    display: flex;
    justify-content: space-between;
}
.tag_box .tag_btn{
    width: 49.5%;
    max-width: 370px;
    height: 50px;
    cursor: pointer;
    background-color: #6e6e6b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.tag_box .tag_btn.active{
    background-color: #990000;
}
.juvenile_fee{
    display: none;
}

h2.fee_h2{
    font-size: 34px;
}

h3.fee_h3{
    font-size: 26px;
    font-style: italic;
    line-height: 1.5;
    border-bottom: 5px solid #990000;
    padding-bottom: 5px;
    position: relative;
    margin-bottom: 40px;
    letter-spacing: 0.04em;
}
h3.fee_h3::after{
    content: "";
    width: 10px;
    height: 5px;
    background-color: #fff;
    transform: skewX(-45deg);
    position: absolute;
    bottom: -5px;
    right: -3px;
}
.fee_flexbox{
    display: flex;
    justify-content: space-between;
}
.fee_flexbox .gray_box{
    flex-basis: 49.8%;
    background-color: #eaeae8;
    padding: 25px 15px;
    margin-bottom: 20px;
    margin-top: 0;
    letter-spacing: 0.04em;
}
.fee_flexbox .gray_box .info{
    font-size: 20px;
    text-align: center;
    color: #322820;
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.fee_flexbox .gray_box .free{
    text-align: center;
    font-size: 18px;
}
.fee_flexbox .gray_box .free .big{
    font-size: 36px;
    color: #990000;
    font-weight: 500;
    margin-left: 10px;
}
.fee_flexbox .gray_box .cost{
    text-align: center;
    font-size: 16px;
}
.fee_flexbox .gray_box .cost .red{
    font-size: 22px;
    color: #990000;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0.04em;
}
.fee_flexbox .gray_box .cost .red .big{
    font-size: 36px;
}
.fee_flexbox .gray_box .cost .no_ls{
    margin-left: -5px;
    margin-right: -5px;
}
.fee_note{
    font-size: 14px;
    letter-spacing: 0.02em;
    line-height: 1.5;
    margin-bottom: 60px;
}
.fee_note p + p{
    margin-top: 6px;
}
.fee_list{
    margin-bottom: 30px;
}
.fee_list.mb0{
    margin-bottom: 0;
}
.fee_list.mb50{
    margin-bottom: 50px;
}
.fee_list.mb80{
    margin-bottom: 80px;
}
.fee_list li{
    display: flex;
    background-color: #eaeae8;
    font-size: 16px;
    letter-spacing: 0.04em;
}
.fee_list li .small{
    font-size: 14px;
}
.fee_list li .list_th{
    background-color: #322820;
    color: #fff;
    flex-basis: 50%;
    padding: 27px 20px;
    display: inline-flex;
    justify-content: center;
    flex-direction: column;
}
.fee_list.th_wide li .list_th{
    flex-basis: 63%;
}
.fee_list li .list_td{
    padding: 27px 20px;
    display: inline-flex;
    justify-content: center;
    flex-direction: column;
}
.fee_list li + li{
    border-top: 1px solid #fff;
}
.fee_list.three li .sp_block{
    display: none;
}
.fee_list.three li.tr span{
    background-color: #322820;
    padding: 27px 20px;
    color: #fff;
}
.fee_list.three li span:first-child{
    flex-basis: 63%;
}
.fee_list.three li span:not(:first-child){
    flex-basis: 31.5%;
}
.fee_list.three li.tr span:not(:first-child){
    border-left: 1px solid #fff;
}
.fee_list.three li .small{
    display: inline-block;
}
.txt_box{
    margin-bottom: 50px;
}

@media screen and (max-width: 1365px){
    .tag_box .tag_btn{
        max-width: none;
    }
}

@media screen and (max-width: 1195px){
    .fee_list.three li span:not(:first-child){
        flex-basis: 26%;
    }  
    .fee_list.three li span:first-child{
        flex-basis: 48%;
    }
}

@media screen and (max-width: 767px){
    .tag_box .tag_btn{
        font-size: 20px;
        height: 46px;
    }
    h2.fee_h2{
        font-size: 24px;
    }
    h3.fee_h3{
        font-size: 22px;
    }
    .fee_flexbox .gray_box .info{
        font-size: 16px;
    }
    .fee_flexbox .gray_box .free{
        font-size: 14px;
    }
    .fee_flexbox .gray_box .free .big {
        font-size: 24px;
    }
    .fee_note {
        font-size: 12px;
    }
    .fee_flexbox .gray_box .cost {
        font-size: 14px;
    }
    .fee_flexbox .gray_box .cost .red{
        font-size: 16px;
    }
    .fee_flexbox .gray_box .cost .red .big {
        font-size: 28px;
    }
    .fee_list li{
        font-size: 14px;
    }
    .fee_list li .list_th{
        padding: 20px 15px;
    }
    .fee_list li .list_td{
        padding: 20px 15px;
    }
    .fee_list li .small {
        font-size: 12px;
    }
}
@media screen and (max-width: 650px){
    .fee_flexbox{
        display: block;
        margin-bottom: 30px;
    }
    .fee_flexbox .gray_box{
        margin-bottom: 10px;
    }
    .fee_list li{
        display: block;
    }
    .fee_list li .list_th{
        width: 100%;
    }
    .fee_list li + li {
        border-top: 2px solid #fff;
    }
    .fee_list.three li.tr span{
        display: none;
    }
    .fee_list.three li span{
        display: block;
    }
    .fee_list.three li .sp_block{
        display: block;
        background: #f3d6d6;
        padding: 20px 15px;
    }
}
@media screen and (max-width: 499px){
    .tag_box .tag_btn {
        font-size: 15px;
        height: 42px;
    }
    h2.fee_h2{
        font-size: 20px;
    }
    h3.fee_h3{
        font-size: 18px;
    }
}

