@charset "UTF-8";
/*
Theme Name: Cocoon Child
Template: cocoon-master
Description: ysd-tv.com リニューアル（黒×朱）
Version: 2.0.0
*/

/* ===============================
   0. 変数
   =============================== */
:root{
  --ysd-ink:#111111;
  --ysd-accent:#C8321A;
  --ysd-accent-dark:#B8301A;
  --ysd-sub:#555555;
  --ysd-line:#DDDDDD;
  --ysd-tint:#F1E3DF;
  --ysd-gray:#F5F5F5;
  --ysd-display:'Dela Gothic One',sans-serif;
  --ysd-body:'Zen Kaku Gothic New','Hiragino Sans',sans-serif;
}

/* ===============================
   1. ベース
   =============================== */
body{
  font-family:var(--ysd-body);
  color:var(--ysd-ink);
  background:#fff;
  line-height:1.9;
}
a{color:var(--ysd-ink);}
a:hover{color:var(--ysd-accent-dark);}
#container, .content, .main, .sidebar{background:transparent;}
.main, .sidebar{border:none;padding:0;}


/* ===============================
   2. ヘッダー・メニュー
   =============================== */
.header-container{background:#fff;border-bottom:2px solid var(--ysd-ink);}
.header{background:#fff;}
.header-in{min-height:auto;padding:16px 0;}
.logo-text{padding:0;}
.site-name-text{
  font-family:var(--ysd-display);
  font-size:24px;
  color:var(--ysd-ink);
  letter-spacing:.02em;
}
.tagline{font-size:12px;color:var(--ysd-sub);font-weight:500;}

#navi, .navi{background:#fff;}
#navi .navi-in > ul > li > a{
  color:var(--ysd-ink);
  font-weight:700;
  font-size:14px;
}
#navi .navi-in > ul > li > a:hover{background:transparent;color:var(--ysd-accent);}
/* メニューの最後の項目をLINEボタンにする */
#navi .navi-in > ul > li.menu-line{width:auto;}
#navi .navi-in > ul > li.menu-line > a{
  white-space:nowrap;
  line-height:1.4;
  background:var(--ysd-accent);
  color:#fff;
  border-radius:4px;
  margin:8px 0;
  height:auto;
  padding:10px 18px;
}
#navi .navi-in > ul > li.menu-line > a:hover{background:var(--ysd-accent-dark);color:#fff;}

/* ===============================
   3. トップ：ヒーロー・はじめての方へ（ウィジェット）
   =============================== */
