/*
Theme Name:     Gokanpopu
Template:       Avada
Version:        1.0
*/

body {
  background: #f0f0f0;
}


.pickup-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 40px auto;
}

.promo-card {
  width: 320px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  position: relative;
  background-color: #f0faff;
  transition: transform 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-5px);
}

.promo-image {
  overflow: hidden;
}

.promo-image img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
  display: block;
  object-fit: cover;
}

.promo-card:hover .promo-image img {
  transform: scale(1.05);
}


.pickup-thumb-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 12px 12px 0 0;
}

.promo-image:hover .pickup-thumb-img {
  transform: scale(1.05);
}

.promo-image {
  position: relative;
}

.new-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: red;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 8px;
  z-index: 10;
}




.promo-image img {
  width: 100%;
  display: block;
}

.promo-content {
  padding: 16px;
  background: #f0faff;
  position: relative;
}

.promo-label {
  font-size: 14px;
  color: #005174;
  font-weight: bold;
  text-align: center;
  margin: 8px 0;
  letter-spacing: 0.1em;
}

.promo-text {
  font-weight: bold;
  font-size: 16px;
  color: #000;
  line-height: 1.6;
  margin: 12px 0 40px;
}

.promo-arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.promo-arrow span {
  font-size: 20px;
  color: #007bff;
}

.promo-card:hover .promo-arrow {
  transform: translateX(4px);
}



/* 見出し装飾 */
.pickup-heading {
  text-align: center;
  margin-top: 50px; 
  margin-bottom: -30px;
}
.pickup-heading .label {
  font-size: 18px;
  color: #0099cc;
  font-weight: bold;
  margin-bottom: 5px;
}
.pickup-heading h2 {
  font-size: 40px;
  line-height: 1;
  font-weight: 900;
  color: #333;
  letter-spacing: 0.05em;
}

/* カードの装飾 */
.fusion-post-grid .fusion-post-wrapper {
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 15px;
  transition: transform 0.3s ease;
  height: 100%;
}
.fusion-post-grid .fusion-post-wrapper:hover {
  transform: translateY(-5px);
}
.fusion-post-grid .fusion-post-content {
  font-size: 14px;
  margin-top: 10px;
}
.fusion-post-grid .fusion-read-more {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  color: #0099cc;
}

.arrow-down {
  width: 0;
  height: 0;
  margin: 10px auto 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #0099cc; /* 矢印の色 */
}



.read-more {
  display: block;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 14px;
  color: #0077cc;
  text-align: left;
  text-decoration: none;
  font-weight: bold;
  padding-left: 0;
}


.promo-date {
  font-size: 13px;
  color: #666;
  margin-top: 5px;
  margin-bottom: 5px;
  text-align: left;
}







.bg-parallax-once {
  background-repeat: no-repeat !important;
  background-size: 100% auto !important; /* or "contain" if you want full height */
  background-position: center top !important;
}





.logo_ALL{
	margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;	
	display: flex;
}

.logobg{
  position: absolute;
	margin-top:-170px;
	margin-left:-170px;
  width: 350px;
  transform: translate(-50%, -50%);
	animation: spin 15s linear infinite;
}

.logo {
  position: absolute;
	margin-top:-20px;
  width: 230px;
  transform: translate(-48%, -50%);
}

@keyframes spin {
  from {
	transform: rotate(0deg);
  }
  to {
	transform: rotate(360deg);
  }
}

/*吹き出し*/
.bubble-container {
  position: relative;
	margin-top:45px;
	margin-left:-240px;
	top:  50%;
  left: 50%;
	width: 100vw;
	height: 5vh;
	display: flex;
}

/* バブルのグループ全体を中央配置 */
.bubble-wrapper {
	position: relative;
	width: 500px;  /* 吹き出しが収まる範囲 */
}

/* 各バブルのデザイン */
.bubble {
	position: absolute;
	padding: 10px 20px;
	border-radius: 20px;
	font-size:18px;
	box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
	opacity: 0;
	animation: fadeInOut 8s infinite;
}

