@charset "Shift_JIS";

/* ===== 基本スタイル ===== */
body {
  margin: 0;
  background: #050b14;
  color: #eaeaea;
  font-family: "Meiryo", sans-serif;
}

/* HERO */
.hero-wide {
  height: 55vh;
  position: relative;
  overflow: hidden;
  background: #000;
}

/* 横スライド本体 */
.hero-slider {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}

.hero-slider img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ボタン */
.hero-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;

  width: 52px;
  height: 52px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);

  color: #fff;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;

  cursor: pointer;
  transition: all .3s ease;
}

.hero-btn.prev { left: 20px; }
.hero-btn.next { right: 20px; }

.hero-btn:hover {
  background: rgba(255,255,255,0.25);
  box-shadow: 0 0 15px rgba(255,255,255,0.4);
  transform: translateY(-50%) scale(1.08);
}

.hero-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.3), rgba(0,0,0,.8));
}

.hero-text {
  position: absolute;
  right: 40px;
  bottom: 30px;
  z-index: 3;

  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.hero-logo {
  width: min(60vw, 350px);
  height: auto;
  margin-bottom: 15px;
}

.hero-text h1 {
  margin: 0;
  font-size: 48px;
  letter-spacing: 5px;
}

/* TAB MENU */
.tab-menu {
  display: flex;
  gap: 20px;
  padding: 15px 30px;
  background: rgba(0,0,0,.85);
  position: sticky;
  top: 0;
  z-index: 10;
}

.tab-menu button {
  background: none;
  border: none;
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
  cursor: pointer;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}
.tab-menu button {
  border-left: 1px solid rgba(255,255,255,0.3);
  box-shadow: 1px 1px 5px rgba(0,0,0,0.2);
  border-radius: 6px;
  background: rgba(0,0,0,0.6);
  margin: 2px 0;
  padding: 8px 12px;
}

.tab-menu button:first-child {
  border-left: none;
}
.tab-menu button.active {
  border-color: #1e90ff;
}

/* CONTENT */
.tab-content {
  padding: 50px 40px;
}

.tab-panel {
  display: none;
  animation: fade .4s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CALENDAR / IFRAME */
iframe {
  width: 100%;
  height: 700px;
  border: none;
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 30px;
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0,0,0,.6);
}

/* LIGHTBOX */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  animation: fadeIn .3s ease;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  animation: zoomIn .4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 30px;
  background: #000;
  font-size: 12px;
}

/* ===== レスポンシブ対応 ===== */
@media screen and (max-width: 1024px) {
  .tab-content {
    padding: 40px 20px;
  }
}

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

  /* HERO 高さ */
  .hero-wide {
    height: 40vh;
  }

  .hero-text {
    right: 20px;
    bottom: 20px;
    align-items: flex-start;
    text-align: left;
  }

  .hero-logo {
    width: 80%;
    max-width: 250px;
    margin-bottom: 10px;
  }

  .hero-text p {
    font-size: 14px;
  }

  /* TAB MENU */
  .tab-menu {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 15px;
  }

  .tab-menu button {
    font-size: 16px;
    padding: 8px 12px;
  }

  /* HEROボタン */
  .hero-btn {
    width: 42px;
    height: 42px;
    font-size: 26px;
  }

  /* TAB CONTENT 余白 */
  .tab-content {
    padding: 20px 15px;
  }

  /* ギャラリー */
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(140px,1fr));
    gap: 10px;
  }

  .gallery img {
    height: 120px;
  }

  /* IFRAME 高さ */
  iframe {
    height: 500px;
  }
}

/* 超小型スマホ用 */
@media screen and (max-width: 360px) {
  .tab-menu button {
    font-size: 14px;
    padding: 6px 8px;
  }

  .hero-logo {
    max-width: 200px;
  }

  .gallery img {
    height: 100px;
  }
}

/* ===== LOGIN SCREEN ===== */
#login-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #061a2d, #000);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  z-index: 9999;
  transition: opacity 1s;
}

#login-screen input {
  width: 200px;
  padding: 10px;
  font-size: 18px;
  text-align: center;
  letter-spacing: 5px;
  border: none;
  outline: none;
  margin-bottom: 20px;
}

#login-screen button {
  width: 220px;
  padding: 10px;
  background: #0b3c5d;
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 2px;
}

#login-screen button:hover {
  background: #145a8d;
}

/* ログイン画面背景 */
#login-screen {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  font-family: "Meiryo", "Hiragino Kaku Gothic ProN", sans-serif;

  /* 背景画像＋暗くする */
  background:
    linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), /* 暗くする（0.7でだいぶ暗め） */
    url('images/2025/004.jpg') no-repeat center center; /* 画像のパス */
  
  background-size: cover; /* 横幅を画面の80%に縮小、縦は自動 */
  background-position: center center; /* 中央に配置 */
  background-attachment: fixed; /* スクロールしても固定 */
}
