html {
  font-size: 62.5%;
  font-family: "Zen Maru Gothic", sans-serif;
  background-color: #e9e3d1;
  scroll-behavior: smooth;
  color: #3c4d39;
}

section {
  max-width: 500px;
  margin-inline: auto;
}

.hdg {
  font-family: "Bitcount Single", system-ui;
  letter-spacing: 2px;
}


/* ===== loading_animation ===== */

#loading {
  position: fixed;
  inset: 0;
  background: #3c4d39;
  z-index: 9999;
  display: grid;
  place-items: center;
}

.loading__bar {
  width: 200px;
  height: 10px;
  background: rgba(255,255,255,.2);
  border-radius: 4px;
}

.loading__progress {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 4px;
  background: #f26d3d;
  transition: width .2s ease;
}

.loading__text {
  margin-top: 10px;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 300;
  color: #e9e3d1;
  font-family: "Bitcount Single", system-ui;
}

#loading.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}


/* ===== hamburger__btn===== */
.hamburger {
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.hamburger__container {
  display: flex;
  justify-content: right;
  align-items: center;
  max-width: 500px;
  padding: 20px 30px;
  margin: 0 auto;
  background-color: transparent;
}

.hamburger__btn{
  position: relative;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger__btn span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 1px;
  background: #f26d3d;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger__btn span:nth-child(1) { top: 0; }
.hamburger__btn span:nth-child(2) { top: 11px; }

/* active（×になる） */
.hamburger__btn.is-active span {
  background: #f26d3d;
}
.hamburger__btn.is-active span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.hamburger__btn.is-active span:nth-child(2) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ===== drawer ===== */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: calc(100dvh);
  transform: translateX(100%);
  transition: transform 0.4s ease;
  background: rgba(0,0,0,.7);
  z-index: 999;
}

.drawer.is-active {
  transform: translateX(0);
}

.drawer__list {
  padding: 60px 20px;
  list-style: none;
}

.drawer__list li {
  margin-bottom: 24px;
  text-align: center;
}

.drawer__list a {
  font-size: 2.4rem;
  text-decoration: none;
  color: #fff;
  opacity: 1;
  font-family: "Bitcount Single", system-ui;
}


.kv {
  padding: 0 20px;
  width: 100%;
  max-width: 500px;
  height: calc(var(--vh) * 100);
  margin: 0 auto;
  position: relative;
  overflow: hidden;

  video {
    height: 100%;
    object-fit: cover;
  }
}

.kv__wrapper,
.kv__inner {
  height: calc(var(--vh) * 100);
  position: relative;
}

.kv__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  background: #000;
  opacity: .3;
  z-index: 99;
}

.kv__hdg {
  position: absolute;
  padding: 20px;
  width: 100%;
  bottom: 50px;
  left: 50%;
  font-size: 2.6rem;
  font-weight: 500;
  z-index: 100;
  color: #fff;
  line-height: 1;
  transform: translateX(-50%);

  > p {
    text-align: center;
  }

  > p:nth-of-type(1) {
    font-size: 2.0rem;
  }

  > p:nth-of-type(2) {
    margin-block: 20px;
    font-size: 3.2rem;
    line-height: 1.2;
  }

  > p:nth-of-type(3) {
    font-size: 1.6rem;
  }

  > p:nth-of-type(4) {
    margin-top: 5px;
    font-size: 1.8rem;
  }
}

/* slick本体 */
.swiper {
  height: 100%;
}

/* 画像 */
.swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==== greeting==== */
.greeting {
  margin-top: 100px;

  .greeting__container {
    padding: 0 20px;
  }

  .greeting__inner {
    padding: 15px;
    border: solid 2px #3c4d39;
    text-align: center;
    color: #3c4d39;
  }

  .greeting__hdg {
    font-size: 2.0rem;
  }

  .greeting__desc {
    margin-top: 10px;
    font-size: 1.4rem;
  }

  .greeting__date {
    margin-top: 10px;
    font-size: 1.2rem;
  }

  .greeting__name {
    margin-top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
  }
}

/* Profile */
.profile {
}
.profile__container {
  padding: 50px 20px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.profile__hdg {
  text-align: center;
  color: #3c4d39;

  > h2 {
    font-size: 3.0rem;
  }
}

.profile__tabs {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0 0;
}

.profile__tab {
  width: 50%;
  padding: 10px 0;
  text-align: center;

  > h3 {
    position: relative;
    width: fit-content;
    margin: 0 auto;
    padding-bottom: 3px;
    font-size: 2.4rem;
    font-weight: bold;

    &::after {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 4px;
      border-radius: 1px;
      content: "";
      background: #f26d3d;
      transition: width 0.4s ease;
    }
  }

  &.is-active {
    > h3 {
      &::after {
        width: 100%;
      }
    }
  }

  &.profile__tab--groom {
    > h3 {
      &::after {
        left: auto;
        right: 0;
      }
    }
  }
}

.profile__item.is-active {
  opacity: 1;
  position: relative;
}

.profile__item {
  padding: 20px;
  margin-top: 10px;
  position: absolute;
  transition: opacity 0.4s ease;
  opacity: 0;
  inset: 0;
}

.profile__image {
  width: 50%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;

  > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
  }
}

