html {
  color: #444444;
}

.container {
  position: relative;
  max-width: 1080px;
  height: 1920px;
  margin: 0 auto;
}

.title__box {
  margin-top: 200px;
  width: 100%;
  text-align: center;
}

.sub-title {
  font-size: 64px;
  font-weight: bold;
}

.sub-title {
  font-size: 64px;
  font-weight: bold;
  position: relative;
  color: #0047ab; /* 例：アクセントカラー */
  margin-bottom: 80px;
}

/* 疑似要素の共通設定 */
.sub-title::before,
.sub-title::after {
  content: "";
  background-color: #0047ab;
  position: absolute;
  height: 5px;
  width: 100px;
  /* 中央揃え */
  top: 50%;
  /* 線の中心がp要素の中心に来るように調整 */
  transform: translateY(-50%) rotate(25deg);
}

/* 左側のスラッシュ風装飾 (before) */
.sub-title::before {
  left: 255px;
  /* 反対向きに回転（-25deg） */
  transform: translateY(-50%) rotate(-135deg);
}

/* 右側のスラッシュ風装飾 (after) */
.sub-title::after {
  /* 正の角度に回転 (25deg) */
  transform: translateY(-50%) rotate(135deg);
}

.sub-title-description {
  margin-bottom: 40px;
}

.title__box p {
  font-size: 64px;
  font-weight: bold;
}

.title__box h1 {
  font-size: 100px;
  font-weight: bold;
  margin-bottom: 80px;
}

.title__box p.description {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 100px;
}

.box {
  width: 100%;
  height: 1000px;
  border: 3px solid blue;
}

.logo {
  width: 1000px;
  margin: 120px auto 0 auto;
  img {
    width: 100%;
  }
}

.top__button {
  display: block;
  text-decoration: none;
  margin: 0 auto;
  line-height: 100px;
  width: 400px;
  height: 100px;
  background-color: #0047ab;
  color: #fff;
  font-size: 48px;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.top__button:hover {
  transform: scale(1.05);
}

.top__button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shine 2s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* ページ遷移アニメーション */
.fade-out {
  opacity: 0 !important;
  animation: fadeOut 0.7s ease-out forwards;
  transition: opacity 0.7s ease-out;
}

.fade-in {
  animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* 初期状態でページを非表示 */
body {
  opacity: 0;
  transition: opacity 0.7s ease-in;
}

body.loaded {
  opacity: 1;
}

/* リンクホバー時の視覚的フィードバック */
a {
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* 質問ページ */
.question__number {
  font-size: 100px;
  font-weight: bold;
  color: #0047ab;
  text-align: center;
  margin-bottom: 120px;
}

.question__box {
  margin-top: 200px;
  width: 100%;
}

.question__title {
  font-size: 80px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 240px;
}

.question__choices {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.question__choice {
  display: block;
  width: 400px;
  height: 100px;
  background-color: #0047ab;
  color: #fff;
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  line-height: 100px;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.question__choice-yes {
  background-color: #0047ab;

  color: #fff;
}

.question__choice-no {
  background-color: #e42f1c;
  color: #fff;
}

/* 回答ページ */
.answer__box {
  margin-top: 200px;
}

.answer__sub {
  font-size: 64px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 100px;
  color: #0047ab;
}

.answer__title {
  font-size: 80px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 160px;
}

.answer__description {
  font-size: 48px;
  text-align: center;
  margin-bottom: 40px;
}

.top__button {
  margin-top: 150px;
  text-align: center;
}