@charset "UTF-8";

/* ==========  Scheme（なぜ無料なの？）  ========== */

.p-scheme {
  padding: 24px 0 40px;
  background-color: var(--color-bg);
}

.p-scheme__inner {
  width: 100%;
  max-width: calc(var(--inner-width) + 16px * 2);
  margin-inline: auto;
  padding-inline: 32px;
}

/* ----------  見出し  ---------- */

.p-scheme__heading {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 28px;
}

.p-scheme__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-fv);
  font-weight: 500;
  line-height: 1.3;
}

.p-scheme__title-line {
  display: inline-block;
  padding: 4px 36px;
  border-radius: 16px;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: calc(28px + var(--sp-fs-adjust));
  letter-spacing: 0.04em;
}

.p-scheme__illust {
  position: absolute;
  right: -32px;
  bottom: -8px;
  width: 88px;
  height: auto;
  pointer-events: none;
}

/* ----------  関係図  ---------- */

.p-scheme__diagram {
  margin: 0 0 28px;
  text-align: center;
}

.p-scheme__diagram img {
  width: 100%;
  max-width: 640px;
  height: auto;
}

/* ----------  本文  ---------- */

.p-scheme__lead {
  margin-bottom: 8px;
  color: var(--color-navy);
  font-family: var(--font-maru-asr);
  font-size: calc(16px + var(--sp-fs-adjust));
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.p-scheme__mark {
  background-image: linear-gradient(transparent 62%, #ffd6d0 62%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ----------  注記  ---------- */

.p-scheme__note {
  color: var(--color-navy);
  font-family: var(--font-maru-asr);
  font-size: calc(12px + var(--sp-fs-adjust));
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-align: center;
}

