@charset "utf-8";

/*----------------------------------------------------
  HISTORY PAGE
----------------------------------------------------*/
#mv__anniversary.mv {
  width: 100%;
  height: 100%;
  position: relative;
  margin-top: 0;
  overflow: hidden;
  height: calc(100svh - 100px);
  margin-top: 100px;
}
@media (min-width: 768px) {
  #mv__anniversary.mv {
    min-height: 700px;
  }
}
@media (max-width: 1080px) { 
  #mv__anniversary.mv {
    height: calc(100svh - 70px - 80px);
    margin-top: 70px;
  }
}
@media (max-width: 480px) { 
  #mv__anniversary.mv {
    height: calc(100svh - 70px - 40px);
  }
}

#mv__anniversary.mv .mv-anniversary--img img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}
@media (min-width: 768px) {
  #mv__anniversary.mv .mv-anniversary--img img {
    min-height: 700px;
  }
}

@media (max-width: 1080px) {
  #mv__anniversary.mv,
  #mv__anniversary.mv .mv-anniversary--img img {
    height: calc(100svh - 70px - 80px);
  }
}
@media (max-width: 480px) {
  #mv__anniversary.mv,
  #mv__anniversary.mv .mv-anniversary--img img {
    height: calc(100svh  - 70px - 40px);
  }
}

#mv__anniversary .mv-content {
  position: absolute;
  z-index: 4;
  top: 40%;
  left: 0; right: 0;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  transform: translateY(-50%);
}

.mv--logo {
  max-width: 260px;
  margin: auto;
  width: 50%;
}

.mv--catch {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(3rem, 2.77vw, 6rem);
  font-weight: 500;
  color: #334399;
  text-align: center;
  margin-top: 3rem;
}

.mv--text {
  font-family: "Noto Serif JP", serif;
  font-size: 3rem;
  font-size: clamp(1.6rem, 1.48vw, 3rem);
  color: #334399;
  text-align: center;
  margin-top: 3rem;
}

.mv--scroll {
  max-width: 13.0rem;
  width: 20%;
  text-align: center;
  margin: auto;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.mv--scroll--text {
  display: inline-block;
  position: relative;
  padding-bottom: 11vh;
}
@media (max-width: 767px) {
  .mv--scroll--text {
    padding-bottom: 6vh;
  }
}

.mv--scroll--text::after {
  content: '';
  height: 10vh;
  width: 1px;
  position: absolute;
  left: 0; right: 0;
  bottom: 11vh;
  margin: 0 auto;
  background-color: #324298;
  animation: scrollbar 2.0s ease-in-out infinite;
}
@keyframes scrollbar {
  0% {
    bottom: 11vh;
    height: 0;
  }
  100% {
    bottom: 0;
  }
}
@media (max-width: 767px) {
  .mv--scroll--text::after {
    bottom: 6vh;
    height: 5vh;
  }
  @keyframes scrollbar {
    0% {
      bottom: 6vh;
      height: 0;
    }
    100% {
      bottom: 0;
    }
  }
}

/* ANNIVERSARY GREETING SECTION */
#anniversary_greeting {
  background: url(../img/anniversary/bg_greeting.png) top no-repeat;
  background-size: cover;
}
.anniversary__text {
  font-size: 1.6rem;
  line-height: 2;
  text-align: left;
}
@media (max-width: 767px) {
  .anniversary__text {
    font-size: 1.5rem;
  }
}

.anniversary__text--catch {
  color: #334399;
  font-family: "Noto Serif JP", serif;
  font-size: 3.4rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 1em;
}
@media (max-width: 767px) {
  .anniversary__text--catch {
    font-size: 2rem;
  }
}

.anniversary__text--name {
  width: 12.7rem;
  height: 5.1rem;
  padding-top: 3rem;
  text-align: left;
  margin: 0 auto;
}


/* ANNIVERSARY MESSAGE SECTION */
#anniversary_message {
}

