@charset "UTF-8";
/* CSS Document */

#i_service .contents_box {
}

.flex {
    display: flex;
}

#block_box a,
#block_box_SP a,
#block_box_tablet a {
    width: 14.6%;
    display: inline-block;
    vertical-align: text-top;
    font-size: 100%;
    text-align: center;
    line-height: 1.3em;
    transition: 0.2s;
    padding: 0 0 10px 0;
    text-decoration: none;
    margin: 0 1%;
    color: #565656;
}

#block_box a:hover,
#block_box_SP a:hover,
#block_box_tablet a:hover {
    opacity: 1!important;
    transition: 0.2s;
    color: #2ca9e1!important;
}

#block_box a img,
#block_box_SP a img,
#block_box_tablet a img {
    width: 100%;
    margin: 0 auto 1em auto;
    border: #565656 solid;
    border-width: 1px;
    border-radius: 10px;
}

#block_box a:hover img,
#block_box_SP a:hover img,
#block_box_tablet a:hover img {
    border: #2ca9e1 solid;
    border-width: 1px;
}

#block_box a.block_box_index .ename,
#block_box_SP a.block_box_index .ename,
#block_box_tablet a.block_box_index .ename {
    font-size: 70%;
}

.block_box_pc {display: inline;}
.block_box_tablet {display: none;}
.block_box_mobile {display: none;}

.profile_box {
    overflow: hidden;
    border: #cdcdcd solid;
    border-width: 0 0 2px 0;
    top: 0;
    position: relative;
    margin: 0 auto 20px auto;
}

.profile_box .arrow_block {
    background-image: url("../img/profile_arrow.png");
    height: 11px;
    background-repeat: no-repeat;
    border: #cdcdcd solid;
    border-width: 0 0 2px 0;
    padding: 2px;
}

/** PC用 **/
#MPC01 .arrow_block {background-position: 5%;}
#MPC02 .arrow_block {background-position: 23%;}
#MPC03 .arrow_block {background-position: 41%;}
#MPC04 .arrow_block {background-position: 59%;}
#MPC05 .arrow_block {background-position: 77%;}
#MPC06 .arrow_block {background-position: 95%;}


#MPC07 .arrow_block {background-position: 5%;}
#MPC08 .arrow_block {background-position: 23%;}
#MPC09 .arrow_block {background-position: 41%;}
#MPC10 .arrow_block {background-position: 59%;}
#MPC11 .arrow_block {background-position: 77%;}
#MPC12 .arrow_block {background-position: 95%;}


#MPC13 .arrow_block {background-position: 5%;}
#MPC14 .arrow_block {background-position: 23%;}
#MPC15 .arrow_block {background-position: 41%;}
#MPC16 .arrow_block {background-position: 59%;}
#MPC17 .arrow_block {background-position: 77%;}
#MPC18 .arrow_block {background-position: 95%;}


/** TABLET用 **/

#MTAB01 .arrow_block {background-position: 5%;}
#MTAB02 .arrow_block {background-position: 23%;}
#MTAB03 .arrow_block {background-position: 41%;}
#MTAB04 .arrow_block {background-position: 59%;}
#MTAB05 .arrow_block {background-position: 77%;}
#MTAB06 .arrow_block {background-position: 95%;}


#MTAB07 .arrow_block {background-position: 5%;}
#MTAB08 .arrow_block {background-position: 23%;}
#MTAB09 .arrow_block {background-position: 41%;}
#MTAB10 .arrow_block {background-position: 59%;}
#MTAB11 .arrow_block {background-position: 77%;}
#MTAB12 .arrow_block {background-position: 95%;}


#MTAB13 .arrow_block {background-position: 5%;}
#MTAB14 .arrow_block {background-position: 23%;}
#MTAB15 .arrow_block {background-position: 41%;}
#MTAB16 .arrow_block {background-position: 59%;}
#MTAB17 .arrow_block {background-position: 77%;}
#MTAB18 .arrow_block {background-position: 95%;}

/** MOBILE用 **/
#MMO01 .arrow_block, #MMO03 .arrow_block, #MMO05 .arrow_block, #MMO07 .arrow_block {background-position: 22%;}
#MMO02 .arrow_block, #MMO04 .arrow_block, #MMO06 .arrow_block, #MMO08 .arrow_block {background-position: 78%;}


.profile_box {
    width: 95%;
    margin: 0 auto 50px auto;
}

.profile_box img {
    width: 30%;
    margin: 0 2em 0 0;
    float: left;
}

.profile_box ul {
    overflow: hidden;
    line-height: 1.8em;
    font-size: 100%;
    margin: 10px auto;
    width: 80%;
}

.profile_box ul li {
    padding: 0.5em 0;
}

.profile_box ul li.end {
    border-width: 0;
}

.profile_box ul li.prof_name {
    padding: 0.5em 0;
}

