body {
  font-family: 'New Tegomin', serif;
}

/* 音楽再生確認オーバーレイ */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: noise 8s steps(10) infinite;
  background: url("images/noise.png");
  background-color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 10000;
}

.overlay-logo {
  max-width: 200px;
  margin: 0 auto 50px;
  width: 100%;
  opacity: 1; /* 初期状態を表示 */
  animation-name: logo-fadein;
  animation-duration: 3s;
  animation-timing-function: ease-out;
  animation-fill-mode: none; /* アニメーション終了後も表示 */
}

@keyframes logo-fadein {
  0% {
      opacity: 0; /* アニメーション開始時は非表示 */
  }
  100% {
      opacity: 1; /* アニメーション終了時は表示 */
  }
}

.overlay-content {
  text-align: center;
}

.overlay-content p {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #50485D;
}



button {
  margin: 10px;
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

button:hover {
  opacity: 0.8;
}

.playbutton-box {
  display: flex;
  justify-content: center;
}

#playMusic {
  cursor: pointer;
  writing-mode: vertical-rl;
  border: 1px solid #50485D;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  justify-content: center;
  line-height: 0;
  background-color: transparent;
  color: #50485D;
  transition: 0.5s;
}

#playMusic:hover {
  background-color: #50485D;
  color: #fff;
}

#skipMusic {
  cursor: pointer;
  writing-mode: vertical-rl;
  border: 1px solid #50485D;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  justify-content: center;
  line-height: 0;
  background-color: transparent;
  color: #50485D;
  transition: 0.5s;
}

#skipMusic:hover {
  background-color: #50485D;
  color: #fff;
}


.start {
  background: #FFF;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 9000;
}

.start.click-none{
  opacity: 0;
  pointer-events: none;
  transition: 1.3s opacity;
}

.start::after {
  animation: noise 8s steps(10) infinite;
  background: url("images/noise.png");
  content: "";
  display: block;
  height: 300%;
  left: -100%;
  position: absolute;
  top: -100%;
  width: 300%;
  z-index: 2;
}

@keyframes noise {
  to {
    background-position: 0 0;
  }

  10% {
    background-position: -5% -10%;
  }

  20% {
    background-position: -15% 5%;
  }

  30% {
    background-position: 7% -25%;
  }

  40% {
    background-position: 20% 25%;
  }

  50% {
    background-position: -25% 10%;
  }

  60% {
    background-position: 15% 5%;
  }

  70% {
    background-position: 0 15%;
  }

  80% {
    background-position: 25% 35%;
  }

  90% {
    background-position: -10% 10%;
  }
}

.start .opening {
  position: fixed;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 10;
  width: auto;
  writing-mode: vertical-rl;
  font-size: 1.3rem;
  color: #50485D;
}

.start .opening p {
  line-height: 1;
  margin: 0;
  padding: 0;
}

.start .anime-skip{
  position: absolute;
  left: 50%;
  bottom: 5%;
  cursor: pointer;
  font-size: 20px;
  translate: -50% 0;
  z-index: 11;
}


.tate {
  writing-mode: vertical-rl;
}

@media (min-width:1024px) {
  .start .opening {
    position: fixed;
    left: 50%;
    top: 48%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 9999;
    width: auto;
    writing-mode: vertical-rl;
    font-size: 2rem;
    color: #50485D;
  }
}

@media (max-width:820px) {

  .start .opening {
    position: fixed;
    left: 50%;
    top: 48%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 9999;
    width: auto;
    writing-mode: vertical-rl;
    font-size: 1.8rem;
    color: #50485D;
  }
}

/* First view */



.header-logo {
  max-width: 140px;
  padding: 20px;
}

