@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

html {
	scroll-padding-top: 80px;
}

/*
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
*/

/*------header------*/

.header-container {
	position: fixed;
	width: 100%;
	padding: 0 20px;
	background: transparent;
	z-index: 10;
}
@media screen and (max-width: 1023px){
	.header-container {
		position: static;
		background: #fff;
	}
}

@media screen and (min-width: 1024px){
	.header-container .header a {
		display: block;
		height: 60px;
		padding: 0 40px;
border-radius: 50px;
		background: #000;
		line-height: 60px;
		color: #fff;
transition: all 0.3s ease-in-out;
	}

	.header-container .header a:hover {
		background: #fff;
		color: #000;
	}
}

@media screen and (max-width: 1023px){
	.header-container .header {
		display: block;
		line-height: 60px;
		height: 60px;
	}
}

@media screen and (max-width: 834px){
	.header-container .header {
		height: 80px;
		line-height: inherit;
	}
}

.header-container .navi {
	background: transparent;
}

.header-container .navi-in > ul {
	justify-content: flex-end;
}

.header-container .navi-in > ul .menu-item a {
	background: #fff;
}

.header-container .navi-in > ul .menu-item a:hover {
	background: #000;
	color: #fff;
}

.header-container .navi-in > ul .menu-item:first-child a {
	border-radius: 50px 0 0 50px;
}

.header-container .navi-in > ul .menu-item:last-child a {
	border-radius: 0 50px 50px 0;
}

.header-container .navi-in > ul .menu-item-has-children a {
	border-radius: 0 !important;
}

.navi-in > ul .sub-menu {
	width: auto;
}


/*スクロール時の固定ヘッダー↓*/
.fixed-header {
	box-shadow: none !important;
}

.menu-close-button {
	padding: 50px 0 0 15px;
	text-align: left;
}



/*------------------------------------
横幅いっぱいコンテンツ
------------------------------------*/
.full-width {
	margin: 0 calc(50% - 50vw);
}


/*------------------------------------
home
------------------------------------*/

.home main {
	background: #a9b7ba;
}

.home .entry-header {
	display: none;
}

.home .frontvideo {
	margin-top: -160px;
}
@media screen and (max-width: 1023px){
	.home .frontvideo {
		margin-top: -70px;
	}
}
@media screen and (max-width: 834px){
	.home .frontvideo {
		margin-top: -50px;
	}
}
@media screen and (max-width: 480px){
	.home .frontvideo {
		margin-top: -50px;
	}
}



.home .frontvideo.none {
	display: none;
}

.home .frontvideo img {
	display: block;
	width: 100%;
	height: auto;
}



/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/

}
