:root {
  --primary: #1e3a5f;   /* 高級感ある深い紺 */
  --accent: #c5a059;    /* エレガントなゴールド */
  --text: #2c3e50;
  --bg-light: #f8f9fa;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  color: var(--text);
  line-height: 1.8;
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- HERO (YOUTUBE HEADER) --- */
.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: #000;
}

.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;
  min-height: 70vh;
  min-width: 124.44vh;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(15, 23, 42, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: var(--white);
  text-align: center;
  pointer-events: none;
}

.main-title {
  position: absolute;
  top: 9%;
  left: 50%;
  width: min(94%, 1100px);
  transform: translateX(-50%);
  font-size: clamp(2.8rem, 5.2vw, 5.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-shadow: 0 5px 28px rgba(0,0,0,.82);
}

.sub-title {
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: 94%;
  transform: translateX(-50%);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #f2d38c;
  text-shadow: 0 3px 18px rgba(0,0,0,.95);
}

.catchphrase {
  position: absolute;
  left: 50%;
  bottom: 5%;
  width: 94%;
  transform: translateX(-50%);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  -webkit-text-stroke: .25px rgba(255,255,255,.5);
  text-shadow: 0 3px 16px rgba(0,0,0,1);
}

/* --- NAV --- */
.global-nav {
  position: sticky;
  top: 0;
  background-color: rgba(30, 58, 95, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.global-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 2rem;
  padding: 1rem 0;
}

.global-nav a {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.global-nav a:hover {
  color: var(--accent);
}

/* --- SECTION GENERAL --- */
.section {
  padding: 100px 20px;
}

.bg-light {
  background-color: var(--bg-light);
}

.container {
  max-width: 960px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-lead {
  text-align: center;
  font-size: 1rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 3rem;
}

/* --- NEWS --- */
.news-list {
  border-top: 1px solid #e2e8f0;
  margin-top: 2rem;
}

.news-item {
  display: flex;
  gap: 2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.news-item time {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

/* --- ABOUT --- */
.about-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 2rem;
}

.about-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-text p {
  margin-bottom: 1.5rem;
}

/* --- CONCERT (HIGHLIGHT) --- */
.highlight-section {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
  color: var(--white);
  text-align: center;
}

.badge {
  display: inline-block;
  background-color: var(--accent);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.concert-title {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  line-height: 1.4;
}

.concert-title span {
  font-size: 1.2rem;
  font-weight: 300;
  display: block;
  margin-top: 0.5rem;
}

.concert-card {
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 12px;
  padding: 40px;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.concert-date {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.concert-time, .concert-place, .concert-guest {
  margin-bottom: 0.8rem;
}

.concert-program {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px dashed rgba(255,255,255,0.2);
}

.concert-program h4 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.concert-program ul {
  list-style: none;
  padding-left: 0;
}

.concert-program li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.2rem;
}

.concert-program li::before {
  content: "♪";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* --- MEMBERS --- */
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.member-card {
  background: var(--bg-light);
  border-radius: 8px;
  padding: 25px 20px;
  text-align: center;
  border-bottom: 3px solid var(--accent);
  transition: transform 0.3s;
}

.member-card:hover {
  transform: translateY(-5px);
}

.member-card .part {
  display: block;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.member-card .name {
  font-size: 1.2rem;
  font-weight: 700;
}

/* --- HISTORY --- */
.history-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.timeline {
  max-width: 700px;
  margin: 0 auto;
}

.timeline-group {
  margin-bottom: 2rem;
}

.timeline-group .year {
  font-size: 1.4rem;
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.3rem;
  margin-bottom: 1rem;
}

.timeline-group dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 15px;
  margin-bottom: 0.8rem;
}

.timeline-group dt {
  font-weight: 700;
  color: var(--accent);
}

/* --- CONTACT --- */
.contact-desc {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-box {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-item {
  flex: 1;
  background: var(--bg-light);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.contact-label {
  display: block;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

/* --- FOOTER --- */
footer {
  background-color: var(--primary);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 2rem 0;
  font-size: 0.85rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .main-title { top: 8%; font-size: clamp(2rem, 9vw, 3rem); letter-spacing: .04em; }
  .sub-title { bottom: 14%; font-size: 1.15rem; }
  .catchphrase { bottom: 6%; font-size: .82rem; }
  .global-nav ul { gap: 1rem; flex-wrap: wrap; }
  .news-item { flex-direction: column; gap: 0.3rem; }
  .contact-box { flex-direction: column; }
  .concert-card { padding: 20px; }
  .timeline-group dl { grid-template-columns: 1fr; gap: 5px; }
}

/* --- ADMIN BAR --- */
.admin-bar {
  background-color: #111827;
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 15px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #374151;
}

.admin-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-bar input[type="password"] {
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #4b5563;
  background-color: #1f2937;
  color: #fff;
}

.admin-bar button {
  padding: 4px 12px;
  border-radius: 4px;
  border: none;
  background-color: var(--accent);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.2s;
}

.admin-bar button:hover {
  opacity: 0.9;
}

.admin-bar .btn-logout {
  background-color: #ef4444;
}

.admin-bar .btn-save {
  background-color: #10b981;
}

.editing-badge {
  color: #10b981;
  font-weight: bold;
  margin-right: 10px;
}

/* Edit highlight */
.editing-active .editable {
  outline: 2px dashed #10b981;
  outline-offset: 4px;
  cursor: text;
}

/* --- BLOG STYLES --- */
.blog-header {
  background-color: var(--primary);
  color: #fff;
  padding: 60px 20px 40px;
}

.back-link {
  color: var(--accent);
  font-weight: bold;
  display: inline-block;
  margin-bottom: 15px;
}

.blog-post-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-date {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.blog-container {
  padding: 50px 20px;
  max-width: 800px;
}

.blog-article {
  font-size: 1.05rem;
  line-height: 1.9;
}

.blog-article h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin: 2.5rem 0 1rem;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
}

.blog-article h4 {
  font-size: 1.15rem;
  color: var(--text);
  margin: 1.8rem 0 0.5rem;
}

.blog-article p {
  margin-bottom: 1.2rem;
}

.blog-article a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

.blog-image-wrapper {
  background: #e2e8f0;
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  margin: 2rem 0;
  color: #64748b;
}

.blog-footer-nav {
  margin-top: 50px;
  text-align: center;
}


.video-background iframe { border: 0; }
.video-fallback { display:none; position:absolute; left:50%; bottom:28px; z-index:3; transform:translateX(-50%); padding:10px 18px; border:1px solid rgba(255,255,255,.75); border-radius:999px; color:#fff; background:rgba(0,0,0,.65); pointer-events:auto; }
.video-background.video-unavailable .video-fallback { display:inline-block; }
.blog-image-wrapper img { display:block; width:100%; height:auto; border-radius:8px; box-shadow:0 12px 30px rgba(15,23,42,.12); }
.image-caption { margin-top:.65rem !important; color:#64748b; font-size:.9rem; text-align:center; }


.concert-flyer { max-width: 720px; margin: 42px auto 0; text-align: center; }
.concert-flyer img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 18px 45px rgba(15,23,42,.2); }
.concert-flyer figcaption { margin-top: 10px; color: #64748b; font-size: .9rem; }
@media (max-width: 768px) {
  .hero { height: 70svh; min-height: 460px; }
  }


/* Hide YouTube's brief startup controls behind the poster. */
.video-background iframe { opacity: 0; }
.video-background.video-playing iframe { opacity: 1; }
.video-intro {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: radial-gradient(circle at center, #17263b 0%, #070b12 70%);
  opacity: 1;
  visibility: visible;
  transition: opacity 2.4s ease, visibility 0s linear 2.4s;
}
.video-background.video-visible .video-intro { opacity: 0; visibility: hidden; }
.video-intro-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}
.video-intro-title { font-size: clamp(1.7rem, 3.5vw, 3rem); font-weight: 600; letter-spacing: .12em; }
.video-intro-sub { margin-top: 3px; color: rgba(255,255,255,.56); font-size: .72rem; letter-spacing: .32em; }
.video-intro-line {
  position: relative;
  width: min(260px, 52vw);
  height: 1px;
  margin-top: 25px;
  overflow: hidden;
  background: rgba(255,255,255,.16);
}
.video-intro-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: intro-loading 1.8s ease-in-out infinite;
}
@keyframes intro-loading {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}


.site-credit { margin-top: .5rem; font-size: .78rem; color: rgba(255,255,255,.62); }
.site-credit a { color: var(--accent); border-bottom: 1px solid rgba(197,160,89,.45); }
.site-credit a:hover { color: #fff; }


/* Startup cover: show the movie immediately, masking only YouTube's center UI. */
.video-background iframe { opacity: 1; }
.video-intro {
  inset: auto 0;
  top: 50%;
  height: 180px;
  transform: translateY(-50%);
  background: rgba(4, 9, 17, .94);
  border-top: 1px solid rgba(197,160,89,.28);
  border-bottom: 1px solid rgba(197,160,89,.28);
  box-shadow: 0 0 45px rgba(0,0,0,.55);
  backdrop-filter: blur(7px);
}
.video-intro-mark { width: 48px; height: 48px; margin-bottom: 8px; font-size: 1.8rem; }
.video-intro-title { font-size: clamp(1.45rem, 3vw, 2.5rem); }
.video-intro-sub { font-size: .62rem; }
.video-intro-line { margin-top: 12px; }

@media (max-width: 768px) {
  .hero { height: 60svh; min-height: 420px; }
  .video-background iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    min-width: 0;
    min-height: 0;
  }
  .video-intro { height: 132px; }
  .video-intro-mark { width: 38px; height: 38px; margin-bottom: 5px; font-size: 1.35rem; }
  .video-intro-title { font-size: 1.25rem; }
  .video-intro-sub { font-size: .5rem; letter-spacing: .22em; }
  .video-intro-line { width: 180px; margin-top: 8px; }
}


/* Soft cinematic startup title - avoids a solid censor-bar appearance. */
.video-intro {
  left: 50%;
  right: auto;
  width: min(78%, 1120px);
  height: 170px;
  transform: translate(-50%, -50%);
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.video-intro::before,
.video-intro::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.video-intro::before {
  inset: -58px -13%;
  background-image:
    radial-gradient(ellipse at center, rgba(4,9,17,.92) 0%, rgba(4,9,17,.82) 36%, rgba(4,9,17,.34) 66%, transparent 82%),
    linear-gradient(45deg, rgba(197,160,89,.18) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(197,160,89,.12) 1px, transparent 1px);
  background-size: auto, 25px 25px, 25px 25px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, rgba(0,0,0,.82) 55%, transparent 84%);
  mask-image: radial-gradient(ellipse at center, #000 30%, rgba(0,0,0,.82) 55%, transparent 84%);
}
.video-intro::after {
  inset: -82px -5%;
  background-image: radial-gradient(circle, rgba(255,255,255,.3) 0 1px, transparent 1.5px);
  background-size: 21px 21px;
  opacity: .28;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.68) 0%, rgba(0,0,0,.3) 48%, transparent 76%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.68) 0%, rgba(0,0,0,.3) 48%, transparent 76%);
}
.video-intro > * { position: relative; z-index: 1; }

@media (max-width: 768px) {
  .video-intro { width: 94%; height: 128px; }
  .video-intro::before { inset: -42px -3%; background-size: auto, 19px 19px, 19px 19px; }
  .video-intro::after { inset: -55px 2%; background-size: 16px 16px; }
}


.history-video { width: min(100%, 860px); margin: 28px auto 8px; text-align: center; }
.history-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; box-shadow: 0 14px 34px rgba(15,23,42,.16); }
.history-video p { margin-top: 9px; color: #64748b; font-size: .88rem; }


/* Clean mobile startup: hide YouTube chrome until playback is stable. */
@media (max-width: 768px) {
  .admin-bar { padding: 6px 10px; position: relative; }
  .admin-bar-inner { display: block; }
  #admin-status { display: none; }
  #login-form { display: flex !important; align-items: center; gap: 7px; width: 100%; }
  #login-form input { flex: 1; min-width: 0; height: 36px; }
  #login-form button { height: 36px; padding: 4px 15px; white-space: nowrap; }
  #admin-controls { font-size: .7rem; }

  .hero { height: 60svh; min-height: 420px; }
  .video-background {
    background: #050912 url('https://i.ytimg.com/vi/hUHZc5cmtr4/maxresdefault.jpg') center / contain no-repeat;
  }
  .video-background iframe,
  .video-background.video-playing iframe { opacity: 0; }
  .video-background.video-visible iframe { opacity: 1; transition: opacity 1.4s ease; }

  .video-intro { width: 90%; height: 112px; }
  .video-intro-mark { width: 34px; height: 34px; margin-bottom: 5px; font-size: 1.2rem; }
  .video-intro-title { font-size: 0; }
  .video-intro-title::after {
    content: 'SETTING THE STAGE';
    font-family: 'Montserrat', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .22em;
  }
  .video-intro-sub { display: none; }
  .video-intro-line { width: 150px; margin-top: 8px; }

  .main-title {
    top: 6%;
    width: 98%;
    white-space: nowrap;
    font-size: clamp(1.75rem, 8vw, 2.45rem);
    letter-spacing: .015em;
  }
  .sub-title { bottom: 14%; font-size: 1.05rem; }
  .catchphrase { bottom: 5%; padding: 0 10px; font-size: .78rem; line-height: 1.5; }

  .global-nav { overflow-x: auto; scrollbar-width: none; }
  .global-nav::-webkit-scrollbar { display: none; }
  .global-nav ul {
    width: max-content;
    min-width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 1.15rem;
    padding: 12px 16px;
  }
  .global-nav a { white-space: nowrap; font-size: .7rem; letter-spacing: .08em; }
}


@media (max-width: 768px) {
  .editing-active #login-form { display: none !important; }
  .editing-active #admin-controls { display: block !important; }
}


/* Mobile needs no loading title: show the clean poster until video is ready. */
@media (max-width: 768px) {
  .video-intro { display: none; }
}


/* Mobile startup uses a designed gradient, never a frozen video frame. */
@media (max-width: 768px) {
  .video-background {
    background:
      radial-gradient(circle at 50% 42%, rgba(47,76,112,.9) 0%, rgba(20,35,56,.88) 34%, #050912 76%),
      #050912;
  }
}


/* Mobile: simple black English title card that dissolves into the movie. */
@media (max-width: 768px) {
  .video-background { background: #000; }
  .video-intro {
    display: flex;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    transform: none;
    overflow: hidden;
    background: #000;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    transition: opacity 2.8s ease, visibility 0s linear 2.8s;
  }
  .video-intro::before,
  .video-intro::after { display: none; }
  .video-intro-mark { display: none; }
  .video-intro-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.45rem, 7vw, 2rem);
    font-weight: 600;
    letter-spacing: .1em;
  }
  .video-intro-title::after { content: none; }
  .video-intro-sub {
    display: block;
    margin-top: 9px;
    font-size: 0;
  }
  .video-intro-sub::after {
    content: 'THE PERFORMANCE BEGINS SHORTLY';
    color: rgba(255,255,255,.58);
    font-family: 'Montserrat', sans-serif;
    font-size: .55rem;
    font-weight: 500;
    letter-spacing: .2em;
  }
  .video-intro-line { display: block; width: 145px; margin-top: 20px; }
}


@media (max-width: 768px) {
  .video-intro { transition: opacity 1.4s ease, visibility 0s linear 1.4s; }
}


@media (max-width: 768px) {
  .video-intro { transition: opacity 1.2s ease, visibility 0s linear 1.2s; }
}


/* Desktop: begin revealing the whole movie as soon as playback starts. */
@media (min-width: 769px) {
  .video-background iframe {
    opacity: 0;
    transition: opacity 2.8s ease;
  }
  .video-background.video-playing iframe,
  .video-background.video-visible iframe { opacity: 1; }
  .video-intro { transition: opacity 1.4s ease, visibility 0s linear 1.4s; }
}


/* --- LOCAL HERO MOVIE ---
   The supplied MP4 replaces the YouTube iframe, so no player logo or
   startup controls can cover the ensemble. */
.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.video-background.video-playing video,
.video-background.video-visible video {
  opacity: 1;
}

.video-background .video-intro {
  transition: opacity .85s ease, visibility 0s linear .85s;
}

.video-background.video-visible .video-intro {
  opacity: 0;
  visibility: hidden;
}

.hero-overlay,
.hero-content {
  opacity: 0;
  transition: opacity 1s ease .08s;
}

.hero.hero-ready .hero-overlay,
.hero.hero-ready .hero-content {
  opacity: 1;
}

.video-background.video-unavailable .video-intro {
  opacity: 0;
  visibility: hidden;
}

.video-background.video-unavailable .video-fallback {
  display: block;
}

.history-video video {
  display: block;
  width: 100%;
  aspect-ratio: 64 / 27;
  border: 0;
  border-radius: 10px;
  background: #000;
  box-shadow: 0 14px 34px rgba(15,23,42,.16);
}

@media (max-width: 768px) {
  .video-background video {
    object-fit: contain;
  }

  .video-background .video-intro {
    transition: opacity .8s ease, visibility 0s linear .8s;
  }

  .video-intro-sub {
    display: block;
    font-size: .55rem;
  }

  .video-intro-sub::after {
    content: none;
  }
}


/* --- CLEAN LOCAL VIDEO INTRO ---
   The local movie no longer needs a patterned mask to hide player chrome. */
.video-background .video-intro {
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  transform: none;
  overflow: hidden;
  background: #000;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.video-background .video-intro::before,
.video-background .video-intro::after {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .video-background video,
  .video-background .video-intro,
  .hero-overlay,
  .hero-content {
    transition-duration: .01ms;
  }
}


/* --- BRAND LOGO AND FOOTER LOGIN --- */
.video-intro-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: min(310px, 46vw);
  height: auto;
  max-height: 52%;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 6px 22px rgba(0,0,0,.5));
}

.about-brand-logo {
  display: block;
  width: min(230px, 58vw);
  height: auto;
  margin: 0 auto 1.4rem;
}

.footer-brand-logo {
  display: block;
  width: 150px;
  height: auto;
  margin: 1.25rem auto 0;
  opacity: .72;
  filter: brightness(0) invert(1);
}

.blog-brand-link {
  display: block;
  width: fit-content;
  margin-bottom: 1.1rem;
}

.blog-brand-logo {
  display: block;
  width: 145px;
  height: auto;
  filter: brightness(0) invert(1);
}

.admin-panel {
  max-width: 560px;
  margin: 1.35rem auto 0;
  padding-top: .8rem;
  border-top: 1px solid rgba(255,255,255,.13);
  color: rgba(255,255,255,.72);
}

.admin-panel summary {
  width: fit-content;
  margin: 0 auto;
  list-style: none;
  cursor: pointer;
  font-size: .7rem;
  letter-spacing: .08em;
  opacity: .48;
  transition: opacity .2s ease;
}

.admin-panel summary::-webkit-details-marker { display: none; }
.admin-panel summary:hover,
.admin-panel[open] summary { opacity: .9; }

.admin-panel .admin-bar-inner {
  display: block;
  max-width: 460px;
  margin: .8rem auto 0;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
}

.admin-panel #admin-status {
  display: block;
  margin-bottom: .65rem;
  font-size: .75rem;
}

.admin-panel #login-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.admin-panel #login-form[hidden],
.admin-panel #admin-controls[hidden] {
  display: none !important;
}

.admin-panel input[type="password"] {
  min-width: 0;
  flex: 1;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 5px;
  color: #fff;
  background: rgba(0,0,0,.24);
}

.admin-panel button {
  padding: 8px 13px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
  cursor: pointer;
}

.admin-panel .btn-save { background: #10b981; }
.admin-panel .btn-logout { background: #ef4444; }
.admin-panel .editing-badge { display: block; margin: 0 0 .6rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 768px) {
  .video-intro-logo { width: min(230px, 60vw); max-height: 44%; }
  .about-brand-logo { width: min(200px, 56vw); }
  .blog-brand-logo { width: 125px; }
  .admin-panel .admin-bar-inner { padding: 12px; }
  .admin-panel #login-form { display: flex !important; }
  .admin-panel #login-form[hidden] { display: none !important; }
  .admin-panel #admin-controls:not([hidden]) { display: block !important; }
}


/* --- EARLY SLOW HERO FADE ---
   Start almost immediately, then brighten gradually for a total of ~2.5s. */
.video-background .video-intro {
  transition: opacity 2.15s ease-in-out, visibility 0s linear 2.15s;
}


/* --- SLOW VIDEO END FADE --- */
.video-background.video-ending video {
  opacity: 0;
  transition-duration: 3.4s;
  transition-timing-function: ease-in-out;
}


/* --- CLICKABLE NEWS CARDS --- */
.news-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 2.2rem;
}

.news-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dce3eb;
  border-radius: 12px;
  color: var(--text);
  background: #fff;
  box-shadow: 0 9px 26px rgba(15,23,42,.08);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.news-card-image {
  height: 245px;
  overflow: hidden;
  background: #e8edf3;
}

.news-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.news-card-image-logo {
  padding: 38px;
  background: linear-gradient(145deg, #f8f9fa 0%, #e8edf3 100%);
}

.news-card-image-logo img {
  object-fit: contain;
}

.news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 23px 25px 25px;
}

.news-card time {
  margin-bottom: .5rem;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.news-card h3 {
  margin-bottom: 1.4rem;
  color: var(--primary);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.6;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: auto;
  padding: .5rem .9rem;
  border-radius: 999px;
  color: #fff;
  background: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  transition: background .25s ease, gap .25s ease;
}

.news-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

@media (hover: hover) {
  .news-card:hover {
    transform: translateY(-7px);
    border-color: var(--accent);
    box-shadow: 0 18px 38px rgba(30,58,95,.18);
  }

  .news-card:hover .news-card-image img { transform: scale(1.045); }
  .news-card:hover .news-card-link { background: var(--accent); gap: .85rem; }
}

@media (max-width: 768px) {
  .news-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-card-image { height: 210px; }
  .news-card-image-logo { padding: 34px; }
  .news-card-body { padding: 20px; }
  .news-card h3 { font-size: 1.03rem; }
  .news-card-link { padding: .58rem 1rem; }
}


/* --- COMPACT MOBILE HERO V29 --- */
@media (max-width: 768px) {
  .hero {
    height: 52svh;
    min-height: 380px;
    max-height: 520px;
  }

  .video-background video {
    object-position: center 38%;
  }

  .main-title { top: 4%; }
  .sub-title { bottom: 13%; }
  .catchphrase { bottom: 4%; }
}


/* --- SERVER BLOG CMS V30 --- */
.admin-link-panel {
  justify-content: center;
}

.admin-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .55rem 1.15rem;
  border: 1px solid rgba(197,160,89,.72);
  border-radius: 999px;
  color: #fff;
  background: rgba(197,160,89,.14);
  font-size: .82rem;
  font-weight: 700;
  transition: color .2s ease, background .2s ease;
}

.admin-page-link:hover,
.admin-page-link:focus-visible {
  color: #0f172a;
  background: var(--accent);
}

.cms-page {
  background: #f3f6f9;
}

.cms-header {
  padding-bottom: 3.5rem;
}

.cms-header-lead {
  margin-top: .8rem;
  color: rgba(255,255,255,.78);
  font-size: .95rem;
}

.cms-container {
  width: min(920px, 92%);
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.cms-card {
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid #dce3eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15,23,42,.1);
}

.cms-login-card {
  width: min(560px, 100%);
  margin: 0 auto;
}

.cms-card h2 {
  color: var(--primary);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.4;
}

.cms-card > p,
.cms-card-heading {
  margin-bottom: 1.7rem;
}

.cms-step {
  display: inline-block;
  margin-bottom: .35rem;
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.cms-form {
  display: grid;
  gap: 1.55rem;
}

.cms-login-form {
  gap: 1rem;
}

.cms-field {
  display: grid;
  gap: .55rem;
}

.cms-field label {
  color: var(--primary);
  font-weight: 700;
}

.cms-field input[type="text"],
.cms-field input[type="password"],
.cms-field input[type="date"],
.cms-field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  color: var(--text);
  background: #fff;
  font: inherit;
  line-height: 1.65;
}

.cms-field input[type="text"],
.cms-field input[type="password"],
.cms-field input[type="date"] {
  min-height: 50px;
  padding: .65rem .85rem;
}

.cms-field textarea {
  min-height: 280px;
  padding: .85rem;
  resize: vertical;
}

.cms-field input:focus,
.cms-field textarea:focus {
  outline: 3px solid rgba(197,160,89,.25);
  border-color: var(--accent);
}

.cms-field-date {
  max-width: 260px;
}

.cms-help,
.cms-upload-box p {
  margin: 0;
  color: #64748b;
  font-size: .78rem;
}

.cms-upload-box {
  padding: 1.2rem;
  border: 2px dashed #bdc8d6;
  border-radius: 12px;
  background: #f8fafc;
}

.cms-upload-box input {
  display: block;
  width: 100%;
  margin-bottom: .65rem;
  font: inherit;
}

.cms-photo-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.cms-photo-preview:empty {
  display: none;
}

.cms-photo-preview figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  margin: 0;
  border-radius: 8px;
  background: #e2e8f0;
}

.cms-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cms-photo-preview figcaption {
  position: absolute;
  right: 5px;
  bottom: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15,23,42,.82);
  font-size: .62rem;
}

.cms-primary-button,
.cms-secondary-button {
  min-height: 46px;
  padding: .7rem 1.4rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cms-primary-button {
  color: #fff;
  background: var(--primary);
}

.cms-primary-button:hover,
.cms-primary-button:focus-visible {
  background: var(--accent);
}

.cms-secondary-button {
  min-height: 38px;
  padding: .4rem 1rem;
  color: var(--primary);
  background: #e7edf3;
}

.cms-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: .75rem 1rem;
  border-radius: 10px;
  color: var(--primary);
  background: #e8eef5;
}

.cms-toolbar p {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  font-weight: 700;
}

.cms-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22,163,74,.14);
}

.cms-publish-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .4rem;
  padding-top: 1.4rem;
  border-top: 1px solid #e2e8f0;
}

.cms-publish-box p {
  margin: 0;
  color: #64748b;
  font-size: .84rem;
}

.cms-publish-button {
  flex: 0 0 auto;
}

.cms-message {
  margin-bottom: 1.2rem;
  padding: 1rem 1.2rem;
  border-radius: 10px;
}

.cms-message-error {
  border: 1px solid #fecaca;
  color: #991b1b;
  background: #fef2f2;
}

.cms-message-success {
  border: 1px solid #bbf7d0;
  color: #166534;
  background: #f0fdf4;
}

.cms-message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  margin-top: .55rem;
}

.cms-message-actions a {
  font-weight: 700;
  text-decoration: underline;
}

.blog-main-image img,
.blog-photo-gallery img {
  width: 100%;
  height: auto;
}

.blog-photo-gallery {
  display: grid;
  gap: 24px;
  margin-top: 2.5rem;
}

.blog-not-found {
  text-align: center;
}

.concert-notice-flyer {
  width: min(720px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.concert-notice-details {
  margin: 1.4rem 0 2.5rem;
  overflow: hidden;
  border: 1px solid #d8e0e9;
  border-radius: 12px;
}

.concert-notice-details dl {
  display: grid;
  grid-template-columns: 150px 1fr;
  margin: 0;
}

.concert-notice-details dt,
.concert-notice-details dd {
  margin: 0;
  padding: .9rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.concert-notice-details dt {
  color: var(--primary);
  background: #edf2f7;
  font-weight: 700;
}

.concert-notice-details dt:last-of-type,
.concert-notice-details dd:last-of-type {
  border-bottom: 0;
}

.concert-important {
  margin: 2.3rem 0;
  padding: clamp(20px, 4vw, 30px);
  border: 2px solid var(--accent);
  border-radius: 12px;
  background: #fff9eb;
}

.concert-important h3 {
  margin-top: 0;
  color: #8a6217;
}

.concert-important ul {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .cms-header { padding-bottom: 2.6rem; }
  .cms-container { padding-top: 2rem; }
  .cms-card { padding: 22px 18px; border-radius: 12px; }
  .cms-toolbar { align-items: flex-start; }
  .cms-photo-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cms-publish-box { align-items: stretch; flex-direction: column; }
  .cms-publish-button { width: 100%; }
  .concert-notice-details dl { grid-template-columns: 92px 1fr; }
  .concert-notice-details dt,
  .concert-notice-details dd { padding: .8rem .7rem; }
}


/* --- CMS COVER POSITION V31 --- */
.cms-new-cover-editor {
  margin-top: .4rem;
  padding: 1rem;
  border: 1px solid #d8e0e9;
  border-radius: 12px;
  background: #f8fafc;
}

.cms-new-cover-editor[hidden] {
  display: none;
}

.cms-control-title {
  margin: 0 0 .7rem;
  color: var(--primary);
  font-weight: 700;
}

.cms-position-section {
  margin-top: 1.5rem;
}

.cms-card-heading p {
  margin: .55rem 0 0;
  color: #64748b;
}

.cms-position-list {
  display: grid;
  gap: 1.25rem;
}

.cms-position-item {
  display: grid;
  grid-template-columns: minmax(230px, .9fr) minmax(280px, 1.1fr);
  gap: 1.25rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid #dce3eb;
  border-radius: 12px;
  background: #fff;
}

.cms-position-preview {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.9;
  border-radius: 9px;
  background: #e8edf3;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,.06);
}

.cms-position-preview::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(15,23,42,.35), 0 2px 8px rgba(0,0,0,.3);
  pointer-events: none;
}

.cms-position-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cms-position-content h3 {
  margin: .1rem 0 1rem;
  color: var(--primary);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

.cms-position-date {
  margin: 0;
  color: var(--accent);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.cms-position-form {
  display: grid;
  gap: .9rem;
}

.cms-position-controls {
  display: grid;
  gap: .8rem;
}

.cms-position-controls label {
  display: grid;
  gap: .35rem;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
}

.cms-position-controls input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}

.cms-position-save {
  justify-self: start;
}

.cms-new-cover-editor .cms-position-preview {
  margin-bottom: .9rem;
}

@media (max-width: 768px) {
  .cms-position-item {
    grid-template-columns: 1fr;
    padding: .8rem;
  }

  .cms-position-save {
    width: 100%;
  }
}


/* --- FULL-WIDTH DESKTOP HERO V32 --- */
@media (min-width: 769px) {
  .video-background video {
    object-fit: contain;
    object-position: center center;
  }
}
