@charset "utf-8";
body {
  background-color: #1b314a;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  -webkit-text-size-adjust: none;
  word-break: normal;
  word-wrap: break-word;
  font-family: 'Noto Sans JP', sans-serif;
  font-feature-settings: "palt";
  letter-spacing: 0.03em;
}

body {
  animation: blackIn 2s ease 0s 1 normal;
  -webkit-animation: blackIn 2s ease 0s 1 normal;
}

@keyframes blackIn {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

@-webkit-keyframes blackIn {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

a:link {
  text-decoration: underline;
  color: #aa1a43;
}

a:visited {
  text-decoration: underline;
  color: #aa1a43;
}

a:hover {
  text-decoration: underline;
  color: #3247bf;
}

a.link:link {
  text-decoration: underline;
  color: #fff;
}

a.link:visited {
  text-decoration: underline;
  color: #fff;
}

a.link:hover {
  text-decoration: underline;
  color: #aa1a43;
}

.wrap {
  width: 100%;
}

.bg-w {
  background-color: #efefef;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #1b314a;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 99999;
  transition: opacity 0.5s ease;
}

#loading-screen .loading-text {
  color: #fff;
  font-size: min(3.2vw, 48px);
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  line-height: 1.4;
}

.loading-text span {
  display: block;
  font-size: 80%;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

nav.visible {
  transform: translateY(0);
  opacity: 1;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  transform: none;
  opacity: 1;
  transition: none;
}

.main-nav li a,
.site-title a {
  color: #fff;
  text-decoration: none;
  font-family: "Shippori Mincho", serif;
  font-style: normal;
  font-size: 15px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  position: relative;
}

.main-nav li a::after,
.site-title a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: width 0.3s ease;
}

.main-nav li a:hover::after {
  width: 100%;
}

.site-title {
  position: absolute;
  top: 5px;
  left: 10px;
  color: #fff;
  font-size: 18px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
}

.content {
  width: 100%;
}

.inner {
  width: 100%;
}

.footer {
  width: 100%;
  padding: 10px 0;
  text-align: center;
  color: #fff;
  font-size: 10px;
  background-color: #1b314a;
}

@media screen and (min-width: 1px) and (max-width: 743px) {
  .pc {
    display: none;
  }

  body {
    font-size: 12px;
    line-height: 1.6;
  }

  #loading-screen .loading-text {
    font-size: 9vw;
  }
  
  .footer {
    font-size: 2.4vw;
  }

  .garden-text {
    width: 100%;
    height: auto;
    padding: 3rem 10% 3rem;
    line-height: 1.8;
    background: rgba(0, 0, 0, 0.3);
    overflow: visible;
  }

  .garden {
    width: 100%;
    display: block;
    background-size: cover;
    background-position: center;
    background-color: #1b314a;
    height: auto;
  }
}

@media screen and (min-width: 744px) and (max-width: 1024px) and (orientation:portrait) {
  .sp {
    display: none;
  }

  #loading-screen .loading-text {
    font-size: 5.6vw;
  }

}

@media screen and (min-width: 1025px) {
  .sp {
    display: none;
  }

  .snap-container {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
    scroll-behavior: smooth;
  }
  
  .snap-section {
    scroll-snap-align: start;
  }
  
  .snap-section:not(#access) {
    height: 100vh;
  }

  /* スクロールバー全体 */
  ::-webkit-scrollbar {
    width: 8px;
    /* 横幅 */
    height: 8px;
    /* 横スクロール時の高さ（必要なら） */
  }

  /* スクロールバーのトラック（背景） */
  ::-webkit-scrollbar-track {
    background-color: #39597d;
    /* 背景色 */
  }

  /* スクロールバーのつまみ（ドラッグ部分） */
  ::-webkit-scrollbar-thumb {
    background-color: #061323;
    /* 背景色 */
    border-radius: 4px;
    /* 丸みをつける */
  }

  /* ホバー時のつまみ */
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
    /* 濃いめに変化 */
  }

}