/* 弁護士一覧 */






/* ページタイトル */
#lower .strength-hello{
    position: relative;
    z-index: -1;
}
#profile .strength-hello::after{
    content: "";
    background: url(../img/title/profile-top.jpg);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: top center;
    width: 50%;
    height: 100%;
    position: absolute;
    top:100px;
    right: 0;
}
#profile .ttl_area{
    width: 40%;
}
@media(max-width:1194px){
    #profile .strength-hello::after{
        background: url(../img/title/profile-top.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top center;
        height: 75%;
    }
    .profile .ttl_area{
        width: 45%;
    }
}
@media (max-width:768px) {
    #profile .strength-hello::after{
        height: 78%;
        top: 70px;
    }
    #profile .ttl_area{
        width: 45%;
        margin-top: 0;
    }
}
@media (max-width:480px) {
    #profile .strength-hello::after{
        height: 40vw;
        display: none;
    }
    #profile .strength-hello .mv_area01 {
        height: 37vw;
        width: 100%;
    }
    #profile .ttl_area{
        width: 100%;
        text-align: center;
    }
}


#profile h2.article_ttl{
    border-left:none;
    font-size: 40px;
    font-family: 'Shippori Mincho','Zen Old Mincho','ヒラギノ明朝 Std','ヒラギノ明朝 StdN','ヒラギノ明朝 ProN W6','HiraMinProN-W6','Noto Serif CJK JP','Noto Serif JP','游明朝','Yu Mincho','YuMincho','メイリオ',serif;
    text-align: center;
    margin-bottom: 30px;
    background-color: #fff;
    color: #000;
}
#profile .profile_list .profile_box{
    border-radius: 20px;
    border: 1px solid #dcdcdc;
}
#profile .profile_list .profile_img img{
    border-radius: 20px 20px 0 0;
}
#profile .profile_list .profile_text{
    padding: 20px;
}
#profile .profile_list .profile_box_title{
    font-family: 'Noto Sans CJK JP','Noto Sans JP','ヒラギノ角ゴ Std','ヒラギノ角ゴ StdN',sans-serif;
    height: 150px;
}
#profile .profile_list .profile_box_title .name{
    font-size: 26px;
    font-weight: unset;
    font-family: 'Shippori Mincho SemiBold','Noto Serif CJK JP','Noto Serif JP','メイリオ',serif;
}
#profile .profile_list .profile_box_title .post{
    display: flex;
    flex-direction: column;
    height: 42px;
    font-weight: normal;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Sans CJK JP Medium','Noto Sans JP','ヒラギノ角ゴ Std','ヒラギノ角ゴ StdN',sans-serif;
}
#profile .profile_list .profile_box_text {
    margin-bottom: 0;
    font-size: 14px !important;
    text-align: center;
    font-family: 'Noto Sans CJK JP Medium','Noto Sans JP','ヒラギノ角ゴ Std','ヒラギノ角ゴ StdN',sans-serif;
}
#profile .profile_list a.profile_box_btn{
    background-color: #ce6c56;
    border-radius: 100px;
    height: 36px;
    font-weight: bold;
    font-size: 16px;
    /*position: relative;*/
    border: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Sans CJK JP','Noto Sans JP','ヒラギノ角ゴ Std','ヒラギノ角ゴ StdN',sans-serif;
}
#profile .profile_list a.profile_box_btn::before{
    position: absolute;
    right: 15px;
    top: 0;
    bottom: 0;
    margin: auto;
    content: "";
    display: block;
    width: 1em;
    height: 1em;
    border-right: none;
    border-bottom: none;
    transform: rotate(0);
    background: url(../img/arrow_right_wh.svg);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
}
#profile .profile_list a.profile_box_btn:hover{
    color: #fff;
    background-color: #ce6c56;
    opacity: 0.6;
}
#profile .profile_list a.profile_box_btn:hover::before{
    border: none;
    transform: rotate(0);
}


@media(max-width:1194px){
    #profile h2.article_ttl{
        font-size: 32px;
    }
}
@media(max-width:838px) {
	#profile .profile_list .profile_text {
		padding: 20px 8px;
	}
}
@media (max-width:768px) {
    #profile h2.article_ttl{
        font-size: 26px;
    }
    #profile .profile_list .profile_text{
        padding: 20px 8px;
    }
    #profile .profile_list a.profile_box_btn{
        margin: 0 10px;
        font-size: 14px;
    }
    #profile .profile_list .profile_box_title{
        height: auto;
    }
    #profile .profile_list .profile_box_title .name {
		font-size: 20px !important;
        margin: 5px 0;
	}
}
@media screen and (max-width: 400px){
    #profile .profile_list .profile_text {
        padding: 15px 10px 5px;
    }
    #profile .profile_list .profile_box_title{
        font-size: 10px;
    }
	#profile .profile_list .profile_box_title .name {
		font-size: 20px !important;
	}
	#profile .profile_list .profile_box_text{
		font-size: 10px !important;
	}
    #profile .profile_list a.profile_box_btn{
        font-size: 12px;
        height: 30px;
    }
    #profile .profile_list a.profile_box_btn::before{
        right: 5px;
    }
}
@media (max-width:480px) {
    #profile h2.article_ttl{
        font-size: 22px;
    }
}

