/*************

地図から探す
一覧から探す

**************/

#model-wrap .search-anchor {
  background: #FFF;
  border: solid #DDD;
  border-width: 1px 0;
}

#model-wrap .search-anchor ul {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 1080px;
  width: 100%;
}

#model-wrap .search-anchor li {
  border-left: 1px solid #DDD;
  width: 50%;
}

#model-wrap .search-anchor li:last-of-type {
  border-right: 1px solid #DDD;
}

#model-wrap .search-anchor li a {
  align-items: center;
  background-color: #FFF;
  color: #000;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: bold;
  height: 100%;
  justify-content: center;
  letter-spacing: .04em;
  line-height: calc(17/14);
  padding: 24px 0;
  position: relative;
  text-align: center;
}

#model-wrap .search-anchor li a:after {
  background: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2210%22%20height%3D%2210%22%20viewBox%3D%220%200%2010%2010%22%3E%3Cdefs%3E%3CclipPath%20id%3D%22a%22%3E%3Crect%20width%3D%2210%22%20height%3D%2210%22%20transform%3D%22translate(506%2025)%22%20fill%3D%22%23fff%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3Cg%20transform%3D%22translate(-506%20-25)%22%20clip-path%3D%22url(%23a)%22%3E%3Cpath%20d%3D%22M5.79%2C5a.734.734%2C0%2C0%2C0-.059-.3.811.811%2C0%2C0%2C0-.189-.261L1.208.2A.669.669%2C0%2C0%2C0%2C.716%2C0%2C.729.729%2C0%2C0%2C0%2C.352.092.685.685%2C0%2C0%2C0%2C.095.343.7.7%2C0%2C0%2C0%2C0%2C.7a.718.718%2C0%2C0%2C0%2C.219.515L4.1%2C5%2C.219%2C8.774A.718.718%2C0%2C0%2C0%2C0%2C9.29a.705.705%2C0%2C0%2C0%2C.352.616A.711.711%2C0%2C0%2C0%2C.716%2C10a.669.669%2C0%2C0%2C0%2C.491-.2L5.542%2C5.554a.742.742%2C0%2C0%2C0%2C.192-.261A.768.768%2C0%2C0%2C0%2C5.79%2C5Z%22%20transform%3D%22translate(516%2027)%20rotate(90)%22%20fill%3D%22%23f84515%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E') center/contain no-repeat;
  content: "";
  display: block;
  height: 10px;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
}

@media (min-width: 768px) {
  #model-wrap .search-anchor li a {
    transition: opacity .2s ease-in-out;
  }

  #model-wrap .search-anchor li a:hover {
    opacity: .6;
  }
}

@media screen and (max-width: 767px) {
  #model-wrap .search-anchor li {
    border-left: none;
  }

  #model-wrap .search-anchor li+li {
    border-left: 1px solid #DDD;
  }

  #model-wrap .search-anchor li:last-of-type {
    border-right: none;
  }

  #model-wrap .search-anchor li a {
    padding: 18px 0 12px;
  }

  #model-wrap .search-anchor li a:after {
    margin-top: 10px;
    position: static;
    transform: none;
  }
}