@charset "utf-8";
/* CSS Document */

@import url("https://fonts.googleapis.com/css2?family=BIZ+UDGothic&family=Kaisei+Tokumin&family=Noto+Sans+JP:wght@100..900&family=Zen+Kaku+Gothic+New&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

span {
  color: #666;
  /* color: #D0B100; */
}

.c-link {
  display: inline-block;
  color: #000;
  text-decoration: none;
}

.c-link:hover {
  color: #1237af;
}

header {
  display: block;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  font-size: 300%;
  padding: 10px;
  color: #000;
  font-weight: 400;
  font-style: normal;
  text-shadow: 2px 2px 4px #eee;
}

.main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 98%;
  max-width: 800px;
  text-align: center;
  font-size: 300%;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

h1 {
  position: absolute;
  width: 100%;
  top: 10px;
  left: 50%;
  text-align: center;
  transform: translateX(-50%);
  font-size: 76%; /* 必要に応じてサイズ調整 */
  line-height: 110%;
  font-weight: 900;
  font-style: normal;
  font-family: "Noto Sans JP", sans-serif;
  opacity: 0.1;
}

.bottom-text {
  position: absolute;
  width: 100%;
  bottom: 10px;
  left: 50%;
  text-align: center;
  transform: translateX(-50%);
  font-size: 70%; /* 必要に応じてサイズ調整 */
}

.left-text {
  position: absolute;
  width: 23px;
  height: 300px;
  top: 170px;
  left: 2px;
  transform: translateX(-50%);
  font-size: 70%; /* 必要に応じてサイズ調整 */
  writing-mode: horizontal-tb; /* 横書きを保つ */
  transform: rotate(90deg); /* テキストを90度回転 */
  transform-origin: right top; /* 回転の基点を設定 */
  white-space: nowrap; /* テキストの折り返しを防ぐ */
  letter-spacing: 0.4em; /* 文字間を少し広げる */
}

.right-text {
  position: absolute;
  width: 30px;
  top: 370px;
  right: 2px;
  transform: translateX(-50%);
  font-size: 70%; /* 必要に応じてサイズ調整 */
  writing-mode: horizontal-tb; /* 横書きを保つ */
  transform: rotate(90deg); /* テキストを90度回転 */
  transform-origin: right top; /* 回転の基点を設定 */
  white-space: nowrap; /* テキストの折り返しを防ぐ */
  letter-spacing: 0.4em; /* 文字間を少し広げる */
}

header p.h1 {
  font-size: 200%;
  margin-top: -10px;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  color: #1237af;
}

header p.h2 {
  font-size: 60%;
  margin-top: -6px;
  font-feature-settings: "kern";
}

.half-moon-button {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  width: 280px;
  height: 50px;
  background-color: #666;
  border: 1px #666 solid;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  color: #fff;
  cursor: pointer;
  font-size: 120%;
  transition: background-color 0.6s ease, color 0.6s ease;
}

.half-moon-button:hover {
  color: #666 !important;
}

.half-moon-button.mini {
  width: 260px;
  font-size: 85%;
  margin: -10px auto 20px auto;
}

.half-moon-button::before,
.half-moon-button::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 100px;
  background-color: #666;
  border-radius: 50%;
  transform: translateY(-50%);
}

.half-moon-button::before {
  left: -50px;
}

.half-moon-button::after {
  right: -50px;
}

.arrow {
  position: absolute;
  right: 55px;
  color: #fff !important; /* 矢印の色を設定 */
  transition: right 0.3s ease, color 0.3s ease; /* colorの遷移も追加 */
  font-size: 1.5em;
}

.half-moon-button:hover .arrow {
  right: 45px;
  color: #666 !important; /* ホバー時の矢印の色 */
}

.half-moon-button:hover {
  background: #fff;
  color: #666;
  transition: background-color 0.6s ease, color 0.6s ease;
}

.half-moon-button.mini:hover {
  background: #000;
  color: #fff;
  transition: background-color 0.6s ease, color 0.6s ease;
}

.half-moon-button.mini:hover .arrow {
  right: 65px;
  color: #fff; /* ホバー時の矢印の色 */
}

footer {
  width: 100%;
  background: #eee;
  color: #000;
  text-align: left;
  font-size: 200%;
  margin: 0px auto;
  padding: 0;
}

footer p.top1 {
  background: #666;
  color: #fff;
  padding: 10px 0px;
  text-align: center;
}

footer p.top2 {
  background: #d3d1d1;
  color: #000;
  padding: 10px 0px;
  text-align: center;
  font-size: 80%;
}

footer div.bottom {
  width: 90%;
  max-width: 1000px;
  margin: 0px auto;
  padding: 30px 0px;
  display: flex;
  justify-content: space-between;
}

