/* 事務所一覧 */




/* ページタイトル */
#lower .strength-hello{
    position: relative;
    z-index: -1;
}
#office .strength-hello::after{
    content: "";
    background: url(../img/title/office-list-top.jpg);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: top right;
    width: 50%;
    height: 100%;
    position: absolute;
    top:100px;
    right: 0;
}
#office .ttl_area{
    width: 40%;
}
#office span.info_txt_numbranch_base_comm br {
	display: none;
}

@media(max-width:1194px){
    #office .strength-hello::after{
        background: url(../img/title/office-list-top.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top right;
        height: 75%;
    }
    #office .ttl_area{
        width: 45%;
    }
}
@media (max-width:768px) {
    #office .strength-hello::after{
        height: 78%;
        top: 70px;
    }
    #office .ttl_area{
        width: 45%;
        margin-top: 0;
    }
}
@media (max-width:480px) {
    #office .strength-hello::after{
        height: 40vw;
        display: none;
    }
    #office .strength-hello .mv_area01 {
        height: 37vw;
        width: 100%;
    }
    #office .ttl_area{
        width: 100%;
        text-align: center;
    }
}




.office-list-items li h3::after{
    display: none;
}
#office #lower h2.article_ttl{
    background-color: #fff;
    color: #000;
    text-align: center;
    font-size: 40px;
}
#office .list-item-secondary a{
    background-color: #ce6c56;
    height: 60px;
    display: flex;
    max-width: 100%;
}
#office .list-item-secondary a:hover{
    color: #fff;
}
#office .list-item-secondary a::after{
    z-index: 0;
    right: 20px;
}
#office  ul.office-list-items li{
    border-bottom: 1px solid #d9dae7;
    padding-bottom: 40px;
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
}
#office  ul.office-list-items li:last-child{
    border-bottom: none;
    margin-bottom: 0;
}
#office #lower h3{
    width: 100%;
}
@media(max-width:1194px){
    #office #lower h2.article_ttl{
        font-size: 30px;
    }
    #office .list-item-secondary a{
        height: 50px;
    }
    #office  ul.office-list-items li{
        padding-bottom: 30px;
        margin-bottom: 40px;
    }
    .office-list-items li .list-item-secondary{
        margin-left: 30px;
    }
}
@media (max-width:900px) {
    .office-list-items li .list-item-secondary{
        margin-left: auto;
    }
}
@media (max-width:768px) {
    #office #lower h2.article_ttl{
        font-size: 24px;
    }
    #office #lower h3{
        font-size: 20px;
    }
    #office .list-item-secondary a{
        height: 52px;
    }
    #office  ul.office-list-items li{
        padding-bottom: 30px;
        margin-bottom: 40px;
    }
    .office-list-items li .list-item-primary{
        max-width: none;
    }
    .office-list-items li .list-item-secondary{
        max-width: none;
    }
}
@media (max-width:480px) {
    #office #lower h2.article_ttl{
        font-size: 20px;
    }
    #office #lower .article_wrap section p{
        display: block;
    }
    #office #lower h3{
        font-size: 18px;
    }
    #office .list-item-secondary a{
        font-size: 14px;
        height: 48px;
    }
    #office .link-box::after{
        top:50%;
        transform: translateY(-50%);
        margin-top: 0;
    }
}

/* 個別ページ */
#tokyo #lower .ttl_area,
#utsunomiya #lower .ttl_area,
#saitama #lower .ttl_area,
#chiba #lower .ttl_area,
#yokohama #lower .ttl_area,
#nagoya #lower .ttl_area,
#osaka #lower .ttl_area,
#kobe #lower .ttl_area,
#himeji #lower .ttl_area,
#fukuoka #lower .ttl_area,
#bangkok #lower .ttl_area
{

    max-width: none;
    width: 80%;
}
#tokyo #lower .ttl_02,
#utsunomiya #lower .ttl_02,
#saitama #lower .ttl_02,
#chiba #lower .ttl_02,
#yokohama #lower .ttl_02,
#nagoya #lower .ttl_02,
#osaka #lower .ttl_02,
#kobe #lower .ttl_02,
#himeji #lower .ttl_02,
#fukuoka #lower .ttl_02,
#bangkok #lower .ttl_02
{
    font-size: 54px;
}
#tokyo #lower .ttl_02::first-letter,
#utsunomiya #lower .ttl_02::first-letter,
#saitama #lower .ttl_02::first-letter,
#chiba #lower .ttl_02::first-letter,
#yokohama #lower .ttl_02::first-letter,
#nagoya #lower .ttl_02::first-letter,
#osaka #lower .ttl_02::first-letter,
#kobe #lower .ttl_02::first-letter,
#himeji #lower .ttl_02::first-letter,
#fukuoka #lower .ttl_02::first-letter,
#bangkok #lower .ttl_02::first-letter
{
    font-size: 54px;
}