.firstview {
  background-image: url('path-to-your-image.jpg') no-repeat center center;
  background: rgb(139, 128, 179);
  background: url(images/snow.png) no-repeat top right, linear-gradient(180deg, rgb(98 85 143) 0%, rgb(121 119 163) 34%, rgb(158 157 191) 49%);
  background-size: 70%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.firstview h1 {
  font-size: 2rem;
  color: #fff;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  line-height: 0.8;
}

.firstview-article {
  writing-mode: vertical-rl;
  color: #fff;
  letter-spacing: 0.1em;
  line-height: 2;
}

.firstview-logo {
  mix-blend-mode: screen;
  padding: 10px;
  width: 100%;
  margin-bottom: 20px;
  opacity: 0;
  transform: translate(0 ,30px);
}
.firstview-logo.click-show{
  opacity: 1;
  transform: translate(0 ,0);
  transition: opacity 2.5s, transform 2.5s;
  transition-delay: .5s;
}

.firstview-img {
  position: absolute;
  max-width: 280px;
  display: block;
  bottom: -3%;
  right: 6%;
}

.section {
  padding: 50px;
  background: #f9f9f9;
  border-bottom: 1px solid #ccc;
}


@media (min-width:1024px) {

  .firstview h1 {
    font-size: 3rem;
  }

  .firstview-article {
    font-size: 1.3rem;
  }

  .firstview-logo {
    max-width: 200px;
  }

  .firstview-img {
    max-width: 600px;
    right: 20%;
    bottom: 0%;
  }

  .top-margin {
    margin-top: 100px;
    margin-right: 50px;
  }

}

@media (max-width:1023px) {

  .firstview {
    background-size: 100%;
  }

  .firstview-logo {
    margin-top: 20px;
  }

  .top-margin {
    margin-top: 70px;
  }
}

@media (max-width:1024px) {
  .firstview-img {
    max-width: 800px;
    right: 5%;
    bottom: 5%;
  }

}


@media (max-width:820px) {


  .firstview-img {
    position: absolute;
    max-width: 550px;
    display: block;
    bottom: 13%;
    right: 6%;
  }
}


@media (max-width:600px) {

  .firstview-img {
    position: absolute;
    max-width: 400px;
    display: block;
    bottom: 0%;
    right: -3%;
  }
}


@media (max-width:375px) {

  .firstview-article {
    line-height: 1.8;
  }

  .firstview-img {
    position: absolute;
    max-width: 300px;
    display: block;
    bottom: -3%;
    right: 0%;
  }

}

@media (max-width:350px) {

  .firstview-article {
    line-height: 1.5;
  }


  .firstview-img {
    position: absolute;
    max-width: 300px;
    display: block;
    bottom: 10%;
    right: 0%;
  }
}

.section-logo-mode {
  mix-blend-mode: screen;
}


/* section01 */

#section1 {
  background: rgb(139, 128, 179);
  background: url(images/section01-back.png) no-repeat center center, linear-gradient(180deg, rgb(98 85 143) 0%, rgb(121 119 163) 34%, rgb(158 157 191) 49%);
  background-size: cover;
  min-height: 1000px;
}

#section1 .container {
  max-width: 800px;
  margin: 0 auto;
}

#section1 img {
  width: 100%;
  max-width: 180px;
  mix-blend-mode: screen;
  padding: 30px 20px;
}

#section1 p {
  letter-spacing: 0.1em;
  line-height: 1.8;
  writing-mode: vertical-rl;
  color: #fff;
  font-size: 1.2rem;
}


@media (min-width:768px) {

  #section1 .container {
    padding-top: 100px;
  }

}

@media (max-width:767px) {
  #section1 {
    display: flex;
    align-items: center;
    min-height: 630px;
  }
}


/* section02 */




#section2 {
  padding-top: 100px;
  padding-bottom: 100px;
  background: rgb(139, 128, 179);
  background: url(images/section02-back.png) no-repeat bottom center, linear-gradient(180deg, rgb(98 85 143) 0%, rgb(121 119 163) 34%, rgb(158 157 191) 49%);
  background-size: cover;
  min-height: 800px;
}

.section02-logo {
  mix-blend-mode: screen;
  padding: 10px;
  width: 100%;
  max-width: 200px;
  margin: 20px auto;
  display: block;
  width: 100%;
}

#section2 h2 {
  line-height: 2;

}

