@charset "UTF-8";
/* base.css … reset＋要素の基本＋タイポグラフィ */
@layer reset {
  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  img { max-width: 100%; height: auto; display: block; }
  :where(.is-site-buyer, .is-site-recruit) .l-hero__img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
  :where(.is-site-recruit) .c-step__icon { width:30px; height:30px; margin-bottom:.7rem; stroke:currentColor; fill:none; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
  ul { list-style: none; }
  html:where(:has(> .is-site-recruit)) { overflow-x: hidden; }
  body { word-wrap: break-word; }
}

@layer base {
  body {
    font-family: var(--ff-sans);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    letter-spacing: var(--tr-body);
  }
  :where(.is-site-corporate) h1,
  :where(.is-site-corporate) h2,
  :where(.is-site-corporate) h3 {
    font-family: var(--ff-serif);
    line-height: var(--lh-head);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--tr-heading);
  }
  :where(.is-site-corporate) .t-display { font-family: var(--ff-serif); font-size: var(--fs-display); line-height: var(--lh-tight); font-weight: var(--fw-semibold); }
  :where(.is-site-buyer) h1,
  :where(.is-site-buyer) h2,
  :where(.is-site-buyer) h3 { font-family: var(--ff-sans); line-height: var(--lh-head); font-weight: var(--fw-bold); letter-spacing: .01em; }
  :where(.is-site-recruit) h1,
  :where(.is-site-recruit) h2,
  :where(.is-site-recruit) h3 { font-family: var(--ff-sans); line-height: 1.36; font-weight: var(--fw-bold); letter-spacing: var(--tr-heading); }
  .t-h2,
  .is-style-center,
  .is-style-center-bar,
  .is-style-plain,
  .is-style-invert { font-size: var(--fs-h2); }
  :where(.is-site-buyer) .t-h2::before,
  :where(.is-site-buyer) .is-style-center::before,
  :where(.is-site-buyer) .is-style-center-bar::before,
  :where(.is-site-buyer) .is-style-plain::before,
  :where(.is-site-buyer) .is-style-invert::before { display: none; }
  /* 取引先では、見出しの英字（.t-h2__en。旧 ::before）も上の ::before と同じく出さない */
  :where(.is-site-buyer) .t-h2 > .t-h2__en { display: none; }
  :where(.is-site-buyer) .t-h2--center { padding-left: 0; text-align: center; }
  :where(.is-site-buyer) .t-h2--center::before { display: none; }
  :where(.is-site-buyer) .t-h2--plain { padding-left: 0; }
  :where(.is-site-buyer) .t-h2--plain::before { display: none; }
  :where(.is-site-buyer) .t-h2--invert { color: var(--c-text-invert); }
  :where(.is-site-buyer) .t-h2--invert::before { background: var(--c-bg); }
  .t-h3 { font-size: var(--fs-h3); }
  :where(.is-site-corporate) .t-lead,
  :where(.is-site-corporate) .is-style-lead { font-size: var(--fs-lead); line-height: 1.85; color: var(--c-text); }
  :where(.is-site-corporate) .t-eyebrow,
  :where(.is-site-corporate) .is-style-eyebrow,
  :where(.is-site-corporate) .is-style-eyebrow-invert {
    font-family: var(--ff-sans);
    font-size: var(--fs-eyebrow);
    font-weight: var(--fw-bold);
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--c-brand-800);
    display: inline-block;
    margin-bottom: var(--sp-4);
  }
  :where(.is-site-corporate) .t-eyebrow--warm { color: var(--c-accent-700); }
  :where(.is-site-corporate) .t-eyebrow--invert { color: var(--c-white-85); }
  :where(.is-site-buyer, .is-site-recruit) .t-lead,
  :where(.is-site-buyer, .is-site-recruit) .is-style-lead { font-size: var(--fs-lead); line-height: 1.85; }
  .t-muted,
  .is-style-muted { color: var(--c-text-muted); }
  :where(.is-site-buyer) .t-eyebrow,
  :where(.is-site-buyer) .is-style-eyebrow,
  :where(.is-site-buyer) .is-style-eyebrow-invert { font-family: var(--ff-num); font-size: var(--fs-eyebrow); font-weight: var(--fw-bold); letter-spacing: .2em; text-transform: uppercase; color: var(--c-brand-800); display: inline-block; margin-bottom: var(--sp-4); }
  :where(.is-site-buyer) .t-eyebrow--invert { color: rgba(255,255,255,.8); }
  @media (max-width:640px) {
    html:where(:has(> .is-site-recruit)) { font-size: calc(min(100vw, 430px) / 375 * 15); }
    body:where(.is-site-recruit) { font-size:1rem; }
  }
  :where(.is-site-recruit) .t-eyebrow,
  :where(.is-site-recruit) .is-style-eyebrow,
  :where(.is-site-recruit) .is-style-eyebrow-invert { font-family: var(--ff-sans); font-size: .9rem; font-weight: var(--fw-bold); letter-spacing: .2em; text-transform: uppercase; color: var(--c-brand-800); display: inline-flex; align-items: center; gap: .85em; margin-bottom: var(--sp-4); }
  :where(.is-site-recruit) .t-eyebrow::after,
  :where(.is-site-recruit) .is-style-eyebrow::after,
  :where(.is-site-recruit) .is-style-eyebrow-invert::after { content: ""; width: 2.6rem; height: 1px; background: currentColor; opacity: .55; }
  :where(.is-site-recruit) .t-eyebrow--blue { color: var(--c-brand-800); }

  /* 中央寄せの見出し＋下の短い線（旧：h2 の style="text-align:center"。線などの装飾は .t-h2--center-bar を目印にする） */
  .t-h2--center-bar { text-align: center; }

  /* ブロックスタイル（見出し）の最低限の指定。どの系統でも効く（取引先では上の装飾も付く） */
  .is-style-center { text-align: center; }
  .is-style-invert { color: var(--c-text-invert); }
}
