@charset "utf-8";

/*========= STYLEに移す分 ===============*/

@media screen and (max-width:1788px){
	/* 一番上 */
	.headerBlockA {
		padding: 20px 100px 0 0;
	}
}

/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position:fixed;
	z-index: -1;
	opacity: 0;/*はじめは透過0*/
    /*ナビの位置と形状*/
	top:0;
	right:0;
	width: 30%;
	min-width: 500px;
    height: 100vh;/*ナビの高さ*/
	background: #e60012;
    /*動き*/
	transition: all 0.3s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive{
	opacity: 1;
	z-index:9999997;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 9999998; 
    width: 30%;
	min-width: 500px;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*スクロールバー*/
#g-nav-list::-webkit-scrollbar {
	width: 7px;
}
#g-nav-list::-webkit-scrollbar-thumb {
	background: #9ACB34;
	border-radius: 5px;
}
#g-nav-list::-webkit-scrollbar-track {
	background: #FFFFFF;
}


/*========= ボタンのためのCSS ===============*/

.openbtn{
	position:fixed;
    z-index: 9999999;/*ボタンを最前面に*/
	top: 23px;
	right: 30px;
	cursor: pointer;
    width: 90px;
    height: 90px;
    background: #FFFFFF;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 10px;
    height: 6px;
	background-color: #e60012;
  	width: 70px;
  }

.openbtn span:nth-of-type(1) {
	top:16px;
}

.openbtn span:nth-of-type(2) {
	top:42px;
}

.openbtn span:nth-of-type(3) {
	top:68px;
}

.openbtn.active {
    background: #FFFFFF;
}

.openbtn.active span:nth-of-type(1) {
    top: 38px;
    left: 10px;
    transform: translateY(6px) rotate(-45deg);
    width: 74px;
}

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

.openbtn.active span:nth-of-type(3){
    top: 50px;
    left: 10px;
    transform: translateY(-6px) rotate(45deg);
    width: 74px;
}


@media screen and (max-width:768px){
/*
	.openbtn{
	    width: 90px;
	    height: 90px;
	}
	
	/*×に変化*/	
/*	.openbtn span{
	    left: 24px;
	}

	.openbtn span:nth-of-type(1) {
		top:30px;	
	}
	
	.openbtn span:nth-of-type(2) {
		top:43px;
	}

	.openbtn span:nth-of-type(3) {
		top:56px;
	}

	.openbtn.active span:nth-of-type(1) {
	    top: 38px;
	    left: 22px;
	}

	.openbtn.active span:nth-of-type(3){
	    top: 50px;
	    left: 22px;
	}
*/
}

/*========= ナビゲーションドロップダウンのためのCSS ===============*/

#navCover{
	width: calc(100% - 40px);
	height: calc(100% - 40px);
	margin: 20px;
	position: relative;
	background: #FFFFFF;
}

nav{
	background:#333;
	background:transparent;
	color: #fff;
}

/*==ナビゲーション全体の設定*/
nav ul{
	list-style: none;
	text-align: left;
	margin: 0;
	padding: 0;
}


/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li{
	position: relative;
}

/*ナビゲーションのリンク設定*/
nav ul li a{
	display: block;
	text-decoration: none;
	color: #FFF;
	padding:10px 10px 10px 40px;
	transition:all .3s;
}

nav ul li a:link {
	color:#FFF;
	text-decoration: none;
}
nav ul li a:visited {
	color:#FFF;
	text-decoration: none;
}
nav ul li a:hover, a:active, a:focus {
	color:#9ACB34;
	text-decoration: none;
}


/*2階層目を持つli*/
nav > ul > li.has-child > a{
	font-size: 36px;
}


/*==矢印の設定*/


/*2階層目を持つliの矢印の設定*/
nav ul li.has-child::before{
	font-family: FontAwesome;
	content: "\f138";
	position: absolute;
	font-size: 20px;
	top: 30px;
	left: 10px;
	pointer-events: none;
	z-index: 100;
}

/*3階層目を持つliの矢印の設定*/
nav ul ul li.has-child::before{
	font-family: FontAwesome;
	content: "\f138";
	position: absolute;
	font-size: 20px;
	top: 16px;
	left: 10px;
	pointer-events: none;
	z-index: 100;
}

