@import url('https://fonts.googleapis.com/css2?family=Besley:ital,wght@0,400;1,400&display=swap');
#pcmenu {
  position: relative !important;
}

main {
  background: #EEE;
}

#breadcrumbs {
  margin-top: 0;
}

#topgallery {
  width: 100%;
  height: 100vh;
  position: relative;
}

.topgallery-inner {
  display: grid;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-content: center;
  grid-gap: 0;
  grid-template-columns: 33.333% 33.333% 33.333%;
  grid-template-rows: 33.333% 33.333% 33.333%;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0;
}

.topgallery-inner.active {
  opacity: 1;
}

#topgallery-inner-02 {
  animation-delay: 4s;
  z-index: 0;
}

#topgallery-inner-03 {
  animation-delay: 8s;
  z-index: 0;
}

.topgallery-item {
  position: relative;
  padding: 1em;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  transition: transform 0.2s ease-out;
  background: no-repeat center center/cover;
  border: 2px solid #EEE;
}

.topgallery-item:after {
  content: ' ';
  width: 100%;
  height: 100%;
  background: #EEE;
  position: absolute;
  top: 0;
  right: 0;
}

.active .topgallery-item:after {
  animation: Slideopen 1s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.active-next .topgallery-item:after {
  animation: Slideclose 1s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

#topgallery-inner-01 .topgallery-item:nth-child(1),
#topgallery-inner-02 .topgallery-item:nth-child(1),
#topgallery-inner-03 .topgallery-item:nth-child(1) {
  grid-area: 1 / 1;
}

#topgallery-inner-01 .topgallery-item:nth-child(2),
#topgallery-inner-02 .topgallery-item:nth-child(2),
#topgallery-inner-03 .topgallery-item:nth-child(2) {
  grid-area: 1 / 2;
}

#topgallery-inner-01 .topgallery-item:nth-child(3),
#topgallery-inner-02 .topgallery-item:nth-child(3),
#topgallery-inner-03 .topgallery-item:nth-child(3) {
  grid-area: 1 / 3;
}

#topgallery-inner-01 .topgallery-item:nth-child(4),
#topgallery-inner-02 .topgallery-item:nth-child(4),
#topgallery-inner-03 .topgallery-item:nth-child(4) {
  grid-area: 2 / 1;
}

#topgallery-inner-01 .topgallery-item:nth-child(5),
#topgallery-inner-02 .topgallery-item:nth-child(5),
#topgallery-inner-03 .topgallery-item:nth-child(5) {
  grid-area: 2 / 2;
}

#topgallery-inner-01 .topgallery-item:nth-child(6),
#topgallery-inner-02 .topgallery-item:nth-child(6),
#topgallery-inner-03 .topgallery-item:nth-child(6) {
  grid-area: 2 / 3;
}

#topgallery-inner-01 .topgallery-item:nth-child(7),
#topgallery-inner-02 .topgallery-item:nth-child(7),
#topgallery-inner-03 .topgallery-item:nth-child(7) {
  grid-area: 3 / 1;
}

#topgallery-inner-01 .topgallery-item:nth-child(8),
#topgallery-inner-02 .topgallery-item:nth-child(8),
#topgallery-inner-03 .topgallery-item:nth-child(8) {
  grid-area: 3 / 2;
}

#topgallery-inner-01 .topgallery-item:nth-child(9),
#topgallery-inner-02 .topgallery-item:nth-child(9),
#topgallery-inner-03 .topgallery-item:nth-child(9) {
  grid-area: 3 / 3;
}

@media screen and (min-width:1024px) {
  #topgallery {
    padding-top: 50%;
  }

  .topgallery-inner {
    grid-template-columns: 25% 25% 25% 25%;
    grid-template-rows: 50% 50%;
  }

  #topgallery-inner-01 .topgallery-item:nth-child(4),
  #topgallery-inner-02 .topgallery-item:nth-child(4),
  #topgallery-inner-03 .topgallery-item:nth-child(4) {
    grid-area: 1 / 4;
  }

  #topgallery-inner-01 .topgallery-item:nth-child(5),
  #topgallery-inner-02 .topgallery-item:nth-child(5),
  #topgallery-inner-03 .topgallery-item:nth-child(5) {
    grid-area: 2 / 1;
  }

  #topgallery-inner-01 .topgallery-item:nth-child(6),
  #topgallery-inner-02 .topgallery-item:nth-child(6),
  #topgallery-inner-03 .topgallery-item:nth-child(6) {
    grid-area: 2 / 2;
  }

  #topgallery-inner-01 .topgallery-item:nth-child(7),
  #topgallery-inner-02 .topgallery-item:nth-child(7),
  #topgallery-inner-03 .topgallery-item:nth-child(7) {
    grid-area: 2 / 3;
  }

  #topgallery-inner-01 .topgallery-item:nth-child(8),
  #topgallery-inner-02 .topgallery-item:nth-child(8),
  #topgallery-inner-03 .topgallery-item:nth-child(8) {
    grid-area: 2 / 4;
  }

  #topgallery-inner-01 .topgallery-item:nth-child(9),
  #topgallery-inner-02 .topgallery-item:nth-child(9),
  #topgallery-inner-03 .topgallery-item:nth-child(9) {
    display: none;
  }
}