/* 個別 */
#kanezaki #lower .ttl_02,
#kanezaki_m #lower .ttl_02,
#inouchi #lower .ttl_02,
#takahashi #lower .ttl_02,
#tsuji #lower .ttl_02,
#okita #lower .ttl_02,
#sakuma #lower .ttl_02,
#imao #lower .ttl_02,
#shirasu #lower .ttl_02,
#saisho #lower .ttl_02,
#mitsui #lower .ttl_02,
#yamamoto_s #lower .ttl_02,
#otsuki #lower .ttl_02,
#matsushita #lower .ttl_02,
#miyamoto #lower .ttl_02,
#yagi #lower .ttl_02,
#hasegawa #lower .ttl_02,
#machinaga #lower .ttl_02
{
    font-size: 54px;
}
#kanezaki #lower .ttl_02::first-letter,
#kanezaki_m #lower .ttl_02::first-letter,
#inouchi #lower .ttl_02::first-letter,
#takahashi #lower .ttl_02::first-letter,
#tsuji #lower .ttl_02::first-letter,
#okita #lower .ttl_02,
#sakuma #lower .ttl_02::first-letter,
#imao #lower .ttl_02::first-letter,
#shirasu #lower .ttl_02::first-letter,
#saisho #lower .ttl_02::first-letter,
#mitsui #lower .ttl_02::first-letter,
#yamamoto_s #lower .ttl_02::first-letter,
#otsuki #lower .ttl_02::first-letter,
#matsushita #lower .ttl_02::first-letter,
#miyamoto #lower .ttl_02::first-letter,
#yagi #lower .ttl_02::first-letter,
#hasegawa #lower .ttl_02::first-letter,
#machinaga #lower .ttl_02::first-letter
{
    font-size: 54px;
}
#kanezaki #lower .ttl_area,
#kanezaki_m #lower .ttl_area,
#inouchi #lower .ttl_area,
#takahashi #lower .ttl_area,
#tsuji #lower .ttl_area,
#okita #lower .ttl_area,
#sakuma #lower .ttl_area,
#imao #lower .ttl_area,
#shirasu #lower .ttl_area,
#saisho #lower .ttl_area,
#mitsui #lower .ttl_area,
#yamamoto_s #lower .ttl_area,
#otsuki #lower .ttl_area,
#matsushita #lower .ttl_area,
#miyamoto #lower .ttl_area,
#yagi #lower .ttl_area,
#hasegawa #lower .ttl_area,
#machinaga #lower .ttl_area
{
    width: 100%;
}
@media(max-width:1194px){
    #kanezaki #lower .ttl_02,
    #kanezaki_m #lower .ttl_02,
    #inouchi #lower .ttl_02,
    #takahashi #lower .ttl_02,
    #tsuji #lower .ttl_02,
    #okita #lower .ttl_02,
    #sakuma #lower .ttl_02,
    #imao #lower .ttl_02,
    #shirasu #lower .ttl_02,
    #saisho #lower .ttl_02,
    #mitsui #lower .ttl_02,
    #yamamoto_s #lower .ttl_02,
    #otsuki #lower .ttl_02,
    #matsushita #lower .ttl_02,
    #miyamoto #lower .ttl_02,
    #yagi #lower .ttl_02,
    #hasegawa #lower .ttl_02,
    #machinaga #lower .ttl_02
    {
        font-size: 5vw;
    }
    #kanezaki #lower .ttl_02::first-letter,
    #kanezaki_m #lower .ttl_02::first-letter,
    #inouchi #lower .ttl_02::first-letter,
    #takahashi #lower .ttl_02::first-letter,
    #tsuji #lower .ttl_02::first-letter,
    #okita #lower .ttl_02,
    #sakuma #lower .ttl_02::first-letter,
    #imao #lower .ttl_02::first-letter,
    #shirasu #lower .ttl_02::first-letter,
    #saisho #lower .ttl_02::first-letter,
    #mitsui #lower .ttl_02::first-letter,
    #yamamoto_s #lower .ttl_02::first-letter,
    #otsuki #lower .ttl_02::first-letter,
    #matsushita #lower .ttl_02::first-letter,
    #miyamoto #lower .ttl_02::first-letter,
    #yagi #lower .ttl_02::first-letter,
    #hasegawa #lower .ttl_02::first-letter,
    #machinaga #lower .ttl_02::first-letter
    {
        font-size: 5vw;
    }
}
@media (max-width:768px) {
    #kanezaki #lower .ttl_02,
    #kanezaki_m #lower .ttl_02,
    #inouchi #lower .ttl_02,
    #takahashi #lower .ttl_02,
    #tsuji #lower .ttl_02,
    #okita #lower .ttl_02,
    #sakuma #lower .ttl_02,
    #imao #lower .ttl_02,
    #shirasu #lower .ttl_02,
    #saisho #lower .ttl_02,
    #mitsui #lower .ttl_02,
    #yamamoto_s #lower .ttl_02,
    #otsuki #lower .ttl_02,
    #matsushita #lower .ttl_02,
    #miyamoto #lower .ttl_02,
    #yagi #lower .ttl_02,
    #hasegawa #lower .ttl_02,
    #machinaga #lower .ttl_02
    {
        font-size: 5vw;
    }
}
@media (max-width:480px) {
    #kanezaki #lower .ttl_02,
    #kanezaki_m #lower .ttl_02,
    #inouchi #lower .ttl_02,
    #takahashi #lower .ttl_02,
    #tsuji #lower .ttl_02,
    #okita #lower .ttl_02,
    #sakuma #lower .ttl_02,
    #imao #lower .ttl_02,
    #shirasu #lower .ttl_02,
    #saisho #lower .ttl_02,
    #mitsui #lower .ttl_02,
    #yamamoto_s #lower .ttl_02,
    #otsuki #lower .ttl_02,
    #matsushita #lower .ttl_02,
    #miyamoto #lower .ttl_02,
    #yagi #lower .ttl_02,
    #hasegawa #lower .ttl_02,
    #machinaga #lower .ttl_02
    {
        font-size: 6.5vw;
    }
    #kanezaki #lower .ttl_02::first-letter,
    #kanezaki_m #lower .ttl_02::first-letter,
    #inouchi #lower .ttl_02::first-letter,
    #takahashi #lower .ttl_02::first-letter,
    #tsuji #lower .ttl_02::first-letter,
    #okita #lower .ttl_02,
    #sakuma #lower .ttl_02::first-letter,
    #imao #lower .ttl_02::first-letter,
    #shirasu #lower .ttl_02::first-letter,
    #saisho #lower .ttl_02::first-letter,
    #mitsui #lower .ttl_02::first-letter,
    #yamamoto_s #lower .ttl_02::first-letter,
    #otsuki #lower .ttl_02::first-letter,
    #matsushita #lower .ttl_02::first-letter,
    #miyamoto #lower .ttl_02::first-letter,
    #yagi #lower .ttl_02::first-letter,
    #hasegawa #lower .ttl_02::first-letter,
    #machinaga #lower .ttl_02::first-letter
    {
        font-size: 6.5vw;
    }
}