.profile_box ul li span {
    font-weight: bold;
}

.profile_box ul li span.name {
    font-weight: normal;
    font-size: 120%;
}

#block_box,
#block_box_SP,
#block_box_tablet {
    display: inline;
}

#block_box a:hover,
#block_box_SP a:hover,
#block_box_tablet a:hover {
    opacity: 0.5;
    transition: 0.2s;
    background-color: transparent;
    color: #333333;
}

/*悠里司法書士独自*/

.profile_box .read_box {
    padding: 20px 0;
    overflow: hidden;
}


.profile_box h2 {
    font-size: 120%;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    text-align: left;
    margin: 0 auto 10px auto;
}

.profile_box .half_box {
    width: 40%;
    float: left;
    margin: 0 2% 0 0;
}

.profile_box .full_box {
    width: 100%;
    float: none;
    margin: 0;
}

.profile_box .price_box {
    width: 58%;
    margin: 0;
    float: left;
}

table.top_price {
    border: #cccccc solid;
    border-width: 0 0 1px 1px;
    width: 100%;
    margin: 0 0 5px 0;
}

table.top_price td {
    border: #cccccc solid;
    border-width: 1px 1px 0 0;
    padding: 5px 10px;
}

table.top_price tr.title {
    background-color: #6b4122;
    color: #ffffff;
    text-align: center;
}

#block_box .profile_box a {
    width: auto;
    padding: 0;
    margin: 0;
    color: #6b4122;
    vertical-align: baseline;
}

#block_box a.details img {
    width: auto;
    margin: 0 10px 0 0;
    border-width: 0!important;
    border-radius: 0;
    float: none;
    display: inline-block;
    position: relative;
    top: -5px;
}

/* ------------------------------------------------------ */
/* Media Query for Tablets */
@media only screen and (max-width : 1440px) {
/* ------------------------------------------------------ */
#block_box a,
#block_box_SP a,
#block_box_tablet a {
    width: 130px;
}

#i_service .contents_box {
    width: 900px;
}

}

/* ------------------------------------------------------ */
/* Media Query for Tablets */
@media only screen and (max-width : 1024px) {
/* ------------------------------------------------------ */
        #i_service .contents_box {
    width: 90%;
}

}

/* ------------------------------------------------------ */
/* Media Query for Tablets */
@media only screen and (max-width : 960px) {
/* ------------------------------------------------------ */
    #block_box,
    #block_box_SP,
    #block_box_tablet {
    display: inline;
    }

    #block_box a.block_box_index,
    #block_box_SP a.block_box_index,
    #block_box_tablet a.block_box_index {
    height: 200px;
    }

    .select_block_box02 {
        height: 220px!important;
    }
    
.profile_box {
    top: 0;
    margin: 0 auto 20px auto;
}

#block_box a:hover,
#block_box_SP a:hover,
#block_box_tablet a:hover {
    opacity: 0.5;
    transition: 0.2s;
    background-color: transparent;
    color: #333333;
}

.block_box_pc {display: none;}
.block_box_tablet {display: inline;}
.block_box_mobile {display: none;}


.profile_box {
    top: 0;
    margin: 0 auto 20px auto;
}

}

/* ------------------------------------------------------ */
/* Media Query for Mobile */
@media only screen and (max-width : 420px) {
/* ------------------------------------------------------ */

#block_box_SP .contents_box {
    width: 90%;
}

#block_box_SP .center_txt {
    text-align: left;
}    

#block_box a.block_box_index,
#block_box_SP a.block_box_index,
#block_box_tablet a.block_box_index {
    width: 40%;
    margin: 0 4%;
    height: 220px;
}
    
.block_box_pc {display: none;}
.block_box_tablet {display: none;}
.block_box_mobile {display: inline;}
    
#block_box a.block_box_index img.fukuha,
#block_box_SP a.block_box_index img.fukuha,
#block_box_tablet a.block_box_index img.fukuha {
    width: 100%;
    margin: 0 auto 0.5em auto!important;
}

#block_box a.block_box_index img,
#block_box_SP a.block_box_index img,
#block_box_tablet a.block_box_index img {
    width: 100%;
    margin: 0 auto 0.5em auto;
}

    .profile_box {
        width: 80%;
        text-align: left;
        margin: 0 auto 20px auto;
    }
    

    .profile_box img {
        display: none;
    }
    
    .profile_box ul li.prof_name {
        display: none;
    }
    
    #about ul.list_block li .title,
    #about ul.list_block li .contents {
        display: block;
        width: 100%;
    }

}

/* ------------------------------------------------------ */
/* Media Query for Mobile */
@media only screen and (max-width : 360px) {
/* ------------------------------------------------------ */
    
    #block_box a.block_box_index,
    #block_box_SP a.block_box_index,
    #block_box_tablet a.block_box_index {
    width: 40%;
    margin: 0 2%;
    height: 200px;
    }
    
}