@charset "UTF-8";
/* --------------------------------------------------------------------------
   01. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* --- Color (Design Concept 03 / COLOR 確定9色) --- */
  --c-base:        #FFFFFF; /* カード・レポート面の純白 */
  --c-paper:       #F4F2ED; /* 紙のような無彩ベージュ（地） */
  --c-paper-warm:  #EAE6DD; /* 一段沈んだ面・セクション区切り */
  --c-beige:       #A18C63; /* 予備彩色 */
  --c-beige-light: #C5A572; /* 一段明るい補助ベージュ */
  --c-ink:         #1D1D1D; /* 墨。見出し・本文の主役 */
  --c-ink-light:   #5E5E5E; /* 本文セカンダリ・補足 */
  --c-ink-xlight:  #777777; /* 最も淡い補助テキスト */
  --c-line:        #9D9D9D; /* 罫線・区切り */
  --c-accent:      #743600; /* 唯一の彩色 */

  /* Hero画像の左右を埋める色（画像端の平均色 #1B1A1A〜#2A2A2A の中間） */
  --c-hero-bed:    #232323;

  /* 罫線の実用トーン（カルテの細罫） */
  --line-hair:  rgba(29, 29, 29, 0.14);
  --line-soft:  rgba(29, 29, 29, 0.09);

  /* --- Typography (Design Concept 04 / TYPOGRAPHY 3層) --- */
  --f-display: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3",
               "Hiragino Sans", "Yu Gothic Medium", "游ゴシック Medium", Meiryo, sans-serif;
  --f-body:    "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Sans",
               "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", Meiryo, sans-serif;
  --f-en:      -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
               "Helvetica Neue", "Segoe UI", Arial, sans-serif;

  /* --- Space --- */
  --sp-section:  clamp(72px, 11vw, 140px);  /* セクション上下 */
  --sp-block:    clamp(40px, 6vw, 72px);    /* ブロック間 */
  --gutter:      clamp(24px, 6vw, 48px);    /* 左右余白 */

  /* --- Measure --- */
  --w-page:  1120px;  /* 全セクション共通のコンテンツ最大幅 */
  --w-read:  760px;   /* 1カラム時の読み物カラム上限 */

  /* Hero画像の原寸（これ以上は拡大しない） */
  --w-hero-pc: 1132px;
  --w-hero-sp: 750px;
}

/* --------------------------------------------------------------------------
   02. RESET / BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: #F4F2ED;
}

.bg20 {
  margin: 0;
  padding: 0;
  background-color: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: left;
  overflow-x: hidden;
}

/* リセットは :where() で詠み込み、コンポーネント側の指定を必ず勝たせる */
.bg20 :where(img) { display: block; max-width: 100%; height: auto; border: 0; }

.bg20 :where(p, h1, h2, h3, h4, ol, ul, dl, dd, dt, figure, blockquote) {
  margin: 0;
  padding: 0;
}
.bg20 :where(ol, ul) { list-style: none; }
.bg20 :where(a) { color: inherit; text-decoration: none; }

