/* 自動で作ったファイル（rh/tools/build_ev3_sp.py）。手で直さない */
@container rh-sp (max-width: 600px) {
  html .rh-evlist__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html .rh-evrelated__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html .rh-desks { grid-template-columns: repeat(2, 1fr); }
  html .rh-others { flex-direction: column; align-items: flex-start; }
  html .rh-formlayout { grid-template-columns: 1fr; }
  html .rh-target { position: static; }
  html .rh-plist-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html .rh-evhead__title { font-size: 22px; }
  html .rh-evhead__meta div { grid-template-columns: 48px 1fr; }
  html .rh-evhead__meta dt { font-size: 12px; }
  html .rh-evhead__meta dd { font-size: 15px; }
  html .rh-evrelated { padding: 40px 0 56px; }
  html .rh-evrelated__head .rh-evsec__title { font-size: 20px; }
  html .rh-evprops .rh-plist-cards { grid-template-columns: 1fr; }
  html .rh-evbar__text { display: none; }
  html .rh-evbar { background: none; box-shadow: none; pointer-events: none; }
  html .rh-evbar.is-hidden { transform: translateY(calc(100% + 24px)); opacity: 0; }
  html .rh-evbar__inner { padding: 0 7px calc(7px + env(safe-area-inset-bottom)); }
  html .rh-evbar__btn { pointer-events: auto; width: 100%; min-width: 0; min-height: 48px; border-radius: 5px; box-shadow: 0 6px 16px rgba(0, 47, 99, .28), 0 1px 3px rgba(0, 47, 99, .2); }
  html .rh-evcontent { font-size: 14px; }
  html .rh-evtable > div { grid-template-columns: 72px 1fr; gap: 16px; }
  html .rh-evtable dt, html .rh-evtable dd { font-size: 13px; }
  html .rh-evguide__btn { justify-content: space-between; }
  html .rh-evlist { padding-top: 24px; padding-bottom: 64px; }
  html .rh-evfilter { gap: 16px; padding: 16px; }
  html .rh-evfilter__group { grid-template-columns: 1fr; gap: 8px; }
  html .rh-evfilter__label { font-size: 13px; }
  html .rh-evfilter__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  html .rh-evfilter__opt span { width: 100%; min-width: 0; min-height: 48px; padding: 4px 6px; font-size: 13px; word-break: keep-all; overflow-wrap: anywhere; }
  html .rh-evfilter__opt small { margin-left: 4px; }
  html .rh-evlist__head { margin-top: 28px; }
  html .rh-evlist__count b { font-size: 28px; }
  html .rh-evlist__count span { margin-left: 8px; }
  html .rh-evlist__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; margin-top: 12px; }
  html .rh-evlist__cards .rh-evitem__body { padding-top: 10px; }
  html .rh-evlist__cards .rh-evitem__tags { gap: 4px; margin-top: 0; }
  html .rh-evlist__cards .rh-evitem__tags span { padding: 1px 6px; font-size: 11px; }
  html .rh-evlist__cards .rh-evitem__title { margin-top: 6px; font-size: 14px; line-height: 1.5; -webkit-line-clamp: 3; }
  html .rh-evlist__cards .rh-evitem__meta { margin: 6px 0 0; padding: 0; }
  html .rh-evlist__cards .rh-evitem__meta div { display: block; }
  html .rh-evlist__cards .rh-evitem__meta dt { font-size: 11px; line-height: 1.5; }
  html .rh-evlist__cards .rh-evitem__meta dd { font-size: 12.5px; line-height: 1.5; }
  html .rh-evitem__state { padding: 3px 7px; font-size: 11px; }
  html .rh-evhead .rh-evitem__state { padding: 2px 8px; font-size: 12px; }
  html .rh-evempty { padding: 32px 16px; }
  html .rh-evempty h2 { font-size: 16px; }
  html .rh-evempty__actions { flex-direction: column; }
  html .rh-evbtn { width: 100%; min-width: 0; }
  html .rh-evended { margin-top: 48px; }
  html .rh-evended .rh-evitem__over { font-size: 12px; letter-spacing: .05em; }
  html .rh-evprops { margin-top: 48px; margin-bottom: 48px; padding: 40px 0 48px; }
  html .rh-evprops .rh-plist-cards { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  html .rh-evlist__head { flex-wrap: wrap; row-gap: 2px; }
  html .rh-evlist__count span, html .rh-evlist__order { white-space: nowrap; }
  html .rh-evfilter { gap: 10px; padding: 12px 14px; }
  html .rh-evfilter__group { grid-template-columns: 34px 1fr; gap: 8px; }
  html .rh-evfilter__label { font-size: 12px; }
  html .rh-evfilter__opts { display: flex; flex-wrap: wrap; gap: 6px; }
  html .rh-evfilter__opt span { width: auto; min-height: 34px; padding: 3px 12px; font-size: 12.5px; white-space: nowrap; }
  html .rh-evlist__cards .rh-evitem__meta div { display: flex; }
  html .rh-evlist__cards .rh-evitem__meta dd { font-size: 13px; }
  html .rh-evlist__cards .rh-evitem__meta dd small { font-size: 10.5px; }
  html .rh-evfilter__label { line-height: 34px; }
  html .rh-evclosed p { text-align: left; }
  html .rh-evhead__btn { display: flex; width: 100%; min-width: 0; min-height: 50px; }
  html .rh-evcontent > :is(.wp-block-image, figure):not(.is-style-rh-inset) { margin-left: calc(var(--rh-gutter) * -1); margin-right: calc(var(--rh-gutter) * -1); }
  html .rh-evcontent > :is(.wp-block-image, figure):not(.is-style-rh-inset) figure, html .rh-evcontent > figure.wp-block-image:not(.is-style-rh-inset) { display: block; width: auto; max-width: none; }
  html .rh-evcontent > :is(.wp-block-image, figure):not(.is-style-rh-inset) img:not(.rh-evprops *) { display: block; width: 100% !important; max-width: none; height: auto !important; margin-left: 0; margin-right: 0; }
  html .rh-desks { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
  html .rh-desk { height: 236px; padding: 114px 6px 0; }
  html .rh-desk__photo { height: 90px; }
  html .rh-desk__icon { top: 66px; width: 44px; height: 44px; }
  html .rh-desk__lead { margin-top: 4px; font-size: 12px; line-height: 1.6; text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }
  html .rh-desk__lead br { display: none; }
  html .rh-desk__name { font-size: 16px; }
  html .rh-desk .rh-arrow-circle { width: 22px; height: 22px; right: 8px; bottom: 8px; font-size: 10px; }
  html .rh-others__links { flex-direction: column; width: 100%; }
  html .rh-others__links .rh-linkcard { width: 100%; }
  html .rh-tels { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  html .rh-tel { padding: 18px 18px; }
  html .rh-tel__num { font-size: 26px; }
  html .rh-tel__row img { width: 38px; height: 38px; }
  html .rh-formband { margin-top: 56px; padding: 48px 0 56px; }
  html .rh-pagehead + .rh-formband { margin-top: 32px; padding-top: 32px; }
  html .rh-pagehead--tel .rh-tels { margin-top: 14px; }
  html .rh-crumbs + .rh-formband--flat { margin-top: 8px; padding-top: 0; }
  html .rh-formhead__title { font-size: 22px; }
  html .rh-formcard { padding: 24px 18px 28px; }
  html .rh-steps li { font-size: 10px; gap: 5px; }
  html .rh-choices, html .rh-choices--3 { grid-template-columns: 1fr; }
  html .rh-row2 { grid-template-columns: 1fr; }
  html .rh-row2--keep { grid-template-columns: 1fr 1fr; }
  html .rh-routes { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  html .rh-route__photo { height: 150px; }
  html .rh-route__body { padding: 40px 18px 24px; }
  html .rh-done__title { font-size: 24px; }
  html .rh-mats { grid-template-columns: 1fr; }
  html .rh-mat, html .rh-mat--feature { grid-template-columns: 1fr; }
  html .rh-mat__cover { max-width: 200px; }
  html .rh-matbar .rh-inner { flex-direction: column; align-items: stretch; }
  html .rh-matbar .rh-submit { min-width: 0; }
  html .rh-cal { width: 100%; }
  html .rh-steps li { font-size: 13px; gap: 5px; white-space: nowrap; }
  html .rh-steps li::before { width: 22px; height: 22px; font-size: 11px; }
  html .rh-routes { gap: 12px; margin-top: 20px; }
  html .rh-route__photo { display: none; }
  html .rh-route__body { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; padding: 16px; text-align: left; }
  html .rh-route__icon { position: static; grid-row: 1 / 3; width: 40px; height: 40px; transform: none; }
  html .rh-route__lead { grid-column: 2; font-size: 12px; line-height: 1.5; }
  html .rh-route__name { grid-column: 2; margin-top: 2px; font-size: 17px; line-height: 1.4; }
  html .rh-route__btns { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
  html .rh-route__btns a { width: 100%; min-width: 0; min-height: 44px; padding: 0 8px; justify-content: center; gap: 6px; font-size: 13px; white-space: nowrap; }
  html .rh-route__btns a::after { width: 6px; height: 6px; }
  html .rh-page:has(.rh-routes) main > div[style] { height: 40px !important; }
  html .rh-route__opt { display: none; }
  html .rh-route__btns a:only-child::after, html .rh-route__btns:has(> a:nth-child(3)) a::after { display: none; }
  html .rh-route__btns a { justify-content: center; }
  html .rh-route__btns a::after { margin-left: 6px; }
  html .rh-route__opt { display: none; }
  html .rh-route__btns:has(> a:nth-child(3)) a { padding: 0 8px; }
  html .rh-route__btns:has(> a:nth-child(3)) a::after { display: none; }
  html .rh-desk { height: auto; min-height: 176px; padding: 24px 6px 38px; }
  html .rh-desk__icon { width: 56px; height: 56px; margin-bottom: 10px; }
  html .rh-pcard__place b { font-size: 19px; }
  html .rh-plist-cards { grid-template-columns: 1fr; }
  html .rh-pcard__title { font-size: 19px; }
}
