@charset "UTF-8";

/*-- Edit infomation===================================
File name:base.css
Description: layout-base
Editor: YT@TX
Last Editor: YT@TX
Date: 2022.01.14
===================================================--*/
.noto_sans {
	font-family: 'Noto Sans JP', sans-serif;
}

.noto_serif {
	font-family: 'Noto Serif JP', serif;
}

.zen_maru {
	font-family: 'Zen Maru Gothic', sans-serif;
}

/*--HOVER==========================================--*/
a:hover {
	opacity: .75;
	/* Standard: FF gt 1.5, Opera, Safari */
	filter: alpha(opacity=75);
	/* IE lt 8 */
	-ms-filter: "alpha(opacity=75)";
	/* IE 8 */
	-khtml-opacity: .75;
	/* Safari 1.x */
	-moz-opacity: .75;
	/* FF lt 1.5, Netscape */
}

/*--layout-base
===================================================--*/
body {
	position: relative;
	background: url(/preshade/images/top_bg.png) no-repeat top center;
	background-size: cover;
	background-attachment: fixed;
}

body::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background: url(/preshade/images/top_bg2.png) repeat top center;
	background-size: cover;
	background-attachment: fixed;
}

.container {
	padding-top: 75px;
}

.content {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.flex {
	display: flex;
	flex-wrap: wrap
}

.flex_content {
	display: flex;
}

.left_content,
.right_content {
	width: 48%;
	margin: 0 auto;
}

@media screen and (min-width:641px) {
	.container {
		padding-top: 60px;
	}
}

@media screen and (min-width:481px) and (max-width:980px) {
	.content {
		width: 99%;
	}
}

@media screen and (max-width:1200px) {
	.content {
		padding: 0 1%;
	}
}

/* ----------
  header
------------------------------*/
header {
	position: fixed;
	z-index: 5;
	width: 100%;
	padding: 10px 0 0;
	background-color: #fff;
	box-shadow: 2px 2px 2px #eef7fb;
}

.header_inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	max-width: 980px;
	margin: 0 auto;
	padding: 0 2%;
}

/*SNSアイコン*/
@media screen and (max-width:640px) {
	.header_logo {
		width: 100%;
	}

	.header_logo img {
		max-width: 300px;
	}

	.header_logo {
		width: 70%;
	}

	.sns_wrap {
		width: 30%;
		text-align: right;
	}

	.sns_wrap a {
		display: inline-block;
		width: 25px;
		margin: 0 1%;
	}
}

@media screen and (min-width:641px) {
	header {
		padding: 10px 0 10px;
	}

	.header_logo {
		width: 45%;
		text-align: center;
	}

	.header_logo img {
		max-width: 420px;
	}

	.sns_wrap {
		width: 45%;
		text-align: center;
	}

	.sns_wrap a {
		display: inline-block;
		width: 35px;
		margin: 0 5px;
	}
}

@media screen and (min-width:981px) {
	.header_inner {
		padding: 0;
	}
}

/* ----------
  footer
------------------------------*/
footer {
	position: relative;
	background-color: #fff;
	border-top: 5px solid #333;
	padding: 20px 0;
}

.foot_sns {
	margin-bottom: 10px;
	text-align: center;
}

.foot_sns a:last-child {
	margin-right: 0;
}

.foot_logo {
	text-align: center;
}

@media screen and (max-width:640px) {
	.foot_logo img {
		width: 80%;
		max-width: 300px;
	}

	.foot_sns a {
		margin-right: 2%;
	}
}

@media screen and (min-width:641px) {
	.foot_logo img {
		max-width: 320px;
	}

	.foot_sns a {
		margin-right: 15px;
	}
}

.foot_sns a img {
	max-width: 35px;
}

/* フリーダイヤル */
.footer2 {
	padding: 30px 0;
	background-color: #fff;
	text-align: center;
}

.footer2 h3 {
	padding: 5px 0;
	border-radius: 1.5em;
	color: #555;
	font-size: 1.5em;
	font-weight: bold;
}

.footer2 .tel_member {
	font-size: 1.5em;
	font-weight: bold;
	color: #0066c9;
}

