/* ==========================
   Base Reset
========================== */
body {
  background: #fff;
  margin: 0;
}
main {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  font-size: 1.2rem;
  color: #111;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}
@media screen and (max-width: 960px) {
  .container {
    max-width: 100%;
  }
}

/* ==========================
   Header / Footer
========================== */
header {
  background: #0a3d48;
  padding-bottom:23px;
}
header a:hover {
  text-decoration: none;
}
.scroll-view header {
  padding-bottom:0px;
  background: rgba(10,61,72,0.9);
}
footer {
  background: #0a3d48;
}
@media screen and (max-width: 750px) {
header {
  padding-bottom:0px;
}
}

/* ==========================
   Hero Section
========================== */
.hero {
  position: relative;
  overflow: hidden;
  margin-bottom:30px;}

.hero-wrapper {
  position: relative;
  width: 100%;
}

.hero-bg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: auto;
}

.hero-stamp {
  position: absolute;
  bottom: 8%;
  right: 15%;
  width: 20%;
  max-width: 220px;
  opacity:0.9;
}

.hero-text {
  position: absolute;
  top: 25%;
  left: 5%;
  color: white;
  font-size: 1.6em;
  font-weight: bold;
  line-height: 1.4;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
}

@media screen and (max-width: 750px) {
  .hero-wrapper {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-title {
    top: 12px;
  }
  .hero-bg {
    margin-top: -1px:
    width: auto;
    object-fit: cover;
    object-position: center bottom;
  }

  .hero-stamp {
    width: 35%;
    bottom: 22%;
    right: 3%;
    width: 9rem;
  }
  .hero-text {
    top: 15%;
    left: 6%;
    font-size: 1.5em;
  }
}

/* ==========================
   Event Summary
========================== */
.event-summary {
  color: #fff;
}
.event-summary ul {
  list-style: none;
  padding-left: 0;
  margin: 1em 0;
}

.event-summary ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.8em;
  font-size: 1.1em;
  line-height: 1.6;
}

.event-summary ul li::before {
  content: "\25C6"; /* black diamond */
  position: absolute;
  left: 0;
  top: 0.2em;
  color: #00bcd4;
  font-size: 1em;
}
@media screen and (max-width: 750px) {
  .event-summary ul li {
    font-size: 3.2vw;
    margin-bottom: 0.4em;
  }
}


/* ==========================
   Time Attack Info
========================== */
.timeattack-info {
  background: #000;
  color: #fff;
  padding: 20px 20px;
}

.timeattack-info .container {
  max-width: 960px;
  margin: 0 auto;
}

.timeattack-info h2 {
  font-size: 1.5em;
  font-weight: bold;
  color: #00bcd4;
}

.timeattack-info .p {
  font-size: 1em;
}

@media screen and (max-width: 750px) {
  .timeattack-info {
    padding: 20px 15px;
  }

  .timeattack-info h2 {
    margin-bottom: 0.8em;
    color: #00bcd4;
  }

  .timeattack-info p {
    line-height: 1.7;
  }
}

/* ==========================
   Time Attack Section
========================== */
.time-attack {
  background: #000;
  color: #fff;
  padding: 0px 20px 0px 20px;
}

.attack-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.attack-card {
  position: relative;
  flex: 1 1 300px;
}
.attack-card img.soon{
	position:absolute;
	top:0;
}
.server-cards {
  display: block;
  margin-bottom: 20px;
}
.server-card {
  position: relative;
  margin-bottom: 10px;
}

.attack-card a::before,
.server-card a::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.attack-card a:hover::before,
.server-card a:hover::before {
  opacity: 0.2;
}




/* スマホ対応 */
@media screen and (max-width: 750px) {
  .attack-cards {
  gap: 15px;
  margin-bottom: 45px;
  }
.server-card {
  margin-bottom: 15px;
}


}

/* ==========================
   youtube
========================== */
.youtube{
	padding:20px 0 20px 0;
}
.youtube.youtube2{
	padding-top:0;
}
.youtube .youtube-box{
	width:100%;
	margin:auto;
  aspect-ratio: 16 / 9;
  overflow:hidden;
}
.youtube .youtube-box iframe{
	width:100%;
	height:100%;
}
.youtube h2 {
  font-size: 1.5em;
  font-weight: bold;
  color: #00bcd4;
  margin-bottom:20px;
}



/* ==========================
   Responsive Adjustments
========================== */
@media screen and (max-width: 750px) {
  .event-summary,
  .timeattack-info,
  .howto,
  .time-attack {
    padding: 0px 0px;
  }

  section.time-attack {

    margin: 0 auto;
  }

  .timeattack-info p,
  .howto p,
  .youtube p,
  .entry p {
    font-size: 3.2vw;
  }

  .timeattack-info h2,
  .howto h2,
  .youtube h2,
  .entry h2 {
    font-size: 5.3vw;
  }

  .entry-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .entry-button {
    flex: 1 1 auto;
    padding: 10px;
    margin-bottom: 10px;
  }
}

.link-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 40px 0;
}
.link-buttons .link-button:nth-child(2) {
  margin-top: 30px;
}


.link-button {
  display: block;
  text-align:center;
  padding: 15px 20px;
  border: 1px solid #fff;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 1em;
  background: transparent;
  transition: background 0.3s, color 0.3s;
}
.link-button .text::before {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  border-top: 2px solid black;
  border-right: 2px solid black;
  transform: rotate(45deg);
  margin-right: 16px;
  vertical-align: baseline;
  border-top-color: #fff;
  border-right-color: #fff;
}


.link-button:hover {
  background: #fff;
  color: #000;
  text-decoration: none;
}
.link-button:hover .text::before {
  border-top-color: #000;
  border-right-color: #000;
}

.link-button.color-button{
  background: #0a3d48;
  border: 1px solid #0a3d48;
}
.link-button.color-button:hover {
  background: #fff;
  color: #000;
  text-decoration: none;
}

@media screen and (max-width: 750px) {
  .link-box {
  padding-bottom: 0px;
  }
  .link-buttons {
  margin: 20px 0;
  }
  .link-button span {
/*    font-size: 5.3vw; */
  }
  .link-button {
    font-size: 0.9em;
  }
}



.page-top-button {
  position: fixed;
  right: 0;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 120px;
  background-color: #0a3d48; /* 濃い緑 */
  color: #fff;
  text-decoration: none;
  border-radius: 10px 0 0 10px;
  font-size: 0.8em;
  z-index: 999;
  transition: background-color 0.3s;
}

.page-top-icon {
  font-size: 1em;
  margin-bottom: 5px;
}

.page-top-text {
  writing-mode: vertical-rl; /* 縦書き */
  text-align: center;
  font-weight: bold;
  letter-spacing: 0.1em;
  font-size: 1em;
}

/* ホバー時に色を少し変えたいなら */
.page-top-button:hover {
  background-color: #0c5866; /* 少し明るくするなど */
}
.page-top-button img {
  width: 100%;
  height: auto;
  display: block;
}
.page-top-button {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
}

.page-top-button.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.pc-only {
  display: inline;
}
.sp-only {
  display: none;
}

@media screen and (max-width: 750px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: inline;
  }
}
