@charset "UTF-8";
/* ----------------------------------------
   ■ memorial.css
---------------------------------------- */
body.subCtg #mainContents {
  padding-top: 10vw;
}

footer::before,
footer::after {
  display: none;
}

#buttonArea {
  position: relative;
  max-width: 920px;
  margin: 0 auto 75px;
}
#buttonArea a {
  display: block;
  padding: 5px 10px 3px;
  border: 3px solid #262626;
  border-radius: 3px;
  line-height: 1.1;
  text-decoration: none;
  font-size: 1.7rem;
  font-weight: bold;
}
#buttonArea a:hover {
  opacity: 0.8;
}
#buttonArea .set {
  display: flex;
  display: -ms-flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  justify-content: center;
  -ms-justify-content: center;
  -webkit-justify-content: center;
}
#buttonArea .set li {
  margin: 0 7px;
}
#buttonArea .set li a {
  width: 120px;
}
#buttonArea .set li.era1 a {
  background: #004ea2;
  color: #fff;
}
#buttonArea .set li.era2 a {
  background: #db0716;
  color: #fff;
}
#buttonArea .set li.era3 a {
  background: #faee00;
}
#buttonArea .set li.all a {
  background: #fff;
}
#buttonArea .set li.chron a {
  background: #262626;
  color: #fff;
}
#buttonArea .set li.chron a span:first-child {
  display: block;
}
#buttonArea .set li.chron a span:last-child {
  display: none;
}

body.subCtg.random #pageTitle > div::after {
  background-image: url("../img/memorial/img_deco_chron.png");
  background-size: contain;
  background-position: center center;
}
body.subCtg.random #buttonArea .set li.chron span:first-child {
  display: none;
}
body.subCtg.random #buttonArea .set li.chron span:last-child {
  display: block;
}

#mamorialTicket #ticket {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
#mamorialTicket #ticket .item {
  display: block;
  position: absolute;
  width: 250px;
  height: 250px;
  margin: 0;
}
#mamorialTicket #ticket .item.w2 {
  height: 125px;
}
#mamorialTicket #ticket .item.h2 {
  width: 125px;
}
#mamorialTicket #ticket .item a {
  display: block;
}
#mamorialTicket #ticket .item a img {
  position: relative;
  opacity: 0.0;
  transform: scale(0.9);
}
#mamorialTicket #ticket .item a:hover img {
  opacity: 0.8 !important;
}

body.loaded #ticket .item.i1 a img {
  animation: loadedAnim 0.1s 0.525s linear forwards !important;
}

body.loaded #ticket .item.i2 a img {
  animation: loadedAnim 0.1s 0.55s linear forwards !important;
}

body.loaded #ticket .item.i3 a img {
  animation: loadedAnim 0.1s 0.575s linear forwards !important;
}

body.loaded #ticket .item.i4 a img {
  animation: loadedAnim 0.1s 0.6s linear forwards !important;
}

body.loaded #ticket .item.i5 a img {
  animation: loadedAnim 0.1s 0.625s linear forwards !important;
}

body.loaded #ticket .item.i6 a img {
  animation: loadedAnim 0.1s 0.65s linear forwards !important;
}

body.loaded #ticket .item.i7 a img {
  animation: loadedAnim 0.1s 0.675s linear forwards !important;
}

body.loaded #ticket .item.i8 a img {
  animation: loadedAnim 0.1s 0.7s linear forwards !important;
}

body.loaded #ticket .item.i9 a img {
  animation: loadedAnim 0.1s 0.725s linear forwards !important;
}

body.loaded #ticket .item.i10 a img {
  animation: loadedAnim 0.1s 0.75s linear forwards !important;
}

body.loaded #ticket .item.i11 a img {
  animation: loadedAnim 0.1s 0.775s linear forwards !important;
}

body.loaded #ticket .item.i12 a img {
  animation: loadedAnim 0.1s 0.8s linear forwards !important;
}

