@charset "UTF-8";
/* =========================================================
   SHIROHATO ご利用ガイド 2026 リニューアル共通スタイル
   配置先: /sh/css/guide2026.css
   すべて .sg 配下にスコープ（サイト共通CSSと衝突させない）
   ========================================================= */

.sg {
  --sg-ink: #3E393B;
  --sg-sub: #6E6769;
  --sg-mute: #9A9294;
  --sg-line: #E9E2DF;
  --sg-line-2: #D9CFCB;
  --sg-bg: #FBF8F6;
  --sg-paper: #FFFFFF;
  --sg-rose: #B4587A;          /* 本文上で使える濃さ（白地4.5:1以上） */
  --sg-rose-2: #EB6DA5;        /* サイトの women 色 */
  --sg-rose-l: #F8ECF0;
  --sg-beige: #F4EDE7;
  --sg-gold: #A88B5B;
  --sg-warn: #C0392B;
  --sg-warn-l: #FDF1EF;
  --sg-women: #EB6DA5; --sg-women-d: #B4467A; --sg-women-l: #FDF0F5;
  --sg-men: #3480E8;   --sg-men-d: #1F5FB8;   --sg-men-l: #EEF5FD;
  --sg-kids: #EBBA35;  --sg-kids-d: #8A6200;  --sg-kids-l: #FDF7E4;
  --sg-baby: #7DB9A5;  --sg-baby-d: #3C7F69;  --sg-baby-l: #EEF7F3;
  --sg-radius: 14px;
  --sg-shadow: 0 1px 2px rgba(62,57,59,.04), 0 8px 24px rgba(62,57,59,.06);
  --sg-en: "Cabin", "Helvetica Neue", Arial, sans-serif;

  color: var(--sg-ink);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .02em;
  font-feature-settings: "palt" 0;
  word-break: normal;
  overflow-wrap: anywhere;
  -webkit-text-size-adjust: 100%;
}
.sg *, .sg *::before, .sg *::after { box-sizing: border-box; }
.sg img { max-width: 100%; height: auto; vertical-align: middle; }
.sg p { margin: 0 0 1em; }
.sg p:last-child { margin-bottom: 0; }
.sg a { color: var(--sg-rose); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.sg a:hover { text-decoration-thickness: 2px; }
.sg strong, .sg b { font-weight: 700; }
.sg ul, .sg ol { margin: 0 0 1em; padding-left: 1.4em; }
.sg li { margin: .2em 0; }
.sg small, .sg .sg-small { font-size: 12.5px; color: var(--sg-sub); }
.sg .sg-em { color: var(--sg-rose); font-weight: 700; }
.sg .sg-red { color: var(--sg-warn); }
.sg .sg-nowrap { white-space: nowrap; }
.sg [id] { scroll-margin-top: 96px; }
.sg-anchor { display: block; height: 0; overflow: hidden; }

/* ---------- Hero ---------- */
.sg-hero {
  position: relative; display: grid; grid-template-columns: 1fr; gap: 0;
  border-radius: var(--sg-radius); overflow: hidden; background: var(--sg-beige);
  margin: 0 0 32px;
}
.sg-hero__img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 70% 50%; }
.sg-hero__body { padding: 22px 20px 24px; background: var(--sg-paper); }
.sg-eyebrow {
  font-family: var(--sg-en); font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--sg-rose); margin: 0 0 6px !important; font-weight: 600;
}
.sg-hero__title { font-size: 22px; line-height: 1.5; font-weight: 700; margin: 0 0 10px; letter-spacing: .06em; }
.sg-hero__lead { font-size: 14.5px; color: var(--sg-sub); margin: 0; }
@media (min-width: 768px) {
  .sg-hero { grid-template-columns: 1fr; min-height: 300px; }
  .sg-hero__img { aspect-ratio: auto; height: 100%; min-height: 300px; position: absolute; inset: 0; }
  .sg-hero__body {
    position: relative; z-index: 1; max-width: 50%; margin: 40px 0 40px 40px; padding: 28px 30px;
    background: rgba(255,255,255,.88); backdrop-filter: blur(4px); border-radius: 12px;
  }
  .sg-hero__title { font-size: 26px; }
}
/* 画像なしの簡易ヒーロー */
.sg-hero--plain { background: linear-gradient(135deg, var(--sg-rose-l), var(--sg-beige)); }
.sg-hero--plain .sg-hero__body { background: transparent; max-width: none; margin: 0; padding: 28px 24px; backdrop-filter: none; }
@media (min-width: 768px) { .sg-hero--plain { min-height: 0; } .sg-hero--plain .sg-hero__body { padding: 36px 40px; } }

/* ---------- 目次（ページ内リンク） ---------- */
.sg-toc { margin: 0 0 36px; }
.sg-toc__label { font-family: var(--sg-en); font-size: 11px; letter-spacing: .24em; color: var(--sg-mute); margin: 0 0 8px !important; }
.sg-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sg-toc li { margin: 0; }
.sg-toc a {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--sg-line-2); background: var(--sg-paper); color: var(--sg-ink);
  font-size: 13px; line-height: 1.4; text-decoration: none; transition: background .2s, border-color .2s, color .2s;
}
.sg-toc a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.sg-toc a:hover, .sg-toc a.is-current { background: var(--sg-rose-l); border-color: var(--sg-rose); color: var(--sg-rose); }

/* ---------- 見出し ---------- */
.sg-sec { margin: 0 0 56px; }
.sg-sec:last-child { margin-bottom: 24px; }
.sg-h2 {
  position: relative; font-size: 21px; line-height: 1.5; font-weight: 700; letter-spacing: .06em;
  margin: 0 0 22px; padding: 0 0 14px; border-bottom: 1px solid var(--sg-line);
}
.sg-h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 2px; background: var(--sg-rose); }
.sg-h2__en { display: block; font-family: var(--sg-en); font-size: 11px; font-weight: 600; letter-spacing: .26em; color: var(--sg-rose); text-transform: uppercase; margin-bottom: 4px; }
.sg-h3 {
  font-size: 17px; line-height: 1.6; font-weight: 700; margin: 32px 0 14px; padding-left: 14px;
  border-left: 3px solid var(--sg-rose);
}
.sg-h3:first-child { margin-top: 0; }
.sg-h4 { font-size: 15px; font-weight: 700; margin: 22px 0 8px; color: var(--sg-ink); }
.sg-h4::before { content: "●"; color: var(--sg-rose); font-size: .6em; margin-right: .6em; vertical-align: .25em; }
@media (min-width: 768px) { .sg-h2 { font-size: 24px; } .sg-h3 { font-size: 18px; } }

