@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){
  /*必要ならばここにコードを書く*/
}

.floating-line-btn{
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #06C755;
  color: #fff;
  padding: 14px 18px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 999999;
  font-size: 14px;
}


/* 2026-11-12 監査：スマホの小さい文字・押しにくいリンク・薄い文字 */
@media (max-width:834px){
  html body .cat-label{font-size:12px}
  html body .mt-pr-tag,html body .mt-sr__pr,html body .mt-sk__pr,html body .mt-sd__pr{font-size:12px}
  html body .entry-date,html body .post-date,html body .post-update{font-size:13px}
  .article table{font-size:14px}
  .mt-tools__tabs small,.mt-stage__step{font-size:13px}
}
.toc a{display:inline-block;padding:6px 0}
.breadcrumb a,.breadcrumb-caption{display:inline-block;padding:6px 2px}
.breadcrumb,.breadcrumb-caption{color:#4b5863}
.pagination .current,.page-numbers.current{background:#0d5f7a;color:#fff}
.mt-sr input[type=checkbox],.mt-sk input[type=checkbox]{width:22px;height:22px;margin-right:8px;vertical-align:-4px}

/* 2026-11-24 ヘッダー：ロゴ左・メニュー右（試作 第3版）。元に戻すときはこの区切りから下を消す */
@media screen and (min-width:1024px){
  #header-container-in.hlt-center-logo-top-menu{display:flex !important;flex-direction:row !important;flex-wrap:nowrap !important;align-items:center;justify-content:space-between;gap:16px;max-width:1256px;margin:0 auto;padding:6px 20px;box-sizing:border-box}
  #header-container-in.hlt-center-logo-top-menu #header,#header-container-in.hlt-center-logo-top-menu #navi{width:auto;background:transparent;flex:0 0 auto}
  #header-container-in.hlt-center-logo-top-menu #header-in,#header-container-in.hlt-center-logo-top-menu #navi-in{width:auto;max-width:none;margin:0;padding:0}
  #header-container-in.hlt-center-logo-top-menu .logo-header{padding:0;margin:0;text-align:left}
  #header-container-in.hlt-center-logo-top-menu .logo-header img{max-height:52px;width:auto}
  #navi .navi-in > ul{display:flex;justify-content:flex-end;flex-wrap:nowrap;gap:4px;height:auto}
  #navi .navi-in > ul > li{width:auto;height:auto;line-height:1.4}
  #navi .navi-in > ul > li > a{display:block;padding:8px 12px;border-radius:8px;height:auto;text-align:left}
  #navi .navi-in > ul > li > a:hover{background:#e3f0f5}
  #navi .navi-in .caption-wrap{display:block;width:auto;min-width:0;height:auto}
  #navi .navi-in .item-label{font-weight:700;font-size:15px;color:#1f2a33;width:auto}
  #navi .navi-in .item-description{display:block;font-size:11px;color:#4b5863;opacity:1;margin-top:1px}
}
#navi .navi-in > ul > li.mt-nav-tpl > a{background:#f5b23c}
#navi .navi-in > ul > li.mt-nav-tpl .item-label,#navi .navi-in > ul > li.mt-nav-tpl .item-description{color:#3d2a00}
@media screen and (max-width:1023px){
  #navi .navi-in > ul{display:grid !important;grid-template-columns:repeat(3,1fr);gap:6px;padding:6px 12px 10px;height:auto;width:100%;box-sizing:border-box}
  #navi .navi-in > ul > li{width:auto !important;min-width:0;height:auto;line-height:1.4}
  #navi .navi-in > ul > li > a{display:block;padding:9px 2px;border-radius:8px;background:#e3f0f5;text-align:center;height:auto}
  #navi .navi-in .item-label{font-size:13px;font-weight:700;white-space:nowrap}
  #navi .navi-in .item-description{display:none}
}