body.loaded #ticket .item.i13 a img {
  animation: loadedAnim 0.1s 0.825s linear forwards !important;
}

body.loaded #ticket .item.i14 a img {
  animation: loadedAnim 0.1s 0.85s linear forwards !important;
}

body.loaded #ticket .item.i15 a img {
  animation: loadedAnim 0.1s 0.875s linear forwards !important;
}

body.loaded #ticket .item.i16 a img {
  animation: loadedAnim 0.1s 0.9s linear forwards !important;
}

body.loaded #ticket .item.i17 a img {
  animation: loadedAnim 0.1s 0.925s linear forwards !important;
}

body.loaded #ticket .item.i18 a img {
  animation: loadedAnim 0.1s 0.95s linear forwards !important;
}

body.loaded #ticket .item.i19 a img {
  animation: loadedAnim 0.1s 0.975s linear forwards !important;
}

body.loaded #ticket .item.i20 a img {
  animation: loadedAnim 0.1s 1s linear forwards !important;
}

body.loaded #ticket .item.i21 a img {
  animation: loadedAnim 0.1s 1.025s linear forwards !important;
}

body.loaded #ticket .item.i22 a img {
  animation: loadedAnim 0.1s 1.05s linear forwards !important;
}

body.loaded #ticket .item.i23 a img {
  animation: loadedAnim 0.1s 1.075s linear forwards !important;
}

body.loaded #ticket .item.i24 a img {
  animation: loadedAnim 0.1s 1.1s linear forwards !important;
}

body.loaded #ticket .item.i25 a img {
  animation: loadedAnim 0.1s 1.125s linear forwards !important;
}

body.loaded #ticket .item.i26 a img {
  animation: loadedAnim 0.1s 1.15s linear forwards !important;
}

body.loaded #ticket .item.i27 a img {
  animation: loadedAnim 0.1s 1.175s linear forwards !important;
}

body.loaded #ticket .item.i28 a img {
  animation: loadedAnim 0.1s 1.2s linear forwards !important;
}

body.loaded #ticket .item.i29 a img {
  animation: loadedAnim 0.1s 1.225s linear forwards !important;
}

body.loaded #ticket .item.i30 a img {
  animation: loadedAnim 0.1s 1.25s linear forwards !important;
}

body.loaded #ticket .item.i31 a img {
  animation: loadedAnim 0.1s 1.275s linear forwards !important;
}

body.loaded #ticket .item.i32 a img {
  animation: loadedAnim 0.1s 1.3s linear forwards !important;
}

body.loaded #ticket .item.i33 a img {
  animation: loadedAnim 0.1s 1.325s linear forwards !important;
}

body.loaded #ticket .item.i34 a img {
  animation: loadedAnim 0.1s 1.35s linear forwards !important;
}

body.loaded #ticket .item.i35 a img {
  animation: loadedAnim 0.1s 1.375s linear forwards !important;
}

body.loaded #ticket .item.i36 a img {
  animation: loadedAnim 0.1s 1.4s linear forwards !important;
}

body.loaded #ticket .item.i37 a img {
  animation: loadedAnim 0.1s 1.425s linear forwards !important;
}

body.loaded #ticket .item.i38 a img {
  animation: loadedAnim 0.1s 1.45s linear forwards !important;
}

body.loaded #ticket .item.i39 a img {
  animation: loadedAnim 0.1s 1.475s linear forwards !important;
}

body.loaded #ticket .item.i40 a img {
  animation: loadedAnim 0.1s 1.5s linear forwards !important;
}

body.loaded #ticket .item.i41 a img {
  animation: loadedAnim 0.1s 1.525s linear forwards !important;
}

body.loaded #ticket .item.i42 a img {
  animation: loadedAnim 0.1s 1.55s linear forwards !important;
}

body.loaded #ticket .item.i43 a img {
  animation: loadedAnim 0.1s 1.575s linear forwards !important;
}

