@media only screen and (min-width: 767px) {

  .modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#80000000,endColorstr=#80000000); 
  background: rgba(0, 0, 0, 0.9);
}

.modal-wrap {
  height: 100%;
  width: 30%;
  margin: 0 auto;
  padding: 0 20px;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}
.modal-wrap2 {
  height: 100%;
  width: 20%;
  margin: 0 auto;
  padding: 0 20px;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

.modal-content {
  height: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.modal-table-wrap {
  display: table;
  table-layout: fixed;
  height: 100%;
  width: 100%;
}

.modal-table-cell {
  display: table-cell;
  padding: 60px 0 60px;
  vertical-align: middle;
}

.modal-content-box {
  position: relative;
  margin: 0 auto;
  background: #fff;
}

.modal-content-inner {
  padding: 50px 30px 50px;
}

.modal-btn-close {
  position: absolute;
  top: -40px;
  right: 0;
  z-index: 9;
  height: 30px;
  width: 30px;
  cursor: pointer;
}
.modal-btn-close span {
  display: block;
  background: #fff;
  height: 2px;
  width: 30px;
}
.modal-btn-close .bar01 {
  -moz-transform: translateY(15px) rotate(-45deg);
  -ms-transform: translateY(15px) rotate(-45deg);
  -webkit-transform: translateY(15px) rotate(-45deg);
  transform: translateY(15px) rotate(-45deg);
}
.modal-btn-close .bar02 {
  -moz-transform: translateY(13px) rotate(45deg);
  -ms-transform: translateY(13px) rotate(45deg);
  -webkit-transform: translateY(13px) rotate(45deg);
  transform: translateY(13px) rotate(45deg);
}
}



@media only screen and (max-width: 767px) {

  .modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#80000000,endColorstr=#80000000); 
  background: rgba(0, 0, 0, 0.9);
}

.modal-wrap {
  height: 100%;
  width: 90%;
  margin: 0 auto;
  padding: 0 20px;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}
.modal-wrap2 {
  height: 100%;
  width: 60%;
  margin: 0 auto;
  padding: 0 10px;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

.modal-content {
  height: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.modal-table-wrap {
  display: table;
  table-layout: fixed;
  height: 100%;
  width: 100%;
}

.modal-table-cell {
  display: table-cell;
  padding: 60px 0 60px;
  vertical-align: middle;
}

.modal-content-box {
  position: relative;
  margin: 0 auto;
  background: #fff;
}

.modal-content-inner {
  padding: 50px 30px 50px;
}

.modal-btn-close {
  position: absolute;
  bottom: -40px;
  right: 0;
  z-index: 9;
  height: 30px;
  width: 30px;
  cursor: pointer;
}
.modal-btn-close span {
  display: block;
  background: #fff;
  height: 2px;
  width: 30px;
}
.modal-btn-close .bar01 {
  -moz-transform: translateY(15px) rotate(-45deg);
  -ms-transform: translateY(15px) rotate(-45deg);
  -webkit-transform: translateY(15px) rotate(-45deg);
  transform: translateY(15px) rotate(-45deg);
}
.modal-btn-close .bar02 {
  -moz-transform: translateY(13px) rotate(45deg);
  -ms-transform: translateY(13px) rotate(45deg);
  -webkit-transform: translateY(13px) rotate(45deg);
  transform: translateY(13px) rotate(45deg);
}
}
@media only screen and (max-width: 767px) {
  .modal-wrap {
    padding: 0 3.125%;
  }

  .modal-content-inner {
    padding: 40px 3.33333% 40px;
  }
}



.tab_list.pc {
  display: table;
  margin: 0 auto 0px;
  width: 100%;
}
.tab_list.sp {
  display: none;
}
.tab_list li {
  position: relative;
  width: 33%;
  padding: 15px 5%;
  text-align: center;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
  font-size: 1.8rem;
  float: left;
}
.tab_list li:hover {
  opacity: 0.8;
}
.tab_list .all {
  background: #faaa00;
}


.tab_list .second  {
  background: #ccc;
}


.tab_list .third  {
  background: #ccc;
}


.tab_cont {
  display: none;
  margin: 0 -2px;
  overflow: scroll;
}
.tab_cont.active {
  display: block;
}

@media screen and (min-width: 767px) {
 .txt{
    font-size: 1.6rem;
    line-height: 25px;
    padding: 10px;
  position: relative;
  color: #717171;
  font-weight: normal;
  text-align: center;
  letter-spacing: 0.1em;
  width: 100%;
  margin-top: 20px;
  }
 .txt2{
    font-size: 1.6rem;
    line-height: 35px;
    padding: 10px;
  position: relative;
  color: #717171;
  font-weight: normal;
  text-align: left;
  letter-spacing: 0.1em;
  width: 100%;
  margin-top: 20px;
  }


.tab_list.pc {
  display: table;
  margin: 0 auto 0px;
  width: 100%;
}

}


@media screen and (max-width: 767px) {


.tab_list.pc {
  display: table;
  margin: 0 auto 0px;
  width: 100%;
}

}


@media screen and (max-width: 767px) {
.gridlists {
  padding: 2rem;
}



.cell .smallfont{
  font-size: 13px;
  font-weight: bold;
}


.cell2 .smallfont{
  font-size: 13px;
  font-weight: bold;
}

.gridlist-title {
  font-size: 1.6rem;
}

.gridlist {
  list-style-type: none;
  margin: 0 auto 50px;
  width: 100%;
  display: flex;
  flex-flow: row wrap;
   justify-content: center;
}

.cell {
  width: 90%;
  height: 250px;
  margin: 2%;
  padding: 0;
  text-align: center;
  vertical-align: middle;
  border-radius: 0.6rem;
  line-height: 40px;
  font-weight: bold;
  font-size: 16px;
  font-family: 'txtfont';
  color: #58401f;
}

.cell.hidamari {
  color: #845600;
  background-color: #ffc65d;
  box-shadow: 0 0.3rem 0 #ffb42a;
}

.cell.madomagi {
  color: #84002f;
  background-color: #ff5d96;
  box-shadow: 0 0.3rem 0 #ff2a75;
}

.cell.is-empty {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.cell:hover {
  cursor: pointer;
  margin-top: 1.3rem;
  margin-bottom: 0.7rem;
  box-shadow: none;
}



.cell2 {
  width: 29%;
  height: 230px;
  margin: 0%;
  padding: 0;
  text-align: center;
  vertical-align: middle;
  border-radius: 0.6rem;
  line-height: 10px;
  font-weight: bold;
  font-size: 16px;
}

.cell2.hidamari {
  color: #845600;
  background-color: #ffc65d;
  box-shadow: 0 0.3rem 0 #ffb42a;
}

.cell2.madomagi {
  color: #84002f;
  background-color: #ff5d96;
  box-shadow: 0 0.3rem 0 #ff2a75;
}

.cell2.is-empty {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.cell2:hover {
  cursor: pointer;
  margin-top: 1.3rem;
  margin-bottom: 0.7rem;
  box-shadow: none;
}





.cell3 {
  width: 19%;
  height: 230px;
  margin: 0%;
  padding: 2% 2% 0 0;
  text-align: center;
  vertical-align: middle;
  border-radius: 0.6rem;
  line-height: 10px;
  font-weight: bold;
  font-size: 16px;
}

.cell3.hidamari {
  color: #845600;
  background-color: #ffc65d;
  box-shadow: 0 0.3rem 0 #ffb42a;
}

.cell3.madomagi {
  color: #84002f;
  background-color: #ff5d96;
  box-shadow: 0 0.3rem 0 #ff2a75;
}

.cell3.is-empty {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.cell3:hover {
  cursor: pointer;
  margin-top: 1.3rem;
  margin-bottom: 0.7rem;
  box-shadow: none;
}


.gridlistlist.is-left {
  justify-content: flex-start;
}

.gridlist.is-center {
  justify-content: center;
}

.gridlist.is-space-between {
  justify-content: space-between;
}

.gridlist.is-space-around {
  justify-content: space-around;
}

.gridlist.is-wide {
  width: 68rem;
}

.gridlist.is-narrow {
  width: 18rem;
}
}



@media screen and (min-width: 767px) {
.gridlists {
  padding: 2rem;
}



.cell .smallfont{
  font-size: 16px;
  font-weight: bold;
}


.cell2 .smallfont{
  font-size: 16px;
  font-weight: bold;
}


.gridlist-title {
  font-size: 1.6rem;
}

.gridlist {
  list-style-type: none;
  margin: 4% auto;
  width: 100%;
  display: flex;
  flex-flow: row wrap;
   justify-content: center;
}

.cell {
  width: 22%;
  height: 250px;
  margin: 1rem;
  padding: 1rem;
  text-align: center;
  vertical-align: middle;
  border-radius: 0.6rem;
  line-height: 45px;
  font-weight: bold;
  font-size: 20px;
  font-family: 'txtfont';
  color: #58401f;
}

.cell.hidamari {
  color: #845600;
  background-color: #ffc65d;
  box-shadow: 0 0.3rem 0 #ffb42a;
}

.cell.madomagi {
  color: #84002f;
  background-color: #ff5d96;
  box-shadow: 0 0.3rem 0 #ff2a75;
}

.cell.is-empty {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.cell:hover {
  cursor: pointer;
  margin-top: 1.3rem;
  margin-bottom: 0.7rem;
  box-shadow: none;
}



.cell2 {
  width: 26%;
  height: 380px;
  margin: 1rem;
  padding: 1rem 0;
  text-align: center;
  vertical-align: middle;
  border-radius: 0.6rem;
  line-height: 14px;
  font-weight: bold;
  font-size: 20px;
}

.cell2.hidamari {
  color: #845600;
  background-color: #ffc65d;
  box-shadow: 0 0.3rem 0 #ffb42a;
}

.cell2.madomagi {
  color: #84002f;
  background-color: #ff5d96;
  box-shadow: 0 0.3rem 0 #ff2a75;
}

.cell2.is-empty {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.cell2:hover {
  cursor: pointer;
  margin-top: 1.3rem;
  margin-bottom: 0.7rem;
  box-shadow: none;
}




.cell3 {
  width: 17%;
  height: 380px;
  margin: 1rem;
  padding: 35px 0 0;
  text-align: center;
  vertical-align: middle;
  border-radius: 0.6rem;
  line-height: 14px;
  font-weight: bold;
  font-size: 20px;
}

.cell3.hidamari {
  color: #845600;
  background-color: #ffc65d;
  box-shadow: 0 0.3rem 0 #ffb42a;
}

.cell3.madomagi {
  color: #84002f;
  background-color: #ff5d96;
  box-shadow: 0 0.3rem 0 #ff2a75;
}

.cell3.is-empty {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.cell3:hover {
  cursor: pointer;
  margin-top: 1.3rem;
  margin-bottom: 0.7rem;
  box-shadow: none;
}



.gridlistlist.is-left {
  justify-content: flex-start;
}

.gridlist.is-center {
  justify-content: center;
}

.gridlist.is-space-between {
  justify-content: space-between;
}

.gridlist.is-space-around {
  justify-content: space-around;
}

.gridlist.is-wide {
  width: 68rem;
}

.gridlist.is-narrow {
  width: 18rem;
}
}


a:hover {opacity: 0.8 !important;}




.menubox{
  width: 100%;
}
@media only screen and (max-width: 767px) {
main{
  height: 50vh;
}
}
@media only screen and (min-width: 767px) {
main{
  height: 100vh;
}
}