p,h1,h2,h3,h4,h5,li,a,th,td{font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;}
/* header */
header.site-header {
    height: 80px;
}
header#masthead {
    border-bottom: 0 !important;
}
.is-transparent header#masthead a {
color: white;
}
header#masthead a {
    font-size: 1.1em;
    font-weight: bold;
}
header#masthead .contactbutton {
    padding: 12px 20px;
    background: #54a2f1;
}
header#masthead .contactbutton a{
color: white;
}
/* footer */
.footer-flex>div p {
    width: fit-content;
    margin: 0 24px 0 0 !important;
}
.footer-flex>div {
    display: flex !important;
    flex-wrap: wrap;
	flex-direction :initial;
}
.footer-main {
    padding: 0 0 8px !important;
    color: white;
    background: #062b55;
}
/* TOP */
p.mv-text {
    max-width: 1000px;
    margin: auto;
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    color: white;
    font-size: 1.3em;
	font-weight:bold;
}

.sfa-block figure {
    position: relative;
}
.sfa-block .sfa-p {
    position: absolute;
    margin: auto;
    right: 0;
    left: 0;
    color: white;
    font-weight: bold;
    font-size: 1.3em;
    top: 28%;
}
/* 下層ページ */
.newsheader .ystdb-section__inner h2{
    max-width: 1100px !important;
	margin:auto !important;
}
.archive div#content main#main,.blog div#content main#main{
	    max-width: 1100px !important;
	margin:auto !important;
}


/* SP対応 */
@media screen and (max-width:767px) { 
header.site-header {
    height: 60px;
}
button#global-nav__toggle {
    padding: 0;
    background: #062b55 !important;
    color: white !important;
}
.global-nav ul.is-open li a {
    color: #062b55 !important;
}
.global-nav ul.is-open li {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid;
}

header#masthead .contactbutton {
    border-top: 0 !important;
}
header#masthead .contactbutton {
    text-align: center;
}
header#masthead .contactbutton a {
    color: white !important;
}
.sfa-block .sfa-p {
    font-size: 1.1em;
    top: 20%;
}
footer .ystdb-column figure {
    margin-bottom: 0 !important;
    text-align: center;
}
.footer-flex>div p {
    margin: 0 24px 12px 0 !important;
}
p.mv-text {
    padding: 24px;
    font-size: 1.2em;
}
}



