@charset "utf-8";

* {
  padding: 0;
  margin: 0;
}

html {
  height: 100%;
  font-size: 20px;
  font-family:
    "Yu Gothic", "游ゴシック体", "Hiragino Kaku Gothic Pro", "メイリオ",
    sans-serif;
}

body {
  word-wrap: break-word;
  height: 100%;
  background-color: #000000;
}

section,
article {
  display: block;
}

img {
  vertical-align: top;
}

h1 {
  font-size: 0;
}

a img {
  border-top-style: none;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
  -webkit-transition: 0.2s linear;
  -moz-transition: 0.2s linear;
  transition: 0.2s linear;
}

a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha( opacity=70 )";
}

li {
  list-style-type: none;
}

a {
  color: #0066cc;
  -webkit-transition: 0.2s linear;
  -moz-transition: 0.2s linear;
  transition: 0.2s linear;
  text-decoration: none;
}

a:hover {
  color: #0099cc;
  text-decoration: none;
}

footer {
  font-size: 0.6rem;
  color: #ffffff;
}

/* fadeUp */

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

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

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/

.fadeUpTrigger {
  opacity: 0;
}

/*　トップページ*/

.top {
  position: relative;
}

.top01 {
  width: 1100px;
  position: absolute;
  z-index: -1;
  top: 5%;
  left: 300px;
}

.top-p {
  color: #ffffff;
  font-size: 1.5rem;
}

.box {
  width: 540px;
}

.s_p {
  font-weight: bold;
  color: #005bac;
  font-size: 1.2rem;
}

/*　フッター　*/
.footer_p {
  font-size: 0.4rem;
}

#page_top {
  width: 50px;
  height: 50px;
  background: #00abeb;
}
#page_top a {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f102";
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 35px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

footer {
  border-bottom: solid #00abeb 10px;
}

/* ====== 対戦カードセクション ====== */
.match-card {
  background: #ddbc00;
  padding: 10px 0;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  margin: 40px auto;
  max-width: 900px;
}

.match-card p {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #002444;
}

.match-card h4 {
  font-weight: 700;
  font-size: 1.4rem;
  white-space: nowrap; /* 改行防止 */
}

.match-card img {
  max-width: 120px;
  height: auto;
}

.match-card h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #333;
}

.match-card img {
  height: 150px; /* 高さを固定 */
  width: auto; /* 横幅は自動調整 */
  max-width: 100%;
  object-fit: contain; /* 縦横比を崩さず中央に収める */
}

.hosoku {
  font-size: 0.8rem;
}

/* ====== スマホ対応 ====== */
@media (max-width: 900px) {
  .match-card {
    padding: 10px 15px;
  }

  .match-card h4 {
    font-size: 1.1rem;
  }

  .match-card img {
    max-width: 80px;
  }

  .match-card h3 {
    font-size: 1.5rem;
    margin: 10px 0;
  }

  .match-card img {
    height: 80px;
  }
}
