@charset "UTF-8";
/* Modified: 2026-09-14 (JST) / コデコ
 * フッターとガチャの装飾は css/odekake-footer.css に移動。
 */

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    2026.09.14.6
Version:    2026.09.14.5
*/

/************************************
** 1. サイト共通：基本ショートコード
************************************/
.odekake-area-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
	margin: 24px 0;
}

.odekake-area-card {
	display: block;
	min-height: 118px;
	padding: 16px;
	border: 1px solid #d8ded8;
	border-radius: 8px;
	background: #fff;
	color: #1f2a24;
	text-decoration: none;
	box-shadow: 0 1px 0 rgba(31, 42, 36, 0.05);
}

.odekake-area-card:hover,
.odekake-area-card:focus {
	border-color: #3f7d58;
	color: #184b2c;
	text-decoration: none;
}

.odekake-area-card__label {
	display: block;
	margin-bottom: 8px;
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.35;
}

.odekake-area-card__description {
	display: block;
	font-size: 0.9rem;
	line-height: 1.65;
	color: #55625b;
}

.odekake-spot-info {
	width: 100%;
	margin: 20px 0;
	border-collapse: collapse;
	border-top: 1px solid #d8ded8;
}

.odekake-spot-info th,
.odekake-spot-info td {
	padding: 12px 14px;
	border-bottom: 1px solid #d8ded8;
	vertical-align: top;
	line-height: 1.7;
}

.odekake-spot-info th {
	width: 7.5em;
	background: #f5f8f5;
	font-weight: 700;
	text-align: left;
	white-space: nowrap;
}

.odekake-hub-back {
	margin: 28px 0;
}

.odekake-hub-back a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 11px 16px;
	border: 1px solid #3f7d58;
	border-radius: 8px;
	color: #184b2c;
	background: #f7fbf7;
	font-weight: 700;
	text-decoration: none;
}

.odekake-hub-back a::before {
	content: "<";
	font-weight: 700;
}

.odekake-faq {
	margin: 24px 0;
}

.odekake-faq__item {
	border: 1px solid #d8ded8;
	border-radius: 8px;
	background: #fff;
}

.odekake-faq__item + .odekake-faq__item {
	margin-top: 10px;
}

.odekake-faq__item summary {
	cursor: pointer;
	padding: 14px 16px;
	font-weight: 700;
	line-height: 1.6;
}

.odekake-faq__answer {
	padding: 0 16px 16px;
	line-height: 1.8;
	color: #2f3a34;
}

@media (max-width: 600px) {
	.odekake-area-cards {
		grid-template-columns: 1fr;
	}

	.odekake-spot-info th,
	.odekake-spot-info td {
		display: block;
		width: 100%;
	}

	.odekake-spot-info th {
		padding-bottom: 6px;
		border-bottom: 0;
	}

	.odekake-spot-info td {
		padding-top: 6px;
	}
}

/************************************
** 2. サイト共通：PR（広告）表記
************************************/
.odekake-pr-disclosure {
  margin: 0 0 18px;
  padding: 10px 14px;
  border: 1px solid #d8c58a;
  border-left: 4px solid #b68a21;
  border-radius: 6px;
  background: #fff8df;
  color: #3a3324;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.7;
}

/************************************
** 4. サイト共通：「上へ戻る」カミカミ大王
************************************/
#go-to-top {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 140px !important;
  height: 140px !important;
  bottom: 20px !important;
  right: 20px !important;
  cursor: pointer;
  z-index: 9999;
  position: fixed !important;
}

/* デフォルトの矢印アイコンを隠し、カミカミ大王を配置 */
#go-to-top .go-to-top-button {
  background-image: url('https://b-spot01.net/wp/wp-content/uploads/2026/07/kamikami_daioh_mascot.png') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* デフォルトのフォントアイコン（矢印マーク）を消去 */
.go-to-top-button::before,
.go-to-top-button::after,
.go-to-top-button span::before,
.go-to-top-button span::after {
  content: none !important;
  display: none !important;
}

/* ホバー時のぴょこぴょこアニメーション */
#go-to-top:hover {
  animation: kamikami-bounce 0.6s ease infinite alternate;
}

@keyframes kamikami-bounce {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-20px);
  }
}

/* 💬 カミカミ大王の「上へ戻るよ！」吹き出し演出 */
#go-to-top::before {
  content: "上へ戻るよ！" !important;
  display: block !important;
  position: absolute !important;
  bottom: 95% !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(10px) !important;
  background-color: #f1c40f !important;
  color: #2d3e33 !important;
  font-size: 0.75rem !important;
  font-weight: bold !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease !important;
  z-index: 10000 !important;
}

#go-to-top::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  bottom: 95% !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(10px) !important;
  border-width: 6px 6px 0 6px !important;
  border-style: solid !important;
  border-color: #f1c40f transparent transparent transparent !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease !important;
  z-index: 10000 !important;
}

#go-to-top:hover::before {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(-5px) !important;
}

#go-to-top:hover::after {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(1px) !important;
}

/* スマホ表示のときだけ「上へ戻る（カミカミ大王）」を非表示にする */
@media screen and (max-width: 768px) {
  #go-to-top {
    display: none !important;
  }
}

