@charset "UTF-8";
/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Author: わいひら
Template: cocoon-master
Version: 1.1.3
*/

/************************************
  カラートーン・共通変数
************************************/
:root {
  --pp-accent: #0000EE;
  --pp-accent-deep: #0b2a4a;
  --pp-muted-bg: #f7fbff;
  --pp-muted-bg-2: #f0f4f8;
  --pp-note-bg: #fff7e6;
  --pp-text: #222;
  --pp-dark: #111;
  --pp-border: #1a3555;
}

/************************************
  ベース設定
************************************/
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.9;
  color: var(--pp-text);
  background: #fff;
  font-size: 16px;
}

a {
  color: var(--pp-accent);
  text-decoration: none;
}

a:hover {
  opacity: .85;
  text-decoration: underline;
}

/************************************
  ヘッダー
************************************/
.header-container {
  background-image: url('https://liberos012.com/wp-content/uploads/2025/09/header-2.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  padding: 2em 1em 6em !important;
  margin: 0 !important;
  border: none !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  position: relative !important;
}

/* タイトル */
.site-name-text {
  display: inline-block !important;
  font-size: clamp(1.25em, 2.5vw, 1.6em) !important;
  font-weight: 600 !important;
  color: #fff !important;
  background-color: rgba(0,0,0,0.4) !important;
  text-shadow: 0 0 6px rgba(0,0,0,0.5) !important;
  padding: 0.4em 1em !important;
  border-radius: 6px !important;
  max-width: 90vw !important;
  margin-bottom: 1.4em !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  word-break: break-word !important;
}

/* キャッチフレーズ */
.header-text,
.tagline {
  display: inline-block !important;
  font-size: 1em !important;
  font-weight: 500 !important;
  color: #fff !important;
  background-color: rgba(0,0,0,0.3) !important;
  text-shadow: 0 0 6px rgba(0,0,0,0.5) !important;
  padding: 0.3em 0.8em !important;
  border-radius: 6px !important;
  line-height: 1.5 !important;
}


/************************************
  本文用ユーティリティ
************************************/
.pp-goal {
  background: var(--pp-muted-bg);
  border-left: 4px solid var(--pp-accent-deep);
  padding: 12px 14px;
  margin: 12px 0 18px;
}

.pp-note {
  background: var(--pp-note-bg);
  border-left: 4px solid #ffb020;
  padding: 10px 12px;
  margin: 12px 0;
}

.pp-btn {
  display: inline-block;
  background: var(--pp-accent-deep);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 600;
}


/************************************
  見出し
************************************/
.entry-content h1,
.article h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--pp-dark);
  border-left: 6px solid var(--pp-accent-deep);
  padding-left: 0.8em;
}

.entry-content h2,
.article h2 {
  border-bottom: 3px solid var(--pp-accent-deep);
  padding-bottom: .4em;
}

.entry-content h2::before {
  content: none !important;
}


/************************************
  メニュー（共通）
************************************/
.menu-header,
.menu-pc,
.menu-mobile {
  background-color: rgba(0,0,0,0.6) !important;
  color: #fff !important;
}

.menu-header li a {
  color: #fff !important;
}


/************************************
  スマホ（～768px）
************************************/
@media screen and (max-width: 599px) {


  /* スマホはハンバーガーのみ */
  ul.menu-top.menu-mobile {
    display: none !important;
  }

  .logo-text {
    margin-top: 1.2em !important;
  }

  .catchphrase {
    max-width: 90% !important;
    margin: 0.5em auto 0 !important;
  }

  .navi-menu-button {
    transform: scale(1.15) !important;
  }
}


/************************************
  タブレット（600px〜1024px）
************************************/
@media screen and (min-width: 600px) and (max-width: 1024px) {

  /* メニュー表示 */
  ul.menu-top.menu-mobile {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  align-content: center !important;
  gap: 0.8em 1em !important;
  position: absolute !important;
  top: 100% !important;
  margin-top: -2em !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  padding: 0.9em 1em !important;
  background: rgba(0,0,0,0.7) !important;
  border-radius: 10px !important;
}


  ul.menu-top.menu-mobile li {
    flex: 1 1 45% !important;
    max-width: 48% !important;
    text-align: center !important;
  }

  ul.menu-top.menu-mobile li a {
    color: #fff !important;
    visibility: visible !important;
  }

  /* キャッチと重ならないように余白を確保 */
  .header-container {
    padding-bottom: 9em !important;
  }
}



/************************************
  PC（1025px以上）
************************************/
@media screen and (min-width: 1025px) {

  /* メニュー背景の透過 */
  #navi,
  .menu-header,
  .menu-pc,
  .menu-container,
  .menu-wrap {
    background: rgba(0,0,0,0.45) !important;
  }

  /* 文字色 */
  .menu-header li a {
    color: #fff !important;
  }

  .menu-header li a:hover {
    color: #ffcc00 !important;
  }

  /* 高さは padding でコントロール（高さ固定なし） */
  .menu-header li > a {
    padding-top: 0.6em !important;
    padding-bottom: 0.6em !important;
    line-height: 1.2 !important;
  }

  /* 中央寄せを保証 */
  #navi,
  #navi-in {
    text-align: center !important;
  }

  .menu-header .menu {
    display: flex !important;
    justify-content: center !important;
  }
}


/************************************
  極小画面
************************************/
@media screen and (max-width: 360px) {
  .site-name-text {
    font-size: 1.25em !important;
  }
}