.office_sec dl{
    border: 1px solid #d9dae7;
    font-family: 'Noto Sans CJK JP','Noto Sans JP','ヒラギノ角ゴ Std','ヒラギノ角ゴ StdN',sans-serif;
}
.office_sec dt{
    background: url(../img/office/office-list-bg.jpg);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: top;
}
.office_sec dt:nth-child(3){
    background-position: top -70px center;
}
.office_sec dt:nth-child(5){
    background-position: top -140px center;
}
.office_sec dt:nth-child(7){
    background-position: top -240px center;
}
.office_sec dt:nth-child(9){
    background-position: top -340px center;
}
.office_sec dt:nth-child(11){
    background-position: top -410px center;
}
@media(max-width:1194px){
    #tokyo #lower .ttl_area,
    #utsunomiya #lower .ttl_area,
    #saitama #lower .ttl_area,
    #chiba #lower .ttl_area,
    #yokohama #lower .ttl_area,
    #nagoya #lower .ttl_area,
    #osaka #lower .ttl_area,
    #kobe #lower .ttl_area,
    #himeji #lower .ttl_area,
    #fukuoka #lower .ttl_area,
    #bangkok #lower .ttl_area
    {
        width: 100%;
    }
    #tokyo #lower .ttl_02,
    #utsunomiya #lower .ttl_02,
    #saitama #lower .ttl_02,
    #chiba #lower .ttl_02,
    #yokohama #lower .ttl_02,
    #nagoya #lower .ttl_02,
    #osaka #lower .ttl_02,
    #kobe #lower .ttl_02,
    #himeji #lower .ttl_02,
    #fukuoka #lower .ttl_02,
    #bangkok #lower .ttl_02
    {
        font-size: 4.2vw;
        text-align: center;
    }
    #tokyo #lower .ttl_02::first-letter,
    #utsunomiya #lower .ttl_02::first-letter,
    #saitama #lower .ttl_02::first-letter,
    #chiba #lower .ttl_02::first-letter,
    #yokohama #lower .ttl_02::first-letter,
    #nagoya #lower .ttl_02::first-letter,
    #osaka #lower .ttl_02::first-letter,
    #kobe #lower .ttl_02::first-letter,
    #himeji #lower .ttl_02::first-letter,
    #fukuoka #lower .ttl_02::first-letter,
    #bangkok #lower .ttl_02::first-letter
    {
        font-size: 4.2vw;
        text-align: center;
    }
}
@media (max-width:768px) {
    /*
    #tokyo #lower .ttl_area,
    #utsunomiya #lower .ttl_area,
    #saitama #lower .ttl_area,
    #chiba #lower .ttl_area,
    #yokohama #lower .ttl_area,
    #nagoya #lower .ttl_area,
    #osaka #lower .ttl_area,
    #kobe #lower .ttl_area,
    #himeji #lower .ttl_area,
    #fukuoka #lower .ttl_area,
    #bangkok #lower .ttl_area
    {
    
        width: 75%;
    }
    */
    #tokyo #lower .ttl_02,
    #utsunomiya #lower .ttl_02,
    #saitama #lower .ttl_02,
    #chiba #lower .ttl_02,
    #yokohama #lower .ttl_02,
    #nagoya #lower .ttl_02,
    #osaka #lower .ttl_02,
    #kobe #lower .ttl_02,
    #himeji #lower .ttl_02,
    #fukuoka #lower .ttl_02,
    #bangkok #lower .ttl_02
    {
        font-size: 5vw;
    }
    #tokyo #lower .ttl_02::first-letter,
    #utsunomiya #lower .ttl_02::first-letter,
    #saitama #lower .ttl_02::first-letter,
    #chiba #lower .ttl_02::first-letter,
    #yokohama #lower .ttl_02::first-letter,
    #nagoya #lower .ttl_02::first-letter,
    #osaka #lower .ttl_02::first-letter,
    #kobe #lower .ttl_02::first-letter,
    #himeji #lower .ttl_02::first-letter,
    #fukuoka #lower .ttl_02::first-letter,
    #bangkok #lower .ttl_02::first-letter
    {
        font-size: 5vw;
    }
    .office_sec dd{
        padding: 5%;
    }
}



