@charset "utf-8";

/* =========================================================
   /rental/ 短期レンタル 機器一覧

   ・このファイルだけで自己完結させている（他ページに影響しない）。
     すべてのセレクタを #Rrental 配下に閉じている。
   ・旧 /machines/rental.php は9列のテーブルだった。スマホで読めないため
     1機器＝1カードに組み替え、スペックは値のある項目だけ出す。
========================================================= */

/* ---------------------------------------------------------
   1カラム（サイドバーなし）レイアウト
   rental/index.php の #contents に .wu-rt-page を付与して
   style.css の #main{float:right;width:925px} を打ち消す
   （guide.css / allpage.css と同じやり方）
--------------------------------------------------------- */
.wu-rt-page #main {
  float: none;
  width: 100%;
  margin: 0 auto;
}

#Rrental {
  --rt-brand: #008fc6;
  --rt-brand-d: #00719f;
  --rt-ink: #1a2b33;
  --rt-ink-2: #566a74;
  --rt-line: #e2e6e9;
  --rt-soft: #f4f8fa;
}

/* ---------------------------------------------------------
   ヘッダー部
--------------------------------------------------------- */
#Rrental .wu-rt__hero {
  padding: 26px 30px 28px;
  border-top: 3px solid var(--rt-brand);
  background: linear-gradient(180deg, #f2fafd 0%, #ffffff 100%);
}

#Rrental .wu-rt__eyebrow {
  margin: 0 0 6px;
  color: var(--rt-brand-d);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

#Rrental .wu-rt__title {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--rt-ink);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
}

#Rrental .wu-rt__title:before,
#Rrental .wu-rt__title:after { content: none; display: none; }

#Rrental .wu-rt__lead {
  margin: 0;
  color: var(--rt-ink-2);
  font-size: 15px;
  line-height: 1.9;
}

#Rrental .wu-rt__lead b { color: var(--rt-ink); font-weight: 700; }

/* ---- 先に伝えておきたい3つ ---- */
#Rrental .wu-rt__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  margin: 22px 0 30px;
  padding: 0;
  border: 1px solid var(--rt-line);
  background: var(--rt-line);
  list-style: none;
}

#Rrental .wu-rt__facts li {
  margin: 0;
  padding: 14px 16px;
  background: #fff;
  color: var(--rt-ink-2);
  font-size: 13.5px;
  line-height: 1.8;
}

#Rrental .wu-rt__facts li:before { content: none; }

#Rrental .wu-rt__factK {
  display: block;
  margin-bottom: 3px;
  color: var(--rt-brand-d);
  font-size: 12px;
  font-weight: 700;
}

#Rrental .wu-rt__facts b { color: var(--rt-ink); font-weight: 700; }

/* ---------------------------------------------------------
   絞り込み
--------------------------------------------------------- */
#Rrental .wu-rt__filter {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--rt-line);
  background: rgba(255, 255, 255, 0.96);
}

#Rrental .wu-rt__search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 460px;
  padding: 9px 14px;
  border: 1px solid var(--rt-line);
  border-radius: 4px;
  background: #fff;
}

#Rrental .wu-rt__search i { color: var(--rt-brand); font-size: 14px; }

#Rrental .wu-rt__search input {
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--rt-ink);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

#Rrental .wu-rt__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

#Rrental .wu-rt__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px 7px 15px;
  border: 1px solid var(--rt-line);
  border-radius: 999px;
  background: #fff;
  color: var(--rt-ink);
  font-size: 13.5px;
  font-weight: 700;
  font-family: inherit;
  line-height: 1.6;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}

#Rrental .wu-rt__tab span {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--rt-soft);
  color: #7c8f98;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

#Rrental .wu-rt__tab:hover { border-color: var(--rt-brand); color: var(--rt-brand-d); }

#Rrental .wu-rt__tab.is-on {
  border-color: var(--rt-brand);
  background: var(--rt-brand);
  color: #fff;
}

#Rrental .wu-rt__tab.is-on span {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* ---- 中カテゴリ（グループを選んだときだけ出る） ----
   タブ（大分類）とチップ（中分類）は役割が違うので、見た目もはっきり分ける。
   タブ＝白い太字のピル／チップ＝薄い地色の細いピル。 */
#Rrental .wu-rt__chips {
  margin-top: 12px;
  padding: 12px 14px 13px;
  border-left: 3px solid var(--rt-brand);
  border-radius: 0 5px 5px 0;
  background: linear-gradient(180deg, #f4fbfe 0%, #f8fbfc 100%);
}

#Rrental .wu-rt__chips[hidden] { display: none; }

#Rrental .wu-rt__chipHd {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 9px;
  color: var(--rt-brand-d);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

#Rrental .wu-rt__chipHd i { font-size: 11px; }

#Rrental .wu-rt__chipRow {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

#Rrental .wu-rt__chipRow[hidden] { display: none; }

#Rrental .wu-rt__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 7px 5px 12px;
  border: 1px solid #dbe6ea;
  border-radius: 999px;
  background: #fff;
  color: var(--rt-ink-2);
  font-size: 12.5px;
  font-family: inherit;
  line-height: 1.6;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}

