@charset "utf-8";

.clearfix::after{
content: "";
display: block;
clear: both;
}


.js_isMobile .is-sp{
display: block;
}
.js_isPc .is-pc{
display: block;
}

.js_isMobile .is-pc{
display: none;
}
.js_isPc .is-sp{
display: none;
}

.page-mincho{
	font-family: 'Noto Serif JP',游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro",HGS明朝E,メイリオ,Meiryo,serif;
}
.mt0{
	margin-top: 0 !important;
}
.headinner a.current {
    color: #9c7e3c;
}
header .headinner h2{
	background: url(/cloverleaf/images/common/cl_logo.png) no-repeat;
	background-position: 50%;
	font-size: 0;
	display: block;
    /* width: auto; */
    max-width: 149px;
    background-size: contain;
    height: 0;
    padding: 9.9333% 0 0;
    width: 39.7333%;
}
header .headinner a:active, header .headinner a:hover, header .headinner a:link, header .headinner a:visited {
	text-decoration: none;
}
header .headinner .nav-line a{
	display: inline-block;
}


main{
	flex: 1 0 0;
	-webkit-flex: 1;
	margin-left: 235px;
}
main h3{
	font-size: 24px;
    font-family: 'Noto Serif JP',游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro",HGS明朝E,メイリオ,Meiryo,serif;
    color: #9c7e3c;
}

/* ハック　IE11以上 */

_:-ms-fullscreen, :root .wrapper header,
_:-ms-fullscreen, :root .wrapper main{
 float: left; 
}
_:-ms-fullscreen, :root .wrapper footer{
clear: both;
}
_:-ms-fullscreen, :root .wrapper main{
	width: calc(100% - 235px);
}


/*　タブレット、PC　*/
@media screen and (min-width: 769px) {
.smp{
	display: none !important;
}
.wrapper{
/*display: flex;*/
width: 100%;
}
.wrapper header{
	min-height: 100vh;
	 position: fixed; 
	left: 0;
	top: 0;
	background-color: #f5f2ea;
	height: 100%;
	z-index: 1000;
	padding: 30px 30px 10px;
    width: 235px;
	}
	header .headinner{
		text-align: center;
	}
	header .headinner #gnav{
		font-size: 15px;
		margin: 20px 0 40px;
		text-align: left;
	}
	header .headinner #gnav li {
    margin-bottom: 20px;
}
	header .headinner h2{
	background-size: 175px 48px;
	padding: 8% 0 6.666%;
	width: 100%;
	height: 48px;
	display: inline-block;
    max-width: 100%;
	}
	/*header #copy{
	position: absolute;
    bottom: 20px;
    left: calc(50% - 69px);
    font-size: 8px;
    text-align: center;
	}*/
	header #globalnav {
    display: block !important;
}
	footer{
	position: fixed;
    z-index: 1001;
    bottom: 20px;
    margin-left: 48px;
    font-size: 8px;
    width: 140px;
    text-align: center;
	}
	footer #copy a{
	display: inline-block;
	}
}

/*　スマホ　*/
@media screen and (max-width: 768px) {
	body{
	min-width: 320px;
}
	html{
		font-size: 62.5%;
	}
	body {
		font-size: 1.4rem;
	}
	.wrapper{
		display: flex;
    flex-direction: column;
    min-height: 100vh;
	}
	.pc{
		display: none;
	}
	.smp{
		display: block;
	}
	header .headinner{
		text-align: center;
	}
	
	header #globalnav {
	margin-top: 93px;
	position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    /*background: #fff;*/
    text-align: center;
    /*transform: translateY(-100%);*/
    /*transition: all 0.6s;*/
    width: 53.333%;
	/*height: 100%;*/
	/*min-height: calc(100% - 93px);*/
    bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
	display: none;
	}
	/*header #globalnav.active{
	transform: translateY(0%);
	}*/
	/*header #gnav .gnav-wrap{
	width: 100%;
    height: auto;
    min-height: 100%;
	display: none;
	}*/
	/*header #globalnav .gnav-wrap{
		opacity: 0;
	}
	header #globalnav.active .gnav-wrap{
		opacity: 1;
	}*/
	header #gnav ul{
	padding: 10px 7.5% 10px;
	}
	header #gnav ul li:not(:last-child){
	border-bottom: 1px solid #fff;
	}
	header #gnav ul li a{
	display: block;
    padding: 10px 0;
	}
	header #gnav .nav-line{
	width: 80px;
    max-width: inherit;
    margin: 0 auto;
	padding-bottom: 25px;
	}
	header #gnav .nav-line img{
	width: 100%;
    height: auto;
	}
	header .headinner .title-wrap{
	background: #fff;
    z-index: 1200;
    position: fixed;
	top: 0;
    width: 100%;
	min-width: 320px;
	height: 93px;
	box-shadow: 0 1px 2px 1px rgba(204,204,204,0.4);
	}
	header .headinner h2{
	margin: 28px 0 22px;
	padding: 41px 0 0;
    max-width: initial;
	width: 149px;
    position: relative;
    z-index: 2000;
    display: inline-block;
	}
	header .navToggle {
    display: block;
    position: fixed;    /* bodyに対しての絶対位置指定 */
    margin-top: 24px;
    right: auto;
    left: 20px;
    top: 12px;
    cursor: pointer;
    z-index: 1500;
    text-align: center;
    background: #fff;
    width: 27px;
    height: 27px;
}
	header .navToggle span {
    display: block;
    position: absolute;    /* .navToggleに対して */
    width: 25px;
    border-bottom: 5px solid #251e1c;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    left: 2px;
}
	header .navToggle span:nth-child(1) {
    top: 0px;
}
	header .navToggle span:nth-child(2) {
    top: 8px;
}
	header .navToggle span:nth-child(3){
	top: 16px;
	}
	header .navToggle.active span{
		border-bottom: 3px solid #251e1c;
	}
	.navToggle.active span:nth-child(1) {
    /*top: 18px;
    left: 6px;*/
	top: 9px;
    left: 2px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
 
/* 2番目と3番目のspanを45度に */
	.navToggle.active span:nth-child(2){
    top: 9px;
    left: 2px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}
	.navToggle.active span:nth-child(3){
	display: none;
}
	header #gnav{
		/*margin-top: 23%;*/
		padding: 0;
		background: rgba(79,52,6,0.8);
		/*width: 53.333%;*/
	}
	#gnav li a {
    color: #fff;
}
	main{
		margin: -38px 0 0 0;
	}
	main h3{
		font-size: 1.5rem;
	}
	header, main, footer{
		min-height: 0%;
	}
	footer{
		margin: 13.8666% 0 3.2%;
		text-align: center;
		font-size: 1.1rem;
	}
	_:-ms-fullscreen, :root .wrapper main{
	width: 100% !important;
}
}