@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.header-container {
	padding: 10px 0;
}
.navi-in > ul {
	display: flex;
	justify-content: flex-end;
}
.navi-in > ul li {
	width: inherit;
}
.navi-in > ul.menu-top li {
	margin-left: .5em;
}
.navi-in a {
    display: block;
	border-radius: 200px;
}

.fa-remove:before, .fa-close:before, .fa-times:before {
	font-family: "Font Awesome 5 Free";
    content: "\f410";
}



/*フロントページ*/
.headerFront {
	position: absolute;
	z-index: 1;
	background: none;
	width: 100%;
}
.navi {
	background: none;
}
.navi .item-label, .navi .item-description {
	background: rgba(255,255,255,.6);
	width: 80px;
	height: 80px;
	border-radius: 200px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-size: 10px;
	line-height: 1.2;
}


/*
スライダー
*/
#slider {
	width: 100%;
	height: 100vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}

/*
レイアウトのためのCSS
 */
.wrapper{
	position: relative;
}








/*コンテンツ*/
.content {
	padding-bottom: 150px;
}

/*フッター*/
.footer {
	position: fixed!important;
	bottom: 0;
	width: 100%;
	background: rgba(255,255,255,.5);
}
.copyright {
	font-size: 8px;
}

.navi-footer-in a {
	font-size: 12px;
}
.navi-footer-in a:hover {
    background-color: rgba(255,255,255,0);
}


























/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
	
	.footer {
		display: none;
	}
	
	#navi .navi-in > .menu-mobile li {
		background: rgba(255,255,255,.6);
		width: 15%;
		height: 40px;
		border-radius: 5px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		font-size: 12px;
		line-height: 1.2;
	}
	#navi .navi-in > .menu-mobile li:last-child {
		margin-right: .5em;
	}
	.navi .item-label, .navi .item-description {
		background: rgba(255,255,255,0);
		width: 100%;
		height: 60px;
	}
	.navi-in a:hover {
		background-color:  rgba(255,255,255,0);
	}
	
	.mobile-menu-buttons {
		background: rgba(255,255,255,.6);
	}
	
	
	
	
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	.navi-in > ul.menu-top li {
		margin-right: .5em;
	}
	#navi .navi-in > .menu-mobile {
		width: 160px;
		position: absolute;
		right: 0;
	}
	#navi .navi-in > .menu-mobile li {
		width: 100%;
		height: 40px;
		border-radius: 5px;
		margin-bottom: 1em;
	}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	#navi .navi-in > .menu-mobile {
		width: 30%;
	}
	#navi .navi-in > .menu-mobile li {
		width: 100%;
	}
}















/*
アニメーション
 */

/*===================================
左から右に背景が伸びる
===================================*/

/*背景の設定*/

.navi-footer-in ul li a{
    /*背景色の基点とするためrelativeを指定*/
  position: relative;
}

.navi-footer-in ul li a::after {
  content: '';
    /*絶対配置で線の位置を決める*/
  position: absolute;
  z-index: -1;
  bottom: 0;
  right: 0;
    /*背景の形状*/
  width: 0;
  height:100%;
  background:#fff;
    /*アニメーションの指定*/
  transition:all .5s;
  opacity: 0;/*はじめは透過0*/
}

/*現在地とhoverの設定*/
.navi-footer-in ul li.current a::after,
.navi-footer-in ul li a:hover::after {
    /*背景の形状*/
  width: 100%;/*横幅を伸ばす*/
  opacity: 1;/*不透明に*/
}
