body {
  color: var(--color-white);
  font-variant: normal;
  background: #0a0a0a;
}
.main-bg {
  min-height: 100vh;
  background: radial-gradient(
    circle at 30% 30%,
    #7a6a8f,
    #3a2f4a 50%,
    #1a1820 80%,
    #0a0a0a 100%
  );
}
.metal {
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #cacaca 30%,
    #a8a8a8 50%,
    #cacaca 70%,
    #ffffff 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.5),
    0 2px 5px rgba(0,0,0,0.8);
}
h1 {
  font-family: "Graduate", serif;
  position: relative;
  display: inline-block;
  font-size: 4rem;
  width: fit-content;
  line-height: 1;
  margin-bottom: 0.8em;
}
h2 {
  font-family: 'M PLUS 1p', sans-serif;
  font-weight: 400;
  line-height: 1;
  font-size: 2.4rem;
  width: fit-content;
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
p {
  font-family: 'M PLUS 1p', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 1.2rem;
}
span {
  font-size: 2rem;
}
/* 縦線 */
.double-line::before {
  content: "";
  position: absolute;
  left: -1rem;
  bottom: -2rem;
  width: 0.3rem;
  height: calc(120% + 2rem);
  background: var(--color-red);
}
/* 横線 */
.double-line::after {
  content: "";
  position: absolute;
  left: -2rem;
  bottom: -1rem;
  width: 120%;
  height: 0.3rem;
  background: var(--color-red);
}

hgroup {
  display: flex;
  gap: 4rem;
  justify-content: space-around;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.container {
  padding: 5rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 11000;
}
.modal.is-open {
  display: flex;
}
.modal img {
  max-width: 90%;
  max-height: 90%;
}
.modal-img {
  max-width: 100%;
  height: 60vh;
  transition: transform 0.3s ease;
}
.modal-img:hover {
  transform: scale(1.02);
  cursor: pointer;
}

/* modal-btn */
.modal-prev,
.modal-next,
.modal-close {
  position: absolute;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.modal-prev,
.modal-next {
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-prev::before,
.modal-next::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  z-index: -1;
}
.modal-prev { left: 5%; }
.modal-next { right: 5%; }
.modal-close {
  display: none;
  top: 20px;
  right: 30px;
  font-size: 32px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.4);
  z-index: 11001;
}
.modal.is-open .modal-close {
  display: block;
}
.modal-prev:hover,
.modal-next:hover,
.modal-close:hover {
  opacity: 0.7;
  transform: translateY(-50%) scale(1.1);
}
.modal-close:hover {
  transform: scale(1.1);
}
.modal-prev:active,
.modal-next:active,
.modal-close:active {
  transform: translateY(-50%) scale(0.95);
}
.modal-close:active {
  transform: scale(0.95);
}


@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  .container {
    padding: 2rem;
  }
  h2 {
    transform: translateX(1rem);
    font-size: 2rem;
  }
  p {
    font-size: 1rem;
  }
  span {
    font-size: 1.5rem;
  }
  hgroup {
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 1rem;
  }
  hgroup p {
    margin-bottom: 1em;
  }
  .modal-prev::before,
  .modal-next::before {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    z-index: -1;
  }
}