body.loaded #ticket .item.i44 a img {
  animation: loadedAnim 0.1s 1.6s linear forwards !important;
}

body.loaded #ticket .item.i45 a img {
  animation: loadedAnim 0.1s 1.625s linear forwards !important;
}

body.loaded #ticket .item.i46 a img {
  animation: loadedAnim 0.1s 1.65s linear forwards !important;
}

body.loaded #ticket .item.i47 a img {
  animation: loadedAnim 0.1s 1.675s linear forwards !important;
}

body.loaded #ticket .item.i48 a img {
  animation: loadedAnim 0.1s 1.7s linear forwards !important;
}

body.loaded #ticket .item.i49 a img {
  animation: loadedAnim 0.1s 1.725s linear forwards !important;
}

body.loaded #ticket .item.i50 a img {
  animation: loadedAnim 0.1s 1.75s linear forwards !important;
}

body.loaded #ticket .item.i51 a img {
  animation: loadedAnim 0.1s 1.775s linear forwards !important;
}

body.loaded #ticket .item.i52 a img {
  animation: loadedAnim 0.1s 1.8s linear forwards !important;
}

body.loaded #ticket .item.i53 a img {
  animation: loadedAnim 0.1s 1.825s linear forwards !important;
}

body.loaded #ticket .item.i54 a img {
  animation: loadedAnim 0.1s 1.85s linear forwards !important;
}

body.loaded #ticket .item.i55 a img {
  animation: loadedAnim 0.1s 1.875s linear forwards !important;
}

body.loaded #ticket .item.i56 a img {
  animation: loadedAnim 0.1s 1.9s linear forwards !important;
}

body.loaded #ticket .item.i57 a img {
  animation: loadedAnim 0.1s 1.925s linear forwards !important;
}

body.loaded #ticket .item.i58 a img {
  animation: loadedAnim 0.1s 1.95s linear forwards !important;
}

body.loaded #ticket .item.i59 a img {
  animation: loadedAnim 0.1s 1.975s linear forwards !important;
}

body.loaded #ticket .item.i60 a img {
  animation: loadedAnim 0.1s 2s linear forwards !important;
}

body.loaded #ticket .item.i61 a img {
  animation: loadedAnim 0.1s 2.025s linear forwards !important;
}

body.loaded #ticket .item.i62 a img {
  animation: loadedAnim 0.1s 2.05s linear forwards !important;
}

body.loaded #ticket .item.i63 a img {
  animation: loadedAnim 0.1s 2.075s linear forwards !important;
}

body.loaded #ticket .item.i64 a img {
  animation: loadedAnim 0.1s 2.1s linear forwards !important;
}

body.loaded #ticket .item.i65 a img {
  animation: loadedAnim 0.1s 2.125s linear forwards !important;
}

body.loaded #ticket .item.i66 a img {
  animation: loadedAnim 0.1s 2.15s linear forwards !important;
}

body.loaded #ticket .item.i67 a img {
  animation: loadedAnim 0.1s 2.175s linear forwards !important;
}

body.loaded #ticket .item.i68 a img {
  animation: loadedAnim 0.1s 2.2s linear forwards !important;
}

body.loaded #ticket .item.i69 a img {
  animation: loadedAnim 0.1s 2.225s linear forwards !important;
}

body.loaded #ticket .item.i70 a img {
  animation: loadedAnim 0.1s 2.25s linear forwards !important;
}

body.loaded #ticket .item.i71 a img {
  animation: loadedAnim 0.1s 2.275s linear forwards !important;
}

body.loaded #ticket .item.i72 a img {
  animation: loadedAnim 0.1s 2.3s linear forwards !important;
}

body.loaded #ticket .item.i73 a img {
  animation: loadedAnim 0.1s 2.325s linear forwards !important;
}

body.loaded #ticket .item.i74 a img {
  animation: loadedAnim 0.1s 2.35s linear forwards !important;
}

