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

body {
  background: #050505;
  color: white;
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
}

/* 背景光 */
.background-glow {
  position: fixed;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(255, 0, 0, 0.18),
    transparent 60%
  );
  z-index: -1;
}

/* Hero */
.hero {
  min-height: 100vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.main-logo {
  width: 320px;
  max-width: 85%;
  margin: 0 auto 25px;
  animation: fadeUp 2s ease;
}

h1 {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 8px;
  text-transform: uppercase;
}

.jp-text {
  margin-top: 18px;
  font-size: 1.2rem;
  opacity: 0.8;
}

.tagline {
  margin-top: 35px;
}

.tagline p {
  letter-spacing: 6px;
  margin: 10px 0;
  color: #d0d0d0;
}

/* Works */
.works {
  padding: 120px 8%;
}

.works h2,
.brand h2 {
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 4px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.work-card {
  text-decoration: none;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 35px;
  text-align: center;
  border-radius: 20px;
  transition: 0.4s;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.work-card strong {
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.work-card span {
  font-size: 0.92rem;
  opacity: 0.75;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: #ff2d2d;
  box-shadow: 0 0 35px rgba(255, 0, 0, 0.4);
}

/* Brand */
.brand {
  padding: 120px 8%;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.color {
  height: 140px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  letter-spacing: 4px;
}

.red {
  background: #8b0000;
}
.gold {
  background: #c59d00;
}
.purple {
  background: #6417b8;
}
.pink {
  background: #f28bb6;
}
.blue {
  background: #0c4dbb;
}
.white {
  background: #f4f4f4;
  color: black;
}
.silver {
  background: #7f7f7f;
}
.teal {
  background: #007c7c;
}

/* animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.color {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  font-size: 1.1rem;
}

.color:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
}

.color.flipped {
  font-size: 2.4rem;
  letter-spacing: 0;
}

.ad {
  background: repeating-linear-gradient(
    45deg,
    #1a1a1a,
    #1a1a1a 10px,
    #222 10px,
    #222 20px
  );
  font-size: 0.85rem;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  text-align: center;
  padding: 0 10px;
}

/* Fes お知らせレイヤー(見やすい大きさ。画面幅に合わせて拡縮する) */
.fes-notice {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  animation: fesNoticeFade 0.6s ease;
}

.fes-notice[hidden] {
  display: none;
}

.fes-notice-card {
  position: relative;
  width: 100%;
  max-width: min(600px, 94vw);
  max-height: 94vh;
  overflow-y: auto;
  padding: clamp(32px, 5vw, 52px) clamp(22px, 4vw, 44px) clamp(28px, 4vw, 44px);
  text-align: center;
  border-radius: 24px;
  border: 1px solid rgba(120, 190, 255, 0.5);
  background: rgba(8, 12, 20, 0.95);
  box-shadow: 0 0 50px rgba(60, 150, 255, 0.4);
  animation: fadeUp 0.8s ease;
}

.fes-notice-x {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

.fes-notice-x:hover {
  color: #fff;
}

.fes-notice-logo {
  width: clamp(140px, 24vw, 200px);
  max-width: 55%;
  margin: 0 auto 18px;
  display: block;
}

.fes-notice-kicker {
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  letter-spacing: 5px;
  color: #3aa0ff;
}

.fes-notice-card h3 {
  margin-top: 10px;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 3px;
}

.fes-notice-sub {
  margin-top: 18px;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  line-height: 1.9;
  opacity: 0.88;
}

.fes-notice-days {
  list-style: none;
  margin: 26px 0 30px;
  display: grid;
  gap: 10px;
  font-size: clamp(1rem, 2.6vw, 1.25rem);
}

.fes-notice-days li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(120, 190, 255, 0.1);
  border: 1px solid rgba(120, 190, 255, 0.25);
}

.fes-notice-days b {
  font-weight: 700;
  letter-spacing: 1px;
}

.fes-notice-days span {
  font-size: 0.95em;
  opacity: 0.92;
}

.fes-notice-btn {
  display: inline-block;
  padding: 15px 44px;
  border-radius: 999px;
  border: 1px solid #3aa0ff;
  color: #fff;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  text-decoration: none;
  letter-spacing: 2px;
  transition: 0.3s;
}

.fes-notice-btn:hover,
.fes-notice-btn:focus-visible {
  background: #3aa0ff;
  color: #000;
  box-shadow: 0 0 24px rgba(58, 160, 255, 0.6);
}

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