* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Zen Kaku Gothic New", sans-serif;
  background: #0e0e0e url("assets/web_back_260110-1.png") top center / cover no-repeat;
  color: #ffffff;
  overflow-x: hidden;
}

.scene {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: url("assets/web_back_260110-1.png") top center / cover no-repeat;
  transition: opacity 0.6s ease;
}

.topbar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  padding: clamp(16px, 3vw, 32px) clamp(18px, 4vw, 48px) 0;
  color: #ffffff;
  z-index: 20;
  opacity: 0;
  transform: translateY(0);
  transition: transform 0.35s ease, opacity 0.4s ease;
  will-change: opacity, transform;
  pointer-events: none;
}

.topbar.is-hidden {
  transform: translateY(-120%);
  pointer-events: none;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(16px, 4vw, 48px);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
}

.topbar-icon {
  width: clamp(120px, 18vw, 240px);
  height: auto;
  display: block;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 32px);
  font-size: clamp(12px, 1.6vw, 16px);
  letter-spacing: 0.08em;
  white-space: nowrap;
  pointer-events: auto;
}

.topbar-nav a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.topbar-nav a:visited,
.topbar-nav a:link {
  color: inherit;
}

.topbar-nav a:hover {
  opacity: 0.7;
}

.topbar-nav .is-muted {
  opacity: 0.4;
}

.title,
.info {
  position: absolute;
  top: 4vh;
  width: clamp(180px, 26vw, 300px);
  height: auto;
  will-change: opacity;
  opacity: 1;
}

.title-mobile {
  position: absolute;
  top: 4vh;
  left: 4vw;
  width: clamp(240px, 90vw, 500px);
  height: auto;
  opacity: 0;
  pointer-events: none;
}

.title {
  left: 4vw;
  width: clamp(180px, 32vw, 480px);
}

.info {
  right: 4vw;
}

.kv {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(70vw, 720px);
  height: min(70vw, 720px);
  transform: translate(-50%, -50%);
}

.kv img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: auto;
  will-change: transform, opacity;
}

.ball {
  width: min(45vw, 420px);
  transform: translate(-50%, -50%);
  z-index: 1;
}

.ball-blur-mask {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(54vw, 520px);
  aspect-ratio: 472.56 / 347.67;
  transform: translate(-50%, -50%);
  -webkit-clip-path: polygon(0 38%, 50% 54%, 100% 38%, 100% 140%, 0 140%);
  clip-path: polygon(0 38%, 50% 54%, 100% 38%, 100% 140%, 0 140%);
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}

.ball-blur {
  width: 100%;
  transform: translate(-50%, -50%) translate(-5px, 135px);
  z-index: 2;
}

.box-back {
  width: min(60vw, 560px);
  transform: translate(-50%, -50%) translateY(120px);
  z-index: 0;
}

.box-front {
  width: min(60vw, 560px);
  transform: translate(-50%, -50%) translateY(150px);
  z-index: 3;
}

.text-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(82vw, 720px);
  text-align: center;
}

.stage1-label,
.stage2-label {
  margin: 0;
  display: block;
  font-family: "Mukta", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(14px, 2.2vw, 20px);
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  vertical-align: middle;
  leading-trim: none;
  opacity: 0;
  will-change: opacity;
}

.stage1-label {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateY(-60px);
  width: min(82vw, 720px);
}

.stage2-label {
  margin-bottom: 12px;
}

.headline {
  margin: 0 ;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(82vw, 180px);
  text-align: center;
  opacity: 0;
  will-change: opacity;
  height: auto;
}

.description {
  margin: 0;
  font-size: clamp(14px, 2.2vw, 20px);
  line-height: 1.8;
  letter-spacing: 0.05em;
  opacity: 0;
  will-change: opacity;
}

.greeting-section .description {
  opacity: 1;
  line-height: 2;
  will-change: auto;
}

.scroll-spacer {
  height: 700vh;
}

.scroll-content {
  position: relative;
  background: transparent;
  color: #ffffff;
  padding: 0 8vw 0;
  overflow-x: hidden;
}

.greeting-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  --greeting-shift: 12vw;
}

.greeting-inner {
  width: min(82vw, 720px);
  margin: 0 auto;
  transform: translateX(var(--greeting-shift));
  transition: opacity 0.4s ease;
}

.greeting-inner.is-fixed {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateX(var(--greeting-shift));
  z-index: 2;
  pointer-events: none;
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: clamp(24px, 6vw, 90px);
  align-items: stretch;
  margin-top: clamp(36px, 24vw, 300px);
}

.info-block {
  margin-bottom: clamp(18px, 3.5vw, 28px);
}

.info-block h2,
.dept-section h2,
.event-section h2 {
  margin: 0 0 12px;
  font-size: clamp(18px, 2.6vw, 24px);
  letter-spacing: 0.08em;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
}

.info-block p {
  margin: 0 0 4px;
  font-size: clamp(13px, 1.8vw, 16px);
  line-height: 1.55;
}