body.loaded #ticket .item.i75 a img {
  animation: loadedAnim 0.1s 2.375s linear forwards !important;
}

body.loaded #ticket .item.i76 a img {
  animation: loadedAnim 0.1s 2.4s linear forwards !important;
}

body.loaded #ticket .item.i77 a img {
  animation: loadedAnim 0.1s 2.425s linear forwards !important;
}

body.loaded #ticket .item.i78 a img {
  animation: loadedAnim 0.1s 2.45s linear forwards !important;
}

body.loaded #ticket .item.i79 a img {
  animation: loadedAnim 0.1s 2.475s linear forwards !important;
}

body.loaded #ticket .item.i80 a img {
  animation: loadedAnim 0.1s 2.5s linear forwards !important;
}

body.loaded #ticket .item.i81 a img {
  animation: loadedAnim 0.1s 2.525s linear forwards !important;
}

body.loaded #ticket .item.i82 a img {
  animation: loadedAnim 0.1s 2.55s linear forwards !important;
}

body.loaded #ticket .item.i83 a img {
  animation: loadedAnim 0.1s 2.575s linear forwards !important;
}

body.loaded #ticket .item.i84 a img {
  animation: loadedAnim 0.1s 2.6s linear forwards !important;
}

body.loaded #ticket .item.i85 a img {
  animation: loadedAnim 0.1s 2.625s linear forwards !important;
}

body.loaded #ticket .item.i86 a img {
  animation: loadedAnim 0.1s 2.65s linear forwards !important;
}

body.loaded #ticket .item.i87 a img {
  animation: loadedAnim 0.1s 2.675s linear forwards !important;
}

body.loaded #ticket .item.i88 a img {
  animation: loadedAnim 0.1s 2.7s linear forwards !important;
}

body.loaded #ticket .item.i89 a img {
  animation: loadedAnim 0.1s 2.725s linear forwards !important;
}

body.loaded #ticket .item.i90 a img {
  animation: loadedAnim 0.1s 2.75s linear forwards !important;
}

body.loaded #ticket .item.i91 a img {
  animation: loadedAnim 0.1s 2.775s linear forwards !important;
}

body.loaded #ticket .item.i92 a img {
  animation: loadedAnim 0.1s 2.8s linear forwards !important;
}

body.loaded #ticket .item.i93 a img {
  animation: loadedAnim 0.1s 2.825s linear forwards !important;
}

body.loaded #ticket .item.i94 a img {
  animation: loadedAnim 0.1s 2.85s linear forwards !important;
}

body.loaded #ticket .item.i95 a img {
  animation: loadedAnim 0.1s 2.875s linear forwards !important;
}

body.loaded #ticket .item.i96 a img {
  animation: loadedAnim 0.1s 2.9s linear forwards !important;
}

body.loaded #ticket .item.i97 a img {
  animation: loadedAnim 0.1s 2.925s linear forwards !important;
}

body.loaded #ticket .item.i98 a img {
  animation: loadedAnim 0.1s 2.95s linear forwards !important;
}

body.loaded #ticket .item.i99 a img {
  animation: loadedAnim 0.1s 2.975s linear forwards !important;
}

body.loaded #ticket .item.i100 a img {
  animation: loadedAnim 0.1s 3s linear forwards !important;
}

@keyframes loadedAnim {
  0% {
    opacity: 0.0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1.0;
    transform: scale(1);
  }
}
#loading {
  display: flex;
  display: -ms-flex;
  display: -webkit-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  justify-content: center;
  -ms-justify-content: center;
  -webkit-justify-content: center;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
}
#loading .img {
  position: relative;
  width: 210px;
  height: 210px;
  margin: 0 auto;
}
#loading .img > div {
  position: absolute;
  left: 0;
  top: 0;
}
#loading .img > div:last-child {
  animation: loading 5s linear infinite;
}
#loading p {
  margin-top: 35px;
}

@keyframes loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}
/* Modal Window
---------------------------------------- */
body.modalOpen {
  overflow: hidden;
}

.modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  overflow: scroll;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 999;
}
.modal::before, .modal::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -4.3744331762962vw;
  width: 100vw;
  height: 10vh;
}
.modal::before {
  background: #004ea2;
  transform: skewY(-5deg);
  z-index: 1;
}
.modal::after {
  background: #abc5e0;
  transform: skewY(5deg);
}
.modal .wrap {
  position: relative;
  width: 100%;
  height: 100%;
}
.modal .btns {
  position: absolute;
  left: 1%;
  top: 46%;
  width: 98%;
  height: 0;
}
.modal .btns > div {
  position: absolute;
  top: -25px;
  width: 50px;
  height: 50px;
}
.modal .btns > div a {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: #004ea2;
  border-radius: 50%;
  text-decoration: none;
  text-indent: -999px;
  color: #fff;
}
.modal .btns > div a::before, .modal .btns > div a::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background: #fff;
}
.modal .btns > div a:hover {
  opacity: 0.8;
}
.modal .btns > div.prev {
  left: calc(50% - 400px);
}
.modal .btns > div.prev a::before {
  left: calc(50% - 11px);
  top: calc(50% - 6px);
  transform: rotate(-45deg);
}
.modal .btns > div.prev a::after {
  left: calc(50% - 11px);
  top: calc(50% + 6px);
  transform: rotate(45deg);
}
.modal .btns > div.next {
  right: calc(50% - 400px);
}
.modal .btns > div.next a::before {
  left: calc(50% - 7px);
  top: calc(50% - 6px);
  transform: rotate(45deg);
}
.modal .btns > div.next a::after {
  left: calc(50% - 7px);
  top: calc(50% + 6px);
  transform: rotate(-45deg);
}
.modal .close {
  position: absolute;
  right: 10vw;
  top: 15%;
}
.modal .close a {
  display: block;
  position: relative;
  overflow: hidden;
  width: 50px;
  height: 50px;
  background: #fff;
  border: 2px solid #000;
  border-radius: 50%;
  text-indent: -999px;
  z-index: 10;
}
.modal .close a::before, .modal .close a::after {
  content: "";
  position: absolute;
  left: calc(50% - 13px);
  top: calc(50% - 1px);
  width: 26px;
  height: 2px;
  background: #000;
}
.modal .close a::before {
  transform: rotate(45deg);
}
.modal .close a::after {
  transform: rotate(-45deg);
}
.modal .close a:hover {
  opacity: 0.5;
}

#slider1 {
  position: absolute;
  left: 0;
  top: 0;
  max-width: 100%;
  opacity: 0.0;
  transition: opacity 0.1s ease;
}
#slider1 h2 {
  margin: 0 auto;
  line-height: 1.3;
  font-size: 2.2rem;
  font-weight: bold;
  font-feature-settings: 'palt';
}
#slider1 .img {
  display: flex;
  display: -ms-flex;
  display: -webkit-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  justify-content: center;
  -ms-justify-content: center;
  -webkit-justify-content: center;
  width: 500px;
  height: 500px;
  margin: 0 auto;
}
#slider1 .img ul li {
  display: none;
}
#slider1 .img ul li.on {
  display: block;
}
#slider1 .img img {
  width: auto;
  max-height: 500px;
}
#slider1 .thumbNail {
  margin-top: 20px;
}
#slider1 .thumbNail ul {
  display: flex;
  display: -ms-flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  justify-content: center;
  -ms-justify-content: center;
  -webkit-justify-content: center;
}
#slider1 .thumbNail ul li {
  width: 80px;
  height: 80px;
  margin: 0 5px;
}
#slider1 .thumbNail ul li a {
  display: flex;
  display: -ms-flex;
  display: -webkit-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  justify-content: center;
  -ms-justify-content: center;
  -webkit-justify-content: center;
  width: 100%;
  height: 100%;
}
#slider1 .thumbNail ul li img {
  width: auto;
  max-width: 80px;
  max-height: 80px;
  margin: 0 auto;
}

