@charset "UTF-8";

/* .control */
.l-container .control {
  border: 1px solid #2d720a;
  background: #f5f8f6;
  padding: 20px 24px;
  margin-bottom: 16px;
  font-size: 14px;
  border-radius: 4px;
}

/* チェックボックス */
.l-container .filter-row + .filter-row {
  margin-top: 10px;
}
.l-container .filter-title {
  color: #2d720a;
  letter-spacing: 0.1em;
  font-size: 16px;
}
.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 + label .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;
}
@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 1fr;
  gap: 16px;
}
@media screen and (max-width: 767px) {
  .l-container .target {
    grid-template-columns: 1fr;
  }
}

/* 道路名のタイトルを初期には表示しておく */
.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;
}
