@charset "utf-8";

.g-wrap .check_list,
.g-wrap .result_title {
  font-weight: 700;
}

.g-wrap p.shop_open_ribbon {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 600;
}

/*======================================================================
 * 
======================================================================*/
.g-wrap .border_dotted {
  margin-top: 86px;
  padding-bottom: 86px;
  position: relative;
}

.g-wrap .border_dotted::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  position: absolute;
  bottom: 0;
  background-image: linear-gradient(to right, #004471 2px, transparent 2px);
  background-size: 10px 100%;
  background-repeat: repeat-x;
  background-position: center bottom;
}

@media (max-width: 768px) {
  .g-wrap .border_dotted {
    margin-top: 40px;
    padding-bottom: 40px;
  }

  .g-wrap .border_dotted::after {
    background-image: linear-gradient(to right, #004471 1px, transparent 1px, transparent 11px, #004471 11px);
    background-size: 8px 100%;
  }
}

.g-wrap .title_ribbon._yellow {
  margin-bottom: 70px;
  width: 100%;
}

@media (max-width: 768px) {
  .g-wrap .title_ribbon._yellow {
    margin-bottom: 2.5em;
  }
}

.g-wrap .check_list ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .g-wrap .check_list ul {
    justify-content: flex-start;
  }
}

.g-wrap .check_list li {}

.g-wrap .check_list input[type=checkbox],
.g-wrap .check_list input[type=radio] {
  display: none;
}

.g-wrap .check_list input[type=checkbox]:checked+label,
.g-wrap .check_list input[type=radio]:checked+label {
  background: #004471;
  color: #fff;
}

.g-wrap .check_list label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  background: #F8F8F8;
  text-decoration: none;
  color: #004471;
  text-align: center;
  cursor: pointer;
  border: 1px solid #004471;
  border-radius: 100px;
  padding: 0 10px;
}

@media (max-width: 768px) {
  .g-wrap .check_list label {
    padding: 0 5px;
  }
}

/*  */
.g-wrap .check_list._category {
  font-size: 20px;
  letter-spacing: 0.04em;
  margin-top: -1.5em;
}

.g-wrap .check_list._category ul::after {
  content: "";
  width: 32.5%;
}

.g-wrap .check_list._category li {
  width: 32.5%;
  margin-top: 1.5em;
}

.g-wrap .check_list._category li label {
  height: 4em;
}

.g-wrap .check_list._category li .subcategory {
  display: none;
  margin: 0;
}

.g-wrap .check_list._category li input[type=checkbox]:checked + label + .subcategory {
  width: 100%;
  display: inline;
}

.g-wrap .check_list._category li .subcategory li {
  font-size: 16px;
  width: 85%;
  height: auto;
  position: relative;
  border-bottom: 1px solid #DDD;
  margin: 0 auto 13px;
  padding: 0 0 13px;
}
.g-wrap .check_list._category li .subcategory li:first-child {
  margin-top: 14px;
}
.g-wrap .check_list._category li .subcategory li:last-child {
  margin-top: 0;
}
.g-wrap .check_list._category li .subcategory li label {
  text-align: left;
  border: none;
  max-width: initial;
  min-height: initial;
  width: auto;
  height: auto;
  padding: 2px 2px 2px 23px;
  display: inline-block;
  background: none;
  position: relative;
}
.g-wrap .check_list._category li .subcategory li input[type=checkbox] {
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  opacity: 0;
}
.g-wrap .check_list._category li .subcategory li input[type=checkbox]:checked + label,
.g-wrap .check_list._category li .subcategory li input[type=radio]:checked + label {
  color: inherit;
}
.g-wrap .check_list._category li .subcategory li label::before,
.g-wrap .check_list._category li .subcategory li label::after {
  content: "";
  display: block;
  position: absolute;
  transform: translateY(-50%);
}
.g-wrap .check_list._category li .subcategory li label::before {
  width: 15px;
  height: 15px;
  border: 2px solid #004471;
  top: 13px;
  left: 0;
}
.g-wrap .check_list._category li .subcategory li label::after {
  width: 5px;
  height: 9px;
  top: 0.44em;
  left: 0.33em;
  opacity: 0;
  border-right: 2px solid #004471;
  border-bottom: 2px solid #004471;
  transform: rotate(50deg);
  transition: opacity .1s;
}
.g-wrap .check_list._category li .subcategory li input[type=checkbox]:checked + label::after,
.g-wrap .check_list._category li .subcategory li input[type=radio]:checked + label::after {
  opacity: 1;
}
.g-wrap .check_list._category li .subcategory li:last-child p.bottom-button,
.g-wrap .check_list._category li .subcategory li:last-child .bottom-button {
  margin-bottom: 0;
}

