* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}
:root {
  --main-text: #1f1f1f;
  --main-bg: #fff;
  --art-bg: #f5f5f5;
  --info-bg: #e0e0e0;
  --link: #85b4ff;
  --gray: #cccccc;
}
@media (prefers-color-scheme: dark) {
  :root {
    --main-text: #ddd;
    --main-bg: #1f1f1f;
    --art-bg: #222;
    --info-bg: #333;
  }
}
body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--main-text);
  background: var(--main-bg);
  word-break: auto-phrase;
  margin: 0;
  min-height: 100dvh;
}
body::-webkit-scrollbar {
  display: none;
}
image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* アニメーション定義 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.opening-text {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100svh;
  background-color: var(--main-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.opening-text-ok {
  animation: fadeOutText 0.8s ease-out forwards;
}
@keyframes fadeOutText {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}
.header {
  width: 100%;
  height: 90px;
  display: flex;
  justify-content: center; /* 横方向の中央 */
  align-items: center; /* 縦方向の中央 */
}

.header__logo {
  width: 180px;
  height: auto;
  display: block;
}
section {
  padding: 3rem 8% 0;
  margin: 0 min(10vw, 50px);
}
footer {
  padding: min(5vw, 40px) min(10vw, 50px);
}
.section h2 {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 4rem;
  letter-spacing: 0.08em;
  margin-bottom: min(6vw, 40px);
}
.section-body p {
  font-size: 1.8rem;
  line-height: 1.6;
  text-align: left;
}
.section-body p + p {
  margin-top: 1rem;
}
footer {
  font-size: 1.6rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-align: center;
  margin: auto;
}

@media (max-width: 770px) {
  html {
    font-size: 50%;
  }
  .section {
    padding: 0;
    padding-bottom: 10rem;
  }
  section {
    padding: 3rem 4%;
    margin: 0;
  }
}
