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

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


/* ---------------------------------------------------------- */
/* フロントトップページの独自スタイル設定 
 * @author cravel <cravel@cravelweb.com> 
 */
/* 余白調整 */
.front-top-page .content-top {
	margin: 0!important;
}

/* ヘッダデザイン＆表示固定 */
.front-top-page .header-container {
	position: fixed;
	width: 100vw;
	z-index: 100;
	background-color:rgba(255, 255, 255, 0.8);
}

/* ヘッダメニュー項目を透明に */
.front-top-page .header-container .navi {
    background-color: transparent;
}

/* 固定ページの日付を非表示に */
.front-top-page .date-tags,
.front-top-page .author-info {
	display: none;
}

/* 本文中のパララックス見出しを使用する場合のオーバーライド */
.front-top-page .main {
	background-color: transparent!important;
}

/* パララックス見出し共通スタイル */
.front-top-page .parallax-hero,
.front-top-page .parallax-container {
	margin: 0 calc(50% - 50vw);
	padding: 0;
	width: 100vw;
}

/* ヒーローバナーサイズ指定 */
.front-top-page .parallax-hero {
	height: 80vh;
}

/* 文中見出しコンテナサイズ指定 */
.front-top-page .parallax-container {
	height: 40vh;
}

/* 文中見出しレイアウト指定 */
.front-top-page .parallax-helo {
	height: 100%;
	display: flex;
	flex-direction: column;
  	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

/* ヒーローバナー文字装飾 見出し用 */
.front-top-page .parallax-hero .parallax-heading h1,
.front-top-page .parallax-hero .parallax-heading h2,
.front-top-page .parallax-hero .parallax-heading .heading {
	margin: 0 auto!important;
	padding: 0!important;
	font-size: 3em;
	font-weight: bold;
	color:#fff;
	border: none!important;
	background: transparent!important;
	text-shadow: 1px 1px 2px #666;
}

/* ヒーローバナー文字装飾 説明文用 */
.front-top-page .parallax-hero .parallax-heading p,
.front-top-page .parallax-hero .parallax-heading .desc {
	margin: 0 auto!important;
	padding: 0!important;
	font-size: 1.5em;
	font-weight: bold;
	color:#fff;
	border: none!important;
	text-shadow: 1px 1px 2px #666;
}

/* ヒーローバナーフェードイン設定 */
.front-top-page .parallax-heading h1,
.front-top-page .parallax-heading h2,
.front-top-page .parallax-heading .heading,
.front-top-page .parallax-heading p,
.front-top-page .parallax-heading .desc {
   opacity: 0;
   animation-name: fadein-bottom;
   animation-duration: 1.5s;
   animation-timing-function: ease-out;
   animation-fill-mode: forwards;
}

/* ヒーローバナーフェードインアニメーション */
@keyframes fadein-bottom {
   0% {
      opacity: 0;
      transform: translateY(20px);
   }
   100% {
      opacity: 1;
      transform: translateY(0);
   }
}


/* 文中見出しレイアウト指定 */
.front-top-page .parallax-heading {
	height: 100%;
	display: flex;
	flex-direction: column;
  	flex-wrap: wrap;
	justify-content: center;
	align-items: initial;
}

/* 文中見出し文字装飾 */
.front-top-page .parallax-heading h1,
.front-top-page .parallax-heading h2,
.front-top-page .parallax-heading p {
	margin: 0;
	padding: 0 0 0 3.5em;
	font-size: 2em;
	font-weight: bold;
	color:#fff;
	border: none!important;
	background: transparent!important;
	text-shadow: 1px 1px 2px #666;
}

/* parallax.jsスライダー用スタイル */
.front-top-page .parallax-slider {
	top: 0;
	left: 0;
}

/* ヒーローに矢印を表示 */
.front-top-page a.hero-arrow {
	margin:0;
	padding:0;
}

/* ヒーローの矢印スタイル */
.front-top-page a.hero-arrow span {
  position: absolute;
  bottom: 200px;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 6px solid #fff;
  border-bottom: 6px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb 1.5s infinite;
  animation: parallaxArrow 3s infinite;
  box-sizing: border-box;
}

/* ヒーローの矢印アニメーション設定 */
@-webkit-keyframes parallaxArrow {
  0% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: rotate(-45deg) translate(-10px, 10px);
    opacity: 0;
  }
}
@keyframes parallaxArrow {
  0% {
    transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: rotate(-45deg) translate(-10px, 10px);
    opacity: 0;
  }
}

