/* ---------------------- FIXES ---------------------- */

html.scroll_behavior{
  scroll-behavior: smooth;
}
html.scroll_behavior .l-content [id]{
  scroll-margin-top: 30px;
}

.global-header-search__input{
	background-color:white;
}
.l-content{
	padding-top: 0;
	font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Helvetica Neue",Arial,"BIZ UDPGothic",Meiryo,sans-serif;
}
.l-footer{
	font-family: "Hiragino Kaku Gothic ProN","Hiragino Sans","Helvetica Neue",Arial,"BIZ UDPGothic",Meiryo,sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #222;
    font-feature-settings: 'palt';
    letter-spacing: normal;
}
.l-footer p {
	font-family: "Hiragino Kaku Gothic ProN","Hiragino Sans","Helvetica Neue",Arial,"BIZ UDPGothic",Meiryo,sans-serif;
    font-size: 14px;
    font-feature-settings: 'palt';
    letter-spacing: normal;
}
.l-footer .m-footer-copyright-content,
.l-footer .m-footer-credit-name,
.l-footer .m-footer-credit-content {
    font-size: 14px;
	letter-spacing:0.72px;
}
.m-btn, .m-btn-cv, .m-btn-login{
	line-height:normal;
}
.l-content p {
	margin-top: 10px;
}
.l-content p.m-img {
    margin: 40px auto 0;
}
.l-content .m-box>*:first-child, 
.l-content .m-box-wide>*:first-child, 
.l-content .m-box-contact>*:first-child, 
.l-content .m-cmn-disclaimer>*:first-child, 
.l-content .m-cmn-disclaimer-basic>*:first-child{
	margin:0;
}
.l-content a {
	text-decoration: underline;
}

.l-content a:hover {
	text-decoration: none;
}

.l-content a img {
	opacity: 1;
	transition: opacity 0.2s ease 0s;
}
.l-content a img:hover {
	opacity: 0.7;
}
@media (min-width: 768px) {
.l-content a[href^='tel:'] {
		pointer-events:none;
		cursor: default;
	}
}
.l-content img{
	display:initial;
}
.l-content .m-article-link,
.l-content .m-nav-local a {
    text-decoration: none;
}

.l-content .m-nav-local a:hover {
    text-decoration: underline;
}

@media (any-pointer: coarse) {
    .l-content .m-nav-local a:hover {
        text-decoration:none;
    }

    .l-content .m-nav-local a:active {
        text-decoration: underline;
    }
}
.is-show-modal .m-modal-content{
	z-index: 9999999;
}

.l-content [class^='m-btn'],
.l-content [class^='m-link'] {
    text-decoration: none;
	line-height:24px;
}

.l-content [class^='m-link']:hover {
    text-decoration: underline
}

@media (any-pointer: coarse) {
    .l-content [class^='m-link']:hover {
        text-decoration:none
    }

    .l-content [class^='m-link']:active {
        text-decoration: underline
    }
}

.m-header-top{
	display:none;
}
.template-popup .m-header-top{
	    display: flex;
}
.template-popup .m-header-logo{
	display:none;
}

.l-header.is-sticky{
	position:relative;
}
.global-header--sticky + .l-header{
	position:sticky;
	top:73px;
}
.global-header--sticky .global-header-container .global-header-menu>li{
	line-height:1.3;
}

.global-header--sticky ~ .l-content {
	padding-top:158px;
}
.global-header--sticky + .l-header{
	top:73px;
}
@media(max-width: 1300px) {
	.global-header--sticky ~ .l-content {
		padding-top:190px;
	}
	.global-header--sticky + .l-header{
		position:sticky;
		top:102px;
	}
	.m-header-nav-parent{
		font-size:13px;
	}
}
@media(max-width: 999px) {
	.global-header--sticky + .l-header{
		position:sticky;
		top:105px;
	}
}
@media(max-width: 837px) {
	.global-header--sticky + .l-header{
		position:sticky;
		top:123px;
	}
}
@media(max-width: 767px) {
	.global-header--sticky ~ .l-content {
		padding-top:0;
	}
}

.global-header,
.l-footer{
	letter-spacing: 0;
	font-feature-settings: normal;
}
.l-header{
	font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Helvetica Neue",Arial,"BIZ UDPGothic",Meiryo,sans-serif;
}

.m-header-nav-children{
	top:100%;
}


@media(max-width: 47.99em) {
	
	html.scroll_behavior .l-content [id]{
	  scroll-margin-top: -50px;
	}
	
	.local-nav-button,
	.global-header-trigger,
	.global-header-close>button{
		text-align:center;
	}

	.m-header-top{
		display:flex;
		position:relative;
		top:0;
	}

	.l-header.is-sticky{
		position:relative;
		top:0;
	}
	.m-header-logo,
	.m-header-button-open-account,
	.m-header-button-login{
		display:none;
	}

	.l-content{
		font-size:16px;
		line-height: 1.5;
		letter-spacing:0.72px;
	}
	.l-footer .m-footer-credit-name{
		font-size: 12px;
	}
	.l-footer .m-footer-copyright-content,
	.l-footer .m-footer-credit-content {
		font-size:10px;
	}
	.l-content-body {
		padding: 40px 0 60px;
	}
	.template-popup .l-content .footer-local-nav{
		display:none !important;
	}
	.m-btn, .m-btn-cv, .m-btn-login{
		line-height:24px;
	}
	
	.m-article-img-inner img{
		max-width:none;
	}

}

