@charset "Utf-8";

/* リセットCSS */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.zen-maru-gothic-regular {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 400;
  font-style: normal;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 1s;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}

nav,
main,
footer {
  margin: 0 auto;
  width: min(100%, 1000px);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
  font-family: "Zen Maru Gothic", serif;
  background-color: #f8eedb;
}

img {
  max-width: 100%;
}

.zen-maru-gothic-regular {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 400;
  font-style: normal;
}

.margin-left30 {
  margin-left: 30px;
}

.scroll_up {
  transition: 0.8s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}
.scroll_up.on {
  transform: translateY(0);
  opacity: 1;
}

/* ボタン */
.button {
  background-color: #feea25;
  padding: 10px 20px;
  border-radius: 10px;
}

/* header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: 0.15s;
  width: 100%;
}
/* .header nav {
  width: 400px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 70px;
} */
.header h1 {
  width: 300px;
}
.header h1 img {
  padding-left: 20px;
  padding-top: 10px;
}
.header-icon-moon {
  width: 50px;
}
.header {
  display: none;
}
@media screen and (max-width: 800px) {
  .header-body {
    border-radius: 0 0 40px 40px;
  }
  .header {
    display: block;
  }
}

@media screen and (max-width: 1535px) {
  .header-body div.header-wide {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

@media screen and (max-width: 600px) {
  .header-body div.header-wide {
    padding-top: 16px;
    padding-bottom: 16px;
    width: 82%;
  }
}

@media screen and (max-width: 1535px) {
  .header-body div.header-wide .header-logo {
    width: 134px;
  }
  ß .header-body div.header-wide .header-logo img {
    width: 100%;
  }
}

@media screen and (max-width: 1110px) {
  .header-body div.header-wide .header-logo {
    width: 114px;
  }
}

@media screen and (max-width: 600px) {
  .header-body div.header-wide .header-logo {
    width: 90px;
  }
}

/* column */
.column {
  display: flex;
}

.center {
  width: 600px;
}

@media screen and (max-width: 1535px) {
  .center {
    width: 450px;
  }
}

@media screen and (max-width: 600px) {
  .center {
    width: 100%;
  }
}
/* left */
.side-left-li {
  width: 150px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  font-size: 1.3em;
  gap: 15px;
}

.side-left-li li::after {
  content: "";
  display: block;
  border-bottom: 2px dashed #feea25;
  width: 150px;
  height: 10px;
}

.left {
  position: sticky;
  overflow: hidden;
  top: 0;
  height: 100vh;
  width: calc(50% - 300px);
  background-size: cover;
  z-index: 80;
  background-color: #3a5b72;
}

@media screen and (max-width: 1535px) {
  .left {
    width: calc(50% - 225px);
  }
}

@media screen and (max-width: 600px) {
  .left {
    display: none;
  }
}

.left,
.right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
/* right */

.right {
  position: sticky;
  overflow: hidden;
  top: 0;
  height: 100vh;
  width: calc(50% - 300px);
  background-size: cover;
  z-index: 80;
  background-color: #3a5b72;
}
.side-right-img {
  width: min(70%, 1000px);
  margin: 0 auto;
}

@media screen and (max-width: 1535px) {
  .right {
    width: calc(50% - 225px);
  }
}

@media screen and (max-width: 600px) {
  .right {
    display: none;
  }
}

/* center */

.button {
  background-color: #feea25;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 0 #a09745;
  transition: 0.3s;
}
.button:hover {
  transform: translateY(3px);
  transition: 0.3s;
  box-shadow: none;
}

/* ページ遷移アニメーション */

#load_animation {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background-color: #3a5b72;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#load_animation .load_img {
  padding: 50px 0;
}

#load_animation .load_img img {
  width: 30vh;
  height: auto;
  display: none;
}

#load_animation .loading_gif {
  padding: 50px 0;
}

#load_animation .loading_gif img {
  width: 30vh;
  height: auto;
  display: none;
}

