/* 特大=default */
.hero3 {
  width: 100%;
  max-width: 1500px;
  overflow: hidden;
  margin: 0 auto 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  /*padding: 60px 20px;*/
  opacity: 0.85;
  position: relative;
  height: 80vh;
}

.hero3::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(
    ellipse,
    var(--color-accent) 0%,
    var(--color-accent-light) 30%,
    transparent 70%
  );
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}

.hero3-copy {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero3-sub {
  display: flex;
  justify-content: center;
}

.hero3-title {
  display: flex;
  flex-direction: row-reverse; /* 縦書き: 右が先頭 */
  align-items: flex-start;
  gap: 60px;
  text-shadow:
    0 0 4px var(--color-background),
    0 0 4px var(--color-background),
    0 0 4px var(--color-background),
    0 0 4px var(--color-background);
}

.hero3 .hero3-msg {
  writing-mode: vertical-rl;
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 500;
  line-height: 1.8;
}

.hero3 .hero3-msg span {
  display: block;
  text-orientation: upright;
  color: var(--color-text);
}

.hero3 h1.hero3-msg {
  font-size: 32px;
}

/* 画面サイズ 中 640px < x <= 940 */
@media (max-width: 940px) {
  .hero3 {
    /* padding: 40px 16px; */
  }

  .hero3-title {
    gap: 28px;
  }

  .hero3 .hero3-msg {
    font-size: 42px;
    line-height: 1.6;
  }

  .hero3 h1.hero3-msg {
    font-size: 28px;
  }
}

/* 画面サイズ 中 640px < x <= 940 */
@media (max-width: 640px) {
  .hero3 {
  }

  .hero3-title {
    gap: 24px;
  }

  .hero3 .hero3-msg {
    font-size: 32px;
    line-height: 1.4;
  }

  .hero3 h1.hero3-msg {
    font-size: 28px;
  }
}

/* 画面サイズ 小 x <= 640 */
@media (max-width: 480px) {
  .hero3-title {
    gap: 18px;
  }

  .hero3 .hero3-msg {
    font-size: 34px;
    line-height: 1.2;
  }

  .hero3 h1.hero3-msg {
    font-size: 28px;
  }
}

/* 画面サイズ 小 x <= 640 */
@media (max-width: 410px) {
  .hero3 .hero3-msg {
    font-size: 30px;
  }

  .hero3 h1.hero3-msg {
    font-size: 24px;
  }
}
