/* =========================================================
   Schott ライダース サイズガイド（Jalana特集ページ）
   レイアウト：参考ページ /f/874pt20 の「白背景・中央本文・番号見出し・細罫線・写真並列」を土台に、
   余白と文字の強弱を整えた編集記事型。全セレクタを .sg 配下に閉じ、本番テンプレートと衝突しない構造。
   ========================================================= */
.sg {
  --sg-bg: #FFFFFF;
  --sg-panel: #EEF0F3;       /* 薄いグレー（青み寄りのクールグレー） */
  --sg-ink: #111418;         /* 本文の黒（わずかに青み） */
  --sg-sub: #58606A;         /* 補足文字 */
  --sg-rule: #D5D9DF;        /* 細罫線 */
  --sg-mark: #4C5967;        /* 控えめなアクセント（ジッパー・金具のスチール色） */
  --sg-pending: #3D6688;     /* 撮影後掲載の表示（スチールブルー） */
  --sg-yellow: #FFD702;      /* Jalanaイエロー：ヒーローの帯・セクション番号の■・COLUMNラベルに使用 */
  --sg-f-display: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --sg-f-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --sg-f-num: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --sg-w: 760px;             /* 本文幅 */
  --sg-wide: 1120px;         /* 写真比較の幅 */

  color-scheme: light;
  background: var(--sg-bg);
  color: var(--sg-ink);
  font-family: var(--sg-f-body);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .02em;
  padding-inline: 20px;
  padding-block: 0 96px;
  overflow-x: clip;
}
.sg *, .sg *::before, .sg *::after { box-sizing: border-box; }
.sg img { max-width: 100%; height: auto; display: block; }
.sg [hidden] { display: none !important; }
.sg a { color: inherit; }
.sg a:focus-visible, .sg button:focus-visible { outline: 2px solid var(--sg-ink); outline-offset: 3px; }
.sg p { margin: 0; }
.sg h1, .sg h2, .sg h3, .sg h4 { margin: 0; font-family: var(--sg-f-display); font-weight: 700; text-wrap: balance; line-height: 1.45; }

.sg-inner { max-width: var(--sg-w); margin-inline: auto; }
.sg-wide  { max-width: var(--sg-wide); margin-inline: auto; }

/* ---------- 制作プレビュー帯 ---------- */
.sg-preview-bar {
  max-width: var(--sg-wide); margin: 0 auto; padding-block: 10px;
  font-size: 12px; color: var(--sg-sub); border-bottom: 1px solid var(--sg-rule);
  display: flex; flex-wrap: wrap; gap: 4px 16px;
}
.sg-preview-bar strong { color: var(--sg-pending); font-weight: 700; }

/* ---------- 導入文 ---------- */
.sg-intro { padding-block: 64px 8px; display: grid; gap: 18px; text-align: left; }
.sg .sg-intro__title { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: .06em; line-height: 1.5; }
.sg-nowrap { display: inline-block; }
.sg-intro p { font-size: 16px; line-height: 2; }

