@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;
}

a:link, a:hover, a:active, a:visited{
	text-decoration:none;
}

main a:link, main a:hover, main a:active, main a:visited{
	color: #222;
}

footer a:link, footer a:hover, footer a:active, footer a:visited{
	color: #222;
}

a:hover{
	opacity: 0.8;
}

section{
	width: 100vw;
	margin: 0 auto;
}

.bold{
	font-weight: 600;
}

.a_center { text-align: center;}

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

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

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

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

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

    .headinner{
        width: 95vw;
    }

    /* h1{
        width: 35%;
        height: auto;
        bottom: 30px;
    } */

}

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

    header{
        height: 20vw;
    }

    .headinner{
        display: block;
        /* height: 20vw; */
    }

    h1{
        width: 60vw;
        height: 8.52vw;
        bottom: inherit;
        top: 4vw;
    }

}

/*==========================
　　　　　　MESSAGE
==========================*/

.top_message_inner {
    height: calc(100vh - 255px);
    min-height: 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;
}

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

}

@media print, screen and (max-width: 600px) {
    
    .top_message_inner {
        height: calc(100vh - 120px - 20vw);
    }
    
    .top_message {
        font-size: 88%;
        margin: 15px auto;
        padding: 10px;
        text-align: left;
    }
    
    .top_message br {
        display: none;
    }
    
    .top_message_title {
        text-align: center;
    }
}

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

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

.foot-inner{
    width: 95vw;
	margin: 0 auto;
    padding-top: 30px;
}

.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: 960px) {

    .foot-logo{
        width: 180px;
        height: 44px;
    }

    .copy{
        font-size: 12px;
    }

}

@media print, screen and (max-width: 600px) {
    
    footer{
        height: 100px;
        padding-bottom: 20px;
    }

    /* .foot-inner{
        width: 90vw;
    } */

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

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

}