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

/* AI Research Lab / Claude-reviewed article design — 2026-11-12 */
.seihai-article{
  --sa-paper:#FBF9F3; --sa-paper2:#F3F0E6; --sa-white:#FFFDF8;
  --sa-ink:#23271F; --sa-muted:#5B6157; --sa-rule:#DCD6C8;
  --sa-green:#1F4D3A; --sa-green-dk:#163828; --sa-green-soft:#E6EEE8;
  --sa-loss:#8E3B2A; --sa-loss-soft:#F6E9E4;
  background:var(--sa-paper); color:var(--sa-ink);
  padding:clamp(16px,4vw,32px); border-radius:4px;
  line-height:1.9; letter-spacing:.02em;
  line-break:strict; overflow-wrap:break-word; font-kerning:normal;
}
.seihai-article *,.seihai-article *::before,.seihai-article *::after{box-sizing:border-box}
.seihai-article p{margin:0 0 1.2em}
.seihai-article a{color:var(--sa-green);text-decoration:underline;text-underline-offset:.2em;text-decoration-thickness:1px}
.seihai-article a:focus-visible,.seihai-article .sa-scroll:focus-visible{outline:3px solid var(--sa-green);outline-offset:2px}

/* テーマのh2装飾をリセット */
.seihai-article h2{
  all:unset; display:block;
  margin:2.6em 0 .9em; padding:.1em 0 .1em .7em;
  border-left:4px solid var(--sa-green);
  font-size:1.3em; font-weight:700; line-height:1.5; color:var(--sa-ink);
  font-feature-settings:"palt"; letter-spacing:.04em;
  word-break:auto-phrase; text-wrap:balance; scroll-margin-top:80px;
}
.seihai-article h2::before,.seihai-article h2::after{content:none}

.seihai-article .sa-meta{font-size:.85em;color:var(--sa-muted);margin-bottom:.8em}
.seihai-article .sa-lead{font-size:1.05em}
.seihai-article .sa-note,.seihai-article small{font-size:.85em;color:var(--sa-muted);line-height:1.7}
.seihai-article .sa-aside{font-size:.92em;color:var(--sa-muted);border-left:2px solid var(--sa-rule);padding-left:.9em}

/* 判定 */

.seihai-article .sa-verdict{background:var(--sa-white);border:1px solid var(--sa-green);border-top:6px solid var(--sa-green);padding:1.2em 1.2em .4em;margin:1.6em 0}
.seihai-article .sa-verdict__label{font-size:.85em;color:var(--sa-muted);margin:0}
.seihai-article .sa-verdict__result{font-size:1.6em;font-weight:700;color:var(--sa-green);line-height:1.4;margin:0 0 .5em;font-feature-settings:"palt"}

/* 表 共通 */
.seihai-article table{border-collapse:collapse;width:100%;margin:0 0 1em;font-size:.9em;line-height:1.5;background:var(--sa-white)}
.seihai-article caption{caption-side:top;text-align:left;font-size:.85em;color:var(--sa-muted);padding-bottom:.4em}
.seihai-article th,.seihai-article td{padding:.55em .7em;border:0;border-bottom:1px solid var(--sa-rule);text-align:left;vertical-align:middle}
.seihai-article thead th{font-size:.85em;color:var(--sa-muted);font-weight:600;border-bottom:2px solid var(--sa-green)}
.seihai-article .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.seihai-article thead th:not(:first-child){text-align:right}
.seihai-article .is-gain{color:var(--sa-green)}
.seihai-article .is-loss{color:var(--sa-loss);font-weight:700}
.seihai-article .sa-tag{display:inline-block;margin-left:.4em;padding:0 .45em;font-size:.72em;font-weight:600;line-height:1.6;border:1px solid var(--sa-green);color:var(--sa-green);border-radius:2px;vertical-align:.1em;white-space:nowrap}
.seihai-article .sa-tag--loss{border-color:var(--sa-loss);color:var(--sa-loss);background:var(--sa-loss-soft)}

/* 9行テーブル */
.seihai-article .sa-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 0 .6em}
.seihai-article .sa-results{min-width:20rem}
.seihai-article .sa-group th{background:var(--sa-paper2);color:var(--sa-green);font-weight:700;font-size:.92em;border-left:4px solid var(--sa-green)}
.seihai-article .sa-group--loss th{color:var(--sa-loss);border-left-color:var(--sa-loss);background:var(--sa-loss-soft)}
.seihai-article .is-base{background:var(--sa-green-soft)}
.seihai-article .is-base th{font-weight:700}
.seihai-article tbody th[scope="row"]{white-space:nowrap}

