/*
Theme Name: InterlineMusic Summer Live
Theme URI: https://summerlive.archive.interline-music.jp/
Author: InterlineMusic
Description: InterlineMusic Summer Liveのパスワード保護付きアーカイブ特設テーマです。
Version: 1.0.25
Requires PHP: 7.3
Text Domain: interline-summer-live
*/

:root {
  --color-ink: #050505;
  --color-white: #ffffff;
  --color-paper: #f3f1ec;
  --color-paper-clean: #fffdf6;
  --color-paper-cool: #f5fbff;
  --color-blue: #009ee8;
  --color-blue-deep: #004b78;
  --color-blue-dark: #00344f;
  --color-yellow: #fff100;
  --color-yellow-soft: #fff86a;
  --color-red: #b91c1c;
  --color-muted: #4b4b4b;
  --color-rule: rgba(17, 17, 17, 0.14);
  --shadow-soft: 0 22px 48px rgba(0, 52, 79, 0.12);
  --shadow-media: 0 30px 80px rgba(0, 52, 79, 0.22);
  --font-sans: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-serif-jp: "Noto Serif JP", "Yu Mincho", YuMincho, serif;
  --font-serif-en: "Playfair Display", Georgia, serif;
  --font-heavy: "Arial Black", "Inter", "Helvetica Neue", Arial, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3rem;
  --text-hero: 4rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-section: 7rem;
  --max-content: 1160px;
  --header-height: 4rem;
  color-scheme: light;
  font-family: var(--font-sans);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: #dff8ff url("assets/hero-bg-desktop.png") center top / cover fixed no-repeat;
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: 1.75;
  letter-spacing: 0;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(255, 255, 255, 0.52);
  pointer-events: none;
}

main {
  position: relative;
  z-index: 0;
  overflow-x: clip;
  padding-top: var(--header-height);
}

#player,
#lineup {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

body.is-access-denied main,
body.is-access-denied .site-header,
body.is-access-denied .site-footer {
  display: none;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 4px;
}

::selection {
  color: var(--color-ink);
  background: var(--color-yellow);
}

.skip-link {
  position: fixed;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: var(--space-3) var(--space-4);
  color: var(--color-ink);
  background: var(--color-yellow);
  border: 1px solid var(--color-ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.c-container {
  width: min(100% - 2.5rem, var(--max-content));
  margin: 0 auto;
}

.c-section {
  padding: var(--space-section) 0;
}

.section-head {
  display: grid;
  gap: var(--space-3);
  max-width: 760px;
  margin-bottom: var(--space-12);
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

.section-kicker,
.eyebrow {
  margin: 0;
  color: var(--color-red);
  font-family: var(--font-heavy);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-head h2,
.access-screen h2 {
  margin: 0;
  font-family: var(--font-serif-jp);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.35;
}

.section-head p:not(.section-kicker) {
  margin: 0;
  color: var(--color-muted);
}

.c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.15rem;
  gap: var(--space-2);
  border-radius: 999px;
  border: 1px solid var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.c-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.c-button-primary {
  color: var(--color-ink);
  background: var(--color-yellow);
}

.c-button-secondary {
  color: var(--color-ink);
  background: rgba(255, 248, 106, 0.66);
  backdrop-filter: blur(14px);
}

.c-button:hover,
.c-button:focus-visible {
  transform: translateY(-2px);
}

.c-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--header-height);
  padding: 0 clamp(1.25rem, 5vw, 4rem);
  background: var(--color-white);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  background: var(--color-white);
  box-shadow: 0 14px 34px rgba(0, 52, 79, 0.08);
}

.admin-bar .site-header {
  top: 32px;
}

.admin-bar #player,
.admin-bar #lineup {
  scroll-margin-top: calc(var(--header-height) + 33px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  width: max-content;
  min-height: 44px;
}

.brand img {
  width: 190px;
}

.hero {
  position: relative;
  min-height: 86svh;
  padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
  overflow: hidden;
  color: var(--color-white);
  background: var(--color-blue-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.08);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 75, 120, 0.72), rgba(0, 158, 232, 0.34) 48%, rgba(255, 241, 0, 0.08)),
    linear-gradient(180deg, rgba(0, 158, 232, 0.14), rgba(0, 75, 120, 0.14) 56%, rgba(0, 158, 232, 0.08));
}