/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/
nav li.has-child ul{
	position: relative;
	left:0;
	top:0;
	z-index: 4;
	background:#28BFE7;
	background:transparent;
	padding-left: 30px;
	font-size: 22px;
	width:100%;
	visibility:visible;/*JSで制御するため一旦表示*/
	opacity:1;/*JSで制御するため一旦表示*/
	display: none;/*JSのslidetoggleで表示させるため非表示に*/
	transition:none;/*JSで制御するためCSSのアニメーションを切る*/
}

/*hoverしたら表示*/
nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}

/*ナビゲーションaタグの形状*/
nav li.has-child ul li a{
	color: #fff;
	border-bottom:solid 1px rgba(255,255,255,0.6);
	border-bottom:none;
}

nav li.has-child ul li:last-child a{
	border-bottom:none;
}

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active{
	background:#9ACB34;
}

/*==3階層目*/

/*3階層目の位置*/
nav li.has-child ul ul{
  	position: relative;
	left:0;
	top:0;
	background:#66ADF5;
	background:transparent;
	width:100%;
	visibility:visible;/*JSで制御するため一旦表示*/
	opacity:1;/*JSで制御するため一旦表示*/
	display: none;/*JSのslidetoggleで表示させるため非表示に*/
	transition:none;/*JSで制御するためCSSのアニメーションを切る*/	
}

nav li.has-child ul ul li a:hover,
nav li.has-child ul ul li a:active{
	background:#9ACB34;
}


nav ul li a{
	border-bottom:1px solid #ccc;
	border-bottom:none;
	color: #fff;
}

/*矢印の向き*/

nav ul li.has-child::before,
nav ul ul li.has-child::before{
    transform: rotate(0deg);
}

nav ul li.has-child.active::before{
	font-family: FontAwesome;
	content: "\f13a";
}

/*========= ヘッダー改造　追加 ===============*/

.navArea{
	width:90%;
	margin: 0 auto;
}

.navBlockA, .navBlockA2{
	padding: 0 10px 0px 10px;
	color: #fff;
	border-bottom: 1px solid #fff;
}

/* ホーム及び検索用のエリア */
.navBlockA2{
	padding: 38px 10px 0px 10px;
	border-bottom: none;
}
.navBlockA2 > .navMenu1{
	justify-content: flex-start;
	padding: 0 0 1em 0;
	gap:0 50px;
}
.navBlockA2 > .navMenu1 > div{
	font-size:31px;
	line-height: 1.0em;
	width: 31px;
	height: 31px;
}
.smSearchBtn{
	cursor: pointer;
	-webkit-transition: all 0.5s ease-out;  /* Saf3.2+, Chrome */
	-moz-transition: all 0.5s ease-out;  /* FF4+ */
	-ms-transition: all 0.5s ease-out;  /* IE10? */
	-o-transition: all 0.5s ease-out;  /* Opera 10.5+ */
	transition: all 0.5s ease-out;
}
.smSearchBtn:hover{
	opacity: 0.7;
}
.smSearchBtn, .smNavSearch{		/* メニュー内の検索エリアはスマホ時のみ表示 */
	display: none;
}
.smNavSearch{
	margin-bottom:1.8em;
}
.smNavSearch > .searchFlexBox {
	justify-content: center;
}
.smNavSearch > .searchFlexBox > .naviSearch {
	text-align: center;
}
.smNavSearch > .searchFlexBox .searchField{
	width:calc(90% - 3em);
}

.navBlockB{
	padding: 35px 20px;
}

.navBlockC{
	margin-bottom:30px;
	padding: 100px 10px 100px 10px;
	color: #fff;
}

.navMenu1{
	padding: 0 0 1em 0;
	font-size: 12px;

	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
}
.navMenu1 > div{
	width:  25%;
	padding: 0 10px;
	margin: 0 0 40px 0;
	text-align: center;
}

.navMenu1 > div a span{
	display: block;
	width:  100%;
	margin: 0 0 1em 0;
	background: rgba(255,255,255,1);
	border-radius: 50%;
	-webkit-transition: all 0.5s ease-out;  /* Saf3.2+, Chrome */
	-moz-transition: all 0.5s ease-out;  /* FF4+ */
	-ms-transition: all 0.5s ease-out;  /* IE10? */
	-o-transition: all 0.5s ease-out;  /* Opera 10.5+ */
	transition: all 0.5s ease-out;
}