/* 新着記事コンテナ */
.front-top-page .new-entry-cards {
	padding: 4em 4em 4em 4em;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content:space-around;
}

/* 新着記事項目 */
.front-top-page .new-entry-cards .new-entry-card-link {
	flex-basis: 50%;
	padding:1em;
}

/* 新着記事の日付表示 */
.front-top-page .new-entry-card-date {
	display: block;
}

/* おすすめリンクコンテナ */
.front-top-page .navi-entry-cards {
	padding: 4em 4em 4em 4em;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content:space-around;
}

/* おすすめリンク項目 */
.front-top-page .navi-entry-cards .navi-entry-card-link {
	flex-basis: 30%;
}

/* コンテンツ下部の余白調整 */
.front-top-page .content-bottom {
	margin: 0;
}

/* フッタの余白調整 */
.front-top-page #footer {
	margin-top: 0;
}

/* 地図エリア表示 */
.front-top-page .map-area {
	background-image:url('https://www.zakkaowl.com/wp-content/uploads/2025/05/DSC07363-1.jpg');
	margin: 0 calc(50% - 50vw);
	padding: 3em;
	width: 100vw;
	display:flex;
	align-items :center;
	justify-content:center;
}

/* 地図エリアインナー */
.front-top-page .map-inner{
	background-color:rgba(0, 0, 0, 0.5);
	color: #fff;
	padding: 1em;
	display:flex;
}

/* 地図エリア住所表示 */
.front-top-page .map-address {
	padding-right:3em;
}
/* フロントページ専用メディアクエリ */
@media screen and (max-width: 1023px){
	/* 新着記事項目 */
	.front-top-page .new-entry-cards .new-entry-card-link {
		padding: 1em 0;
	}

	/* おすすめリンク項目 */
	.front-top-page .navi-entry-cards .navi-entry-card-link {
		padding: 1em 0;
	}
}

@media screen and (max-width: 834px){
	/* ヘッダを非表示にする */
	.front-top-page .header-container {
		display: none;
	}

	/* ヒーローバナー文字装飾 見出し用 */
	.front-top-page .parallax-hero .parallax-heading h1,
	.front-top-page .parallax-hero .parallax-heading h2,
	.front-top-page .parallax-hero .parallax-heading .heading {
		margin: 0 auto!important;
		padding: 0 1em!important;
		font-size: 2em;
	}

	/* ヒーローバナー文字装飾 説明文用 */
	.front-top-page .parallax-hero .parallax-heading p,
	.front-top-page .parallax-hero .parallax-heading .desc {
		margin: 0 auto!important;
		padding: 0 1em!important;
		font-size: 1.25em;
	}

	/* 文中見出し文字装飾 */
	.front-top-page .parallax-heading h1,
	.front-top-page .parallax-heading h2,
	.front-top-page .parallax-heading p {
		margin: 0 auto;
		padding: 0 1em;
		font-size: 2em;
	}

	/* 新着記事コンテナ */
	.front-top-page .new-entry-cards {
		padding: 3em 1em;
	}

	/* おすすめリンクコンテナ */
	.front-top-page .navi-entry-cards {
		padding: 3em 1em;
	}
	
	/* 新着記事項目 */
	.front-top-page .new-entry-cards .new-entry-card-link {
		flex-basis: 100%;
		padding: 1em 1em;
	}

	/* おすすめリンク項目 */
	.front-top-page .navi-entry-cards .navi-entry-card-link {
		flex-basis: 100%;
		padding: 1em 1em;
	}

	/* 地図エリア表示 */
	.front-top-page .map-address {
		padding-bottom: 1em;
	}
	.front-top-page .map-area {
		padding: 1.5em;
	}

	/* 地図エリアインナー */
	.front-top-page .map-inner{
		padding: 1em;
		display:flex;
		flex-direction: column;
	}
}
@media screen and (max-width: 480px){
	/* ヒーローバナー文字装飾 見出し用 */
	.front-top-page .parallax-hero .parallax-heading h1,
	.front-top-page .parallax-hero .parallax-heading h2,
	.front-top-page .parallax-hero .parallax-heading .heading {
		font-size: 1.5em;
	}

	/* 文中見出し文字装飾 */
	.front-top-page .parallax-heading h1,
	.front-top-page .parallax-heading h2,
	.front-top-page .parallax-heading p {
		font-size: 1.2em;
	}

	/* 地図エリア表示 */
	.front-top-page .map-area {
		padding: 0.5em;
	}

	/* 地図エリアインナー */
	.front-top-page .map-inner{
		padding: 0.5em;
	}
}
/* ---------------------------------------------------------- */


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

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

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