/* グローバルナビ */
.nav-right{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.nav-phone{
    padding: 0 40px;
}
.nav-phonenum{
    font-size: 1.7rem;
    font-weight: bold;
    line-height: 2.1rem;
}
.nav-phonenum a{
    text-decoration: none;
}
.nav-bhours{
    font-size: 0.6rem;
    text-align: center;
}
.nav-contactbtn{
    display: block;
    padding: 15px 20px;
    background-color: #0d427a;
    color: white;
    text-decoration: none;
}
@media screen and (max-width: 768px) {
    .nav-right{
        display: none;
    }
    div.l-2row-header__row:first-child {
        padding-top: 0px !important;
        padding-right: 20px !important;
        padding-left: 20px !important;
    }
} 
@media screen and (max-width: 450px) {
    .topheading-law h2.smb-section__title{
        font-size: 1.2rem;
        color: white;
    }
    .c-btn.c-btn--full.p-footer-cta__primary-btn{
        font-size: 0.76rem;
    }
    .p-footer-cta__text{
        font-size: 0.7rem;
    }
}
 
div.l-2row-header__row:first-child{
    padding-top: 25px;
    padding-right: 45px;
    padding-left: 30px;
}
nav.p-global-nav, .p-drop-nav{
    background-color: #f0f0f1;
}
header .c-fluid-container{
    padding-left: 0;
    padding-right: 0;
}
.c-section.p-section-front-page-content{
    padding-top: 35px;
}
.topheading-law .smb-section__subtitle{
    width: fit-content;
    background-color:#0d427a;
    transform: skew(-15deg);
    color: #fff;
    padding: 15px 20px;
}
.category-heading{
    font-size: 1.1rem;
    text-align: center;
}
.newarticles li.c-entries__item>a{
    background-color: rgba(255,255,255,0.8);
}
.newarticles ul.c-meta, .legalfield-post ul.c-meta, ul.c-meta{
    display: none;
}

.is-layout-constrained>h2.legalfield-heading,
.c-entry__content.p-entry-content>h2.legalfield-heading{
    border-bottom: solid 3px #F0F0F1;
    border-left: none;
    position: relative;
    padding-left: 0;
    background-color: white;
}
  
.legalfield-heading:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px #0F427B;
    bottom: -3px;
    width: 20%;
}

/* フッター */
.l-footer-widget-area{
	background:#28405c;
	color:#fff;
}
.l-footer-widget-area__item:first-child{
	flex:1;/*カラムを可変にする*/
	max-width:100%
}
.l-footer-widget-area__item:last-child{
	display:flex;/*テキストウィジェットを上下中央に揃える用*/
	align-items:center;/*テキストウィジェットを上下中央に揃える用*/
}
.c-copyright {
	font-size:11px;
	color:#fff;
}
.c-copyright--inverse {
    background-color: #011727;
}
/*スマホサイズ以上*/
@media (min-width: 40em){
.l-footer-widget-area__item:last-child{
	flex:0 1 300px;/*300px固定*/
	border-left:solid 1px #666
}
}

/* サイト運営事務所について */
.officeinfo h3{
    border-bottom: 0;
    font-weight: 500;
    color: #28405c;
}
.officeinfo div.c-row__col.c-row__col--1-1.c-row__col--md-1-4{
    border-right: 1px solid #28405c;
}
@media (min-width: 40em){
    body.page-id-9 .officeinfo{
        max-width: 80%;
    }
}
@media screen and (max-width: 450px) {
    .officeinfo div.c-row__col.c-row__col--1-1.c-row__col--md-1-4{
        margin-bottom: 8px;
    }
    .officeinfo div.smb-information__item__label{
        color:#28405c;
        width: fit-content;
        border-bottom: 1px solid #28405c;
    }
}

/* 事務所紹介 */
.profile-area{
    margin-top: 5px;
    padding: 0 10%;
    font-size: 0.8rem;
}
.lawerprofile{
    background-color: aliceblue;
    padding: 25px 0;
    border-radius: 8px;
}

/* フォーム */
.smf-action button.smf-button-control__control{
    display: block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    margin: auto;
    padding: 1rem 4rem;
    font-weight: bold;
    border: 2px solid #28405c;
    background: #28405c;
    color: #fff;
    transition: 0.5s;
}
.smf-action button.smf-button-control__control:hover {
        color: #28405c;
        background: #fff;
}
.smf-action{
    display: flex;
    flex-direction: row;
    justify-content: center;
}
