html {
  scroll-behavior: smooth;
}

li {
  list-style: none;
}

li {
  font-family: "Karla", sans-serif;
}

p,
li {
  color: #363634;
}

h2 {
  text-align: center;
  color: #363634;
  font-family: "Meie Script", cursive;
  font-size: 12vw;
  margin-bottom: 40px;
  padding-top: 150px;
  font-weight: 500;
}

/*ハンバーガーメニューここから*/

.hamburger-range {
  padding-right: auto;
  .menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #e8e8e7;
    border: 2px solid #ffffff9d;
    border-radius: 10px;
    opacity: 0.9;
  }
  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    content: "";
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
  }
  .menu-btn span:before {
    bottom: 8px;
  }
  .menu-btn span:after {
    top: 8px;
  }
  #menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(
      255,
      255,
      255,
      0
    ); /*メニューオープン時は真ん中の線を透明にする*/
  }
  #menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }
  #menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }
  #menu-btn-check {
    display: none;
  }
  .menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    background-color: #e8e8e7;
    opacity: 0.9;
  }
  .menu-content ul {
    padding: 70px 10px 0;
  }
  .menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
  }
  .menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color: #363634;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
  }
  .menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
  }
  .menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%; /*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #e8e8e7;
    transition: all 0.5s; /*アニメーション設定*/
  }
  #menu-btn-check:checked ~ .menu-content {
    left: 0; /*メニューを画面内へ*/
  }
}

/*ハンバーガーメニューここまで*/

header {
  h1 {
    text-align: center;
    img {
      width: 180px;
    }
  }
  nav {
    display: none;
  }
}

/*TOPスライドイン、フェードインここから*/
#changePic {
  /* ここに transition を戻します */
  transition: opacity 1s ease-in-out; /* 1秒かけてじわっと変化 */
  /* その他のスタイルは必要に応じて維持 */
}

img {
  width: 1000px;
}

#home {
  background-color: #f1f1f1;
  padding-bottom: 70px;
}

#home img {
  display: block;
  width: 100%;
}

/* slideInアニメーションを適用するための新しいクラス */
.slide-in-initial {
  animation: slideIn 3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideIn {
  0% {
    transform: translateX(180px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* 既存の fade-in, show クラスはそのまま */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

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

/*TOPスライドイン、フェードインここまで*/

#concept {
  padding-right: 3%;
  padding-left: 3%;
  background-color: #f1f1f1;
  padding-bottom: 60px;
  h2 {
    padding-top: 30px !important;
  }
  .concept-range {
    width: 100%;
  }
  .concept-text {
    margin-top: 50px;
  }
  p {
    font-family: "Noto Serif JP", serif;
    line-height: 2em;
    letter-spacing: 0.07em;
    color: #2d2d2a;
    text-align: justify;
    font-size: 0.9rem;
  }

  img {
    width: 70%;
    display: block;
    margin-top: 50px;
    margin-right: auto;
    margin-left: auto;
  }
}

/*スクロール*/

.box {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.box {
  /*追加*/
  opacity: 0;
  visibility: hidden;
  transition: all 3s;
  transform: translateY(150px);
}

.is-active {
  /*要素を表示させる*/
  opacity: 1;
  visibility: visible;
  /*元の位置に戻す*/
  transform: translateY(0);
}

/*スクロールここまで*/

.menu-top {
  position: relative;
  .custom-shape-divider-top-1746682113 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
  }

  .custom-shape-divider-top-1746682113 svg {
    position: relative;
    display: block;
    width: calc(193% + 1.3px);
    height: 100px;
  }

  .custom-shape-divider-top-1746682113 .shape-fill {
    fill: #f1f1f1;
  }
}

#menu {
  background: linear-gradient(
    -96deg,
    rgba(255, 252, 250, 1) 0%,
    rgba(225, 204, 190, 0.94) 100%
  );
  padding-bottom: 60px;
  ul {
    display: none;
  }

  th,
  td,
  h3 {
    color: #363634;
  }

  th,
  td,
  p {
    font-family: "Noto Serif JP", serif;
  }

  p {
    font-size: 0.9rem;
  }

  .price-tabel {
    padding: 0 3%;
  }

  tr {
    margin-bottom: 30px;
    line-height: 2.5em;
  }

  th {
    text-align: left;
    font-weight: normal;
    display: inline-block;
    width: 250px;
  }

  h3 {
    font-size: 1.8rem;
    font-family: "Karla", sans-serif;
    border-bottom: 1.5px solid #363634;
    width: 200px;
    font-weight: normal;
    padding-bottom: 5px;
    margin-bottom: 10px;
  }

  img {
    width: 200px;
    margin: 30px 0;
    filter: drop-shadow(10px 10px 10px rgb(118, 117, 117));
  }

  .bridal-list-mobile,
  .menu-subtext-mobile {
    margin-top: 50px;
  }

  .menu-subtext-mobile {
    p {
      font-size: 0.8rem !important;
    }
  }
}

.style-top {
  position: relative;
  .custom-shape-divider-top-1746682934 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
  }

  .custom-shape-divider-top-1746682934 svg {
    position: relative;
    display: block;
    width: calc(193% + 1.3px);
    height: 147px;
  }

  .custom-shape-divider-top-1746682934 .shape-fill {
    fill: #f3e1d6a1;
  }
}

#styles {
  p {
    text-align: right;
    margin-right: 60px;
    margin-top: 30px;
    font-family: "Karla", sans-serif;
    font-size: 1.2rem;
    a {
      text-decoration: none;
      color: #6a6a6a;
      &:hover {
        opacity: 0.7;
        color: rgb(247, 198, 0);
      }
    }
    span {
      border-bottom: 1px solid #6a6a6a;
      padding-right: 15px;
    }
  }

  /*スライダーここから*/
  .image-slider-container {
    position: relative;
    width: 80%; /* スライダーの幅 */
    margin: 20px auto;
    overflow: hidden;
  }

  .main-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    align-items: center;
  }

  .slide {
    min-width: 100%;
  }

  .slide img {
    width: 4;
    height: 500px;
    display: block;
    object-fit: contain;
  }

  .thumbnail-slider {
    display: flex;
    margin-top: 10px;
    justify-content: center;
  }

  .thumbnail {
    width: 80px;
    height: 50px;
    margin: 0 5px;
    opacity: 0.6;
    cursor: pointer;
    overflow: hidden;
  }

  .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  .thumbnail.active {
    opacity: 1;
  }

  .prev-button,
  .next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
  }

  .prev-button {
    left: 10px;
  }

  .next-button {
    right: 10px;
  }
  /*スライダーここまで*/
}