.navMenu1 > div a span img{
	display: block;
	max-width:  100%;
	height: auto;
}

.navMenu1 a{
	color:#FFFFFF;
	text-decoration: none;
}
.navMenu1 a:link {
	color:#FFFFFF;
	text-decoration: none;
}
.navMenu1 a:visited {
	color:#FFFFFF;
	text-decoration: none;
}
.navMenu1 a:hover, .navMenu1 a:active, .navMenu1u a:focus {
	color:rgba(255,255,255,0.7);
	text-decoration: none;
}

.navMenu1 > div a:hover span{
	background: rgba(255,255,255,0.7);
}





.navMenu2{
	margin: 0 auto;
	padding: 0;
	font-size: 23px;
	font-weight: bold;

	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
}
.navMenu2 > a{
	display: block;
	width: 90%;
	padding: 0.75em 1.5em;
	margin: 0 auto 50px auto;
	border: 1px solid #fff;
	border-radius: 2.5em;
	text-align: center;
	color: #FFF;
	text-decoration: none;
}
.navMenu2 > a:hover{
	background: #9ACB34;
}
.navMenu2 > a > img{
	height: 1.4em;
	width: auto;
	vertical-align: middle;
}
.navMenu2 > a:last-child > img{
	padding: 3px;
}

/* 外部リンク */
nav .ext::after {
	content: '';/*何も入れない*/
	display: inline-block;/*忘れずに！*/
	width: 18px;
    height: 18px;
	margin-left: 0.5em;
    background: url("../../images/icon/icon_blank02.png") 50% 50% no-repeat;
    background-size: contain;
	vertical-align: middle;
}


/* 池田さとるさん公式サイト用に追加したメニュー */
nav.navigation ul{
	font-size:150%;
}
nav.navigation ul li{
	position: relative;
}
nav.navigation ul li a{
	display: block;
	text-decoration: none;
	color: #e60012;
	padding:0.5em 0.5em 0.5em 1.4em;
	transition:all .3s;
}
nav.navigation ul li a:link {
	color:#e60012;
	text-decoration: none;
}
nav.navigation ul li a:visited {
	color:#e60012;
	text-decoration: none;
}
nav.navigation ul li a:hover, a:active, a:focus {
	color:#f67d87;
	text-decoration: none;
}
nav.navigation ul li::before{
	color:#e60012;
	font-family: FontAwesome;
	content: "\f138";
	position: absolute;
	font-size:100%;
	top: 0.75em;
	left: 0;
	pointer-events: none;
	z-index: 100;
}


/*==768px以下の形状*/

@media screen and (max-width:768px){

	/* ホーム及び検索用のエリア */
	.navBlockA2{
		padding: 46px 10px 0.1em 10px;
	}
	.navBlockA2 > .navMenu1 > div{
		font-size:40px;
		width: 40px;
		height: 40px;
	}
	.smSearchBtn{
		display: block;
	}

	.navMenu1{
		font-size: 18.5px;
	}
	
	.navMenu2{
		font-size: 27px;
	}

	#g-nav{
		width:100%;
		min-width: 100%;
	}

	/*ナビゲーションの縦スクロール*/
	#g-nav.panelactive #g-nav-list{
		width: 100%;
		min-width: 100%;
	}
	
	/*2階層目を持つli*/
	nav > ul > li.has-child > a{
		font-size: 36px;
	}


	/*==矢印の設定*/


	/*2階層目を持つliの矢印の設定*/
	nav ul li.has-child::before{
		font-size: 20px;
	}

	/*3階層目を持つliの矢印の設定*/
	nav ul ul li.has-child::before{
		font-size: 20px;
		top: 30px;
	}

	/*== 2・3階層目の共通設定 */

	/*下の階層を持っているulの指定*/
	nav li.has-child ul{
		font-size: 36px;
	}
	
	
	nav .ext::after {
		width: 25px;
	    height: 25px;
	}

	.navBlockC{
		margin-bottom: 135px;
	}

	/* 池田さとるさん公式サイト用に追加したメニュー */
	nav.navigation ul{
		font-size: 130%;
	}

}
