html {
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans JP", sans-serif,
    "游ゴシック", "Yu Gothic", Yu Gothic, "Hiragino Kaku Gothic ProN",
    "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック";
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: #262626;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
}
h2,
h3 {
  letter-spacing: 0.1em;
}
#scrollToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}
/* 矢印のスタイル */
#scrollToTop .arrow {
  display: none; /* テキストを非表示 */
}
#scrollToTop::after {
  content: "";
  display: block;
  position: absolute;
  top: 8px; /* ボタン内の中央に表示するため調整 */
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 12px;
  height: 12px;
  border-top: 2px solid white;
  border-right: 2px solid white;
  transform: rotate(-45deg); /* 上向き矢印 */
}
.custom-button {
  background-color: #cdbb9a;
}
.custom-button:hover {
  background-color: #c5b089;
}

@media (max-width: 640px) {
  body {
    font-size: 13px;
  }
}

.iframe-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  padding-top: 100%;
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ハンバーガーボタン全体のスタイル */
#menuButton {
  width: 30px; /* ボタン全体の幅 */
  height: 25px; /* ボタン全体の高さ */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 線の間に均等な余白を作成 */
  align-items: center;
}

/* 各線のスタイル */
#menuButton .line {
  width: 100%; /* 線の幅をボタンに合わせる */
  height: 2px; /* 線の太さ */
  background-color: white; /* 線の色 */
  transition: transform 0.3s ease, opacity 0.3s ease; /* アニメーション */
}

/* バツ印のスタイル */
.open .line:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.open .line:nth-child(2) {
  opacity: 0;
}

.open .line:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}
