@charset "UTF-8";

.ttl_main {
  position: relative;
}

.ttl_main__area {
  background: #ab2830;
  border-radius: 4px;
  border: 2px solid #ab2830;
  bottom: 31px;
  color: #fff;
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  left: 50%;
  line-height: 21px;
  max-width: 310px;
  min-width: 102px;
  padding: 4px 10px;
  position: absolute;
  transform: translateX(-50%);
}

.ttl_main__area:after {
  border-radius: 4px;
  border: 1px solid #faf5e1;
  content: "";
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

@media screen and (min-width: 375px) and (max-width: 767px) {
  .ttl_main__area {
    border-radius: 1.06667vw;
    border: .6vw solid #ab2830;
    bottom: 9.23333vw;
    font-size: 3.46667vw;
    line-height: 3.73333vw;
    max-width: 82.66667vw;
    min-width: 22.26667vw;
    padding: 1.26667vw 2.13333vw;
  }

  .ttl_main__area:after {
    border-radius: .66667vw;
    border: .3vw solid #faf5e1;
  }
}

@media screen and (max-width: 374px) {
  .ttl_main__area {
    bottom: 35px;
    font-size: 13px;
    line-height: 14px;
    max-width: 310px;
    min-width: 82px;
    padding: 4px 8px;
  }
}

@media screen and (min-width: 768px) {
  .areabox {
    margin: 37px auto 0;
    width: 940px;
  }

  .areabox + .areabox {
    margin-top: 20px;
  }

  .areabox__ttl {
    background: url(/public_search/list/assets/image/ttl-area.png) no-repeat 0 0 / cover;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .5px;
    line-height: 1.3;
    padding: 9px 24px;
  }

  .areabox__con {
    background: #fffeef;
    border-bottom: 1px solid #9c1922;
    border-left: 1px solid #9c1922;
    border-radius: 0 0 4px 4px;
    border-right: 1px solid #9c1922;
    padding: 14px 23px 13px 23px;
  }

  .list_link {
    display: flex;
    flex-wrap: wrap;
    justify-content: inherit;
  }

  .list_link li {
    display: flex;
    line-height: 1.5;
    margin-right: 6px;
    min-width: 214px;
  }

  .list_link li.area_main:first-child ~ li {
    transform: translateX(12px);
    width: 214px;
  }

  .list_link li:first-child:not(.area_main),
  .list_link li:first-child:not(.area_main) ~ li {
    width: 217px;
  }

  .list_link li:first-child:not(.area_main) ~ li:nth-child(n+5),
  .list_link li.area_main:first-child ~ li {
    margin-top: 11px;
  }

  .list_link li.area_main {
    border-bottom: 1px solid #9d1528;
    margin-bottom: -1px;
    padding-bottom: 1px;
    width: 100%;
  }

  .list_link li.link_disable {
    color: #000;
  }

  .list_link li a {
    display: inline-flex;
    padding: 0 1px 0 17px;
    position: relative;
  }

  .list_link li a:hover {
    opacity: .7;
  }

  .list_link li a:before {
    border-color: transparent transparent transparent #0000ff;
    border-style: solid;
    border-width: 5px 0 5px 9px;
    content: "";
    display: inline-block;
    height: 0;
    left: 0;
    margin-top: -1px;
    position: absolute;
    top: 7px;
    width: 0;
  }

  .list_link li a span {
    color: #1734e8;
    display: inline-block;
    font-size: 16px;
  }
}

@media screen and (max-width: 767px) {
  .areabox {
    border-bottom: 1px solid #f75586;
    border-left: 1px solid #f75586;
  }

  .areabox:first-child {
    border-top: 1px solid #f75586;
  }

  .areabox__ttl {
    border-right: 1px solid #f75586;
    cursor: pointer;
    display: block;
    padding-bottom: 0;
    text-align: left;
    width: 100%;
  }

  .areabox__ttl span {
    background: #fbe8f0;
    color: #ff5b85;
    display: block;
    font-size: 15px;
    font-weight: normal;
    margin-left: 0;
    padding: 14px 34px 14px 27px;
    position: relative;
  }

  .areabox__ttl span:before {
    background: #ff5b85;
    content: "";
    height: 10px;
    left: 12px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
  }

  .areabox__ttl span:after {
    background: url(/image_cmn/ico-arrow-up.png) no-repeat center center / contain;
    content: "";
    display: block;
    height: 11px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) rotateZ(180deg);
    width: 20px;
  }

  .js_click.active span:after {
    transform: translateY(-50%);
  }

  .js_open {
    display: block;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height .3s ease-out;
    width: 100%;
  }

  .list_link {
    display: flex;
    flex-wrap: wrap;
    justify-content: inherit;
  }

  .list_link li {
    align-items: center;
    border-right: 1px solid #f75586;
    border-top: 1px solid #f75586;
    display: flex;
    flex: 1 1 50%;
    float: none;
    margin: 0;
  }

  .list_link li.full_width {
    flex-basis: 100%;
  }

  .list_link li.area_main {
    background: #fdf4f8;
    flex-basis: 100%;
  }

  .list_link li.link_disable {
    padding: 13px 27px 13px 17.5px;
    color: #999;
  }

  .list_link li a {
    align-items: center;
    display: inline-flex;
    padding: 13px 27px 13px 17.5px;
    position: relative;
    width: 100%;
  }

  .list_link li a:after {
    background: url(/image_cmn/ico-arrow04.png) no-repeat center center / contain;
    content: "";
    height: 17px;
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
  }

  .list_link li a span {
    color: #000;
    font-size: 15px;
    font-weight: normal;
    position: relative;
  }
}

@media screen and (max-width: 767px) {
  .leadbox + .inner .areabox:first-child {
    margin-top: 20px;
  }
}