.hero-inner {
  position: relative;
  display: grid;
  align-content: center;
  gap: var(--space-5);
  min-height: calc(86svh - var(--header-height) - var(--space-20));
}

.summer-label {
  margin: 0;
  color: var(--color-blue);
  font-family: var(--font-serif-en);
  font-size: var(--text-4xl);
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0.08em 0.08em 0 var(--color-yellow);
}

.hero-title {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-serif-jp);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.24;
}

.hero-title span {
  display: block;
  color: var(--color-yellow);
  font-family: var(--font-serif-en);
  font-style: italic;
}

.hero-copy {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-lg);
  font-weight: 500;
}

.status-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 1fr);
  gap: var(--space-4);
  align-items: center;
  width: min(100%, 760px);
  margin-top: var(--space-3);
  padding: var(--space-5);
  color: var(--color-ink);
  background: rgba(255, 248, 106, 0.72);
  border: 1px solid rgba(0, 158, 232, 0.24);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.status-strip span {
  display: block;
  color: var(--color-red);
  font-family: var(--font-heavy);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status-strip strong {
  display: block;
  margin-top: var(--space-1);
  font-family: var(--font-serif-jp);
  font-size: var(--text-2xl);
  line-height: 1.25;
}

.status-strip p {
  margin: 0;
  color: var(--color-muted);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.event-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 780px);
  margin: var(--space-2) 0 0;
  background: rgba(0, 158, 232, 0.24);
  border: 1px solid rgba(0, 158, 232, 0.28);
}

.event-meta div {
  padding: var(--space-4);
  background: rgba(255, 248, 106, 0.56);
  backdrop-filter: blur(16px);
}

.event-meta dt {
  color: var(--color-red);
  font-family: var(--font-heavy);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.event-meta dd {
  margin: var(--space-1) 0 0;
  color: var(--color-ink);
  font-family: var(--font-serif-jp);
  font-size: var(--text-lg);
  font-weight: 700;
}

.player-section {
  padding: clamp(1.25rem, 4vw, 3rem) 0 clamp(1.25rem, 3vw, 2.5rem);
  background: transparent;
}

.poster-player {
  position: relative;
  width: min(100%, 920px);
  margin: 0 auto;
  isolation: isolate;
}

.poster-player-image {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 58px rgba(0, 52, 79, 0.24));
}

.poster-player-slot {
  position: absolute;
  top: 54%;
  right: 4%;
  left: 4%;
  z-index: 2;
}

.archive-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid rgba(0, 75, 120, 0.18);
  box-shadow: 0 18px 42px rgba(0, 52, 79, 0.2);
  object-fit: contain;
}

.video-link-panel {
  display: grid;
  place-items: center;
  align-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: clamp(1.25rem, 4vw, 3rem);
  color: var(--color-ink);
  text-align: center;
  background: var(--color-white);
  border: 1px solid rgba(0, 75, 120, 0.14);
  box-shadow: 0 18px 42px rgba(0, 52, 79, 0.2);
}

.video-link-label {
  margin: 0;
  color: var(--color-red);
  font-family: var(--font-heavy);
  font-size: clamp(0.7rem, 1.5vw, 0.95rem);
  letter-spacing: 0.2em;
}

.video-link-url {
  display: inline-block;
  max-width: 100%;
  padding: 0.9em 1.2em;
  color: var(--color-blue-dark);
  font-family: var(--font-sans);
  font-size: clamp(0.68rem, 1.6vw, 1rem);
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
  background: var(--color-paper-cool);
  border: 1px solid rgba(0, 75, 120, 0.18);
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

a.video-link-url:hover,
a.video-link-url:focus-visible {
  color: var(--color-white);
  background: var(--color-blue-dark);
  transform: translateY(-2px);
}

.video-link-url-empty {
  margin: 0;
  color: var(--color-muted);
  cursor: default;
}

.artist-section {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  background: transparent;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: var(--space-16) var(--space-8);
  align-items: start;
}

.artist-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: var(--space-4);
  color: var(--color-ink);
  text-align: center;
  transition: transform 180ms ease;
}

.artist-card:hover {
  transform: translateY(-2px);
}

.artist-photo {
  position: relative;
  z-index: 0;
  width: 156px;
  aspect-ratio: 1;
  isolation: isolate;
}

