/* CSS block 1 */

:root {
  --bg:#090d1b;
  --panel:#151e32;
  --cyan:#64efff;
  --pink:#ff4dc8;
  --gold:#e7be70;
  --mute:#acbad3
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  background:var(--bg);
  color:#fff;
  font-family:'Noto Sans JP',sans-serif
}

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

button,input {
  font:inherit
}

.wrap {
  max-width:1380px;
  margin:auto;
  padding:0 clamp(20px,5vw,75px)
}

.mono {
  font-family:'Barlow Condensed',sans-serif
}

.eyebrow {
  font:800 14px 'Barlow Condensed';
  color:var(--cyan);
  letter-spacing:.25em
}

.pink {
  color:var(--pink)
}

.muted {
  color:var(--mute)
}

.btn {
  display:inline-block;
  background:var(--cyan);
  color:#091221;
  padding:16px 22px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  box-shadow:5px 5px 0 #186377
}

.btn.alt {
  background:transparent;
  color:#fff;
  border:1px solid #7e91b6;
  box-shadow:none
}

.btn:hover {
  filter:brightness(1.15)
}

header {
  position:absolute;
  z-index:3;
  top:0;
  left:0;
  width:100%;
  border-bottom:1px solid #7fd2ff30;
  padding:24px clamp(20px,5vw,75px);
  display:flex;
  justify-content:space-between;
  align-items:center
}

.brand {
  font:900 23px 'Barlow Condensed';
  letter-spacing:.09em
}

.brand b {
  color:var(--cyan)
}

nav {
  display:flex;
  gap:25px;
  align-items:center
}

nav a {
  font:800 12px 'Barlow Condensed';
  letter-spacing:.15em
}

nav a:hover {
  color:var(--cyan)
}