/*  */
.g-wrap .check_list._floor {
  font-size: 24px;
  letter-spacing: 0em;
  margin: -0.7em -7px 0 -7px;
}

.g-wrap .check_list._floor ul {
  justify-content: center;
}

.g-wrap .check_list._floor li {
  width: 18%;
  max-width: 121px;
  margin: 0.7em 7px 0 7px;
  height: 36px;
}

/*  */
.g-wrap .check_list._kana {
  font-size: 18px;
}

.g-wrap .check_list._kana li {
  width: 9%;
  max-width: 70px;
  height: 36px;
}

@media (max-width: 768px) {
  .g-wrap .check_list._category {
    font-size: 12px;
    margin-top: -1.1em;
    letter-spacing: 0;
  }

  .g-wrap .check_list._category ul::after {
    content: none;
  }

  .g-wrap .check_list._category li {
    width: 32%;
    margin-top: 1.1em;
  }

  .g-wrap .check_list._category li:not(:nth-child(3n+1)) {
    margin-left: 2%;
  }

  .g-wrap .check_list._category label {
    border-radius: 15px;
  }

  .g-wrap .check_list._category li label {
    height: 5em;
  }

  .g-wrap .check_list._category li .subcategory li {
    font-size: 12px;
  }

  .g-wrap .check_list._category li .subcategory li:first-child {
    margin-top: 20px;
  }
  
  .g-wrap .check_list._category li .subcategory li label {
    padding: 2px 2px 2px 21px;
  }

  .g-wrap .check_list._category li .subcategory li label::before {
    top: 11px;
  }

  .g-wrap .check_list._category li .subcategory li label::after {
    left: 0.43em;
  }

  /*  */
  .g-wrap .check_list._floor {
    font-size: 13px;
    margin-top: -1em;
    margin: -1em -1.6% 0;
    letter-spacing: 0.04em;
  }

  .g-wrap .check_list._floor li {
    width: 30%;
    height: 25px;
    margin: 1em 1.6% 0;
    max-width: none;
  }

  /*  */
  .g-wrap .check_list._kana {
    font-size: 13px;
    margin-top: -1.4em;
  }

  .g-wrap .check_list._kana li {
    width: 18%;
    height: 30px;
    margin-top: 1.4em;
    max-width: none;
  }

  .g-wrap .check_list._kana li:not(:nth-child(5n+1)) {
    margin-left: 2.5%;
  }
}

/*======================================================================
 * 
======================================================================*/
.g-wrap .border_dotted .link_button_area._flex {
  max-width: 800px;
  margin-top: 0;
}

@media (max-width: 768px) {
  .g-wrap .border_dotted .link_button_area._flex {
    margin-top: 0;
  }
}

.g-wrap .link_button.show_button,
.g-wrap .link_button.clear_button {
  margin: 0;
  font-size: 24px;
  width: 48%;
  max-width: 380px;
  min-width: auto;
}

@media (max-width: 768px) {

  .g-wrap .link_button.show_button,
  .g-wrap .link_button.clear_button {
    font-size: 14px;
    margin-left: auto;
    margin-right: auto;
    max-width: 230px;
    width: 100%;
  }

  .g-wrap .link_button.clear_button {
    margin-top: 20px;
  }
}

/* pdf */
.g-wrap .link_button._pdf {
  font-size: 20px;
  height: 75px;
  border-radius: 75px;
  max-width: 426px;
}

@media (max-width: 768px) {
  .g-wrap .link_button._pdf {
    font-size: 13px;
    height: 40px;
    max-width: 230px;
  }
}

/* _under_border */
@media (max-width: 400px) {
  .g-wrap ._under_border .link_button {
    padding-left: 2em;
    padding-right: 2em;
  }
}

/*======================================================================
 * 
======================================================================*/
.g-wrap .result_area {
  border-bottom: 1px solid #004471;
  padding-top: 86px;
  padding-bottom: 100px;
}

