@charset "UTF-8";

/*==========================
　　　　　　COMMON
==========================*/

html{
	overflow-X: hidden;
	overflow-y: auto;
}

body{
	overflow-X: hidden;
	overflow-y: auto;
	font-family: 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','メイリオ', Meiryo,'Arial',sans-serif;
	font-size: 14px;
	color: #222;
}

h1, h2, h3, h4, h5{
	margin: 0;
	padding: 0;
	text-align: center;
	font-weight: 400;
}

img{
	width: 100%;
	/* max-height: 100%; */
}

ul, ol{
	margin: 0;
	padding: 0;
}

li{
	list-style-type: none;
}

p{
	margin: 0;
	padding: 0;
	line-height: 1.7em;
}

/*==========================
　　　　　　HEADER
==========================*/

header{
	width: 100vw;
	height: 130px;
	background: #000 url("../images/header-bg.jpg") right top no-repeat;
	background-size: contain;
}

.headinner{
	display: flex;
	justify-content: space-between;
	width: 1200px;
	height: 120px;
	margin: 0 auto;
	position: relative;
}

h1{
	width: 280px;
	height: 70px;
	position: absolute;
	bottom: 0;
	left: 0;
}

header nav ul{
	display: flex;
	justify-content: space-between;
	position: absolute;
	bottom: 0;
	right: 0;
	color: #fff;
}

header nav ul li{
	margin: 0 0 0 12px;
}

header nav ul li a{
	letter-spacing: 0.1em;
	color: #fff;
}

.page-id-240 header{
	display: none;
}

@media print, screen and (max-width: 600px) {

#gnav.tapped{
	left: 0;
}

.ham{
	width: 30px;
	height: 2px;
	position: absolute;
	left: 15px;
	background: #fff;
	border-radius: 1px;
	transition: 0.5s;
}

.ham:nth-child(1){
	top: 14px;
}

.ham:nth-child(2){
	top: 24px;
}

.ham:nth-child(3){
	top: 34px;
}

.ham-txt{
	position: absolute;
	top:41px;
	left:15px;
	font-family: 'Arial',sans-serif;
	font-size: 10px;
	color: #fff;
	transition: 0.5s;
}

.tapped .ham:nth-child(1){
	top: 24px;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.tapped .ham:nth-child(2){
	left: 500px;
	opacity: 0;
}

.tapped .ham:nth-child(3){
	top: 24px;
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

header{
	height: 20vw;
}

.headinner{
	display: block;
	width: 95vw;
	height: 20vw;
}

h1{
	width: 35vw;
	height: 8.52vw;
	bottom: 1vw;
}
}

/*==========================
　　　　　　FOOTER
==========================*/

footer{
	width: 100vw;
	background-color: #e0dfd9;
}

.foot-inner{
	width: 1200px;
	margin: 0 auto;
}

footer nav ul{
	display: flex;
	padding: 20px 0 40px 0;
	font-size: 14px;
}

footer nav ul li{
	margin: 0 12px 0 0;
}


.foot-logo{
	display: block;
	width: 252px;
	height: 63px;
	margin: 0 0 0 auto;
}

.copy{
	padding: 0 0 10px 0;
	text-align: right;
	font-size: 13px;
}

@media print, screen and (max-width: 600px) {

.pagetop{
	display:none;
}

.pagetop a{
	display: inline;
	padding: 0;
	position: fixed;
	vertical-align: bottom;
	right: 3%;
	bottom: 3%;
	z-index: 500;
}

.pagetop a img{
	width: 50px;
	height: 50px;
}

.foot-inner{
	width: 90vw;
}

.foot-inner nav ul{
	display: block;
	padding: 15px 0 30px 0;
	font-size: 13px;
}

footer nav ul li{
	margin: 0 0 6px 0;
}

.foot-logo{
	width: 40vw;
	height: 9.78vw;
	margin: 0 5px 0 auto;
}

.copy{
	padding: 0 5px 10px 0;
	font-size: 12px;
}

}


.top_message_inner {
    height: calc(100vh - 245px);
    display: flex;
    align-items: center;
}

.top_message {
    width: 90%;
    max-width: 1200px;
    font-size: 133%;
    line-height: 1.6em;
    margin: 30px auto;
    background-color: #f8f8f8;
    border: #ccc 1px solid;
    text-align: center;
    padding: 20px;
}

.top_message_title {
    font-weight: bold;
    margin-bottom: 10px;
}

.foot-inner {
    padding-top: 30px;
}

@media print, screen and (max-width: 768px) {
    
    .top_message {
        font-size: 100%;
        margin: 20px auto;
        padding: 15px;
    }

}

@media print, screen and (max-width: 550px) {
    
    .top_message {
        font-size: 88%;
        margin: 15px auto;
        padding: 10px;
        text-align: left;
    }
    
    .top_message br {
        display: none;
    }
    
    .top_message_title {
        text-align: center;
    }
}