.bg20 :where(h1, h2, h3, h4) {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* 数値・英字はSF Proで「検査票」の質感 */
.bg20 :where(.num, .en) {
  font-family: var(--f-en);
  font-feature-settings: normal;
}

/* QuSome® などの登録商標記号 */
.bg20 sup {
  font-size: 0.62em;
  vertical-align: super;
  line-height: 0;
  letter-spacing: 0;
}

.bg20 .u-sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   03. LAYOUT
   -------------------------------------------------------------------------- */
.bg20__inner {
  width: 100%;
  max-width: var(--w-page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.bg20-section {
  padding-block: var(--sp-section);
}
.bg20-section--warm { background-color: var(--c-paper-warm); }

/* セクション見出し */
.bg20-h2 {
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.bg20-h2 + .bg20-body,
.bg20-h2 + .bg20-prose,
.bg20-h2 + .bg20-split { margin-top: clamp(32px, 4.5vw, 52px); }

/* ------ 画像＋テキストの2カラム（原点／ロングセラー製品） ------ */
.bg20-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 4.6vw, 64px);
  align-items: start;
}
/* 原点：画像の表示幅（実寸430pxの約2/3＝287px）に合わせた列幅 */
.bg20-split--origin { grid-template-columns: minmax(0, 287px) 1fr; }
/* テキストを先に置く型（画像は右） */
.bg20-split--textfirst {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

/* ------ 画像スペース ------
   Heroと同じ方針で、画像は実寸を超えて拡大しない。
   列幅より大きい場合のみ縮小し、比率は原画のまま（切り取りなし）。 */
.bg20-figure { width: 100%; }
/* 一段小さく見せる型（原点セクション：287px上限） */
.bg20-figure--sm { max-width: 287px; }
.bg20-figure > img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.bg20-rule {
  width: 100%;
  height: 1px;
  margin: 0;
  border: 0;
  background-color: var(--line-hair);
}

/* 本文 */
.bg20-body {
  max-width: var(--w-read);
  font-size: 15px;
  line-height: 2.1;
  color: var(--c-ink-light);
}
.bg20-body + .bg20-body { margin-top: 1.6em; }
.bg20-body strong { font-weight: 600; color: var(--c-ink); }

.bg20-note {
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--c-ink-xlight);
}

/* --------------------------------------------------------------------------
   04. CTA
   -------------------------------------------------------------------------- */
.bg20-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9em;
  min-width: min(340px, 100%);
  padding: 22px 40px;
  border: 1px solid var(--c-ink);
  background-color: var(--c-ink);
  color: var(--c-base);
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-align: center;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.bg20-cta:hover,
.bg20-cta:focus-visible {
  background-color: transparent;
  color: var(--c-ink);
}

.bg20-action { margin-top: clamp(36px, 5vw, 56px); }

.bg20-cta--ghost {
  background-color: transparent;
  color: var(--c-ink);
}
.bg20-cta--ghost:hover,
.bg20-cta--ghost:focus-visible {
  background-color: var(--c-ink);
  color: var(--c-base);
}

.bg20-cta__note {
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  opacity: 0.72;
}

/* テキストリンク型：アンダーラインを常時表示、ホバーで消える */
.bg20-link {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  font-size: 14px;
  letter-spacing: 0.06em;
  transition: border-color 0.3s ease;
}
.bg20-link:hover,
.bg20-link:focus-visible { border-color: transparent; }

/* --------------------------------------------------------------------------
   05. HERO
   -------------------------------------------------------------------------- */
.bg20-hero { background-color: var(--c-paper); }

.bg20-hero__visual {
  width: 100%;
  background-color: var(--c-hero-bed);
}
.bg20-hero__visual img {
  width: 100%;
  max-width: var(--w-hero-sp);
  margin-inline: auto;
}

.bg20-hero__body {
  padding-block: clamp(48px, 7vw, 88px) clamp(64px, 9vw, 104px);
}

.bg20-hero__badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5em;
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.3em;
  color: var(--c-accent); 
}

.bg20-hero__h1 {
  margin-top: clamp(24px, 3.5vw, 36px);
  font-size: clamp(22px, 3.4vw, 32px)
  font-weight: 600;
  line-height: 1.62;
  letter-spacing: 0.03em;
}

.bg20-hero__rule {
  width: 100%;
  max-width: 560px;
  height: 1px;
  margin: clamp(32px, 4.5vw, 48px) 0;
  border: 0;
  background-color: var(--line-hair);
}

.bg20-hero__lede {
  max-width: var(--w-read);
  font-size: 15px;
  line-height: 2.15;
  color: var(--c-ink-light);
}

.bg20-hero__action { margin-top: clamp(40px, 5.5vw, 60px); }

/* --------------------------------------------------------------------------
   06. HISTORY（罫線で区切る／年はSF Pro）
   -------------------------------------------------------------------------- */
.bg20-history { margin-top: clamp(36px, 5vw, 56px); }

.bg20-history__item {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: clamp(16px, 3vw, 40px);
  padding-block: clamp(26px, 3.4vw, 34px);
  border-top: 1px solid var(--line-hair);
}
.bg20-history__item:last-child { border-bottom: 1px solid var(--line-hair); }

.bg20-history__year {
  font-family: var(--f-en);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--c-ink);
}
.bg20-history__item--now .bg20-history__year { color: var(--c-accent); } 

.bg20-history__text {
  font-size: 15px;
  line-height: 2.05;
  color: var(--c-ink-light);
  padding-top: 0.2em;
}

/* --------------------------------------------------------------------------
   07. ORIGIN
   -------------------------------------------------------------------------- */
