@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){
  /*必要ならばここにコードを書く*/
}


/* B1 WordPress Build Package v0.1 — site-specific minimal layer */
.b1-art-directed-visual { margin: 1.75rem auto .5rem; }
.b1-art-directed-visual picture,
.b1-art-directed-visual img { display: block; width: 100%; }
.b1-art-directed-visual img { height: auto; border-radius: 12px; }
.b1-visual-wide { max-width: 1080px; }
.b1-visual-checklist { max-width: 820px; }

.b1-compare-table { width: 100%; border-collapse: collapse; border-spacing: 0; }
.b1-compare-table th,
.b1-compare-table td { padding: 14px 16px; border: 1px solid #d9deda; vertical-align: top; }
.b1-compare-table thead th { background: #e8ecea; font-weight: 700; }
.b1-compare-table tbody th[scope="row"] { background: #f6f5f0; text-align: left; }

.b1-cta-short-path { margin: 1.5rem 0; }
.b1-source-note,
.b1-caution-note { padding: 14px 16px; border-left: 4px solid #87979a; background: #f6f5f0; }
.b1-final-provider-cta { scroll-margin-top: 2rem; }
.b1-final-provider-cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.b1-provider-cta { display: grid; gap: 12px; padding: 20px; border: 1px solid #d9deda; border-radius: 12px; }
.b1-provider-cta button:disabled { cursor: not-allowed; opacity: .75; }

/* Breakpoint remains provisional until full real-runtime QA. */
@media (max-width: 760px) {
  .b1-art-directed-visual img { border-radius: 9px; }
  .b1-visual-wide,
  .b1-visual-checklist { max-width: 100%; }
  .b1-final-provider-cta__grid { grid-template-columns: 1fr; }

  .b1-compare-table,
  .b1-compare-table thead,
  .b1-compare-table tbody,
  .b1-compare-table tr,
  .b1-compare-table th,
  .b1-compare-table td { display: block; width: 100%; box-sizing: border-box; }
  .b1-compare-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .b1-compare-table tbody tr { margin: 0 0 14px; border: 1px solid #d9deda; }
  .b1-compare-table tbody th,
  .b1-compare-table tbody td { border: 0; border-top: 1px solid #d9deda; overflow-wrap: anywhere; }
  .b1-compare-table tbody th[scope="row"] { border-top: 0; }
  .b1-compare-table td[data-provider]::before { display: block; margin-bottom: 4px; font-weight: 700; color: #606763; content: attr(data-provider); }
}

/* B1 full non-public implementation additions v0.1 */
.b1-ad-note { margin: 1.25rem 0; padding: 12px 14px; border: 1px dashed #b7bdb8; border-radius: 10px; color: #606763; font-size: .9rem; }
.b1-section-kicker { margin-bottom: .35rem; color: #285a58; font-size: .82rem; font-weight: 700; letter-spacing: .06em; }
.b1-summary-list { display: grid; gap: 8px; }
.b1-source-note { margin: 14px 0 0; border-radius: 0 10px 10px 0; color: #4e585b; }
.b1-notice-card { margin: 1.25rem 0; padding: 18px; border-left: 5px solid #875a20; border-radius: 10px; background: #fff5dc; }
.b1-notice-card > :first-child { margin-top: 0; }
.b1-purpose-router { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 1.25rem 0; }
.b1-purpose-card { display: block; min-width: 0; padding: 18px; border: 1px solid #d9deda; border-top: 4px solid #285a58; border-radius: 12px; background: #fff; text-decoration: none; }
.b1-purpose-card strong { display: block; margin-bottom: 6px; color: #262b2a; }
.b1-purpose-card span { color: #606763; }
.b1-provider-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin: 1.25rem 0; }
.b1-provider-card { min-width: 0; padding: 20px; border: 1px solid #d9deda; border-radius: 12px; background: #fff; }
.b1-provider-card h3 { margin-top: 0; }
.b1-scan-block { padding: 14px 0 0; border-top: 1px solid #d9deda; }
.b1-scan-block + .b1-scan-block { margin-top: 14px; }
.b1-scan-label { display: block; margin-bottom: 5px; color: #285a58; font-size: .85rem; font-weight: 700; }
.b1-caution-label { color: #875a20; }
.b1-internal-pending { margin: 1.25rem 0; padding: 14px 16px; border-left: 4px solid #285a58; background: #f6f5f0; color: #606763; }
.b1-state { display: inline-block; margin-right: 4px; padding: 2px 7px; border: 1px solid #e8cf95; border-radius: 999px; background: #fff5dc; color: #875a20; font-size: .78rem; font-weight: 700; }
.b1-purpose-detail article { padding: 1rem 0; border-top: 1px solid #d9deda; }
.b1-purpose-detail article:last-child { border-bottom: 1px solid #d9deda; }
.b1-hard-gate { margin-top: 2rem; padding: 18px; border: 1px dashed #b7bdb8; border-radius: 12px; background: #fbfaf6; }
@media (max-width: 760px) {
  .b1-purpose-router,
  .b1-provider-grid { grid-template-columns: 1fr; }
}


/* B1 publication-candidate page shell cleanup v0.1 */
.page-id-31 #sidebar { display: none !important; }
.page-id-31 #content-in { display: block; }
.page-id-31 #main { width: min(960px, 100%); margin-left: auto; margin-right: auto; float: none; }
.page-id-31 .sns-share,
.page-id-31 .sns-follow,
.page-id-31 .footer-meta { display: none !important; }

.page-id-31 .b1-ad-note { border-style: solid; background: #f6f5f0; color: #262b2a; font-weight: 600; }

/* B1 mobile comparison readability v0.1 */
.b1-cell-note { display:block; margin-top:6px; color:#606763; font-size:.85em; line-height:1.55; }
.b1-state-copy { display:block; margin-top:6px; }
.b1-source-note__sub { display:block; margin-top:5px; font-size:.88em; line-height:1.65; }
@media (max-width:760px){
  .b1-compare-table tbody tr { margin:0 0 18px; border:1px solid #d9deda; border-radius:10px; overflow:hidden; background:#fff; }
  .b1-compare-table tbody th[scope="row"] { padding:13px 14px; background:#f2f1ed; font-size:1.05em; font-weight:700; }
  .b1-compare-table tbody td { padding:14px; background:#fff; }
  .b1-compare-table tbody td + td { border-top:1px solid #e5e7e4; }
  .b1-compare-table td[data-provider]::before { margin-bottom:8px; color:#606763; font-size:.9em; letter-spacing:.02em; }
  .b1-compare-table .b1-state { display:inline-block; margin:0 0 4px; }
  .b1-compare-table .b1-state-copy { margin-top:4px; }
}


/* B1 FV hero v0.1 */
.b1-fv-hero { margin: 1.1rem 0 1.5rem; padding: clamp(22px,4vw,42px); border: 1px solid #d7e2df; border-radius: 16px; background: linear-gradient(135deg,#eef7f7 0%,#fbf7eb 100%); }
.b1-fv-kicker { margin: 0 0 .55rem; color: #285a58; font-size: .92rem; font-weight: 700; letter-spacing: .02em; }
.b1-fv-title { margin: 0; color: #122a2f; font-size: clamp(1.75rem,4vw,2.7rem); font-weight: 800; line-height: 1.22; }
.b1-fv-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 1rem; }
.b1-fv-chips span { padding: 6px 11px; border: 1px solid #bcd1cf; border-radius: 999px; background: rgba(255,255,255,.88); color: #285a58; font-size: .88rem; font-weight: 700; }
.b1-summary-heading { margin: 1.65rem 0 .75rem; padding: 12px 14px; background: #f4f6f5; color: #262b2a; font-size: 1.28rem; font-weight: 800; line-height: 1.35; }
@media (max-width: 600px) {
  .b1-fv-hero { margin-top: .9rem; padding: 20px 18px; border-radius: 14px; }
  .b1-fv-kicker { font-size: .84rem; }
  .b1-fv-title { font-size: 1.8rem; }
  .b1-fv-chips { gap: 7px; }
  .b1-fv-chips span { padding: 5px 9px; font-size: .8rem; }
}


/* B1 featured image: OGP/list only v0.1 */
.page-id-31 .eye-catch-wrap { display: none !important; }

/* 学び判断帖 Site-wide Brand Layer — Batch 1 candidate v0.1 */
:root {
  --mh-primary: #285A58;
  --mh-canvas: #FAFAF7;
  --mh-warm: #EEE8DC;
  --mh-text: #262B2A;
  --mh-text-sub: #606763;
  --mh-divider: #D9DEDA;
  --mh-uncertain: #875A20;
  --mh-white: #FFFFFF;
}

.body {
  background: var(--mh-canvas);
  color: var(--mh-text);
}

#header-container,
#header {
  background: rgba(250,250,247,.98);
}

#header-container {
  border-bottom: 1px solid var(--mh-divider);
}

.logo-text a {
  color: var(--mh-primary);
}
#navi {
  background: var(--mh-canvas);
  border-bottom: 1px solid var(--mh-divider);
}

#navi .navi-in a {
  color: var(--mh-text);
}

#navi .navi-in a:hover,
#navi .navi-in .current-menu-item > a,
#navi .navi-in .current_page_item > a {
  color: var(--mh-primary);
  background: transparent;
}

#content {
  background: var(--mh-canvas);
}

#main {
  background: var(--mh-white);
  border: 1px solid rgba(217,222,218,.82);
  box-shadow: none;
}

.article,
.entry-content {
  color: var(--mh-text);
}
.article h1,
.article h2,
.article h3,
.article h4 {
  color: var(--mh-text);
}

.article h2 {
  padding: 18px 20px;
  border-left: 4px solid var(--mh-primary);
  border-radius: 0;
  background: var(--mh-warm);
}

.article h3 {
  padding: 10px 0 10px 14px;
  border: 0;
  border-left: 3px solid var(--mh-primary);
  background: transparent;
}

.article h4 {
  padding: 8px 0;
  border: 0;
  border-top: 1px solid var(--mh-divider);
  border-bottom: 1px solid var(--mh-divider);
}

.article a {
  color: var(--mh-primary);
  text-decoration-color: rgba(40,90,88,.42);
  text-underline-offset: .16em;
}
#footer {
  background: var(--mh-warm);
  color: var(--mh-text-sub);
  border-top: 1px solid var(--mh-divider);
}

#footer a {
  color: var(--mh-text);
}

.mobile-menu-buttons {
  background: rgba(250,250,247,.98);
  color: var(--mh-text);
  border-top: 1px solid var(--mh-divider);
  box-shadow: 0 -2px 10px rgba(38,43,42,.05);
}

.mobile-menu-buttons .menu-button > a {
  color: var(--mh-text);
}

.mobile-menu-buttons .menu-button > a:hover,
.mobile-menu-buttons .menu-button > a:focus-visible {
  color: var(--mh-primary);
}

.menu-content {
  background: var(--mh-canvas);
}

.breadcrumb,
.footer-meta {
  color: var(--mh-text-sub);
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  box-sizing: border-box;
  background: var(--mh-white);
  color: var(--mh-text);
  border: 1px solid var(--mh-divider);
  border-radius: 4px;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: 2px solid rgba(40,90,88,.25);
  outline-offset: 1px;
  border-color: var(--mh-primary);
}

.wpcf7 input[type="submit"] {
  border: 1px solid var(--mh-primary);
  border-radius: 4px;
  background: var(--mh-primary);
  color: var(--mh-white);
  font-weight: 700;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 input[type="submit"]:focus-visible {
  filter: brightness(.94);
}

/* 学び判断帖 Homepage Batch 2 candidate v0.2 */
.home .article-header {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}
.home .article-header .entry-title {
  margin: 0;
  color: var(--mh-primary);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.5;
}
.home .article-header .date-tags,
.home .article-header .post-date,
.home .article-header .post-update { display: none; }
.home .entry-content { margin-top: 0; }

.mh-home-hero {
  margin: 0 0 2.4rem;
  padding: clamp(28px, 5vw, 54px) clamp(22px, 5vw, 56px);
  border: 1px solid var(--mh-divider);
  background: linear-gradient(135deg, #FAFAF7 0%, #F7F3EA 100%);
}
.mh-home-section-label {
  margin: 0 0 .55rem;
  color: var(--mh-primary);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.mh-home-promise {
  margin: 0;
  color: var(--mh-text);
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.2;
  letter-spacing: -.015em;
}
.mh-home-lead {
  max-width: 44rem;
  margin: 1.25rem 0 .7rem;
  font-size: 1.08em;
  line-height: 1.9;
}
.mh-home-intro {
  max-width: 48rem;
  margin: 0;
  color: var(--mh-text-sub);
  line-height: 1.9;
}
.mh-home-feature,
.mh-home-principles { margin: 0 0 2.6rem; }
.mh-home-feature > h2,
.mh-home-principles > h2 { margin-top: 0; }
.mh-home-action { margin-top: 1.2rem; }
.mh-home-action .wp-element-button {
  display: inline-block;
  padding: .8rem 1.15rem;
  border: 1px solid var(--mh-primary);
  border-radius: 4px;
  background: var(--mh-primary);
  color: var(--mh-white);
  font-weight: 700;
  text-decoration: none;
}
.mh-home-principle {
  padding: 1.1rem 0 1.15rem;
  border-top: 1px solid var(--mh-divider);
}
.mh-home-principle:last-child { border-bottom: 1px solid var(--mh-divider); }
.mh-home-principle h3 {
  margin: 0 0 .45rem;
  padding: 0;
  border: 0;
  color: var(--mh-text);
  font-size: 1.12em;
}
.mh-home-principle p { margin: 0; }
.mh-home-meta-links {
  margin-top: 2.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--mh-divider);
  color: var(--mh-text-sub);
  font-size: .92em;
}
@media (max-width: 600px) {
  .mh-home-hero { margin-bottom: 2rem; padding: 26px 18px; }
  .mh-home-promise { font-size: 2rem; }
  .mh-home-lead { font-size: 1em; }
  .mh-home-action .wp-element-button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
}

/* 学び判断帖 Homepage Batch 2 residual cleanup v0.1 */
.home #toc { display: none !important; }
.home .article-footer .footer-meta { display: none !important; }