.ysd-hero{
  background:var(--ysd-ink);
  color:#fff;
  margin:0 0 48px;
  padding:64px 48px 56px;
  border-radius:6px;
}
.ysd-hero-in{display:flex;flex-wrap:wrap;gap:48px;align-items:flex-end;}
.ysd-hero-copy{flex:999 1 480px;min-width:0;}
.ysd-hero-eyebrow{font-size:13px;font-weight:700;letter-spacing:.2em;color:var(--ysd-accent);margin-bottom:16px;}
.ysd-hero h1, .ysd-hero .ysd-hero-title{
  font-family:var(--ysd-display);
  font-weight:400;
  font-size:52px;
  line-height:1.25;
  margin:0;
  color:#fff;
}
.ysd-hero p{margin:24px 0 0;font-size:17px;line-height:1.9;color:#D6D6D6;max-width:560px;}
.ysd-stats{flex:1 1 300px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #444;}
.ysd-stat{padding:18px 8px 0 16px;border-left:1px solid #444;}
.ysd-stat:first-child{border-left:none;padding-left:0;}
.ysd-stat b{display:block;font-family:var(--ysd-display);font-weight:400;font-size:36px;line-height:1;}
.ysd-stat b small{font-size:15px;}
.ysd-stat span{display:block;font-size:12px;color:#BBBBBB;margin-top:8px;}

.ysd-start{margin-bottom:48px;}
.ysd-section-title{display:flex;flex-wrap:wrap;align-items:baseline;gap:14px;margin:0 0 24px;}
.ysd-section-title strong{font-size:26px;font-weight:900;}
.ysd-section-title span{font-size:14px;color:var(--ysd-sub);}
.ysd-start-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;}
.ysd-start-card{
  display:flex;flex-direction:column;gap:12px;
  border:2px solid var(--ysd-ink);border-radius:6px;padding:24px;
  text-decoration:none;transition:transform .15s;
}
.ysd-start-card:hover{transform:translateY(-3px);color:var(--ysd-ink);}
.ysd-start-num{font-family:var(--ysd-display);font-size:36px;line-height:1;color:var(--ysd-accent);}
.ysd-start-title{font-size:17px;font-weight:700;line-height:1.6;}
.ysd-start-for{font-size:13px;color:var(--ysd-sub);}

/* ===============================
   4. 記事一覧（エントリーカード）
   =============================== */
.list-title, .archive-title{font-size:26px;font-weight:900;border-bottom:2px solid var(--ysd-ink);padding-bottom:12px;}
.entry-card-wrap{
  border-bottom:1px solid var(--ysd-line);
  padding:24px 0;
  margin-bottom:0;
  box-shadow:none !important;
  background:transparent;
}
.entry-card-wrap:hover{background:transparent;}
.entry-card-thumb{width:220px;margin-right:24px;}
.entry-card-thumb img{border-radius:6px;}
.entry-card-content{margin-left:244px;}
.entry-card-title{font-size:20px;font-weight:700;line-height:1.55;}
.entry-card-snippet{font-size:14px;line-height:1.8;color:#444;margin-top:8px;}
.cat-label{
  background:var(--ysd-accent);
  border:none;
  border-radius:3px;
  font-weight:700;
  font-size:11px;
  top:8px;left:8px;
  padding:2px 8px;
}
.entry-card-meta, .post-date, .entry-date{color:#666;font-weight:700;font-size:12px;}

/* ページネーション */
.pagination .page-numbers{border:2px solid var(--ysd-ink);border-radius:4px;color:var(--ysd-ink);font-weight:700;}
.pagination .current{background:var(--ysd-ink);color:#fff;}
.pagination-next-link{border:2px solid var(--ysd-ink);border-radius:4px;font-weight:700;background:#fff;}
.pagination-next-link:hover{background:var(--ysd-ink);color:#fff;}

/* ===============================
   5. サイドバー
   =============================== */
.sidebar h3, .widget-sidebar-title{
  background:transparent;
  color:var(--ysd-ink);
  font-size:16px;
  font-weight:900;
  padding:0 0 10px;
  border:none;
  border-bottom:2px solid var(--ysd-ink);
  border-radius:0;
}
.widget_categories ul li a, .widget_recent_entries ul li a{
  border-bottom:1px solid var(--ysd-line);
  padding:12px 0;
  font-weight:500;
}
.author-box{border:2px solid var(--ysd-ink);border-radius:6px;padding:20px;}
.author-box .author-name{font-weight:900;}

/* LINE特典ボックス（サイドバー・記事内共通） */
.ysd-line-box{
  background:var(--ysd-ink);color:#fff;
  border-radius:6px;padding:28px 24px;
}
.ysd-line-label{font-size:12px;font-weight:700;letter-spacing:.15em;color:var(--ysd-accent);}
.ysd-line-title{font-size:20px;font-weight:900;line-height:1.55;margin-top:8px;}
.ysd-line-sub{font-size:13px;color:#CCC;margin-top:8px;}
.ysd-btn{
  display:flex;align-items:center;justify-content:center;
  min-height:48px;margin-top:18px;padding:12px 24px;
  background:var(--ysd-accent);color:#fff !important;
  font-weight:700;border-radius:4px;text-decoration:none;
}
.ysd-btn:hover{background:var(--ysd-accent-dark);}

/* ===============================
   6. 記事ページ
   =============================== */
.entry-title, .article h1{font-size:34px;font-weight:900;line-height:1.5;}
.article{font-size:17px;line-height:2.05;}
.article p{margin-bottom:1.5em;}
.eye-catch img{border-radius:6px;}

.article h2{
  background:transparent;
  color:var(--ysd-ink);
  font-size:26px;font-weight:900;line-height:1.5;
  padding:0 0 12px;
  margin:56px 0 24px;
  border:none;
  border-bottom:3px solid var(--ysd-ink);
  border-radius:0;
}
.article h3{
  background:transparent;
  font-size:20px;font-weight:900;
  padding:0;margin:40px 0 16px;
  border:none;
}
.article h3::before{content:"■";color:var(--ysd-accent);margin-right:8px;}
.article h4{border:none;padding:0;font-weight:900;}

/* 目次 */
.toc{
  background:var(--ysd-gray);
  border:none;border-radius:6px;
  padding:24px 28px;
  width:100%;box-sizing:border-box;
}
.toc-title{font-weight:900;text-align:left;font-size:15px;}
.toc-content a{color:var(--ysd-ink);}

/* まとめ（自動生成記事の最初のリスト用） */
.ysd-summary{border:2px solid var(--ysd-ink);border-radius:6px;padding:24px 28px;margin:32px 0;}
.ysd-summary-title{font-size:14px;font-weight:900;letter-spacing:.1em;color:var(--ysd-accent);}
.ysd-summary ul{margin:10px 0 0;}

/* プロンプト例 */
.ysd-prompt{background:var(--ysd-ink);border-radius:6px;overflow:hidden;margin:32px 0;}
.ysd-prompt-head{padding:10px 20px;border-bottom:1px solid #333;color:#F2F2F2;font-size:13px;font-weight:700;}
.ysd-prompt pre, .article pre{
  margin:0;padding:20px;
  background:var(--ysd-ink);color:#F2F2F2;
  font-size:14px;line-height:1.8;
  white-space:pre-wrap;border:none;
}

/* ※補足 */
.ysd-note{background:var(--ysd-tint);border-radius:6px;padding:20px 24px;font-size:15px;margin:32px 0;}

/* Cocoon標準ボックスもトーンを合わせる */
.blank-box{border-color:var(--ysd-ink);border-radius:6px;}
.blogcard{border:2px solid var(--ysd-ink);border-radius:6px;}

/* 関連記事 */
.related-entry-heading, .comment-title{
  font-size:20px;font-weight:900;border:none;
  border-bottom:2px solid var(--ysd-ink);background:transparent;padding:0 0 12px;
}
.related-entry-card-wrap{box-shadow:none !important;}
.related-entry-card-thumb img{border-radius:6px;}

/* ===============================
   7. 下部CTA・フッター
   =============================== */
.ysd-bottom-cta{
  background:var(--ysd-accent);color:#fff;
  margin:48px 0 0;
  padding:48px;
  border-radius:6px;
}
.ysd-bottom-cta-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:28px;}
.ysd-bottom-cta-title{font-family:var(--ysd-display);font-weight:400;font-size:32px;line-height:1.45;}
.ysd-bottom-cta p{margin:14px 0 0;}
.ysd-bottom-cta .ysd-btn{background:#fff;color:var(--ysd-ink) !important;font-size:18px;font-weight:900;margin-top:0;padding:18px 40px;}

.footer{background:var(--ysd-ink);color:#BBB;margin-top:0;}
.footer a{color:#BBB;}
.footer a:hover{color:#fff;}
.footer-bottom-logo .site-name-text{color:#fff;font-size:22px;}
.copyright{color:#BBB;}

/* ===============================
   8. スマホ
   =============================== */
@media screen and (max-width:834px){
  .ysd-hero{padding:40px 20px 36px;}
  .ysd-hero h1, .ysd-hero .ysd-hero-title{font-size:40px;}
  .ysd-stat b{font-size:28px;}
  .ysd-bottom-cta{padding:36px 20px;}
  .ysd-bottom-cta-title{font-size:24px;}
}
@media screen and (max-width:480px){
  .entry-card-thumb{width:120px;margin-right:12px;}
  .entry-card-content{margin-left:132px;}
  .entry-card-title{font-size:16px;}
  .entry-card-snippet{display:none;}
  .entry-title, .article h1{font-size:26px;}
  .article{font-size:16px;}
  .article h2{font-size:22px;}
}