.profile__name {
  margin-top: 10px;
  font-family: "Bitcount Single", system-ui;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 600;
}

.profile__detail {
  margin: 0 auto;
  width: 50%;
  text-align: center;
}

.profile__shimei {
  font-size: 1.4rem;
}

.profile__birth {
  font-size: 1.2rem;
  margin-top: 5px;
}

.profile__tags {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;

  > li {
    position: relative;
    padding: 4px 6px;
    border: solid 1px #3c4d39;
    font-size: 1.2rem;
  }
}

.profile__contact {
  display: block;
  margin: 20px auto 0;
  width: 30px;
  height: 30px;

  > img {
    width: 100%;
  }
}

.profile__btn {
  margin: 30px auto 0;

  > button {
    display: block;
    padding: 5px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.4rem;
    border-radius: 2px;
    border: solid 1px #333;
    background-color: transparent;
  }
}

/* ==== history ==== */
.history {
  padding: 20px 0;
  margin-top: 40px;
  position: relative;

  .history__hdg {
    text-align: center;
    color: #3c4d39;
    > h3 {
      font-size: 3.0rem;
    }
  }
}

.history__list {
  position: relative;
  height: 100%;
  padding-top: 20px;
  padding-left: 20px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;

  &::before {
    position: absolute;
    height: 100%;
    width: 2px;
    left: 0;
    top: 0;
    content: '';
    background-color: #7a8367;
  }
}

.history__item {
  position: relative;
  width: 100%;
  line-height: 1.6;
  text-align: center;
}

.history__year {
  position: relative;
  margin-bottom: 10px;
  padding-left: 40px;
  font-size: 2.0rem;
  text-align: left;
  font-weight: bold;

  &::before {
    position: absolute;
    top: 50%;
    left: -27px;
    width: 15px;
    height: 15px;
    content: '';
    background-color: #f26d3d;
    border-radius: 50%;
    transform: translateY(-50%);
  }

  &::after {
    position: absolute;
    top: 50%;
    left: -8px;
    width: 30px;
    height: 2px;
    content: '';
    border-top: 4px dotted #f26d3d;
    transform: translateY(-50%);
  }
}

.history .swiper {
  position: relative;
}

.swiper {
  padding: 50px;
  transform-style: preserve-3d;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 300px;
  height: 300px;
}

.swiper-slide img {
  display: block;
  width: 100%;
}

.history__image {
  position: relative;
  margin-top: 20px;
  margin-left: 60px;
  margin-right: 20px;
}

.history__desc {
  padding-left: 40px;
  margin-top: 10px;
  font-size: 1.2rem;
  text-align: left;
}

.js-zoom-image {
  cursor: zoom-in;
  transition: transform .3s ease;
}

/* 拡大中 */
.zoomed-image {
  position: fixed;
  inset: 0;
  margin: auto;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 800;
  pointer-events: all;
}

/* 背景 */
.zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 799;
}

/* MENU */
.menu {
  margin-top: 100px;
}
.menu__container {
  padding: 0 20px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.menu__hdg {
  text-align: center;
  font-size: 2.0rem;
}

.menu__contents {
  position: relative;
  padding:  50px 20px;
  margin-top: 20px;
  min-height: 500px;

  &::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background-color: hsl(0, 0%, 20%);
    opacity: .7;
    z-index: -1;
  }
  
  &::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background-image: url('/assets/images/common/img_menu_bg.jpg');
    background-size: cover;
    background-position: 31%;
    background-repeat: no-repeat;
    z-index: -2;
  }
}

.menu__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.menu__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  color: #fff;
}

.menu__course {
  font-size: 1.2rem;
  text-align: center;
}

.menu__name {
  font-size: 1.4rem;
  text-align: center;
}

.menu__multiple {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
  row-gap: 5px;
  column-gap: 20px;

  > li {
    font-size: 1.2rem;
  }
}

.to-profile {
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0 20px;

  a {
    display: block;
    width: 100%;
    border: solid 2px #333;
    padding: 10px 0;
    font-size: 2.0rem;
    text-align: center;
  }
}

.seat {
  margin-top: 100px;

  .seat__container {
    max-width: 500px;
    padding: 20px;
  }

  .seat__hdg {
    text-align: center;
    font-size: 2.0rem;
  }

  img {
    width: 100%;
    margin-top: 20px;
    border: solid 4px #f26d3d;
  }
}

.movie {
  padding: 0 20px;
  margin: 100px auto;
}

/* ==== フェードイン ==== */
.js-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.js-fade-in.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* ==== スクロールトップ ==== */
.js-to-top {
  position: fixed;
  right: 20px;
  bottom: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #7a8367;
  border: solid 2px #e9e3d1;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
  z-index: 98;

  &::before {
    content: '';
    width: 15px;
    height: 15px;
    border: 3px solid #e9e3d1;
    border-left: 0;
    border-bottom: 0;
    transform: translateY(-5px) translateX(-50%) rotate(-45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    box-sizing: border-box;
    }
}

.js-to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}