#anniversary_message .section__title {
  text-align: center;
}
#anniversary_message .section__title__en {
  font-family: "Noto Serif JP", serif;
  font-size: 2.0rem;
}
@media (max-width: 767px) {
  #anniversary_message .section__title__en {
    font-size: clamp(1.0rem, 1vw, 2rem);
  }
}
#anniversary_message .section__title__jp {
  font-family: "Noto Serif JP", serif;
  font-size: 3.4rem;
}
@media (max-width: 767px) {
  #anniversary_message .section__title__jp {
    font-size: clamp(1.7rem, 4vw, 3.4rem);
  }
}


.anniversary_message__list {
  display: flex;
  gap: 7rem 0;
  flex-direction: column;
  margin-top: 6rem;
}
.anniversary_message__item {
  border-radius: 1.5rem;
  padding: 4rem;
  display: flex;
  background: url(../img/anniversary/bg_message.png) center no-repeat;
  background-size: cover;
  width: 100%;
}
@media (min-width: 811px) {
  .anniversary_message__item:nth-child(2n) {
    flex-direction: row-reverse;
  }
}
@media (max-width: 1080px) {
  .anniversary_message__item {
    padding: 3rem;
  }
}
.anniversary_message__item {
  width: 100%;
  gap: 0 4rem;
}
@media (max-width: 810px) {
  .anniversary_message__item {
    flex-direction: column;
    gap: 4rem 0;
  }
}
@media (max-width: 767px) {
  .anniversary_message__item {
    padding: 2rem;
  }
}

.anniversary_message__item .message__profile {
  width: 40%;
  margin-top: -6rem;
}
@media (max-width: 810px) {
  .anniversary_message__item .message__profile {
    width: 100%;
  }
}

.anniversary_message__item .message__text {
  flex: 2;
}

.anniversary_message__item .message__item--catch {
  font-family: "Noto Serif JP", serif;
  font-size: 2.6rem;
  font-weight: 500;
  color: #324298;
  line-height: 1.4;
  text-align: left;
}
@media (max-width: 767px) {
  .anniversary_message__item .message__item--catch {
    font-size: 2rem;
  }
}

.anniversary_message__item .message__item--text {
  margin-top: 2rem;
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: left;
}
@media (max-width: 767px) {
  .anniversary_message__item .message__item--text {
    font-size: 1.5rem;
  }
}

.anniversary_message__item .message__profile__wrap {
  position: relative;
  display: inline-block;
}
.anniversary_message__item .message__item--img {
  position: relative;
}
.anniversary_message__item .message__item--img img {
  border-radius: 1rem;
  z-index: 2;
  position: relative;
}
.anniversary_message__item .message__item--name {
  text-align: right;
  margin-top: 2rem;
  color: #324298;
} 

.anniversary_message__item .message__item--name_pos {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}
.anniversary_message__item .message__item--name_name {
  font-family: "Noto Serif JP", serif;
  font-size: 2.2rem;
  line-height: 1.3;

}




/* ANNIVERSARY HISTORY SECTION */

#anniversaryInsideSideContainer {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

#section_anniversary {
  background: url(../img/anniversary/bg_history.png) top no-repeat;
  background-size: cover;
  width: 100%;
}
#section_anniversary .section__title {
  text-align: center;
}
#section_anniversary .section__title__en {
  font-family: "Noto Serif JP", serif;
  font-size: 2.0rem;
}
@media (max-width: 767px) {
  #section_anniversary .section__title__en {
    font-size: clamp(1.0rem, 1vw, 2rem);
  }
}
#section_anniversary .section__title__jp {
  font-family: "Noto Serif JP", serif;
  font-size: 3.4rem;
}
@media (max-width: 767px) {
  #section_anniversary .section__title__jp {
    font-size: clamp(1.7rem, 4vw, 3.4rem);
  }
}

.tbl__history {
  width: 100%;
}

@media (min-width: 768px) {
  .tbl__history__head,
  .tbl__history__body {
    display: flex;
  }
}

.tbl__history__col__okinawa {
  position: relative;
}

@media (min-width: 768px) {
  .tbl__history__col__kakazu {
    width: calc(62% - 10px);
    margin-right: 10px;
  }

  .tbl__history__col__okinawa {
    width: 38%;
  }
}
@media (max-width: 767px) {
  .tbl__history__head .tbl__history__col__okinawa {
    display: none;
  }
  .tbl__history__col__okinawa {
    overflow: hidden;
  }
}

