﻿* {
  padding: 0px;
  margin: 0px;
} 

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
max-width: 1024px;
margin: 0 auto;

  width: 100%;
  box-sizing: border-box;
  padding: 0px;
  background-color: #ffffe0;
  font-family: "メイリオ";
  afont-size: 48px;
}

img {
  display: block;
}

a:link {
 color: #ffffff; 
  text-decoration: none;
}
a:visited { color: #ffff00; }
a:hover {
 color: #ff0000; 
  text-decoration: underline;
}
a:active { color: #ffff00; }


/* header */
header #lastUpdate {
  font-size: 8px;
}
header img {
  display: block;
  min-width: 170px;
  width: 170px;
}
header table {
/*
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 1000;
*/
  width: 100%;
  border-collapse: collapse;
  border: none;
}
header td {

  text-align: center;
  color: #ffffff;
}
header a {
  font-size: 14px;
  color: #ffffff;
  position: relative;
  top: 3px; /* 下に3px移動 */
}

.maximan {
  font-size:24px; 
  text-align: center; 
  padding:10px; 
  color: white; 
  background-color: #000000;
}
.maximan p{
  font-size:18px; 
}

@media screen and (max-width: 600px) {
  .maximan {
    font-size:14px; 
    padding:10px; 
  }
  .maximan p {
    font-size:9px; 
  }
}


.menu table {
  border-collapse: collapse;
  box-shadow: 0 0 0 0.7px white;
  width: 100%;
 }

.menu td {
  max-width: 140px;
  height: 90px;
  text-align: center;
  background-color: #000000; 
}
#menutd {
  width: 140px;
}
.menu img {
  height: 90px;
  width:140px;
  object-fit: cover;
  display: block;
}



.menuVideo table {
  border-collapse: collapse;
  box-shadow: 0 0 0 0.7px white;
  width: 100%;
 }
.menuVideo tr {
  height: 90px;
  background-color: #000000;
  text-align: center;
}



/* mansuke */
#newyear-container {
  position: fixed;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  opacity: 0;
  transition: opacity 1.5s ease;
  pointer-events: none;
}

#mansuke {
  width: 250px;
  display: block;
  margin: 0 auto;
  transition: all 1s ease;
}

#newyear-message {
  position: absolute; 
  bottom: 55%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 2s ease, visibility 2s ease;
  pointer-events: none;
}

#greeting1 {
  opacity: 0;
 width: 300px;
 height: auto;
  transform: scale(0.85);
  transition: opacity 2s ease, transform 2s ease;
  margin-top: 8px; /* 必要に応じて調整 */
}

#greeting2 {
  position: absolute;
  top: 0;
  left: 10;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 2s ease, transform 2s ease;
  margin-top: 8px; /* 必要に応じて調整 */
 width: 300px;
 height: auto;
}




/* footer */
.fixed-box {
  position: fixed;
  left: 0;
  right: 0;
  margin: 0 auto;

  amax-width: 1024px;

  height: 80px;
  background-color: #000000;
  bottom: 0;
  left: 0; /* 必要に応じて調整 */
  text-align: center;
  z-index: 1000;
}

@media screen and (max-width: 933px) and (orientation: landscape) {
  .fixed-box {
    display: none;
  }
}


.footer-iframe {
  width: 100%;
  height: 80px;
  border-collapse: collapse; 
  border: none;"
}

.footer-space {
  height: 80px; /* フッターと同じ高さの余白 */
}

.eventInfo {
  text-align: center;
  padding:10px;
  color: white;
  background-color: #000000;
}

.eventInfo h2 {
  padding:20px;
  font-size: 22px;
  background-color: #330000;
}

.eventInfo p {
  font-size: 18px;
}

.eventInfo span {
  font-size:32px;
  color: red;
}

.responsive-iframe {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 のアスペクト比 */
  display: none; /* 初期状態では非表示 */
}

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

.link-button {
  display: inline-block;
  margin: 10px 0;
  color: orange;
  cursor: pointer;
  text-decoration: underline;
}

.responsive-box {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 の縦横比（高さ = 幅 × 0.75） */
  background-color: #000000;
}

.responsive-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 必要に応じて contain に変更可能 */
}

.triangle {
  font-size: 1.8em; /* 通常の文字より大きく */
  vertical-align: middle; /* テキストと高さを揃える */
  margin-right: 5px; /* テキストとの間隔 */
  text-decoration: none; /* ← 下線を消す */
  color: orange;
  display: inline-block;
}

/* 点滅アニメーション */
.blink {
  animation: blinkAnim 1s ease-in-out infinite;
}

@keyframes blinkAnim {
  50% {
    opacity: 0;
  }
}

.responsive-text-frame {
  width: 100%;
  height: 100px;
  border: none;
  background-color: #000000;
  font-family: sans-serif;
}

#movei-contents {
width:140px;

  position: relative;
  display: block;
}

#movei-contents video {
  width: 100%;
}

#movei-contents img {
width:140px;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit- transform: translateY(-50%) translateX(-50%);
  padding: 0px -10px;
}

#video {
  display: block;
}

.insta {
  float: right;
}


/* スクロールトップボタン */
#scrollTopBtn {
  aposition: fixed;
  position: absolute;

  bottom: 10px;
  right: 10px;
  z-index: 1000;
  abackground-color: rgba(3e, 5e, 5d, 0.1); /* 黒の20%透過 */
  background-color: #3e5e5d;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: block;
  line-height: 1.2;
}
#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}
#scrollTopBtn:hover {
  background-color: #3e5e5d;
}

@media screen and (max-width: 600px) {

  .fixed-box {
    height: 80px;
  }
  .footer-iframe {
    height: 80px;
  }
  .footer-space {
    height: 80px; /* フッターと同じ高さの余白 */
  }

  #scrollTopBtn {
    abottom: 57px;
    aright: 10px;
    width: 43px;
    height: 43px;
    font-size: 15px;
    line-height: 1.2;
  }
}
