/* ===================================================================
   ロボットマート！ base.css — デザインシステム（1ファイル完結）v2
   コンセプト: ロボットの総合小売（toC・量販店的な間口の広さと親しみ）。
   Smartmart のデザインDNA（LINE Seed JP / ブルー #0668E1 / クリーンな
   白基調＋細ボーダー＋控えめシャドウ）を継承したカジュアル版。
   ルール: 絵文字禁止（アイコンは rm_icon() の Lucide SVG）。
           インラインスタイル禁止。ページ内 <style> 禁止。
           カードのtop/leftボーダーアクセント禁止（齊木さん指示 2026-06-13）。
   =================================================================== */

/* ---- デザイントークン（Smartmart variables.css 系譜） ---- */
:root {
  --rm-ink:        #1c2b33;   /* 基本テキスト（sm-black） */
  --rm-ink-soft:   #5b6b76;   /* 補助テキスト */
  --rm-bg:         #ffffff;
  --rm-bg-soft:    #f5f7fa;   /* セクション交互背景（sm bg-tertiary） */
  --rm-bg-soft2:   #f8f9fa;
  --rm-line:       #e0e5eb;   /* 罫線（sm border-color） */
  --rm-line-light: #f0f3f6;

  --rm-blue:       #0668E1;   /* プライマリ（sm-blue） */
  --rm-blue-dark:  #0558C0;
  --rm-blue-light: #0080FB;
  --rm-blue-bg:    #eef5fe;   /* ブルー薄背景 */
  --rm-accent:     #0668E1;   /* 旧トークン互換: アクセント＝ブルー */
  --rm-orange:     #ff7a1a;   /* 差し色（量販店の元気・ロゴの「！」） */
  --rm-skin:       #e7437a;   /* ロボスキンのライン色（控えめに使用） */
  --rm-skin-bg:    #fdeef4;
  --rm-navy:       #1c2b33;   /* 法人トーン（ROBOT WEAR） */
  --rm-navy-mid:   #344854;
  --rm-navy-soft:  #eef2f6;
  --rm-warn-bg:    #fff8e6;   /* 安全注意 */
  --rm-warn-line:  #f0b429;
  --rm-ok:         #10b981;
  --rm-err:        #ef4444;

  --rm-radius:     10px;
  --rm-radius-sm:  6px;
  --rm-radius-lg:  16px;
  --rm-radius-pill: 999px;

  --rm-shadow:     0 2px 4px rgba(28, 43, 51, 0.06);
  --rm-shadow-lg:  0 8px 24px rgba(28, 43, 51, 0.12);

  --rm-maxw:       1140px;
  --rm-font: "LINE Seed JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
             "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---- リセット & ベース ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--rm-font);
  color: var(--rm-ink);
  background: var(--rm-bg);
  line-height: 1.8;
  font-size: 15.5px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rm-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.35; font-weight: 700; letter-spacing: .01em; }
.rm-icon { vertical-align: -0.18em; flex: none; }

/* ---- レイアウト ---- */
.rm-container { width: 100%; max-width: var(--rm-maxw); margin: 0 auto; padding: 0 20px; }
.rm-section { padding: 52px 0; }
.rm-section--alt { background: var(--rm-bg-soft); }
.rm-section--navy { background: var(--rm-navy-soft); }
.rm-section__title { font-size: 1.55rem; margin: 0 0 8px; text-align: center; font-weight: 800; }
.rm-section__lead { text-align: center; color: var(--rm-ink-soft); margin: 0 auto 30px; max-width: 680px; }

/* ---- ヘッダー（白・クリーン・sticky） ---- */
.rm-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--rm-line);
}
.rm-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 62px; }
.rm-header__logo { display: inline-flex; align-items: baseline; gap: 1px; }
.rm-header__logo-text { font-weight: 800; font-size: 1.28rem; color: var(--rm-ink); letter-spacing: .01em; }
.rm-header__logo-bang { color: var(--rm-orange); font-weight: 800; font-size: 1.28rem; }
.rm-header__logo:hover { text-decoration: none; }

