/*--------------------------------------------------------------
  ヘッダー共通
--------------------------------------------------------------*/
#header .header {
	max-width: 1200px;
	margin: 0 auto;
}

#header .header .row_header {
	max-width: 1080px;
	margin: 0 auto;
}
/*--------------------------------------------------------------
  ヘッダー説明欄
--------------------------------------------------------------*/
#header .header-top { /* ヘッダーの一番上の線 */
	height: 5px;
	background: #209cc4;
}

#header .header_explanation { /* サイトの説明文 */
	font-size: 10px;
	font-size: 1.0rem;
	padding: 5px;
}

/*--------------------------------------------------------------
  サイトタイトル
--------------------------------------------------------------*/
#header .row_header .row_header_box { /* ロゴとナビとダイアルを横並びにする */
	display: flex;
	justify-content: space-between;
}

#header .row_header .row_header_box .site_title { /* タイトルロゴの幅 */
	width: 300px;
	z-index: 99999;
}

#header .site_title a:hover {
	opacity: 0.5;
}

@media screen and (min-width: 768px) and ( max-width: 1024px) {
	#header .header_logo_area {
		padding: 10px;
	}
}

@media screen and (max-width : 767px) {
	#header .header_logo_area {
		padding: 5px;
	}
}

/*--------------------------------------------------------------
  グローバルナビ
--------------------------------------------------------------*/
#header .global-nav .menu {
	z-index: 99999;
}
#header .global-nav .menu ul {
	display: flex;
}

#header .global-nav .menu ul li {

}

#header .global-nav .menu ul li a {
	display: block;
	padding: 20px;
	font-size: 16px;
	font-size: 1.6rem;
}

#header .global-nav .menu ul li a:hover {
	background: url(../img/header-menu-current.png) no-repeat center;
}

#header .global-nav .menu ul .current a {
	background: url(../img/header-menu-current.png) no-repeat center;
}

/*==================================
  メニューを開いたら背景が暗くなる
==================================*/
.overlay {
	content: "";
	display: block;
	width: 0;
	height: 0;
	background-color: rgba(0,0,0,.7);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 150;
	opacity: 0;
	transition: opacity .5s;
	overflow: hidden;
	z-index: 999999;
}

.overlay.open {
	width: 100%;
	height: 100%;
	opacity: 0;
}

@media screen and (min-width: 768px) and ( max-width: 1024px) {
	/*==================================
	グローバルメニューの設定
	==================================*/
	#header .global-nav {/* グローバルメニュー全体の設定 */
		z-index: 99;
		position: fixed;
		top: 0;
		left: 150%;
		width:100%;
		transition: all 0.5s;
		z-index: 9999999;
		background: #fff;
	}

	#header .global-nav .menu ul {
		display: block;
	}

	#header .global-nav .menu ul li {
		text-align: center;
	}

	#header .global-nav .menu ul li:first-child {
		padding-top: 50px;
	}

	#header .panelactive {/* メニューボタンが押されたら左に出す設定 */
		left: 0%;
		transition: all 0.5s;
	}

	/*==================================
	グローバルメニューのボタンの設定
	==================================*/
	.openbtn1{
		position: relative;/*ボタン内側の基点となるためrelativeを指定*/
		position: fixed;
		top: 0;
		right: 0;
		z-index: 9999999;
		background: #209cc4;
		border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
		cursor: pointer;
		width: 50px;
		height: 50px;
		z-index: 99999999;
	}

	/*ボタン内側*/
	.openbtn1 span{
		display: inline-block;
		transition: all .4s;/*アニメーションの設定*/
		position: absolute;
		left: 14px;
		height: 3px;
		border-radius: 2px;
		background: #fff;
		width: 45%;
	}

	.openbtn1 span:nth-of-type(1) {
		top:15px;
	}

	.openbtn1 span:nth-of-type(2) {
		top:23px;
	}

	.openbtn1 span:nth-of-type(3) {
		top:31px;
	}

	/*activeクラスが付与されると線が回転して×に*/
	.openbtn1.active span:nth-of-type(1) {
		top: 18px;
		left: 18px;
		transform: translateY(6px) rotate(-45deg);
		width: 30%;
	}

	/*真ん中の線は透過*/
	.openbtn1.active span:nth-of-type(2) {
		opacity: 0;
	}

	.openbtn1.active span:nth-of-type(3){
		top: 30px;
		left: 18px;
		transform: translateY(-6px) rotate(45deg);
		width: 30%;
	}

	/*==================================
	  メニューを開いたら背景が暗くなる
	==================================*/
	.overlay.open {
		width: 100%;
		height: 100%;
		opacity: 1;
	}

}

