/* RODEO Maintenance 2.0 — 文字の大きさ・行間・字間・色は RODEO Base の変数だけ。並び・写真・文面は前の版のまま */
.rdm{position:relative;padding-top:32px;color:var(--rodeo-c-text)}
.rdm *{box-sizing:border-box}
.rdm p{margin:0 0 .9em}
.rdm p,.rdm li,.rdm .rdm-warn{word-break:normal;text-wrap:wrap;text-align:justify;text-justify:inter-character}
.rdm a{color:var(--rodeo-c-orange-dark)}
/* はじめの説明：白地＋細い枠＋左のオレンジ線 */
.rdm .rdm-lead{border:1px solid var(--rodeo-c-border);border-left:4px solid var(--rodeo-c-orange);border-radius:6px;padding:14px 16px;margin:0 0 24px}
.rdm .rdm-lead p:last-child{margin:0}
/* 必ずお読みください（オレンジの帯）／ご確認ください（黒枠） */
.rdm .rdm-must{background:var(--rodeo-c-orange);color:var(--rodeo-c-white);padding:20px 22px;margin:0 0 24px;border-radius:6px}
.rdm .rdm-must .tag{display:inline-block;background:var(--rodeo-c-white);color:var(--rodeo-c-orange-dark);font-size:var(--rodeo-fs-note);line-height:var(--rodeo-lh-note);font-weight:700;padding:2px 10px;border-radius:4px;margin-bottom:8px}
.rdm .rdm-must h2{margin:0 0 10px;padding:0;border:none;background:none;color:var(--rodeo-c-white)}
.rdm .rdm-must h2::before,.rdm .rdm-must h2::after{display:none}
.rdm .rdm-must p{font-size:var(--rodeo-fs-h3);line-height:var(--rodeo-lh-body);font-weight:700;margin:0;color:var(--rodeo-c-white)}
.rdm .rdm-must.alt{background:transparent;color:var(--rodeo-c-text);border:2px solid var(--rodeo-c-text)}
.rdm .rdm-must.alt h2{color:var(--rodeo-c-text)}
.rdm .rdm-must.alt .tag{background:var(--rodeo-c-text);color:var(--rodeo-c-white)}
.rdm .rdm-must.alt p{color:var(--rodeo-c-text);font-size:var(--rodeo-fs-body);font-weight:500;margin:0 0 .6em}
.rdm .rdm-must.alt p:last-child{margin:0}
.rdm .rdm-must.alt p.strong{font-weight:700;color:var(--rodeo-c-orange-dark)}
.rdm .rdm-must.alt p b{font-weight:700}
/* 目次 */
.rdm .rdm-tocbox{border:1px solid var(--rodeo-c-border);border-radius:6px;padding:12px 16px;margin:0 0 28px}
.rdm .rdm-tocbox .ttl{font-size:var(--rodeo-fs-note);line-height:var(--rodeo-lh-note);color:var(--rodeo-c-text-sub);margin:0 0 6px!important;text-align:left}
.rdm ul.rdm-toc{display:flex;flex-wrap:wrap;gap:4px 24px;margin:0!important;padding:0!important;list-style:none}
.rdm ul.rdm-toc li{margin:0!important;padding:0;text-align:left}
.rdm .rdm-toc a{display:inline-block;padding:4px 0;color:var(--rodeo-c-orange-dark);text-decoration:underline;text-underline-offset:3px}
.rdm .rdm-toc a::before{content:"▼ ";font-size:var(--rodeo-fs-note)}
/* 見出し */
.rdm h2.rdm-h{margin:40px 0 14px;padding:0 0 8px;border-bottom:2px solid var(--rodeo-c-text);position:relative}
.rdm h2.rdm-h::after{content:"";position:absolute;left:0;bottom:-2px;width:80px;height:2px;background:var(--rodeo-c-orange)}
.rdm h3.rdm-s{margin:24px 0 8px;padding-left:10px;border-left:4px solid var(--rodeo-c-orange)}
/* ボタン（見た目は RODEO Base の .rodeo-btn） */
.rdm .rdm-btn{text-decoration:none;text-align:center}
/* 表 */
.rdm .rdm-tw{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 0 8px}
.rdm table.rdm-t{width:100%;min-width:640px;border-collapse:collapse;font-size:var(--rodeo-fs-body);line-height:var(--rodeo-lh-note)}
.rdm table.rdm-t.sm{min-width:0}
.rdm table.rdm-t th,.rdm table.rdm-t td{border:1px solid var(--rodeo-c-border);padding:8px 10px;vertical-align:top;text-align:left}
.rdm table.rdm-t thead th{background:var(--rodeo-c-text);color:var(--rodeo-c-white);font-weight:500;white-space:nowrap}
.rdm table.rdm-t tbody th{font-weight:700;white-space:nowrap}
.rdm table.rdm-t td strong{color:var(--rodeo-c-text)}
.rdm .rdm-note{font-size:var(--rodeo-fs-note);line-height:var(--rodeo-lh-note);color:var(--rodeo-c-text-sub)}
/* 注意・携行品：白地＋細い枠＋左のオレンジ線 */
.rdm .rdm-warn{border:1px solid var(--rodeo-c-border);border-left:4px solid var(--rodeo-c-orange);border-radius:6px;padding:12px 14px;margin:12px 0 24px}
.rdm .rdm-warn b{color:var(--rodeo-c-orange-dark)}
.rdm .rdm-warn .rdm-note{display:block;margin-top:4px}
/* 写真 */
.rdm ul.rdm-ul{margin:0 0 1em;padding-left:1.4em}
.rdm ul.rdm-ul li{margin:0 0 .3em}
.rdm .rdm-fig{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin:12px 0 18px}
.rdm figure{margin:0}
.rdm figure img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;display:block;border:1px solid var(--rodeo-c-border);border-radius:4px}
.rdm figure.fit img{object-fit:contain;background:var(--rodeo-c-text)}
.rdm figure.fit img.wh{background:var(--rodeo-c-white)}
.rdm .rdm-fig.one{grid-template-columns:1fr;max-width:720px;margin-left:auto;margin-right:auto}
.rdm .rdm-fig.one.s{max-width:420px}
.rdm .rdm-fig.four{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.rdm .rdm-fig.three{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.rdm .rdm-fig.one figure img{aspect-ratio:auto}
.rdm figcaption{font-size:var(--rodeo-fs-note);line-height:var(--rodeo-lh-note);color:var(--rodeo-c-text-sub);margin-top:4px}
.rdm .rdm-fig.plug{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));max-width:none}
.rdm .rdm-fig.plug img{aspect-ratio:5/4;object-fit:contain;background:var(--rodeo-c-white);max-width:100%}
/* お問い合わせ：白地＋細い枠 */
.rdm .rdm-cta{margin:40px 0 0;padding:18px 16px;border:1px solid var(--rodeo-c-border);border-radius:6px;text-align:center}
.rdm .rdm-cta p{margin:0 0 10px}
.rdm .rdm-cta .rdm-btn{margin:4px}
/* クレジット */
.rdm .rdm-credit{text-align:center;margin:36px 0 24px}
.rdm .rdm-credit img{display:block;width:89px;height:89px;margin:0 auto 8px}
.rdm .rdm-credit p{margin:0;text-align:center}
/* 取扱い資料（PDF） */
.rdm .rdm-dc{display:grid;gap:14px;margin:0 0 8px}
.rdm .rdm-dc .c{display:grid;grid-template-columns:140px 1fr;grid-template-areas:"th hd" "th bd";column-gap:18px;align-items:start;border:1px solid var(--rodeo-c-border);border-radius:8px;padding:16px}
.rdm .rdm-dc .th{grid-area:th;display:block;border:1px solid var(--rodeo-c-border);border-radius:4px;overflow:hidden}
.rdm .rdm-dc .th img{width:100%;height:auto;display:block}
.rdm .rdm-dc .hd{grid-area:hd;min-width:0}.rdm .rdm-dc .bd{grid-area:bd;min-width:0}
.rdm .rdm-dc .tt{word-break:keep-all;overflow-wrap:anywhere;font-weight:700;margin:0;text-align:left}
.rdm .rdm-dc .v{display:inline-block;margin-left:8px;padding:0 7px;font-size:var(--rodeo-fs-note);font-weight:500;line-height:var(--rodeo-lh-note);color:var(--rodeo-c-text-sub);border:1px solid var(--rodeo-c-border);border-radius:4px;vertical-align:middle}
.rdm .rdm-dc .d{font-size:var(--rodeo-fs-note);line-height:var(--rodeo-lh-note);color:var(--rodeo-c-text-sub);margin:0 0 8px;text-align:left}
.rdm .rdm-dc ul{list-style:none;margin:0 0 12px!important;padding:0;counter-reset:k}
.rdm .rdm-dc li{text-align:left;margin:0!important;position:relative;padding:6px 0 6px 32px;border-top:1px dashed var(--rodeo-c-border);counter-increment:k}
.rdm .rdm-dc li:first-child{border-top:none}
.rdm .rdm-dc li::before{content:counter(k);position:absolute;left:0;top:7px;width:22px;height:22px;border-radius:4px;background:var(--rodeo-c-orange);color:var(--rodeo-c-white);font-size:var(--rodeo-fs-note);display:flex;align-items:center;justify-content:center}
.rdm .rdm-dc li b{color:var(--rodeo-c-orange-dark)}
@media (max-width:600px){
.rdm .rdm-dc .c{grid-template-columns:72px 1fr;grid-template-areas:"th hd" "bd bd";column-gap:12px;padding:14px}
.rdm .rdm-dc .bd{margin-top:10px}
.rdm .rdm-dc .rdm-btn{display:flex}
.rdm .rdm-must{padding:16px}
}