/* ナビ（details/summary でJS不要開閉） */
.rm-nav { position: relative; }
.rm-nav__toggle {
  list-style: none; cursor: pointer; width: 42px; height: 42px;
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  border-radius: var(--rm-radius-sm); border: 1px solid var(--rm-line);
}
.rm-nav__toggle::-webkit-details-marker { display: none; }
.rm-nav__toggle-bar { width: 20px; height: 2px; background: var(--rm-ink); border-radius: 2px; }
.rm-nav__menu {
  position: absolute; right: 0; top: 52px; min-width: 230px;
  background: #fff; border: 1px solid var(--rm-line); border-radius: var(--rm-radius);
  box-shadow: var(--rm-shadow-lg); padding: 8px;
}
.rm-nav__list { list-style: none; margin: 0; padding: 0; }
.rm-nav__item { margin: 2px 0; }
.rm-nav__link { display: block; padding: 10px 12px; border-radius: var(--rm-radius-sm); color: var(--rm-ink); font-weight: 700; font-size: .95rem; }
.rm-nav__link:hover { background: var(--rm-bg-soft); text-decoration: none; color: var(--rm-blue); }
.rm-nav__item--cta { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--rm-line); }
.rm-nav__item--cta .rm-btn { display: block; text-align: center; }

@media (min-width: 880px) {
  .rm-nav__toggle { display: none; }
  .rm-nav__menu { position: static; min-width: 0; border: 0; box-shadow: none; padding: 0; background: transparent; }
  .rm-nav__list { display: flex; align-items: center; gap: 4px; }
  .rm-nav__item--cta { margin: 0 0 0 10px; padding: 0; border: 0; }
}