.tbl__history__head .tbl__history__col__kakazu,
.tbl__history__head .tbl__history__col__okinawa {
  background-color: #324298;
  color: #FFF;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
}
.tbl__history__head .tbl__history__col__kakazu {
  width: 62%;
}
@media (max-width: 767px) {
  .tbl__history__head .tbl__history__col__kakazu {
    width: 100%;
  }
}

.tbl__history__head--title {
  color: #FFF;
  font-family: "Noto Serif JP", serif;
  font-size: 2.0rem;
  font-weight: bold;
  text-align: center;
  padding: 1em;
}


.tbl__history__body {
  background-color: #FFF;
  border-radius: 1.5rem;
  padding: 5rem 2rem 5rem 5rem;
}
@media (max-width: 767px) {
  .tbl__history__body {
    padding: 2.5rem;
  }
}

.history__box {
  padding: 0 0 8rem 4rem;
  position: relative;
  text-align: left;
}
@media (min-width: 768px) {
  .history__box {
    padding-right: 2rem;
  }
}
@media (max-width: 414px) {
  .history__box {
    padding: 0 0 6rem 3rem;
  }
}


.tbl__history__body .history__box::before {
  content: '';
  background-color: #324298;
  top: 0;
  left: 0;
  height: 100%;
  position: absolute;
  width: 1px;
}
.tbl__history__body .history__box:first-child:before {
  top: 2rem;
}
@media (max-width: 767px) {
  .tbl__history__body .history__box:first-child:before {
    top: 1.3rem;
  }
}

.tbl__history__body .history__box::after {
  content: '';
  background-color: #324298;
  display: block;
  position: absolute;
  height: 1px;
  top: 2rem;
  left: 0;
  width: 20px;
}
@media (max-width: 767px) {
  .tbl__history__body .history__box::after {
    top: 1.3rem;
  }
}

.tbl__history__body .history__box:last-child {
  padding-bottom: 0;
}
.tbl__history__body .tbl__history__col__kakazu {
  position: relative;
}
.tbl__history__body .tbl__history__col__kakazu::after {
  content: '';
  background-color: #324298;
  display: block;
  position: absolute;
  height: 1px;
  bottom: 0;
  left: 0;
  width: 20px;
}

.history__box .history__year {
  color: #324298;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2.0rem, 1.85vw, 2.8rem);
  line-height: 1.2;
  position: relative;
  text-align: left;
}

.history__box .history__text {
  font-size: 1.6rem;
  line-height: 1.6;
  margin: 1.2em 0;
  text-align: left;
}
@media (max-width: 767px) {
  .history__box .history__text {
    font-size: 1.5rem;
  }
}

.history__box .history__img {
  max-width: 400px;
  text-align: left;
}
.history__box .history__img + .history__img {
  margin-top: 2rem;
}

.history__box .history__img img {
  width: 100%;
  border-radius: 1rem;
}


.tbl__history__col__okinawa .col__okinawa_history .frm {
  border: solid 1px #324298;
  padding: 3rem;
  margin-bottom: 5rem;
}
@media (min-width: 768px) {
  .tbl__history__col__okinawa .frm {
    max-width: 400px;
    width: 100%;
  }
}
@media (max-width: 1080px) {
  .tbl__history__col__okinawa .col__okinawa_history .frm {
    margin-bottom: 1rem;
    padding: 2rem;
  }
}

.tbl__history__col__okinawa .col__okinawa_history .frm .frm__title {
  color: #324298;
  font-family: "Noto Serif JP", serif;
  font-size: 2.0rem;
  margin-bottom: 1em;
  text-align: left;
}

.tbl__history__col__okinawa .col__okinawa_history .frm .frm__text {
  margin-bottom: 1em;
}

.tbl__history__col__okinawa .col__okinawa_history .frm .frm__img {
  text-align: center;
}

.tbl__history__col__kakazu .js-modal-open {
  color: #324298;
  display: inline-block;
  text-align: center;
  margin-top: 2em;
  padding-right: 2rem;
  font-size: 1.5rem;
  position: relative;
}
.tbl__history__col__kakazu .js-modal-open::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0px;
  margin: auto;
  background-color: rgb(51, 67, 153);
  width: 0.8em;
  height: 0.8em;
  clip-path: polygon(40% 0px, 90% 50%, 40% 100%, 30% 90%, 70% 50%, 30% 10%);
  transform: translateY(-50%);
  transition: 0.4s;
}

