html {
  font-size: 100%;
  /* 1.6rem */
  font-family: "Shippori Mincho", serif;
}

body {
  color: #24292e;
}

a {
  text-decoration: none;
}

p {
  font-size: 1.3rem;
}

img {
  max-width: 100%;
}

li {
  list-style: none;
  font-size: 1.2rem;
}

.wrapper {
  max-width: 1080px;
  margin: 0px auto 0px auto;
  font-size: 0.9rem;
  padding: 0 4%;
}

.wrapper2 {
  max-width: 1080px;
  margin: 0px auto 0px auto;
  font-size: 0.9rem;
  padding: 0 4%;
}

.site-title {
  line-height: 1px;
  font-weight: 600;
  font-size: 2.4rem;
}

.site-title a {
  color: white;
  display: block;
}

/* Header */
#header {
  position: fixed; /* ヘッダーを画面上部に固定 */
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent; /* 背景を透明にする */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  height: 80px;
  z-index: 1000; /* 他の要素より前面に */
}

#header2 {
  position: fixed; /* ヘッダーを画面上部に固定 */
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0d0d0d; /* 背景を透明にする */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  height: 80px;
  z-index: 1000; /* 他の要素より前面に */
}

.logo {
  height: 60px;
}

#header ul {
  display: flex;
  padding: 10px 0;
  align-items: center;
}

#header ul li {
  font-size: 0.9rem;
  margin-left: 10px;
  margin-right: 10px;
}

#header ul li a {
  color: white;
  transition: all 0.3s;
}

#header ul li a:hover {
  opacity: 0.5;
}

.logo {
  height: 60px;
}

/* Hamburger Menu */

.hamburger {
  cursor: pointer;
  top: 20px;
  right: 20px;
  z-index: 1001;
}

.bar {
  width: 30px;
  height: 4px;
  background-color: #9e916f; /* ゴールド */
  margin: 6px 0;
  transition: 0.3s;
}

.menu {
  position: fixed;
  top: -100%; /* 初期状態で画面外 */
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(158, 145, 111, 0.7); /* 半透明の背景 */
  z-index: 1000;
  transition: top 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.menu ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  flex-direction: column;
}

.menu li {
  margin: 20px 0;
}

.menu-item-large {
  font-size: 32px; /* 英語のテキストを大きく */
  color: #ffffff; /* 白色 */
}

.menu-item-small {
  font-size: 12px; /* 日本語のテキストを小さく */
  color: #ffffff; /* 白色 */
}

.menu a {
  color: #ffffff; /* 白色 */
  text-decoration: none;
  transition: color 0.3s;
}

.menu a:hover {
  color: #ffd700; /* ゴールド */
}

.close-btn {
  margin-top: 30px;
  font-size: 20px;
  color: #ffffff; /* 白色 */
  cursor: pointer;
}

.menu.open {
  top: 0; /* メニューをスライドイン */
}
/* Main */
.firstview {
  position: relative;
  background-image: url("images/main-pc.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
  z-index: 0; /* 背景が他の要素より下に */
  margin-top: 0; /* ヘッダーが被るように調整 */
}

.sparkle {
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: gold;
  border-radius: 50%;
  animation: fly linear infinite;
  opacity: 0;
}

@keyframes fly {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) translateX(calc(100vw * (random(1, -1))));
    opacity: 0;
  }
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("your-image.jpg"); /* 背景画像のパスを指定 */
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.overlay-text {
  position: absolute;
  top: 50%; /* 縦位置を中央に */
  left: 50%; /* 横位置を中央に */
  transform: translate(-50%, -50%); /* 完全に中央揃え */
  color: #9e916f; /* テキストカラー */
  text-align: center;
  z-index: 1; /* テキストが前面に表示されるように */
  width: 90%; /* 横幅を広げて調整 */
  white-space: nowrap; /* 改行を防ぐ */
  overflow-wrap: normal; /* 改行をさせない */
}

.overlay-text h1 {
  font-size: 3rem; /* 見出しのサイズ */
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* テキストの影 */
}

.overlay-text p {
  font-size: 1.5rem; /* 段落のサイズ */
  margin-top: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* テキストの影 */
}

.overlay-pc {
  display: block; /* パソコン用のテキストを表示 */
}

.overlay-sp {
  display: none; /* スマホ用のテキストを非表示 */
}

/* About */
.p-center {
  text-align: center;
}

.sec-title {
  font-weight: 800;
  padding: 4%;
}

/* Access */
.access {
  display: flex;
  padding-bottom: 4%;
}

.column {
  width: 100%;
  padding: 0 4%;
}

.bg-black {
  background-color: #0d0d0d;
  /* 黒 */
  color: #ffffff;
  /* テキストは白 */
  max-width: 100%;
  height: 100vh;
}

.bg-black2 {
  background-color: #0d0d0d;
  /* 黒 */
  color: #ffffff;
  /* テキストは白 */
  max-width: 100%;
  padding-bottom: 80px;
}

.gmap {
  position: relative;
  width: 100%;
  /*16:9の比率にしたい場合、9/16=56.25%*/
}

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

