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

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

/*共通*/
body{
	letter-spacing:.2em;
	overflow-x: hidden;
}
.main{
	border:none;
}
.content{
	margin-top:42px;
}
#container{
	overflow-x:hidden;
}
.grecaptcha-badge { visibility: hidden; }


/*ページのフェードイン*/
#container.page-fade-in{
	opacity: 1;
}
#container{
	opacity: 0;
	transition: opacity 1.2s ease, transform 1.2s ease;
}
.home #container{
	opacity:1;
	transform: unset;
}

/*TOPページのみヘッダーを５秒後にスライドダウン*/
.home .custom-header {
    top: -100px; /* 初期位置を画面外に設定 */
    opacity: 0;
    transition: top 2s ease-out, opacity 2s ease-out;
}
.home .custom-header.header-slide-in {
    top: 0;
    opacity: 1;
}

/*ヘッダー*/
#header-in .logo.logo-header.logo-text {
    display: none;
}

/*フッター*/
#footer{
	display:none;
}

/*TOPページ*/
.home #content, .home #content-in{
  margin: 0;
  width: 100%;
}
.home .main{
  padding: 0;
  border: none;
}
.home .entry-title{
  display: none;
}
.home header.article-header.entry-header{
	display:none;
}
.home .entry-content{
	margin:0;
}
.home .page .entry-content{
	margin-top:0;
}
@media screen and (min-width: 1238px){
	.home .page .entry-content{
		margin:0;
		max-width:100%;
	}
}

/*翻訳プラグインBOGO*/
.bogo-language-switcher{
  display: flex;
  align-items: center;
  padding: 0;
}
.bogo-language-switcher .first:after{
    background: white;
    width: 1px;
    height: 1em;
    display: inline-block;
    content: " ";
    margin: 0 .55em 0 .4em;
}
.bogo-language-switcher .bogoflags{
  display: none;
}
.bogo-language-switcher a{
  text-decoration: none;
}
.bogo-language-name a.current{
  border-bottom: .5px solid white;
  padding-bottom: 1px;
}

/*固定ページ*/
.page .wrap{
	margin:0;
	width:100%;
}
.page .eye-catch{
	position:absolute;
	width: 100%;
	height: 300px;
	top:0;
	left:0;
	background:black;
}
.page .eye-catch img {
	position:absolute;
	width: 100%;
	height: 300px;
	overflow: hidden;
	object-fit: cover;
	opacity:.7;
}
.page .entry-title {
	position: absolute;
	top: 200px;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	font-size: 3rem;
	z-index: 1;
	margin: 0;
	text-align:center;
}
.page .entry-content{
	margin-top:300px;
}
@media screen and (min-width: 1238px){
	.page .eye-catch, .page .eye-catch img{
		height: 600px;
	}
	.page .entry-title {
		top:450px;
	}
	.page .entry-content{
		margin:600px auto 0;
		max-width:1238px;
	}
	.page .entry-title {
		font-size:4em;
	}
}


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

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

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