#lower h1.ttl_02 .new_line::first-letter{
    color: #ce6c56;
}
#lower .profile h2.article_ttl{
    background-color: #ce6c56;
    color: #fff;
    border-left: none;
    padding: 8px 20px;
    font-family: 'Shippori Mincho','Noto Serif CJK JP','Noto Serif JP',serif;
    margin-bottom: 30px;
}
#lower .profile h3{
    border-bottom:none;
    font-family: 'Shippori Mincho','Noto Serif CJK JP','Noto Serif JP',serif;
    font-size: 24px;
    font-weight: 500;
}
.profile-list dd{
    padding: 0;
}
.profile-list ol li,
.profile-list ul li{
    padding-left: 40px;
    margin-bottom: 20px;
    position: relative;
    font-size: 18px;
    font-family: 'Noto Sans CJK JP','Noto Sans JP','ヒラギノ角ゴ Std','ヒラギノ角ゴ StdN',sans-serif;
}
.profile-list ol li::before{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ce6c56;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-family: 'Shippori Mincho','Noto Serif CJK JP','Noto Serif JP',serif;
    position: absolute;
    left: 0;
    top:0;
}
.profile-list ul li::before{
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #ce6c56;
    position: absolute;
    left: 0;
    top:5px;
}

.profile dl{
    border: 1px solid #d9dae7;
}
.profile dt{
    background: url(../img/office/office-list-bg.jpg);
    background-size: cover;
    background-repeat:repeat-y;
    background-position: top;
    font-size: 18px;
    font-weight: normal;
    font-family: 'Noto Sans CJK JP','Noto Sans JP','ヒラギノ角ゴ Std','ヒラギノ角ゴ StdN',sans-serif;
}
.profile dd{
    font-size: 18px;
    font-weight: normal;
    font-family: 'Noto Sans CJK JP','Noto Sans JP','ヒラギノ角ゴ Std','ヒラギノ角ゴ StdN',sans-serif;
}
#lawyer_books_area .books_box{
    width: 100%;
    position: relative;
    /*display: flex;
    flex-direction: row-reverse;*/
}
#lawyer_books_area h3.books_title{
    font-size: 18px;
    color: #ce6c56;
    border-bottom: none;
    font-family: 'Noto Sans CJK JP','Noto Sans JP','ヒラギノ角ゴ Std','ヒラギノ角ゴ StdN',sans-serif;
    position: absolute;
    left: 180px;
}
/*
#lower .article_wrap section p{
    line-height: 2;
}
*/
#lower .article_wrap section p.txt:first-of-type{
    padding-top: 50px;
}