@keyframes pageAnime {
  0% {
    transform-origin: top;
    transform: scaleY(0);
  }

  30% {
    transform-origin: top;
    transform: scaleY(1);
  }

  70% {
    transform-origin: bottom;
    transform: scaleY(1);
  }

  100% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
}
/* ファーストビュー */
.main-v {
  height: 80vh;
  display: flex;
  padding-bottom: 5vh;
  background-color: #3a5b72;
}

.main-v img {
  object-fit: cover;
}

.scroll {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.scroll-down {
  width: 2px;
  height: 80px;
  background: #3a5b72;
  /* animation: scrollDown 2s ease infinite; */
}

@keyframes scrollDown {
  0% {
    transform-origin: top;
    transform: scaleY(0);
  }

  45% {
    transform-origin: top;
    transform: scaleY(1);
  }

  55% {
    transform-origin: bottom;
    transform: scaleY(1);
  }

  100% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
}

/* ハンバーガーメニュー */
.header-nav {
  display: block;
}
/* スマートフォンサイズのスタイル */
@media screen and (max-width: 768px) {
  /* 例：画面幅が768px以下の場合 */
  .header-nav {
    display: none; /* スマートフォンでは非表示 */
  }

  .header-icon-moon {
    display: block; /* スマートフォンでは表示 */
    cursor: pointer;
  }

  /* ハンバーガーメニューが開いた時のナビゲーションのスタイル */
  .header-nav.open {
    display: block; /* または適切な表示方法（例: flex, grid） */
    position: absolute; /* 必要に応じて調整 */
    top: 60px; /* ヘッダーの高さに合わせて調整 */
    left: 0;
    width: 100%;
    background-color: #f0f0f0; /* 背景色 */
    z-index: 10; /* 他の要素よりも前面に表示 */
  }
}
/* center */
.scroll {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.scroll-down {
  width: 2px;
  height: 80px;
  background: #3a5b72;
  /* animation: scrollDown 2s ease infinite; */
}

@keyframes scrollDown {
  0% {
    transform-origin: top;
    transform: scaleY(0);
  }

  45% {
    transform-origin: top;
    transform: scaleY(1);
  }

  55% {
    transform-origin: bottom;
    transform: scaleY(1);
  }

  100% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
}

/* ハンバーガーメニュー */
/* チェックボックスは見せない */
#menu-btn {
  display: none;
}

/* ハンバーガーアイコン（ラベル） */
.menu-btn {
  position: fixed;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1001;
}

/* メニュー本体 */
.g-nav {
  position: fixed;
  top: -100%;
  right: 0;
  width: 200px;
  height: 400px;
  display: flex;
  background-color: #3a5b72;
  border-radius: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  transition: 0.5s;
  z-index: 1000;
  box-shadow: #f8eedb 10px;
}

.g-nav a {
  text-decoration: none;
  color: #fff;
  font-size: 1em;
  display: block;
  width: 100%;
}
.g-nav li::after {
  content: "";
  display: block;
  border-bottom: 2px dashed #feea25;
  width: 150px;
  height: 10px;
}

/* チェックが入ったらメニュー出す！ */
#menu-btn:checked ~ .g-nav {
  top: 0;
}

/* ハンバーガーメニューここまで */

/* footer */
.footer {
  width: 100%;
  color: #fff;
  font-size: 0.7em;
  margin-top: 50px;
}
.footer-logo {
  text-align: center;
}
.footer-tree {
  width: 150px;
  margin: 0 auto;
  margin-bottom: -5px;
}

.footer-back {
  background-color: #3a5b72;
  width: 100%;
  border-radius: 600px 600px 0 0 / 50px 50px 0 0;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-back img {
  width: 50%;
  padding-top: 30px;
  padding-bottom: 10px;
}

.footer-back small {
  padding-bottom: 10px;
}

.footer-text {
  display: flex;
}
.footer-text p {
  padding: 10px;
}

/* 上に戻る */
.gotop {
  position: fixed;
  bottom: 70px;
  right: 100px;
  width: 100px;
  display: none;
  z-index: 1000;
}

@media screen and (max-width: 600px) {
  .gotop {
    bottom: 5%;
    right: 5%;
  }
}