.footer2 .tel_free {
	display: inline-block;
	margin-right: 5px;
	padding: 2px 0;
	border: 4px solid #333;
	background: #0066c9;
	color: #fff;
	font-weight: bold;
	vertical-align: bottom;
}

@media screen and (min-width:981px) {
	.footer2 .tel_member {
		font-size: 3em;
	}

	.footer2 .tel_free {
		padding: 15px 10px;
	}
}

/*========= ナビゲーションのためのCSS ===============*/
/*アクティブになったエリア*/
.gnavi.panelactive {
	/*position:fixed;にし、z-indexの数値を大きくして前面へ*/
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
}

/*丸の拡大*/
.circle-bg {
	position: fixed;
	z-index: 3;
	/*丸の形*/
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: #efefef;
	/*丸のスタート位置と形状*/
	transform: scale(0);
	/*scaleをはじめは0に*/
	top: -50px;
	left: calc(50% - 50px);
	/*50%から円の半径を引いた値*/
	transition: all .6s;
	/*0.6秒かけてアニメーション*/
}

.circle-bg {
	border-bottom: 2px solid #bbb;
}

.circle-bg.circleactive {
	transform: scale(50);
	/*クラスが付与されたらscaleを拡大*/
}

/*ナビゲーションの縦スクロール*/
.gnavi_list {
	display: none;
	/*はじめは表示なし*/
	/*ナビの数が増えた場合縦スクロール*/
	position: fixed;
	z-index: 99;
	width: 100%;
	height: 100vh;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.gnavi.panelactive .gnavi_list {
	display: block;
	/*クラスが付与されたら出現*/
}

/*ナビゲーション*/
.gnavi ul {
	opacity: 0;
	/*ナビゲーション天地中央揃え※レイアウトによって調整。不必要なら削除*/
	position: absolute;
	z-index: 99;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/*背景が出現後にナビゲーションを表示*/
.gnavi.panelactive ul {
	opacity: 1;
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整。不必要なら削除*/
.gnavi.panelactive ul li {
	animation-name: gnaviAnime;
	animation-duration: 1s;
	animation-delay: .2s;
	/*0.2 秒遅らせて出現*/
	animation-fill-mode: forwards;
	opacity: 0;
}

@keyframes gnaviAnime {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}


/*リストのレイアウト設定*/
.gnavi li {
	text-align: center;
	list-style: none;
}

.gnavi li a {
	color: #333;
	text-decoration: none;
	padding: 10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}


/*========= ボタンのためのCSS ===============*/
.gnavibtn {
	position: relative;
	z-index: 9999;
	/*ボタンを最前面に*/
	cursor: pointer;
	width: 10%;
	max-width: 50px;
	height: 40px;
	margin-left: auto;
}

/*×に変化*/
.gnavibtn span {
	display: inline-block;
	transition: all .4s;
	position: absolute;
	left: 10px;
	height: 3px;
	border-radius: 2px;
	background-color: #666;
	width: 56%;
}

.gnavibtn span:nth-of-type(1) {
	top: 7px;
}

.gnavibtn span:nth-of-type(2) {
	top: 15px;
}

.gnavibtn span:nth-of-type(3) {
	top: 23px;
}

.gnavibtn.active span:nth-of-type(1) {
	top: 8px;
	left: 8px;
	transform: translateY(6px) rotate(-45deg);
	width: 41%;
}

.gnavibtn.active span:nth-of-type(2) {
	opacity: 0;
}

.gnavibtn.active span:nth-of-type(3) {
	top: 20px;
	left: 8px;
	transform: translateY(-6px) rotate(45deg);
	width: 41%;
}

@media screen and (min-width:641px) {
	.gnavibtn span:nth-of-type(1) {
		top: 10px;
	}

	.gnavibtn span:nth-of-type(2) {
		top: 20px;
	}

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

	.gnavibtn.active span:nth-of-type(1) {
		top: 18px;
		left: 18px;
	}

	.gnavibtn.active span:nth-of-type(3) {
		top: 30px;
		left: 18px;
	}
}