@media screen and (max-width : 767px) {
	/*==================================
	グローバルメニューの設定
	==================================*/
	#header .global-nav {/* グローバルメニュー全体の設定 */
		z-index: 99;
		position: fixed;
		top: 0;
		left: 150%;
		width:100%;
		transition: all 0.5s;
		z-index: 9999999;
		background: #fff;
	}

	#header .global-nav .menu ul {
		display: block;
	}

	#header .global-nav .menu ul li {
		text-align: center;
	}

	#header .global-nav .menu ul li:first-child {
		padding-top: 50px;
	}

	#header .panelactive {/* メニューボタンが押されたら左に出す設定 */
		left: 0%;
		transition: all 0.5s;
	}

	/*==================================
	グローバルメニューのボタンの設定
	==================================*/
	.openbtn1{
		position: relative;/*ボタン内側の基点となるためrelativeを指定*/
		position: fixed;
		top: 0;
		right: 0;
		z-index: 9999999;
		background: #209cc4;
		border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
		cursor: pointer;
		width: 50px;
		height: 50px;
		z-index: 99999999;
	}

	/*ボタン内側*/
	.openbtn1 span{
		display: inline-block;
		transition: all .4s;/*アニメーションの設定*/
		position: absolute;
		left: 14px;
		height: 3px;
		border-radius: 2px;
		background: #fff;
		width: 45%;
	}

	.openbtn1 span:nth-of-type(1) {
		top: 15px;
	}

	.openbtn1 span:nth-of-type(2) {
		top: 23px;
	}

	.openbtn1 span:nth-of-type(3) {
		top: 31px;
	}

	/*activeクラスが付与されると線が回転して×に*/
	.openbtn1.active span:nth-of-type(1) {
		top: 18px;
		left: 18px;
		transform: translateY(6px) rotate(-45deg);
		width: 30%;
	}

	/*真ん中の線は透過*/
	.openbtn1.active span:nth-of-type(2) {
		opacity: 0;
	}

	.openbtn1.active span:nth-of-type(3){
		top: 30px;
		left: 18px;
		transform: translateY(-6px) rotate(45deg);
		width: 30%;
	}

	/*==================================
		メニューを開いたら背景が暗くなる
	==================================*/
	.overlay.open {
		width: 100%;
		height: 100%;
		opacity: 1;
	}


}

/*--------------------------------------------------------------
  フロントダイヤル
--------------------------------------------------------------*/
#header .front-tel {
	z-index: 99999;
	padding: 10px;
}

#header .front-tel a {
	display: flex;
}

#header .front-tel a:hover {
	opacity: 0.5;
}

#header .front-tel img {
	width: 40px;
	height: 40px;
}

#header .front-tel .front-tel-number {
	color: #c3181f;
	font-size: 22px;
	font-size: 2.2rem;
	font-weight: 100;
	/* text-align: center; */
}

#header .front-tel p {
	font-size: 12px;
	font-size: 1.2rem;
	/* text-align: center; */
	padding-left: 10px;
}

@media screen and (min-width: 768px) and ( max-width: 1024px) {
	#header .front-tel {
		padding: 20px 0 30px 0;
	}

	#header .front-tel a {
		justify-content: center;
	}

}

@media screen and (max-width : 767px) {
	#header .front-tel {
		padding: 20px 0 30px 0;
	}

	#header .front-tel a {
		justify-content: center;
	}
}