#slider1.on {
  opacity: 1.0;
}

.slick-slide {
  outline: none;
}

/* Media Query
---------------------------------------- */
@media screen and (max-width: 1080px) {
  #buttonArea {
    max-width: 60vw;
  }
  #buttonArea .set {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  #buttonArea .set li {
    margin: 0;
  }
  #buttonArea .set li a {
    width: 100%;
  }
  #buttonArea .set .all,
  #buttonArea .set .chron {
    width: 100%;
  }
  #buttonArea .set .era1, #buttonArea .set .era2, #buttonArea .set .era3 {
    width: calc(33.33333% - 5px);
    margin: 5px 0;
  }
}
@media screen and (max-width: 1000px) {
  #mamorialTicket #ticket .item {
    width: calc((100vw - 20px) / 4);
    height: calc((100vw - 20px) / 4);
  }
  #mamorialTicket #ticket .item.w2 {
    height: calc((100vw - 20px) / 8);
  }
  #mamorialTicket #ticket .item.h2 {
    width: calc((100vw - 20px) / 8);
  }
}
@media screen and (max-width: 820px) {
  .modal .btns > div.prev {
    left: 0;
  }

  .modal .btns > div.next {
    right: 0;
  }
}
@media screen and (max-width: 768px) {
  body.subCtg #mainContents {
    padding-top: 220px;
  }

  footer::after {
    top: -65px;
    width: 60px;
    height: 60px;
  }

  body.subCtg #mainContents {
    padding-top: 220px;
  }

  #buttonArea {
    margin-bottom: 30px;
  }

  .modal .close {
    right: 5vw;
    top: 5%;
  }

  .modal .btns {
    position: fixed;
    top: 48vh;
  }

  #slider1 .img {
    width: 400px;
    height: 400px;
  }
  #slider1 .img img {
    max-width: 400px;
    max-height: 400px;
  }

  #slider1 .thumbNail ul li {
    width: 60px;
    height: 60px;
  }
  #slider1 .thumbNail ul li img {
    max-width: 60px;
    max-height: 60px;
  }
}
@media screen and (max-width: 768px) and (min-width: 481px) {
  #buttonArea a {
    font-size: 2.2135416667vw;
  }

  #slider1 h2 {
    font-size: 2.8645833333vw;
  }
}
@media screen and (max-width: 480px) {
  body.subCtg #mainContents {
    padding-top: 50vw;
  }

  body.subCtg #pageTitle > div::after {
    width: 60px;
    height: 60px;
    top: 100%;
  }

  #buttonArea {
    max-width: 100%;
  }

  #buttonArea a {
    font-size: 3.5416666667vw;
  }

  #mamorialTicket #ticket .item {
    width: calc((100vw - 20px) / 5);
    height: calc((100vw - 20px) / 5);
  }
  #mamorialTicket #ticket .item.w2 {
    height: calc((100vw - 20px) / 10);
  }
  #mamorialTicket #ticket .item.h2 {
    width: calc((100vw - 20px) / 10);
  }

  .modal .btns {
    left: 0;
    top: 42vh;
    width: 100%;
  }

  .modal .btns > div {
    transform: scale(0.6);
  }

  .modal .close a {
    width: 40px;
    height: 40px;
  }

  .modal .close a::before,
  .modal .close a::after {
    left: calc(50% - 10px);
    width: 20px;
  }

  #slider1 h2 {
    padding: 0 20px;
    font-size: 4.1666666667vw;
  }

  #slider1 .img {
    width: 250px;
    height: 250px;
  }
  #slider1 .img img {
    width: auto;
    height: auto;
    max-width: 250px;
    max-height: 250px;
  }

  #slider1 .thumbNail {
    max-width: 210px;
    margin-right: auto;
    margin-left: auto;
  }

  #loading .img {
    width: 180px;
    height: 180px;
  }
}