#Rrental .wu-rt__chip span {
  min-width: 19px;
  padding: 1px 5px;
  border-radius: 999px;
  background: #eef4f7;
  color: #8298a2;
  font-size: 10.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

#Rrental .wu-rt__chip:hover {
  border-color: var(--rt-brand);
  color: var(--rt-brand-d);
}

#Rrental .wu-rt__chip:hover span { background: #e2f1f8; color: var(--rt-brand-d); }

#Rrental .wu-rt__chip.is-on {
  border-color: var(--rt-brand-d);
  background: var(--rt-brand-d);
  color: #fff;
  font-weight: 700;
}

#Rrental .wu-rt__chip.is-on span {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

#Rrental .wu-rt__count {
  margin: 10px 0 0;
  color: var(--rt-ink-2);
  font-size: 12.5px;
}

/* ---------------------------------------------------------
   機器カード
--------------------------------------------------------- */
#Rrental .wu-rt__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 0;
}

#Rrental .wu-rt__card {
  display: grid;
  grid-template-columns: 132px 1fr 210px;
  gap: 20px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid var(--rt-line);
  border-radius: 5px;
  background: #fff;
}

#Rrental .wu-rt__card[hidden] { display: none; }

#Rrental .wu-rt__thumb {
  display: block;
  padding: 8px;
  border: 1px solid var(--rt-line);
  border-radius: 4px;
  background: #fff;
}

#Rrental .wu-rt__thumb:hover { opacity: 1; border-color: var(--rt-brand); }

#Rrental .wu-rt__thumb img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

#Rrental .wu-rt__cat {
  margin: 0 0 4px;
  color: var(--rt-ink-2);
  font-size: 12px;
  line-height: 1.6;
}

#Rrental .wu-rt__name {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

#Rrental .wu-rt__name:before,
#Rrental .wu-rt__name:after { content: none; display: none; }

#Rrental .wu-rt__name a { color: var(--rt-ink); text-decoration: none; }
#Rrental .wu-rt__name a:hover { color: var(--rt-brand-d); opacity: 1; text-decoration: underline; }

/* ---- スペック（値のある項目だけ出る） ---- */
#Rrental .wu-rt__spec {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 11px 0 0;
}

#Rrental .wu-rt__spec > div {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--rt-soft);
}

#Rrental .wu-rt__spec dt {
  margin: 0;
  color: #7c8f98;
  font-size: 11px;
  font-weight: 400;
  white-space: nowrap;
}

#Rrental .wu-rt__spec dd {
  margin: 0;
  color: var(--rt-ink);
  font-size: 12.5px;
  line-height: 1.6;
}

/* ---- 料金とボタン ---- */
#Rrental .wu-rt__side {
  padding-left: 20px;
  border-left: 1px solid var(--rt-line);
}

#Rrental .wu-rt__price { margin: 0 0 12px; }

#Rrental .wu-rt__price > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dotted var(--rt-line);
}

#Rrental .wu-rt__price > div:last-child { border-bottom: 0; }

#Rrental .wu-rt__price dt {
  margin: 0;
  color: var(--rt-ink-2);
  font-size: 12px;
  white-space: nowrap;
}

#Rrental .wu-rt__price dd {
  margin: 0;
  color: var(--rt-ink);
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

#Rrental .wu-rt__price dd.is-ask {
  color: var(--rt-ink-2);
  font-size: 12.5px;
  font-weight: 400;
}

#Rrental .wu-rt__btn {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  background: var(--rt-brand);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}

#Rrental .wu-rt__btn:hover { background: var(--rt-brand-d); color: #fff; opacity: 1; }

#Rrental .wu-rt__sub {
  display: block;
  margin-top: 7px;
  color: var(--rt-brand-d);
  font-size: 12.5px;
  text-align: center;
  text-decoration: none;
}

#Rrental .wu-rt__sub:hover { opacity: 1; text-decoration: underline; }

#Rrental .wu-rt__empty {
  margin: 30px 0;
  padding: 26px;
  border: 1px dashed var(--rt-line);
  border-radius: 5px;
  color: var(--rt-ink-2);
  font-size: 14.5px;
  text-align: center;
}

/* ---------------------------------------------------------
   まとめて相談する
--------------------------------------------------------- */
#Rrental .wu-rt__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin: 34px 0 0;
  padding: 24px 26px;
  border: 1px solid var(--rt-brand);
  border-radius: 5px;
  background: #f2fafd;
}

#Rrental .wu-rt__ctaTx {
  flex: 1 1 300px;
  margin: 0;
  color: var(--rt-ink);
  font-size: 14.5px;
  line-height: 1.85;
}

#Rrental .wu-rt__ctaBtn {
  padding: 13px 26px;
  border-radius: 4px;
  background: var(--rt-brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

#Rrental .wu-rt__ctaBtn:hover { background: var(--rt-brand-d); color: #fff; opacity: 1; }

#Rrental .wu-rt__ctaTel {
  color: var(--rt-brand-d);
  font-size: 21px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

#Rrental .wu-rt__ctaTel i { margin-right: 6px; font-size: 18px; }
#Rrental .wu-rt__ctaTel:hover { opacity: 1; }

/* ---------------------------------------------------------
   流れ・ポイント
--------------------------------------------------------- */
#Rrental .wu-rt__h2 {
  margin: 52px 0 18px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 2px solid var(--rt-brand);
  background: none;
  color: var(--rt-ink);
  font-size: 20px;
  font-weight: 700;
}

