@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}
}

/* 2026-11-24 メニュー：障害者手帳をお持ちの方へ（テンプレートの黄色タブと入れ替え） */
li.mt-nav-sho > a{background:#e8f1f5 !important;border:1px solid #b9d3de;border-radius:8px}
@media screen and (max-width:1023px){
#navi .navi-in > ul > li.mt-nav-sho{grid-column:span 2}
}

/* ===== 見た目の統一（2026-11-25）：フォントを端末の標準に、背景・角丸・カード・ラベルをトップとそろえる。追加CSSのほうが後に読み込まれるため、セレクタに body を付けて優先させている ===== */
html:root{--mt-font:"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic Medium","Yu Gothic","Meiryo",sans-serif;--mt-font-body:var(--mt-font);--mt-font-head:var(--mt-font);--mt-gray-bg:#f6f8f9;--mt-radius:12px}
html body,html .body,body .entry-content,body .article,body .sidebar,body #navi a,body .custom-footer{font-family:var(--mt-font)}
html body{background:var(--mt-gray-bg)}
body .entry-content{font-size:17px;line-height:1.9}
body .entry-content p{margin-bottom:1.4em}
body .article h1.entry-title{font-size:26px;line-height:1.5;color:var(--mt-accent-dark)}
body .article h2{color:var(--mt-accent-dark)}
/* h3 の左の線は追加CSSの ::before で描いているので、ここでは色だけ変える（線を足すと二重になる） */
body .entry-content > h3{color:var(--mt-accent-dark)}
/* 囲みの中のh3（道のりの番号つき見出しなど）には左の線を付けない */
body .entry-content div h3{color:var(--mt-accent-dark)}
body #main{border:1px solid var(--mt-line);border-radius:var(--mt-radius);box-shadow:none}
body .sidebar .widget{background:#fff;border:1px solid var(--mt-line);border-radius:var(--mt-radius);padding:18px;margin-bottom:20px}
body .sidebar .widget .sidebar-profile-box,body .sidebar .widget .profile-header{border:0;box-shadow:none;background:transparent!important;padding:0!important}
body .sidebar .profile-header img{width:96px!important;border-radius:50%}
body .entry-card-wrap{background:#fff;border:1px solid var(--mt-line);border-radius:var(--mt-radius);padding:14px;margin-bottom:14px;transition:border-color .15s,box-shadow .15s}
body .entry-card-wrap:hover{border-color:var(--mt-accent);box-shadow:0 2px 10px rgba(13,95,122,.12)}
body .entry-card-thumb img{border-radius:8px}
body .entry-card-title{color:var(--mt-accent-dark);line-height:1.6}
body .cat-label,body .entry-categories a{background:var(--mt-accent);color:#fff;border-radius:6px;font-size:12px;padding:2px 8px}
body .mt-button,body .sidebar-cta-button{border-radius:99px}
@media screen and (max-width:600px){body .entry-content{font-size:17px;line-height:1.85}body .article h1.entry-title{font-size:22px}body #main{border-left:0;border-right:0;border-radius:0}body .entry-card-wrap{padding:12px}}

/* 2026-11-25 トップ：タブレット幅（1023px以下）で本文エリアが左右10pxずつはみ出して横スクロールが出ていたのを直す */
@media screen and (max-width:1023px){html body.front-top-page #main{width:auto}}

/* トップページ微調整（2026-11-25） */
html body .mt-entry.mt-entry--learn{border-left-color:#c9962b}
html body .mt-entry.mt-entry--job{border-left-color:#0d5f7a}
html body .mt-entry.mt-entry--it{border-left-color:#2f6fb0}
html body .mt-now p{font-size:15px;line-height:1.7}
html body .entry-card-thumb .cat-label{position:static;display:inline-block;margin-top:6px;max-width:100%}

/* ホバー追加（2026-11-25）：障害者手帳の入口・メニュー、ボタン */
html body .mt-sho-door,html body li.mt-nav-sho > a,html body .mt-btn{transition:background-color .2s,border-color .2s,box-shadow .2s,color .2s}
html body .mt-sho-door:hover,html body .mt-sho-door:focus-visible{border-color:#0d5f7a;background:#e1eef3;box-shadow:0 2px 10px rgba(13,95,122,.15)}
html body .mt-sho-door:hover em{text-decoration:underline}
html body li.mt-nav-sho > a:hover,html body li.mt-nav-sho > a:focus-visible{background:#d3e6ee !important;border-color:#0d5f7a}
html body .mt-btn:hover,html body .mt-btn:focus-visible{background:#08465b;box-shadow:0 2px 8px rgba(13,95,122,.2)}
html body .mt-btn.mt-btn--line:hover,html body .mt-btn.mt-btn--line:focus-visible{background:#0d5f7a;border-color:#0d5f7a;color:#fff !important}
