@charset "UTF-8";

/* .control */
.l-container .control {
  border: 1px solid #2D720A;
  background: #f7faf8;
  padding: 20px 24px 18px;
  border-radius: 6px;
}

/* チェックボックス */
.l-container .filter-row + .filter-row {
  margin-top: 10px;
}
.l-container .filter-title {
  font-size: 16px;
 /*  font-weight: bold;*/
  color: #2d720a;
  margin-bottom: 12px;
}
.l-container .filter-list li {
  display: inline-block;
  margin-right: 25px;
}
.l-container .filter-list li:last-child {
  margin-right: 0;
}
.l-container .filter-row input {
  display: none;
}
.l-container .filter-list label {
  cursor: pointer;
}
.l-container .filter-list label .cb {
  position: relative;
  margin-right: 5px;
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 1px solid #2d720a;
  border-radius: 2px;
  top: 2px;
  background: #fff;
}
.l-container .filter-list label .cb:after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  bottom: 3px;
  right: 3px;
}
.l-container .filter-list input[type=checkbox]:checked + .cb:after {
  background-color: #2d720a;
}

/* 選択解除ボタン */
.l-container .control_release {
  text-align: center;
  border: 1px solid #abd298;
  background: #fff;
  padding: 14px 16px;
  margin: 20px auto 0;
  cursor: pointer;
  width: 260px;
  color: #2d720a;
  transition: opacity .2s;
}
.l-container .control_release:hover {
  opacity: .8;
}
.l-container .btn-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px auto 0;
  width: 100%;
}

.l-container .control_buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px auto 0;
  width: fit-content;
}
@media screen and (max-width: 767px) {
  .l-container .control_release {
    width: 100%;
  }
}

/* 件数 */
/*.l-container .searchResult {
  margin-bottom: 16px;
}
.l-container .searchResult .numerator {
  font-weight: 600;
}
 */
/* ターゲット */
.l-container .item {
  margin-bottom: 7px;
}

/* 絞込み表示非表示 */
.l-container .item.js_target {
  display: none;
}
.l-container .item.js_target.js_selected {
  display: block;
}

/* アイテム */
.l-container .item_icons {
  display: flex;
  margin-bottom: 4px;
}
.l-container .item_icons li {
  height: 26px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 15px;
  padding: 0 8px;
  font-size: 14px;
  background: #fff;
  border: 1px solid;
}
.l-container .item_icons li + li {
  margin-left: 4px;
}
.l-container .ico_prefecture {
  border: 1px solid #2c720c;
  color: #2c720c;
}
.l-container .ico_category {
  border: 1px solid #494949;
  color: #494949;
}
.l-container .item_title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  line-height: 1.3;
}

.l-container .target {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.l-container .pref-group {
  width: 100%;
}

/* 道路名のタイトルを初期には表示しておく */
.c-titleH3 {
  display: block;
  font-size: 18px;
  margin: 　0;
  color: #333333;
}
.c-titleH3 {
  display: block;
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  color: #333333;
  grid-column: 1 / -1; /* グリッドを横断して1カラム化 */
  text-align: left;
}

.c-titleH3,
.c-titleH3 + .js_target,
.js_target + .c-titleH3 {
  margin: 0 !important;
  padding: 0 !important;
}
h3 {
  margin: 15px 0;
  padding: 10px 0;
}

/* 表スタイル（シンプル） */
.facility-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 8px;
  background: #fff;
  border: 1px solid #333333;
}

.facility-table th,
.facility-table td {
  border: 1px solid #ccc;
  padding: 6px 8px;
  text-align: center;
}

.facility-table thead th {
  background: #f0f0f0;
  font-weight: bold;
}


/* 空アイテムは常に非表示 

.item.is-empty {
  visibility: hidden;
  height: 0;
  margin: 0;
  padding: 0;
}
*/

/* 視覚的に空欄に見せるための .is-empty スタイル */
.item.is-empty {
  opacity: 0;
  pointer-events: none;
}

@media screen and (min-width: 600px) {
  .item.is-empty {
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
  }
}

.item.is-title {
  margin: 24px 0;
  min-height: 64px;
  display: flex;
  align-items: center;
  font-size: 35px !important;
  font-weight: bold;
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box;
}

.c-columns {
  display: flex;
  flex-wrap: wrap;
}

.road-title {
  display: block !important;
  width: 100% !important;
}

/* 道路名タイトルは常に1カラムにする */
#title_css,
.road-title {
  grid-column: 1 / -1;
  width: 100%;
}


/* 道路名タイトルのフォントサイズを30pxにする */
.road-title {
  font-size: 30px !important;
}

.facility-table {
  width: 100%;
  table-layout: fixed;
}

/* colで強制する（これが一番効く） */
.facility-table col:first-child {
  width: 120px;
}

.facility-table col:last-child {
  width: auto;
}

/* スマホ時だけ1カラム */
@media screen and (max-width: 767px) {
  .target.c-columns {
    grid-template-columns: 1fr !important;
  }
}



/* 「対象施設」のセル（左側） */
.facility-table .road {
  background-color: #F7FFF5;
}
/* 縦中央＋横中央 */
.facility-table td[rowspan] {
  vertical-align: middle;
  text-align: center;
}

.target.c-columns {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 24px;
            margin: 0;
        }
        .target.c-columns .item.js_target {
            width: 100% !important;
            max-width: none !important;
            min-width: 0 !important;
            box-sizing: border-box;
        }
        .target.c-columns .item.js_target .facility-table {
            width: 100%;
        }
        .target.c-columns .item.js_target .facility-table th,
        .target.c-columns .item.js_target .facility-table td {
            text-align: left !important;
            vertical-align: top;
        }

 /* ===== ボタンを画像と同じに ===== */
.l-container .btn-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
}

/* 共通 */
.l-container .btn-row button {
  width: 300px;
  height: 60px;
  font-size: 16px;
  border: 1px solid #7fb069; /* 薄い緑 */
  background: #fff;
  color: #2d720a;
  cursor: pointer;
  transition: all .2s;
}

/* 左（すべて選択） */
.l-container .js_select_all {
  background: #fff;
}

/* 右（全解除） */
.l-container .js_release {
  background: #fff;
}



.l-container .btn-row button:hover {
  background: #fff;      /* 背景は変えない */
  color: #7fb069;       /* 薄い緑 */
}
/* ネクスコポイント説明文 */
.text-img{
  font-size:22px;
  line-height:1.8;
}

.text-img span{
  font-size:22px;
}

.text-img .ico_point{
  vertical-align:middle;
  height:3.5em;
  width:auto;
}

.facility-table td.road{
  vertical-align: middle; /* 上下中央 */
}