.artist-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  object-fit: cover;
  object-position: 50% 50%;
}

.artist-photo-hachi img { object-position: 56% 46%; }
.artist-photo-duo img { object-position: 50% 42%; }
.artist-photo-miyagi img { object-position: 54% 48%; }
.artist-photo-pomu img { object-position: 48% 42%; }

.artist-name {
  margin: var(--space-4) 0 0;
  font-family: var(--font-serif-jp);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.access-screen {
  min-height: 100svh;
  padding: calc(var(--header-height) + var(--space-20)) 1.25rem var(--space-20);
  color: var(--color-white);
  background: var(--color-blue-dark);
}

.access-screen[hidden] {
  display: none;
}

.access-screen > div {
  display: grid;
  gap: var(--space-4);
  width: min(100%, 760px);
  margin: 0 auto;
  padding: var(--space-10);
  border: 1px solid rgba(255, 241, 0, 0.76);
}

.access-screen p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer {
  padding: var(--space-8) 1.25rem;
  color: var(--color-ink);
  background: var(--color-white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  width: min(100%, var(--max-content));
  margin: 0 auto;
}

.footer-inner img {
  width: 190px;
}

.footer-inner small {
  color: var(--color-muted);
  font-weight: 700;
}

.noscript-message {
  margin: 0;
  padding: var(--space-4);
  color: var(--color-ink);
  background: var(--color-yellow);
  text-align: center;
}

.reveal {
  opacity: 1;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes equalize {
  from { height: 12px; }
  to { height: 42px; }
}

@media (max-width: 1100px) {
  :root {
    --text-hero: 3.5rem;
    --text-4xl: 2.75rem;
  }

  .hero {
    min-height: 82svh;
  }

}

@media (max-width: 720px) {
  :root {
    --header-height: 3.75rem;
    --text-hero: 2.25rem;
    --text-4xl: 2rem;
    --text-3xl: 1.8rem;
    --text-2xl: 1.5rem;
    --space-section: 5.25rem;
  }

  body {
    background-image: url("assets/hero-bg-mobile.png");
    background-attachment: scroll;
    background-position: center top;
  }

  .c-container {
    width: min(100% - 2.25rem, var(--max-content));
  }

  .site-header {
    padding-inline: var(--space-3);
  }

  .brand img {
    width: 145px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-12));
  }

  .hero-bg img {
    object-position: center top;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0, 75, 120, 0.68), rgba(0, 158, 232, 0.32) 58%, rgba(255, 241, 0, 0.08)),
      rgba(0, 158, 232, 0.08);
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-copy {
    font-size: var(--text-md);
  }

  .status-strip,
  .event-meta {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .c-button {
    flex: 1 1 100%;
  }

  .player-section {
    padding-top: var(--space-5);
    padding-bottom: var(--space-4);
  }

  .poster-player {
    width: min(100%, 560px);
  }

  .poster-player-slot {
    top: 53%;
    right: 3%;
    left: 3%;
  }

  .archive-video {
    box-shadow: 0 14px 30px rgba(0, 52, 79, 0.18);
  }

  .video-link-panel {
    padding: var(--space-4);
    box-shadow: 0 14px 30px rgba(0, 52, 79, 0.18);
  }

  .artist-grid {
    grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
    gap: var(--space-12) var(--space-4);
  }

  .artist-photo {
    width: 112px;
  }

  .footer-inner {
    display: grid;
  }

  .artist-section {
    padding-top: var(--space-10);
  }

  .footer-inner img {
    width: 145px;
  }
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .admin-bar #player,
  .admin-bar #lineup {
    scroll-margin-top: calc(var(--header-height) + 47px);
  }
}

@media (max-width: 430px) {
  .hero {
    padding-top: calc(var(--header-height) + var(--space-8));
  }

  .hero-inner {
    gap: var(--space-4);
  }

  .summer-label {
    font-size: 1.75rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .status-strip {
    order: 5;
    padding: var(--space-4);
  }

  .status-strip strong {
    font-size: 1.35rem;
  }

  .status-strip p {
    line-height: 1.55;
  }

  .hero-actions {
    order: 4;
  }

  .event-meta {
    order: 6;
  }

  .artist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .artist-photo {
    width: 104px;
  }

  .artist-name {
    font-size: var(--text-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
