@import url(common.css);

/*
市区町村リンク.merit_parent
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.city_parent {
  max-width: 820px;
  margin: 1em auto;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.area_h2_wap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.area_h2_wap img {
  display: block;
  max-width: 100px;
}

/* /////////////////////////////////// */

/* 市区町村リンクのグリッド */

/* /////////////////////////////////// */
.city-wap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 1em 0 3em;
  align-items: center;
  grid-template-rows: subgrid;
}

/* 見た目（任意） */
.city-wap a {
  display: block;
  padding: 10px 12px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border_gray);
  border-radius: 8px;
  line-height: 1.4;
  color: #686868;
}

.city-wap a:hover {
  background: #0c7abf;
  color: #fff;
  border-color: #0c7abf;
  box-shadow: 0 2px 10px rgba(12, 122, 191, 0.12);
  opacity: unset;
}
.city-wap a:focus-visible {
  outline: 2px solid #0c7abf;
  outline-offset: 2px;
}

.city_parent ul {
  color: #8f8f8f;
}
.city_parent ul li {
  font-size: 14px;
  list-style: none;
  text-indent: -1em;
  padding-left: 1em;
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝

セクション3（#another-wap）

＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
#another-wap {
  margin-top: 2em;
}
.another_area_container {
  max-width: 820px;
  margin: 5em auto;
}
.another_area_container h2 {
  font-size: clamp(20px, 1.8vw, 22px);
  padding: 1em 1.5em;
  position: relative;
}

.another_area_container h2::before {
  background-color: #669933;
  border-radius: 5px;
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 8px;
  height: 80%;
  text-align: center;
}
.another_area_container h2::after {
  background-color: #cbffd3;
  border-radius: 5px;
  content: "";
  position: absolute;
  top: 5px;
  left: 18px;
  width: 8px;
  height: 80%;
}

#another-wap .another-wap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 1em auto;
}

#another-wap .another-wap a {
  display: block;
  max-width: 200px;
  text-align: center;
  border-radius: var(--radius);
  outline: 1px #0c7abf solid;
  outline-offset: -1px;
  background-color: #fff;
  color: #0a5f94;
  padding: 0.8em 1em;
  margin: 0.5em 0.2em 0 0;
}

#another-wap .another-wap a:hover {
  color: #fff;
  background-color: #0c7abf;
  opacity: unset;
}
#another-wap .another-wap a span {
  font-size: 14px;
  padding-left: 0.3em;
}
@media screen and (max-width: 1024px) {
  #content #main #main_right {
    width: 100%;
    padding: unset;
    margin: 0 auto;
    box-shadow: unset;
  }
}
@media (min-width: 980px) {
  .city-wap,
  #another-wap .another-wap {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