/* ---------- 1. ヒーロー（写真＋HTMLテキスト） ---------- */
.sg-hero { position: relative; max-width: 1440px; margin: 24px auto 0; color: #FFFFFF; overflow: hidden; background: #111418; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.sg-hero__media { grid-column: 2; grid-row: 1; position: relative; }
.sg-hero__img { width: 100%; height: 100%; display: block; aspect-ratio: 6 / 5; object-fit: cover; object-position: 50% 50%; }
.sg-hero__badge { display: none; }
.sg-hero__text { grid-column: 1; grid-row: 1; align-self: center; display: grid; gap: clamp(14px, 1.8vw, 26px); padding: 32px clamp(24px, 4vw, 64px); }
.sg-hero__eyebrow { font-family: var(--sg-f-num); font-weight: 600; font-size: clamp(13px, 1.3vw, 18px); letter-spacing: .26em; text-transform: uppercase; color: #FFFFFF; opacity: .9; }
.sg .sg-hero__title { font-family: var(--sg-f-display); font-weight: 700; font-size: clamp(30px, 4vw, 58px); line-height: 1.25; letter-spacing: .04em; text-wrap: nowrap; }
.sg-hero__title span { display: block; }
.sg-hero__sub { position: relative; display: grid; gap: 4px; font-family: var(--sg-f-body); font-size: clamp(13px, 1.25vw, 18px); letter-spacing: .06em; gap: 12px; width: fit-content; }
.sg-hero__guide { justify-self: start; background: var(--sg-yellow); color: var(--sg-ink); font-family: var(--sg-f-display); font-weight: 700; font-size: 1.15em; letter-spacing: .08em; line-height: 1.3; padding: .42em .8em .38em; }
.sg-hero__note { position: absolute; z-index: 1; left: clamp(16px, 2vw, 28px); bottom: 12px; font-size: 11px; opacity: .85; }
.sg-visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- セクション共通 ---------- */
.sg-section { padding-block: 72px 0; }
.sg-head { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: end; border-bottom: 1px solid var(--sg-ink); padding-bottom: 14px; margin-bottom: 36px; }
.sg-head__num { font-family: var(--sg-f-num); font-size: 30px; font-weight: 600; line-height: 1; letter-spacing: .02em; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; background: var(--sg-yellow); color: var(--sg-ink); align-self: end; }
.sg-head__title { font-size: 22px; letter-spacing: .06em; }
.sg-head__en { grid-column: 2; font-family: var(--sg-f-num); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--sg-sub); order: -1; }
.sg-body { display: grid; gap: 18px; }
.sg-small { font-size: 13px; color: var(--sg-sub); line-height: 1.8; }
.sg-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.sg-link::after { content: "→"; font-family: var(--sg-f-num); }
.sg-link:hover { color: var(--sg-sub); }

/* ---------- 2・3. 紹介／方針 ---------- */
.sg-policy { background: var(--sg-panel); padding: 32px 36px; display: grid; gap: 18px; }

/* ---------- 4. モデル紹介 ---------- */
.sg-models { display: grid; gap: 64px; }
.sg-model { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.sg-model__img img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; background: var(--sg-panel); }
.sg-model__img figcaption { font-size: 12px; color: var(--sg-sub); padding-top: 8px; }
.sg-model figure { margin: 0; }
.sg-model__text { display: grid; gap: 18px; min-width: 0; align-content: start; padding-top: 8px; }
.sg .sg-model__no { font-family: var(--sg-f-num); font-size: 56px; font-weight: 600; line-height: 1; letter-spacing: .01em; }
.sg .sg-model__no small { font-size: 22px; font-weight: 500; margin-left: 6px; color: var(--sg-sub); }
.sg-links { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 4px 0 0; }
/* 商品ページへのボタン（Jalanaイエロー） */
.sg .sg-btn-product { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 16px; background: var(--sg-ink); color: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .04em; border: 1px solid var(--sg-ink); transition: background-color .15s ease; }
.sg-btn-product b { font-family: var(--sg-f-num); font-size: 20px; font-weight: 600; letter-spacing: .02em; padding-right: 10px; border-right: 1px solid rgba(255,255,255,.4); line-height: 1; }
.sg-btn-product::after { content: "→"; font-family: var(--sg-f-num); font-size: 16px; margin-left: 2px; transition: transform .15s ease; }
.sg .sg-btn-product:hover { background: #2C333B; border-color: #2C333B; }
.sg-btn-product:hover::after { transform: translateX(3px); }
.sg-btn-product:focus-visible { outline: 2px solid var(--sg-ink); outline-offset: 3px; }

.sg-model__size { border-top: 1px solid var(--sg-rule); padding-top: 14px; font-size: 14px; }
.sg-model__size span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--sg-sub); margin-bottom: 2px; }

/* ---------- 5. サイズの選び方 ---------- */
.sg-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; counter-reset: sgstep; }
.sg-step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-block: 24px; border-top: 1px solid var(--sg-rule); }
.sg-step:last-child { border-bottom: 1px solid var(--sg-rule); }
.sg-step::before { counter-increment: sgstep; content: counter(sgstep, decimal-leading-zero); font-family: var(--sg-f-num); font-size: 30px; font-weight: 500; line-height: 1.1; }
.sg-step__body { display: grid; gap: 12px; min-width: 0; }
.sg-step__body h3 { font-size: 17px; }
.sg-example { background: var(--sg-panel); padding: 14px 18px; font-size: 14px; font-variant-numeric: tabular-nums; }
.sg-example b { font-family: var(--sg-f-num); font-size: 18px; letter-spacing: .02em; }
.sg-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sg-check li { padding-left: 1.4em; position: relative; }
.sg-check li::before { content: ""; position: absolute; left: 0; top: .75em; width: .7em; height: 1px; background: var(--sg-ink); }