/* ---------- カード・グリッド ---------- */
.sg-card {
  background: var(--sg-paper); border: 1px solid var(--sg-line); border-radius: var(--sg-radius);
  padding: 20px 18px; box-shadow: var(--sg-shadow); margin: 0 0 16px;
}
@media (min-width: 768px) { .sg-card { padding: 26px 28px; } }
.sg-card > :last-child { margin-bottom: 0; }
.sg-card--tint { background: var(--sg-bg); box-shadow: none; }
.sg-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 0 0 16px; }
.sg-grid > .sg-card { margin: 0; }
@media (min-width: 640px) { .sg-grid--2, .sg-grid--3, .sg-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sg-grid--3 { grid-template-columns: repeat(3, 1fr); } .sg-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.sg-media { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 768px) { .sg-media { grid-template-columns: minmax(0, 1fr) 240px; } .sg-media--left { grid-template-columns: 240px minmax(0, 1fr); } }
.sg-media__img img { border-radius: 10px; width: 100%; }
.sg-figure { margin: 16px 0; text-align: center; }
.sg-figure img { border-radius: 10px; border: 1px solid var(--sg-line); }
.sg-figure picture { display: block; }
.sg-figure figcaption { font-size: 12.5px; color: var(--sg-sub); margin-top: 6px; }

/* ---------- ステップ ---------- */
.sg-steps { list-style: none; margin: 0 0 16px; padding: 0; counter-reset: sgstep; display: grid; gap: 14px; }
.sg-steps > li {
  counter-increment: sgstep; position: relative; margin: 0; background: var(--sg-paper);
  border: 1px solid var(--sg-line); border-radius: var(--sg-radius); padding: 18px 18px 18px 64px; box-shadow: var(--sg-shadow);
}
.sg-steps > li::before {
  content: counter(sgstep, decimal-leading-zero); position: absolute; left: 16px; top: 16px;
  width: 36px; height: 36px; border-radius: 50%; background: var(--sg-rose); color: #fff;
  font-family: var(--sg-en); font-size: 13px; font-weight: 700; display: grid; place-items: center; letter-spacing: 0;
}
.sg-steps__title { display: block; font-weight: 700; font-size: 16px; margin: 4px 0 6px; }
.sg-steps__img { float: right; width: 120px; margin: 0 0 8px 14px; border-radius: 10px; }
@media (max-width: 480px) { .sg-steps__img { float: none; display: block; width: 100%; max-width: 260px; margin: 6px 0 10px; } }
.sg-steps > li::after { content: ""; display: table; clear: both; }
.sg-steps--plain > li { padding-left: 18px; }
.sg-steps--plain > li::before { display: none; }

/* 番号付きの小リスト（1. 2. 3.） */
.sg-ol { list-style: none; padding: 0; counter-reset: sgol; }
.sg-ol > li { counter-increment: sgol; position: relative; padding-left: 2em; margin: .6em 0; }
.sg-ol > li::before { content: counter(sgol) "."; position: absolute; left: 0; top: 0; font-family: var(--sg-en); font-weight: 700; color: var(--sg-rose); }
.sg-ul { list-style: none; padding: 0; }
.sg-ul > li { position: relative; padding-left: 1.2em; margin: .35em 0; }
.sg-ul > li::before { content: ""; position: absolute; left: .2em; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--sg-rose); }
.sg-check > li::before { width: 10px; height: 6px; border-radius: 0; background: none; border-left: 2px solid var(--sg-rose); border-bottom: 2px solid var(--sg-rose); transform: rotate(-45deg); top: .62em; }

/* ---------- 注意・補足ボックス ---------- */
.sg-note {
  position: relative; background: var(--sg-bg); border-radius: 12px; padding: 16px 18px 16px 48px;
  margin: 16px 0; font-size: 14px; border: 1px solid var(--sg-line);
}
.sg-note::before {
  content: "i"; position: absolute; left: 16px; top: 16px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sg-rose); color: #fff; font: 700 13px/22px var(--sg-en); text-align: center;
}
.sg-note--warn { background: var(--sg-warn-l); border-color: #F3CFC9; }
.sg-note--warn::before { content: "!"; background: var(--sg-warn); }
.sg-note__title { display: block; font-weight: 700; margin-bottom: 4px; }
.sg-note > :last-child { margin-bottom: 0; }

/* ---------- 定義リスト（項目：内容） ---------- */
.sg-dl { margin: 0 0 16px; border-top: 1px solid var(--sg-line); }
.sg-dl > div { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--sg-line); padding: 12px 0; gap: 4px; }
.sg-dl dt { font-weight: 700; color: var(--sg-ink); }
.sg-dl dd { margin: 0; }
@media (min-width: 768px) { .sg-dl > div { grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 4px; } }