.bg20-sign {
  margin-top: clamp(36px, 5vw, 52px);
  padding-top: clamp(22px, 3vw, 28px);
  border-top: 1px solid var(--line-hair);
  font-family: var(--f-en);
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: var(--c-ink-light);
}
.bg20-sign .bg20-sign__role {
  font-family: var(--f-body);
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   08. PILLARS — 4つの専門性
   -------------------------------------------------------------------------- */
.bg20-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(36px, 5vw, 56px);
  background-color: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.bg20-pillar {
  background-color: var(--c-base);
  padding: clamp(28px, 3vw, 38px) clamp(20px, 2.1vw, 27px);
}

.bg20-pillar__num {
  display: block;
  margin-bottom: clamp(16px, 1.9vw, 22px);
  font-family: var(--f-en);
  font-size: clamp(28px, 2.5vw, 34px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--c-accent);
}

.bg20-pillar__title {
  font-size: clamp(15px, 1.35vw, 16.5px);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.bg20-pillar__text {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: var(--c-ink-light);
}

.bg20-closingnote {
  margin-top: clamp(40px, 5vw, 60px);
  max-width: var(--w-read);
  font-size: 15px;
  line-height: 2.15;
  color: var(--c-ink-light);
}

/* --------------------------------------------------------------------------
   09. NEXT STAGE（STEP）
   -------------------------------------------------------------------------- */
.bg20-steps { margin-top: clamp(40px, 5.5vw, 64px); }

.bg20-step {
  background-color: var(--c-base);
  border: 1px solid var(--line-soft);
  padding: clamp(30px, 4.4vw, 56px);
}
.bg20-step + .bg20-step { margin-top: clamp(20px, 2.6vw, 28px); }

.bg20-step__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6em 1.1em;
  padding-bottom: clamp(20px, 2.6vw, 26px);
  border-bottom: 1px solid var(--line-hair);
}

.bg20-step__no {
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.28em;
  color: var(--c-ink-xlight);
  text-transform: uppercase;
}

.bg20-step__state {
  font-family: var(--f-body);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  color: var(--c-ink-light);
  padding: 5px 12px;
  border: 1px solid var(--line-hair);
  white-space: nowrap;
}
.bg20-step__state--en {
  font-family: var(--f-en);
  letter-spacing: 0.2em;
  color: var(--c-ink-xlight);
  text-transform: uppercase;
}

.bg20-step__title {
  width: 100%;
  margin-top: clamp(18px, 2.4vw, 24px);
  font-size: clamp(18px, 2.4vw, 23px);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.bg20-step__text {
  max-width: 36em;
  margin-top: clamp(18px, 2.4vw, 24px);
  font-size: 15px;
  line-height: 2.1;
  color: var(--c-ink-light);
}

.bg20-step__disclaimer { margin-top: 1.6em; }

.bg20-step__action { margin-top: clamp(28px, 3.6vw, 40px); }

/* ティザー */
.bg20-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5em 1.2em;
  margin-top: clamp(28px, 3.6vw, 40px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--line-hair);
}
.bg20-teaser__date {
  font-family: var(--f-en);
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--c-accent); /* ★ 読ませたい一点 */
}
.bg20-teaser__label {
  font-family: var(--f-en);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.3em;
  color: var(--c-ink-xlight);
}

/* --------------------------------------------------------------------------
   10. CLOSING
   -------------------------------------------------------------------------- */
.bg20-closing {
  background-color: var(--c-paper-warm);
  padding-block: clamp(80px, 10vw, 132px);
  text-align: center;
}
.bg20-closing__text {
  margin-inline: auto;
  font-family: var(--f-display);
  font-size: clamp(18px, 2.8vw, 26px);
  font-weight: 500;
  line-height: 2.1;
  letter-spacing: 0.05em;
  color: var(--c-ink);
}

/* --------------------------------------------------------------------------
   11. MOTION
   -------------------------------------------------------------------------- */
.bg20-fade {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.bg20-fade.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .bg20-fade { opacity: 1; transform: none; transition: none; }
  .bg20 * { animation: none !important; }
}

/* --------------------------------------------------------------------------
   12. RESPONSIVE
   -------------------------------------------------------------------------- */

/* --- PC：Hero画像は原寸1132pxを上限に拡大しない --- */
@media screen and (min-width: 768px) {
  .bg20-hero__visual img { max-width: var(--w-hero-pc); }
}

/* --- Tablet --- */
@media screen and (max-width: 1023px) {
  .bg20-pillars { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 860px) {
  .bg20-split,
  .bg20-split--origin,
  .bg20-split--textfirst {
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 40px);
  }
  /* 1カラムになったらテキスト・画像の幅を制限 */
  .bg20-split .bg20-prose { max-width: var(--w-read); }
  .bg20-figure > img { margin-inline: 0; }
}

/* --- SP --- */
@media screen and (max-width: 767px) {
  :root {
    --gutter: 22px;
    --sp-section: clamp(64px, 15vw, 88px);
  }

  .bg20 { font-size: 15px; }

  /* ロングセラー製品：SPでは画像を本文の後ろに */
  .bg20-split--textfirst .bg20-figure { order: 2; }

  .bg20-pillar { padding: 26px 20px; }
  .bg20-pillar__num { margin-bottom: 14px; }
  .bg20-pillar__text { font-size: 13.5px; }

  .bg20-hero__body { padding-top: clamp(40px, 10vw, 56px); }
  .bg20-hero__h1 {
    font-size: clamp(20px, 6vw, 27px);
    line-height: 1.75;
    letter-spacing: 0.01em;
  }
  .bg20-br-pc { display: none; }
  .bg20-hero__lede { font-size: 14px; line-height: 2.05; }

  .bg20-history__item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .bg20-history__text { padding-top: 0; font-size: 14px; }

  .bg20-body,
  .bg20-closingnote,
  .bg20-step__text { font-size: 14px; }

  .bg20-cta {
    width: 100%;
    min-width: 0;
    flex-direction: column;
    gap: 0.4em;
    padding: 20px 24px;
    font-size: 14px;
  }

  .bg20-step__head { padding-bottom: 18px; }
  .bg20-teaser { gap: 0.4em 0.9em; }
}

@media screen and (max-width: 479px) {
  .bg20-pillars { grid-template-columns: 1fr; }
}

@media screen and (max-width: 374px) {
  .bg20-hero__h1 { font-size: 19px; }
  .bg20-closing__text { font-size: 16px; }
}
