@charset "utf-8";

* {
  box-sizing: border-box;
}

.statusbox-1 {
  background-color: black;
  padding: 0.15rem;
  width: fit-content;
  margin: 0 auto;
  margin-bottom: 2rem !important;
  font-family: 'DotGothic16', sans-serif;
  font-weight: 400;
  font-style: normal;
}

.statusbox-2 {
  background-color: white;
  padding: 0.2rem;
  border-radius: 0.3rem;
  width: fit-content;
}

.statusbox-3 {
  color: white;
  background-color: black;
  border-radius: 0.3rem;
  padding: 1rem 0.75rem;
  line-height: 2;
  width: fit-content;
}

.statusbox-1 dt {
  text-align: right;
}

dl div {
  width: 100%;
}

.stat-label {
  margin: 0;
}

.bar {
  width: 220px;
  height: 14px;
  border: 1px solid #333;
  background: #eee;
}

.bar-fill {
  height: 100%;
  width: var(--value);
}

.bar-fill2 {
  height: 100%;
  width: var(--value);
  background: linear-gradient(90deg, #4caf50, #9fff9f, #4caf50);
  background-size: 200% 100%;
  animation:
    grow 0.8s ease-out,
    shine 2s linear infinite;
}

.bar-fill1 {
  background: red;
  animation:
    grow 0.8s ease-out,
    pulse 1s ease-in-out infinite;
}

@keyframes grow {
  from {
    width: 0;
  }

  to {
    width: var(--value);
  }
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

@keyframes shine {
  from {
    background-position: 0% 0;
  }

  to {
    background-position: 200% 0;
  }
}

#about dl.sns {
  grid-template-columns: 100px 1fr;
  width: fit-content;
  margin-right: auto;
}

#about dl.sns dt {
  text-align: left;
}
.domei {
  text-align: center;
}
.domei a,
.domei img {
  display: inline-block;
}

/* ルール */
.about-sumo-box div::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 70%,
    rgba(180, 130, 60, 0.1) 80%,
    rgba(100, 60, 10, 0.1) 100% /* 端 */
  );
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
}

.about-sumo-box div::before {
  padding: 10px;
  border-radius: 8px;
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgb(245 230 200 / 15%);
  z-index: -1;
}

.about-sumo-box div {
  padding: 3rem 2rem;
  margin: 1rem auto;
  box-shadow:
    2px 2px 6px rgba(0, 0, 0, 0.5),
    inset 0 0 40px rgba(180, 140, 80, 0.15),
    inset 0 0 8px rgba(100, 60, 10, 0.2) /* 内側の縁を少し暗く */,
    4px 6px 12px rgba(0, 0, 0, 0.3); /* 浮いてる感じ */
  color: #3d2510;
  text-shadow: 0.5px 0.5px 1px rgba(100, 60, 10, 0.3);
  line-height: 1.9;
  position: relative;
  z-index: 1;
  background-image: url(../images/rekishi.webp), url('../images/washi.webp');
  background-position:
    right 5% bottom 5%,
    0 0;
  background-repeat: no-repeat, repeat;
  background-size:
    40% auto,
    200px 200px;
  font-family: var(--mincho);
}

.about-rules {
  padding: 0 2rem;
  text-align: center;
}

.rekishi-box {
  margin-bottom: var(--page-space-block);
}

@media (max-width: 640px) {
  .about-sumo-box div {
    background-position: center bottom 1rem;
    background-size: 70% auto;
    padding-bottom: 45%;
  }
}

.rule-box section {
  margin: 3rem 0;
}

.rule-box ul {
  list-style: disc;
  padding-left: 2em;
}
