/*施設賞モーダル*/
.award-photo1,
.award-photo2,
.award-photo3,
.award-photo4,
.award-photo5,
.award-photo6,
.award-photo7,
.award-photo8,
.award-photo9,
.award-photo10,
.award-photo11,
.award-photo12,
.award-photo13,
.award-photo14,
.award-photo15,
.award-photo16,
.award-photo17,
.award-photo18,
.award-photo19,
.award-photo20,
.award-photo21,
.award-photo22,
.award-photo23,
.award-photo24,
.award-photo25,
.award-photo26,
.award-photo27,
.award-photo28,
.award-photo29 {
  opacity: 0;
  display: none;
}

.columns.flex-award {
  flex-wrap: wrap;
  text-align: center;
}

.overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 0;
  z-index: 10;
  display: none;
}

.viewPhoto {
  width: 90%;
  max-width: 850px;
  min-width: 340px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  z-index: 5;
  max-height: 90%;
  box-shadow: 5px 5px 10px #666;
}

.viewPhoto.cat1,
.viewPhoto.cat2,
.viewPhoto.cat3 {
  display: none;
}

table.modal-photo tr td.arrow-left,
table.modal-photo tr td.arrow-right {
  vertical-align: middle;
  width: 10%;
}

table.modal-photo tr td.arrow-left img,
table.modal-photo tr td.arrow-right img {
  vertical-align: middle;
  min-width: 40px;
  max-height: 400px;
}

.arrow-left img:hover,
.arrow-right img:hover {
  cursor: pointer;
  opacity: .5;
}

table.modal-photo tr td.aw-photo {
  text-align: center;
}

table.modal-photo tr td.aw-photo img {
  max-height: 500px;
}

.modal_close {
  position: absolute;
  bottom: 10px;
  right: 10px;
  cursor: pointer;
}

/*施設賞モーダル　メディア*/
/* @media screen and (max-width: 640px) {
  table.detail tr td {
    display: block;
    width: 100%;
  }
} */

/*施設賞テーブル*/
table.award tr th {
  word-break: keep-all;
  justify-content: center;
}

table.award tr td {
  padding: .5em;
vertical-align:middle;
}


table.award tr td:nth-child(1) {
  font-weight: 600;
  white-space: nowrap;
}

table.award tr td:nth-child(2) {
  word-break: keep-all;
}

table.award tr td:nth-child(4) {
  text-align: center;
  vertical-align: middle;
}

table.award tr td:nth-child(4) img {
  width: 160px;
}

/*modal*/
table.modal-photo {
  margin-bottom: 0 !important;
}

table.modal-photo caption {
  padding-top: 10px;
  font-weight: 600;
}

table.detail {
  max-width: 680px;
  margin: auto;
  margin-bottom: 1.5em;
}

table.detail tr td {
  border: none;
}

/* table.detail tr td:nth-child(1) {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  line-height: 50px;
  text-align: center;
  padding: 0;
  font-size: 1em;
  font-weight: bold;
  display: block;
  margin-left: 10px;
  background-color: #c9e9ba;
}

table.detail tr td:nth-child(1)::before {
  content: 'No.';
  font-weight: 100;
} */

table.detail tr td:nth-child(2) {
  margin-right: 1em;
}

table.detail tr td br.nobr {
  display: none;
}

/*施設賞テーブル メディア*/
@media screen and (max-width: 640px) {
  table.award tr th {
    display: none;
  }

  table.award tr th.show {
    display: block;
  }

  table.award tr td:nth-child(1) {
    background-color: #c9e9ba;
  }

  /* table.award tr td:nth-child(1)::before {
    content: 'No.';
    font-weight: 600;
  } */

  table.award tr td:nth-child(1)::before {
    content: '施設名：';
    font-weight: 600;
  }

  table.award tr td:nth-child(2)::before {
    content: '所在地：';
    font-weight: 600;
  }

  table.award tr td br.nobr {
    display: none;
  }

  table.award tr td:nth-child(3)::before {
    content: '受賞者\A';
    white-space: pre;
  }

  table.award tr td.nobefore::before {
    content: '';
  }

  table.detail {
    /* display: none; */
  }

  table.modal-photo tr td {
    padding: 5px;
  }

  table.modal-photo tr td.arrow-left img,
  table.modal-photo tr td.arrow-right img {
    min-width: 15px;
  }

  table.detail tr td:nth-child(2) {
    display: none;
  }

  table.detail tr td:nth-child(3) {
    display: none;
  }
  /*施設賞award*/
  table.award tr td:nth-child(4) img {
    width: auto;
    max-height: 320px;
  }
}