#topgallery-logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

#topgallery-logo:after {
  content: ' ';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(20, 37, 82, 0.7);
  background: linear-gradient(to bottom, rgba(20, 37, 82, 0.99), rgba(20, 37, 82, 0.7));
  z-index: 1;
}

#topgallery-logo-item {
  width: 80%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
}

#topgallery-logo-item img {
  width: 512px;
}

.topgallery-logo-bg {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: url(/images/40th/40th-bg1-s.png) no-repeat center top/cover;
}

#topgallery-logo-bg-01 {
  opacity: 0.9;
}

#topgallery-logo-bg-02 {
  background-image: url(/images/40th/40th-bg2-s.png);
  opacity: 1;
}

#topgallery-logo-bg-03 {
  background-image: url(/images/40th/40th-bg3-s.png);
  z-index: 4;
}

@media screen and (min-width:1024px) {
  #topgallery-logo-bg-01 {
    background-image: url(/images/40th/40th-bg1.png);
  }

  #topgallery-logo-bg-02 {
    background-image: url(/images/40th/40th-bg2.png);
  }

  #topgallery-logo-bg-03 {
    background-image: url(/images/40th/40th-bg3.png);
  }
}

@keyframes Slideopen {
  0% {
    width: 100%;
    left: 0;
    right: auto;
  }

  1% {
    width: 100%;
  }

  100% {
    width: 0%;
    left: 0;
    right: auto;
  }
}

@keyframes Slideclose {
  0% {
    width: 0%;
  }

  1% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

#messages {
  padding: 2rem 0;
}

#messages .section_header h2 {
  font-size: 2.5rem;
  text-align: center;
  color: #152D71;
  margin-top: 2rem;
  font-family: 'Times New Roman', Times, serif;
}

#messages .section_header h2 span {
  display: block;
  font-size: 0.9rem;
  color: #333;
}

#messages .section_header p {
  text-align: center;
}

@media screen and (min-width:1024px) {
  #messages .section_header p span {
    display: block;
  }
}


.modal {
  opacity: 0;
  visibility: hidden;
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: -1;

}

.modal.active {
  opacity: 1;
  visibility: visible;
  z-index: 1000;
}

.modal_bg {
  background: rgba(0, 0, 0, 0.32);
  height: 100vh;
  position: absolute;
  width: 100%;
}

.modalScroll {
  background: #fff;
  height: 90vh;
  width: 90%;
  max-width: 1024px;
  padding: 20px 0;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition: all .5s cubic-bezier(0.7, 0, 0.3, 1);
  transform: scale(.9);
  opacity: 0;
}

.active .modalScroll {
  transform: scale(1);
  opacity: 1;
}


.ScrollContent {
  overflow-y: scroll;
  height: 100%;
  width: 98%;
  margin: 0 auto;
  padding: 0 5vw;
  border-radius: 20px;
}

::-webkit-scrollbar {
  border-radius: 10px;
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #DDD;
  border-radius: 10px;
}

.ScrollContent .js-modal-close {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 3.5rem;
  height: 3.5rem;
  background: url(/images/40th/close.svg) no-repeat center center/2rem 2rem #555;
  border-radius: 2rem;
  overflow: hidden;
  text-indent: -999%;
  z-index: 110;
  cursor: pointer;
}

.message-modal-item {
  padding: 2em;
  background: #FFF;
  box-shadow: 0 0 20px rgba(21, 45, 113, 0.1);
  cursor: pointer;
  transition: all .5s;
  margin-bottom: 1rem;
  position: relative;
}

.message-modal-item p.plofile-post {
  margin: 0;
  font-family: 'Times New Roman', Times, serif;
}

.message-modal-item p.plofile-post span {
  display: block;
}

.message-modal-item h2 {
  font-family: 'Times New Roman', Times, serif;
  margin: 0;
  font-size: 2rem;
}

.message-modal-item h2 span {
  margin-left: 1rem;
  font-size: 0.8em;
}

