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

html,
html * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
	
}

/*ハンバーガーメニューの設定*/

#nav-open {
	display: inline-block;
	width: 33px;
	height: 31px;
	vertical-align: middle;
	margin-left: 10px;
	margin-right: 15px;
	float: right;
	margin-top: 25px;
}

/*ハンバーガーアイコンをCSSだけで表現*/
#nav-open span {
    position: absolute;
    transition: all 0.4s;
    height: 3px;/*線の太さ*/
    width: 25px;/*長さ*/
    border-radius: 3px;
    background-color:black;
    display: block;
    content: '';
    cursor: pointer;
    z-index: 9999;/*最前面*/
}

#nav-open span:before {
    position: absolute;
    transition: all 0.4s;
    height: 3px;/*線の太さ*/
    width: 25px;/*長さ*/
	border-radius: 3px;
    background-color:black;
    display: block;
    content: '';
    cursor: pointer;
    z-index: 9999;/*最前面*/
}

#nav-open span:after {
    position: absolute;
    transition: all 0.4s;
    height: 3px;/*線の太さ*/
    width: 25px;/*長さ*/
    border-radius: 3px;
    background-color:black;
    display: block;
    content:'';
    cursor: pointer;
    z-index: 9999;/*最前面*/
}


#nav-open span:before {
	bottom: -8px;
}

#nav-open span:after {
	bottom: -16px;
}

/*中身*/
#nav-content {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: .2s ease-in-out;
}

#nav-content.open {
    display: block;
    opacity: 1;
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    width: 100%;
    height: 100%;
    background-color:white;/*背景色*/
}


/*:beforeにぼかし効果を設定する*/
#nav-content.open:before {
	content: '';
	overflow: hidden;
	-webkit-filter: blur(10px);
	-moz-filter: blur(10px);
	-o-filter: blur(10px);
	-ms-filter: blur(10px);
	filter: blur(10px);
	z-index: -1;/*重なり順序を一番下にしておく*/
}


/*チェックが入ったら表示する内容*/

.hamburger-top {
	height: 40px;/*×ボタンと被らないように*/
}

.category {
	text-align: center;
	margin-top: 2rem;
}

.category-title {
	padding: 0.5rem;
}

.category-title a {
	color:black;
	text-decoration: none;
}


/*三本線を動かす*/
#nav-open.active span {
	-webkit-transform: translateY(8px) rotate(-45deg);
	transform: translateY(8px) rotate(-45deg);
}

#nav-open.active span:before {
	-webkit-transform: translateY(-8px) rotate(45deg);/*打ち消す*/
	transform: translateY(-8px) rotate(45deg);/*打ち消す*/
	opacity: 0;
}

#nav-open.active span:after {
	-webkit-transform: translateY(-16px) rotate(45deg);
	transform: translateY(-16px) rotate(90deg);
}

/*ハンバーガーメニューの設定　ここまで*/


/* スクロールして「scroll-navクラス」がついたときのヘッダーデザイン */
header.scroll-nav {
}

header {
/* スクロールしても他のコンテンツの下にならないようにする */
	z-index: 2;
    background-color: #FFFFFF;
    width: 100%;
    height: auto;
}


/*YouTubeの設定*/

.youtube-set {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin-bottom: 0px;
    margin-top: 10px;
}

.youtube-set iframe {
	position: absolute;
	top: 0;
	right: 0;
	width: 100% !important;
	height: 100% !important;
}



/***************************************************************************************************************/


/*タブレット用*/

@media (min-width: 768px){
	
body {
	margin-left: auto;
	margin-right: auto;
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-o-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
	
	
/*ハンバーガーメニューの設定*/

#nav-open {
    display: inline-block;
    width: 35px;
    height: 35px;
    vertical-align: middle;
    margin-left: 10px;
    margin-right: 15px;
    float: right;
    margin-top: 33px;
}
	
}




/***************************************************************************************************************/



/*デスクトップ用*/

@media (min-width: 1024px){
	
body {
	margin-left: auto;
    margin-right: auto;
	}
	
/*ハンバーガーメニューの設定*/

#nav-open {
    display: inline-block;
    width: 40px;
    height: 40px;
    vertical-align: middle;
    margin-left: 10px;
    margin-right: 15px;
    float: right;
    margin-top: 25px;
}
	
/*ハンバーガーメニューの設定*/
 
#nav li a {
  
}
	
	/*リンク関係*/
#nav li a:link {/*リンクされた文字の色*/
    color:#0A6D38;/*文字の色*/
    font-style:normal;
    text-decoration:none;/* なし */
}
	
#nav li a:hover {/*カーソルを合わせたときの色*/
    color:#0A6D38;/*文字の色*/
    font-style:normal;
    text-decoration:underline;/* 下線 */
}
	
#nav li a:visited {/*カーソルを合わせたときの色*/
    color:#0A6D38;/*文字の色*/
    font-style:normal;
    text-decoration:underline;/* 下線 */
}
	
#nav li a:active {/*クリック中の色*/
	text-decoration: none;/* なし */
	color: #0A6D38;
}
	
/*ハンバーガーメニューの設定　ここまで*/
	
	
/*YouTubeの設定*/

.youtube-set{
	position: relative;
	width: 100%;
	padding-top: 56.25%;	
}
	
.youtube-set iframe {
	position: absolute;
	top: 0;
	right: 0;
	width: 100% !important;
	height: 100% !important;
}
	
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block!important;}
.sp { display: none !important;}

/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 768px) {
.pc { display: none !important; }
.sp { display: block !important; }

}

