@charset "UTF-8";

/* ==========================================================
J-REIT 銘柄一覧
========================================================== */
.update-date-box {
  margin: 20px 0 0 0;
}
.update-date-box p {
  margin-bottom: 0 !important;
  font-size: 14px;
}

.reit-list-box {
  --rl-text: #2C2C2B;
  --rl-sub: #7D7A75;
  --rl-soft: #F9F8F7;
  --rl-soft2: #F0EFED;
  --rl-border: #E6E5E3;
  --rl-accent: #e4111c;
  --rl-accent-soft: #FEECEC ;
  --rl-head: #e4111c;
  --rl-radius: 8px;
  max-width: 1600px;
  margin: 0 auto;
  color: var(--rl-text);
  font-family: "Noto Sans JP",-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Sans",Meiryo,sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  border-bottom: 1px solid var(--rl-border);
}

.reit-list-box * {
  box-sizing: border-box;
}

/* --- 絞り込み（プルダウン） --- */
.reit-list-box .rl-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: flex-end;
  margin: 0;
  padding: 10px 16px 16px 16px;
  background: var(--rl-soft);
  border: 1px solid var(--rl-border);
  border-radius: var(--rl-radius);
}

.reit-list-box .rl-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 100%;
  margin: 0;
}

.reit-list-box .rl-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--rl-sub);
  margin: 0;
}

.reit-list-box .rl-field select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0 32px 0 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--rl-text);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%237D7A75' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--rl-border);
  border-radius: 6px;
  cursor: pointer;
}

.reit-list-box .rl-field select:focus-visible,
.reit-list-box button:focus-visible {
  outline: 2px solid var(--rl-accent);
  outline-offset: 2px;
}

.reit-list-box .rl-reset {
  min-height: 44px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--rl-sub);
  background: #fff;
  border: 1px solid var(--rl-border);
  border-radius: 6px;
  cursor: pointer;
}

.reit-list-box .rl-reset:hover {
  background: var(--rl-soft2);
  color: var(--rl-text);
}

/* --- 件数・選択中の条件 --- */
.reit-list-box .rl-status {
  margin: 16px 0 8px;
  font-size: 13px;
  color: var(--rl-sub);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.reit-list-box .rl-status strong {
  font-size: 18px;
  color: var(--rl-text);
}

.reit-list-box .rl-chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--rl-accent-soft);
  color: var(--rl-head);
  font-size: 12px;
  font-weight: 600;
  margin-right: 5px;
}

.reit-list-box .rl-hint {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--rl-sub);
}

/* --- テーブル --- */
.reit-list-box .rl-tablewrap {
  overflow: auto;
  max-height: none;
  border-left: 1px solid var(--rl-border);
  border-right: 1px solid var(--rl-border);
  border-top: 1px solid var(--rl-border);
}

.reit-list-box .rl-table {
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  font-size: 13px;
  table-layout: fixed;
  width: 1236px;
}

.reit-list-box .rl-table caption {
  display: none;
}

/* 1行目：項目名 */
.reit-list-box .rl-table thead th {
  position: sticky;
  z-index: 3;
  background: var(--rl-head);
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  padding: 8px;
  box-shadow: inset -1px 0 0 rgba(255,255,255,.14);
  vertical-align: middle;
}

.reit-list-box .rl-table thead tr.rl-labels th {
  top: 0;
  height: 52px;
}

.reit-list-box .rl-table thead tr.rl-labels th:last-child {
  box-shadow: none;
}

/* 2行目：表の中の昇順・降順ボタン */
.reit-list-box .rl-table thead tr.rl-sorts th {
  top: 52px;
  height: 38px;
  padding: 4px 6px;
  background: #ddd;
  box-shadow: inset -1px 0 0 rgba(255,255,255,.14), inset 0 -1px 0 rgba(255,255,255,.14);
}

.reit-list-box .rl-table thead tr.rl-sorts th:last-child {
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.14);
}

.reit-list-box .rl-sortbtns {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.reit-list-box .rl-sortbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 30px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  background: #fff;
  color: var(--rl-sub);
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 4px;
  font-family: inherit;
  font-size: 9px;
  line-height: 1;
}

.reit-list-box .rl-sortbtn:hover {
  background: var(--rl-accent-soft);
  color: var(--rl-accent);
}

.reit-list-box .rl-sortbtn.is-active {
  background: var(--rl-accent);
  border-color: var(--rl-accent);
  color: #fff;
}

/* 本体 */
.reit-list-box .rl-table tbody td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--rl-border);
  vertical-align: top;
  line-height: 1.55;
  background: #fff;
  vertical-align: middle;
}

.reit-list-box .rl-table tbody tr:hover td {
  background: var(--rl-soft);
}

.reit-list-box .rl-code {
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
  font-weight: 700;
  background: #FEECEC !important;
  border-bottom: 1px solid #fff;
}

/* 1列目（証券コード）は横スクロールしても左に固定 */
.reit-list-box .rl-table thead th:first-child {
  left: 0;
  z-index: 5;
}

.reit-list-box .rl-table tbody td.rl-code {
  position: sticky;
  left: 0;
  z-index: 1;
}

.reit-list-box .rl-name {
  font-weight: 600;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.reit-list-box .rl-link {
  color: var(--rl-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.reit-list-box .rl-link:hover {
  color: var(--rl-accent);
}

.reit-list-box .rl-name small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--rl-sub);
  margin-top: 2px;
}

.reit-list-box .rl-center {
  text-align: center;
}

.reit-list-box .rl-month small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--rl-sub);
  margin-top: 2px;
}

.reit-list-box .rl-nowrap {
  white-space: nowrap;
}

.reit-list-box .rl-tag {
  display: inline-block;
  /*padding: 2px 8px;*/
  /*border-radius: 999px;*/
  font-size: 12px;
  /*background: var(--rl-soft2);*/
}

.reit-list-box .rl-size {
  text-align: center;
  font-weight: 600;
}

.reit-list-box .rl-size small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--rl-sub);
  margin-top: 2px;
}

.reit-list-box .rl-feature {
  font-size: 12px;
  color: #4a4845;
}

.reit-list-box .rl-empty {
  padding: 48px 24px;
  margin: 0;
  text-align: center;
  color: var(--rl-sub);
  font-size: 14px;
}

.reit-list-box .rl-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--rl-sub);
  line-height: 1.7;
}

/* =================================
タブレット（768px以上）
================================= */
@media (width >= 768px) {
  .reit-list-box .rl-field {
    min-width: 190px;
    flex: 0 1 240px;
  }
}

/* =================================
表が完全に収まる幅（1238px以上＝表1236px＋左右ボーダー1px）
================================= */
@media (width >= 1238px) {
  .reit-list-box .rl-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reit-list-box .rl-reset,
  .reit-list-box .rl-field select,
  .reit-list-box .rl-sortbtn {
    transition: background-color .15s ease, color .15s ease;
  }
}