footer div.bottom .left {
  width: 50%;
}

footer div.bottom .right {
  width: 50%;
  padding: 0px 40px;
  line-height: 2.2em;
}

footer div.bottom .right span {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  font-size: 120%;
}

footer div.bottom .right .btn {
  display: inline-block;
  font-size: 90%;
  width: 40%;
  margin: 5px 5px;
  padding: 2px 10px;
  background: #f3f3f3;
  box-sizing: border-box;
  border: 1px #f3f3f3 solid;
  transition: border-color 1s ease, color 1s ease;
  transition: background-color 1s ease, color 1s ease;
  text-decoration: none;
  color: #000;
  text-align: center;
}

footer div.bottom .right .btn:hover {
  border: 1px #ccc solid;
  background: #666;
  color: #fff;
  transition: border-color 1s ease, color 1s ease;
  transition: background-color 1s ease, color 1s ease;
}

footer div.bottom .right .sns {
  margin: 20px 0px 0px 5px;
}

footer div.bottom .right .sns img {
  display: inline-block;
  width: 30px;
  height: auto;
  margin-right: 3px;
  filter: grayscale(100%);
}

@media (max-width: 768px) {
  header {
    height: 95px;
  }

  .main {
    font-size: 150%;
    top: 45%;
  }

  .top-text {
    font-size: 70%; /* 必要に応じてサイズ調整 */
  }

  .bottom-text {
    font-size: 90%; /* 必要に応じてサイズ調整 */
  }

  header p {
    font-size: 260%;
  }

  .half-moon-button {
    width: 250px;
  }

  .arrow {
    right: 45px;
    color: #fff;
  }

  .half-moon-button:hover .arrow {
    right: 35px;
    color: #666; /* ホバー時の矢印の色 */
  }

  .half-moon-button.mini {
    width: 80%;
    font-size: 85%;
    margin: -10px auto 20px auto;
  }

  .half-moon-button.mini:hover {
    background: #000;
    color: #fff;
    transition: background-color 0.6s ease, color 0.6s ease;
  }

  .half-moon-button.mini:hover .arrow {
    right: 25px;
    color: #fff; /* ホバー時の矢印の色 */
  }

  footer div.bottom {
    display: block;
    width: 98%;
    margin: 0px auto;
  }

  footer div.bottom .left {
    display: block;
    width: 95%;
    margin: 0px auto;
  }

  footer div.bottom .right {
    display: block;
    width: 100%;
    margin: 0px auto;
    padding: 10px 20px;
  }
}

/* -----------------------------
 コンテンツ内ＷＲＡＰ
----------------------------- */

.wrap {
  z-index: 1;
  padding: 30px 0px;
  background: #fff;
  color: #000; /* テキストの色を白に設定 */
  box-sizing: border-box;
}

.wrap-white {
  z-index: 1;
  padding: 10px 10px;
  background: #fff;
  box-sizing: border-box;
}

.wrap-black {
  z-index: 1;
  padding-top: 50px;
  margin-bottom: 30px;
  font-size: 180%;
  box-sizing: border-box;
  text-align: center;
  background: #fff;
  color: #000;
}

.wrap-black p {
  font-size: 180%;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  margin-bottom: 30px;
}

/*
.wrap-black:hover {
  background: #fff;
  color:#000;
	transition: background-color 0.6s ease, color 0.6s ease;
	}
*/

.wrap-black.scrolled {
  background: #fff;
  color: #000;
}

.wrap-none {
  z-index: 1;
  padding: 15px;
  background: none;
  color: #000; /* テキストの色を黒に設定 */
  box-sizing: border-box;
}

.wrap-none img {
  width: 95%;
  margin: 0px auto;
  max-width: 800px;
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* 列間のスペース */
  width: 85%;
  margin: 0px auto;
  font-size: 160%;
}

.column {
  flex: 1;
  min-width: calc((100% / 3) - 10px - 10px / 3);
  /* 3つの列が10pxの間隔を持つように調整 */
  box-sizing: border-box;
  border: 1px #000 solid;
}

.column h3 {
  width: 100%;
  text-align: center;
  font-size: 160%;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  margin: 30px 0;
}

.column p {
  width: 75%;
  margin: 0px auto 40px auto;
  text-align: left;
  line-height: 1.8em;
}

.column .video {
  width: 100%;
  height: auto;
  object-fit: cover; /* アスペクト比を保ちながら表示エリアに収める */
  display: block;
}

/* スマホ用のメディアクエリ */
@media (max-width: 768px) {
  .wrap-black {
    font-size: 140%;
    padding-bottom: 30px;
  }

  .wrap-black p {
    font-size: 130%;
  }

  .container {
    width: 94%;
  }

  .column {
    flex: none;
    width: 100%;
    margin: 0 auto; /* センタリング */
  }

  .column p {
    width: 90%;
  }
}