footer {
  text-align: center;
  padding: 5px;
  background-color: white;
  color: #24292e;
  padding-bottom: 30px;
  margin-top: 10px;
}

/* About */
.about-title {
  font-size: 3rem;
  padding-top: 80px;
  padding-bottom: 2%;
}

.p-about {
  font-size: 1rem;
  line-height: 1.8;
}

.aboutview {
  position: relative;
  background-image: url("images/about-us.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
  z-index: 0; /* 背景が他の要素より下に */
  margin-top: 0; /* ヘッダーが被るように調整 */
}

/* Access */
.access-h1 {
  font-size: 1.8rem;
  color: #9e916f;
}

.p-access {
  font-size: 1rem;
  color: #9e916f;
}

.map-button-container {
  margin-top: 20px; /* 上部に余白 */
}

.map-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent; /* ゴールド色 */
  color: #9e916f; /* テキスト色を黒 */
  text-decoration: none; /* 下線を消す */
  border-radius: 5px; /* ボタンの角を丸く */
  font-size: 16px; /* フォントサイズ */
  font-weight: bold; /* フォントを太字に */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 軽い影をつけて浮かせる */
  transition: background-color 0.3s ease;
  transition-duration: 0.4s;
  border: 2px solid #9e916f;
}

.map-button:hover {
  background-color: #9e916f; /* ホバー時の色を少し暗く */
  color: white;
}

/* System */
.table-title {
  text-align: center;
  font-size: 2em;
  color: #333;
  margin-bottom: 20px;
}

.membership-table {
  width: 60%;
  margin: 2% auto 4% auto;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.table-header {
  background-color: white;
  color: black;
  font-weight: bold;
  text-align: center;
  padding: 12px;
  border: 1px solid #ddd;
  font-size: 1rem;
}

.tbody {
  text-align: center;
  color: white;
}

.table-row:nth-child(even) {
  background-color: #333;
}

.table-row:nth-child(odd) {
  background-color: #555;
}

.table-row:hover {
  background-color: #777;
}

.table-cell {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.caution {
  font-size: small;
  width: 60%;
}

.caution-center {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 10vh; /* Adjust based on desired spacing */
  margin: 0 auto;
  padding-bottom: 4%;
}

.overlay-sp-about {
  display: none;
}

.overlay-pc-about {
  display: block;
  padding-top: 100px;
  text-align: center;
  font-size: 3rem;
}

.p-membership-pc {
  font-size: 1.5rem;
  display: block;
}

.p-membership-sp {
  display: none;
}

/* SmartPhone */
@media screen and (max-width: 600px) {
  p {
    font-size: 0.9rem;
  }

  .site-title {
    margin-top: 20px;
  }

  #header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center; /* 高さを揃える */
    height: auto;
    line-height: normal;
    padding: 30px 8%; /* パディングを調整 */
  }

  #header2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center; /* 高さを揃える */
    height: 80px;
    line-height: normal;
    background-color: #0d0d0d;
    padding: 30px 8%; /* パディングを調整 */
  }

  .logo {
    margin-top: 0; /* マージンを調整して中央揃えに */
  }

  .hamburger {
    top: auto; /* 固定位置を調整 */
    margin-top: 0; /* マージンを調整して中央揃えに */
  }

  .firstview {
    background-image: url("images/main-pc.jpg");
    background-size: cover;
    background-position: center;
    height: 100vh;
  }

  .overlay-text {
    margin-top: 60px;
    top: 40%;
    width: 90%; /* スマホビューのテキストの横幅を広げる */
    left: 50%;
    white-space: normal; /* スマホビューでは通常の改行 */
    overflow-wrap: break-word; /* 必要に応じて改行 */
  }

  .overlay-text h1 {
    font-size: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  }

  .overlay-text p {
    font-size: 0.8rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  }

  .overlay-pc {
    display: none; /* パソコン用のテキストを表示 */
  }

  .overlay-sp {
    display: block; /* スマホ用のテキストを非表示 */
  }

  .access {
    display: flex;
    flex-flow: column;
    padding-bottom: 40px;
  }

  .sec-title {
    padding: 4%;
  }

  .access ul li {
    font-size: 0.8rem;
  }

  .cat1 {
    padding-bottom: 4%;
  }

  .gmap {
    position: relative;
    width: 100%;
    height: 0%;
  }

  .caution {
    font-size: 8px;
    width: 100%;
  }

  .caution-center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 10vh; /* Adjust based on desired spacing */
    margin: 0 auto;
    padding-bottom: 4%;
  }

  .overlay-sp-about {
    font-size: 20px;
    padding-top: 22%;
    text-align: center;
    color: #9e916f;
    display: block; /* スマホ用のテキストを非表示 */
  }

  .overlay-pc-about {
    display: none; /* パソコン用のテキストを表示 */
  }

  .p-membership-pc {
    display: none;
  }

  .p-membership-sp {
    font-size: 0.75rem;
    display: block;
  }

  .membership-table {
    width: 100%;
  }
}