.info-venue {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: clamp(16px, 2.4vw, 20px);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.info-venue-heading {
  font-size: clamp(16px, 2.4vw, 20px);
}
.info-venue-note {
  font-size: clamp(12px, 1.6vw, 14px);
  font-weight: 400;
}

.info-venue-rule {
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  margin: 8px 0 10px;
}

.info-address {
  margin: 0 0 10px;
}

.info-note {
  margin-top: 6px;
  font-size: clamp(12px, 1.6vw, 14px);
  opacity: 0.9;
}

.info-list {
  margin: 16px 0 0;
  display: grid;
  gap: 6px;
  font-size: clamp(12px, 1.6vw, 14px);
}

.info-list div,
.event-body dl div,
.event-body dl {
  margin: 0;
}

.info-list dt {
  font-weight: 600;
}

.info-list dd {
  margin: 0;
  padding-left: 14px;
  position: relative;
}

.info-list dd::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.6);
}

.info-list div {
  display: grid;
  grid-template-columns: minmax(70px, 90px) 1fr;
  gap: 14px;
}

.info-access {
  margin: 0;
  padding-left: 0;
  display: grid;
  gap: 6px;
  font-size: clamp(13px, 1.8vw, 16px);
  line-height: 1.45;
  list-style: none;
}

.info-right {
  display: flex;
  height: 100%;
  justify-content: center;
}

.mid-visual {
  margin: clamp(40px, 8vw, 80px) 0 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.mid-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.map-embed {
  width: 100%;
  height: 100%;
  min-height: clamp(240px, 40vw, 520px);
  border: 0;
  display: block;
}

.dept-section {
  margin-top: clamp(120px, 24vw, 260px);
  position: relative;
  min-height: 100vh;
  padding-bottom: clamp(40px, 8vw, 120px);
}

.dept-section h2 {
  margin-bottom: clamp(20px, 4vw, 32px);
  max-width: 520px;
  font-size: clamp(20px, 3vw, 26px);
  border-bottom: none;
  padding-bottom: 0;
}

.dept-list {
  display: grid;
  gap: 0;
  max-width: 980px;
}

.dept-row {
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr;
  gap: clamp(18px, 5vw, 48px);
  align-items: start;
  padding: clamp(18px, 4vw, 28px) 0;
}

.dept-row + .dept-row {
  border-top: 2px solid rgba(255, 255, 255, 0.6);
}


.dept-title {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 600;
  line-height: 1.7;
}

.dept-title-gap {
  display: block;
  height: 6px;
}

.paren-gap {
  display: inline-block;
  margin-left: 0.35em;
}

.dept-desc {
  margin: 0;
  font-size: clamp(12px, 1.6vw, 14px);
  line-height: 1.7;
}

.dept-icon {
  position: absolute;
  right: -8vw;
  bottom: clamp(240px, 12vw, 300px);
  width: clamp(120px, 20vw, 200px);
  height: auto;
  pointer-events: none;
}

.event-section {
  margin-top: clamp(60px, 12vw, 140px);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 40px);
}

.event-card {
  background: #efefef;
  color: #333333;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  min-height: 320px;
}

.event-thumb {
  height: 180px;
  background: #d8d8d8;
}

.event-body {
  position: relative;
  padding: 28px 20px 24px;
  background: #ffffff;
}

.event-date {
  position: absolute;
  left: 16px;
  top: -26px;
  background: #d84c3a;
  color: #ffffff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}

.event-date-top {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.event-date-bottom {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.event-body h3 {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #c24735;
}

.event-rule {
  height: 3px;
  background: #d84c3a;
  margin-bottom: 14px;
}

.event-body dl {
  display: grid;
  gap: 8px;
  font-size: 12px;
}

.event-body dt {
  font-weight: 600;
}

.event-body dd {
  margin: 2px 0 0;
}

.site-footer {
  margin-top: clamp(60px, 12vw, 140px);
  background: #e6e4e8;
  color: #2c2c2c;
  padding: clamp(28px, 6vw, 48px) 8vw;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(16px, 4vw, 40px);
}

.footer-text p {
  margin: 0 0 8px;
  font-size: clamp(12px, 1.6vw, 14px);
  letter-spacing: 0.02em;
}

.footer-text p:first-child {
  margin-bottom: 12px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.footer-social img {
  width: 20px;
  height: 20px;
  display: block;
}

@media (max-width: 600px) {
  body {
    background: #0e0e0e url("assets/web_back_mobile_260112-1.png") top center /
      cover no-repeat;
  }

  .scene {
    background: url("assets/web_back_mobile_260112-1.png") top center / cover
      no-repeat;
  }

  .title,
  .info {
    width: clamp(90px, 24vw, 160px);
  }

  .title {
    width: clamp(140px, 36vw, 260px);
  }

  .title,
  .info {
    opacity: 0;
  }

  .title-mobile {
    opacity: 1;
  }

  .headline {
    margin-bottom: 16px;
    letter-spacing: 0.08em;
  }

  .topbar {
    padding: 16px 6vw 0;
  }

  .topbar-inner {
    flex-direction: column;
    gap: 12px;
  }

  .topbar-icon {
    width: clamp(120px, 36vw, 180px);
  }

  .topbar-nav {
    flex-wrap: wrap;
    gap: 10px 16px;
    white-space: normal;
  }

  .scroll-content {
    padding: 0 6vw 0;
  }

  .greeting-section {
    padding: 64px 0;
    --greeting-shift: -4vw;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .map-embed {
    width: 100%;
  }

  .mid-visual {
    margin-top: 48px;
  }

  .dept-row {
    grid-template-columns: 1fr;
  }

  .dept-icon {
    position: static;
    margin: 24px 0 0 auto;
    display: block;
    width: min(200px, 45vw);
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 32px 6vw;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