/* 吹き出しの位置を中央基準で調整 */
.bubble:nth-child(1) { animation-delay: 0s; top: 30px; left: 20px;     background: #38907d; color: #fff}
.bubble:nth-child(2) { animation-delay: 1s; top: 100px; left: 120px;     background: #ce3071; color: #fff }
.bubble:nth-child(3) { animation-delay: 2s; top: 170px; left: 90px;     background: #faa40c; color: #fff }

@keyframes fadeInOut {
	0%, 100% { opacity: 0; transform: translateY(10px); }
	10%, 90% { opacity: 1; transform: translateY(0); }
}




.TOP_text{
	margin-top:280px;
	margin-bottom: 50px;
}


.text_mini{
	font-family: heisei-maru-gothic-std, sans-serif;
	font-weight: 800;
	font-style: normal;
	font-size: 23px;
		color: #603813;

}

.text_big{
	font-family: heisei-maru-gothic-std, sans-serif;
	font-weight: 800;
	font-style: normal;
	font-size: 35px;
		color: #603813;
	
}







/*イラスト*/
.TOP_takapu, .TOP_kira {
	position: absolute; /* もしくは fixed */
	top: 100px; 
	width: 250px; 
	height: auto;
}

.TOP_takapu {
	right: 0;
	margin-right: 230px;
}

.TOP_kira {
	left: 0;
	margin-left: 230px;
}

@media screen and (max-width: 1024px) {
	.TOP_takapu, .TOP_kira {
		width: 200px; 
	}
}

@media screen and (max-width: 768px) {
	.TOP_takapu, .TOP_kira {
		width: 150px; }
}


/*たかぷアニメーション*/
@keyframes sway-float {
  0% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(3deg); }
  50% { transform: translateY(0px) rotate(0deg); }
  75% { transform: translateY(10px) rotate(-3deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.wobble-float {
  animation: sway-float 3s ease-in-out infinite;
}



/*youtube埋め込み*/
.youtube-container {
	margin-top:260px;
	margin-bottom:130px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.youtube-video {
	width: 900px;
	height: 506px; /* 16:9 のアスペクト比 */
	border-radius: 15px; /* 角丸 */
	overflow: hidden;
}

/* iframeの角丸を適用 */
.youtube-video iframe {
	width: 100%;
	height: 100%;
	border-radius: 15px;
}




/*ループ設定*/
.bg-image-loop {
	width: 120%;
	height: 80px; /* 画像の高さを指定 */
	position: relative;
	background: url("https://gokanpopu.com/wordpress/wp-content/uploads/2025/03/sl_txt_001.png") repeat-x 0 0;
	background-size: auto 100%;
	animation: bg-slider 46s linear infinite; /* 23sの部分背景画像の約数だとスムーズ */
	margin: 0px -30px;
	padding: 0;
}
@keyframes bg-slider {
	from { background-position: 0 0; }
	to { background-position: -1518px 0; } /* 1518pxとは使用した背景画像の長さ */
}

.bg-image-loop2 {
	width: 120%;
	height: 80px; /* 画像の高さを指定 */
	position: relative;
	background: url("https://gokanpopu.com/wordpress/wp-content/uploads/2025/03/sl_txt_003.png") repeat-x 0 0;
	background-size: auto 100%;
	animation: bg-slider2 46s linear infinite; /* 23sの部分背景画像の約数だとスムーズ */
	margin: -70px -30px;
	padding: 0;
}
@keyframes bg-slider2 {
	from { background-position: -1518px 0; }
	to { background-position: 0　0; } /* 1518pxとは使用した背景画像の長さ */
}


.bg-image-loop3 {
	width: 120%;
	height: 80px; /* 画像の高さを指定 */
	position: relative;
	background: url("https://gokanpopu.com/wordpress/wp-content/uploads/2025/03/sl_txt_001.png") repeat-x 0 0;
	background-size: auto 100%;
	animation: bg-slider3 46s linear infinite; /* 23sの部分背景画像の約数だとスムーズ */
	margin: 0px -30px;
	padding: 0;
}
@keyframes bg-slider3 {
	from { background-position:-1518px 0; }
	to { background-position: 0 0; } /* 1518pxとは使用した背景画像の長さ */
}


.yugu_img{
	position: relative;
	margin:-40px -30px 40px -30px;
}







/*呪文*/
.jyumon_CON {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 60px auto;
  max-width: 1000px;
  position: relative;
	margin-top: -100px;
}

.jyumon_CON img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transform: scale(0.5) translateY(var(--y, 0));
  animation-name: jyumonAppear;
  animation-duration: 8s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

/* 各画像：個別のアニメーション遅延 */
.komo {
  --y: -50px;
	  margin-left: 40px;
  animation-delay: 0s;
}
.hamo {
  --y: 20px;
  margin-left: -40px;
  animation-delay: 1s;
}
.gokkan {
  --y: -35px;
  margin-left: -40px;
  animation-delay: 2s;
}
.puuu {
  --y: 40px;
  margin-left: -50px;
  animation-delay: 3s;
}

/* 表示 → 固定 → 一斉に消える → リセット → 再表示 */
@keyframes jyumonAppear {
  0% {
	opacity: 0;
	transform: scale(0.5) translateY(var(--y));
  }
  10% {
	opacity: 1;
	transform: scale(1.5) translateY(var(--y));
  }
  20%, 70% {
	opacity: 1;
	transform: scale(1) translateY(var(--y));
  }
  80% {
	opacity: 0;
	transform: scale(0.5) translateY(var(--y));
  }
  100% {
	opacity: 0;
	transform: scale(0.5) translateY(var(--y));
  }
}




.TATE-text {
  writing-mode: vertical-rl;
  display: flex;
margin-left: -30px;
  align-items: center; 
  width: 100vw; 
  font-family: heisei-maru-gothic-std, sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 18px;
	line-height: 50px;
	color: #603813;
}

.YUGU_text_big{
		font-family: heisei-maru-gothic-std, sans-serif;
font-weight: 800;
font-style: normal;
	font-size: 33px;
		color: #603813;
		margin-top:30px;
	margin-bottom: 40px;
	
}

.YUGU_text_mini{
font-family: heisei-maru-gothic-std, sans-serif;
font-weight: 400;
font-style: normal;
	font-size: 19px;
		color: #603813;
	
}






/*遊具紹介*/
/* === レイアウト全体 === */
.YUGUbuttons {
  display: flex;　!important;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.YUGUbutton {
  display: block;
  position: relative;
  width: 200px;
  height: 220px;
  cursor: pointer;
}

.YUGUbutton img.name {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.YUGUbutton img.main {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: auto;
  transition: transform 0.3s ease;
  z-index: 1;
}

.YUGUbutton:hover img.name {
  opacity: 1;
}

.YUGUbutton:hover img.main {
  transform: translateX(-50%) scale(1.3);
}





.YG_ID {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.YG_ID > div {
  margin-bottom: 60px;
  text-align: center;
}

.YG_ID img {
  max-width: 100%;
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 0 auto;
}


.YG_card {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  text-align: center;
  position: relative;
}



.YG_card:target {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: katamuki 0.8s ease;
}

.YG_card::before {
  content: "";
  display: block;
  height: 600px;   /* ← このぶん上にずれる */
  margin-top: -700px;
}
@keyframes katamuki {
  0%   { transform: rotate(0deg); }
  20%  { transform: rotate(-3deg); }
  40%  { transform: rotate(3deg); }
  60%  { transform: rotate(-2deg); }
  80%  { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}






/*ワークショップ*/
/* === ワークショップ一覧（PC4列、スマホ2列×2行） === */
.WS_group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto 0px auto;
}

.WS {
  flex: 1 1 calc(25% - 20px);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
  box-sizing: border-box;
	  margin: 50px auto -10px;
}

.WS_title img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin: 0 auto 10px;
}

.WS_p {
  font-size: 15px;
  line-height: 1.6;
  color: #000;
  text-align: left;
  margin: 15px 0;
  font-family: "heisei-maru-gothic-std", sans-serif;
}

.WS_ill img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .WS {
	flex: 1 1 calc(50% - 20px);
  }
}

/* === 木育講座セクション（画像重ね） === */
.mokuiku_wrapper {
  position: relative;
  width: 100%;
  max-width: 1800px;
	  top: -60px;
  margin: 0 auto;
  overflow: hidden;
}

/* 背景画像：中央から拡大 */
.yama {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%) scale(1.3);
  transform-origin: center;
  z-index: 1;
  width: 1400px;
margin
  max-width: none;
  pointer-events: none;
	margin: 20px 0px 0px 0px; 
}

/* 木育講座の中身を山に重ねる */
.mokuiku_kouza {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 10vw;
  padding-bottom: 9vw;
	margin-top: 80px;
}

.mokuiku {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-width: 1000px;
  width: 90%;
  text-align: center;
	
}

.mokuiku_title img {
  width: 280px;
  height: auto;
  margin-bottom: 20px;
}

.mokuiku_p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  max-width: 800px;
  margin: 0 auto 30px auto;
  text-align: left;
}

.mokuiku_img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 20px;
}

/* モバイル調整 */
@media (max-width: 768px) {
  .mokuiku {
	padding: 30px 20px;
  }

  .mokuiku_title img {
	width: 200px;
  }

  .mokuiku_p {
	font-size: 15px;
  }

  .yama {
	transform: translateX(-50%) scale(1.1);
  }
}














.eraberu_wrapper {

  background-color: #8DC21F;
  margin: 0px auto;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  max-width: 800px;
  text-align: center;
  padding: 50px 0px 40px 0px;
}

/* 小さめのふきだし文字 */
.erabe_fuki,.plan_fuki {
  font-family: heisei-maru-gothic-std, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  color: #fff;
  line-height: 24px;
  margin-bottom: 10px;
}
.plan_fuki {
	  color: #000;
}

/* タイトル */
.erabe_title, .plan_title {
  font-family: heisei-maru-gothic-std, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 26px;
  color: #fff;
  line-height: 0;
  margin-bottom: 10px;
}
.plan_title{
		color: #333;
}


/* 本文 */
.erabe_p,  .plan_p{
  font-family: heisei-maru-gothic-std, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  color: #fff;
  text-align: center;
  padding-top: 30px;
}

.plan_p{
		color: #333;
}


/* プランの囲い */
.plan_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #FCF4EB;
  padding: 30px 80px 10px 80px;
  border-radius: 20px;
  text-align: center;
	margin:10px;
}

/* もし plan_01 が未定義なら追加しておく */
.plan_01,.plan_02 {
 width: 400px;
	margin: 10px 0px -30px 0px;
}


.circle_plus {
  width: 60px;
  height: 60px;
  background-color: #000;
  color: white;
  font-size: 32px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.2s ease;
}




.tuika_wrapper {
	  display: flex;
  justify-content: center; 
  gap: 10px;
}

.tuika_wrapper img {
  width: 300px;
  height: 180px;
	margin-top: 10px;
}







/*フォーム*/
/* === お問い合わせフォーム全体 === */
.form_all {
  max-width: 800px;
  margin: 60px auto;
  background: #fffaf7;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  color: #444;
  box-sizing: border-box;
}



/* === ラベルとインプット === */
.form_all label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 1p8x;
  color: #444;
}

.form_all input[type="text"],
.form_all input[type="email"],
.form_all input[type="tel"],
.form_all textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.8px solid #ddd;
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  margin-bottom: 20px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.form_all input:focus,
.form_all textarea:focus {
  border-color: #a1cba3;
  background: #fefefe;
  outline: none;
}

/* === 選択リスト === */
.form_all select {
  width: 100%;
  padding: 22px 14px;
  border-radius: 12px;
  border: 1.5px solid #ccc;
  background: #fafafa;
  margin-bottom: 20px;
  font-size: 15px;
}

/* === チェック・ラジオボタンのスタイル === */
.wpcf7-checkbox label,
.wpcf7-radio label {
  display: inline-block;
  background: #f4f4f4;
  padding: 8px 14px;
  margin: 6px 6px 6px 0;
  border-radius: 20px;
  font-size: 14px;
  transition: background 0.2s ease;
  cursor: pointer;
}

.wpcf7-checkbox input,
.wpcf7-radio input {
  margin-right: 6px;
}

.wpcf7-checkbox label:hover,
.wpcf7-radio label:hover {
  background: #e9f2e6;
}

/* === プラン別オプション枠 === */
.plan-option {
  background: #fdfdfd;
  padding: 20px;
  border-radius: 16px;
  margin-top: 20px;
  box-shadow: inset 0 0 0 1px #eee;
}

/* === 各セクション見出しスタイル === */
.form_naiyou strong,
.form_yosan strong,
.form_sonota strong {
		font-family: heisei-maru-gothic-std, sans-serif;
font-weight: 400;
font-style: normal;
	font-size: 23px;
  font-size: 18px;
  color: #2e5d4c;
  display: block;
  margin-bottom: 10px;
	
}





/*　===投稿単一ページのデザイン=== */
.logo_ALL_02 {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 300px;
  margin-bottom: 30px;
}

.logobg_02 {
  position: absolute;
  width: 350px;
  height: 350px;
  animation: spin 15s linear infinite;
  z-index: 1;
}

.logo_02 {
  position: relative;
  width: 230px;
  height: auto;
  z-index: 2;
}

@keyframes spin {
  from {
	transform: rotate(0deg);
  }
  to {
	transform: rotate(360deg);
  }
}







/* === 全体背景画像 === */
body.single-post,
body.single-post .avada-wrap,
body.single-post .fusion-body,
body.single-post #wrapper,
body.single-post #main,
body.single-post .site-main {
  background: url('https://gokanpopu.com/wordpress/wp-content/uploads/2025/03/WS_BG.png') no-repeat center center fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
}

/* === ロゴ回転ゾーン === */
.logo_ALL_02 {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 300px;
  margin-bottom: 40px;
}
.logobg_02 {
  position: absolute;
  width: 350px;
  animation: spin 15s linear infinite;
  z-index: 1;
}
.logo_02 {
  position: relative;
  width: 230px;
  z-index: 2;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* === 投稿コンテンツラップ === */
.single-wrapper {
  max-width: 1000px;
  margin: 0 auto 60px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  padding: 0;
  overflow: hidden;
}

/* === アイキャッチ＋タイトル合成表示 === */
.single-hero {
  position: relative;
  text-align: center;
  margin-bottom: 40px;
}
.single-hero img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 0; /* wrapperで角丸にするのでここはフラット */
}
.single-title {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.8);
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 28px;
  font-family: "heisei-maru-gothic-std", sans-serif;
}

/* === 投稿本文 === */
.single-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 20px;
  background: #fffdf8;
  border-radius: 0 0 20px 20px;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  font-family: "Yu Gothic", sans-serif;
}


/* === メタ === */
.single-meta {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.single-meta .post-tags a {
  color: #228B22;
  text-decoration: none;
  margin-right: 6px;
}

.single-meta .post-tags a:hover {
  text-decoration: underline;
}