.hero {
  min-height:850px;
  min-height:100svh;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
  background:radial-gradient(ellipse at 80% 30%,#144378 0,transparent 48%),radial-gradient(ellipse at 20% 88%,#4b194c 0,transparent 40%),#080c19
}

.hero:before {
  content:'';
  position:absolute;
  inset:0;
  opacity:.16;
  background-image:linear-gradient(#a7cfff 1px,transparent 1px),linear-gradient(90deg,#a7cfff 1px,transparent 1px);
  background-size:85px 85px;
  transform:perspective(600px) rotateX(20deg) scale(1.4)
}

.hero-art {
  position:absolute;
  right:-6%;
  top:4%;
  height:100%;
  width:58%;
  opacity:.27;
  background:url('assets/flyer-main.jpg') center/cover;
  mask-image:linear-gradient(90deg,transparent,#000 40%,#000 70%,transparent)
}

.ring {
  position:absolute;
  border:1px solid #71f8ff77;
  border-radius:50%;
  width:650px;
  height:650px;
  right:-110px;
  top:15%;
  box-shadow:0 0 100px #18dfff18;
  animation:spin 50s linear infinite
}

.ring:before {
  content:'';
  position:absolute;
  inset:60px;
  border:2px dashed #ff4dca77;
  border-radius:50%
}

@keyframes spin {
  to {
    transform:rotate(360deg)
  }

}

.hero-content {
  position:relative;
  padding:145px 0 80px
}

.hero h1 {
  font:900 clamp(70px,12vw,170px)/.8 'Barlow Condensed';
  letter-spacing:-.02em;
  margin:36px 0 28px;
  text-shadow:0 0 60px #38caff44
}

.hero h1 span {
  display:block
}

.hero h1 .glow {
  color:var(--cyan)
}

.hero h1 .year {
  font-size:1.24em;
  color:transparent;
  -webkit-text-stroke:2px #fff;
  margin-top:12px;
  letter-spacing:.03em
}

.hero h2 {
  font-size:clamp(17px,2vw,26px);
  line-height:1.6;
  margin:26px 0 12px
}

.hero p {
  font-size:13px;
  line-height:2.1;
  color:#d8e4f8
}

.actions {
  display:flex;
  gap:15px;
  flex-wrap:wrap;
  margin:30px 0
}

.hero-meta {
  display:flex;
  flex-wrap:wrap;
  gap:35px;
  margin-top:40px;
  font:800 24px 'Barlow Condensed'
}

.hero-meta small {
  display:block;
  font:700 11px 'Barlow Condensed';
  letter-spacing:.2em;
  color:#9cb6d4;
  margin-bottom:5px
}

.hero-meta b {
  color:var(--gold)
}

.hero-bottom {
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  border-top:1px solid #74a9df66;
  padding:12px 5vw;
  display:flex;
  justify-content:space-between;
  font:700 11px 'Barlow Condensed';
  letter-spacing:.18em;
  background:#09101f99
}

section.block {
  padding:95px 0
}

.kicker {
  font:800 13px 'Barlow Condensed';
  letter-spacing:.25em;
  color:var(--pink)
}

.title {
  font:900 clamp(54px,7.5vw,92px)/.9 'Barlow Condensed';
  margin:12px 0 30px
}

.intro {
  color:#c2cde0;
  font-size:14px;
  line-height:2.2;
  max-width:750px
}

.about {
  background:#101729;
  border-block:1px solid #33496c
}

.about-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px
}

.about p {
  font-size:15px;
  line-height:2.5;
  color:#d2ddec
}

.gold {
  color:var(--gold)
}

.facts {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px
}

.fact {
  background:#16233b;
  border:1px solid #314d70;
  padding:25px;
  min-height:130px
}

.fact small {
  display:block;
  color:var(--cyan);
  font:800 12px 'Barlow Condensed';
  letter-spacing:.2em
}

.fact b {
  display:block;
  font-size:19px;
  margin-top:14px
}

.fact span {
  font-size:12px;
  color:var(--mute)
}

.anniv {
  margin-top:30px;
  padding:24px;
  border:1px solid #826a47;
  background:#2a2230;
  color:var(--gold);
  font-weight:900
}

.event-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:25px;
  margin-bottom:34px
}

.search {
  background:#15223b;
  border:1px solid #4c6381;
  color:white;
  padding:14px;
  width:255px;
  max-width:100%;
  font-size:13px
}

.events {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px
}

.event {
  background:linear-gradient(140deg,#1c2943,#101626);
  border:1px solid #344662;
  overflow:hidden;
  transition:.2s
}

.event:hover {
  transform:translateY(-4px);
  border-color:var(--cyan)
}

.event-logo {
  height:170px;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:20px;
  background:radial-gradient(ellipse,#2a486a,#141c30 75%)
}

.event-logo img {
  max-height:100%;
  max-width:100%;
  object-fit:contain;
  filter:drop-shadow(0 5px 12px #0008)
}

.event-logo strong {
  font:900 30px 'Barlow Condensed';
  text-align:center;
  color:var(--cyan)
}

.event-info {
  padding:22px
}

.event-info h3 {
  font-size:17px;
  line-height:1.5;
  min-height:52px
}

.event-no {
  font:800 12px 'Barlow Condensed';
  letter-spacing:.16em;
  color:var(--pink)
}

.performer {
  display:flex;
  align-items:center;
  gap:10px;
  margin:11px 0;
  font-size:12px;
  font-weight:700
}

.performer img,.performer .avatar {
  width:45px;
  height:45px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid #6985ad;
  background:#2d3b54;
  flex-shrink:0
}

.performer img+img {
  margin-left:-17px
}

.performer small {
  display:block;
  font:800 11px 'Barlow Condensed';
  letter-spacing:.13em;
  color:var(--cyan)
}

.count {
  font:800 15px 'Barlow Condensed';
  color:var(--cyan)
}

.note {
  font-size:12px;
  color:#9eb0c9;
  line-height:2
}

.special {
  background:linear-gradient(120deg,#26152f,#101b36);
  border-block:1px solid #634d70
}

.special-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px
}

.special-card {
  padding:35px;
  background:#151b31;
  border:1px solid #55466d
}

.special-card .emoji {
  font-size:40px
}

.special-card h3 {
  font-size:19px
}

.special-card p {
  font-size:13px;
  line-height:2;
  color:#b5c3d8
}

.timeline {
  display:grid;
  grid-template-columns:1fr 1fr;
  border:1px solid #334564
}

.time {
  display:flex;
  gap:25px;
  align-items:center;
  border-bottom:1px solid #334564;
  padding:27px
}

.time:nth-child(odd) {
  border-right:1px solid #334564
}

.time b {
  font:900 39px 'Barlow Condensed';
  color:var(--cyan)
}

.time strong {
  font-size:15px
}

.time small {
  display:block;
  color:var(--mute);
  font-size:12px;
  margin-top:7px
}

.social {
  background:#10182d
}

.social-box {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center
}

.social-card {
  padding:35px;
  background:linear-gradient(135deg,#193451,#17132c);
  border:1px solid #40668b
}

.social-card h3 {
  font-size:23px;
  word-break:break-word
}

.flyers {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px
}

.flyers a {
  border:1px solid #4b6182;
  background:#121b30
}

.flyers img {
  width:100%;
  display:block
}

.flyers span {
  display:block;
  padding:14px;
  font:800 12px 'Barlow Condensed';
  color:var(--cyan);
  letter-spacing:.12em
}

.access {
  background:#0e1729;
  border-top:1px solid #36476d
}

.access-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px
}

.access-box {
  padding:30px;
  border:1px solid #344b6a;
  background:#152139
}

.access-box h3 {
  font-size:25px
}

.access-box p,.access-box li {
  font-size:13px;
  line-height:2.1;
  color:#c4d0e2
}

.access-box li {
  margin-bottom:8px
}

footer {
  padding:65px 0 30px;
  background:#050812;
  border-top:1px solid #34425e
}

.footer-title {
  font:900 clamp(44px,7vw,82px)/.9 'Barlow Condensed';
  color:var(--cyan)
}

.footer-end {
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:#8799b1;
  font-size:11px;
  margin-top:30px
}

.preview {
  position:fixed;
  bottom:14px;
  right:15px;
  background:var(--pink);
  color:#170c20;
  padding:8px 13px;
  font:900 11px 'Barlow Condensed';
  letter-spacing:.12em;
  z-index:5
}

@media(max-width:850px) {
  .events {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .about-grid {
    gap:25px
  }

}

@media(max-width:650px) {
  nav a:not(:last-child) {
    display:none
  }

  header {
    padding:18px
  }

  .brand {
    font-size:16px
  }

  .hero {
    min-height:790px
  }

  .hero-content {
    padding-top:130px
  }

  .hero h1 {
    font-size:clamp(67px,18vw,120px)
  }

  .hero h1 .year {
    -webkit-text-stroke:1.5px #fff
  }

  .hero-art {
    width:120%;
    right:-65%;
    opacity:.18
  }

  .ring {
    width:370px;
    height:370px;
    right:-240px
  }

  .hero-meta {
    gap:18px;
    font-size:18px
  }

  .hero h2 {
    font-size:17px
  }

  .hero p {
    font-size:12px
  }

  .actions .btn {
    flex:1;
    text-align:center;
    font-size:11px;
    padding:14px 9px
  }

  .hero-bottom span:last-child {
    display:none
  }

  section.block {
    padding:70px 0
  }

  .title {
    font-size:57px
  }

  .about-grid,.social-box,.access-grid {
    grid-template-columns:1fr
  }

  .fact {
    padding:17px;
    min-height:110px
  }

  .fact b {
    font-size:16px
  }

  .event-head {
    display:block
  }

  .search {
    width:100%;
    margin-top:15px
  }

  .events {
    grid-template-columns:1fr
  }

  .special-grid,.timeline {
    grid-template-columns:1fr
  }

  .time:nth-child(odd) {
    border-right:0
  }

  .flyers {
    gap:9px
  }

  .social-card {
    padding:22px
  }

  .footer-end {
    flex-direction:column
  }

}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    scroll-behavior:auto!important
  }

}

/* CSS block 2 */

/* 2027 rev.2: poster background removed until the new main portrait arrives. */
.hero-art {
  background:none;
  opacity:0
}

.hero {
  background:radial-gradient(ellipse at 77% 35%,#194b80 0,transparent 48%),radial-gradient(ellipse at 15% 85%,#6c1a58 0,transparent 45%),#070c1b
}

.events {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px
}

.event-logo {
  height:250px;
  padding:15px
}

.event-info {
  padding:25px 28px
}

.event-info h3 {
  font-size:21px;
  min-height:0;
  margin:10px 0 14px
}

.performer {
  font-size:15px;
  gap:14px;
  margin:15px 0
}

.performer img,.performer .avatar {
  width:72px;
  height:72px;
  border-width:2px
}

.performer img+img {
  margin-left:-22px
}

.event-profile {
  border-top:1px solid #40516d;
  margin-top:18px;
  padding-top:17px;
  color:#bac9df;
  font-size:13px;
  line-height:2
}

.event-profile b {
  display:block;
  color:var(--pink);
  font-size:12px;
  letter-spacing:.08em;
  margin-bottom:5px
}

.organizer {
  font-size:12px;
  color:#a2b4ce;
  border-top:1px solid #33425d;
  padding-top:13px
}

.organizer span {
  color:var(--gold);
  font-weight:800
}

.timeline {
  grid-template-columns:repeat(3,1fr)
}

.time {
  padding:19px;
  gap:15px
}

.time:nth-child(odd) {
  border-right:0
}

.time:not(:nth-child(3n)) {
  border-right:1px solid #334564
}

.time b {
  font-size:30px
}

.time strong {
  font-size:13px
}

@media(max-width:850px) {
  .events {
    grid-template-columns:1fr 1fr
  }

  .timeline {
    grid-template-columns:1fr 1fr
  }

  .time:not(:nth-child(3n)) {
    border-right:0
  }

  .time:nth-child(odd) {
    border-right:1px solid #334564
  }

}

@media(max-width:650px) {
  .events,.timeline {
    grid-template-columns:1fr
  }

  .event-logo {
    height:230px
  }

  .event-info h3 {
    font-size:19px
  }

  .performer img,.performer .avatar {
    width:64px;
    height:64px
  }

  .time:nth-child(odd) {
    border-right:0
  }

}

/* CSS block 3 */

.hero-art {
  background:url('assets/background-person.jpg') center 35%/cover no-repeat;
  opacity:.18;
  right:-1%;
  top:8%;
  width:57%;
  height:92%;
  mask-image:linear-gradient(90deg,transparent,#000 30%,#000 80%,transparent)
}

.event-logo {
  background:radial-gradient(ellipse at center,#2a486a,#141c30 75%);
  overflow:hidden;
  isolation:isolate
}

.event-logo img {
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  filter:drop-shadow(0 3px 5px #1b304755);
  transform:scale(var(--logo-scale,1));
  transform-origin:center
}

.event-logo strong {
  color:var(--cyan)
}

.timeline {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  max-width:820px;
  margin:32px auto;
  border:1px solid #334564
}

.time {
  border-bottom:1px solid #334564;
  border-right:0!important;
  padding:15px 25px;
  min-height:70px;
  gap:28px
}

.time:last-child {
  border-bottom:0
}

.time:nth-child(even) {
  background:#15223a
}

.time b {
  min-width:95px;
  font-size:32px
}

.time-main {
  flex:1;
  min-width:0
}

.time-performers {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px
}

.time-performers span {
  display:inline-block;
  border:1px solid #3d607e;
  color:#c3f6ff;
  background:#17324b;
  padding:3px 10px;
  font-size:12px;
  font-weight:800
}

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

.flyer-heading {
  font-size:clamp(34px,5vw,60px);
  line-height:1.15
}

@media(max-width:650px) {
  .timeline {
    grid-template-columns:1fr
  }

  .time {
    padding:15px 13px
  }

  .time b {
    font-size:29px;
    min-width:83px
  }

  .special-grid {
    grid-template-columns:1fr
  }

}

.event-social {
  display:flex;
  gap:9px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  padding:13px 0;
  border-top:1px solid #3b506b;
  margin-top:14px
}

.x-link {
  display:inline-flex;
  gap:7px;
  align-items:center;
  font-size:12px;
  font-weight:800;
  color:#b0f8ff;
  text-decoration:none
}

.x-link:hover {
  text-decoration:underline;
  color:white
}

.x-mark {
  display:inline-grid;
  place-items:center;
  border:1px solid currentColor;
  border-radius:50%;
  width:22px;
  height:22px;
  font:900 12px Arial,sans-serif
}

.performer a {
  display:inline-flex;
  align-items:center;
  flex-shrink:0
}

.performer a:hover img {
  border-color:var(--cyan);
  box-shadow:0 0 0 3px #68f7ff33
}

.organizer a {
  color:var(--gold);
  font-weight:900
}

.organizer a:hover {
  text-decoration:underline
}

.event-profile {
  white-space:pre-line
}

/* =========================================================
   MOBILE HERO / スマホだけPC版風の背景合成にする
   既存の小さい写真枠設定を整理して、この1か所で管理する
   ========================================================= */

/* 以前試した独立写真カードを使っている場合は隠す */
.hero-photo {
  display: none;
}

@media (max-width: 650px) {
  .hero {
    position: relative;
    display: flex;
    align-items: flex-start;
    min-height: 850px;
    overflow: hidden;
  }

  /* 元画像の白い背景の四角い輪郭をフェードでぼかす */
  .hero-art {
    display: block !important;
    position: absolute;
    z-index: 0;
    top: 62px !important;
    right: -115px !important;
    width: 560px !important;
    height: 650px !important;
    background-image: url('assets/background-person.jpg') !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-size: auto 690px !important;
    opacity: 0.25 !important;
    -webkit-mask-image: radial-gradient(ellipse 47% 53% at 50% 37%, #000 35%, transparent 100%) !important;
    mask-image: radial-gradient(ellipse 47% 53% at 50% 37%, #000 35%, transparent 100%) !important;
    pointer-events: none;
  }

  /* 顔の下側（服の部分）にタイトルを重ねる */
  .hero-content {
    position: relative;
    z-index: 2;
    padding-top: 315px !important;
    padding-bottom: 85px;
  }

  .hero h1 {
    font-size: clamp(57px, 15vw, 94px) !important;
    margin-top: 22px;
  }

  .hero h1 span {
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.48);
  }

  .ring {
    width: 470px;
    height: 470px;
    top: 140px;
    right: -215px;
    opacity: 0.45;
  }
}
