* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
}
body {
  background-image: url("../assets/light/bg_pc_light.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  background-attachment: scroll;
  background-color: #2a1608;
}

@media (max-width: 960px) {
  body {
    background-image: url("../assets/light/bg_sp_light.jpg");
  }
}

.hero {
  max-width: 90%;
  margin: 0 auto;
  padding: 120px 0 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "left center right"
    "desc desc desc";
  gap: 24px;
  align-items: stretch;
}

.hero__col--left {
  grid-area: left;
}
.hero__col--center {
  grid-area: center;
}
.hero__col--right {
  grid-area: right;
}
.hero__desc {
  grid-area: desc;
}

.hero__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__col--left {
  align-items: flex-start;
  transform: translateX(-15%);
}

.hero__col--right {
  align-items: flex-end;
  transform: translateX(15%);
}

.hero__img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero__img--title {
  width: 120%;
  max-width: 840px;
  margin-top: -200px;
}

.hero__desc {
  margin: -420px auto 0;
  max-width: 640px;
  color: #fff;
  font-size: 16px;
  line-height: 1.9;
  text-align: center;
  letter-spacing: 0.04em;
}

.hero__desc p {
  margin: 0 0 10px;
}

.hero__desc p:last-child {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .hero {
    max-width: 96%;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-areas:
      "left center right"
      "desc desc desc";
    padding: 80px 0 20px;
    gap: 4px;
    row-gap: 16px;
    align-items: center;
  }
  .hero__col--left {
    align-items: flex-start;
    transform: translate(-8%, 3px);
  }
  .hero__col--center {
    transform: translateY(20px);
  }
  .hero__col--right {
    align-items: flex-end;
    transform: translate(8%, 3px);
  }
  .hero__col--left .hero__img,
  .hero__col--right .hero__img {
    max-width: 100%;
  }
  .hero__img--title {
    justify-self: center;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
  }
  .hero__desc {
    font-size: clamp(10.24px, 3.2vw, 11px);
    line-height: 1.8;
    width: 80%;
    max-width: none;
    margin: -40px auto 0;
  }
}

.entrance {
  max-width: 80%;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.entrance__desc {
  margin-top: -40px;
  color: #fff;
  font-size: 16px;
  line-height: 1.9;
  text-align: center;
  letter-spacing: 0.04em;
}

.entrance__desc p {
  margin: 0;
}

.entrance__row {
  margin-top: 32px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  transform: translateX(5%);
}

.entrance__photo {
  flex: 0 0 auto;
  width: auto;
  max-width: 70%;
  height: 50vh;
  max-height: 420px;
  display: block;
}

.entrance__character {
  flex: 0 1 25%;
  max-width: 25%;
  height: auto;
  display: block;
  margin-left: -10%;
  transform: translateY(10%);
}

.introduction {
  max-width: 80%;
  margin: 0 auto;
  padding: 140px 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.introduction__title {
  max-width: 62.5%;
  height: auto;
  display: block;
}

.introduction__desc {
  margin-top: -40px;
  color: #fff;
  font-size: 16px;
  line-height: 1.9;
  text-align: center;
  letter-spacing: 0.04em;
}

.introduction__desc p {
  margin: 0;
}

.introduction__row {
  margin-top: -70px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
}

.introduction__photo {
  flex: 0 0 auto;
  width: auto;
  max-width: 60%;
  height: 50vh;
  max-height: 420px;
  display: block;
  position: relative;
  z-index: 1;
}

.introduction__character {
  flex: 0 1 31.625%;
  max-width: 31.625%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  transform: translateY(10%);
}

.introduction__character--left {
  margin-right: -12%;
}

.introduction__character--right {
  margin-left: -12%;
}

.chapter {
  max-width: 80%;
  margin: -80px auto 0;
  padding: 40px 0;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

.chapter__col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.chapter__col--left {
  transform: translateY(-60px);
}

.chapter__heading {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  color: #d9b44a;
}

.chapter__num {
  height: 72px;
  width: auto;
  display: block;
}

.chapter__label {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #d9b44a;
  line-height: 1;
}

.chapter__desc {
  margin-top: 20px;
  color: #fff;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.chapter__desc p {
  margin: 0 0 clamp(11.9px, 3.73vw, 14px);
}

.chapter__desc p:last-child {
  margin-bottom: 0;
}

.chapter__photo {
  width: 112.5%;
  height: auto;
  display: block;
}

.chapter-stack {
  max-width: 80%;
  margin: -60px auto 0;
  padding: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 56px;
  align-items: flex-start;
  text-align: left;
}

.chapter-stack__item {
  width: 100%;
}

@media (max-width: 960px) {
  .chapter-stack {
    max-width: 85%;
    margin: -20px auto 0;
    padding: 0 0 30px;
    gap: 30px;
  }
}

@media (max-width: 960px) {
  .chapter {
    max-width: 85%;
    margin: 0 auto;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 0;
  }
  .chapter__col--left {
    transform: none;
  }
  .chapter__heading {
    gap: 20px;
  }
  .chapter__num {
    height: 48px;
  }
  .chapter__label {
    font-size: clamp(20.4px, 6.4vw, 24px);
  }
  .chapter__desc {
    font-size: clamp(8.5pt, 3.55vw, 10pt);
    line-height: 1.8;
    margin-top: 12px;
  }
  .chapter__photo {
    width: 100%;
  }
  .chapter--1 .chapter__photo {
    width: 100%;
  }
  .chapter--1 .chapter__desc p br {
    display: none;
  }
  .chapter--1 .chapter__desc p {
    margin-bottom: 0;
  }
  .chapter--5 .chapter__col--right {
    margin-top: -30px;
  }
}

.next-hint {
  max-width: 80%;
  margin: 40px auto 0;
  padding: 40px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.next-hint__title {
  max-width: 60%;
  height: auto;
  display: block;
  margin-top: 80px;
}

.next-hint__row {
  margin-top: -80px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 32px;
  align-items: center;
}

.next-hint__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.next-hint__character {
  max-width: 100%;
  height: auto;
  display: block;
  transform: scale(1.5) translateY(20%);
  transform-origin: center;
}

.next-hint__col--left .next-hint__character {
  transform: scale(1.5) translate(15%, 20%);
}

.next-hint__col--right .next-hint__character {
  transform: scale(1.5) translate(-15%, 20%);
}

.next-hint__desc {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  text-align: center;
}

@media (max-width: 960px) {
  .next-hint {
    max-width: 92%;
    margin-top: -20px;
    margin-bottom: -75px;
    padding: 20px 0 0;
  }
  .next-hint__title {
    max-width: 100%;
    margin-top: 20px;
  }
  .next-hint__row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "text text"
      "left right";
    gap: 16px;
    margin-top: 8px;
  }
  .next-hint__col--center {
    grid-area: text;
  }
  .next-hint__col--left {
    grid-area: left;
    align-items: flex-end;
    transform: translateX(15%);
  }
  .next-hint__col--right {
    grid-area: right;
    align-items: flex-start;
    transform: translateX(-15%);
  }
  .next-hint__character {
    max-width: 80%;
    transform: scale(1) translateY(0);
  }
  .next-hint__col--left .next-hint__character,
  .next-hint__col--right .next-hint__character {
    transform: scale(1) translate(0, 0);
  }
  .next-hint__desc {
    font-size: clamp(8.5pt, 3.55vw, 10pt);
    line-height: 1.8;
    margin-top: -15px;
  }
}

.special {
  max-width: 80%;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.special__title {
  max-width: 50%;
  height: auto;
  display: block;
}

.special__row {
  margin-top: -120px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.special__col {
  display: flex;
  flex-direction: column;
}

.special__col:nth-child(2) {
  transform: translateY(10px);
}

.special__photo {
  width: 100%;
  height: auto;
  display: block;
}

.special__text {
  margin-top: 16px;
}

.special__text--left {
  transform: translate(0, 5px);
}

.special__text--right {
  transform: translate(0, -12px);
}

.special__heading {
  margin: 0 0 8px;
  color: #d9b44a;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.special__desc {
  margin: 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

@media (max-width: 960px) {
  .special {
    max-width: 100%;
    padding: 5px 0;
  }
  .special__title {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .special__row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: -30px;
  }
  .special__col:nth-child(2),
  .special__text--left,
  .special__text--right {
    transform: none;
  }
  .special__heading {
    font-size: clamp(15.3px, 4.8vw, 18px);
    max-width: 80%;
    margin: -30px auto 0;
  }
  .special__desc {
    font-size: clamp(11.05px, 3.47vw, 13px);
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  .special__desc br {
    display: none;
  }
  .special__col--left .special__photo {
    transform: translate(-5%, -40px);
  }
  .special__col--right {
    overflow: hidden;
  }
  .special__col--right .special__photo {
    transform: translate(calc(3% - 1px), -40px);
  }
  .special__col--right .special__text {
    margin-top: -15px;
  }
}

.kid-hat {
  max-width: 80%;
  margin: -120px auto 0;
  padding: 40px 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.kid-hat__img {
  max-width: 20%;
  height: auto;
  display: block;
  margin-left: -10%;
}

@media (max-width: 960px) {
  .kid-hat {
    max-width: 92%;
    margin: -60px auto 0;
    padding: 20px 0;
  }
  .kid-hat__img {
    max-width: 32%;
    margin-left: -4%;
  }
}

.needle {
  max-width: 80%;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.needle__img {
  max-width: 20%;
  height: auto;
  display: block;
  margin-left: -10%;
}

@media (max-width: 960px) {
  .needle {
    max-width: 92%;
    padding: 20px 0;
    margin-top: -30px;
  }
  .needle__img {
    max-width: 32%;
    margin-left: -4%;
  }
}

@media (max-width: 960px) {
  .introduction {
    max-width: 92%;
    padding: 40px 0 20px;
  }
  .introduction__title {
    max-width: 80%;
  }
  .introduction__desc {
    font-size: clamp(10.2px, 3.2vw, 12px);
    line-height: 1.8;
    margin-top: 20px;
  }
  .introduction__row {
    margin-top: -30px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
  }
  .introduction__photo {
    height: auto;
    width: 85%;
    max-width: 85%;
    max-height: none;
  }
  .introduction__character {
    flex-basis: 40%;
    max-width: 40%;
  }
  .introduction__character--left {
    margin-right: -22%;
  }
  .introduction__character--right {
    margin-left: -22%;
  }
}

@media (max-width: 960px) {
  .entrance {
    max-width: 92%;
    padding: 80px 0 20px;
  }
  .entrance__desc {
    font-size: clamp(11.9px, 3.73vw, 14px);
    line-height: 1.8;
    margin-top: 10px;
  }
  .entrance__row {
    margin-top: 20px;
    gap: 0;
    transform: none;
    overflow: hidden;
  }
  .entrance__photo {
    height: auto;
    width: 79%;
    max-width: 79%;
    max-height: none;
    transform: translateX(15%);
  }
  .entrance__character {
    flex-basis: 31%;
    max-width: 31%;
    margin-left: -6%;
    transform: translate(-12%, 10%);
  }
}

@media (max-width: 375px) {
  .hero__desc {
    width: 69%;
    font-size: 10px;
  }
  .entrance {
    margin-top: -40px;
  }
  .entrance__desc,
  .introduction__desc,
  .chapter__desc,
  .next-hint__desc,
  .special__desc {
    font-size: 10px;
  }
  .hero__desc p {
    margin-bottom: 1px;
  }
}

@media (max-width: 320px) {
  .hero__desc,
  .entrance__desc,
  .introduction__desc,
  .chapter__desc,
  .next-hint__desc,
  .special__desc {
    font-size: 8px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero__img--title {
    margin-top: -150px;
  }
  .hero__col--left .hero__img,
  .hero__col--right .hero__img {
    max-width: 70%;
  }
  .hero__desc {
    margin-top: -220px;
  }
  .entrance {
    margin-top: 60px;
  }
  .introduction {
    margin-top: -100px;
  }
  .introduction__photo {
    width: 80%;
    max-width: 80%;
    height: auto;
    max-height: none;
    transform: translateY(80px);
  }
  .hero__desc,
  .entrance__desc,
  .introduction__desc,
  .chapter__desc,
  .next-hint__desc,
  .special__desc {
    font-size: 14px;
  }
  .next-hint {
    margin-top: -80px;
  }
  .special {
    margin-top: -80px;
  }
  .needle {
    margin-top: -100px;
  }
  .chapter--1 {
    margin-top: -50px;
  }
}

@media (min-width: 426px) and (max-width: 768px) {
  .hero__desc,
  .entrance__desc,
  .introduction__desc,
  .chapter__desc,
  .next-hint__desc,
  .special__desc {
    font-size: 14pt;
  }
  .hero__desc {
    margin-top: -20px;
  }
  .hero__desc p {
    margin-bottom: 10px;
  }
  .hero__col--left .hero__img,
  .hero__col--right .hero__img {
    max-width: 117%;
  }
  .hero__col--left {
    transform: translate(-18%, 60px);
  }
  .hero__col--center {
    transform: translateY(80px);
  }
  .hero__img--title {
    transform: translateY(-40px);
  }
  .hero__col--right {
    transform: translate(18%, 60px);
  }
  .entrance {
    margin-top: 60px;
  }
  .introduction {
    margin-top: -10px;
  }
  .introduction__desc {
    margin-top: -40px;
  }
  .introduction__photo {
    transform: translateY(-40px);
  }
  .needle {
    margin-top: -30px;
  }
  .special__row {
    margin-top: -80px;
  }
  .next-hint {
    margin-top: 60px;
  }
}

.entrance__title {
  max-width: 50%;
  height: auto;
  display: block;
}

@media (min-width: 1441px) and (max-width: 2560px) {
  .hero__desc,
  .entrance__desc,
  .introduction__desc,
  .chapter__desc,
  .next-hint__desc,
  .special__heading,
  .special__desc {
    font-size: 24pt;
  }
  .hero__desc {
    margin-top: -900px;
  }
  .hero__img--title {
    margin-top: -700px;
  }
  .entrance {
    margin-top: 300px;
  }
  .entrance__photo,
  .introduction__photo {
    width: 80%;
    max-width: 80%;
    height: auto;
    max-height: none;
  }
}
