@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){
  /*必要ならばここにコードを書く*/
}

/************************************
** サイトデザインシステム v2.0（Vodafone風構造 × 青アクセント）
** 元ファイル: デザイン/サイトデザインシステム.css
************************************/
:root {
 --ev-blue: #2a7ab0;
 --ev-blue-dark: #1d5a85;
 --ev-blue-bg: #eef6fb;
 --ev-ink: #25282b;
 --ev-canvas: #ffffff;
 --ev-canvas-soft: #f2f2f2;
 --ev-border: #d9dee3;
 --ev-mute: #bebebe;
 --ev-text-sub: #666666;
 --ev-amber: #e0a800;
 --ev-amber-bg: #fff8e1;
 --ev-radius-card: 6px;
 --ev-radius-pill: 60px;
}
body {
 font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
 color: var(--ev-ink);
}
.entry-card-wrap, .entry-card, .toc, .blogcard, .pagination a,
.go-to-top-button, .header-container-in, .article .btn, .appeal-button {
 box-shadow: none;
}
#header-container { background: var(--ev-ink); color: #fff; }
#header-container .site-name-text, #header-container .tagline { color: #fff; }
#header-container .site-name-text { font-weight: 900; letter-spacing: 0.02em; }
#navi { background: var(--ev-ink); }
#navi .navi-in a { color: #fff; transition: background 0.15s; }
#navi .navi-in a:hover { background: rgba(255,255,255,0.12); color: #fff; }
#navi .navi-in > .menu-header .sub-menu { background: var(--ev-ink); }
#footer { background: var(--ev-ink); color: #fff; }
#footer a { color: #fff; }
#footer a:hover { color: var(--ev-mute); }
.footer-widgets { color: #fff; }
.appeal { background-color: var(--ev-ink); }
.appeal-in { padding: 3.5em 1em; }
.appeal-content { text-shadow: none; }
.appeal-title {
 color: #fff; font-weight: 900; font-size: clamp(1.8rem, 6vw, 3.4rem);
 line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 0.5em;
}
.appeal-message {
 color: #fff; font-weight: 300; font-size: clamp(1rem, 2.5vw, 1.25rem);
 line-height: 1.8; margin-bottom: 1.8em;
}
.appeal-button {
 display: inline-block; background: var(--ev-blue); color: #fff;
 border: 1px solid var(--ev-blue); border-radius: var(--ev-radius-pill);
 font-size: 1.05rem; font-weight: 700; padding: 0.85em 2.2em; transition: background 0.15s;
}
.appeal-button:hover { background: var(--ev-blue-dark); border-color: var(--ev-blue-dark); color: #fff; }
.entry-card-wrap {
 border: 1px solid var(--ev-border); border-radius: var(--ev-radius-card);
 overflow: hidden; transition: background 0.15s, border-color 0.15s;
}
.entry-card-wrap:hover { background: var(--ev-canvas-soft); border-color: var(--ev-mute); }
.entry-card-title { font-weight: 700; line-height: 1.5; }
.entry-card-snippet { color: var(--ev-text-sub); }
.cat-label, .cat-link {
 background: var(--ev-canvas-soft); color: var(--ev-ink); border: none;
 border-radius: 32px; font-weight: 700; font-size: 0.72em; padding: 0.2em 0.9em;
}
.toc {
 border: 1px solid var(--ev-border); border-radius: var(--ev-radius-card);
 background: var(--ev-canvas-soft); padding: 1em 1.4em;
}
.toc-title { font-weight: 700; }
.toc a { color: var(--ev-ink); }
.toc a:hover { color: var(--ev-blue); }
.entry-content p { line-height: 1.9; margin-bottom: 1.5em; }
.entry-content a { color: var(--ev-blue); }
.entry-content h2 {
 background: none; border: none; border-bottom: 3px solid var(--ev-ink); border-radius: 0;
 padding: 0 0 0.35em; margin: 2.6em 0 1.2em; font-weight: 900; font-size: 1.45em;
 line-height: 1.45; letter-spacing: -0.01em; color: var(--ev-ink);
}
.entry-content h3 {
 background: none; border: none; border-bottom: 1px solid var(--ev-border); border-radius: 0;
 padding: 0 0 0.3em; margin: 2em 0 1em; font-weight: 700; font-size: 1.15em;
 line-height: 1.5; color: var(--ev-ink);
}
.entry-content .ev-conclusion, .entry-content .ev-talk,
.entry-content .ev-note, .entry-content .ev-quote {
 margin: 1.8em 0; font-style: normal; quotes: none; background-image: none;
}
.ev-conclusion::before, .ev-conclusion::after, .ev-note::before, .ev-note::after,
.ev-quote::before, .ev-quote::after, .ev-talk::after { content: none; }
.entry-content .ev-conclusion {
 background: var(--ev-blue-bg); border: none; border-left: 4px solid var(--ev-blue);
 border-radius: 0 var(--ev-radius-card) var(--ev-radius-card) 0;
 padding: 1.1em 1.2em; color: var(--ev-ink);
}
.ev-conclusion p { margin: 0 0 0.8em; }
.ev-conclusion p:last-child { margin-bottom: 0; }
.entry-content .ev-talk {
 background: var(--ev-canvas); border: 2px solid var(--ev-blue);
 border-radius: var(--ev-radius-card); padding: 1.9em 1.2em 1.2em;
 position: relative; margin-top: 2.6em; color: var(--ev-ink);
}
.ev-talk::before {
 content: "\1F4AC そのまま使える患者トーク";
 position: absolute; top: -0.95em; left: 1em; background: var(--ev-blue); color: #fff;
 font-size: 0.8em; font-weight: 700; line-height: 1; padding: 0.45em 1em;
 border-radius: var(--ev-radius-pill); letter-spacing: 0.05em;
}
.ev-talk p { margin: 0 0 1em; }
.ev-talk p:last-child { margin-bottom: 0; }
.ev-talk p > strong:first-child { color: var(--ev-blue-dark); }
.entry-content details.ev-box {
 margin: 1.8em 0; background: var(--ev-canvas-soft); border: 1px solid var(--ev-border);
 border-left: 4px solid #9aa4ad; border-radius: var(--ev-radius-card); font-size: 0.92em;
}
details.ev-box > summary {
 display: flex; align-items: center; gap: 0.55em; padding: 0.85em 1em; cursor: pointer;
 list-style: none; color: #555; font-weight: 700; line-height: 1.5;
 -webkit-tap-highlight-color: rgba(42,122,176,0.15);
}
details.ev-box > summary::-webkit-details-marker { display: none; }
details.ev-box > summary::before {
 content: "＋"; flex: none; width: 1.5em; height: 1.5em; display: flex;
 align-items: center; justify-content: center; background: var(--ev-canvas);
 border: 1px solid var(--ev-border); border-radius: 50%; font-size: 0.85em; color: var(--ev-blue);
}
details.ev-box[open] > summary::before { content: "－"; }
details.ev-box > summary::after {
 content: "タップで開く"; margin-left: auto; flex: none; font-size: 0.78em;
 font-weight: 400; color: #999;
}
details.ev-box[open] > summary::after { content: "閉じる"; }
details.ev-box > summary:focus-visible { outline: 2px solid var(--ev-blue); outline-offset: 2px; }
.ev-box-body {
 padding: 0.2em 1.1em 1.1em; border-top: 1px dashed var(--ev-border);
 overflow-wrap: break-word; word-break: break-word;
}
.ev-box-body ul { margin: 0.8em 0 0; padding-left: 1.3em; }
.ev-box-body li { margin-bottom: 0.5em; line-height: 1.7; }
.ev-box-body p { margin: 0.8em 0 0; line-height: 1.7; }
.entry-content .ev-note {
 background: var(--ev-amber-bg); border: none; border-left: 4px solid var(--ev-amber);
 border-radius: 0 var(--ev-radius-card) var(--ev-radius-card) 0;
 padding: 1.1em 1.2em; color: var(--ev-ink);
}
.ev-note p { margin: 0 0 0.8em; }
.ev-note p:last-child { margin-bottom: 0; }
.entry-content .ev-quote {
 border: none; border-left: 4px solid var(--ev-blue); padding: 0.3em 0 0.3em 1.1em;
 color: #444; background: transparent;
}
.entry-content .ev-disclaimer {
 font-size: 0.85em; color: var(--ev-text-sub); background: #fafafa;
 border: 1px solid #ececec; border-radius: var(--ev-radius-card);
 padding: 1em 1.1em; line-height: 1.8;
}
.entry-content figure.wp-block-table {
 margin: 1.8em 0; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.entry-content figure.wp-block-table table {
 border-collapse: collapse; width: 100%; font-size: 0.93em; line-height: 1.6;
}
.entry-content figure.wp-block-table th, .entry-content figure.wp-block-table td {
 border: 1px solid var(--ev-border); padding: 0.6em 0.8em; text-align: left;
 vertical-align: top; background-clip: padding-box;
}
.entry-content figure.wp-block-table thead th {
 background: var(--ev-ink); color: #fff; font-weight: 700; white-space: nowrap;
}
.entry-content figure.wp-block-table tbody td:first-child {
 background: var(--ev-canvas-soft); font-weight: 700; width: 9em; min-width: 7em;
}
.entry-content figure.wp-block-table figcaption {
 font-size: 0.8em; color: #888; text-align: center; margin-top: 0.5em;
}
.entry-content figure.ev-table-scroll figcaption {
 display: inline-block; position: sticky; left: 0; text-align: left;
}
.entry-content figure.ev-table-scroll table { min-width: 560px; }
.entry-content figure.ev-table-scroll th:first-child,
.entry-content figure.ev-table-scroll td:first-child {
 position: sticky; left: 0; z-index: 1; box-shadow: 2px 0 4px -2px rgba(0,0,0,0.2);
}
.entry-content figure.ev-table-scroll thead th:first-child { z-index: 2; background: var(--ev-ink); }
@media (max-width: 640px) {
 .entry-content figure.wp-block-table table { font-size: 0.88em; }
 .entry-content figure.wp-block-table th,
 .entry-content figure.wp-block-table td { padding: 0.55em 0.65em; }
 .entry-content figure.ev-table-scroll::before {
  content: "→ 表は横にスクロールできます";
  display: inline-block; position: sticky; left: 0; font-size: 0.78em;
  color: #888; margin-bottom: 0.35em;
 }
}
.entry-content ul.ev-related {
 list-style: none; padding: 0; margin: 1.4em 0; display: grid; gap: 0.7em;
}
ul.ev-related li { margin: 0; padding: 0; }
ul.ev-related li::before { content: none; }
ul.ev-related a {
 display: block; position: relative; padding: 0.95em 2.4em 0.95em 1.1em;
 background: var(--ev-canvas); border: 1px solid var(--ev-border);
 border-radius: var(--ev-radius-card); color: var(--ev-blue-dark); font-weight: 700;
 line-height: 1.55; text-decoration: none; transition: background 0.15s, border-color 0.15s;
}
ul.ev-related a::after {
 content: "\203A"; position: absolute; right: 1em; top: 50%; transform: translateY(-50%);
 font-size: 1.3em; color: var(--ev-blue);
}
ul.ev-related a:hover { background: var(--ev-blue-bg); border-color: var(--ev-blue); }
.ev-btn {
 display: inline-block; background: var(--ev-blue); color: #fff !important;
 border: 1px solid var(--ev-blue); border-radius: var(--ev-radius-pill);
 font-weight: 700; font-size: 1rem; padding: 0.8em 2em; text-decoration: none;
 transition: background 0.15s;
}
.ev-btn:hover { background: var(--ev-blue-dark); border-color: var(--ev-blue-dark); }

/* --- ヒーロー：Cocoon既定の白い半透明パネルを消す --- */
.appeal-content { background: transparent; padding: 0; border: none; }
@media (min-width: 768px) {
 .appeal-content { text-align: left; max-width: 780px; margin-left: 0; }
}
