﻿body {
  margin: 0;
  padding: 0;
  font-family: 'Arial Black', 'Impact', 'Helvetica', sans-serif;
  text-align: center;
  background: #fff;
  overflow-x: hidden;
}

#main-content {
  max-width: 600px;
  margin: 0 auto;
}

/* 共通幅を担うクラス */
.common-width {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 8px;
}

.content-bg {
  background: repeating-conic-gradient(
    at 50% 30%,
    #ffe401 0deg 10deg,
    #ffcf03 10deg 20deg
  );
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 8px 0;
  /* 幅はcommon-widthに任せる */
}

h1 {
  color: #cc0000;
  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff,
     0    2px 4px rgba(0, 0, 0, 0.8),
     1px  1px 6px rgba(0, 0, 0, 0.6);
  margin: 0px;
  line-height: 1.1;
  font-weight: 600;
  max-width: 600px;
  text-transform: uppercase;
  font-size: clamp(1.8em, 4.5vw, 2.2em);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

p {
  color: #cc0000;
  margin: 4px auto 6px;
  line-height: 1.1;
  font-weight: 600;
  max-width: 600px;
  text-transform: uppercase;
  font-size: clamp(1.1em, 2.7vw, 1.3em);
}

.highlight {
  font-weight: 700;
  text-transform: none;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 600px;
  margin: 0px;
}

.time-box {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 4px 8px;
  width: 70px;
  height: 80px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.time-box span.value {
  font-size: 3.8em;
  color: #cc0000;
  font-weight: 700;
  line-height: 1;
  position: relative;
  top: 4px;
}

.time-box span.label {
  font-size: 0.85em;
  color: #cc0000;
  margin-top: 2px;
}

.banner-wrapper {
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  /* 幅はcommon-widthに任せる */
  padding: 0;
  margin: 0;
}

.banner-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  border-radius: 0;
}
