/*
 * ラジコンショップはっぴ〜 独自テーマ
 * 公式の style.css の後に読み込み、色・フォント・共通部分・トップページを上書きする。
 * 色・フォントは下の CSS 変数だけで変更できる。
 */
:root {
  /* ブランドカラー */
  --rc-blue: #1259B8;        /* メイン青 */
  --rc-blue-dark: #0B3F85;   /* 濃い青 */
  --rc-sky: #BFE6FA;         /* 水色 */
  --rc-sky-logo: #7FD0F5;    /* ロゴ用の水色 */
  --rc-sky-pale: #EAF6FD;    /* 薄い水色(背景) */
  --rc-yellow: #FFD84D;      /* アクセントの黄 */
  /* 文字・線 */
  --rc-text: #1B2B3A;
  --rc-text-sub: #33475B;
  --rc-muted: #4A5D70;
  --rc-border: #DCE8F2;
  --rc-surface: #F1F7FC;
  --rc-white: #ffffff;
  /* 状態タグの色 */
  --rc-tag-used-bg: #E3F0FC;   --rc-tag-used-fg: #0B3F85;
  --rc-tag-unflown-bg: #E2F6EC; --rc-tag-unflown-fg: #1C5E3A;
  --rc-tag-new-bg: #FDE8E4;    --rc-tag-new-fg: #8A2E1A;
  --rc-tag-other-bg: #EDEFF2;  --rc-tag-other-fg: #33475B;
  --rc-quote-bg: #FFF4CC;      --rc-quote-fg: #6B4E00;
  /* フォント */
  --rc-font-heading: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
  --rc-font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  /* 寸法 */
  --rc-max: 1200px;
  --rc-radius: 16px;
}

/* ---------- ベース(下層ページの公式スタイルも色・フォントを合わせる) ---------- */
body { font-family: var(--rc-font-body); color: var(--rc-text); line-height: 1.6; }
a { color: var(--rc-blue); }
a:hover { color: var(--rc-blue-dark); }
.ec-pageHeader h1, .ec-secHeading__ja, .ec-reportHeading h2 { font-family: var(--rc-font-heading); }
.ec-blockBtn--action, .ec-inlineBtn--action {
  background-color: var(--rc-blue); border-color: var(--rc-blue); color: var(--rc-white);
}
.ec-blockBtn--action:hover, .ec-inlineBtn--action:hover { background-color: var(--rc-blue-dark); border-color: var(--rc-blue-dark); }
.ec-price .ec-price__price, .ec-price__price { color: var(--rc-blue); }
.ec-layoutRole__contents { max-width: var(--rc-max); }

.rc-container { max-width: var(--rc-max); margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.rc-visually-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rc-placeholder { background: var(--rc-surface); color: var(--rc-muted); display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; box-sizing: border-box; font-size: 14px; }

/* ---------- 上部バー ---------- */
.rc-topbar { background: var(--rc-sky); color: var(--rc-blue-dark); font-size: 13px; font-weight: 500; }
.rc-topbar .rc-container { padding-top: 6px; padding-bottom: 6px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }

/* ---------- ヘッダー ---------- */
.rc-header { background: var(--rc-white); border-bottom: 1px solid var(--rc-border); }
.rc-header__inner { max-width: var(--rc-max); margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; gap: 16px 24px; box-sizing: border-box; }
.rc-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--rc-blue); flex: none; }
.rc-logo:hover { color: var(--rc-blue-dark); }
.rc-logo img { display: block; width: 187px; height: 54px; }
.rc-search { flex: 1 1 280px; display: flex; min-width: 0; }
.rc-search input[type=search] { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 2px solid var(--rc-blue); border-right: 0; border-radius: 22px 0 0 22px; font-size: 15px; font-family: inherit; background: var(--rc-white); box-sizing: border-box; }
.rc-search button { height: 44px; width: 56px; border: 0; border-radius: 0 22px 22px 0; background: var(--rc-blue); color: var(--rc-white); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.rc-search button:hover { background: var(--rc-blue-dark); }
.rc-tel { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--rc-blue); padding: 4px 8px; min-height: 44px; flex: none; }
.rc-tel__text { display: flex; flex-direction: column; line-height: 1.2; }
.rc-tel__label { font-size: 11px; color: var(--rc-muted); }
.rc-tel__number { font-family: var(--rc-font-heading); font-size: 22px; font-weight: 800; }
.rc-icons { display: flex; align-items: center; gap: 8px; flex: none; }
.rc-iconlink { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 56px; min-height: 52px; text-decoration: none; color: var(--rc-text); font-size: 11px; gap: 2px; background: none; border: 0; cursor: pointer; font-family: inherit; }
.rc-iconlink:hover { color: var(--rc-blue); }
.rc-badge { position: absolute; top: 2px; right: 8px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--rc-blue); color: var(--rc-white); font-size: 11px; line-height: 18px; text-align: center; box-sizing: border-box; }
.rc-burger, .rc-sp-only { display: none; }

/* ---------- カテゴリメニュー(PC) ---------- */
.rc-nav { background: var(--rc-blue); }
/* position: relative は「すべてのカテゴリ」の一覧の**位置の基準**。
   ボタン(li)ではなく**この帯**を基準にすることで、ボタンが右寄りでも一覧が画面外に出ない(2026-11-01) */
.rc-nav__list { max-width: var(--rc-max); margin: 0 auto; padding: 0 12px; list-style: none; display: flex; flex-wrap: wrap; box-sizing: border-box; position: relative; }
.rc-nav__list > li { position: relative; }
.rc-nav__list a { color: var(--rc-white); text-decoration: none; font-weight: 700; font-size: 15px; padding: 12px 14px; min-height: 44px; box-sizing: border-box; display: flex; align-items: center; }
.rc-nav__list a:hover { background: var(--rc-blue-dark); color: var(--rc-white); }
.rc-nav__sub { display: none; position: absolute; left: 0; top: 100%; z-index: 20; min-width: 200px; margin: 0; padding: 6px 0; list-style: none; background: var(--rc-white); border: 1px solid var(--rc-border); border-radius: 0 0 12px 12px; box-shadow: 0 8px 20px rgba(11, 63, 133, .15); }
.rc-nav__list > li:hover > .rc-nav__sub, .rc-nav__list > li:focus-within > .rc-nav__sub { display: block; }
.rc-nav__sub a { color: var(--rc-text); font-weight: 500; font-size: 14px; padding: 8px 16px; }
.rc-nav__sub a:hover { background: var(--rc-sky-pale); color: var(--rc-blue); }
/* 「すべてのカテゴリ ▼」(RC_HAPPY_NAV_STYLE=collapsible のときだけ出る。JavaScript なしの details/summary) */
/* ボタンの li は基準にしない(static)。一覧は上の .rc-nav__list を基準に広がる。
   `.rc-nav__list > li { position: relative }` より**詳しい指定**にしないと負けるため、
   `.rc-nav__list > li.rc-nav__more` と書く(2026-11-01) */