/*--------------------------------------------------------------
  フロントお問い合わせ（ipad・モバイルのみ）
--------------------------------------------------------------*/
@media screen and (min-width: 768px) and ( max-width: 1024px) {
	.mobaile_menu_contact {
		margin-bottom: 40px;
	}

	.mobaile_menu_contact a {
		/* width: 70%; */
		width: fit-content;
		margin: 0 auto;
		font-size: 15px;
		font-size: 1.5rem;
		padding: 10px;
		background: #eae841;
		border-radius: 45px;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.mobaile_menu_contact a:hover {
		background: #e4d317;
	}

	.mobaile_menu_contact a img {
		width: 40px;
		height: 40px;
	}

	.mobaile_menu_contact a span {
		padding: 0px 10px;
	}
}

@media screen and (max-width : 767px) {
	.mobaile_menu_contact {
		margin-bottom: 40px;
	}

	.mobaile_menu_contact a {
		/* width: 70%; */
		width: fit-content;
		margin: 0 auto;
		font-size: 15px;
		font-size: 1.5rem;
		padding: 10px;
		background: #eae841;
		border-radius: 45px;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.mobaile_menu_contact a:hover {
		background: #e4d317;
	}


	.mobaile_menu_contact a img {
		width: 40px;
		height: 40px;
	}

	.mobaile_menu_contact a span {
		padding: 0px 10px;
	}

}

/*--------------------------------------------------------------
  ヘッダーの白ペンキ
--------------------------------------------------------------*/
#header .paint-line-white {
	position: relative;
}

#header .paint-line-white img {
	width: 100%;
	z-index: 9;
	position: absolute;
	top: -5px;
}

/*--------------------------------------------------------------
  お問い合わせボタン
--------------------------------------------------------------*/
.contact-btn {
	z-index: 999999;
	position: fixed;
	top: 270px;
	right: 0;
}

.contact-btn a {
	display: flex;
	font-size: 20px;
	font-size: 2.0rem;
	font-weight: 100;
	writing-mode: vertical-rl;
	align-items: center;
	padding: 12px 8px;
	color: #333;
	background: #eae841;
	border-radius: 10px 0 0 10px;
	outline: 2px solid #f3f3f3;
}

.contact-btn a:hover {
	background: #e4d317;
}

.contact-btn a img {
	width: 45px;
	margin-bottom: 5px;
}

@media screen and (min-width: 768px) and ( max-width: 1024px) {
	.contact-btn a {
		font-size: 15px;
		font-size: 1.5rem;
		padding: 12px 6px;
	}

	.contact-btn a img {
		width: 30px;
		margin-bottom: 5px;

	}

}

@media screen and (max-width : 767px) {
	.contact-btn {
		top: unset;
		bottom: 50px;
	}

	.contact-btn a {
		font-size: 15px;
		font-size: 1.5rem;
		padding: 12px 6px;
	}

	.contact-btn a img {
		width: 30px;
		margin-bottom: 5px;
	}

}

/*--------------------------------------------------------------
  スライド（フロントページ）
--------------------------------------------------------------*/
.mainvisu img {
	width: 100%;
	height: auto;
}

/*--------------------------------------------------------------
  スライド（下層ページ）
--------------------------------------------------------------*/
.subvisu {
	background: url(../img/subvisu/subvisu.png) no-repeat;
	background-size: cover;
	width: 100%;
	height: 250px;
	position: relative;
}

.subvisu h1 {
	font-size: 40px;
	font-size: 4.0rem;
	color: #fff;
	width: 100%;
	position: absolute;
	top: 55%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	-webkit- transform: translat;
	text-align: center;
}

@media screen and (min-width: 768px) and ( max-width: 1024px) {
	.subvisu {
		background-position: center;
	}
}

@media screen and (max-width : 767px) {
	.subvisu {
		height: 150px;
		background-size: unset;
		background-position: right;
	}

	.subvisu h1 {
		font-size: 35px;
		font-size: 3.5rem;
		top: 50%;
	}
}