/* ---------- テーブル ---------- */
.sg-table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 18px; border: 1px solid var(--sg-line); border-radius: 12px; background: var(--sg-paper); }
.sg-table-wrap.is-scrollable::after {
  content: "← 横にスクロールできます →"; position: sticky; left: 0; display: block; text-align: center;
  font-size: 11px; color: var(--sg-mute); padding: 6px 0 8px; background: var(--sg-paper);
}
.sg-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; line-height: 1.6; }
.sg-table caption { caption-side: top; text-align: left; padding: 12px 14px 4px; font-size: 13px; color: var(--sg-sub); font-weight: 700; }
.sg-table th, .sg-table td { padding: 10px 12px; border-bottom: 1px solid var(--sg-line); border-right: 1px solid var(--sg-line); text-align: center; vertical-align: middle; }
.sg-table tr > *:last-child { border-right: 0; }
.sg-table tbody tr:last-child > * { border-bottom: 0; }
.sg-table thead th { background: var(--sg-beige); font-weight: 700; white-space: nowrap; }
.sg-table tbody th { background: var(--sg-bg); font-weight: 700; white-space: nowrap; }
.sg-table tbody tr:hover td { background: #FFFBFC; }
.sg-table--left td { text-align: left; }
.sg-table--sticky tbody th:first-child, .sg-table--sticky thead th:first-child { position: sticky; left: 0; z-index: 1; }
.sg-table--sticky thead th:first-child { z-index: 2; }
.sg-table .sg-unit { display: block; font-weight: 400; font-size: 11px; color: var(--sg-sub); }

/* ---------- FAQ（details） ---------- */
.sg-faq { margin: 0 0 16px; border-top: 1px solid var(--sg-line); }
.sg-faq details { border-bottom: 1px solid var(--sg-line); }
.sg-faq summary {
  list-style: none; cursor: pointer; position: relative; padding: 16px 44px 16px 40px; font-weight: 700; line-height: 1.6;
}
.sg-faq summary::-webkit-details-marker { display: none; }
.sg-faq summary::before { content: "Q"; position: absolute; left: 6px; top: 14px; font: 700 18px/1.4 var(--sg-en); color: var(--sg-rose); }
.sg-faq summary::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--sg-mute); border-bottom: 2px solid var(--sg-mute); transform: rotate(45deg); transition: transform .25s;
}
.sg-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.sg-faq__a { position: relative; padding: 0 16px 18px 40px; }
.sg-faq__a::before { content: "A"; position: absolute; left: 6px; top: -2px; font: 700 18px/1.4 var(--sg-en); color: var(--sg-gold); }
.sg-faq__a > :last-child { margin-bottom: 0; }
.sg-faq-cat { margin: 36px 0 10px; font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.sg-faq-cat::before { content: ""; width: 18px; height: 2px; background: var(--sg-rose); }

/* ---------- ボタン ---------- */
.sg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 28px;
  border-radius: 999px; background: var(--sg-ink); color: #fff !important; text-decoration: none !important; font-weight: 700;
  font-size: 14px; letter-spacing: .08em; border: 1px solid var(--sg-ink); transition: opacity .2s, transform .2s; cursor: pointer;
}
.sg-btn:hover { opacity: .85; transform: translateY(-1px); }
.sg-btn::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); }
.sg-btn--ghost { background: var(--sg-paper); color: var(--sg-ink) !important; border-color: var(--sg-line-2); }
.sg-btn--rose { background: var(--sg-rose); border-color: var(--sg-rose); }
.sg-btn--back::after { display: none; }
.sg-btn--back::before { content: ""; width: 7px; height: 7px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.sg-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.sg-center { text-align: center; }

/* ---------- 関連リンク・フッター導線 ---------- */
.sg-related { margin: 56px 0 24px; padding: 28px 20px; background: var(--sg-bg); border-radius: var(--sg-radius); }
.sg-related__title { font-size: 15px; font-weight: 700; margin: 0 0 14px; text-align: center; letter-spacing: .1em; }
.sg-related ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .sg-related ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sg-related ul { grid-template-columns: repeat(3, 1fr); } }
.sg-related li { margin: 0; }
.sg-related li a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: var(--sg-paper);
  border-radius: 10px; border: 1px solid var(--sg-line); color: var(--sg-ink); text-decoration: none; font-size: 14px; line-height: 1.5;
  transition: border-color .2s, transform .2s;
}
.sg-related li a::after { content: ""; flex: none; width: 7px; height: 7px; border-right: 1.5px solid var(--sg-rose); border-top: 1.5px solid var(--sg-rose); transform: rotate(45deg); }
.sg-related li a:hover { border-color: var(--sg-rose); transform: translateY(-1px); }
.sg-related .sg-btns { justify-content: center; margin-bottom: 0; }

/* ---------- ご利用ガイド トップ ---------- */
.sg-search { display: flex; gap: 8px; margin: 0 0 28px; }
.sg-search input {
  flex: 1; min-width: 0; height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--sg-line-2);
  font-size: 15px; background: var(--sg-paper); color: var(--sg-ink);
}
.sg-search input:focus { outline: 2px solid var(--sg-rose); outline-offset: 1px; }
.sg-quick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 40px; list-style: none; padding: 0; }
@media (min-width: 768px) { .sg-quick { grid-template-columns: repeat(4, 1fr); } }
.sg-quick li { margin: 0; }
.sg-quick a {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px; border-radius: 12px; background: var(--sg-rose-l);
  color: var(--sg-ink); text-decoration: none; font-weight: 700; font-size: 13.5px; text-align: center; line-height: 1.4; height: 100%;
}
.sg-quick a small { font-weight: 400; font-size: 11.5px; color: var(--sg-sub); }
.sg-quick a:hover { background: #F3DCE4; }
.sg-menu { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 0 0 40px; }
@media (min-width: 640px) { .sg-menu { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sg-menu { grid-template-columns: repeat(3, 1fr); } }
.sg-menu__item { background: var(--sg-paper); border: 1px solid var(--sg-line); border-radius: var(--sg-radius); padding: 18px 18px 14px; box-shadow: var(--sg-shadow); }
.sg-menu__head { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; font-size: 16px; font-weight: 700; line-height: 1.4; }
.sg-menu__icon { width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--sg-bg); object-fit: contain; padding: 2px; }
.sg-menu ul { list-style: none; margin: 0; padding: 0; }
.sg-menu li { margin: 0; border-top: 1px dashed var(--sg-line); }
.sg-menu li:first-child { border-top: 0; }
.sg-menu li a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 2px; color: var(--sg-ink); text-decoration: none; font-size: 14px; line-height: 1.5; }
.sg-menu li a::after { content: ""; flex: none; width: 6px; height: 6px; border-right: 1.5px solid var(--sg-mute); border-top: 1.5px solid var(--sg-mute); transform: rotate(45deg); }
.sg-menu li a:hover { color: var(--sg-rose); }
.sg-menu li a:hover::after { border-color: var(--sg-rose); }
.sg-menu li[hidden] { display: none; }
.sg-menu__item[hidden] { display: none; }
.sg-empty { display: none; text-align: center; color: var(--sg-sub); padding: 20px; }
.sg-empty.is-show { display: block; }