#lower .profile h3::after{
    display: none;
}
#lawyer_books_area .books_title:before{
    display: none;
}
.profile dd ul li{
    list-style-type: none;
    position: relative;
}
.profile dd ul li::before{
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #ce6c56;
    position: absolute;
    top:12px;
    left: 0;
}
.iryou.lower_p ol li{
	padding-left: 2.4em;
    font-size: 18px;
    font-family: 'Noto Sans CJK JP','Noto Sans JP','ヒラギノ角ゴ Std','ヒラギノ角ゴ StdN',sans-serif;
}
.iryou.lower_p ol > li::before{
    background-color: #ce6c56;
    font-size: 20px;
    height: 30px;
    left: 0;
    letter-spacing: 0;
    line-height: 30px;
    position: absolute;
    text-align: center;
    top: 3px;
    width: 30px;
    font-weight: bold;
}
#lawyer_books_area .amazon_button {
    margin: 15px 0 0 auto;
    width: 250px;
    float: unset;

}
.profile .profile-list ol{
    list-style-type: none; /* デフォルトのリストスタイルを無効化 */
    counter-reset: list-counter; /* カウンターをリセット */
}
.profile .profile-list ol li::before{
    content: counter(list-counter); /* カウンターの値を表示 */
    counter-increment: list-counter; /* カウンターをインクリメント */
    display: inline-block;
    width: 1.5em; /* 数字の幅を調整 */
    height: 1.5em; /* 数字の高さを調整 */
    line-height: 1.4em; /* 数字の中央揃え */
    text-align: center; /* 数字の中央揃え */
    background-color: #ce6c56; /* 背景色を設定 */
    color: #fff; /* テキストの色を設定 */
    border-radius: 50%; /* 丸い形状を作成 */
    margin-right: 0.5em; /* 数字とテキストの間隔を調整 */
    font-weight: normal;
}
.profile .profile-list ul{

}
.profile .profile-list dd{
    width: 100%;
}
.profile .profile-list ul li{
    padding-left: 30px;
}
.profile .profile-list ul li::before{
    top:10px;
    left: 5px;
}
.profile .academic-list li{
    padding-left: 25px;
}
.profile .academic-list li::before{
    top: 10px;
    left: -15px;
}
.profile .academic-list li .in-bk{
    display: block;
}
#lower .profile h4{
    border-left: none;
    padding-left: 0;
}

@media(max-width:1194px){
    #lower .profile h3{
        font-size: 20px;
    }
    .profile dt{
        font-size: 16px;
    }
    .profile dd{
        font-size: 16px;
    }
}
@media (max-width:768px) {
    #lower .profile h3{
        font-size: 18px;
    }
    .profile dd{
        padding: 2em 5%;
    }
    .profile .profile-list dd:last-of-type{
        padding: 0;
    }
    .iryou.lower_p .profile-list ol li,.iryou.lower_p .profile-list ul li{
        font-size: 16px;
        padding-left: 30px;
    }
    .profile .profile-list ol li::before{
        font-size: 16px;
    }
    #lower .article_wrap section.books_box {
        margin-bottom: 10%;
        display: flex;
        flex-direction: column;
    }
    #lawyer_books_area h3.books_title {
        order: 2;
        height: auto;
        position: relative;
        left: unset;
        text-align: center;
    }
    #lower .article_wrap section p.txt{
        order: 3;
    }
    #lawyer_books_area img{
        margin-bottom: 0;
        padding-bottom: 10%;
    }
    #lawyer_books_area .amazon_button {
        order: 4;
        margin: 15px auto 0;
        width: 250px;
        float: unset;
    }
    #lower .article_wrap section p.txt:first-of-type{
        padding-top: 0;
    }
    .iryou.lower_p ol li{
        font-size: 16px;
    }
	.iryou.lower_p ol > li::before{
		top: 0;
	}
    #contact .notes ol > li::before, #contact_tel .notes ol > li::before, #consult .notes ol > li::before{
        width: 24px;
        height: 24px;
        font-size: 18px;
        line-height: 22px;
    }
    #contact .notes ol > li {
        padding-left: 30px;
    }
}
@media (max-width:480px) {
    #lower .profile h2.article_ttl{
        margin-top: 0;
    }


}