#section2 p {
  line-height: 2;
}

@media (min-width:768px) {
  .section02-logo {
    max-width: 150px;
  }
}

/* section03 */

#section3 {
  padding-top: 100px;
  padding-bottom: 100px;
  background: rgb(139, 128, 179);
  background: url(images/section03-back.png) no-repeat bottom center, linear-gradient(180deg, rgba(85, 63, 97, 1) 0%, rgba(108, 92, 117, 1) 34%, rgba(108, 92, 117, 1) 49%);
  background-size: cover;
  min-height: 800px;
}

#section3 .container {
  max-width: 1000px;
  margin: 0 auto;
}


.sectiontitle {
  text-align: center;
  padding-bottom: 20px;
  color: #fff;
  border-bottom: 1px solid #fff;
  margin-bottom: 100px;
}

.sectiontitle h3 span {
  writing-mode: vertical-rl;
  border: 1px solid #fff;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  margin: 0 auto;
  justify-content: center;
  line-height: 0;
  padding-bottom: 5px;
}

/* ギャラリーのスタイル */


.section3-gallery ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  /* 画像間のスペース */
}

/* PC時 (横3x縦4) */
@media (min-width: 768px) {
  .section3-gallery ul {
    grid-template-columns: repeat(3, 1fr);
    /* 横3列 */
  }
}

/* スマホ時 (横2x縦6) */
@media (max-width: 767px) {
  .section3-gallery ul {
    grid-template-columns: repeat(2, 1fr);
    /* 横2列 */
  }
}

.section3-gallery ul li {
  overflow: hidden;
}

.section3-gallery ul li img {
  width: 100%;
  /* 画像をリストの幅に合わせる */
  height: auto;
  /* アスペクト比を維持 */
  display: block;
  /* 隙間を防ぐ */
}

.section3-gallery p {
  color: #fff;
  font-size: 1.5rem;
  writing-mode: vertical-rl;
  margin: 20px auto;
}

@media (min-width:768px) {
  .section3-gallery {
    display: flex;
  }
}

/* section04 */


#section4 {
  padding-top: 100px;
  padding-bottom: 100px;
  background: rgb(139, 128, 179);
  background: url(images/section04-back.png) no-repeat bottom center, linear-gradient(180deg, rgb(98 85 143) 0%, rgb(121 119 163) 34%, rgb(158 157 191) 49%);
  background-size: cover;
  min-height: 800px;
}

#section4 ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);

  /* 画像間のスペース */
}


#section4 .container {
  max-width: 1000px;
  margin: 0 auto;
}

.section4-article {
  color: #fff;
}

.section4-article p {
  font-size: 1.5rem;
  margin: 0 auto;
  padding-right: 10px;
}

.section4-article h4 {
  font-size: 2.5rem;
  margin-top: 15px;
  writing-mode: vertical-rl;
  margin: 0 auto;

}

@media (min-width: 768px) {
  .section4-article p {
    writing-mode: vertical-rl;
  }

}

@media (max-width: 767px) {
  .section4-article p {
    text-align: center;
  }

}

/* section05 */

#section5 {
  padding-top: 100px;
  padding-bottom: 100px;
  background: rgb(139, 128, 179);
  background: url(images/section05-back.png) no-repeat bottom center, linear-gradient(180deg, rgb(98 85 143) 0%, rgb(121 119 163) 34%, rgb(158 157 191) 49%);
  background-size: cover;
  min-height: 800px;
  color: #fff;
}

#section5 h4 {
  font-size: 2rem;
  margin-bottom: 50px;
  writing-mode: vertical-rl;

}

#section5 p {
  font-size: 1.375rem;
}

.slider-container {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  /* コンテンツのオーバーフローを隠す */

  position: relative;
}

.slider {
  width: 100%;
}

.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slick-next,
.slick-prev {
  top: 105%;
}

.slick-prev.slick-arrow {
  left: 10px;
  position: absolute;
  background: #ffffff;

}

.slick-next.slick-arrow {
  right: 10px;
  position: absolute;
  background: #ffffff;
}