.g-wrap .result_title {
  font-size: 24px;
  text-align: center;
  line-height: 1;
  margin: 60px 0;
}

.g-wrap .result_title::after {
  content: "";
  display: block;
  width: 5em;
  height: 5px;
  background: #FDD000;
  margin: 1em auto 0;
}

@media (max-width: 768px) {
  .g-wrap .result_area {
    padding: 30px 0;
  }

  .g-wrap .result_title {
    font-size: 16px;
    margin: 24px 0;
  }

  .g-wrap .result_title::after {
    height: 2px;
  }
}

/*======================================================================
 * shop_list
======================================================================*/
.g-wrap .shop_list {
  margin-left: -41px;
  margin-top: -60px;
}

.g-wrap .shop_item {
  max-width: 175px;
  margin-left: 41px;
  margin-top: 60px;
}

@media (max-width: 1400px) {
  .g-wrap .shop_list {
    margin-left: -2%;
    margin-top: -40px;
  }

  .g-wrap .shop_item {
    width: 18%;
    max-width: none;
    margin-left: 2%;
    margin-top: 40px;
  }
}

@media (max-width: 1000px) {
  .g-wrap .shop_item {
    width: 23%;
  }
}

@media (max-width: 768px) {
  .g-wrap .shop_list {
    margin-left: 0;
  }

  .g-wrap .shop_item {
    width: 48%;
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .g-wrap .shop_item {
    width: 100%;
  }

  .g-wrap .shop_item:not(:first-child) {
    padding: 30px 0 0;
    margin-top: 30px;
    border-top: 1px solid #B2C6D4;
  }
}

/*======================================================================
 * ribbon
======================================================================*/
.g-wrap p.shop_open_ribbon {
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  position: relative;
  padding: 0 10px;
  margin: 20px 0;
}

.g-wrap p.shop_open_ribbon>span {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
}

.g-wrap p.shop_open_ribbon>span span {
  transform: translateY(0.1em);
}

.g-wrap p.shop_open_ribbon>span::before,
.g-wrap p.shop_open_ribbon>span::after {
  content: "";
  display: block;
  height: 100%;
  aspect-ratio: 19/52;
  background-repeat: no-repeat;
  background-size: auto calc(100% + 2px);
  background-position: center;
  background-image: url(../images/shop_open/shop_ribbon_left.svg);
  position: absolute;
  top: 0;
}

.g-wrap p.shop_open_ribbon>span::before {
  left: 0;
}

.g-wrap p.shop_open_ribbon>span::after {
  right: 0;
}

/* _new */
.g-wrap p.shop_open_ribbon._new>span {
  background: #FF0000;
  color: #fff;
}

.g-wrap p.shop_open_ribbon._new>span::before {
  background-image: url(../images/shop_open/shop_ribbon_left.svg);
}

.g-wrap p.shop_open_ribbon._new>span::after {
  background-image: url(../images/shop_open/shop_ribbon_right.svg);
}

/* _renewal */
.g-wrap p.shop_open_ribbon._renewal>span {
  background: #004471;
  color: #fff;
}

.g-wrap p.shop_open_ribbon._renewal>span::before {
  background-image: url(../images/shop_open/shop_ribbon_left_navy.svg);
}

.g-wrap p.shop_open_ribbon._renewal>span::after {
  background-image: url(../images/shop_open/shop_ribbon_right_navy.svg);
}

/* _limited */
.g-wrap p.shop_open_ribbon._limited>span {
  background: #FDD000;
  color: #004471;
}

.g-wrap .shop_open_ribbon._limited>span::before {
  background-image: url(../images/shop_open/shop_ribbon_left_yellow.svg);
}

.g-wrap .shop_open_ribbon._limited>span::after {
  background-image: url(../images/shop_open/shop_ribbon_right_yellow.svg);
}

@media (max-width: 1400px) {
  .g-wrap p.shop_open_ribbon {
    font-size: 14px;
    padding: 0 8px;
    margin: 10px 0;
  }

  .g-wrap p.shop_open_ribbon>span {}
}

@media (max-width: 768px) {
  .g-wrap p.shop_open_ribbon {
    font-size: 13px;
    padding: 0 7px;
    margin: 0;
    letter-spacing: 0.02em;
  }

  .g-wrap p.shop_open_ribbon>span {
    height: 24px;
  }
}