.message-modal-item p.excerpt {
  font-size: 0.8rem;
}

.message-item-contents {
  padding-bottom: 3rem;
}

.message-modal-item .message-open {
  text-align: right;
  margin: 1rem 0 0;
  padding-right: 3rem;
  position: absolute;
  bottom: 2rem;
  right: 1.5rem;
}

.message-modal-item .message-open span {
  display: inline-block;
  padding: 5px 0;
  position: relative;
  color: #152D71;
  font-size: 0.9rem;
  transition: all .5s;

}

.message-modal-item .message-open span:after {
  content: ' ';
  width: 100%;
  height: 1px;
  background: #152D71;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: all .5s;

}

.message-modal-item .message-open span:before {
  content: ' ';
  width: 2.5rem;
  height: 2.5rem;
  position: absolute;
  top: -0.25rem;
  right: -3rem;
  border-radius: 2rem;
  border: 1px solid #152D71;
  transition: all .5s;
  background: url(/images/40th/arrow.svg) no-repeat center center/1.5rem 1.5rem;
}

.message-modal-item:hover {
  box-shadow: 0 10px 20px rgba(21, 45, 113, 0.2);

}

.message-modal-item:hover .message-open span {
  padding: 10px 0 0;
}

.message-modal-item:hover .message-open span:after {
  bottom: -5px;
  opacity: 0;
}

.message-modal-item:hover .message-open span:before {
  transform: scale(1.1);
  background-color: #152D71;
}

.message-modal-item figure {
  width: 225px;
  height: 300px;
  margin: 0 auto 1rem;
  border: 1px solid #DDD;
}

@media screen and (min-width:768px) {
  .message-modal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .message-item-contents {
    width: calc(100% - 250px);
  }

  .message-modal-item figure {
    margin: 0;
  }
}

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

  .message-modal-item p.plofile-post,
  .message-modal-item h2 {
    text-align: center;
  }

  .message-modal-item h2 {
    font-size: 1.5rem;
  }
}

.modal-message {
  font-family: 'Times New Roman', Times, serif;
}

.modal-message-header {
  border-bottom: 1px solid #DDD;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.modal-message-header p span {
  display: block;
}

.modal-message-header h2 {
  margin: 0;
  font-size: 2rem;
}

.message-modal-item h2 span,
.modal-message-header h2 span {
  margin-left: 1rem;
  font-size: 0.8em;
}

.message-modal-item p .sub_text,
.modal-message-header p .sub_text {
  font-size: 0.8em;
}

.modal-message-inner .center {
  text-align: center;
}

.modal-message-inner .right {
  text-align: right;
}

#history {
  background: #152D71;
  color: #FFF;
  padding: 3rem 0 calc(5rem + 50px);
  position: relative;
}

#history .section_header {
  padding-bottom: 2rem;
}

#history .section_header h2 {
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  font-size: 3rem;
  margin: 0;
  line-height: 1.3;
  text-align: center;
}

#history .section_header h2 span {
  display: block;
  font-size: 1rem;
  font-weight: normal;
}

.historyblock {
  overflow: hidden;
  position: relative;
  padding: 0 1rem;
}

.history-modal-item {
  width: 100%;
  padding: 0.5rem;
  font-family: 'Times New Roman', Times, serif;
}