.slider-container p {
  margin-top: 10px;

}

.slick-prev {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 1px;
  margin-top: 6.4px;
  border-radius: 9999px;
  background-color: #ffffff;
}

.slick-prev:before {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  left: 0;
  width: 10px;
  height: 1px;
  border-radius: 9999px;
  background-color: #ffffff;
  transform: rotate(-45deg);
  transform-origin: 0.5px 50%;
}

.slick-next {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 1px;
  margin-top: 6.4px;
  border-radius: 9999px;
  background-color: #ffffff;
}

.slick-next:before {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  right: 0;
  width: 10px;
  height: 1px;
  border-radius: 9999px;
  background-color: #ffffff;
  transform: rotate(45deg);
  transform-origin: calc(100% - 0.5px) 50%;
}

.slick-next:before,
.slick-prev:before {
  font-family: slick;
  font-size: 20px;
  line-height: 1;
  opacity: .75;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


@media (min-width: 1024px) {
  .slider .slick-slide {
    margin: 0 5px;
  }

  .slider .slick-list {
    margin: 0 -5px;
  }
}



/* section06 */

#section6 {
  padding-top: 100px;
  padding-bottom: 100px;
  background: rgb(139, 128, 179);
  background: url(images/section06-back.png) no-repeat bottom center, linear-gradient(180deg, rgb(98 85 143) 0%, rgb(121 119 163) 34%, rgb(158 157 191) 49%);
  background-size: cover;
  min-height: 800px;
  color: #fff;
}

#section6 .container {
  max-width: 1000px;
  margin: 0 auto;
}

#section6 p {
  font-size: 1.375rem;

}


/* section07 */
#section7 {
  color: #fff;
}

#section7 p {
  writing-mode: vertical-rl;
  font-size: 1.5rem;
}

.section07-back01 p {
  width: 3rem;
}

.section07-back01 {
  background: url(images/section7-01.jpg);
  background-size: cover;
  min-height: 500px;
  color: #fff;
  background-position: right;
}

.section07-back02 {
  background: url(images/section7-02.jpg);
  background-size: cover;
  min-height: 500px;
  color: #fff;
}

.section07-back03 {
  background: url(images/section7-03.jpg);
  background-size: cover;
  min-height: 500px;
  color: #fff;
}

.section07-back04 {
  background: url(images/section7-04.jpg);
  background-size: cover;
  min-height: 500px;
  color: #fff;
}


/* section8 */

#section8 {
  padding-top: 100px;
  padding-bottom: 300px;
  background: rgb(139, 128, 179);
  background: url(images/section08-back.png) no-repeat bottom center, linear-gradient(180deg, rgb(98 85 143) 0%, rgb(121 119 163) 34%, rgb(158 157 191) 49%);
  background-size: cover;
  background-position: center;
  min-height: 800px;
  color: #fff;
}

#section8 p {
  writing-mode: vertical-rl;
  font-size: 1.5rem;
}

.section8-secondback {
  background: url(images/section8-secondback.jpg);
  background-size: cover;
}

/* sectio09 */

#section9 {
  background: url(images/section09-back.jpg);
  background-size: cover;
  background-position: center;
  color: #fff;
}

#section9 p {
  writing-mode: vertical-rl;
  font-size: 1.5rem;
}


/* section10 */

#section10 {
  padding-top: 100px;
  padding-bottom: 100px;
  background: rgb(139, 128, 179);
  background: url(images/snow2.png) no-repeat top left, linear-gradient(180deg, rgb(98 85 143) 0%, rgb(121 119 163) 34%, rgb(158 157 191) 49%);
  background-size: 60%;
  min-height: 800px;
  color: #fff;
}

#section10 .container {
  max-width: 1000px;
  margin: 0 auto;
}


#section10 p {
  writing-mode: vertical-rl;
  font-size: 1.5rem;
}

/* secvtion11 */

