/* Guide: each text location has its own class. */

.guide {
  aspect-ratio: 816 / 1928;
  color: rgb(9, 41, 72);
  background:
    url("../image2/09-guide-template.webp") center top / cover no-repeat,
    rgb(255, 253, 248);
  line-height: 1;
  position: relative;
  overflow: hidden;
}
.guide-ribbon {
  z-index: 1;
  position: absolute;
}
.guide-headline {
  z-index: 1;
  position: absolute;
}
.guide-lead {
  z-index: 1;
  position: absolute;
}
.guide-cards {
  z-index: 1;
  position: absolute;
}
.guide-bottom {
  z-index: 1;
  position: absolute;
}
.guide-ribbon {
  color: rgb(255, 255, 255);
  text-align: center;
  margin: 0px;
  font-weight: 900;
  top: 1%;
  left: 0px;
  right: 0px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: min(9px, 2.093cqw);
  row-gap: min(5px, 1.163cqw);
}
.guide-book {
  color: rgb(246, 206, 108);
  stroke-width: 1.8px;
  width: min(22px, 5.116cqw);
  height: min(22px, 5.116cqw);
  position: static;
  flex: 0 0 auto;
}
.guide-ribbon span:where(.guide-ribbon-text) {
  color: rgb(246, 206, 108);
  font-family: "Times New Roman", "Yu Mincho", serif;
  font-size: min(20px, 4.651cqw);
  font-weight: 700;
  line-height: 1;
  display: block;
}
.guide-ribbon strong:where(.guide-ribbon-label) {
  color: rgb(255, 255, 255);
  flex-basis: 100%;
  margin-top: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: min(18.5px, 4.302cqw);
  font-weight: 900;
  line-height: 1;
  display: block;
}
.guide-headline {
  color: rgb(9, 41, 72);
  text-align: center;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: min(41px, 9.535cqw);
  font-weight: 900;
  line-height: 1.36;
  top: 10.3%;
  left: 6.5%;
  right: 6.5%;
}
.guide-headline p:where(.guide-headline-text) {
  margin: 0px;
}
.guide-headline p:where(.guide-headline-text-02) {
  margin: 0px;
}
.guide-headline span:where(.guide-headline-text-02-text) {
  color: rgb(228, 93, 78);
}
.guide-lead {
  color: rgb(9, 41, 72);
  text-align: center;
  margin: 0px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: min(17px, 3.953cqw);
  font-weight: 900;
  line-height: 1.65;
  top: 24.5%;
  left: 6.5%;
  right: 6.5%;
}
.guide-lead span:where(.guide-lead-text) {
  color: rgb(9, 168, 66);
}
.guide-cards {
  grid-template-rows: repeat(3, 1fr);
  gap: 2.4%;
  width: 89%;
  height: 56.5%;
  display: grid;
  top: 30.4%;
  left: 5.5%;
}
.guide-topic-01 {
  min-height: 0px;
  position: relative;
}
.guide-topic-02 {
  min-height: 0px;
  position: relative;
}
.guide-topic-03 {
  min-height: 0px;
  position: relative;
}
.guide-topic-01 h2:where(.guide-topic-01-heading) {
  color: rgb(9, 41, 72);
  margin: 0px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 900;
  position: absolute;
  left: 45.6%;
  right: 5.2%;
}
.guide-topic-02 h2:where(.guide-topic-02-heading) {
  color: rgb(9, 41, 72);
  margin: 0px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 900;
  position: absolute;
  left: 45.6%;
  right: 5.2%;
}
.guide-topic-03 h2:where(.guide-topic-03-heading) {
  color: rgb(9, 41, 72);
  margin: 0px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 900;
  position: absolute;
  left: 45.6%;
  right: 5.2%;
}
.guide-topic-01 p:where(.guide-topic-01-text) {
  color: rgb(9, 41, 72);
  margin: 0px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 900;
  position: absolute;
  left: 45.6%;
  right: 5.2%;
}
.guide-topic-02 p:where(.guide-topic-02-text) {
  color: rgb(9, 41, 72);
  margin: 0px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 900;
  position: absolute;
  left: 45.6%;
  right: 5.2%;
}
.guide-topic-03 p:where(.guide-topic-03-text) {
  color: rgb(9, 41, 72);
  margin: 0px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 900;
  position: absolute;
  left: 45.6%;
  right: 5.2%;
}
.guide-topic-01 h2:where(.guide-topic-01-heading) {
  font-size: min(23.4px, 5.442cqw);
  line-height: 1.34;
  top: 11.5%;
}
.guide-topic-02 h2:where(.guide-topic-02-heading) {
  font-size: min(23.4px, 5.442cqw);
  line-height: 1.34;
  top: 11.5%;
}
.guide-topic-03 h2:where(.guide-topic-03-heading) {
  font-size: min(23.4px, 5.442cqw);
  line-height: 1.34;
  top: 11.5%;
}
.guide-topic-01 p:where(.guide-topic-01-text) {
  font-size: min(12px, 2.791cqw);
  line-height: 1.45;
  top: 45%;
}
.guide-topic-02 p:where(.guide-topic-02-text) {
  font-size: min(12px, 2.791cqw);
  line-height: 1.45;
  top: 45%;
}
.guide-topic-03 p:where(.guide-topic-03-text) {
  font-size: min(12px, 2.791cqw);
  line-height: 1.45;
  top: 45%;
}
.guide-topic-01 p span:where(.guide-topic-01-text-text) {
  color: rgb(228, 93, 78);
}
.guide-topic-02 p span:where(.guide-topic-02-text-text) {
  color: rgb(228, 93, 78);
}
.guide-topic-03 p span:where(.guide-topic-03-text-text) {
  color: rgb(228, 93, 78);
}
.guide-bottom {
  color: rgb(255, 255, 255);
  text-align: center;
  margin: 0px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: min(25px, 5.814cqw);
  font-weight: 900;
  line-height: 1.4;
  top: 90.5%;
  left: 9%;
  right: 9%;
}
.guide-bottom span:where(.guide-bottom-text) {
  color: rgb(246, 206, 108);
}
.guide-cards {
  inset: 0;
  width: auto;
  height: auto;
  display: block;
}
.guide-topic-01 {
  position: absolute;
  left: 5.5%;
  right: 5.5%;
}
.guide-topic-02 {
  position: absolute;
  left: 5.5%;
  right: 5.5%;
}
.guide-topic-03 {
  position: absolute;
  left: 5.5%;
  right: 5.5%;
}
.guide-topic-01:nth-child(1):where(.guide-topic-01) {
  top: 29.98%;
  height: 20.02%;
}
.guide-topic-02:nth-child(2):where(.guide-topic-02) {
  top: 51.45%;
  height: 18.67%;
}
.guide-topic-03:nth-child(3):where(.guide-topic-03) {
  top: 71.47%;
  height: 17.84%;
}
.guide-topic-01 h2:where(.guide-topic-01-heading) {
  top: 7%;
  font-size: 23px;
  line-height: 1.35;
  left: 45.6%;
  right: 4%;
}
.guide-topic-02 h2:where(.guide-topic-02-heading) {
  top: 7%;
  font-size: 23px;
  line-height: 1.35;
  left: 45.6%;
  right: 4%;
}
.guide-topic-03 h2:where(.guide-topic-03-heading) {
  top: 7%;
  font-size: 23px;
  line-height: 1.35;
  left: 45.6%;
  right: 4%;
}
.guide-topic-01 p:where(.guide-topic-01-text) {
  top: 45%;
  font-size: 12.4px;
  line-height: 1.65;
  left: 45.6%;
  right: 4%;
  font-weight: 700;
}
.guide-topic-02 p:where(.guide-topic-02-text) {
  top: 45%;
  font-size: 12.4px;
  line-height: 1.65;
  left: 45.6%;
  right: 4%;
  font-weight: 700;
}
.guide-topic-03 p:where(.guide-topic-03-text) {
  top: 45%;
  font-size: 12.4px;
  line-height: 1.65;
  left: 45.6%;
  right: 4%;
  font-weight: 700;
}
.guide-bottom {
  top: 91.4%;
  font-size: 24px;
  line-height: 1.4;
}
@container (max-width: 400px) {
  .guide-topic-01 h2:where(.guide-topic-01-heading) {
    font-size: 20.5px;
  }
  .guide-topic-02 h2:where(.guide-topic-02-heading) {
    font-size: 20.5px;
  }
  .guide-topic-03 h2:where(.guide-topic-03-heading) {
    font-size: 20.5px;
  }
  .guide-topic-01 p:where(.guide-topic-01-text) {
    font-size: 10.8px;
  }
  .guide-topic-02 p:where(.guide-topic-02-text) {
    font-size: 10.8px;
  }
  .guide-topic-03 p:where(.guide-topic-03-text) {
    font-size: 10.8px;
  }
  .guide-bottom {
    font-size: 22px;
  }
}
@container (max-width: 360px) {
  .guide-topic-01 h2:where(.guide-topic-01-heading) {
    font-size: 18px;
  }
  .guide-topic-02 h2:where(.guide-topic-02-heading) {
    font-size: 18px;
  }
  .guide-topic-03 h2:where(.guide-topic-03-heading) {
    font-size: 18px;
  }
  .guide-topic-01 p:where(.guide-topic-01-text) {
    font-size: 10px;
  }
  .guide-topic-02 p:where(.guide-topic-02-text) {
    font-size: 10px;
  }
  .guide-topic-03 p:where(.guide-topic-03-text) {
    font-size: 10px;
  }
  .guide-bottom {
    font-size: 19px;
  }
}
