@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: 2.0（夢工場 完全版）
*/

/************************************
** 全体共通スタイル：視覚性＆読みやすさ向上
************************************/

/* 段落の余白と行間を最適化 */
.article p {
  margin-bottom: 1.5em;
  line-height: 1.8;
  font-size: 1.05em;
}

/* 吹き出しスタイル（キャラ発言） */
.speech-balloon {
  font-size: 16px;
  line-height: 1.6;
  border-radius: 8px;
  margin-bottom: 1em;
}

/* ナビゲーター名 */
.navigator-name {
  font-weight: bold;
  font-style: italic;
  color: #607d8b;
  margin-bottom: .5em;
}

/************************************
** ヘッダー・アピールエリア調整
************************************/
.front-top-page .header-container {
  position: fixed;
  z-index: 9;
  width: 100%;
}
.front-top-page .header-container,
.front-top-page .navi,
.front-top-page .navi-in a:hover {
  background-color: initial;
}
.appeal {
  height: 50svh;
  background-size: cover;
}
.appeal-in {
  height: 100%;
  width: 100%;
  background-color: rgb(255 255 255 / .3);
  backdrop-filter: blur(3px);
}
.appeal-content {
  background-color: initial;
}

/************************************
** スクロール矢印＆アニメーション
************************************/
.arrow-down {
  position: absolute;
  bottom: 5em;
  left: calc(50% - .5em);
}
.arrow-down span {
  display: block;
  width: 1em;
  height: 1em;
  border: 1px solid black;
  border-left: 0;
  border-bottom: 0;
  transform: translateY(-25%) rotate(135deg);
}
.arrow-scroll {
  display: block;
  position: absolute;
  bottom: 4em;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
}
.arrow-anime {
  animation: arrow-move 2s ease infinite;
}
@keyframes arrow-move {
  0% { transform: translateY(-50px); opacity: 1; }
  100% { transform: translateY(0px); opacity: 0; }
}

/************************************
** 見出し装飾（h1〜h3）
************************************/
/* h1 丸アクセント */
h1 {
  background: none;
  color: #333;
  position: relative;
  padding: .3em 1em 1em 40px;
}
h1::before,
h1::after {
  position: absolute;
  content: '';
  border-radius: 100%;
}
h1::before {
  top: .6em;
  left: .2em;
  z-index: 2;
  width: 22px;
  height: 22px;
  background: #607d8b;
  opacity: .5;
}
h1::after {
  top: 1.1em;
  left: .7em;
  width: 15px;
  height: 15px;
  background: #607d8b;
  opacity: .5;
}

/* h2 ストライプ背景 */
h2 {
  color: #333;
  padding: .8em 1em;
  background-image: repeating-linear-gradient(-45deg, #eee 0 6px, transparent 6px 12px);
  font-size: 1.4em;
}

/* h3 アンダーストライプ */
h3 {
  position: relative;
  padding: .5em 0;
  color: #333;
}
h3:after {
  --stripe-color: #b2aba1;
  position: absolute;
  content: "";
  width: 100%;
  height: 5px;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, transparent 25%, var(--stripe-color) 25%, var(--stripe-color) 50%, transparent 50%, transparent 75%, var(--stripe-color) 75%, var(--stripe-color));
  background-size: 4px 4px;
}

/************************************
** CTA・ボックス装飾（おすすめ・警告）
************************************/
.box-cta {
  background: #f5faff;
  border-left: 5px solid #2196f3;
  padding: 1em;
  margin: 2em 0;
}
.box-warning {
  background: #fff3f3;
  border-left: 5px solid #e53935;
  padding: 1em;
  margin: 2em 0;
}

/************************************
** FAQ用Q&A風装飾
************************************/
.faq-question {
  font-weight: bold;
  background-color: #f9f9f9;
  border-left: 4px solid #607d8b;
  padding: 0.8em;
  margin-top: 1.5em;
}
.faq-answer {
  padding: 0.8em 1em;
  background-color: #ffffff;
  border-left: 4px solid #cccccc;
  margin-bottom: 1.5em;
}

/************************************
** サイドバーリンク調整
************************************/
.menu-link {
  font-size: 0.9em;
  text-decoration: none;
  color: inherit;
}
.menu-link:hover {
  text-decoration: underline;
  background: none;
}

/************************************
** カテゴリ表示構造（夢工場専用）
************************************/
.category-container {
  max-height: 600px;
  overflow-y: auto;
  width: 100%;
  background-color: #ffffff;
  padding: 20px;
  box-sizing: border-box;
}
.category-header {
  padding-left: 20px;
  margin-bottom: 20px;
}
.category-title {
  margin: 0;
  font-size: 20px;
  color: #383c3c;
}
.category-link {
  margin: 5px 0 15px 0;
  padding-left: 2ch;
}
.category-link a {
  color: #474a4d;
  text-decoration: none;
  font-weight: bold;
}
.category-link a:hover,
.category-link a:focus {
  text-decoration: underline;
}
.category-list {
  padding-left: 40px;
  list-style-type: disc;
}
.category-list ul {
  padding-left: 20px;
  list-style-type: circle;
}
.category-list a {
  color: #474a4d;
  text-decoration: none;
}
.category-list a:hover,
.category-list a:focus {
  text-decoration: underline;
}
.category-header p,
.category-link p {
  margin: 0;
}

/************************************
** 画像中央表示
************************************/
.bottom-image {
  text-align: center;
  margin-top: 20px;
}
.bottom-image img {
  width: 200px;
  height: auto;
}