#section11 {
  padding-top: 100px;
  padding-bottom: 200px;
  background: url(images/section11-back.png) no-repeat bottom right, linear-gradient(180deg, rgba(85, 63, 9, 1) 0%, rgba(198, 175, 120, 1) 47%, rgba(198, 175, 120, 1) 100%);
  background-size: 100%;
  min-height: 800px;
  color: #fff;
}

#section11 .container {
  max-width: 1000px;
  margin: 0 auto;
}

#section11 h4 {
  writing-mode: vertical-rl;
  font-size: 1.5rem;
  margin: 0 auto;
}


/* section12 */

#section12 {
  padding-top: 100px;
  padding-bottom: 100px;
  background: rgb(139, 128, 179);
  background: url(images/section12-back.png) no-repeat bottom center, url(images/snow2.png) no-repeat top left, linear-gradient(180deg, rgb(98 85 143) 0%, rgb(121 119 163) 34%, rgb(158 157 191) 49%);
  background-size: cover;
  min-height: 400px;
  color: #fff;
}


#section12 a {
  display: block;
  margin: 20px auto;
  max-width: 500px;
  height: 100px;
  font-size: 2rem;
  text-align: center;
  padding: 20px;
  background: #7976AA;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  transition: 0.5s;
  color: #fff;
  text-decoration: none;
}

#section12 a:hover {
  background-color: #000;
  color: #fff;
}

/* footer */

footer {
  padding-top: 100px;
  padding-bottom: 50px;
  background: #50485D;
  color: #fff;
}

.footer-logo {
  max-width: 90px;
  display: block;
  padding-right: 10px;
  padding-bottom: 20px;
}

.footer-menu {
  margin: 20px 0;
  border-top: 1px solid #fff;
  padding-top: 20px;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  justify-content: center;
  display: flex;
}

.footer-menu li {
  display: inline;
  margin: 0 10px;
  writing-mode: vertical-rl;
}

.footer-menu a {
  text-decoration: none;
  color: #fff;
  transition: 0.5s;
  position: relative;
  padding-top: 20px;
}

.footer-menu a:hover::before {
  content: '';
  display: inline-block;
  width: 19px;
  /*画像の幅*/
  height: 12.1px;
  /*画像の高さ*/
  background-image: url(images/under-menu-pointer.png);
  background-size: contain;
  vertical-align: middle;
  position: absolute;
  top: 0%;
  left: 15%;
}

.footer-article {
  writing-mode: vertical-rl;
}

.footer-article h1 {
  font-size: 2rem;
  letter-spacing: 0.2em;
}

.footer-article p {
  line-height: 2;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

@media (min-width:768px) {

  .footer-logo {
    margin-left: auto;
  }

  .footer-article h1 {
    font-size: 2.5rem;
    letter-spacing: 0.2em;
  }

  .footer-article p {
    line-height: 2;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
  }
}


@media (max-width:767px) {
  .footer-logo {
    margin: 0 auto;
  }
}

.footer__sns{
  padding: 0;
  column-gap: 16px;
  display: flex;
  list-style-type: none;
}
.footer__sns a{
  transition: opacity .3s;
}
.footer__sns a:hover{
  opacity: .6;
}
.footer__item img{
  width: auto;
  height: 25px;
}

@media (max-width: 767px){
  .footer__sns{
    justify-content: center;
  }
}

.back-to-top {
  width: 7.9375rem;
  position: fixed;
  bottom: 2.8125rem;
  right: 2.8125rem;
  aspect-ratio: 1/1;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 10;
}
.back-to-top img{
  width: 100%;
  height: 100%;
}
.back-to-top.show{
  opacity: 1;
  pointer-events: all;
}
.back-to-top.show:hover{
  opacity: .6;
}
.back-to-top::before{
  content: "ご注文は\aこちら";
  white-space: pre;
  position: absolute;
  top: 46%;
  left: 50%;
  text-align: center;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.2;
}
@media (max-width: 767px){
  .back-to-top{
    width: 5.4375rem;
    right: 0.625rem;
    bottom: 0.625rem;
  }
  .back-to-top::before{
    font-size: 0.8125rem;
  }
}