/* 目次 */
.seihai-article .sa-toc{background:var(--sa-paper2);padding:1em 1.2em;margin:1.6em 0}
.seihai-article .sa-toc__title{font-weight:700;margin:0 0 .4em}
.seihai-article .sa-toc ol{margin:0;padding-left:1.4em}
.seihai-article .sa-toc li{margin:.2em 0}

/* CTA：主 */

.seihai-article .sa-jump{font-size:.95em}
.seihai-article .sa-cta{background:var(--sa-green-soft);border:1px solid var(--sa-green);padding:1.2em;margin:1.2em 0 1.6em}
.seihai-article .sa-cta__title{font-weight:700;color:var(--sa-green);margin:0 0 .3em}
.seihai-article .sa-cta__list{list-style:none;margin:0 0 .8em;padding:0;display:grid;gap:.6em;grid-template-columns:repeat(auto-fit,minmax(11em,1fr))}
.seihai-article .sa-btn{display:flex;align-items:center;justify-content:center;min-height:44px;padding:.6em 1em;background:var(--sa-green);color:#fff;font-weight:700;text-decoration:none;border-radius:4px;text-align:center}
.seihai-article .sa-btn:hover{background:var(--sa-green-dk);color:#fff}

/* CTA：副・根拠 */
.seihai-article .sa-sub,.seihai-article .sa-sources{font-size:.95em}
.seihai-article .sa-steps,.seihai-article ol{padding-left:1.6em}
.seihai-article .sa-steps li{margin:.5em 0}

/* 図 */
.seihai-article figure{margin:1.6em 0}
.seihai-article img{max-width:100%;height:auto;border:1px solid var(--sa-rule)}
.seihai-article figcaption{font-size:.85em;color:var(--sa-muted);line-height:1.7;margin-top:.5em}

@media (max-width:480px){
  .seihai-article th,.seihai-article td{padding:.5em .45em}
  .seihai-article table{font-size:.86em}
  .seihai-article .sa-compare .sa-tag{display:block;margin:.2em 0 0;width:max-content}
}
.seihai-article{font-size:17px;max-width:900px;margin-inline:auto}.seihai-article .sa-compare-wrap{overflow-x:auto}.seihai-article .sa-compare{min-width:18rem}.seihai-article .sa-group th{white-space:normal!important}.seihai-article .sa-btn:focus-visible{outline:3px solid #8e3b2a;outline-offset:3px}@media(max-width:480px){.seihai-article{font-size:16px;padding:14px}.seihai-article .sa-verdict{padding:14px 10px}.seihai-article .sa-cta{padding:14px}.seihai-article .sa-results{min-width:0}.seihai-article .sa-results th,.seihai-article .sa-results td{padding:8px 5px}}
.lab-page{font-size:17px;line-height:1.95;color:#23271f;max-width:900px;margin:auto}.lab-page h2{background:none;border:0;border-left:4px solid #1f4d3a;padding:.15em 0 .15em .75em;margin:2.6em 0 1em;font-size:1.4em;line-height:1.6}.lab-page h2:before,.lab-page h2:after{content:none}.lab-page p{margin-bottom:1.4em}.lab-page a{color:#1f4d3a;text-underline-offset:.2em}.lab-page .wp-block-button__link{color:#fff;background:#1f4d3a;border-radius:4px;padding:14px 24px;text-decoration:none}.lab-page .wp-block-table{overflow-x:auto;margin:24px 0}.lab-page table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.7}.lab-page td,.lab-page th{padding:12px;border:0;border-bottom:1px solid #dcd6c8;text-align:left}.lab-page th{color:#1f4d3a;background:#f3f0e6}.lab-page figcaption{font-size:13px;color:#5b6157;line-height:1.7}.lab-page li{margin:.5em 0}.lab-page a:focus-visible{outline:3px solid #8e3b2a;outline-offset:3px}@media(max-width:480px){.lab-page{font-size:16px}.lab-page td,.lab-page th{padding:9px 6px}.lab-page table{font-size:14px}}