@charset "utf-8";

/* ============================================================
   v1.6 で足す部品（style.css の後に読む）
   目的：本文を読まなくても、各節の要点が図と表で掴めるようにする。
   本文は消さず、「詳しく」に畳む。色は style.css の四色と三区分の色だけを使う。
   ============================================================ */

/* ---------- この頁の要点　頁の頭に置く流れの図 ---------- */

.summary {
  margin: 0 0 4.5rem;
  padding: 1.75rem 1.75rem 1.5rem;
  background: var(--c-head);
  border-left: 3px solid var(--c-key);
  max-width: none;
}
.summary > .tag { margin: 0 0 1rem; color: var(--c-key); font-weight: 700; }

.flow {
  list-style: none; margin: 0; padding: 0; max-width: none;
  display: grid; gap: 0.75rem;
  counter-reset: flow;
}
@media (min-width: 44em) {
  .flow { grid-template-columns: repeat(var(--n, 4), 1fr); gap: 0 1.6rem; }
}
.flow li {
  position: relative; margin: 0; max-width: none;
  counter-increment: flow;
  font-size: 0.9375rem; line-height: 1.75;
}
.flow li::before {
  content: counter(flow);
  display: block;
  font-family: var(--font-num);
  font-size: 1.5rem; font-weight: 700; line-height: 1.2;
  color: var(--c-key);
  margin-bottom: 0.35rem;
}
.flow li strong { display: block; font-size: 1rem; margin-bottom: 0.2rem; }
@media (min-width: 44em) {
  /* 段と段のあいだの矢印 */
  .flow li:not(:last-child)::after {
    content: "→";
    position: absolute; right: -1.25rem; top: 0.1rem;
    font-size: 1.1rem; color: var(--c-rule-strong);
  }
}

/* ---------- 一行の要点　節の結論を大きく ---------- */

.point {
  margin: 2.25rem 0;
  padding: 0.2rem 0 0.2rem 1.1rem;
  border-left: 3px solid var(--c-key);
  font-size: 1.1875rem; font-weight: 700; line-height: 1.75;
  max-width: var(--measure);
}

/* ---------- 二つを並べる　対比の図 ---------- */

.pair {
  margin: 2.5rem 0; padding: 0; list-style: none; max-width: none;
  display: grid; gap: 1rem;
}
@media (min-width: 44em) { .pair { grid-template-columns: 1fr 1fr; gap: 0 1.25rem; } }
.pair li {
  margin: 0; max-width: none;
  padding: 1.1rem 1.25rem 1.2rem;
  border: 1px solid var(--c-rule-strong);
  font-size: 0.9375rem; line-height: 1.8;
}
.pair li.is-open { border-style: dashed; }
.pair .pair__head { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 0.4rem; }

/* ---------- 循環の図　記録が判断の質につながる ---------- */

.cycle { margin: 2.5rem 0; }
.cycle svg { display: block; width: 100%; max-width: 40rem; height: auto; color: var(--c-text); }

/* ---------- 詳しく　本文を畳む ---------- */

details.more {
  margin: 1.25rem 0 2rem;
  max-width: var(--measure);
  border-top: 1px solid var(--c-rule);
  border-bottom: 1px solid var(--c-rule);
}
details.more > summary {
  cursor: pointer;
  list-style: none;
  padding: 0.7rem 0;
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--c-key);
}
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: "＋"; display: inline-block; width: 1.4em; }
details.more[open] > summary::before { content: "－"; }
details.more > *:not(summary) { font-size: 0.9375rem; }
details.more > p:last-child { margin-bottom: 1.1rem; }

/* ---------- 当社の立ち位置　頁の終わりの囲み ---------- */

.stance {
  margin: 2rem 0 0; padding: 1.5rem 1.75rem;
  border: 1px solid var(--c-key);
  max-width: none;
}
.stance p { margin: 0 0 0.6rem; }
.stance p:last-child { margin-bottom: 0; }
.stance .stance__lead { font-size: 1.1875rem; font-weight: 700; }

@media (max-width: 40em) {
  .summary { padding: 1.25rem 1.1rem 1rem; margin-bottom: 3.5rem; }
  .point { font-size: 1.0625rem; }
  .flow li::before { display: inline-block; font-size: 1.15rem; margin: 0 0.5rem 0 0; }
  .flow li strong { display: inline; }
}

@media print {
  details.more > *:not(summary) { display: block; }
  details.more > summary { display: none; }
  details.more::details-content { content-visibility: visible; display: block; }
}