/* ---------- ロゴ並び（決済） ---------- */
.sg-logos { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0 14px; }
.sg-logos img { height: 30px; width: auto; background: #fff; border: 1px solid var(--sg-line); border-radius: 6px; padding: 3px 6px; }

/* ---------- タブ（サイズガイド） ---------- */
.sg-tabs { margin: 0 0 28px; padding: 10px 0 14px; border-bottom: 1px solid var(--sg-line); }
.sg-tabs__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.sg-tabs__btn {
  width: 100%; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 12px;
  border: 1.5px solid var(--sg-line); background: var(--sg-paper); color: var(--sg-ink); cursor: pointer; font: inherit;
  font-weight: 700; font-size: 14px; line-height: 1.3; transition: all .2s;
}
.sg-tabs__btn span { font-family: var(--sg-en); font-size: 10px; letter-spacing: .2em; font-weight: 600; color: var(--sg-mute); }
.sg-tabs__btn[data-g="women"][aria-selected="true"] { background: var(--sg-women); border-color: var(--sg-women); color: #fff; }
.sg-tabs__btn[data-g="men"][aria-selected="true"] { background: var(--sg-men); border-color: var(--sg-men); color: #fff; }
.sg-tabs__btn[data-g="kids"][aria-selected="true"] { background: var(--sg-kids); border-color: var(--sg-kids); color: #3E2F00; }
.sg-tabs__btn[data-g="baby"][aria-selected="true"] { background: var(--sg-baby); border-color: var(--sg-baby); color: #fff; }
.sg-tabs__btn[aria-selected="true"] span { color: inherit; opacity: .85; }
.sg-tabs__btn:focus-visible { outline: 2px solid var(--sg-ink); outline-offset: 2px; }
@media (min-width: 768px) { .sg-tabs__btn { flex-direction: row; justify-content: center; gap: 10px; font-size: 15px; padding: 12px 8px; } }
.sg-panel[hidden] { display: none !important; }
.sg-panel { --g: var(--sg-women); --g-d: var(--sg-women-d); --g-l: var(--sg-women-l); }
.sg-panel[data-g="men"] { --g: var(--sg-men); --g-d: var(--sg-men-d); --g-l: var(--sg-men-l); }
.sg-panel[data-g="kids"] { --g: var(--sg-kids); --g-d: var(--sg-kids-d); --g-l: var(--sg-kids-l); }
.sg-panel[data-g="baby"] { --g: var(--sg-baby); --g-d: var(--sg-baby-d); --g-l: var(--sg-baby-l); }
.sg-panel .sg-h2::after { background: var(--g); }
.sg-panel .sg-h2__en, .sg-panel .sg-eyebrow { color: var(--g-d); }
.sg-panel .sg-h3 { border-left-color: var(--g); }
.sg-panel .sg-h4::before { color: var(--g); }
.sg-panel .sg-toc a:hover, .sg-panel .sg-toc a.is-current { background: var(--g-l); border-color: var(--g); color: var(--g-d); }
.sg-panel .sg-table thead th { background: var(--g-l); }
.sg-panel .sg-ul > li::before { background: var(--g); }
.sg-panel .sg-steps > li::before { background: var(--g-d); }

/* 採寸図（画像＋SVGの線＋ラベル） */
.sg-measure { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; margin: 0 0 20px; }
@media (min-width: 768px) { .sg-measure { grid-template-columns: 340px minmax(0, 1fr); gap: 32px; } }
.sg-measure__fig { position: relative; margin: 0 auto; width: 100%; max-width: 340px; border-radius: var(--sg-radius); overflow: hidden; background: var(--g-l); }
.sg-measure__fig img { display: block; width: 100%; }
.sg-measure__fig svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sg-measure__fig svg .ln { stroke: var(--g-d); stroke-width: 7; stroke-dasharray: 18 10; fill: none; stroke-linecap: round; }
.sg-measure__fig svg .dot { fill: var(--g-d); }
.sg-measure__fig svg .num { fill: #fff; font: 700 50px var(--sg-en); }
.sg-measure__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sg-measure__list > li { margin: 0; display: grid; grid-template-columns: 30px 1fr; gap: 12px; background: var(--sg-paper); border: 1px solid var(--sg-line); border-radius: 12px; padding: 14px 16px; }
.sg-measure__no { width: 28px; height: 28px; border-radius: 50%; background: var(--g-d); color: #fff; display: grid; place-items: center; font: 700 13px var(--sg-en); }
.sg-measure__list strong { display: block; font-size: 15px; margin-bottom: 2px; }
.sg-measure__list p { font-size: 14px; margin: 0 0 .4em; }

/* サイズチェッカー */
.sg-checker { background: linear-gradient(135deg, var(--g-l), #fff); border: 1px solid var(--sg-line); border-radius: var(--sg-radius); padding: 22px 18px; margin: 0 0 24px; }
@media (min-width: 768px) { .sg-checker { padding: 28px 32px; } }
.sg-checker__title { font-family: var(--sg-en); letter-spacing: .2em; font-weight: 700; color: var(--g-d); font-size: 15px; margin: 0 0 4px !important; }
.sg-checker__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
@media (min-width: 768px) { .sg-checker__row { grid-template-columns: 1fr 1fr auto; align-items: end; } }
.sg-checker label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.sg-checker__field { display: flex; align-items: center; gap: 6px; }
.sg-checker input[type="text"], .sg-checker input[type="number"] {
  width: 100%; height: 48px; border: 1px solid var(--sg-line-2); border-radius: 10px; padding: 0 12px; font-size: 18px; background: #fff; color: var(--sg-ink);
}
.sg-checker .sg-btn { grid-column: 1 / -1; width: 100%; }
@media (min-width: 768px) { .sg-checker .sg-btn { grid-column: auto; width: auto; } }
.sg-checker__result { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; background: #fff; border-radius: 12px; padding: 14px 16px; border: 1px dashed var(--g); }
.sg-checker__size { font: 700 30px/1 var(--sg-en); color: var(--g-d); letter-spacing: .04em; min-width: 3em; }
.sg-checker__msg { font-size: 13px; color: var(--sg-warn); width: 100%; margin: 0 !important; }
.sg-checker__msg:empty { display: none; }

/* アイテム見出し（サイズ表の前の小イラスト付き） */
.sg-item-head { display: flex; align-items: center; gap: 14px; margin: 40px 0 14px; }
.sg-item-head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--g-l); flex: none; }
.sg-item-head .sg-h3 { margin: 0; }

/* ブラのサイズ表：カップ切替 */
.sg-cupnav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.sg-cupnav button {
  min-width: 46px; height: 38px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--sg-line-2); background: #fff;
  font: 700 14px var(--sg-en); color: var(--sg-ink); cursor: pointer;
}
.sg-cupnav button[aria-pressed="true"] { background: var(--g-d); border-color: var(--g-d); color: #fff; }

/* ---------- 法務ページ（文章は一切変えず、読みやすさのみ） ---------- */
.sg-legal { max-width: 860px; margin: 0 auto; font-size: 15px; line-height: 2; }
.sg-legal__updated { font-size: 13px; color: var(--sg-sub); text-align: right; }
.sg-legal h2, .sg-legal h3 { font-size: 17px; font-weight: 700; margin: 40px 0 12px; padding: 0 0 8px; border-bottom: 1px solid var(--sg-line); line-height: 1.6; }
.sg-legal h4 { font-size: 15px; font-weight: 700; margin: 24px 0 8px; }
.sg-legal p { margin: 0 0 1.1em; }
.sg-legal ol, .sg-legal ul { padding-left: 1.6em; }
.sg-legal li { margin: .4em 0; }
.sg-legal table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 14px; }
.sg-legal th, .sg-legal td { border: 1px solid var(--sg-line); padding: 12px 14px; text-align: left; vertical-align: top; line-height: 1.8; }
.sg-legal th { background: var(--sg-bg); width: 30%; font-weight: 700; }
@media (max-width: 640px) {
  .sg-legal table.sg-stack, .sg-legal table.sg-stack tbody, .sg-legal table.sg-stack tr, .sg-legal table.sg-stack th, .sg-legal table.sg-stack td { display: block; width: 100%; }
  .sg-legal table.sg-stack tr { border: 1px solid var(--sg-line); border-radius: 10px; margin: 0 0 10px; overflow: hidden; }
  .sg-legal table.sg-stack th, .sg-legal table.sg-stack td { border: 0; }
  .sg-legal table.sg-stack th { border-bottom: 1px solid var(--sg-line); }
}
.sg-legal .sg-toc { margin-top: 8px; }

/* ---------- 印刷 ---------- */
@media print {
  .sg-tabs, .sg-toc, .sg-related, .sg-search { display: none !important; }
  .sg-panel[hidden] { display: block !important; }
  .sg-faq details { open: true; }
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) { .sg * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- 小さなヒーロー（下層ページ用：文章＋スポットイラスト） ---------- */
.sg-hero--icon { display: grid; grid-template-columns: minmax(0, 1fr) 96px; align-items: center; gap: 12px;
  background: linear-gradient(120deg, var(--sg-rose-l) 0%, var(--sg-beige) 100%); min-height: 0; padding: 0; }
.sg-hero--icon .sg-hero__body { background: transparent; max-width: none; margin: 0; padding: 22px 0 22px 20px; backdrop-filter: none; position: static; }
.sg-hero--icon .sg-hero__icon { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-right: 16px; background: #fff; box-shadow: var(--sg-shadow); }
@media (min-width: 768px) {
  .sg-hero--icon { grid-template-columns: minmax(0, 1fr) 150px; min-height: 0; }
  .sg-hero--icon .sg-hero__body { padding: 30px 0 30px 36px; }
  .sg-hero--icon .sg-hero__icon { width: 140px; height: 140px; margin-right: 28px; }
}

/* --- ABOUT・法務（会社概要/特商法/プライバシー/利用規約/ショップ情報/引用転載） --- */
.sg-legal__sign { text-align: right; font-size: 13.5px; color: var(--sg-sub); line-height: 1.9; margin: 0 0 1.4em; }
.sg-legal-box { background: var(--sg-bg); border: 1px solid var(--sg-line); border-radius: 12px; padding: 16px 20px; margin: 12px 0 18px; font-size: 14px; line-height: 1.9; }
.sg-legal-box > :last-child { margin-bottom: 0; }
.sg-legal__lead { font-size: 15px; }
.sg-legal ol.sg-legal-ol { list-style: none; padding: 0; counter-reset: sglg; }
.sg-legal ol.sg-legal-ol > li { counter-increment: sglg; position: relative; padding: 12px 0 12px 2.6em; margin: 0; border-bottom: 1px dashed var(--sg-line); }
.sg-legal ol.sg-legal-ol > li:last-child { border-bottom: 0; }
.sg-legal ol.sg-legal-ol > li::before { content: counter(sglg); position: absolute; left: 0; top: 12px; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--sg-rose-l); color: var(--sg-rose); font: 700 13px/1.8em var(--sg-en); text-align: center; }
.sg-legal ol.sg-legal-ol--plain > li { padding-left: 0; }
.sg-legal ol.sg-legal-ol--plain > li::before { display: none; }
.sg-legal-ol__title { display: block; font-weight: 700; }
.sg-legal .sg-ul { padding-left: 0; }
.sg-legal .sg-sec { margin-bottom: 44px; }
.sg-legal .sg-h3 { margin-top: 28px; }
.sg-article { background: var(--sg-paper); border: 1px solid var(--sg-line); border-radius: var(--sg-radius); padding: 20px 18px; margin: 0 0 14px; }
@media (min-width: 768px) { .sg-article { padding: 24px 28px; } }
.sg-article__no { display: inline-block; font-weight: 700; color: var(--sg-rose); margin-right: .6em; }
.sg-article h2 { margin-top: 0; border-bottom: 0; padding-bottom: 0; font-size: 16.5px; }
.sg-article > :last-child { margin-bottom: 0; }
.sg-photos { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0; }
@media (min-width: 640px) { .sg-photos { grid-template-columns: repeat(2, 1fr); } }
.sg-photos figure { margin: 0; background: var(--sg-paper); border: 1px solid var(--sg-line); border-radius: 12px; overflow: hidden; }
.sg-photos img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sg-photos figcaption { padding: 10px 14px 12px; font-size: 13.5px; line-height: 1.7; }
.sg-photos figcaption p { margin: 0 0 .3em; }
.sg-marks { display: grid; gap: 14px; }
.sg-mark { display: grid; grid-template-columns: 1fr; gap: 10px; align-items: start; }
@media (min-width: 640px) { .sg-mark { grid-template-columns: minmax(0, 1fr) 90px; } }
.sg-mark img { width: 80px; height: auto; border: 0; }
.sg-map { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 1px solid var(--sg-line); background: var(--sg-bg); }
.sg-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sg-shop { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 900px) { .sg-shop { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.sg-shop__photo img { border-radius: 12px; width: 100%; max-width: 360px; }
.sg-legal .sg-dl dd p { margin: 0 0 .4em; }
.sg-legal-tag { display: inline-block; font-size: 12px; background: var(--sg-rose-l); color: var(--sg-rose); border-radius: 999px; padding: 1px 10px; margin-right: 6px; font-weight: 700; }
@media (min-width: 768px) { .sg br.sp-br { display: none; } }
.sg-legal .sg-article.sg-sec { margin-bottom: 14px; }
.sg-legal .sg-article h2 { margin: 0 0 10px; padding: 0; border: 0; }
.sg-legal .sg-toc--articles ul { display: grid; grid-template-columns: 1fr; gap: 6px; }
@media (min-width: 640px) { .sg-legal .sg-toc--articles ul { grid-template-columns: repeat(2, 1fr); } }
.sg-toc--articles a { width: 100%; justify-content: space-between; border-radius: 10px; }

/* --- サポート系（FAQ/メール不着/環境設定/再入荷/領収書） --- */
.sg-contact { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 0 0 16px; }
@media (min-width: 768px) { .sg-contact { grid-template-columns: repeat(3, 1fr); } }
.sg-contact__item { background: var(--sg-paper); border: 1px solid var(--sg-line); border-radius: var(--sg-radius); padding: 20px 18px; text-align: center; box-shadow: var(--sg-shadow); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sg-contact__label { font-size: 13px; font-weight: 700; color: var(--sg-sub); margin: 0 !important; }
.sg-contact__main { font: 700 22px/1.3 var(--sg-en); letter-spacing: .04em; color: var(--sg-ink) !important; text-decoration: none !important; }
.sg-contact__main--mail { font-size: 16px; word-break: break-all; }
.sg-contact__sub { font-size: 12.5px; color: var(--sg-sub); margin: 0 !important; }
.sg-contact__item .sg-btn { margin-top: 4px; }
.sg-faq__more { font-size: 13px; text-align: right; margin: -8px 16px 16px !important; }
.sg-faq__tag { display: inline-block; font-size: 11px; font-weight: 400; color: var(--sg-sub); background: var(--sg-bg); border: 1px solid var(--sg-line); border-radius: 999px; padding: 0 8px; margin: 0 6px 0 0; line-height: 1.8; vertical-align: .1em; }
.sg-settings { width: 100%; }
.sg-browser { margin: 0 0 16px; }
.sg-browser .sg-h3 { margin-top: 0; }

/* --- 下着の豆知識（種類と名前／つけ方／洗濯方法） --- */
.sg-items { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 0 0 16px; padding: 0; list-style: none; }
@media (min-width: 640px) { .sg-items { grid-template-columns: repeat(2, 1fr); } }
.sg-items > li { margin: 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start;
  background: var(--sg-paper); border: 1px solid var(--sg-line); border-radius: var(--sg-radius); padding: 14px; box-shadow: var(--sg-shadow); }
.sg-items__img { width: 96px; height: 80px; object-fit: contain; background: #fff; border-radius: 8px; }
.sg-items__name { display: block; font-weight: 700; font-size: 15.5px; line-height: 1.5; margin: 0 0 4px; color: var(--sg-ink); }
.sg-items__desc { font-size: 13.5px; line-height: 1.8; margin: 0; color: var(--sg-ink); }
.sg-howto { list-style: none; margin: 0 0 16px; padding: 0; counter-reset: sghow; display: grid; gap: 14px; }
.sg-howto > li { counter-increment: sghow; margin: 0; display: grid; grid-template-columns: 1fr; gap: 12px; background: var(--sg-paper);
  border: 1px solid var(--sg-line); border-radius: var(--sg-radius); padding: 16px; box-shadow: var(--sg-shadow); }
@media (min-width: 640px) { .sg-howto > li { grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px 22px; } }
.sg-howto__img { width: 100%; max-width: 240px; margin: 0 auto; border-radius: 10px; background: #fff; display: block; }
.sg-howto__body { position: relative; }
.sg-howto__no { display: inline-block; font: 700 12px/1 var(--sg-en); letter-spacing: .18em; color: var(--sg-rose); margin: 0 0 6px !important; }
.sg-howto__no::after { content: " " counter(sghow, decimal-leading-zero); }
/* 縦長コマの手順（ガードル）: 画像を上に置き、SP2列・PC4列 */
.sg-howto--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sg-howto--cols > li, .sg .sg-howto--cols > li { grid-template-columns: 1fr; align-items: start; align-content: start; padding: 10px; gap: 8px; }
.sg-howto--cols .sg-howto__img { max-width: none; aspect-ratio: 1 / 2; object-fit: cover; }
.sg-howto--cols .sg-howto__body { font-size: 13px; }
@media (min-width: 900px) { .sg-howto--cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.sg-point { background: var(--sg-rose-l); border-radius: var(--sg-radius); padding: 18px 18px 16px; margin: 16px 0; }
.sg-point__title { font: 700 14px/1.4 var(--sg-en); letter-spacing: .2em; color: var(--sg-rose); margin: 0 0 8px !important; }
.sg-point--media { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: center; }
@media (min-width: 640px) { .sg-point--media { grid-template-columns: minmax(0, 1fr) 160px; } }
.sg-point--media img { width: 160px; border-radius: 10px; justify-self: center; }
.sg-legal ul.sg-dotlist { list-style: none; padding: 0; margin: 0 0 1em; }
.sg-legal ul.sg-dotlist > li { margin: .35em 0; padding-left: 1em; text-indent: -1em; }
.sg-legal .sg-article h3 { margin: 0 0 10px; font-size: 16.5px; font-weight: 700; line-height: 1.6; }
.sg-legal .sg-article .sg-legal-box h4 { margin: 0 0 4px; font-size: 14px; }

/* --- 注文・支払い（orderFlow / orderPoint / orderCoupon / paymentMethod） --- */
.sg-paynav { margin: 0 0 40px; }
.sg-paynav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .sg-paynav ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sg-paynav ul { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.sg-paynav li { margin: 0; }
.sg-paynav a {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; height: 100%;
  padding: 12px 8px 14px; background: var(--sg-paper); border: 1px solid var(--sg-line); border-radius: 12px;
  color: var(--sg-ink); text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1.45; text-align: center;
  transition: border-color .2s, transform .2s;
}
.sg-paynav a:hover { border-color: var(--sg-rose); transform: translateY(-1px); }
.sg-paynav a small { display: block; font-weight: 400; font-size: 11px; color: var(--sg-sub); }
.sg-paynav__logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 40px; }
.sg-paynav__logo img { max-height: 36px; max-width: 90%; width: auto; object-fit: contain; }
.sg-paynav__logo--text { font-family: var(--sg-en); font-size: 15px; letter-spacing: .04em; color: var(--sg-rose); background: var(--sg-rose-l); border-radius: 8px; max-width: 110px; }
.sg-pay { scroll-margin-top: 96px; margin-bottom: 20px; }
.sg-pay .sg-h3 small { font-size: 12px; font-weight: 400; color: var(--sg-sub); margin-left: .4em; }
.sg .sg-pay img { width: auto; max-width: 100%; }
.sg .sg-pay img.sg-pay__logo { display: block; height: 44px; object-fit: contain; object-position: left center; }
@media (min-width: 768px) { .sg .sg-pay img.sg-pay__logo { height: 52px; } }
.sg-seccode { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 480px) { .sg-seccode { grid-template-columns: 1fr 1fr; } }
.sg-seccode p { font-size: 13.5px; }
.sg-dl--stock dt { display: flex; align-items: center; gap: 8px; }
.sg-dl--stock dt img { width: 20px; height: 20px; }
@media (min-width: 768px) { .sg-dl--stock > div { grid-template-columns: 160px 1fr; } }

/* --- サイズガイド（本体担当） --- */
.sg-sizeintro { text-align: center; margin: 0 0 8px; }
.sg-sizeintro__lead { font-size: 14.5px; color: var(--sg-sub); }
.sg-br-pc { display: none; }
@media (min-width: 768px) { .sg-br-pc { display: inline; } }
.sg-tips { margin-top: 20px; }
.sg-tip { margin: 0; display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 14px; }
.sg-tip img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; }
.sg-tip figcaption { font-size: 13.5px; line-height: 1.7; }
.sg-tip figcaption strong { display: block; font-size: 15px; margin-bottom: 2px; }
.sg-bra-matrix td { font-family: var(--sg-en); font-size: 14px; }
.sg-bra-matrix tbody th { font-family: var(--sg-en); }
.sg-flats { list-style: none; margin: 16px 0 20px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .sg-flats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .sg-flats { grid-template-columns: repeat(4, 1fr); } }
.sg-flats li { margin: 0; background: var(--sg-paper); border: 1px solid var(--sg-line); border-radius: 12px; padding: 10px 10px 12px; text-align: center; }
.sg-flats img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #FAF6F2; border-radius: 8px; margin-bottom: 6px; }
.sg-flats strong { display: block; font-size: 14px; line-height: 1.4; }
.sg-flats span { display: block; font-size: 12px; color: var(--sg-sub); }
.sg-panel .sg-media__img img { background: var(--g-l); aspect-ratio: 1; object-fit: cover; max-width: 240px; }
@media (max-width: 767px) { .sg-panel .sg-media__img img { max-width: 160px; display: block; margin: 0 auto; } }

/* --- ガイドトップ（本体担当） --- */
.sg-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sg--guide .sg-hero__title { font-size: 24px; }
@media (min-width: 768px) { .sg--guide .sg-hero { min-height: 380px; } .sg--guide .sg-hero__title { font-size: 30px; } .sg--guide .sg-hero__img { object-position: 80% 0%; } }
.sg--guide .sg-sec--quick { margin-bottom: 32px; }
.sg-contactbox .sg-card .sg-btn { margin-top: 6px; }
@media (max-width: 639px) {
  .sg-menu { gap: 10px; }
  .sg-menu__item { padding: 12px 14px; }
  .sg-menu__head { margin: 0; cursor: pointer; position: relative; padding-right: 26px; }
  .sg-menu__head::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--sg-mute); border-bottom: 2px solid var(--sg-mute); transform: rotate(45deg); transition: transform .25s; }
  .sg-menu__item.is-open .sg-menu__head::after { transform: rotate(-135deg); margin-top: -2px; }
  .sg-menu__item ul { display: none; margin-top: 8px; }
  .sg-menu__item.is-open ul { display: block; }
  .sg-menu__icon { width: 46px; height: 46px; }
}

/* --- グリッド内の表がはみ出さないように（本体担当） --- */
.sg-media, .sg-measure, .sg-grid, .sg-hero--icon { grid-template-columns: minmax(0, 1fr); }
.sg-media > *, .sg-measure > *, .sg-grid > *, .sg-hero > * { min-width: 0; }
@media (min-width: 640px) { .sg-grid--2, .sg-grid--3, .sg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 768px) {
  .sg-media { grid-template-columns: minmax(0, 1fr) 240px; }
  .sg-media--left { grid-template-columns: 240px minmax(0, 1fr); }
  .sg-measure { grid-template-columns: 340px minmax(0, 1fr); }
}
.sg-hero--icon { grid-template-columns: minmax(0, 1fr) 96px; }
@media (min-width: 768px) { .sg-hero--icon { grid-template-columns: minmax(0, 1fr) 150px; } }
.sg-hero__icon { overflow: hidden; }
.sg-panel, .sg-sec { min-width: 0; max-width: 100%; }
.sg-flat { display: block; width: 100%; height: auto; aspect-ratio: 200 / 220; background: #FAF6F2; border-radius: 8px; margin-bottom: 6px; }
.sg-flat .g { stroke: #3E393B; stroke-width: 1.4; stroke-linejoin: round; }
.sg-flat .d { stroke: #3E393B; stroke-width: 1.2; fill: none; stroke-linecap: round; }
.sg-flat .m { stroke: #B4467A; stroke-width: 1.4; stroke-dasharray: 3 2; }
.sg-flat .l { fill: #B4467A; font-size: 11px; font-weight: 700; paint-order: stroke; stroke: #FAF6F2; stroke-width: 3px; }
/* サイト側グリッド（.static-grid-container）の子が表の最小幅で広がるのを防ぐ。このCSSはガイドページでのみ読込 */
.static-grid-container > .static-content, .static__container { min-width: 0; max-width: 100%; }
.sg { min-width: 0; max-width: 100%; }
.sg-table-wrap { max-width: 100%; }
.global-container > .global-contents { min-width: 0; }
@media (max-width: 767px) { .sg-media__img img { max-width: 200px; display: block; margin: 0 auto; } }
/* 数値の範囲（55-61等）を途中で折り返さない */
.sg-panel .sg-table td, .sg-panel .sg-table th { white-space: nowrap; }
.sg-panel .sg-table td { padding: 10px 10px; }
.sg-checker__field input { flex: 1; min-width: 0; }
.sg-checker__field { white-space: nowrap; }
/* よくあるご質問: 元ページと同じ2カラム（検索部品・カテゴリ部品・問い合わせ部品はW2のパーツをそのまま使う） */
.static__container--column-2 > .static-contents, .static__container--column-2 > .static-side { min-width: 0; }
.static__container--column-2 > .static-contents > .sg + .static-contents__menu-wrap { margin-top: -5rem; }
@media (min-width: 768px) { .static__container--column-2 > .static-contents > .sg + .static-contents__menu-wrap { margin-top: -8rem; } }

/* ---- スマホ：サイドメニューを下部固定ボタン＋引き出しに（JSが html.sg-has-spnav を付けたときだけ。JS無効時は従来どおり） ---- */
.sg-spnav__btn, .sg-spnav__shade, .sg-spnav__head { display: none; }
@media (max-width: 767px) {
  .sg-has-spnav .static-grid-container > .static-side {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1002; max-height: 82vh; max-height: 82dvh; overflow-y: auto; overscroll-behavior: contain;
    display: block; box-sizing: border-box; width: auto; margin: 0; padding: 0 0 calc(24px + env(safe-area-inset-bottom)); background: #fff; border-radius: 16px 16px 0 0;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, .12); transform: translateY(105%); visibility: hidden;
    transition: transform .28s ease, visibility 0s linear .28s;
  }
  .sg-has-spnav .static-grid-container > .static-side > * { width: auto; max-width: 100%; box-sizing: border-box; }
  .sg-has-spnav .static-grid-container > .static-side > * + * { margin-top: 24px; }
  .sg-has-spnav .static-grid-container > .static-side > .sg-spnav__head + * { margin-top: 0; }
  .sg-spnav-open .static-grid-container > .static-side { transform: none; visibility: visible; transition: transform .28s ease; }
  .sg-has-spnav .sg-spnav__head {
    display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1;
    margin: 0 0 8px; padding: 14px 16px 12px; background: #fff; border-bottom: 1px solid #E9E2DF;
    font-size: 15px; font-weight: 700; letter-spacing: .04em;
  }
  .sg-spnav__close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #F8ECF0; color: #3E393B; font-size: 20px; line-height: 1; cursor: pointer; }
  .sg-has-spnav .sg-spnav__shade { display: block; position: fixed; inset: 0; z-index: 1001; background: rgba(0, 0, 0, .35); opacity: 0; pointer-events: none; transition: opacity .28s; }
  .sg-spnav-open .sg-spnav__shade { opacity: 1; pointer-events: auto; }
  .sg-spnav-open body { overflow: hidden; }
  .sg-has-spnav .sg-spnav__btn {
    display: inline-flex; align-items: center; gap: 8px; position: fixed; left: 50%; transform: translateX(-50%);
    bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 1000; height: 44px; padding: 0 20px; border: 0; border-radius: 22px;
    background: #3E393B; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .2); cursor: pointer;
  }
  .sg-spnav__icon, .sg-spnav__icon::before, .sg-spnav__icon::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 1px; position: relative; }
  .sg-spnav__icon::before, .sg-spnav__icon::after { content: ""; position: absolute; left: 0; }
  .sg-spnav__icon::before { top: -5px; }
  .sg-spnav__icon::after { top: 5px; }
  .sg-spnav-open .sg-spnav__btn { visibility: hidden; }
  /* 下部固定ボタンで本文末尾が隠れないように */
  .sg-has-spnav .static-grid-container { padding-bottom: 64px; }
}

/* スマホ：サイト側の器に左右の余白がないため、本文に余白を付ける（よくあるご質問は器側に余白あり） */
@media (max-width: 767px) {
  .static-grid-container > .static-content > .sg, .static__container > .sg { padding-left: 15px; padding-right: 15px; box-sizing: border-box; }
}

/* 小さい画像を引き伸ばさない（実寸まで。狭い画面では縮小） */
.sg .sg-natural img { width: auto; max-width: 100%; height: auto; }
.sg .sg-dl--stock picture img { width: 20px; height: 20px; vertical-align: -4px; }
/* 会社概要の写真は元画像が180px幅のため、カードを広げすぎない */
.sg .sg-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .sg .sg-photos { grid-template-columns: repeat(4, minmax(0, 200px)); } }
.sg .sg-photos img { aspect-ratio: 6 / 5; }
