@charset "UTF-8";
/* CSS Document */


/*----------------------------
     　　　リンク設定
----------------------------*/

header {
	color: #333 !important;
	text-decoration: none !important; /*下線消す*/
}


/* アンカーテキストのリンク色 */
header a{
	color: #333 !important;
	text-decoration: none !important; /*下線消す*/
}

/*ホバー時の色*/
header a:hover{
	color: #333 !important;
	text-decoration: underline !important;
}

/*クリック時の色*/
header a:active{
	color: #333 !important;
	text-decoration: none;
}


/*===== 画面幅に併せて画像縮小 =====*/
header .resizeimage img {
	width: 100%;
}


/*----------------------------
     ヘッダー上部固定
----------------------------*/
header {
    width: 100% !important; /* 幅いっぱいを指定 */
    height: 140px !important; /* 高さを指定 */
    box-sizing: border-box !important; /* padding分を含んで幅を100%にするため */
    position: fixed !important; /* ウィンドウを基準に画面に固定 */
    top: 0 !important; /* 上下の固定位置を上から0pxにする */
    left: 0 !important; /* 左右の固定位置を左から0pxにする */
    display: flex !important; /* 中の要素を横並びにする */
    align-items: center !important; /* 中の要素を上下中央に並べる */
	background: #fff !important;
	z-index:88 !important;
}

/*----------------------------
           ヘッダー
----------------------------*/

logo{
	position: absolute;
	top: -10px;
	left: 0;
	margin: 0 auto;
	padding: 0;
	width: 280px;
}
.logo img{
	width: 280px;
	height: auto;
}
.logo h1{
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
}
.fix_menu{
	position: fixed;
	width: 100%;
	height: auto;
	max-width: 1920px;
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	z-index: 999;
	padding: 1rem ;
	overflow: hidden;
	color: #333;
}
#navwrap{
	position: absolute;
	top: 0;
	right: 0;
	padding: 1rem 30px 15px 0;
}
#navwrap ul,li{
	list-style: none;
	margin: 0;
}
#navwrap ul {
	margin-left: -1px; /* 一番左のボーダー幅と同じ値の負のマージン */
}

#navwrap li {
	padding: 0 10px;
	display: inline; /* 横並びにさせる */
	border-left: 1px solid #333; /* 区切り線 */
}
#navwrap li:first-child {
	border: none; /* 親要素から見て一番目のli要素のボーダーを無しに */
}

.header_menu{
	display: flex;
    /*コレ*/justify-content: flex-end !important;
}
.header_menu a{
	color: #333 !important;
}
.set-right{
    display: flex;
    /*コレ*/justify-content: flex-end !important;
 }

#navwrap li.btn-mail {
	border-left: none !important; /* 区切り線 */
}

.head-contact {
	margin: 0 auto 0.7rem;
	padding: 0.1rem 2rem 0.1rem 0.5rem;
	border-left: 7px solid #095ba5;
	line-height: 1.5rem;
}
.head-contact span{
	color: #095ba5;
	font-weight: 700;
	font-size: 1.9rem !important;
	letter-spacing: 0.07em;
}
.head-contact .hours{
	display: inline-block;
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: 0.05em;
}

@media screen and (max-width:768px) {
.header_menu a{
	color: #fff !important;
}
li {
	border-left: none !important;
}
.head-contact {
	width: 100%;
	color: #fff;
	margin: 0 auto;
	padding: 0.1rem;
}
.head-contact span{
	color: #fff;
	font-weight: 700;
	font-size: 1.5rem;
	letter-spacing: 0.07em;  
}
}




.btn-mail{
	border-left: none; /* 区切り線 */
}

.btn-mail img{
	width: 200px;
	height: auto;
	border: 0;
	margin-right: 0;
	text-align: right;
}
@media screen and (max-width:768px) {
li .btn-mail{
	margin: 0 auto;
	padding: 0;
}
.btn-mail img{
	width: 100%;
	margin: 0 auto;
	padding: 0;
	border: 1px solid #fff;
}
}


.header_menu li a{
	cursor: pointer;
	padding: 0 10px;
	text-decoration: none;
	color: #333;
}
#switch{
	display: none;
}
.main p{
	text-align: center;
}


@media screen and (max-width:768px) {
	#switch ~ label {
		padding: 12px 12px;
		width: 60px;
		height: 60px;
		background: #095ba5;
		position: fixed;
		box-sizing: border-box;
		top: 0;
		right: 0;
		z-index: 999;
		cursor: pointer;
	}
	#switch ~ label span{
		display: block;
		width:22px;
		height:2px;
		top: 50%;
		left: 0;
		right: 0;
		margin:auto;
		background: #fff;
		position: absolute;
		-webkit-transition: 0.2s transform;
		transition: 0.2s transform;
	}
	#switch ~ label span:before,
	#switch ~ label span:after{
		content: "";
		display: block;
		background: #fff;
		position: absolute;
		width:22px;
		height:2px;
		left: 0;
		right: 0;
		margin: auto;
	}
	#switch ~ label span:before{
		top: -9px;
	}
	#switch ~ label span:after{
		top: 9px;
	}
	#navwrap{
		padding-top: 0;
		position: fixed;
		top: -100%;
		left: 0;
		width: calc(100% - 60px);
		height: 100%;
		background: rgba(9,91,165,1.00);
		transition: all 0.4s;
		padding: 60px;
		box-sizing: border-box;
	}
	#switch:checked ~ #navwrap { 
		display: block; 
		top: 0;
	}
	.header_menu{
		display: flex;
		flex-direction: column;
		align-items:flex-end !important;
		overflow: hidden;
	}
	.header_menu li{
		margin: 0 auto 1.8rem;
	}
	.header_menu li a{
		color: #fff;
	}
	.scroll-prevent {
		position: fixed;
		z-index: -1;
		width: 100%;
		height: 100%;
	}
}
