@charset "UTF-8";

/*!
Theme Name: Ig Knowledge Cocoon Child
Theme URI: https://igknowledge-psycho.com/
Description: Ig Knowledge用のCocoon Child Theme
Author: Ig Knowledge
Author URI: https://igknowledge-psycho.com/
Template: cocoon-master
Version: 0.1.0
Text Domain: ig-cocoon-child
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
:root {
  --ig-focus-color: #005fcc;
  --ig-content-measure: 72rem;
}

/* Keep existing Cocoon content and URLs intact while improving reading flow. */
html {
  scroll-behavior: smooth;
}

body {
  overflow-wrap: anywhere;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--ig-focus-color);
  outline-offset: 3px;
}

:where(.entry-content, .article-body, .main, .sidebar) :where(pre, code) {
  overflow-wrap: anywhere;
}

:where(.entry-content, .article-body) pre,
:where(.entry-content, .article-body) table {
  max-width: 100%;
  overflow-x: auto;
}

:where(.entry-content, .article-body) h2,
:where(.entry-content, .article-body) h3,
:where(.entry-content, .article-body) h4 {
  scroll-margin-top: 5rem;
}

/* Keep long article columns comfortable without changing their content. */
:where(.entry-content, .article-body) {
  max-width: var(--ig-content-measure);
  line-height: 1.85;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  :where(.content-in, .header-in) {
    box-sizing: border-box;
    width: 100%;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  :where(.content-in, .header-in) {
    padding-inline: 1rem;
  }

  /* Preserve the existing navigation links while making a long menu usable. */
  #navi .navi-in {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #navi .navi-in > ul {
    min-width: max-content;
  }

  :where(.navi-menu-button, .mobile-menu-buttons .menu-button, .header-menu-button) {
    min-width: 44px;
    min-height: 44px;
  }

  :where(.entry-content, .article-body) {
    line-height: 1.8;
  }

  :where(.entry-content, .article-body) table {
    display: block;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  :where(.content-in, .header-in) {
    padding-inline: 0.75rem;
  }

  :where(input[type="search"], input[type="text"], input[type="email"], textarea, select, button, .button) {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Phase B: expose existing routes as an intent-led information architecture. */
.ig-knowledge-hub,
.ig-knowledge-expertise,
.ig-knowledge-related {
  margin: 2rem 0;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid #d8e3e8;
  border-radius: 0.75rem;
  background: #f7fafb;
}

.ig-knowledge-hub__intro {
  max-width: 48rem;
}

.ig-knowledge-hub__intro h2,
.ig-knowledge-expertise h2,
.ig-knowledge-related h2 {
  margin-top: 0;
}

.ig-knowledge-hub__eyebrow {
  margin: 0 0 0.35rem;
  color: #365c6b;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ig-knowledge-hub__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.ig-knowledge-hub__item a {
  display: flex;
  height: 100%;
  box-sizing: border-box;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem;
  border: 1px solid #c9d9df;
  border-radius: 0.5rem;
  background: #fff;
  text-decoration: none;
}

.ig-knowledge-hub__item a:hover {
  border-color: #365c6b;
}

.ig-knowledge-hub__label {
  color: #173b4a;
  font-weight: 700;
}

.ig-knowledge-hub__description {
  color: #40545c;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.ig-knowledge-related ul {
  margin-bottom: 0;
}

@media screen and (max-width: 480px) {
  .ig-knowledge-hub,
  .ig-knowledge-expertise,
  .ig-knowledge-related {
    margin-block: 1.5rem;
    padding: 1rem;
  }

  .ig-knowledge-hub__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   DS2.6C1 — Ig Knowledge Home brand intro candidate
   ========================================================= */
.ig-ds2-home-intro{--ig-ds2-navy:#214e68;--ig-ds2-cyan:#35b8cf;--ig-ds2-pale:#dff5fb;--ig-ds2-muted:#55747f;--ig-ds2-coral:#e7a08e;color:var(--ig-ds2-navy);background:#fff}
.ig-ds2-home-intro,.ig-ds2-home-intro *{box-sizing:border-box}
.ig-ds2-home-wrap{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.ig-ds2-home-hero{position:relative;min-height:660px;overflow:hidden;background:radial-gradient(circle at 72% 46%,rgba(255,255,255,.98) 0 22%,rgba(255,255,255,.75) 22.3% 34%,transparent 34.4%),linear-gradient(145deg,#dff5fb 0%,#cceef7 48%,#e9f8fb 100%)}
.ig-ds2-home-hero::after{content:"";position:absolute;left:-3%;right:-3%;bottom:-8px;height:44%;background:var(--ig-ds2-wave) center bottom/cover no-repeat;opacity:.92;pointer-events:none}
.ig-ds2-home-hero::before{content:"";position:absolute;width:14px;height:14px;top:17%;right:16%;border-radius:50%;background:var(--ig-ds2-cyan);box-shadow:-560px 110px 0 -3px var(--ig-ds2-cyan),80px 210px 0 -4px var(--ig-ds2-navy)}
.ig-ds2-home-hero>.ig-ds2-home-wrap{position:relative;z-index:2;min-height:660px;display:flex;align-items:center}
.ig-ds2-home-hero-copy{width:min(610px,61%);padding:70px 0 170px}
.ig-ds2-home-label{display:inline-flex;margin:0;padding:10px 18px;border-radius:999px;background:var(--ig-ds2-cyan);color:#fff;font-size:.78rem;font-weight:800;letter-spacing:.06em;line-height:1.5}
.ig-ds2-home-title{margin:24px 0 0;color:var(--ig-ds2-navy);font-size:clamp(3.2rem,7vw,5.25rem);font-weight:800;line-height:1.03;letter-spacing:-.035em}
.ig-ds2-home-tagline{margin:18px 0 0;color:#286a7e;font-size:clamp(1.05rem,2vw,1.45rem);font-weight:700;line-height:1.8}
.ig-ds2-home-lead{max-width:580px;margin:18px 0 0;color:#4e7380;font-size:1rem;line-height:1.95}
.ig-ds2-home-about{padding:clamp(56px,7vw,86px) 0}
.ig-ds2-home-about-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:clamp(28px,5vw,56px);align-items:center}
.ig-ds2-home-about-media{margin:0;overflow:hidden;border-radius:22px}
.ig-ds2-home-about-media img{width:100%;aspect-ratio:4/3;object-fit:cover}
.ig-ds2-home-about-copy{padding:clamp(26px,4vw,40px);border:1px solid #cfeaf1;border-radius:22px;background:#effafd}
.ig-ds2-home-kicker{margin:0;color:#2aaec4;font-size:.78rem;font-weight:900;letter-spacing:.1em}
.ig-ds2-home-about-copy h2{margin:8px 0 16px;color:var(--ig-ds2-navy);font-size:clamp(1.7rem,3vw,2.35rem);line-height:1.4}
.ig-ds2-home-about-copy>p:last-child{margin:0;color:var(--ig-ds2-muted);font-size:1rem;line-height:2}
@media(max-width:760px){.ig-ds2-home-wrap{width:min(100% - 28px,1180px)}.ig-ds2-home-hero{min-height:650px;background:radial-gradient(circle at 50% 35%,rgba(255,255,255,.95) 0 24%,rgba(255,255,255,.62) 24.5% 38%,transparent 38.5%),linear-gradient(145deg,#dff5fb,#cfeff7 60%,#effbfc)}.ig-ds2-home-hero>.ig-ds2-home-wrap{min-height:650px;align-items:flex-end}.ig-ds2-home-hero-copy{width:100%;padding:60px 0 180px}.ig-ds2-home-about-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.ig-ds2-home-intro *,.ig-ds2-home-intro *::before,.ig-ds2-home-intro *::after{scroll-behavior:auto!important;transition:none!important}}


/* DS2.6C2B-R1 — Ig Knowledge four-topic Focus cards */
.home .ig-ds2-focus{margin:clamp(26px,4vw,42px) 0 30px}
.home .ig-ds2-focus__intro{max-width:760px;margin-bottom:22px}
.home .ig-ds2-focus__eyebrow{margin:0 0 6px;color:#28aec3;font-size:.78rem;font-weight:900;letter-spacing:.12em}
.home .ig-ds2-focus__intro h3{margin:0 0 10px;color:#214e68;font-size:clamp(1.6rem,3vw,2.15rem);line-height:1.4}
.home .ig-ds2-focus__intro>p:last-child{margin:0;color:#5b7782;line-height:1.9}
.home .ig-ds2-focus-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.home .ig-ds2-focus-card{min-width:0;overflow:hidden;padding:16px 16px 20px;border:1px solid #cfe9f0;border-radius:20px;background:linear-gradient(180deg,rgba(223,245,251,.55),rgba(255,255,255,.97) 52%);box-shadow:0 10px 30px rgba(33,78,104,.06)}
.home .ig-ds2-focus-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;border-radius:14px}
.home .ig-ds2-focus-card h4{margin:13px 0 7px;color:#214e68;font-size:1rem;line-height:1.55}
.home .ig-ds2-focus-card p{margin:0;color:#607c87;font-size:.9rem;line-height:1.8}
.home .ig-knowledge-hub__grid{margin-top:24px}
.home .ig-knowledge-hub__item:focus-visible{outline:3px solid #35b8cf;outline-offset:3px}
@media(max-width:980px){.home .ig-ds2-focus-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.home .ig-ds2-focus-grid{grid-template-columns:1fr}.home .ig-ds2-focus-card{display:grid;grid-template-columns:116px 1fr;column-gap:14px;align-items:center}.home .ig-ds2-focus-card img{grid-row:1/span 2}.home .ig-ds2-focus-card h4{margin-top:0}}
@media(prefers-reduced-motion:reduce){.home .ig-ds2-focus-card,.home .ig-knowledge-hub__item{transition:none!important;transform:none!important}}