/*札幌_バナー（事務所一覧）*/
.sapporo-banner {
	/*background:url(../koutsujiko/office/images/sapporo.png) center / cover no-repeat;*/
	background:url(../images/office/sapporo.png);
	background-repeat: no-repeat;
    background-size: 75%;
    background-position: left;
	background-color: #e7eff6;
	min-height: 180px;
	width: 100%;
	display: flex;
    align-items: center;
    justify-content: right;
	box-shadow: none;
}
.sapporo-banner .sapporo-inner {
	text-align: center;
	padding-right: 13%;
}
.sapporo-banner p {
	font-size: 30px;
	font-family: 'Noto Serif JP', serif;
	font-weight: bold;
}
.sapporo-banner .color {
	padding: 0 10px;
    font-size: 18px;
    color: #fff;
    background: #990000;
}
.sapporo-banner .text-wrap {
	/*display: flex;
	flex-direction: column;*/
}
.sapporo-banner .eye_catch{
	opacity: 0.5;
}
@media screen and (max-width:767px) {
	.sapporo-banner {
		background-size: cover;
		background-position: -80px;
	}
}


@media screen and (max-width:599px) {
		.sapporo-banner .sapporo-inner {
		padding-top: 2.3em;
		padding-right: 0;
	}
}

@media screen and (max-width:530px) {
	.sapporo-banner {
		width: auto;
		justify-content: center;
		background-position: 0px;
	}
	.sapporo-banner .sapporo-inner {
		padding-right: 0;
	}
	.sapporo-banner p {
		font-size: 24px;
	}
}


/*札幌_バナー（事務所一覧）*/

#office ul.office-list-items li.sapporo-banner {
    border-bottom: 0px solid #d9dae7;
}
#lower .article_wrap section .sapporo-banner {
	/*background:url(../koutsujiko/office/images/sapporo.png) center / cover no-repeat;*/
	background:url(../images/office/ft_sapporo.png);
	background-repeat: no-repeat;
    background-size: 75%;
    background-position: left;
	background-color: #fdf2e9;
	min-height: 200px;
	width: 100%;
	display: flex;
    align-items: center;
    justify-content: right;
	box-shadow: none;
}
.sapporo-banner .sapporo-inner {
	text-align: center;
	padding-right: 13%;
	padding-top: 1.5em;
}
#lower .article_wrap section .sapporo-banner p {
	font-size: 30px!important;
	font-family: 'Noto Serif JP', serif;
	font-weight: bold ;	
}

#lower .article_wrap section .sapporo-banner p .sub {
	font-size: 18px;
}

#lower .article_wrap section .sapporo-banner p.name {
	line-height: 1.2;
}

#lower .article_wrap section .sapporo-banner .color {
	padding: 0 10px;
    font-size: 18px!important;
    color: #fff;
    background: #ce6c56;
}
#lower .sapporo-banner .text-wrap {
	/*display: flex;
	flex-direction: column;*/
}
#lower .sapporo-banner .eye_catch{
	opacity: 0.5;
}
@media screen and (max-width:767px) {
#lower .article_wrap section .sapporo-banner  {
		background-size: cover;
		background-position: -80px;
	}
}

@media screen and (max-width:599px) {	
#lower .sapporo-banner .sapporo-inner {
    text-align: center;
    padding-right: 0%;
	padding-top: 7%;
}	
#lower .article_wrap section .sapporo-banner {
	display: block;
}	
#lower .article_wrap section .sapporo-banner .color {
    width: 200px;
    margin: 10px auto;
}	
}

@media screen and (max-width:530px) {
#lower .article_wrap section .sapporo-banner {
		width: auto;
		justify-content: center;
		background-position: 0px;
	}
#lower .sapporo-banner .sapporo-inner {
	padding-top: 12%;
	}
#lower .article_wrap section .sapporo-banner p {
	font-size: 24px!important;
	}
}

@media screen and (max-width:500px) {
#lower .sapporo-banner .sapporo-inner {
	padding-top: 11%;
	}
}
@media screen and (max-width:460px) {
#lower .sapporo-banner .sapporo-inner {
	padding-top: 13%;
	}
}
@media screen and (max-width:400px) {
#lower .sapporo-banner .sapporo-inner {
	padding-top: 15%;
	}
}
@media screen and (max-width:330px) {
#lower .sapporo-banner .sapporo-inner {
	padding-top: 16%;
	}
}
