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

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

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

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
.page .logo-header {
  display: none;
}
/* ファーストビュー全体 */
.fv-content {
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
  padding: 18% 10% 15%; /* 上下の余白（調整可） */
}

/* タイトル */
.appeal-title {
  font-size: 58px; /* ←さらに大きく */
  line-height: 1.2;
  color: #b30000; /* 朱色 */
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

/* キャッチコピー */
.appeal-message p {
  font-size: 26px;
  line-height: 0.8; /* ←行間を狭く */
  color: #6a0dad; /* 紫色 */
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* ボタン */
.fv-btn {
  display: inline-block;
  padding: 18px 40px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(145deg, #8e0000, #b33a3a);
  border: none; /* 枠なし */
  border-radius: 12px;
  box-shadow: 0 6px 0 #330000, 0 8px 15px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}

.fv-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 0 #330000, 0 10px 20px rgba(0,0,0,0.5);
}
/* アピールエリア内の白い枠だけ消す */
.appeal-in,
.appeal-in.wrap,
.appeal-content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
/* アピールエリア全体を調整 */
#appeal {
  position: relative;
  display: flex;
  align-items: center;     /* 縦方向で中央寄せ */
  justify-content: center; /* 横方向で中央寄せ */
  text-align: center;
  min-height: 100vh;       /* 画面いっぱいに高さを確保 */
}

.appeal-title {
  font-size: 40px;  /* ←32pxから拡大 */
  color: #d64521;
  font-weight: bold;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
  margin-bottom: 15px;
  font-family: "Yuji Mai", serif;
}

.appeal-message {
  font-size: 24px;  /* ←20pxから拡大 */
  line-height: 1.5;
  color: #6b3fa0;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
  white-space: pre-line;
  font-family: "Yuji Mai", serif;
}
@media (max-width: 768px) {
  .appeal-title {
    font-size: 32px;
  }
  .appeal-message {
    font-size: 20px;
  }
}

.entrance-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 30px;   /* ← 少し小さめ */
  font-size: 18px;      /* ← 控えめに */
  font-weight: 600;
	 /* ← ここで閉じカッコが必要！ */
}
 
/* 占いボタン */
#appeal .entrance-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;   /* ボタンの大きさ */
  height: 140px;
  padding: 0;
  font-size: 28px;
  font-family: "Shippori Mincho", serif;
  font-weight: bold;
  color: #ffd700;
  background: #b30000;
  border: 2px solid #fff;
  border-radius: 50%;  /* 正円 */
  text-decoration: none;
  box-shadow: 0 4px 0 #400000, 0 6px 10px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

#appeal .entrance-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #400000, 0 8px 12px rgba(0,0,0,0.4);
}

#appeal .entrance-btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #400000, 0 3px 6px rgba(0,0,0,0.3);
}

/* キランの光 */
.entrance-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shine 1.8s infinite; /* ← 速め */
}

/* 横切る動き */
@keyframes shine {
  100% {
    left: 120%;
  }
}

.entrance-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.3em 1.2em !important; /* ←余白調整 */
  line-height: 1 !important;
  font-family: "Shippori Mincho", serif !important;
  font-size: 20px !important;
  font-weight: bold !important;
  color: #ffd700 !important;
  background: #b30000 !important;
  border: 2px solid #fff !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 0 #400000, 0 6px 10px rgba(0,0,0,0.3) !important;
  cursor: pointer !important;
  position: relative !important;
  overflow: hidden !important;
}

/* 光のアニメーション */
.entrance-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
}

.entrance-btn:hover::before {
  animation: shine 0.6s forwards;
}

@keyframes shine {
  100% {
    left: 125%;
  }
}
a.entrance-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 12px 28px !important;
  margin: 0 !important;
  line-height: 1em !important;
  height: auto !important;
  vertical-align: middle !important;
  box-sizing: border-box;

  font-family: "Shippori Mincho", serif !important;
  font-size: 20px !important;
  font-weight: bold !important;
  color: #ffd700 !important;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6) !important;
  background: #b30000 !important;
  border: 2px solid #fff !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 0 #400000, 0 6px 10px rgba(0,0,0,0.3) !important;
  white-space: nowrap !important;
  position: relative !important;
  overflow: hidden !important;
}
/* ご神託ボタン専用リセット */
a.entrance-btn {
  all: unset;              /* 既存の装飾を全部リセット */
  display: inline-block;   /* ボタン化 */
  padding: 12px 24px;
  background: linear-gradient(135deg, #d4af37, #ffd700);
  color: #fff;
  font-weight: bold;
  font-family: 'Shippori Mincho', serif;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
a.entrance-btn:hover {
  opacity: 0.85;
}
/* 結果全体を和風の紙風に */
.omikuji-paper {
  max-width: 600px;
  margin: 30px auto;
  padding: 30px 20px;
  background: #fffaf0; /* 和紙っぽい生成り色 */
  border: 3px solid #b30000;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-family: "Shippori Mincho", serif;
  line-height: 1.8;
  position: relative;

  /* 🔹 和紙風の模様（粒子っぽい効果） */
  background-image: 
    radial-gradient(#eaeaea 1px, transparent 1px),
    radial-gradient(#f5f5f5 1px, transparent 1px);
  background-size: 6px 6px, 12px 12px;
  background-position: 0 0, 3px 3px;
}


/* タイトル部分 */
.omikuji-paper h2 {
  font-size: 26px;
  color: #b30000;
  margin-bottom: 15px;
  text-align: center;
  border-bottom: 2px solid #b30000;
  padding-bottom: 10px;
}

/* 本文 */
.omikuji-paper p,
.omikuji-paper li {
  font-size: 18px;
  margin: 8px 0;
}

/* 強調部分 */
.omikuji-paper strong {
  color: #333;
}

/* 癒しの言葉部分 */
.omikuji-paper .oracle-word {
  margin: 20px auto;
  padding: 15px;
  background: #fefefe;
  border: 2px dashed #b30000;
  border-radius: 6px;
  text-align: center;
  font-size: 20px;
  font-style: italic;
  color: #444;
  line-height: 1.6;
}

/* 運勢リスト */
.omikuji-paper ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

