@charset "UTF-8";
/* CSS Document */
/*========= 基本設定 ===============*/
body {
  background: #333;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  color: #333;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  word-wrap: break-word;
  /*背景に映像を設定する際は下4つのbackground~のコードは削除でOK*/
  background-image: url('../images/movie.webp');
  background-position: center;
  background-size: auto;
  background-attachment: fixed;
}
body.appear {
  background: #FFFFFF;
}
@media screen and (max-width:768px) {
  body {
    font-size: 0.8rem;
  }
}
h2, h3, h4, h5 {
  text-align: center;
  line-height: 1.2;
  margin-top: 20px;
  margin-bottom: 5px;
  color: #FFFFFF;
  text-shadow:
    1px 0 4px #000000, 1px 1px 4px #000000, 0 1px 4px #000000, -1px 1px 4px #000000, -1px 0 4px #000000, -1px -1px 4px #000000, 0 -1px 4px #000000, 1px -1px 4px #000000;
}

/* ===パソコンで見たときは"pc"のclassがついた画像が表示される=== */
.pc {
  display: block !important;
}
.sp {
  display: none !important;
}
/* ===スマートフォンで見たときは"sp"のclassがついた画像が表示される=== */
@media only screen and (max-width: 768px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
}
a {
  text-decoration: none;
}
#logo {
  width: 100%;
  height: 40px;
  background: linear-gradient(to right,#c70000,#d28300,#dfd000,#00873c,#005aa0,#181878,#800073);  position: fixed;
  z-index: 999;
  box-shadow: 5px 5px 20px;
}
#logo img {
  display: block;
  padding: 6px;
  margin: 0 auto;
}

#main-area {
  margin: 0;
  padding: 0;
}
.tenpobunner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 2vw;
}
.tenpobunner img {
  height: auto;
  margin: 1vw;
  width: 35vw;
  margin-top: 2vw;
  border-radius: 8px;
  border: solid 2px #FFFFFF;
  transition: opacity 0.3s ease, transform 0.3s ease; /* アニメーションを設定 */
}
.tenpobunner img:hover {
  opacity: 0.9; /* マウスが乗ったときの透明度 */
  transform: scale(1.02); /* マウスが乗ったときのサイズ変更 */
}
@media screen and (max-width:768px) {
  .tenpobunner img {
    height: auto;
    margin: 0 2vw;
    width: 43vw;
  }
}
@media screen and (max-width:414px) {
  .tenpobunner img {
    height: auto;
	margin: 0 2vw;
    width: 40vw;
    border: solid 1px #FFFFFF;
  }
}
.kenrogo {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2vh;
  margin-bottom: 1vh;
}
.kenrogo img {
  height: auto;
  ;
  width: 50vw;
  margin: 2vw 0;
}
@media screen and (max-width:768px) {
  .kenrogo img {
    height: auto;
    margin: 0 2px;
    width: 65vw;
  }
}
@media screen and (max-width:414px) {
  .kenrogo img {
    height: auto;
    margin: 0 2px;
    width: 55vw;
  }
}
.zengamen img {
  position: relative;
  text-align: center;
  align-items: center;
  display: flex;
  justify-content: center;
  width: 100vw;
  margin: 0;
}


.tenpocard {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.tenpocard img {
  height: auto;
  margin: 0 1vw;
  width: 45vw;
  transition: opacity 0.3s ease, transform 0.3s ease; /* アニメーションを設定 */
}
.tenpocard img:hover {
  opacity: 0.95; /* マウスが乗ったときの透明度 */
  transform: scale(1.02); /* マウスが乗ったときのサイズ変更 */
}
@media screen and (max-width:768px) {
  .tenpocard img {
    height: auto;
    margin: 3;
    width: 85vw;
  }
}

.tenpo35 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.tenpo35 img {
  height: auto;
  width: 65vw;
}

@media screen and (max-width:768px) {
  .tenpo35  img {
    height: auto;
    margin: 5;
    width: 85vw;
  }
}
.top_movie video {
  width: 100%;
  height: auto;
  display: block;
  padding-top: 40px;
  padding-bottom: 40px;
}



/*フッター設定
---------------------------------------------------------------------------*/
footer {
  clear: both;
  text-align: center;
  color: #fff; /*文字色*/
  font-size: 100%; /*文字サイズ*/
  padding-bottom: 6vh;
}
@media screen and (max-width: 767px) {
  footer {
    font-size: 80%; /*文字サイズ*/
    padding-bottom: 7vh;
  }
}

/* ===== Cookieバー ===== */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.95);
  color: #fff;
  font-size: 12px;
  /* 右側にバツボタンが被らないよう、padding-rightを少し広めに調整 */
  padding: 12px 50px 12px 15px; 
  line-height: 1.6;
  z-index: 9999;
  box-sizing: border-box; /* 画面はみ出し防止 */
}

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

.cookie-close {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%); /* ボタンを上下中央に配置 */
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  width: 24px;
  height: 24px;
}

/* ボタンの中に擬似要素で「×」を作成 */
.cookie-close::before,
.cookie-close::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 3px;
  width: 18px;
  height: 2px;
  background-color: #fff;
}
.cookie-close::before { transform: rotate(45deg); }
.cookie-close::after { transform: rotate(-45deg); }

/* マウスホバー時に少し薄くする演出 */
.cookie-close:hover {
  opacity: 0.7;
}

/* フッター被り防止 */
body {
  padding-bottom: 100px;
}

/* スマホ */
@media (max-width: 768px) {
  body {
    padding-bottom: 120px;
  }
}

.site-footer {
  background: #fff; /* 今のままでOKならそのまま */
  color: #000;
  padding: 45px 20px; /* ←上下余白増やす（ここ重要） */
  font-size: 13px;
  line-height: 2; /* ←行間ゆったり */
}

.site-footer a {
  color: #0077FF;
}