.sg-measure { margin: 6px 0 0; }
.sg-measure__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sg-measure__item { display: grid; gap: 10px; align-content: start; min-width: 0; }
.sg-measure__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sg-measure__label { font-size: 13px; line-height: 1.7; }
.sg-measure__label b { display: block; font-family: var(--sg-f-display); font-size: 14px; color: var(--sg-ink); letter-spacing: .06em; }

/* ---------- 6. 着用比較 ---------- */
.sg-disclaimer { border: 1px solid var(--sg-rule); padding: 14px 18px; font-size: 13px; color: var(--sg-sub); }
.sg-disclaimer strong { color: var(--sg-ink); }

.sg-fitgroup { padding-top: 64px; display: grid; gap: 24px; }
.sg-fitgroup__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; border-bottom: 1px solid var(--sg-rule); padding-bottom: 12px; }
.sg-fitgroup__no { font-family: var(--sg-f-num); font-size: 36px; font-weight: 600; line-height: 1; }
.sg-fitgroup__label { font-size: 15px; font-weight: 700; }
.sg-fitgroup__lead { font-size: 13px; color: var(--sg-sub); flex-basis: 100%; }
.sg-fitrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sg-fit { display: grid; gap: 14px; align-content: start; min-width: 0; }
.sg-fit__photo { margin: 0; position: relative; background: var(--sg-panel); }
.sg-fit__photo img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.sg-fit__views { display: flex; gap: 0; border: 1px solid var(--sg-rule); width: fit-content; }
.sg-fit__views button {
  font: inherit; font-size: 12px; letter-spacing: .06em; background: transparent; color: var(--sg-sub);
  border: 0; border-right: 1px solid var(--sg-rule); padding: 4px 12px; cursor: pointer; min-height: 32px;
}
.sg-fit__views button:last-child { border-right: 0; }
.sg-fit__views button[aria-pressed="true"] { background: var(--sg-ink); color: #FFFFFF; }
.sg-fit__views button:disabled { cursor: not-allowed; opacity: .5; }
.sg-fit__who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.sg-fit__who b { font-family: var(--sg-f-display); font-size: 15px; }
.sg-fit__who span { font-family: var(--sg-f-num); font-size: 16px; letter-spacing: .03em; color: var(--sg-sub); }
.sg-fit__data { margin: 0; display: grid; grid-template-columns: 6em 1fr; border-top: 1px solid var(--sg-rule); }
.sg-fit__data dt, .sg-fit__data dd { margin: 0; padding: 7px 0; border-bottom: 1px solid var(--sg-rule); font-size: 13px; }
.sg-fit__data dt { color: var(--sg-sub); }
.sg-pending { color: var(--sg-pending); font-size: 12px; letter-spacing: .04em; }
.sg-pending::before { content: "［"; }
.sg-pending::after { content: "］"; }

/* ---------- よくあるご質問 ---------- */

/* ---------- 着用比較：プロフィール ---------- */
.sg-profile { width: 100%; border-collapse: collapse; margin-top: 28px; font-variant-numeric: tabular-nums; }
.sg-profile th, .sg-profile td { padding: 12px 8px; border-bottom: 1px solid var(--sg-rule); text-align: left; font-weight: 400; font-size: 14px; vertical-align: baseline; }
.sg-profile thead th { font-size: 12px; color: var(--sg-sub); letter-spacing: .06em; border-bottom: 1px solid var(--sg-ink); padding-top: 0; }
.sg-profile thead small { display: block; font-size: 11px; letter-spacing: 0; }
.sg-profile tbody th { font-family: var(--sg-f-display); font-weight: 700; font-size: 15px; padding-left: 0; }
.sg-profile td { font-family: var(--sg-f-num); font-size: 18px; letter-spacing: .03em; }
.sg-profile td .sg-pending { font-family: var(--sg-f-body); }
.sg-disclaimer { margin-top: 20px; }

/* ---------- よくあるご質問（details／summary） ---------- */
.sg-faq { margin-top: -36px; }
.sg-faq__item { border-bottom: 1px solid var(--sg-rule); }
.sg-faq__item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 32px 1fr 24px; gap: 12px; align-items: center; padding: 20px 0; font-family: var(--sg-f-display); font-weight: 700; font-size: 16px; line-height: 1.6; }
.sg-faq__item summary::-webkit-details-marker { display: none; }
.sg-faq__item summary:hover .sg-faq__q { text-decoration: underline; text-underline-offset: 4px; }
.sg-faq__item summary:focus-visible { outline: 2px solid var(--sg-ink); outline-offset: 2px; }
.sg-faq__mark { font-family: var(--sg-f-num); font-size: 24px; font-weight: 600; line-height: 1; }
.sg-faq__icon { position: relative; width: 16px; height: 16px; justify-self: end; }
.sg-faq__icon::before, .sg-faq__icon::after { content: ""; position: absolute; left: 0; top: 7.5px; width: 16px; height: 1.5px; background: var(--sg-ink); transition: transform .2s ease; }
.sg-faq__icon::after { transform: rotate(90deg); }
.sg-faq__item[open] .sg-faq__icon::after { transform: rotate(0deg); }
.sg-faq__a { display: grid; grid-template-columns: 32px 1fr 24px; gap: 12px; align-items: baseline; padding: 0 0 22px; }
.sg-faq__a .sg-faq__mark { color: var(--sg-sub); }
.sg-faq__a p { font-size: 15px; min-width: 0; }
.sg-faq__item[open] .sg-faq__a { animation: sg-faq-in .22s ease-out; }
@keyframes sg-faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- 7. 実寸表・相談 ---------- */
.sg-chart { display: grid; gap: 20px; margin-top: 28px; }
.sg-calc { background: var(--sg-panel); padding: 20px 24px; display: grid; gap: 10px; }
.sg-calc label { font-size: 14px; font-weight: 700; }
.sg-calc label small { font-size: 12px; font-weight: 400; color: var(--sg-sub); margin-left: 8px; letter-spacing: .02em; }
.sg-calc__fields { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 28px; }
.sg-calc__field { display: grid; gap: 6px; }
.sg-example-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.sg-example-list li { display: grid; grid-template-columns: 5.5em 1fr; gap: 8px; }
.sg-example span { display: block; }
.sg-example b { white-space: nowrap; }
.sg-example__h { font-size: 12px; color: var(--sg-sub); }
.sg-calc__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sg-calc input { width: 7.5em; font: inherit; font-family: var(--sg-f-num); font-size: 22px; padding: 6px 10px; border: 1px solid var(--sg-sub); border-radius: 0; background: var(--sg-bg); color: var(--sg-ink); min-height: 48px; }
.sg-calc input:focus-visible { outline: 2px solid var(--sg-ink); outline-offset: 1px; }
.sg-calc__unit { font-size: 15px; margin-right: 6px; }
.sg-calc .sg-btn { cursor: pointer; font: inherit; font-size: 14px; letter-spacing: .06em; }
.sg-calc__result:empty { display: none; }
.sg-calc__result { display: grid; gap: 10px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--sg-ink); }
.sg-calc__title { font-family: var(--sg-f-display); font-weight: 700; font-size: 18px; letter-spacing: .06em; }
.sg-calc__basis { font-size: 13px; color: var(--sg-sub); line-height: 1.7; }
.sg-calc__result ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sg-calc__card { background: var(--sg-bg); border-top: 4px solid var(--sg-ink); padding: 14px 16px 16px; display: grid; gap: 8px; align-content: start; font-variant-numeric: tabular-nums; }
.sg-calc__card.is-near { border-top-color: var(--sg-sub); }
.sg-calc__model { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--sg-f-num); font-size: 20px; font-weight: 600; line-height: 1.2; }
.sg-calc__model em { font-style: normal; font-family: var(--sg-f-body); font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #FFFFFF; background: var(--sg-ink); border: 1px solid var(--sg-ink); padding: 2px 6px; line-height: 1.3; }
.sg-calc__size { display: flex; align-items: baseline; gap: 10px; }
.sg-calc__size small { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--sg-sub); }
.sg-calc__size b { font-family: var(--sg-f-num); font-size: 56px; font-weight: 600; line-height: 1; letter-spacing: .01em; background: linear-gradient(transparent 62%, var(--sg-yellow) 62%, var(--sg-yellow) 92%, transparent 92%); padding: 0 4px; }
.sg-calc__ease { font-size: 12px; color: var(--sg-sub); }
.sg-calc__off { font-size: 12px; line-height: 1.7; color: var(--sg-ink); border-top: 1px solid var(--sg-rule); padding-top: 8px; }
.sg-calc__note { font-size: 12px; color: var(--sg-sub); line-height: 1.8; }
.sg-calc__error { color: var(--sg-pending); }
.sg-chart__tabs-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--sg-sub); margin: 24px 0 8px; }
.sg-chart__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 4px; }
.sg-chart__tabs button { position: relative; font: inherit; background: var(--sg-bg); border: 1px solid var(--sg-sub); border-radius: 0; padding: 12px 14px 12px; cursor: pointer; color: var(--sg-ink); display: grid; gap: 4px; text-align: left; transition: background-color .15s ease, border-color .15s ease; }
.sg-chart__tabs button b { font-family: var(--sg-f-num); font-size: 26px; font-weight: 600; line-height: 1; }
.sg-chart__tabs button span { font-size: 11px; line-height: 1.4; color: var(--sg-sub); }
.sg-chart__tabs button:hover { border-color: var(--sg-ink); background: var(--sg-panel); }
.sg-chart__tabs button[aria-selected="true"] { background: var(--sg-ink); border-color: var(--sg-ink); color: #FFFFFF; }
.sg-chart__tabs button[aria-selected="true"] span { color: rgba(255,255,255,.75); }
.sg-chart__tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; background: var(--sg-ink); transform: translateX(-50%) rotate(45deg); }
.sg-chart__tabs button:focus-visible { outline: 2px solid var(--sg-ink); outline-offset: -2px; }
.sg-chart__panel { display: grid; gap: 12px; }
.sg-chart__scroll { overflow-x: auto; }
.sg-chart__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 420px; }
.sg-chart__table th, .sg-chart__table td { padding: 10px 8px; border-bottom: 1px solid var(--sg-rule); text-align: right; font-size: 15px; font-weight: 400; }
.sg-chart__table thead th { font-size: 12px; color: var(--sg-sub); letter-spacing: .04em; border-bottom: 1px solid var(--sg-ink); }
.sg-chart__table th:first-child { text-align: left; padding-left: 4px; }
.sg-chart__table tbody th { font-family: var(--sg-f-num); font-size: 18px; font-weight: 600; }
.sg-chart__table td { font-family: var(--sg-f-num); font-size: 17px; letter-spacing: .02em; }
/* 目安表示で使う身幅・ウエストの列を強調 */
.sg-chart__table .sg-chart__waist { background: var(--sg-panel); font-weight: 600; }
.sg-chart__table thead .sg-chart__waist { color: var(--sg-ink); font-weight: 700; }
.sg-chart__table tr.is-match th, .sg-chart__table tr.is-match td { background: var(--sg-ink); color: #FFFFFF; }
.sg-chart__table tr.is-near th, .sg-chart__table tr.is-near td { box-shadow: inset 0 -2px 0 var(--sg-ink); }
.sg-chart__table td.sg-chart__pending { text-align: center; font-family: var(--sg-f-body); }
.sg-chart__more { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.sg-chart__more span { flex-basis: 100%; }
.sg-chart__more span { font-size: 12px; color: var(--sg-sub); }
.sg-chart__note { margin-top: -4px; }

.sg-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--sg-ink); }
.sg-cta__item { display: grid; gap: 6px; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--sg-rule); text-decoration: none; min-width: 0; }
.sg-cta__item:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--sg-rule); }
.sg-cta__item:hover .sg-cta__no { text-decoration: underline; }
.sg-cta__no { font-family: var(--sg-f-num); font-size: 28px; font-weight: 600; line-height: 1; }
.sg-cta__name { font-size: 12px; color: var(--sg-sub); line-height: 1.7; }
.sg-cta__go { font-size: 13px; }
.sg-consult { margin-top: 48px; background: var(--sg-panel); padding: 32px; display: grid; gap: 16px; }
.sg-consult h3 { font-size: 18px; }
.sg-consult__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 14px; }
.sg-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.sg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; text-decoration: none; font-size: 14px; letter-spacing: .06em; border: 1px solid var(--sg-ink); }
.sg .sg-btn--fill { background: var(--sg-ink); color: #FFFFFF; }
.sg .sg-btn--fill:hover { background: #2C333B; }
.sg-btn--line:hover { background: #FFFFFF; }

.sg-special { margin-top: 96px; display: flex; justify-content: center; }
.sg .sg-special__link { display: grid; justify-items: center; gap: 6px; min-width: min(100%, 420px); padding: 22px 56px 20px; border: 1px solid var(--sg-ink); color: var(--sg-ink); text-decoration: none; position: relative; transition: background-color .15s ease, color .15s ease; }
.sg .sg-special__link::after { content: "→"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-family: var(--sg-f-num); font-size: 18px; transition: transform .15s ease; }
.sg .sg-special__link:hover { background: var(--sg-ink); color: #FFFFFF; }
.sg .sg-special__link:hover::after { transform: translate(3px, -50%); }
.sg-special__en { font-family: var(--sg-f-num); font-weight: 600; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; opacity: .7; }
.sg-special__ja { font-family: var(--sg-f-display); font-weight: 700; font-size: 16px; letter-spacing: .08em; }
.sg-pagefoot { margin: 72px -20px -96px; background: #1A1A1A; padding: 48px 40px 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.sg .sg-pagefoot__logo { display: block; line-height: 0; }
.sg .sg-pagefoot__logo img { width: auto; height: 48px; }
.sg-pagefoot__copy { margin: 10px 0; font-size: 10px; font-weight: 300; letter-spacing: 1.2px; color: #666666; }
.sg-foot { margin-top: 72px; border-top: 1px solid var(--sg-rule); padding-top: 20px; font-size: 12px; color: var(--sg-sub); display: grid; gap: 6px; }

/* ---------- タブレット ---------- */
@media (max-width: 960px) {
  .sg-model { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 28px; }
}

/* ---------- スマホ ---------- */
@media (max-width: 640px) {
  .sg { font-size: 15px; padding-inline: 16px; }
  .sg-section { padding-block: 56px 0; }
  .sg-head__num { font-size: 25px; width: 44px; height: 44px; }
  .sg-head__title { font-size: 19px; }
  .sg-intro { padding-block: 44px 0; }
  .sg-intro p { font-size: 15px; }
  .sg-faq__item summary { grid-template-columns: 26px 1fr 20px; gap: 10px; font-size: 15px; }
  .sg-faq__a { grid-template-columns: 26px 1fr; gap: 10px; }
  .sg-profile th, .sg-profile td { padding: 10px 4px; }
  .sg-profile td { font-size: 15px; }
  .sg-profile tbody th, .sg-profile td { white-space: nowrap; }
  .sg-profile td .sg-pending { font-size: 10px; letter-spacing: 0; }
  .sg-profile thead small { display: none; }
  .sg-policy { padding: 24px 18px; }
  .sg-model { grid-template-columns: 1fr; gap: 20px; }
  .sg .sg-model__no { font-size: 48px; }
  .sg-step { grid-template-columns: 1fr; gap: 6px; }
  .sg-measure { margin: 6px 0 0; }
  .sg-measure__grid { grid-template-columns: 1fr; gap: 24px; }
  /* 着用比較：1人ずつ写真＋情報を縦に、写真は画面幅いっぱい */
  .sg-fitrow { grid-template-columns: 1fr; gap: 40px; }
  .sg-fit__photo img { aspect-ratio: 3 / 4; }
  .sg-cta { grid-template-columns: 1fr; }
  .sg-cta__item, .sg-cta__item:nth-child(even) { padding: 18px 0; border-left: 0; }
  .sg-consult { padding: 24px 18px; margin-inline: -16px; }
  .sg-btn { width: 100%; }
  .sg-calc { padding: 18px 16px; margin-inline: -16px; }
  .sg-calc .sg-btn { width: auto; flex: 1 1 auto; }
  .sg-calc input { width: 6em; }
  .sg-calc__result ul { grid-template-columns: 1fr; gap: 8px; }
  .sg-calc__card { grid-template-columns: auto 1fr; column-gap: 16px; padding: 12px 14px; }
  .sg-calc__card .sg-calc__model, .sg-calc__card .sg-calc__ease, .sg-calc__card .sg-calc__off { grid-column: 1 / -1; }
  .sg-calc__size b { font-size: 46px; }
  .sg-calc__fields { display: grid; gap: 14px; }
  .sg-calc__submit { width: 100%; }
  .sg-chart__tabs { gap: 6px; }
  .sg-chart__tabs button { padding: 10px 8px; }
  .sg-chart__tabs button b { font-size: 20px; white-space: nowrap; letter-spacing: 0; }
  .sg-chart__tabs button span { font-size: 10px; }
  .sg-chart__table th, .sg-chart__table td { padding: 9px 5px; }
  .sg-chart__table { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sg * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media (max-width: 640px) {
  .sg-hero { margin: 0 -16px; display: flex; flex-direction: column; }
  .sg-hero__img { aspect-ratio: 1 / 1; height: auto; object-position: 52% 50%; }
  /* スマホ：写真を先に見せつつ、写真の左下に黄色の帯を重ねて「何のページか」をすぐ伝える（文字エリア側の帯は非表示） */
  .sg-hero__badge { display: block; position: absolute; z-index: 2; left: 20px; bottom: 0; transform: translateY(50%); margin: 0; background: var(--sg-yellow); color: var(--sg-ink); font-family: var(--sg-f-display); font-weight: 700; font-size: 16px; letter-spacing: .08em; line-height: 1.3; padding: .5em .85em .45em; }
  .sg-hero__guide { display: none; }
  .sg-hero__text { position: static; transform: none; max-width: none; padding: 44px 20px 28px; background: #111418; gap: 16px; }
  .sg .sg-hero__title { font-size: clamp(32px, 10vw, 44px); }
  .sg-hero__sub { font-size: 15px; }
  .sg-hero__note { left: auto; right: 12px; bottom: 10px; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
}

/* ---------- コラム：着込むと、革はどう変わる？（番号なしのミニコーナー） ---------- */
.sg { --sg-column-bg: #1B1F24; --sg-column-line: #3A424C; --sg-column-ink: #E7EAEE; --sg-column-sub: #9AA3AD; }
.sg-column { padding-block: 72px 0; }
.sg-column__inner { position: relative; background: var(--sg-column-bg); border: 1px solid var(--sg-column-line); padding: 40px 36px 32px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 32px; align-items: start; color: var(--sg-column-ink); }
.sg-column__en { position: absolute; top: -11px; left: 28px; background: var(--sg-yellow); border: 1px solid var(--sg-yellow); padding: 3px 12px; font-family: var(--sg-f-num); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sg-ink); line-height: 1.2; }
.sg .sg-column__title { grid-column: 1; font-size: 18px; letter-spacing: .06em; }
.sg-column__inner > p:not(.sg-column__en) { grid-column: 1; font-size: 14px; line-height: 1.95; }
.sg-column__photo { grid-column: 2; grid-row: 1 / span 3; margin: 0; display: grid; gap: 8px; }
.sg-column__photo img { width: 100%; height: auto; background: var(--sg-panel); }
.sg-column__label { font-size: 12px; letter-spacing: .04em; }
.sg-column__note { font-size: 11px; color: var(--sg-column-sub); line-height: 1.8; }
@media (max-width: 640px) {
  .sg-column { padding-block: 56px 0; }
  .sg-column__inner { grid-template-columns: 1fr; padding: 32px 18px 24px; margin-inline: -4px; }
  .sg-column__title, .sg-column__inner > p:not(.sg-column__en), .sg-column__photo { grid-column: 1 !important; grid-row: auto !important; }
  .sg-column__en { left: 18px; }
  .sg .sg-column__title { font-size: 17px; }
}