.history-modal-item .history-inner {
  padding: 1rem;
  width: 100%;
  height: 100%;
  background: #2452D1;
  background: linear-gradient(to bottom, #2452D1, #152D71);
  cursor: pointer;
  position: relative;
}

.history-modal-item .history-inner:after {
  content: ' ';
  width: 100%;
  height: 100%;
  position: absolute;
  background: linear-gradient(to top, #2452D1, #152D71);
  top: 0;
  left: 0;
  transition: all .5s;
  z-index: 1;
  opacity: 0;
  border: 0.5rem solid rgba(255, 255, 255, 0.5);
  box-sizing: border-box;
}

.history-modal-item:hover .history-inner:after {
  opacity: .9;
}

.history-year {
  font-size: 1.75rem;
  letter-spacing: 0.05em;
  font-family: "Besley", 'Times New Roman', Times, serif;
  font-style: italic;
  font-optical-sizing: auto;
  font-weight: 400;
  margin: 0;
  padding-right: 1rem;
  text-align: left;
  order: 1;
  display: inline-block;
  line-height: 1.3;
  position: relative;
  z-index: 2;
}

.history-year span {
  font-size: 2.5rem;
  display: block;
  margin-left: 1rem;
}

.history-plof {
  display: flex;
  flex-wrap: wrap;
  padding: 1rem 0;
  align-items: start;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.history-plof figure {
  width: 90px;
  height: 120px;
  order: 2;
}

.history-plof .history-contents {
  width: 100%;
  order: 3;
  margin-top: 1rem;
  text-align: center;
}

.history-plof p {
  margin: 0 0 .5rem;
  font-size: 0.75rem;
}

.history-plof p.history-name {
  font-size: 1.15rem;
}

.history-plof p.history-name strong {
  font-size: 1.3rem;
}

.history-plof p.history-title span {
  display: inline-block;
}

.history-gallerybt {
  display: inline-block;
  width: 230px;
  padding: 0.5rem;
  font-size: #FFF;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  margin: 0.5rem 0;
  text-align: center;
  font-size: 0.7rem;
  transition: all .5s;
}

.history-modal-item:hover .history-gallerybt {
  background: #FFF;
  color: #152D71;
}

.history-gallery {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.history-gallery figure {
  width: 50%;
  padding-top: 37.5%;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.history-gallery figure img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 200%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width:512px) {
  .history-plof {
    padding-top: 0;
  }

  .history-year,
  .history-plof figure,
  .history-plof .history-contents {
    order: 1;
  }

  .history-year {
    width: 100%;
    margin-bottom: 1rem;
    padding-left: 1rem;
    font-size: 2.5rem;
  }

  .history-year span {
    display: inline-block;
    margin: 0;
    font-size: 3.5rem;
  }

  .history-plof .history-contents {
    text-align: left;
    margin: 0 0 0 1rem;
    width: 230px;
  }

}

@media screen and (min-width:1024px) {
  #history-wrapper {
    display: flex;
    flex-wrap: wrap;
  }

  .history-modal-item {
    width: 50%;
    position: relative;
  }

  .history-modal-item:nth-child(2n+2) {
    top: 50px;
  }
}

.modal-history {
  color: #333;
}

.modal-history-inner figure .caption {
  font-size: 0.8rem;
  margin-top: 0.5em;
}

.modal-history-inner figure .video {
  width: 100%;
  padding-top: 75%;
  position: relative;
  overflow: hidden;
}

.modal-history-inner figure video {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.modal-history-header {
  font-family: 'Times New Roman', Times, serif;
  padding: 2rem 0;
  text-align: center;
}

.modal-history-header figure {
  width: 200px;
  height: auto;
  margin: 0 auto 1rem;
}

.modal-history-header h2,
.modal-history-header h3 {
  margin: 0;
}

.modal-history-header h3 {
  font-size: 1rem;
}

.modal-history-header h3 span {
  display: block;
}

.modal-history-header h2 span {
  font-size: 0.9rem;
  color: #6b748d;
  display: block;
  margin-bottom: 0.5rem;
}

@media screen and (min-width:769px) {
  .modal-history-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .modal-history-inner figure {
    width: 49%;
  }

  .modal-history-header {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modal-history-header figure {
    margin: 0;
    margin-right: 1rem;
  }

  .modal-history-header-inner {
    text-align: left;
  }
}

#ceremony {
  font-family: 'Times New Roman', Times, serif;
}

#ceremony-topvisu {
  background: #D7063B;
  padding: 3rem 5vw;
  color: #FFF;
  text-align: center;
  position: relative;
  top: -2rem;
}

#ceremony-topvisu:before,
#ceremony-topvisu:after,
#ceremony-topvisu i:before,
#ceremony-topvisu i:after {
  content: ' ';
  width: 3.5rem;
  height: 3.5rem;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  background: url(/images/40th/ceremony-bg.svg) no-repeat center center /contain;
}

#ceremony-topvisu:after {
  transform: rotate(90deg);
  left: auto;
  right: 0;
}

#ceremony-topvisu i:before {
  transform: rotate(180deg);
  left: auto;
  right: 0;
  top: auto;
  bottom: 0;
}

#ceremony-topvisu i:after {
  transform: rotate(270deg);
  top: auto;
  bottom: 0;
}

#ceremony-topvisu h2 {
  margin: 0;
  line-height: 1.1;
  font-size: 2.5rem;
  position: relative;
  z-index: 2;
}

#ceremony-topvisu h2 strong {
  font-size: 1.5em;
}

#ceremony-topvisu h2 span {
  display: block;
}

#ceremony-topvisu p {
  margin: 1rem 0 0;
}

@media screen and (min-width:768px) {
  #ceremony-topvisu h2 span {
    display: inline-block;
  }

  #ceremony-topvisu h2 span.textspace {
    margin-right: 0.5em;
  }
}

#ceremony-contents {
  text-align: center;
}