#staff {
  padding-bottom: 50px;
  background: #fff;
  background: linear-gradient(
    181deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(235, 217, 209, 1) 100%
  );
  img {
    width: 50vw;
    filter: drop-shadow(10px 10px 10px rgb(164, 164, 164));
  }

  ul {
    .profile {
      text-align: center;
      margin-top: 50px;
      .position {
        margin-top: 30px;
        font-size: 4vw;
        font-family: "Noto Serif JP", serif;
      }
      .profile-name {
        font-size: 10vw;
        font-family: "Meie Script", cursive;
        margin-top: 10px;
      }
      .profile-text {
        text-align: justify;
        margin-right: 5%;
        margin-left: 5%;
        font-family: "Noto Serif JP", serif;
        line-height: 1.8em;
        margin-top: 20px;
        font-size: 0.9rem;
      }
    }
  }
}

.pattern {
  position: relative;
  z-index: 1; /* fade-inより手前に配置 */
  .custom-shape-divider-top-1746680708 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
  }

  .custom-shape-divider-top-1746680708 svg {
    position: relative;
    display: block;
    width: calc(131% + 1.3px);
    height: 100px;
  }

  .custom-shape-divider-top-1746680708 .shape-fill {
    fill: #ebd9d1;
  }
}

#recruit {
  h2 {
    margin-left: -30px !important;
  }
  background-color: #f1f1f1;

  ul {
    display: none;
  }

  p {
    text-align: center;
    font-size: 1rem;
    font-family: "Noto Serif JP", serif;
  }

  table {
    margin: 30px auto;
  }

  td {
    display: inline-block;
    white-space: nowrap;
    margin: 30px auto;
    font-family: "Noto Serif JP", serif !important;
    a {
      font-size: 1.2rem;
      margin: 0 10px;
      border: 1px solid #363634;
      padding: 5px 10px;
      border-radius: 30px;
      text-decoration: none;
      color: #363634;
      &:hover {
        opacity: 0.7;
        color: rgb(247, 198, 0);
      }
    }
  }

  img {
    display: block;
    margin: 0 auto;
    width: 80vw;
    box-shadow: 20px 20px rgba(235, 217, 209, 1);
  }
}

.fade-in {
  position: relative;
  z-index: 0; /* patternより奥に配置 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition: opacity 3s, transform 2s;
}
.fade-in.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

#access {
  background: #f1f1f1;
  padding-bottom: 80px;
  a {
    text-decoration: none;
    color: #363634;
    &:hover {
      opacity: 0.7;
      color: rgb(247, 198, 0);
    }
  }
  span {
    border-bottom: 1px solid #363634;
  }
  .access-range {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  p {
    font-family: "Noto Serif JP", serif !important;
    font-size: 0.9rem;
  }
  ul {
    margin: 0 auto;
    border: 2px solid #ffffff9d;
    width: 90%;
    .shop-info,
    .shop-info1 {
      display: flex;
      flex-direction: column;
      line-height: 2.5em;
      h4 {
        font-weight: normal;
        font-family: "Noto Serif JP", serif !important;
        background-color: #ffffff9d;
        width: 150px;
        text-align: center;
        padding: 10px 0;
      }
    }
    .access-text,
    .access-text1 {
      padding: 10px 20px;
      border-bottom: 1px solid #ffffff9d;
    }
  }
  .access-map {
    iframe {
      display: block;
      margin: 50px auto;
      width: 80vw;
      height: 40vh;
    }
  }
}

footer {
  background: #f1f1f1;
  ul {
    display: flex;
    align-items: center;
    justify-content: center;
    li {
      margin: 5px 20px;
      width: 50px;
    }
  }
  small {
    padding: 10px 0;
    font-size: 1rem;
    font-family: "Karla", sans-serif;
    display: block;
    text-align: center;
  }
}