#Rrental .wu-rt__h2:before,
#Rrental .wu-rt__h2:after { content: none; display: none; }

#Rrental .wu-rt__flow {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

#Rrental .wu-rt__flow li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--rt-line);
  color: var(--rt-ink-2);
  font-size: 14px;
  line-height: 1.85;
}

#Rrental .wu-rt__flow li:before { content: none; }
#Rrental .wu-rt__flow li:last-child { border-bottom: 0; }

#Rrental .wu-rt__flowN {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--rt-brand);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* 説明文は必ず .wu-rt__flowTx で包むこと。
   li が grid なので、むき出しのテキストは無名グリッドアイテムになり、
   34pxの番号カラムに落ちて1文字幅に潰れる。 */
#Rrental .wu-rt__flowTx { min-width: 0; }

#Rrental .wu-rt__flow b {
  display: block;
  margin-bottom: 1px;
  color: var(--rt-ink);
  font-size: 15px;
  font-weight: 700;
}

/* 「5つの安心」は5列で1行に収める。auto-fit だと幅に応じて4列で折り返し、
   1つだけ次の行に残ってしまうため、列数を明示している。 */
#Rrental .wu-rt__points {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  counter-reset: wu-rt-pt;
}

#Rrental .wu-rt__points > div {
  position: relative;
  counter-increment: wu-rt-pt;
  padding: 20px 15px 17px;
  border: 1px solid var(--rt-line);
  border-radius: 6px;
  background: linear-gradient(180deg, #f6fbfd 0%, #ffffff 52%);
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}

#Rrental .wu-rt__points > div:hover {
  border-color: var(--rt-brand);
  box-shadow: 0 3px 14px -6px rgba(0, 143, 198, 0.4);
}

/* 背景に薄く番号を敷く（元の画像の丸数字にあたるもの） */
#Rrental .wu-rt__points > div:before {
  content: counter(wu-rt-pt, decimal-leading-zero);
  position: absolute;
  top: -10px;
  right: 4px;
  color: #e4f2f9;
  font-size: 50px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  pointer-events: none;
}

/* アイコン */
#Rrental .wu-rt__ptIc {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 11px;
  border-radius: 50%;
  background: #e2f1f8;
  color: var(--rt-brand-d);
}

#Rrental .wu-rt__ptIc i { font-size: 16px; }

#Rrental .wu-rt__points h3 {
  position: relative;
  margin: 0 0 7px;
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid var(--rt-line);
  background: none;
  color: var(--rt-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

#Rrental .wu-rt__points h3:before,
#Rrental .wu-rt__points h3:after { content: none; display: none; }

#Rrental .wu-rt__points p {
  position: relative;
  margin: 0;
  color: var(--rt-ink-2);
  font-size: 12.5px;
  line-height: 1.8;
}

/* ---------------------------------------------------------
   スマホ
--------------------------------------------------------- */
@media screen and (min-width: 769px) and (max-width: 1100px) {
  #Rrental .wu-rt__points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media screen and (max-width: 480px) {
  #Rrental .wu-rt__points { grid-template-columns: minmax(0, 1fr); }
}

@media screen and (max-width: 768px) {
  #Rrental .wu-rt__hero { padding: 20px 16px 22px; }
  #Rrental .wu-rt__title { font-size: 23px; }
  #Rrental .wu-rt__lead { font-size: 14px; }

  #Rrental .wu-rt__filter { padding: 12px 0 10px; }

  /* 画像＋名前を上段、料金とボタンを下段に */
  #Rrental .wu-rt__card {
    grid-template-columns: 92px 1fr;
    gap: 14px;
    padding: 14px;
  }

  #Rrental .wu-rt__side {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-top: 14px;
    border-left: 0;
    border-top: 1px solid var(--rt-line);
  }

  #Rrental .wu-rt__price {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
  }

  #Rrental .wu-rt__price > div {
    display: block;
    padding: 8px 6px;
    border: 1px solid var(--rt-line);
    border-radius: 4px;
    text-align: center;
  }

  #Rrental .wu-rt__price dt { font-size: 11px; }
  #Rrental .wu-rt__price dd { font-size: 14px; margin-top: 2px; }
  #Rrental .wu-rt__price dd.is-ask { font-size: 11.5px; }

  #Rrental .wu-rt__name { font-size: 15.5px; }
  #Rrental .wu-rt__btn { padding: 12px; font-size: 14px; }

  #Rrental .wu-rt__points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #Rrental .wu-rt__cta { padding: 18px 16px; }
  #Rrental .wu-rt__ctaBtn { flex: 1 1 100%; text-align: center; }
  #Rrental .wu-rt__h2 { font-size: 17px; margin-top: 40px; }
}