/* -----------------------------
 ページコンテンツ
----------------------------- */

.contents-wrap {
  margin: 50px auto 60px auto;
  width: 98%;
  max-width: 1000px;
}

.contents-wrap.center {
  text-align: center;
  margin: 10px auto;
}

.contents-wrap p {
  font-size: 300%;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

.contents-wrap span {
  font-size: 130%;
  color: #000;
}

.contents-main {
  margin: 10px auto;
  width: 98%;
  max-width: 1000px;
  overflow: hidden; /* 確実にオーバーフローを防ぐ */
}

.contents-main .left {
  float: left;
  width: 30%;
  padding: 10px;
  box-sizing: border-box; /* パディングとボーダーを幅に含む */
}

.contents-main .left img {
  width: 100%;
  height: auto;
  border: 5px #eee solid;
}

.contents-main .right {
  float: left;
  width: 70%;
  padding: 3px 10px 3px 40px;
  font-size: 140%;
  box-sizing: border-box;
}

.contents-main .right.w100 {
  width: 100%;
  text-align: center;
}

.contents-main .right b {
  font-size: 160%;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  display: block;
  margin-bottom: 15px;
  color: #666;
}

.contents-main .right .txt {
  margin: 18px 8px;
  line-height: 1.8em;
}

.contents-main .right .txt span {
  font-size: 150%;
  color: #000;
  font-weight: bold;
}

.contents-main .right .ctitle {
  margin: 18px 0px;
  line-height: 1.8em;
}

.contents-main .right .s-name {
  display: inline-block;
  width: 47%;
  margin: 5px 5px;
  padding: 13px 8px;
  background: #f3f3f3;
  box-sizing: border-box;
  border: 1px #f3f3f3 solid;
  transition: border-color 1s ease, color 1s ease;
  transition: background-color 1s ease, color 1s ease;
  text-decoration: none;
  color: #000;
}

.contents-main .right .s-name.this {
  background: #ffd700;
  color: #000;
}

.contents-main .right .s-name:hover {
  border: 1px #ccc solid;
  background: #fff;
  transition: border-color 1s ease, color 1s ease;
  transition: background-color 1s ease, color 1s ease;
}

.contents-main .right .s-name.this:hover {
  border: 1px #ccc solid;
  background: #fff;
  color: #000;
  transition: border-color 1s ease, color 1s ease;
  transition: background-color 1s ease, color 1s ease;
}

/* オプション: クリアフィックスを追加して、親要素が子要素を囲むようにする */
.contents-main::after {
  content: "";
  display: table;
  clear: both;
}

.contents-main2 {
  margin: 10px auto;
  width: 98%;
  max-width: 1000px;
  overflow: hidden; /* 確実にオーバーフローを防ぐ */
  font-size: 140%;
  margin-top: 100px;
}

.contents-main2 .left {
  float: left;
  width: 60%;
  box-sizing: border-box; /* パディングとボーダーを幅に含む */
}

.contents-main2 .left b {
  font-size: 160%;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  display: block;
  margin-bottom: 15px;
}

.contents-main2 .left .txt {
  margin: 18px 8px;
  line-height: 1.8em;
}

.contents-main2 .left .s-name {
  display: inline-block;
  width: 47%;
  margin: 5px 5px;
  padding: 13px 8px;
  background: #f3f3f3;
  box-sizing: border-box;
  border: 1px #f3f3f3 solid;
  transition: border-color 1s ease, color 1s ease;
  transition: background-color 1s ease, color 1s ease;
  text-decoration: none;
  color: #000;
}

.contents-main2 .left .s-name:hover {
  border: 1px #ccc solid;
  background: #fff;
  transition: border-color 1s ease, color 1s ease;
  transition: background-color 1s ease, color 1s ease;
}

.contents-main2 .right {
  float: left;
  width: 40%;
  padding: 10px;
  margin: 0;
  box-sizing: border-box;
}

.contents-main2 .right img {
  width: 100%;
  height: auto;
  border: 5px #fff solid;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3); /* 下辺と右辺にシャドウを追加 */
}

/* オプション: クリアフィックスを追加して、親要素が子要素を囲むようにする */
.contents-main2::after {
  content: "";
  display: table;
  clear: both;
}

/* スマホ用のメディアクエリ */
@media (max-width: 768px) {
  .contents-wrap {
    margin: 50px auto 20px auto;
    width: 95%;
    max-width: 95%;
  }

  .contents-main {
    margin: -70px auto 10px auto;
    width: 93%;
    max-width: 95%;
    overflow: hidden; /* 確実にオーバーフローを防ぐ */
  }

  .contents-main .left {
    width: 100%;
    padding: 10px;
    box-sizing: border-box; /* パディングとボーダーを幅に含む */
  }

  .contents-main .left img {
    width: 100%;
    height: auto;
    border: 5px #fff solid;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2); /* 下辺と右辺にシャドウを追加 */
  }

  .contents-main .right {
    width: 100%;
    padding: 5px;
    font-size: 140%;
    box-sizing: border-box;
  }

  .contents-main .right b {
    font-size: 160%;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    display: block;
    margin-top: 20px;
    margin-bottom: 15px;
  }

  .contents-main .right .txt {
    margin: 18px 8px;
    line-height: 1.8em;
  }

  .contents-main .right .s-name {
    display: inline-block;
    width: 95%;
    margin: 5px 5px;
    border: 1px #666 solid;
    padding: 8px;
    background: #f3f3f3;
  }

  .contents-main .right .s-name aside {
    display: inline-block;
    font-size: 120%;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
  }

  /* オプション: クリアフィックスを追加して、親要素が子要素を囲むようにする */
  .contents-main::after {
    content: "";
    display: table;
    clear: both;
  }

  .contents-main2 {
    margin: 10px auto;
    width: 95%;
    max-width: 95%;
    overflow: hidden; /* 確実にオーバーフローを防ぐ */
  }

  .contents-main2 .left {
    width: 100%;
    box-sizing: border-box; /* パディングとボーダーを幅に含む */
  }

  .contents-main2 .left b {
    font-size: 160%;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    display: block;
    margin-top: 20px;
    margin-bottom: 15px;
  }

  .contents-main2 .left .txt {
    margin: 18px 8px;
    line-height: 1.8em;
  }

  .contents-main2 .left .s-name {
    display: inline-block;
    width: 95%;
    margin: 5px 5px;
    border: 1px #666 solid;
    padding: 8px;
    background: #f3f3f3;
  }

  .contents-main2 .right {
    width: 100%;
    padding: 10px;
    box-sizing: border-box; /* パディングとボーダーを幅に含む */
  }

  .contents-main2 .right img {
    width: 100%;
    height: auto;
    border: 5px #fff solid;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2); /* 下辺と右辺にシャドウを追加 */
  }

  /* オプション: クリアフィックスを追加して、親要素が子要素を囲むようにする */
  .contents-main2::after {
    content: "";
    display: table;
    clear: both;
  }
}

.anime-top {
  opacity: 0; /* 初期状態では透明にする */
  transform: translateY(50px); /* 初期状態では30px下に配置 */
  transition: opacity 0.6s ease, transform 0.6s ease; /* アニメーションの設定 */
}

.anime-top.animate {
  opacity: 1; /* 表示状態 */
  transform: translateY(0); /* 元の位置に移動 */
  animation: fadeIn 2s forwards; /* アニメーションの持続時間を2秒に設定 */
}

.anime-txt {
  opacity: 0;
  display: inline-block;
}

.anime-txt.animate {
  opacity: 1;
}

.anime-txt span {
  display: inline-block;
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

.table-list {
  display: flex;
  flex-wrap: wrap; /* 子要素を折り返す */
  justify-content: flex-start; /* 子要素を左寄せ */
  width: 1000px;
  max-width: 98%;
  box-sizing: border-box;
  font-size: 180%;

  padding: 30px 40px 60px 40px;
  margin: 0px auto 130px auto;
  list-style-type: none; /* liのデフォルトのスタイルを削除 */
}

.table-list p {
  width: 100%;
  margin: 30px auto;
  text-align: center;
}

.table-list li {
  box-sizing: border-box;
  padding: 30px 10px;
  margin: 5px 0;
}

.table-list li.com {
  padding: 30px 10px 30px 25px;
}

.table-list li img {
  width: 50px;
  display: inline-block;
  margin: 5px;
}

.table-list li:nth-child(odd) {
  width: calc(30% - 10px); /* 幅を調整 */
  margin-right: 10px; /* 右側のマージンを追加 */
  border-bottom: 1px #666 solid;
}

.table-list li:nth-child(even) {
  width: calc(70% - 10px); /* 幅を調整 */
  border-bottom: 1px #ccc solid;
}

.table-list li.title {
  padding: 45px 0px 35px 0px;
  border: none;
}

@media (max-width: 768px) {
  .table-list {
    width: 95%;
    padding: 10px 20px;
    margin: 0px auto 60px auto;
  }

  .table-list li {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    margin: 5px 0;
    border: none;
  }

  .table-list li:nth-child(odd) {
    width: 100%;
    border-bottom: 1px #666 solid;
  }

  .table-list li:nth-child(even) {
    width: 100%;
    border: none;
  }

  .table-list li.title {
    padding: 20px 0px 0px 0px;
    border: none;
  }
}