.tbl__history__col__okinawa .modal a.js-modal-close {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #324298;
  display: inline-block;
  margin: 1em auto;
  text-align: center;
}
@media (min-width: 768px) {
  .tbl__history__col__kakazu .js-modal-open,
  .tbl__history__col__okinawa .modal a.js-modal-close {
    display: none;
  }
}


@media (max-width: 767px) {
  .tbl__history__col__okinawa .modal {
    transform: translateX(110%);
    opacity: 0;
    height: 100svh;
    left: 0;
    padding: 0 !important;
    position: fixed;
    top: 0;
    transition: opacity 1s, transform 0.5s;
    width: 100%;
    z-index: 9999;
  }

  .tbl__history__col__okinawa .modal.fadein {
    opacity: 1;
    transform: translateX(0);
  }

  .tbl__history__col__okinawa .modal__bg {
    background: rgba(0, 0, 0, 0.3);
    height: 100svh;
    position: absolute;
    width: 100%;
  }

  .tbl__history__col__okinawa .modal__content {
    background: url(../img/anniversary/bg_history.png) center no-repeat;
    background-color: #FFF;
    background-size: cover;
    height: calc(100svh + 80px);
    left: 0;
    overflow-y: scroll;
    padding: 8rem 2rem 10rem;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
  }

  .tbl__history__col__okinawa .frm {
    text-align: left;
  }
}

.tbl__history__col__okinawa .modal__content .title {
  background-color: #324298;
  color: #FFF;
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  padding: 0.5em;
  margin-bottom: 10px;
  text-align: center;
}
@media (min-width: 768px) {
  .tbl__history__col__okinawa .modal__content .title {
    display: none;
  }
}


.tbl__okinawa_history {}
.tbl__okinawa_history th,
.tbl__okinawa_history td {
  font-size: 1.5rem;
  text-align: left;
  line-height: 1.6;
  padding-bottom: 2rem;
}
.tbl__okinawa_history th {
  padding-right: 0.5em;
  width: 6em;
}
.tbl__okinawa_history td {
  width: calc(100% - 7em);
}



/*固定メニューボックス*/
.fix-menu-box {
  position: absolute;
  top: 60px;
  left: 3%;
  -webkit-transition: .4s;
  transition: .4s;
  z-index: 3;
}
@media (max-width: 1080px) {
  .fix-menu-box {
    display: none;
  }
}

.fix-menu-box.fixed {
  position: fixed;
  top: 180px;
}

.fix-menu-box.fixed-btm {
  position: absolute;
  top: 60px;
  bottom: 0;
}

.side-contents .fix-menu-box {
  position: static !important;
}


.fix-menu-box .menu-items .menu-item {
  color: #324298;
  line-height: 1.4;
  margin-bottom: 0.6em;
}

.fix-menu-box .menu-items .menu-item>a {
  color: #324298;
  padding-left: 1.5em;
  position: relative;
  font-family: "Noto Serif JP", serif;
  font-size: 1.7rem;
  font-size: clamp(1.3rem, 1vw, 1.7rem);
}

.fix-menu-box .menu-items .menu-item>a::before {
  content: '';
  background-color: #324298;
  display: block;
  top: 50%;
  left: 0;
  height: 1px;
  margin: auto;
  position: absolute;
  transition: .5s all;
  width: 1em;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}


#anniversary_foot {
  background: url(../img/anniversary/bg_anniversary_foot.png) center no-repeat;
  background-size: cover;
}

.anniversary_foot__text {
  text-align: center;
  color: #FFF;
  font-size: 1.6rem;
  line-height: 1.8;
}
@media (max-width: 767px) {
  .anniversary_foot__text {
    font-size: 1.5rem;
  }
}
.anniversary_foot__text--catch {
  font-family: "Noto Serif JP", serif;
  font-size: 3.4rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 1em;
}
@media (max-width: 767px) {
  .anniversary_foot__text--catch {
    font-size: 3rem;
  }
}