.rc-nav__list > li.rc-nav__more { position: static; }
.rc-nav__more > details { position: static; }
.rc-nav__more summary { color: var(--rc-white); font-weight: 700; font-size: 15px; padding: 12px 14px; min-height: 44px; box-sizing: border-box; display: flex; align-items: center; cursor: pointer; list-style: none; }
.rc-nav__more summary::-webkit-details-marker { display: none; }
.rc-nav__more summary::after { content: "▼"; font-size: 10px; margin-left: 6px; }
.rc-nav__more summary:hover { background: var(--rc-blue-dark); }
.rc-nav__more details[open] summary::after { content: "▲"; }
/* 開く欄は**メニューの帯(本文の最大幅)いっぱい**に広げる(メガメニューの形)。
   ボタンを基準にすると、ボタンが2行目の左端のとき(2026-10-31)も、
   1行に収まって右寄りのとき(2026-11-01)も**画面の外へはみ出した**ため、
   基準を帯(.rc-nav__list)に変えた。列の数は幅に合わせて自然に変わる(auto-fit)。 */
.rc-nav__all { position: absolute; left: 12px; right: 12px; width: auto; max-width: none; top: 100%; z-index: 20; margin: 0; padding: 10px 0; list-style: none; background: var(--rc-white); border: 1px solid var(--rc-border); border-radius: 0 0 12px 12px; box-shadow: 0 8px 20px rgba(11, 63, 133, .15); display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.rc-nav__all a { color: var(--rc-text); font-weight: 500; font-size: 14px; padding: 8px 16px; }
.rc-nav__all a:hover { background: var(--rc-sky-pale); color: var(--rc-blue); }

/* ---------- ドロワー(スマホのメニュー) ---------- */
.rc-drawer { display: none; }

/* ---------- セクション共通 ---------- */
.rc-section { padding: 28px 0; }
.rc-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.rc-section__title { margin: 0; font-family: var(--rc-font-heading); font-size: 28px; font-weight: 800; color: var(--rc-text); }
.rc-more { font-weight: 700; }

/* ---------- メインビジュアル ---------- */
.rc-hero { background: linear-gradient(180deg, var(--rc-sky-pale) 0%, var(--rc-white) 100%); padding: 28px 0 12px; }
.rc-hero__card { min-height: 380px; border-radius: 20px; overflow: hidden; position: relative; background: var(--rc-blue); color: var(--rc-white); display: flex; flex-wrap: wrap; }
.rc-hero__body { flex: 1 1 320px; padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; gap: 16px; box-sizing: border-box; }
.rc-hero__badge { align-self: flex-start; background: var(--rc-yellow); color: var(--rc-text); font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.rc-hero__title { margin: 0; font-family: var(--rc-font-heading); font-size: 40px; font-weight: 800; line-height: 1.3; }
.rc-hero__lead { margin: 0; font-size: 16px; color: #E3F2FD; }
.rc-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.rc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; box-sizing: border-box; border: 2px solid transparent; }
.rc-btn--white { background: var(--rc-white); color: var(--rc-blue); }
.rc-btn--white:hover { color: var(--rc-blue-dark); }
.rc-btn--outline { border-color: var(--rc-white); color: var(--rc-white); }
.rc-btn--outline:hover { background: rgba(255, 255, 255, .15); color: var(--rc-white); }
.rc-hero__photo { flex: 1 1 320px; min-height: 260px; background: var(--rc-sky); color: var(--rc-blue-dark); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; box-sizing: border-box; }
.rc-hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-hero__dots { position: absolute; left: 36px; bottom: 16px; display: flex; gap: 8px; }
.rc-hero__dots span { width: 8px; height: 6px; border-radius: 3px; background: #9CC6EE; }
.rc-hero__dots span:first-child { width: 24px; background: var(--rc-white); }

/* ---------- お知らせ ---------- */
.rc-news { border: 2px solid var(--rc-border); border-radius: var(--rc-radius); padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 8px 32px; }
.rc-news__title { margin: 0; font-family: var(--rc-font-heading); font-size: 20px; color: var(--rc-blue); flex: 0 0 140px; }
.rc-news__list { list-style: none; margin: 0; padding: 0; flex: 1 1 400px; display: flex; flex-direction: column; gap: 8px; }
.rc-news__item { font-size: 15px; border-bottom: 1px dashed var(--rc-border); padding-bottom: 8px; }
.rc-news__row { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.rc-news__date { color: var(--rc-muted); font-variant-numeric: tabular-nums; }
.rc-news__item details > summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.rc-news__item details > summary::-webkit-details-marker { display: none; }
.rc-news__item details > summary span.rc-news__text { color: var(--rc-blue); text-decoration: underline; }
.rc-news__desc { margin: 8px 0 0; color: var(--rc-text-sub); font-size: 14px; }

/* ---------- 商品カード ---------- */
.rc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.rc-card { text-decoration: none; color: var(--rc-text); border: 1px solid var(--rc-border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; background: var(--rc-white); transition: box-shadow .15s; }
.rc-card:hover { box-shadow: 0 6px 18px rgba(18, 89, 184, .15); color: var(--rc-text); }
.rc-card__image { aspect-ratio: 4 / 3; background: var(--rc-surface); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rc-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-card__body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.rc-card__tags { display: flex; gap: 6px; flex-wrap: wrap; min-height: 22px; }
.rc-tag { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--rc-tag-other-bg); color: var(--rc-tag-other-fg); }
.rc-tag--used { background: var(--rc-tag-used-bg); color: var(--rc-tag-used-fg); }
.rc-tag--unflown { background: var(--rc-tag-unflown-bg); color: var(--rc-tag-unflown-fg); }
.rc-tag--new { background: var(--rc-tag-new-bg); color: var(--rc-tag-new-fg); }
.rc-tag--quote { background: var(--rc-quote-bg); color: var(--rc-quote-fg); }
.rc-tag--soldout { background: #5b6672; color: var(--rc-white); }
.rc-card__name { font-size: 15px; font-weight: 500; line-height: 1.45; }
.rc-card__price { font-family: var(--rc-font-heading); font-size: 20px; font-weight: 800; color: var(--rc-blue); }
.rc-card__price small { font-family: var(--rc-font-body); font-size: 12px; font-weight: 500; color: var(--rc-muted); }

/* ---------- カテゴリ ---------- */
.rc-catgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rc-catgrid a { text-decoration: none; color: var(--rc-text); background: var(--rc-sky-pale); border-radius: var(--rc-radius); padding: 20px 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-weight: 700; font-size: 15px; min-height: 120px; box-sizing: border-box; }
.rc-catgrid a:hover { background: var(--rc-sky); color: var(--rc-blue-dark); }
.rc-catgrid__mark { width: 64px; height: 64px; border-radius: 50%; background: var(--rc-white); color: var(--rc-blue); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rc-catgrid__mark svg { width: 36px; height: 36px; }
.rc-catgrid__mark img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- 買取バナー ---------- */
.rc-kaitori { background: var(--rc-blue); color: var(--rc-white); border-radius: 20px; padding: 36px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.rc-kaitori__body { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
.rc-kaitori__label { font-weight: 700; color: var(--rc-sky); font-size: 14px; }
.rc-kaitori__title { margin: 0; font-family: var(--rc-font-heading); font-size: 30px; line-height: 1.35; }
.rc-kaitori__text { margin: 0; color: #E3F2FD; }
.rc-kaitori__actions { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.rc-kaitori__tel { background: var(--rc-white); color: var(--rc-blue); text-decoration: none; border-radius: 14px; padding: 14px 20px; display: flex; flex-direction: column; align-items: center; min-height: 44px; }
.rc-kaitori__tel:hover { color: var(--rc-blue-dark); }
.rc-kaitori__tel span:first-child { font-size: 13px; font-weight: 700; }
.rc-kaitori__tel span:last-child { font-family: var(--rc-font-heading); font-size: 26px; font-weight: 800; }
.rc-kaitori__form { background: var(--rc-yellow); color: var(--rc-text); text-decoration: none; border-radius: 14px; padding: 14px 20px; text-align: center; font-weight: 700; font-size: 17px; min-height: 44px; box-sizing: border-box; }
.rc-kaitori__form:hover { color: var(--rc-text); filter: brightness(.96); }

/* ---------- 店舗紹介 ---------- */
.rc-shop { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.rc-shop__info { display: flex; flex-direction: column; gap: 14px; }
/* 写真の高さは下の max-height に合わせる(枠だけが高くなって余白ができないように) */
.rc-shop__photo { aspect-ratio: 16 / 10; max-height: 300px; border-radius: var(--rc-radius); }
.rc-shop__text { margin: 0; }
.rc-shop__dl { margin: 0; display: grid; grid-template-columns: 96px 1fr; gap: 6px 12px; font-size: 15px; }
.rc-shop__dl dt { font-weight: 700; color: var(--rc-blue); }
.rc-shop__dl dd { margin: 0; }
.rc-shop__map { min-height: 320px; border-radius: var(--rc-radius); background: #DCEFFA; color: var(--rc-blue-dark); font-weight: 700; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; overflow: hidden; }
.rc-shop__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- ご利用案内 ---------- */
.rc-guide { background: var(--rc-sky-pale); }
.rc-guide__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; padding: 32px 0; }
.rc-guide__card { background: var(--rc-white); border-radius: var(--rc-radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.rc-guide__card h3 { margin: 0; font-family: var(--rc-font-heading); font-size: 18px; color: var(--rc-blue); }
.rc-guide__card p { margin: 0; font-size: 14px; color: var(--rc-text-sub); }

/* ---------- フッター ---------- */
.rc-footer { background: var(--rc-blue-dark); color: #DCEBFA; }
.rc-footer a { color: #DCEBFA; }
.rc-footer a:hover { color: var(--rc-white); }
.rc-footer__inner { max-width: var(--rc-max); margin: 0 auto; padding: 36px 20px 20px; display: flex; flex-wrap: wrap; gap: 24px 48px; box-sizing: border-box; }
.rc-footer__shop { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.rc-footer__name { font-family: var(--rc-font-heading); font-size: 22px; font-weight: 800; color: var(--rc-white); }
.rc-footer__links { flex: 1 1 400px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: 8px 16px; font-size: 14px; align-content: start; }
.rc-footer__copy { text-align: center; font-size: 12px; padding: 12px; border-top: 1px solid #2A5A9C; }
.rc-kobutsu { margin-top: 8px; font-size: 13px; }
.rc-kobutsu__title { font-weight: 700; color: var(--rc-white); }
.rc-kobutsu dl { margin: 4px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; }
.rc-kobutsu dt { white-space: nowrap; }
.rc-kobutsu dd { margin: 0; }

/* ---------- スマホ ---------- */
@media (max-width: 767px) {
  .rc-section__title { font-size: 22px; }
  .rc-topbar .rc-container { font-size: 12px; }
  .rc-header__inner { flex-wrap: wrap; padding: 10px 16px; gap: 8px 12px; }
  .rc-logo img { width: 147px; height: 42px; }
  .rc-header__inner .rc-logo { flex: 1 1 auto; }
  .rc-search { order: 5; flex: 1 1 100%; }
  .rc-tel { display: none; }
  .rc-icons { gap: 0; }
  .rc-iconlink { min-width: 48px; }
  .rc-iconlink--login-text { display: none; }
  .rc-burger, .rc-sp-only { display: flex; }
  .rc-nav { display: none; }
  /* ドロワー */
  .rc-drawer { display: block; position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 340px); background: var(--rc-white); z-index: 1000; transform: translateX(100%); transition: transform .25s; overflow-y: auto; padding: 16px 16px 32px; box-sizing: border-box; visibility: hidden; transition: transform .25s, visibility 0s .25s; }
  body.rc-menu-open .rc-drawer { transform: none; visibility: visible; box-shadow: -8px 0 24px rgba(11, 63, 133, .25); transition: transform .25s; }
  .rc-overlay { display: none; position: fixed; inset: 0; background: rgba(11, 63, 133, .45); z-index: 999; }
  body.rc-menu-open .rc-overlay { display: block; }
  body.rc-menu-open { overflow: hidden; }
  .rc-drawer__close { display: flex; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; font-size: 28px; color: var(--rc-blue); cursor: pointer; }
  .rc-drawer__tel { display: flex; flex-direction: column; align-items: center; background: var(--rc-blue); color: var(--rc-white); text-decoration: none; border-radius: 14px; padding: 12px; margin: 8px 0 16px; min-height: 44px; }
  .rc-drawer__tel:hover { color: var(--rc-white); }
  .rc-drawer__tel span:first-child { font-size: 12px; }
  .rc-drawer__tel span:last-child { font-family: var(--rc-font-heading); font-size: 24px; font-weight: 800; }
  .rc-drawer__list { list-style: none; margin: 0 0 16px; padding: 0; }
  .rc-drawer__list li { border-bottom: 1px solid var(--rc-border); }
  .rc-drawer__list a { display: flex; align-items: center; min-height: 48px; text-decoration: none; color: var(--rc-text); font-weight: 700; }
  .rc-drawer__list ul { list-style: none; margin: 0 0 8px; padding: 0 0 0 16px; }
  .rc-drawer__list ul a { font-weight: 500; font-size: 14px; min-height: 40px; }
  .rc-drawer__heading { margin: 16px 0 4px; font-size: 12px; font-weight: 700; color: var(--rc-muted); }
  /* 電話ボタン(画面下に固定) */
  .rc-callbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 900; background: var(--rc-yellow); color: var(--rc-text); text-decoration: none; border-radius: 999px; min-height: 48px; align-items: center; justify-content: center; gap: 8px; font-weight: 800; box-shadow: 0 6px 16px rgba(11, 63, 133, .3); }
  .rc-callbar:hover { color: var(--rc-text); }
  .rc-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .ec-blockTopBtn { bottom: 150px; }
  /* トップ */
  .rc-hero { padding-top: 16px; padding-bottom: 4px; }
  .rc-hero__card { min-height: 0; }
  .rc-hero__body { flex: 1 1 100%; padding: 24px 20px 36px; gap: 12px; }
  .rc-hero__title { font-size: 26px; }
  .rc-hero__lead { font-size: 14px; }
  .rc-hero__photo { flex: 0 0 auto; width: 100%; min-height: 0; height: 150px; font-size: 13px; }
  /* スマホでは写真が下に回り込み、飾りの点が写真に重なってしまうため隠す(飾りのみ・読み上げ対象外) */
  .rc-hero__dots { display: none; }
  .rc-news { padding: 16px; }
  .rc-news__title { flex-basis: 100%; }
  .rc-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .rc-card__price { font-size: 17px; }
  .rc-catgrid { grid-template-columns: repeat(2, 1fr); }
  .rc-catgrid a { min-height: 108px; padding: 16px 8px; }
  .rc-kaitori { padding: 24px 20px; }
  .rc-kaitori__title { font-size: 22px; }
  .rc-footer__inner { padding-top: 28px; }
}

/* 小さい iPhone(320px など)。文字を少しだけ小さくして、
   見出し・住所・営業時間が言葉の途中で折り返さないようにする(.rc-nobr と合わせて) */
@media (max-width: 360px) {
    .rc-kaitori__title { font-size: 19px; }
    .rc-shop__dl { grid-template-columns: 76px 1fr; font-size: 14px; }
    /* カテゴリ名(「サーボ・ジャイロ」など)が1行に収まる大きさにする */
    .rc-catgrid a { font-size: 13px; padding: 14px 6px; }
}

/* ---------- 商品一覧(独自版) ---------- */
.rc-listhead { padding: 8px 0 4px; }
.rc-breadcrumb ol { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; font-size: 13px; color: var(--rc-muted); }
.rc-breadcrumb li + li::before { content: "›"; margin: 0 8px; color: var(--rc-muted); }
.rc-breadcrumb a { color: var(--rc-blue); text-decoration: none; }
.rc-breadcrumb a:hover { text-decoration: underline; }
.rc-listhead__title { margin: 0 0 12px; font-family: var(--rc-font-heading); font-size: 28px; font-weight: 800; color: var(--rc-text); }
.rc-cards--list { grid-template-columns: repeat(4, 1fr); margin: 8px 0 24px; }
.rc-card--soldout .rc-card__image img { opacity: .45; }
.rc-card--soldout .rc-card__price { color: var(--rc-muted); }
@media (max-width: 1023px) { .rc-cards--list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .rc-cards--list { grid-template-columns: repeat(2, 1fr); } .rc-listhead__title { font-size: 22px; } }

/* ---------- 大型商品(送料別途お見積り)の案内 ---------- */
.rc-notice { background: var(--rc-quote-bg); color: var(--rc-quote-fg); border-radius: 12px; padding: 12px 16px; margin: 12px 0; font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.rc-notice strong { font-size: 15px; }
.rc-notice--page { max-width: 960px; margin: 16px auto; }
/* 注文完了の画面(ご注文ありがとうございました)の欄を、パソコンでは少し広げる(2026-11-02 店舗要望)。
   公式の幅(左右の余白 25%)だと、説明文が4行になり、最後の「す。」だけが4行目に落ちていた。
   文言は変えず、幅で3行に収める(長い2文目が2行に収まる幅)。お振込先の枠も同じ幅になる。スマホは今のまま */
@media (min-width: 768px) {
  .ec-cartCompleteRole .ec-off3Grid .ec-off3Grid__cell { margin-left: auto; margin-right: auto; width: 100%; max-width: 760px; }
}
.rc-notice__small { margin: 8px 0 0; font-size: 13px; color: var(--rc-quote-fg); }
.rc-cartlabel { margin: 20px 0 8px; padding: 8px 14px; border-left: 6px solid var(--rc-blue); background: var(--rc-sky-pale); font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rc-cartlabel--large { border-left-color: #E0A800; background: #FFFBEA; }
.rc-cartlabel__no { font-family: var(--rc-font-heading); color: var(--rc-blue); }
.rc-detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }

/* ---------- カート(1つのカートを1ブロックに) ---------- */
.rc-cartblock { width: 100%; display: flex; flex-wrap: wrap; justify-content: flex-end; margin-bottom: 24px; }
.rc-cartblock > .rc-cartlabel { width: 100%; box-sizing: border-box; }
.rc-cartblock > .rc-notice--inblock { width: 100%; box-sizing: border-box; margin: 4px 0 8px; }
@media (min-width: 768px) {
  .rc-cartblock > .rc-cartlabel, .rc-cartblock > .rc-notice--inblock { width: 80%; margin-left: 10%; margin-right: 10%; }
  .rc-cartblock > .rc-cartlabel { margin-top: 28px; }
}
.rc-notice--info { background: var(--rc-sky-pale); color: var(--rc-blue-dark); }

/* ---------- 公式の部品を青系の配色に ---------- */
.ec-progress .is-complete .ec-progress__number, .ec-progress__item.is-complete .ec-progress__number { background: var(--rc-blue); }
.ec-progress .is-complete .ec-progress__label, .ec-progress__item.is-complete .ec-progress__label { color: var(--rc-blue); }
/* ボタン用クラス([class*="Btn"])には当てない。当てると、ボタンの文字がリンク色になって読めなくなる */
.ec-zipLink a:not([class*="Btn"]), .ec-registerRole a:not([class*="Btn"]) { color: var(--rc-blue); }

/* ---------- 下層ページの余白・位置そろえ ---------- */
body:not(.front_page) .ec-layoutRole__contents { margin-top: 24px; }
.rc-listhead, .rc-cards--list { margin-left: 30px; margin-right: 30px; }
.ec-productRole a:not([class*="Btn"]), .ec-productRole__category a:not([class*="Btn"]) { color: var(--rc-blue); }
@media (max-width: 767px) {
  body:not(.front_page) .ec-layoutRole__contents { margin-top: 12px; }
  .rc-listhead, .rc-cards--list { margin-left: 20px; margin-right: 20px; }
}

/* ---------- お問い合わせフォーム ---------- */
/* 迷惑メッセージ対策の「人には見えない欄」(画面の外に置く。display:none だと見抜かれやすいため) */
.rc-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.rc-help { margin: 8px 0 0; font-size: 13px; color: var(--rc-muted); }
.rc-notice--error { background: #FDE8E4; color: #8A2E1A; max-width: 960px; margin: 12px auto; }
.rc-notice--error .ec-errorMessage, .rc-notice--error ul, .rc-notice--error li { color: inherit; margin: 0; list-style: none; padding: 0; }

/* ---------- 固定ページ(買取・アクセス・ご利用ガイド・修理・初心者・飛行場・プライバシーポリシー) ---------- */
.rc-page { max-width: 960px; margin: 0 auto; padding: 8px 20px 0; box-sizing: border-box; } /* 下の余白は .ec-layoutRole__contents で共通に確保 */
.rc-page__title { margin: 0 0 16px; font-family: var(--rc-font-heading); font-size: 30px; font-weight: 800; color: var(--rc-text); }
.rc-page .rc-breadcrumb { margin-top: 4px; }
.rc-lead { font-size: 17px; line-height: 1.8; margin: 0 0 20px; }
.rc-h2 { margin: 40px 0 14px; padding: 8px 14px; border-left: 6px solid var(--rc-blue); background: var(--rc-sky-pale); font-family: var(--rc-font-heading); font-size: 22px; font-weight: 800; color: var(--rc-text); }
.rc-h3 { margin: 22px 0 8px; font-family: var(--rc-font-heading); font-size: 18px; font-weight: 700; color: var(--rc-blue); }
.rc-page p { line-height: 1.85; margin: 0 0 14px; }
/* 日本語の折り返しを「文節」の区切りで行う(「査定後、」が「査定／後、」のように言葉の途中で割れないようにする)。
   Chrome・Edge だけが対応。**Safari(iPhone)・Firefox では効かない**ので、これだけに頼らず、
   目立つ箇所は下の .rc-nobr で囲む(2026-10-29 に WebKit で未対応を確認) */
.rc-page { word-break: auto-phrase; }

/* 【使い方】言葉の途中で折り返したくない語句を <span class="rc-nobr">…</span> で囲む。
   例: <span class="rc-nobr">お問い合わせください</span> / 金額・住所・営業時間など。
   - どのブラウザでも効く(white-space: nowrap と違い、**画面からはみ出さない**)。
   - 1行に入りきるときは折り返さず、**入りきらないときだけ中で折り返す**。
   - 長い文全体を囲まないこと(囲んでも中で折り返すため、効果がない)。短い語句だけに使う。 */
.rc-nobr { display: inline-block; }
.rc-note { font-size: 13px; color: var(--rc-muted); }
/* 店舗に確認中の部分(公開前に消す。bin/console rc-happy:check が検知する) */
.rc-tbc { background: #FFF1B8; color: #6B4E00; font-weight: 700; padding: 1px 6px; border-radius: 4px; }
.rc-cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 8px; }
.rc-card-box { border: 1px solid var(--rc-border); border-radius: var(--rc-radius); padding: 16px 18px; background: var(--rc-white); }
.rc-card-box h3 { margin: 0 0 8px; font-family: var(--rc-font-heading); font-size: 18px; color: var(--rc-blue); }
.rc-card-box p { margin: 0 0 8px; font-size: 15px; }
.rc-steps, .rc-list { margin: 0 0 16px; padding-left: 1.4em; line-height: 1.85; }
.rc-steps li, .rc-list li { margin-bottom: 8px; }
.rc-dl { display: grid; grid-template-columns: 9em 1fr; gap: 0; margin: 0 0 16px; border-top: 1px solid var(--rc-border); }
.rc-dl dt, .rc-dl dd { margin: 0; padding: 12px 8px; border-bottom: 1px solid var(--rc-border); line-height: 1.7; }
.rc-dl dt { font-weight: 700; color: var(--rc-blue); background: var(--rc-sky-pale); }
.rc-table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 15px; }
.rc-table th, .rc-table td { border: 1px solid var(--rc-border); padding: 10px 12px; text-align: left; vertical-align: top; }
.rc-table th { background: var(--rc-sky-pale); color: var(--rc-blue-dark); }
/* 大きさの区分など、途中で折り返したくない1列目を持つ表(スマホでも「200サイズ以上」などを1行で出す) */
.rc-table--size th:first-child, .rc-table--size td:first-child { white-space: nowrap; width: 1%; }
/* 梱包料の表。スマホで1列目が2〜3文字ずつ折り返さないように、最低限の幅を確保する */
.rc-table--packing th:first-child, .rc-table--packing td:first-child { min-width: 6.5em; }
.rc-table--packing th:nth-child(2), .rc-table--packing td:nth-child(2) { white-space: nowrap; width: 1%; }
/* 表の中では、文節での折り返し(auto-phrase)を使わない。
   文節が1つのまとまりとして扱われるぶん列の最小幅が広がり、**狭い画面で表が横にはみ出す**ため */
.rc-page table { word-break: normal; }
/* 狭い画面(iPhone)では、表の文字と余白を小さくして、横にはみ出さないようにする */
@media (max-width: 420px) {
    .rc-table { font-size: 13px; }
    .rc-table th, .rc-table td { padding: 8px 6px; }
    /* 「コンパクト」が1行に入る幅を確保する(狭いと語の途中で割れるため) */
    .rc-table--packing th:first-child, .rc-table--packing td:first-child { min-width: 7em; }
}
.rc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 8px; }
.rc-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; border-radius: var(--rc-radius); }
.rc-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 12px; }
/* 写真が2枚のとき(飛行場案内など)。3列のままだと右が空いてしまう */
.rc-photos--2 { grid-template-columns: repeat(2, 1fr); }
.rc-photo { position: relative; margin: 0; }
.rc-photo img { display: block; width: 100%; height: auto; border-radius: 12px; object-fit: cover; }
/* 写真の説明文。大きな写真でも並べた写真でも、同じ書式にそろえる */
.rc-photo figcaption { font-size: 13px; line-height: 1.6; color: var(--rc-muted); margin-top: 6px; }
/* 買取ページのバナー。**画像の中に文字がある**ので、切り取らずに全体を見せる(4:3)。
   以前は max-height: 260px で横長(2:1)にしていたが、写真が 4:3 になり、
   そのままだと上下の文字(「ラジコン高価買取」「使わなくなった機体・パーツ お売り下さい!!」)が切れるため変更。
   ※ このクラスを使っているのは買取ページだけ(2026-10-29 確認)。 */
.rc-photo--wide { margin: 0 0 8px; max-width: 520px; }
.rc-photo--wide img { aspect-ratio: 4 / 3; }
.rc-photo--small { max-width: 360px; margin: 8px 0; }
.rc-photo__tag { position: absolute; left: 8px; bottom: 8px; background: rgba(11, 63, 133, .85); color: var(--rc-white); font-size: 12px; padding: 2px 8px; border-radius: 6px; }
.rc-shop__photo.rc-photo img { height: 100%; max-height: 300px; }
.rc-callout { border-radius: 12px; padding: 14px 18px; margin: 0 0 16px; line-height: 1.8; }
.rc-callout--info { background: var(--rc-sky-pale); color: var(--rc-blue-dark); }
.rc-callout--warn { background: #FDE8E4; color: #8A2E1A; }
.rc-cta { margin: 36px 0 8px; padding: 22px 24px; border-radius: 18px; background: var(--rc-blue); color: var(--rc-white); display: flex; flex-direction: column; gap: 10px; }
.rc-cta > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.rc-cta strong { font-family: var(--rc-font-heading); font-size: 20px; }
.rc-cta .rc-note, .rc-cta a:not(.rc-btn) { color: #E3F2FD; }
.rc-cta__buttons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rc-cta__fax { color: var(--rc-white); font-weight: 700; }
.rc-btn--primary { background: var(--rc-white); color: var(--rc-blue); }
.rc-btn--primary:hover { color: var(--rc-blue-dark); }
.rc-btn--yellow { background: var(--rc-yellow); color: var(--rc-text); }
.rc-btn--yellow:hover { color: var(--rc-text); filter: brightness(.96); }
.rc-q { margin: 28px 0 8px; font-family: var(--rc-font-heading); font-size: 19px; color: var(--rc-blue); }
.rc-a { padding-left: 14px; border-left: 4px solid var(--rc-sky); }
.rc-toc { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.rc-toc a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--rc-sky-pale); text-decoration: none; font-weight: 700; font-size: 14px; }
.rc-bank { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.rc-bank li { background: var(--rc-sky-pale); border-radius: 12px; padding: 12px 16px; line-height: 1.8; }
.rc-kobutsu-box { margin-top: 28px; padding: 14px 18px; border: 1px solid var(--rc-border); border-radius: 12px; }
.rc-kobutsu-box .rc-kobutsu { margin: 0; color: var(--rc-text); }
.rc-kobutsu-box .rc-kobutsu__title { color: var(--rc-blue-dark); }
.rc-notice--warn { background: #FDE8E4; color: #8A2E1A; }
.rc-notice--info .rc-bank li { background: var(--rc-white); }
@media (max-width: 767px) {
  .rc-page { padding: 4px 16px 0; }
  .rc-page__title { font-size: 24px; }
  .rc-lead { font-size: 16px; }
  .rc-h2 { font-size: 19px; margin-top: 32px; }
  .rc-cols3, .rc-grid2, .rc-photos { grid-template-columns: 1fr; }
  .rc-dl { grid-template-columns: 1fr; }
  .rc-dl dt { border-bottom: 0; padding-bottom: 4px; }
  .rc-dl dd { padding-top: 6px; }
  .rc-cta { padding: 18px 16px; }
  .rc-cta__buttons .rc-btn { width: 100%; }
  .rc-cta__fax { width: 100%; text-align: center; }
}

.rc-nowrap { white-space: nowrap; }

/* ---------- 購入手続き・カート・マイページなど、公式の灰色の部品を青系にそろえる ---------- */
/* 見出し(ページ見出し・灰色の帯の見出し) */
.ec-pageHeader h1, .ec-rectHeading h2, .ec-reportHeading h2, .ec-headingTitle, .ec-heading-bold, .ec-secHeading__ja { color: var(--rc-text); }
.ec-pageHeader h1 { border-bottom: 2px solid var(--rc-sky); }
.ec-rectHeading h2 { background: var(--rc-sky-pale); border-left: 6px solid var(--rc-blue); font-family: var(--rc-font-heading); }
.ec-reportHeading h2 { font-family: var(--rc-font-heading); }
/* ボタン: 戻る・お買い物を続ける・トップページへ などの灰色のボタンは、青い枠のボタンに */
.ec-blockBtn--cancel, .ec-inlineBtn--cancel { background-color: var(--rc-white); border: 2px solid var(--rc-blue); color: var(--rc-blue); }
.ec-blockBtn--cancel:hover, .ec-blockBtn--cancel:focus, .ec-inlineBtn--cancel:hover, .ec-inlineBtn--cancel:focus { background-color: var(--rc-sky-pale); border-color: var(--rc-blue-dark); color: var(--rc-blue-dark); }
.ec-blockBtn--cancel:disabled, .ec-inlineBtn--cancel:disabled { background-color: var(--rc-surface); border-color: var(--rc-border); color: var(--rc-muted); }
.ec-blockBtn--primary, .ec-inlineBtn--primary { background-color: var(--rc-blue-dark); border-color: var(--rc-blue-dark); color: var(--rc-white); }
.ec-blockBtn--primary:hover, .ec-inlineBtn--primary:hover { background-color: var(--rc-blue); border-color: var(--rc-blue); color: var(--rc-white); }
.ec-inlineBtn, .ec-blockBtn { border-color: var(--rc-blue); color: var(--rc-blue); }
.ec-inlineBtn:hover, .ec-blockBtn:hover { background-color: var(--rc-sky-pale); color: var(--rc-blue-dark); }
/* 合計欄・ページ送り */
.ec-totalBox { background: var(--rc-sky-pale); }
.ec-pager .ec-pager__item--active, .ec-pager .ec-pager__item:hover { background: var(--rc-sky); }
/* ステップ表示(1 カート → 5 完了) */
.ec-progress .ec-progress__number { background: var(--rc-sky); color: var(--rc-blue-dark); }
.ec-progress .ec-progress__item:after { background: var(--rc-sky); }
.ec-progress .ec-progress__label { color: var(--rc-muted); }
.ec-progress .is-complete .ec-progress__number, .ec-progress__item.is-complete .ec-progress__number { background: var(--rc-blue); color: var(--rc-white); }
.ec-progress .is-complete .ec-progress__label, .ec-progress__item.is-complete .ec-progress__label { color: var(--rc-blue); }
/* 郵便番号の「?」アイコン・カートの削除ボタンの背景など */
.ec-zipInputHelp .ec-zipInputHelp__icon { background: var(--rc-blue); }
.ec-cartHeader { background: var(--rc-sky-pale); }
.ec-cartNaviIsset, .ec-cartNaviNull__message { background: var(--rc-white); }
/* ---------- ボタンの文字色(リンク色より後に、まとめて指定する) ----------
   「カートへ進む」のように、a 要素をボタンとして使っている箇所がある。
   `.ec-productRole a` のような子孫セレクタのリンク色は、クラス1つだけの指定(.ec-inlineBtn--action)より強いため、
   青い背景に青い文字になって読めなくなる不具合があった(2026-10-26 に修正)。
   そのため、a 要素を含む形でここに最後にまとめ、訪問済み・ホバー・フォーカス・押下中のすべての状態を指定する。
   ※ リンク色を新しく足すときは、必ず :not([class*="Btn"]) を付けて、ボタンに当たらないようにすること。 */
/* 塗りつぶしのボタン(カートに入れる・カートへ進む・次へ など): 白い文字 */
.ec-blockBtn--action, .ec-inlineBtn--action, .ec-blockBtn--primary, .ec-inlineBtn--primary,
a.ec-blockBtn--action, a.ec-inlineBtn--action, a.ec-blockBtn--primary, a.ec-inlineBtn--primary,
a.ec-blockBtn--action:link, a.ec-blockBtn--action:visited, a.ec-blockBtn--action:hover, a.ec-blockBtn--action:focus, a.ec-blockBtn--action:active,
a.ec-inlineBtn--action:link, a.ec-inlineBtn--action:visited, a.ec-inlineBtn--action:hover, a.ec-inlineBtn--action:focus, a.ec-inlineBtn--action:active,
a.ec-blockBtn--primary:link, a.ec-blockBtn--primary:visited, a.ec-blockBtn--primary:hover, a.ec-blockBtn--primary:focus, a.ec-blockBtn--primary:active,
a.ec-inlineBtn--primary:link, a.ec-inlineBtn--primary:visited, a.ec-inlineBtn--primary:hover, a.ec-inlineBtn--primary:focus, a.ec-inlineBtn--primary:active { color: var(--rc-white); }
/* 枠線のボタン(戻る・お買い物を続ける・トップページへ など): 青い文字 */
.ec-blockBtn--cancel, .ec-inlineBtn--cancel, a.ec-blockBtn--cancel, a.ec-inlineBtn--cancel,
a.ec-blockBtn--cancel:link, a.ec-blockBtn--cancel:visited, a.ec-inlineBtn--cancel:link, a.ec-inlineBtn--cancel:visited,
a.ec-blockBtn:link, a.ec-blockBtn:visited, a.ec-inlineBtn:link, a.ec-inlineBtn:visited { color: var(--rc-blue); }
a.ec-blockBtn--cancel:hover, a.ec-blockBtn--cancel:focus, a.ec-blockBtn--cancel:active,
a.ec-inlineBtn--cancel:hover, a.ec-inlineBtn--cancel:focus, a.ec-inlineBtn--cancel:active,
.ec-blockBtn--cancel:hover, .ec-blockBtn--cancel:focus, .ec-inlineBtn--cancel:hover, .ec-inlineBtn--cancel:focus,
a.ec-blockBtn:hover, a.ec-blockBtn:focus, a.ec-inlineBtn:hover, a.ec-inlineBtn:focus { color: var(--rc-blue-dark); }

/* ---------- 本文とフッターの間の余白 ----------
   「次へ」「戻る」などのボタンでページが終わると、フッターと接して見えるため、
   ページごとではなく、ここで共通に余白を確保する(本文の最後の要素の下余白は打ち消す)。 */
.ec-layoutRole__contents { padding-bottom: 64px; }
.ec-layoutRole__main > :last-child,
.ec-layoutRole__mainWithColumn > :last-child,
.ec-layoutRole__mainBetweenColumn > :last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  .ec-layoutRole__contents { padding-bottom: 48px; }
}

/* 「ページトップへ」ボタン: 公式は薄い灰色に白文字(約2.6:1)で読みにくいため、テーマの青にする(約6.7:1) */
.ec-blockTopBtn { background-color: var(--rc-blue); color: var(--rc-white); opacity: 1; border-radius: 8px 8px 0 0; }
.ec-blockTopBtn:hover { background-color: var(--rc-blue-dark); color: var(--rc-white); }

/* ---------- エラー画面(404 / 429 / 403 / 500) ---------- */
.rc-error-page { background: var(--rc-white); }
.rc-error { padding: 40px 0 72px; text-align: center; }
.rc-error__code { margin: 0; font-family: var(--rc-font-heading); font-size: 96px; font-weight: 800; line-height: 1; color: var(--rc-sky); letter-spacing: .04em; }
.rc-error__title { margin: 8px 0 16px; font-family: var(--rc-font-heading); font-size: 28px; font-weight: 800; color: var(--rc-text); }
.rc-error__text { max-width: 640px; margin: 0 auto 24px; line-height: 1.9; text-align: left; }
.rc-error__search { max-width: 520px; margin: 0 auto 24px; }
.rc-error__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 24px; }
.rc-error__links { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; }
.rc-error__mail { font-size: 14px; color: var(--rc-muted); }
.rc-btn--primary-solid { background: var(--rc-blue); color: var(--rc-white); }
.rc-btn--primary-solid:hover { background: var(--rc-blue-dark); color: var(--rc-white); }
.rc-btn--outline-blue { border-color: var(--rc-blue); color: var(--rc-blue); background: var(--rc-white); }
.rc-btn--outline-blue:hover { background: var(--rc-sky-pale); color: var(--rc-blue-dark); }
.rc-error-page .rc-header__inner { justify-content: space-between; }
@media (max-width: 767px) {
  .rc-error { padding: 24px 0 56px; }
  .rc-error__code { font-size: 72px; }
  .rc-error__title { font-size: 22px; }
  .rc-error-page .rc-tel { display: flex; }
  .rc-error-page .rc-tel__label { display: none; }
  .rc-error__actions .rc-btn { width: 100%; }
  .rc-error-page .rc-footer { padding-bottom: 16px; }
}
.rc-error-page { min-height: 100vh; display: flex; flex-direction: column; }
.rc-error-page .rc-error { flex: 1; }

/* ---------- テスト版の帯(.env に RC_HAPPY_STAGING=1 のときだけ出る。本番では出ない) ---------- */
.rc-staging-bar { background: var(--rc-yellow); color: var(--rc-text); text-align: center; padding: 8px 16px; font-weight: 700; font-size: 14px; line-height: 1.5; }

/* ---------- 固定ページの大きな写真(1枚で見せる。ヘリコプター修理ページなど) ---------- */
.rc-photo--main { margin: 22px 0 10px; }
.rc-photo--main img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--rc-radius); }
/* 横長の写真。**ページの幅にそろえる**(下に並べた写真と左右の端がそろう)。
   object-position: top で、下側(道路など)を切り落として横長にする */
.rc-photo--banner { margin: 0 0 14px; }
.rc-photo--banner img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-radius: 12px; }
@media (max-width: 767px) {
  /* スマホは画面の幅いっぱい(ページの左右の余白 16px を打ち消す)。写真は縦を広めに見せる */
  .rc-photo--main { margin-left: -16px; margin-right: -16px; }
  .rc-photo--main img { aspect-ratio: 4 / 3; border-radius: 0; }
  .rc-photo--main figcaption { padding: 0 16px; }
  /* --banner はページの幅のまま(並べた写真と端をそろえるため、幅いっぱいにしない) */
}

/* 手順の中に置く小さな定義リスト(修理の送り先など) */
.rc-dl--inline { margin: 10px 0 0; background: var(--rc-sky-pale); border-radius: 12px; padding: 12px 16px; }
.rc-dl--inline dt { color: var(--rc-blue); font-weight: 700; }
.rc-dl--inline dd { margin: 4px 0 0; line-height: 1.8; }

/* 定義リストの中に入れる箇条書き(行間を詰める) */
.rc-list--tight { margin: 0; padding-left: 1.2em; }
.rc-list--tight li { margin: 2px 0; }

/* ---- 送料の一覧(/user_data/shipping)。地方ごとに折りたたむ表(2026-11-01) ---- */
.rc-fee { margin: 16px 0 24px; }
.rc-fee__region { border: 1px solid var(--rc-border); border-radius: 10px; margin-bottom: 10px; background: var(--rc-white); overflow: hidden; }
.rc-fee__region > summary { cursor: pointer; padding: 14px 16px; font-weight: 700; color: var(--rc-blue); list-style: none; display: flex; align-items: center; min-height: 48px; box-sizing: border-box; }
.rc-fee__region > summary::-webkit-details-marker { display: none; }
.rc-fee__region > summary::after { content: "▼"; font-size: 11px; margin-left: auto; color: var(--rc-blue); }
.rc-fee__region[open] > summary::after { content: "▲"; }
.rc-fee__region[open] > summary { border-bottom: 1px solid var(--rc-border); }
/* 列が多いので、入りきらないときは**この中だけ**横に動かす(ページ全体は横スクロールしない)。
   `max-width: 100%` と、折りたたみ側の `overflow: hidden` が無いと、
   中の表の min-width がページ全体を広げてしまう(スマホで右端が切れる。2026-11-01) */
.rc-fee__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.rc-fee__table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 14px; }
.rc-fee__table th, .rc-fee__table td { border: 1px solid var(--rc-border); padding: 8px 10px; text-align: right; white-space: nowrap; }
.rc-fee__table thead th { background: var(--rc-sky-pale); color: var(--rc-blue); text-align: center; font-size: 13px; white-space: normal; min-width: 92px; }
.rc-fee__table th[scope="row"] { text-align: left; white-space: normal; min-width: 150px; background: #fbfdff; font-weight: 500; }
.rc-fee__ng { color: var(--rc-text-weak, #50657d); font-size: 13px; }
@media (max-width: 767px) {
  .rc-fee__table { font-size: 13px; }
  .rc-fee__table th, .rc-fee__table td { padding: 6px 8px; }
}

/* ---------- カテゴリのページの小分類のボタン(2026-11-02 店舗回答で採用。Product/list.twig) ---------- */
.rc-subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.rc-subcats__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; box-sizing: border-box; border: 1px solid var(--rc-border); border-radius: 20px; background: var(--rc-white); color: var(--rc-text); font-size: 14px; font-weight: 700; text-decoration: none; }
.rc-subcats__btn:hover { border-color: var(--rc-blue); color: var(--rc-blue); text-decoration: none; }
.rc-subcats__btn.is-active { background: var(--rc-blue); border-color: var(--rc-blue); color: var(--rc-white); }
.rc-subcats__n { display: inline-block; min-width: 22px; padding: 0 6px; border-radius: 10px; background: var(--rc-sky-pale); color: var(--rc-blue-dark); font-size: 12px; line-height: 20px; text-align: center; box-sizing: border-box; }
.rc-subcats__btn.is-active .rc-subcats__n { background: var(--rc-white); }
@media (max-width: 767px) {
  .rc-subcats { gap: 6px; }
  .rc-subcats__btn { font-size: 13px; padding: 5px 12px; min-height: 38px; }
}