/* ---- ボタン ---- */
.rm-btn {
  display: inline-block; font-weight: 700; text-align: center; cursor: pointer;
  border: 1px solid transparent; border-radius: var(--rm-radius);
  padding: 12px 26px; font-size: .98rem; line-height: 1.3;
  transition: background .15s ease, box-shadow .15s ease, color .15s ease;
}
.rm-btn:hover { text-decoration: none; }
.rm-btn--sm { padding: 8px 16px; font-size: .88rem; }
.rm-btn--lg { padding: 15px 38px; font-size: 1.05rem; }
.rm-btn--primary { background: var(--rm-blue); color: #fff; }
.rm-btn--primary:hover { background: var(--rm-blue-dark); box-shadow: var(--rm-shadow-lg); }
.rm-btn--navy { background: var(--rm-navy); color: #fff; }
.rm-btn--navy:hover { background: var(--rm-navy-mid); }
.rm-btn--ghost { background: #fff; color: var(--rm-ink); border-color: var(--rm-line); }
.rm-btn--ghost:hover { border-color: var(--rm-blue); color: var(--rm-blue); }

/* ---- ヒーロー（ダークネイビー＝Smartmartヒーローの系譜） ---- */
.rm-hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(6,104,225,.35), transparent 60%),
    linear-gradient(160deg, #16242c 0%, #1c2b33 55%, #233844 100%);
  color: #fff;
  padding: 64px 0 60px;
  text-align: center;
}
.rm-hero__title { font-size: 2rem; margin: 0 0 14px; font-weight: 800; color: #fff; }
.rm-hero__title em { font-style: normal; color: #7ec1ff; }
.rm-hero__sub { font-size: 1.02rem; color: rgba(255,255,255,.88); margin: 0 auto 28px; max-width: 640px; }
.rm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.rm-hero__actions .rm-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.rm-hero__actions .rm-btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.rm-hero--wear {
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(6,104,225,.28), transparent 60%),
    linear-gradient(160deg, #131e25 0%, #1c2b33 60%, #1f3340 100%);
}
@media (min-width: 720px) { .rm-hero__title { font-size: 2.55rem; } }

/* ---- グリッド ---- */
.rm-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.rm-grid--2 { grid-template-columns: 1fr; }
.rm-grid--3 { grid-template-columns: 1fr; }
.rm-grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
  .rm-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .rm-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .rm-grid--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 920px) {
  .rm-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .rm-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---- カード（白・細ボーダー・控えめ浮き＝Smartmart tp-category-card） ---- */
a.rm-card { color: inherit; }
a.rm-card:hover { text-decoration: none; }
.rm-card {
  background: #fff; border: 1px solid var(--rm-line); border-radius: var(--rm-radius);
  padding: 22px; box-shadow: var(--rm-shadow);
  transition: box-shadow .15s ease, border-color .15s ease;
  display: flex; flex-direction: column;
}
.rm-card:hover { box-shadow: var(--rm-shadow-lg); border-color: #c9d4de; }
.rm-card__eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .08em; color: var(--rm-blue); margin: 0 0 6px; }
.rm-card__title { font-size: 1.14rem; margin: 0 0 8px; }
.rm-card__text { color: var(--rm-ink-soft); margin: 0 0 14px; flex: 1; font-size: .94rem; }
.rm-card__link { font-weight: 700; align-self: flex-start; font-size: .95rem; }
.rm-card--brand {}
.rm-card--wear {}
.rm-card--wear .rm-card__eyebrow { color: var(--rm-navy-mid); }
.rm-card--skin {}
.rm-card--skin .rm-card__eyebrow { color: var(--rm-skin); }
.rm-card--items {}
.rm-card--items .rm-card__eyebrow { color: var(--rm-blue-light); }

/* 機種グリッド用ミニカード（売場の棚） */
.rm-modelcard { text-align: center; padding: 22px 14px 18px; }
.rm-modelcard .rm-icon { color: var(--rm-blue); margin: 0 auto 4px; display: block; }
.rm-modelcard__name { font-weight: 800; font-size: 1.04rem; margin: 6px 0 2px; }
.rm-modelcard__maker { font-size: .8rem; color: var(--rm-ink-soft); }

/* ---- バッジ / タグ ---- */
.rm-badge {
  display: inline-block; font-size: .76rem; font-weight: 700;
  padding: 3px 11px; border-radius: var(--rm-radius-pill);
  background: var(--rm-blue-bg); color: var(--rm-blue-dark);
}
.rm-badge--navy { background: var(--rm-navy); color: #fff; }
.rm-badge--mint { background: #e7f8f2; color: #0a7d62; }
.rm-tag {
  display: inline-block; font-size: .8rem; font-weight: 700;
  padding: 4px 12px; margin: 0 6px 8px 0; border-radius: var(--rm-radius-pill);
  background: var(--rm-bg-soft); color: var(--rm-ink-soft); border: 1px solid var(--rm-line);
}
.rm-tag--skin { background: var(--rm-skin-bg); color: var(--rm-skin); border-color: #f4c3d4; }
.rm-tag--wear { background: var(--rm-navy-soft); color: var(--rm-navy-mid); border-color: #d4dde5; }

/* ---- テーブル ---- */
.rm-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .93rem; background: #fff; }
.rm-table th, .rm-table td { padding: 12px 14px; border: 1px solid var(--rm-line); text-align: left; vertical-align: top; }
.rm-table th { background: var(--rm-bg-soft); font-weight: 700; white-space: nowrap; }
.rm-table--wrap { overflow-x: auto; }
.rm-compare-table-wrap { overflow-x: auto; margin: 12px 0 20px; }
.rm-compare-table { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; min-width: 560px; }
.rm-compare-table th, .rm-compare-table td { padding: 11px 13px; border: 1px solid var(--rm-line); text-align: left; vertical-align: top; }
.rm-compare-table thead th { background: var(--rm-navy); color: #fff; font-weight: 700; }
.rm-compare-table tbody th { background: var(--rm-bg-soft); font-weight: 700; }

/* ---- 安全注意 ---- */
.rm-note {
  background: var(--rm-warn-bg); border: 1px solid #f3ddA8;
  border-radius: var(--rm-radius-sm);
  padding: 14px 18px; margin: 18px 0; color: var(--rm-ink); font-size: .93rem;
}
.rm-note-label { font-weight: 800; margin: 0 0 8px; }
.rm-warn-inline { color: #9a6700; font-weight: 700; }

/* ---- パンくず ---- */
.rm-breadcrumb { background: var(--rm-bg-soft2); border-bottom: 1px solid var(--rm-line-light); font-size: .82rem; }
.rm-breadcrumb__list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 9px 0; }
.rm-breadcrumb__item { color: var(--rm-ink-soft); }
.rm-breadcrumb__item:not(:last-child)::after { content: "›"; margin-left: 6px; color: #b6c2cc; }
.rm-breadcrumb__item a { color: var(--rm-ink-soft); }
.rm-breadcrumb__item--current { color: var(--rm-ink); font-weight: 700; }

/* ---- FAQ ---- */
.rm-faq__list { max-width: 780px; margin: 0 auto; }
.rm-faq__item { background: #fff; border: 1px solid var(--rm-line); border-radius: var(--rm-radius-sm); margin-bottom: 10px; overflow: hidden; }
.rm-faq__q { cursor: pointer; list-style: none; padding: 15px 44px 15px 18px; font-weight: 700; position: relative; font-size: .97rem; }
.rm-faq__q::-webkit-details-marker { display: none; }
.rm-faq__q::after { content: "＋"; position: absolute; right: 16px; top: 14px; color: var(--rm-blue); font-weight: 700; }
.rm-faq__item[open] .rm-faq__q::after { content: "－"; }
.rm-faq__a { padding: 0 18px 16px; color: var(--rm-ink-soft); font-size: .94rem; }

/* ---- CTA ---- */
.rm-cta { background: var(--rm-navy); color: #fff; }
.rm-cta--wear { background: linear-gradient(135deg, #131e25, var(--rm-navy)); }
.rm-cta--skin { background: linear-gradient(135deg, var(--rm-navy), #3a2733); }
.rm-cta__inner { text-align: center; max-width: 680px; margin: 0 auto; }
.rm-cta__lead { font-size: 1.45rem; font-weight: 800; margin: 0 0 8px; color: #fff; }
.rm-cta__sub { color: rgba(255,255,255,.82); margin: 0 0 22px; }
.rm-cta .rm-btn--primary { background: #fff; color: var(--rm-navy); }
.rm-cta .rm-btn--primary:hover { background: var(--rm-blue-bg); color: var(--rm-blue-dark); }
.rm-cta .rm-btn--navy { background: var(--rm-blue); color: #fff; }
.rm-cta .rm-btn--navy:hover { background: var(--rm-blue-dark); }

/* ---- フォーム ---- */
.rm-form { max-width: 680px; margin: 0 auto; }
.rm-form__row { margin-bottom: 18px; }
.rm-form__label { display: block; font-weight: 700; margin-bottom: 7px; font-size: .95rem; }
.rm-form__req { color: var(--rm-err); font-size: .8rem; margin-left: 6px; }
.rm-form__hint { display: block; color: var(--rm-ink-soft); font-size: .84rem; margin-top: 5px; }
.rm-form input[type="text"],
.rm-form input[type="email"],
.rm-form select,
.rm-form textarea {
  width: 100%; font-size: 16px; /* iOSズーム対策 */
  font-family: inherit; color: var(--rm-ink);
  padding: 12px 14px; border: 1px solid var(--rm-line); border-radius: var(--rm-radius-sm);
  background: #fff;
}
.rm-form input:focus, .rm-form select:focus, .rm-form textarea:focus {
  outline: none; border-color: var(--rm-blue); box-shadow: 0 0 0 3px rgba(6,104,225,.14);
}
.rm-form textarea { min-height: 130px; resize: vertical; }
.rm-form__radios { display: flex; flex-wrap: wrap; gap: 10px; }
.rm-form__radio { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 1px solid var(--rm-line); border-radius: var(--rm-radius-pill); cursor: pointer; font-weight: 700; font-size: .92rem; background: #fff; }
.rm-form__radio input { accent-color: var(--rm-blue); }
.rm-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* honeypot */
.rm-form__actions { text-align: center; margin-top: 8px; }

/* フォーム結果メッセージ（alert禁止の受け皿） */
.rm-alert { border-radius: var(--rm-radius-sm); padding: 14px 18px; margin-bottom: 20px; font-weight: 700; }
.rm-alert--ok { background: #e8faf3; border: 1px solid var(--rm-ok); color: #066d52; }
.rm-alert--err { background: #fdecec; border: 1px solid var(--rm-err); color: #b42020; }
.rm-alert__list { margin: 8px 0 0; padding-left: 20px; font-weight: 400; }

/* ---- 記事レイアウト（/guide/ ほか長文ページ共通） ---- */
.rm-article__header { padding: 40px 0 8px; }
.rm-article__tag-row { margin-bottom: 12px; }
.rm-article__title { font-size: clamp(1.5rem, 3.4vw, 2rem); margin: 0 0 12px; font-weight: 800; }
.rm-article__lead { font-size: 1.03rem; color: var(--rm-ink-soft); max-width: 740px; margin: 0; }
.rm-article__body { max-width: 780px; margin: 0 auto; padding: 8px 0 48px; }
.rm-article__body h2 { font-size: 1.38rem; margin: 40px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--rm-line); }
.rm-article__body h3 { font-size: 1.12rem; margin: 28px 0 10px; }
.rm-article__body p { margin: 0 0 16px; }
.rm-article__body ul, .rm-article__body ol { padding-left: 22px; margin: 0 0 16px; }
.rm-article__body li { margin-bottom: 6px; }
.rm-article__section { margin-bottom: 8px; }
.rm-article__section--warn, .rm-article__warn-box {
  background: var(--rm-warn-bg); border: 1px solid #f3dda8;
  border-radius: var(--rm-radius-sm); padding: 16px 20px; margin: 20px 0;
}

/* チェックリスト（安全チェック等） */
.rm-checklist { list-style: none; padding: 0; margin: 12px 0 4px; }
.rm-checklist__item {
  position: relative; padding: 10px 0 10px 34px; border-bottom: 1px dashed var(--rm-line);
  font-size: .95rem;
}
.rm-checklist__item:last-child { border-bottom: 0; }
.rm-checklist__icon {
  position: absolute; left: 2px; top: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #e8faf3; color: #0a7d62; font-size: 0; /* テキスト記号は不可視化しSVGで表示 */
}
.rm-checklist__icon .rm-icon { width: 14px; height: 14px; }
.rm-checklist__icon--no { background: #fdecec; color: #b42020; }

/* 手順（番号ステップ） */
.rm-steps { counter-reset: rmstep; list-style: none; padding: 0; margin: 14px 0 18px; }
.rm-steps li {
  counter-increment: rmstep; position: relative;
  padding: 12px 14px 12px 52px; margin-bottom: 8px;
  background: #fff; border: 1px solid var(--rm-line); border-radius: var(--rm-radius-sm);
  font-size: .95rem;
}
.rm-steps li::before {
  content: counter(rmstep);
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--rm-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem;
}

/* 関連リンク */
.rm-related-links { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 8px; }
.rm-related-links li {
  font-size: .93rem; background: #fff; border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius-sm); padding: 0;
}
.rm-related-links a { display: block; padding: 11px 14px; font-weight: 700; }
.rm-related-links a:hover { text-decoration: none; background: var(--rm-bg-soft); }

/* ---- ガイドハブ（/guide/ 一覧） ---- */
.rm-guide-hub-hero { padding: 44px 0 8px; }
.rm-guide-hub__title { font-size: clamp(1.5rem, 3.4vw, 2rem); margin: 0 0 10px; font-weight: 800; }
.rm-guide-hub__lead { color: var(--rm-ink-soft); max-width: 720px; margin: 0 0 8px; }
.rm-guide-hub__filter-bar { margin: 14px 0 4px; }
.rm-guide-hub__grid { display: grid; gap: 18px; grid-template-columns: 1fr; padding: 18px 0 8px; }
@media (min-width: 720px) { .rm-guide-hub__grid { grid-template-columns: repeat(2, 1fr); } }
.rm-guide-card {
  background: #fff; border: 1px solid var(--rm-line); border-radius: var(--rm-radius);
  padding: 22px; box-shadow: var(--rm-shadow); display: flex; flex-direction: column;
  transition: box-shadow .15s ease;
}
.rm-guide-card:hover { box-shadow: var(--rm-shadow-lg); }
.rm-guide-card__tag-row { margin-bottom: 8px; }
.rm-guide-card__title { font-size: 1.1rem; margin: 0 0 8px; line-height: 1.5; }
.rm-guide-card__title a { color: var(--rm-ink); }
.rm-guide-card__title a:hover { color: var(--rm-blue); }
.rm-guide-card__lead { color: var(--rm-ink-soft); font-size: .92rem; margin: 0 0 12px; flex: 1; }
.rm-guide-card__kw { font-size: .78rem; color: #93a1ac; margin: 0 0 10px; }
.rm-guide-card__more { font-weight: 700; font-size: .93rem; align-self: flex-start; }

/* ---- コレクションカラースウォッチ（/skin/design/） ---- */
.rm-card__color-swatch { height: 110px; border-radius: var(--rm-radius-sm); margin: -6px 0 14px; }
.rm-card__color--sakura   { background: linear-gradient(135deg, #ffd7e4, #fff1f5 60%, #ffe3ec); }
.rm-card__color--fes      { background: linear-gradient(135deg, #19c3fb, #7ee787 90%); }
.rm-card__color--halloween{ background: linear-gradient(135deg, #ff8c1a, #4a2a6a 90%); }
.rm-card__color--xmas     { background: linear-gradient(135deg, #1a7a4a, #c62828 90%); }
.rm-card__color--newyear  { background: linear-gradient(135deg, #fff8e1, #e6b422 85%); }
.rm-card__color--birthday { background: linear-gradient(135deg, #ffd6e8, #c3e7ff 55%, #fff3c4); }

/* ---- フッター（ダーク＝Smartmartヘッダー系の黒） ---- */
.rm-footer { background: var(--rm-navy); color: #c7d2da; padding: 44px 0 28px; margin-top: 24px; }
.rm-footer__grid { display: grid; gap: 26px; grid-template-columns: 1fr; margin-bottom: 26px; }
@media (min-width: 720px) { .rm-footer__grid { grid-template-columns: repeat(3, 1fr); } }
.rm-footer__col {}
.rm-footer__heading { font-size: .95rem; color: #fff; margin: 0 0 12px; font-weight: 700; }
.rm-footer__list { list-style: none; margin: 0; padding: 0; }
.rm-footer__list li { margin-bottom: 8px; }
.rm-footer__link { color: #aebbc5; font-size: .9rem; }
.rm-footer__link:hover { color: #fff; }
.rm-footer__safety { color: #c7d2da; font-size: .88rem; }
.rm-footer__legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: .8rem; color: #93a1ac; }
.rm-footer__legal p { margin: 4px 0; }
.rm-footer__operator { color: #e3eaef; font-weight: 700; }
.rm-footer__trademark { font-size: .78rem; }
.rm-footer__copyright { margin-top: 10px; }

/* ---- ユーティリティ ---- */
.rm-center { text-align: center; }
.rm-mt-0 { margin-top: 0; }
.rm-mt-1 { margin-top: 8px; }
.rm-mt-2 { margin-top: 16px; }
.rm-mt-3 { margin-top: 24px; }
.rm-mt-10 { margin-top: 10px; }
.rm-mb-2 { margin-bottom: 16px; }
.rm-lead { font-size: 1.05rem; color: var(--rm-ink-soft); }
.rm-muted { color: var(--rm-ink-soft); }
.rm-link-plain { color: inherit; }
.rm-list { padding-left: 22px; margin: 0 0 16px; }
.rm-list--tight li { margin-bottom: 4px; }
.rm-list-plain { list-style: none; padding: 0; margin: 0; }
.rm-list-indent { margin: 10px 0 0; padding-left: 20px; }
.rm-prose p { margin: 0 0 16px; }
.rm-prose h2 { font-size: 1.38rem; margin: 32px 0 12px; }
.rm-prose h3 { font-size: 1.12rem; margin: 24px 0 10px; }
.rm-prose ul, .rm-prose ol { padding-left: 22px; margin: 0 0 16px; }
.rm-prose li { margin-bottom: 6px; }
.rm-br-sp { display: inline; }
@media (min-width: 640px) { .rm-br-sp { display: none; } }
.rm-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ダークヒーロー上の navy ボタンは沈むためブルーに引き上げ */
.rm-hero .rm-btn--navy { background: var(--rm-blue); }
.rm-hero .rm-btn--navy:hover { background: var(--rm-blue-dark); }

/* flexカード内のタグ・バッジが全幅に伸びるのを防ぐ */
.rm-card .rm-tag, .rm-card .rm-badge { align-self: flex-start; }
.rm-card__tags { display: block; }
