@charset "UTF-8";

/* -------------------------------------
  base
------------------------------------- */

:root {
  --text-color: #004c85;
  --accent-color-navy: #004c85;
  --accent-color-pink: #f19ec2;
  --accent-color-blue: #7ecef4;
  --accent-color-yellow: #fff23f;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "M PLUS 1", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 400;
  color: var(--text-color);
  line-height: 1.75;
  background: url(/assets/img/highway-stamprally_tmg/dist/bg.png) repeat-y center top / 100% auto;
}

img {
  width: 100%;
}


/* -------------------------------------
  animation
------------------------------------- */

.js-slideUp {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s, transform .6s;
}
.js-slideUp.is-inview {
  opacity: 1;
  transform: translateY(0);
}


/* -------------------------------------
  common
------------------------------------- */

.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4vw;
  box-sizing: content-box;
}

.is-pc {
  display: block;
}

.is-sp {
  display: none;
}

.content-area {
  width: min(1600px, 90%);
  margin: 110px auto 0;
  padding-bottom: 85px;
  background-color: #fff;
  border-radius: 80px;
  border: 4px solid var(--accent-color-navy);
}

.content-sec {
  margin-top: 80px;
  border-top: 4px solid var(--accent-color-navy);
}

.main-title {
  display: grid;
  place-items: center;
  width: fit-content;
  height: 120px;
  margin: -4px auto 60px;
  padding: 0 50px;
  border: 4px solid var(--accent-color-navy);
  border-bottom-left-radius: 35px;
  border-bottom-right-radius: 35px;
}

.main-title.blue {
  background-color: var(--accent-color-blue);
}

.main-title.pink {
  background-color: var(--accent-color-pink);
}

.link-btn a {
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  max-width: 400px;
  height: 75px;
  margin: auto;
  padding: 0 1em;
  background-color: #fff8b0;
  border: 4px solid var(--accent-color-navy);
  border-radius: 36px;
  transition: color .2s, background-color .2s;
}

@media (any-hover: hover) {
  .link-btn a:hover {
    color: #fff8b0;
    background-color: var(--accent-color-navy);
  }
}

.note__list {
  font-size: 1.6rem;
  padding-left: 1em;
  text-indent: -1em;
}

.note__list::before {
  content: "・";
  color: #7e634c;
}


/* -------------------------------------
  loading
------------------------------------- */

#loading {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #d3edfb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s ease, visibility 1s ease;
}

#loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-wrap {
  position: relative;
  aspect-ratio: 1;
  width: 40%;
}

.circle-item {
  position: absolute;
  width: 18%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bounce {
  animation: jump 0.4s ease-in-out;
}

@keyframes jump {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-20%);
  }
}


/* -------------------------------------
  header
------------------------------------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 100px;
  background-color: #d3edfb;
  border-bottom: 4px solid var(--accent-color-navy);
  z-index: 999;
}

.header__share {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 40px;
  padding-bottom: 8px;
}

.header__share-text {
  width: 157px;
}

.header__share-list {
  display: flex;
  gap: 20px;
}

.header__share-item {
  width: 43px;
}

.header__share-item button {
  transition: opacity .2s;
}

@media (any-hover: hover) {
  .header__share-item button:hover {
    opacity: .7;
  }
}

.header__nav {
  display: flex;
  height: 100%;
  align-items: center;
  margin-left: auto;
}

.header__nav-list {
  display: flex;
  gap: 40px;
  padding-bottom: 8px;
}

.header__nav-item a {
  font-size: 1.8rem;
  font-weight: 800;
  transition: color .2s;
}

@media (any-hover: hover) {
  .header__nav-item a:hover {
    color: var(--accent-color-blue);
  }
}

.header__start-btn {
  height: calc(100% + 4px);
  margin-left: 40px;
  background-color: var(--accent-color-pink);
  border-bottom: 4px solid var(--accent-color-navy);
  border-left: 4px solid var(--accent-color-navy);
  box-sizing: content-box;
  transition: background-color .2s;
}

@media (any-hover: hover) {
  .header__start-btn:hover {
    background-color: var(--accent-color-blue);
  }
}

.header__start-btn a {
  display: grid;
  place-items: center;
  height: 100%;
}

.header__start-btn img {
  width: 204px;
  padding: 0 15px;
}


/* -------------------------------------
  MV
------------------------------------- */

.mv {
  position: relative;
  width: 100%;
  padding-top: 100px;
  background-color: #fff;
}

.mv::before {
  position: absolute;
  content: '';
  top: 98%;
  left: 0;
  width: 100%;
  height: 82px;
  background: url(/assets/img/highway-stamprally_tmg/dist/top-bg.png) no-repeat center center / max(100%, 1920px) auto;
  z-index: -1;
}

.mv__area {
  position: relative;
  aspect-ratio: 2 / 1;
}

.mv__img {
  position: absolute;
}

.mv__img.kv {
  width: 68.4%;
  top: 0;
  right: 0;
}

.mv__img.logo {
  width: 24.4%;
  top: 10%;
  left: 3.6%;
}

.mv__img.period {
  width: 28.4%;
  top: 58%;
  left: 1.6%;
}

.mv .start {
  margin-top: 15px;
}

.mv .start a {
  font-size: 2.4rem;
  max-width: 500px;
}


/* -------------------------------------
  movie
------------------------------------- */

.movie .main-title img {
  width: 434px;
}

.movie__wrap {
  display: flex;
  justify-content: space-between;
}

.movie__content {
  width: 47%;
  margin: auto;
}

.movie__content video {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}


/* -------------------------------------
  overview
------------------------------------- */

.overview .main-title img {
  width: 234px;
}

.overview__text {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}


/* -------------------------------------
  prize
------------------------------------- */

.prize .main-title {
  margin-bottom: 15px;
}

.prize .main-title img {
  width: 225px;
}

.prize__notes {
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
}

.prize__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 90px;
  margin: 80px auto 0;
  border: 30px solid transparent;
  padding: 60px 0;
  box-sizing: border-box;
  width: 93%;
  height: auto;
}

.prize-content01 {
  border-image: url('/assets/img/highway-stamprally_tmg/dist/bg-border01.png') 30 round;
}

.prize-content02 {
  border-image: url('/assets/img/highway-stamprally_tmg/dist/bg-border02.png') 30 round;
  padding-bottom: 190px;
}

.prize__items.prize01,
.prize__items.prize02,
.prize__content-wrap {
  position: relative;
}

.prize__items.prize01::before,
.prize__items.prize02::before,
.prize__content-wrap::before {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(95%, 1300px);
  height: 110%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
}

.prize__items.prize01::before {
  top: 46%;
  background-image: url(/assets/img/highway-stamprally_tmg/dist/prize-bg01.png);
}

.prize__items.prize02::before {
  background-image: url(/assets/img/highway-stamprally_tmg/dist/prize-bg02.png);
}

.prize-wrap01::before {
  background-image: url(/assets/img/highway-stamprally_tmg/dist/prize-bg03.png);
}

.prize-wrap02::before {
  top: 60%;
  background-image: url(/assets/img/highway-stamprally_tmg/dist/prize-bg04.png);
}

.prize-content02 .prize__items {
  width: 45%;
}

.prize-content02 .inner {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.prize__title-wrap {
  position: relative;
  display: flex;
  align-items: end;
  gap: 25px;
}

.prize__title {
  position: relative;
  flex-shrink: 0;
}

.prize01 .prize__title {
  width: 370px;
}

.prize02 .prize__title {
  width: 475px;
}

.prize03 .prize__title {
  width: 273px;
}

.prize04 .prize__title {
  width: 423px;
  margin-left: auto;
}

.prize05 .prize__title {
  width: 224px;
}

.prize06 .prize__title {
  width: 268px;
  margin-left: auto;
}

.prize__text {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 5px 15px 7px;
  border-radius: 30px;
  background-color: #fff;
}

.prize01 .prize__text {
  color: #ef821d;
}

.prize02 .prize__text {
  position: relative;
  color: #ea6da4;
}

.prize02 .prize__text img {
  position: absolute;
  width: 80px;
  top: -40px;
  right: 15px;
  transform: translateX(100%);
}

.prize__wrap {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.prize__wrap a {
  color: #00b8ee;
  text-decoration: underline;
  transition: opacity .2s;
}

@media (any-hover: hover) {
  .prize__wrap a:hover {
    opacity: .7;
  }
}

.prize-content02 .prize__wrap {
  position: relative;
}

.prize03 .prize__wrap,
.prize05 .prize__wrap {
  flex-direction: row-reverse;
  margin-top: 90px;
}

.prize04 .prize__wrap,
.prize06 .prize__wrap {
  margin-top: 90px;
}

.prize__images > * {
  position: absolute;
}

.prize01 .prize__images,
.prize02 .prize__images {
  position: relative;
  width: 43.8%;
  height: 100%;
  aspect-ratio: 526 / 292;
}

.prize06 .prize__images {
  aspect-ratio: 5 / 4;
}

.prize-content02 .prize__images {
  position: relative;
  flex: 1;
}

.prize01 .prize__images .img01 {
  width: 55%;
  top: 5%;
  right: 6%;
}

.prize01 .prize__images .img01 p {
  position: absolute;
  right: 0;
  top: 96%;
}

.prize01 .prize__images .img02 {
  width: 33%;
  top: 0;
  left: 1%;
}

.prize01 .prize__images .img03 {
  width: 39%;
  bottom: 0;
  left: 1%;
}

.prize02 .prize__images .img01 {
  width: 55%;
  top: 5%;
  right: 6%;
}

.prize02 .prize__images .img01 p {
  position: absolute;
  right: 10px;
  top: 91%;
}

.prize02 .prize__images .img02 {
  width: 33%;
  top: 0;
  left: 1%;
}

.prize02 .prize__images .img03 {
  width: 37%;
  bottom: 0;
  left: 1%;
}

.prize03 .prize__images .img01 {
  width: 94%;
  top: 0;
  right: 3%;
}

.prize03 .prize__images .img02 {
  display: none;
}

.prize03 .prize__images .img03 {
  width: 63%;
  top: -67px;
  left: -45%;
}

.prize04 .prize__images .img01 {
  width: 97%;
  top: 0;
  left: 0;
}

.prize04 .prize__images .img02 {
  display: none;
}

.prize04 .prize__images .img03 {
  width: 73%;
  top: -67px;
  right: -40%;
}

.prize05 .prize__images .img01 {
  width: 90%;
  top: 0;
  right: 2%;
}

.prize05 .prize__images .img02 {
  display: none;
}

.prize05 .prize__images .img03 {
  width: 52%;
  top: -67px;
  left: -22%;
}

.prize06 .prize__images .img01 {
  width: 94%;
  top: 0;
  left: 0;
}

.prize06 .prize__images .img01 p {
  position: absolute;
  right: 0;
  top: 102%;
}

.prize06 .prize__images .img02 {
  display: none;
}

.prize06 .prize__images .img03 {
  width: 58%;
  top: -67px;
  right: -22%;
}

.prize01 .size,
.prize02 .size,
.prize06 .size {
  font-size: clamp(1rem, 0.6vw, 1.2rem);
  line-height: 1.2;
}

.prize01 .size {
  right: -5%;
  bottom: 4%;
}

.prize02 .size {
  right: 8%;
  bottom: 7%;
}

.prize03 .size {
  order: 1;
  margin-top: 20px;
}

.prize03 .size li {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
  padding-left: 1em;
  text-indent: -1em;
}

.prize03 .size li::before {
  display: none;
}

.prize06 .size {
  top: 100%;
  right: 0;
}

.prize__list {
  width: 55%;
  margin-top: 2%;
}

.prize03 .prize__list {
  width: 39%;
  display: flex;
  flex-direction: column;
  margin-top: 7%;
}

.prize04 .prize__list {
  width: 39%;
  margin-top: 6%;
}

.prize05 .prize__list {
  width: 42%;
  margin-top: 6%;
}

.prize06 .prize__list {
  display: flex;
  flex-direction: column;
  width: 44%;
  margin-top: 6%;
}

.prize__list .list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.prize__list li {
  position: relative;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  padding-left: 0.7em;
}

.prize__list li::before {
  position: absolute;
  content: '';
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--text-color);
}

.prize__list .notes {
  position: relative;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 0.8em;
  padding-left: 0.6em;
  text-indent: -0.6em;
}

.prize__list .notes + .notes {
  margin-top: 5px;
}

.prize__stamp-img {
  position: absolute;
  width: 13.5%;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
}

.prize__img-fukidashi,
.prize__fukidashi {
  position: absolute;
}

.prize__img-fukidashi {
  display: none;
}

.prize__fukidashi.img01 {
  width: 284px;
  top: -100px;
  right: 2%;
}

.prize__fukidashi.img02 {
  width: 247px;
  top: -90px;
  left: 2%;
}

.prize07 {
  position: absolute;
  /* left: 36%; */
  right: 6%;
  bottom: 0;
  transform: translateY(94%);
  width: 400px;
}


/* -------------------------------------
  news
------------------------------------- */

.news .inner {
  display: flex;
  justify-content: center;
}

.news .main-title img {
  width: 200px;
}

.news__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.news__list li {
  display: flex;
}

.news__list .date {
  font-size: 1.6rem;
  font-weight: 700;
  margin-right: 30px;
}

.news__list .title {
  font-size: 1.8rem;
  font-weight: 700;
}

.news__list .title a {
  color: #00b8ee;
  text-decoration: underline;
  transition: opacity .2s;
}

@media (any-hover: hover) {
  .news__list .title a:hover {
    opacity: .7;
  }
}


/* -------------------------------------
  about
------------------------------------- */

.about .main-title img {
  width: 305px;
}

.about__text {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
}

.about__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 40px;
}

.about__items {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 15%;
}

.about__items .char-name {
  margin: 10px auto 0;
}

.about__items:nth-of-type(1) .char-name {
  width: 95px;
}

.about__items:nth-of-type(2) .char-name {
  width: 98px;
}

.about__items:nth-of-type(3) .char-name {
  width: 113px;
}

.about__items:nth-of-type(4) .char-name {
  width: 106px;
}

.about__items:nth-of-type(5) .char-name {
  width: 119px;
}

.about__items:nth-of-type(6) .char-name {
  width: 114px;
}

.about__items:nth-of-type(7) .char-name {
  width: 136px;
}

.about__items:nth-of-type(8) .char-name {
  width: 118px;
}

.about__items:nth-of-type(9) .char-name {
  width: 109px;
}

.about__items:nth-of-type(10) .char-name {
  width: 107px;
}

.about__items:nth-of-type(11) .char-name {
  width: 86px;
}

.about__items:nth-of-type(12) .char-name {
  width: 177px;
}

.about__items .profile {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-top: 15px;
  padding: 0 15px 2px;
  background-color: var(--accent-color-pink);
  border-radius: 20px;
  transition: background-color .2s;
}

@media (any-hover: hover) {
  .about__items .profile:hover {
    background-color: var(--accent-color-blue);
  }
}

/* char modal */
.char-modal .modal__container {
  width: auto;
  min-width: 620px;
  height: auto;
  padding-top: 20px;
  background-color: #d3edfb;
  border: 4px solid var(--accent-color-navy);
  border-radius: 40px;
}

.char-modal .modal__close::before,
.char-modal .modal__close::after {
  background-color: var(--accent-color-navy);
}

.char-modal .modal__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.char-modal .char-img {
  width: 350px;
}

.char-modal .char-name {
  margin-top: 15px;
}

#char01 .char-name {
  width: calc(103px * 1.8);
}

#char02 .char-name {
  width: calc(104px * 1.8);
}

#char03 .char-name {
  width: calc(125px * 1.8);
}

#char04 .char-name {
  width: calc(103px * 1.8);
}

#char05 .char-name {
  width: calc(127px * 1.8);
}

#char06 .char-name {
  width: calc(127px * 1.8);
}

#char07 .char-name {
  width: calc(150px * 1.8);
}

#char08 .char-name {
  width: calc(126px * 1.8);
}

#char09 .char-name {
  width: calc(124px * 1.8);
}

#char10 .char-name {
  width: calc(125px * 1.8);
}

#char11 .char-name {
  width: calc(100px * 1.8);
}

#char12 .char-name {
  width: calc(177px * 1.8);
}

.char-modal .char-profile {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-top: 25px;
}


/* -------------------------------------
  wayto
------------------------------------- */

.wayto .main-title img {
  width: 224px;
}

.wayto__text {
  font-size: 2.8rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.5;
}

.wayto__content {
  position: relative;
  display: flex;
  gap: 40px;
  margin-top: 30px;
  padding: 40px 35px;
  background-color: #e5f6f9;
  border-radius: 40px;
}

.wayto__items {
  width: 33.33%;
}

.wayto__items-img {
  width: 165px;
  margin: 25px auto 0;
}

.wayto__items-text {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  width: 91.5%;
  margin: 30px auto 0;
}

.wayto__items-text a {
  color: #00b8ee;
  text-decoration: underline;
  transition: opacity .2s;
}

@media (any-hover: hover) {
  .wayto__items-text a:hover {
    opacity: .7;
  }
}

.indent-text {
  margin-top: 15px;
}

.indent-text li {
  font-size: 1.4rem;
  line-height: 1.5;
  padding-left: 1em;
  text-indent: -1em;
}

.wayto__notes {
  font-size: 1.4rem;
  margin-top: 10px;
}

.wayto__zukan {
  position: absolute;
  right: 2%;
  bottom: -14%;
  display: flex;
  align-items: center;
  width: 448px;
}

.wayto-note__content {
  margin-top: 100px;
}

.wayto-note__items:nth-of-type(n+2) {
  margin-top: 50px;
}

.wayto-note__title {
  position: relative;
}

.wayto-note__title::before,
.wayto-note__title::after {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background: radial-gradient(circle farthest-side, var(--accent-color-navy), var(--accent-color-navy) 40%, transparent 40%, transparent);
  background-size: 15px;
  content: "";
  display: inline-block;
  height: 15px;
  width: calc((100% - 518px) / 2);
}

.wayto-note__title::before {
  left: 0;
}

.wayto-note__title::after {
  right: 0;
}

.wayto-note__title span {
  display: grid;
  place-items: center;
  width: 500px;
  height: 50px;
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 auto;
  background-color: var(--accent-color-navy);
  border-radius: 25px;
}

.wayto-note__items .note__lists {
  margin-top: 25px;
}


/* -------------------------------------
  map
------------------------------------- */

.map .main-title img {
  width: 472px;
}

.map__lead {
  font-size: 2.8rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.34;
  margin-top: 8px;
}

.map__lead span {
  display: inline-block;
  transform: translateY(0.05em);
  font-size: 4.7rem;
}

.map__area {
  position: relative;
  margin-top: 30px;
}

.map__img {
  position: relative;
}

.map__img p {
  position: absolute;
  bottom: 2%;
  right: 4%;
  font-size: clamp(1rem, 1.4vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
  padding-left: calc(2.4% + 4em);
  text-indent: -4em;
}

.map__img p::before {
  position: absolute;
  content: '';
  top: -5%;
  left: 0;
  width: 6%;
  aspect-ratio: 1;
  background: url(/assets/img/highway-stamprally_tmg/dist/star.png) no-repeat center center / contain;
}

.map__pdf-btn {
  margin-top: 40px;
}

.map__pdf-btn a {
  max-width: 522px;
}

.map__more-btn {
  position: absolute;
  aspect-ratio: 1;
  width: 6.08%;
  transition: transform 0.3s;
  cursor: pointer;
  z-index: 1;
}

@media (any-hover: hover) {
  .map__more-btn:hover {
    transform: scale(1.2);
  }
}

.map__more-btn span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/assets/img/highway-stamprally_tmg/dist/plus-btn.png) no-repeat center center / contain;
}

.map__more-btn::before,
.map__more-btn::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(249, 131, 128, 0.6);
  border-radius: 50%;
  -webkit-animation: pulsate 2s linear infinite;
  animation: pulsate 2s linear infinite;
  z-index: -1;
}

.map__more-btn::after {
  animation-delay: 1s;
}

@keyframes pulsate {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.map__more-btn.area01 {
  top: 21%;
  left: 54%;
}

.map__more-btn.area02 {
  top: 47%;
  left: 47%;
}

.map__more-btn.area03 {
  top: 64%;
  left: 43%;
}

.map__more-btn.area04 {
  top: 80%;
  left: 37%;
}

.map__more-btn.area05 {
  top: 71%;
  left: 20%;
}

/* map modal */
.modal {
  display: none;
}

.modal.is-open {
  display: block;
}

.modal__container,
.modal__overlay {
  will-change: transform;
}

.modal__overlay {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}

.modal__container {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 50px;
}

.modal__map-img {
  aspect-ratio: 1;
  width: auto;
  max-height: 80vh;
  object-fit: contain;
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.modal__close::before,
.modal__close::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 4px;
  background-color: #fff;
}

.modal__close::before {
  transform: rotate(45deg);
}

.modal__close::after {
  transform: rotate(-45deg);
}

@keyframes mmfadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes mmfadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.modal[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn 0.3s;
}

.modal[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut 0.3s;
}


/* -------------------------------------
  sapa
------------------------------------- */

.sapa__title {
  text-align: center;
  margin-top: 80px;
}

.sapa__title img {
  width: min(866px, 100%);
}

.sapa__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 45px auto 0;
  max-width: 1000px;
}

.sapa__lists {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
  width: 49.5%;
}

.sapa-list {
  width: 100%;
}

.sapa-list__button {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  width: 100%;
  height: 54px;
  padding: 0 20px;
  border-radius: 10px;
  cursor: pointer;
}

.lists01 .sapa-list:nth-of-type(odd) button,
.lists02 .sapa-list:nth-of-type(even) button {
  color: #fff;
  background-color: var(--accent-color-navy);
}

.lists01 .sapa-list:nth-of-type(even) button,
.lists02 .sapa-list:nth-of-type(odd) button {
  color: var(--text-color);
  background-color: #fff8b0;
}

.sapa-list__button span {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--accent-color-navy);
  background-color: #fff;
}

.sapa-list__button span::before,
.sapa-list__button span::after {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  width: 60%;
  height: 14%;
  background-color: var(--accent-color-navy);
  border-radius: 5px;
}

.sapa-list__button span::before {
  transform: translate(-50%, -50%);
}

.sapa-list__button span::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.3s;
}

.sapa-list__button.is-active span::after {
  transform: translate(-50%, -50%) rotate(0);
}

.sapa-list__body {
  display: none;
  margin-top: -10px;
  padding-top: 10px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.sapa-list__text {
  font-size: 1.6rem;
  font-weight: 500;
  color: #262626;
  padding: 8px 20px;
}

.sapa-list__text:nth-of-type(n+2) {
  border-top: 1px solid #ccc;
}

.sapa-list__text a {
  display: inline-block;
  transform: rotate(0.05deg);
  transition: opacity 0.2s;
}

@media (any-hover: hover) {
  .sapa-list__text a:hover {
    opacity: .7;
  }
}


/* -------------------------------------
  panel, labtama
------------------------------------- */

.content-wrap {
  display: flex;
}

.content-wrap > section {
  width: 50%;
}

.panel, .labtama {
  padding-bottom: 80px;
}

.panel {
  border-right: 2px solid var(--accent-color-navy);
}

.labtama {
  border-left: 2px solid var(--accent-color-navy);
}

.panel .main-title img {
  width: 285px;
}

.labtama .main-title img {
  width: 186px;
}

.labtama__lead {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  margin: -30px 0 20px;
  padding: 0 1em;
}

.labtama__lead span {
  display: block;
  font-size: 0.75em;
  font-weight: 500;
  margin-top: 35px;
}

.panel__img,
.labtama__img {
  position: relative;
  text-align: center;
}

.panel__img img:nth-of-type(1) {
  width: 47%;
}

.labtama__img img:nth-of-type(1) {
  width: 55%;
}

.labtama__img img:nth-of-type(2) {
  position: absolute;
  aspect-ratio: 294 / 252;
  object-fit: cover;
  width: 16.3%;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.panel__img .fukidashi {
  position: absolute;
  width: 26%;
  top: -5%;
  left: 9%;
}

.labtama__term {
  text-align: center;
  margin-top: 20px;
}

.labtama__term span {
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
  background-color: var(--text-color);
  padding: 4px 10px 5px;
  border-radius: 8px;
}

.labtama__term p {
  font-size: 2.4rem;
  font-weight: 800;
  margin-top: 5px;
}

.panel .link-btn,
.labtama .link-btn {
  margin-top: 35px;
}


/* -------------------------------------
  event
------------------------------------- */

.content-sec.event {
  margin-top: 0;
}

.event .main-title img {
  width: 500px;
}

.event__lead {
  text-align: center;
}

.event__lead img {
  width: min(480px, 100%);
}

.event__text {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 40px;
}

.event__dl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 15px;
  margin-top: 30px;
}

.event__dl-wrap {
  display: flex;
  align-items: flex-start;
}

.event__dl dt {
  display: inline-block;
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  padding: 3px 15px 5px;
  border-radius: 8px;
  background-color: var(--accent-color-navy);
}

.event__dl dd {
  flex: 1;
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0 50px 0 25px;
}

.event__char {
  display: flex;
  gap: 30px;
  width: min(95%, 700px);
  margin: 40px auto 0;
}

.event-char__items p {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  margin-top: 10px;
}

.event__content {
  margin-top: 30px;
}

.event__content > span {
  display: inline-block;
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  padding: 3px 15px 5px;
  border-radius: 8px;
  background-color: var(--accent-color-navy);
}

.event__items {
  padding: 20px 30px;
  border-bottom: 1px solid #ccc;
}

.event__items:first-of-type {
  border-top: 1px solid #ccc;
}

.event__items p {
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.5;
}

.event__items p span {
  display: block;
  font-size: 0.8em;
  margin-top: 5px;
}

.event__lists {
  margin-top: 30px;
}

.event__notes {
  font-size: 1.6rem;
  padding-left: 0.6em;
  text-indent: -0.6em;
}


/* -------------------------------------
  rule
------------------------------------- */

.rule .main-title img {
  width: 235px;
}

.rule-box {
  max-width: 800px;
  margin: 0 auto 50px;
  padding: 20px 20px 25px;
  background-color: #d3edfb;
  border-radius: 18px;
}

.rule-box__title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}

.rule-box__text {
  font-size: 1.6rem;
  text-align: center;
  margin-top: 5px;
}

.rule__sub-title {
  position: relative;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 30px 0 10px;
  padding-left: 1em;
}

.rule__sub-title::before {
  position: absolute;
  content: '';
  top: 0.55em;
  left: 0;
  width: 0.8em;
  height: 0.8em;
  border-radius: 50%;
  background-color: var(--accent-color-navy);
}


/* -------------------------------------
  contact
------------------------------------- */

.contact .main-title img {
  width: 323px;
}

.contact__content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
}

.contact__text-top {
  font-size: 1.8rem;
  font-weight: 800;
}

.contact__text-bottom {
  font-size: 1.6rem;
}

.contact__text-bottom a.tel {
  pointer-events: none;
  text-decoration: none;
}

.contact__text-bottom a.email {
  text-decoration: underline;
  transition: opacity 0.3s;
}

@media (any-hover: hover) {
  .contact__text-bottom a.email:hover {
    opacity: .7;
  }
}

.contact__notes {
  font-size: 1.4rem;
}


/* -------------------------------------
  footer
------------------------------------- */

.footer {
  width: 100%;
  margin-top: 100px;
  padding-bottom: 20px;
  background-color: #fff;
  border-top: 4px solid var(--accent-color-navy);
}

.footer__content {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 3%;
  height: 100%;
  padding: 30px 0;
}

.footer-item a {
  display: flex;
  align-items: center;
  gap: 10%;
  transition: opacity .2s;
}

@media (any-hover: hover) {
  .footer-item a:hover {
    opacity: .7;
  }
}

.footer-item__logo.nexco {
  width: 108px;
}

.footer-item__logo.hwx {
  flex-shrink: 0;
  width: 44px;
}

.footer-item__logo.insta {
  flex-shrink: 0;
  width: 50px;
}

.footer-item__logo.yorimichi {
  width: 80px;
}

.footer-item__text {
  flex-shrink: 0;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.34;
}

.footer .copyright {
  font-size: 1.4rem;
  text-align: center;
}

#page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
}

#page-top button {
  display: block;
  width: 60px;
  height: 60px;
  background: url(/assets/img/highway-stamprally_tmg/dist/page-top.png) no-repeat center center / contain;
  transition: transform 0.3s;
  cursor: pointer;
}

@media (any-hover: hover) {
  #page-top button:hover {
    transform: scale(1.1);
  }
}



@media (width < 1441px) {
  .header {
    height: 70px;
  }

  .header__share {
    gap: 10px;
    padding-bottom: 0;
  }

  .header__share-list {
    gap: 10px;
  }

  .header__share-text {
    width: 100px;
  }

  .header__share-item {
    width: 30px;
  }

  .header__nav-list {
    gap: 20px;
  }

  .header__nav-item a {
    font-size: 1.4rem;
  }

  .header__start-btn {
    margin-left: 20px;
  }

  .header__start-btn img {
    width: 160px;
  }

  .mv {
    padding-top: 70px;
  }
}


@media (width < 1201px) {
  .prize-content02 .prize__items {
    width: 100%;
  }

  .prize-content02 .prize__wrap {
    flex-direction: column;
    margin-top: 20px;
  }

  .prize__title-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .prize04 .prize__title {
    width: min(100%, 423px);
  }

  .prize-content02 .prize__images {
    width: min(92%, 450px);
    margin: auto;
    aspect-ratio: 7 / 3.8;
  }

  .prize-wrap01 .prize__images .img01 {
    width: 61%;
    top: 2%;
    right: 0;
    left: auto;
  }

  .prize-content02 .prize__images .img02 {
    display: block;
    width: 33%;
    top: 0;
    left: 4%;
  }

  .prize03 .prize__images .img03 {
    width: 38%;
    left: 0;
    top: 71%;
  }

  .prize04 .prize__images .img03 {
    width: 45%;
    top: 70%;
    left: 0;
  }

  .prize05 .prize__images {
    aspect-ratio: 7 / 4.1;
  }

  .prize05 .prize__images .img01 {
    width: 57%;
    top: 0;
    right: 0;
  }

  .prize05 .prize__images .img03 {
    width: 31%;
    top: 70%;
    left: 7%;
  }

  .prize06 .prize__images {
    aspect-ratio: 7 / 4;
  }

  .prize06 .prize__images .img01 {
    width: 61%;
    top: 0;
    right: 0;
    left: auto;
  }

  .prize06 .prize__images .img03 {
    width: 36%;
    left: 4%;
    top: 70%;
  }

  .prize04 .prize__list,
  .prize-wrap02 .prize__list {
    width: 95%;
    margin: 25px auto 0;
  }

  .prize03 .prize__list {
    flex-direction: column-reverse;
    width: 95%;
    margin: 25px auto 0;
  }

  .prize03 .size {
    margin-top: 0;
    order: 3;
  }

  .prize03 .list,
  .prize06 .list {
    order: 2;
    margin-top: 15px;
  }

  .prize03 .notes {
    order: 1;
  }

  .prize06 .size {
    margin-top: 0;
    order: 1 ;
  }

  .prize06 .notes {
    order: 3;
  }

  .prize__stamp-img {
    display: none;
  }

  .about__items {
    width: 23%;
  }

  .wayto__zukan {
    bottom: -11%;
    width: 400px;
  }
}


@media (width < 1001px) {
  .header__nav.is-open {
    transform: translateX(0);
  }

  .header__nav {
    position: fixed;
    flex-direction: column;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    padding: 100px 0 0;
    background-color: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    z-index: 999;
  }

  .header__nav-list {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 30px;
  }

  .header__nav-item a {
    font-size: 1.8rem;
  }

  .header__start-btn {
    width: 100%;
    height: auto;
    margin: 20px 0 0;
    padding: 15px 0;
    border: none;
    border-top: 4px solid var(--accent-color-navy);
    border-bottom: 4px solid var(--accent-color-navy);
  }

  .header__start-btn img {
    width: 270px;
  }

  .drawer-btn {
    position: relative;
    margin-left: auto;
    width: 70px;
    height: 100%;
    background-color: var(--accent-color-pink);
    border-left: 4px solid var(--accent-color-navy);
    border-bottom: 4px solid var(--accent-color-navy);
    box-sizing: content-box;
    z-index: 999;
  }
  
  @media (any-hover: hover) {
    .drawer-btn:hover {
      cursor: pointer;
    }
  }
  
  .drawer-btn span {
    position: absolute;
    display: block;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 4px;
    background-color: var(--accent-color-navy);
    border-radius: 5px;
    transition: transform 0.2s ease-out;
  }
  
  .drawer-btn span:nth-of-type(1) {
    top: 25px;
  }
  
  .drawer-btn span:nth-of-type(2) {
    top: 37px;
  }
  
  .drawer-btn.is-open span:nth-of-type(1) {
    transform: translate(-18px, 6px) rotate(45deg);
  }
  
  .drawer-btn.is-open span:nth-of-type(2) {
    transform: translate(-18px, -6px) rotate(-45deg);
  }
  
  .drawer-overlay {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    z-index: 99;
  }
  
  .drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  .panel, .labtama {
    padding-bottom: 0;
  }

  .panel {
    border-right: none;
  }

  .labtama {
    border-left: none;
  }

  .content-sec.event {
    margin-top: 80px;
  }

  .content-wrap {
    display: block;
  }

  .content-wrap > section {
    width: 100%;
  }

  .wayto__zukan {
    right: 0;
    bottom: -1%;
    width: 300px;
  }
}


@media (width < 768px) {
  /* common
  ------------------------------------- */

  .is-pc {
    display: none;
  }

  .is-sp {
    display: block;
  }

  .content-area {
    width: 91.5%;
    padding-bottom: 35px;
    margin-top: 60px;
    border-radius: 20px;
    border-width: 2px;
  }

  .content-sec {
    margin-top: 45px;
    border-top-width: 2px;
  }

  .main-title {
    height: 50px;
    margin: -2px auto 25px;
    padding: 0 25px;
    border-width: 2px;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
  }

  .link-btn a {
    font-size: 1.2rem;
    max-width: 250px;
    height: 45px;
    border-width: 2px;
  }


  /* loading
  ------------------------------------- */

  .loading-wrap {
    width: min(60%, 300px);
  }

  .circle-item {
    width: 20%;
  }


  /* header
  ------------------------------------- */

  .header {
    height: 40px;
    border-bottom-width: 2px;
  }

  .header__nav {
    width: 260px;
    padding-top: 60px;
  }

  .header__nav-list {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 30px;
  }

  .header__nav-item a {
    font-size: 1.6rem;
  }

  .header__start-btn {
    border-top-width: 2px;
    border-bottom-width: 2px;
  }

  .header__start-btn img {
    width: 240px;
  }

  .header__share {
    padding-left: 4.25%;
  }

  .header__share-text {
    width: 75px;
  }

  .header__share-item {
    width: 22px;
  }

  .header__share-item:nth-of-type(2) {
    width: 20px;
  }

  .drawer-btn {
    width: 40px;
    border-left-width: 2px;
    border-bottom-width: 2px;
  }

  .drawer-btn span {
    height: 2px;
  }

  .drawer-btn span:nth-of-type(1) {
    top: 14px;
  }
  
  .drawer-btn span:nth-of-type(2) {
    top: 22px;
  }
  
  .drawer-btn.is-open span:nth-of-type(1) {
    transform: translate(-10px, 4px) rotate(45deg);
  }
  
  .drawer-btn.is-open span:nth-of-type(2) {
    transform: translate(-10px, -4px) rotate(-45deg);
  }


  /* MV
  ------------------------------------- */

  .mv {
    padding-top: 40px;
  }

  .mv::before {
    height: 60px;
    background-size: 1000px auto;
  }

  .mv__area {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2%;
    aspect-ratio: unset;
  }

  .mv__img {
    position: static;
  }

  .mv__img.kv {
    width: 100%;
  }

  .mv__img.logo {
    width: 36.4%;
  }

  .mv__img.period {
    width: 56.5%;
    margin-top: 4.5%;
  }

  .mv .start {
    margin-top: 25px;
  }
  
  .mv .start a {
    font-size: 1.8rem;
    max-width: 300px;
  }


  /* movie
  ------------------------------------- */

  .movie .main-title img {
    width: 182px;
  }

  .movie__wrap {
    flex-direction: column;
    gap: 20px;
  }

  .movie__content {
    width: 100%;
  }


  /* overview
  ------------------------------------- */

  .overview .main-title img {
    width: 94px;
  }

  .overview__text {
    font-size: 1.4rem;
    font-weight: 700;
  }


  /* prize
  ------------------------------------- */

  .prize {
    padding-bottom: 0;
  }

  .prize__content {
    gap: 60px;
    margin-top: 60px;
    width: 100%;
    padding: 0;
    border: none;
  }

  .prize-content01 {
    margin-top: 25px;
  }

  .prize-content02 {
    padding-bottom: 45%;
  }

  .prize-content02 .inner {
    flex-direction: column;
    gap: 40px;
  }

  .prize .main-title img {
    width: 90px;
  }

  .prize .main-title {
    margin-bottom: 8px;
  }

  .prize__notes {
    font-size: 1.1rem;
  }

  .prize__items.prize01::before,
  .prize__items.prize02::before,
  .prize__content-wrap::before {
    height: 107%;
  }

  .prize__items.prize01::before {
    top: 50%;
    background-image: url(/assets/img/highway-stamprally_tmg/dist/prize-bg01-sp.png);
  }

  .prize__items.prize02::before {
    background-image: url(/assets/img/highway-stamprally_tmg/dist/prize-bg02-sp.png);
  }
  
  .prize-wrap01::before {
    background-image: url(/assets/img/highway-stamprally_tmg/dist/prize-bg03-sp.png);
  }
  
  .prize-wrap02::before {
    top: 50%;
    background-image: url(/assets/img/highway-stamprally_tmg/dist/prize-bg04-sp.png);
  }

  .prize__title-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .prize01 .prize__title {
    width: 186px;
  }

  .prize02 .prize__title {
    width: 147px;
  }

  .prize03 .prize__title {
    width: 137px;
  }

  .prize04 .prize__title {
    width: 212px;
    margin-left: 0;
  }

  .prize05 .prize__title {
    width: 112px;
  }

  .prize06 .prize__title {
    width: 134px;
    margin-left: 0;
  }
  
  .prize__text {
    font-size: 1.2rem;
    padding-inline: 10px;
  }

  .prize__wrap {
    flex-direction: column;
  }

  .prize01 .prize__images,
  .prize02 .prize__images {
    width: min(92%, 450px);
    margin: auto;
    aspect-ratio: 7 / 4;
  }

  .prize01 .prize__images .img01,
  .prize02 .prize__images .img01 {
    top: 0;
  }

  .prize01 .prize__images .img01 p {
    top: 100%;
  }

  .prize02 .prize__images .img01 p {
    top: 97%;
  }

  .prize01 .size,
  .prize02 .size {
    font-size: 1rem;
    bottom: 0;
  }

  .prize03 .size,
  .prize06 .size {
    font-size: 1rem;
  }

  .prize04 .prize__list,
  .prize-wrap02 .prize__list,
  .prize__list {
    width: 95%;
    margin: 25px auto 0;
  }

  .prize__list .list {
    margin-top: 0;
  }

  .prize__list li,
  .prize__list .notes {
    font-size: 1.2rem;
  }

  .prize__list li::before {
    top: 6px;
  }

  .prize__img-fukidashi {
    display: block;
  }

  .prize__img-fukidashi.img01 {
    width: 108px;
    right: 3%;
    top: -4%;
  }
  
  .prize__img-fukidashi.img02 {
    width: 95px;
    right: 3%;
    top: -3%;
  }

  .prize__fukidashi {
    display: none;
  }

  .prize02 .prize__text img {
    width: 42px;
    top: -40px;
    right: 0;
    transform: translateX(0);
  }

  .prize07 {
    width: 80%;
    right: auto;
    left: 50%;
    bottom: -25px;
    transform: translate(-50%, 100%);
  }


  /* news
  ------------------------------------- */

  .news .main-title img {
    width: 85px;
  }

  .news__list {
    align-items: flex-start;
  }

  .news__list li {
    flex-direction: column;
  }

  .news__list .date {
    font-size: 1.2rem;
  }

  .news__list .title {
    font-size: 1.4rem;
  }


  /* about
  ------------------------------------- */

  .about .main-title img {
    width: 138px;
  }

  .about__text {
    font-size: 1.4rem;
    font-weight: 700;
    text-align: left;
  }

  .about__content {
    gap: 5%;
    margin-top: 30px;
  }

  .about__items {
    width: 30%;
  }

  .about__items:nth-of-type(1) .char-name {
    width: 47px;
  }
  
  .about__items:nth-of-type(2) .char-name {
    width: 49px;
  }
  
  .about__items:nth-of-type(3) .char-name {
    width: 56px;
  }
  
  .about__items:nth-of-type(4) .char-name {
    width: 53px;
  }
  
  .about__items:nth-of-type(5) .char-name {
    width: 59px;
  }
  
  .about__items:nth-of-type(6) .char-name {
    width: 57px;
  }
  
  .about__items:nth-of-type(7) .char-name {
    width: 68px;
  }
  
  .about__items:nth-of-type(8) .char-name {
    width: 59px;
  }
  
  .about__items:nth-of-type(9) .char-name {
    width: 54px;
  }
  
  .about__items:nth-of-type(10) .char-name {
    width: 53px;
  }
  
  .about__items:nth-of-type(11) .char-name {
    width: 43px;
  }
  
  .about__items:nth-of-type(12) .char-name {
    width: 88px;
  }

  .char-modal .modal__container {
    width: min(90%, 500px);
    min-width: unset;
    border-width: 2px;
    border-radius: 20px;
  }

  .char-modal .char-img {
    width: 200px;
  }

  .about__items .profile {
    font-size: 1rem;
    margin-top: 8px;
    padding-inline: 8px;
  }

  #char01 .char-name {
    width: calc(103px * 1.2);
  }
  
  #char02 .char-name {
    width: calc(104px * 1.2);
  }
  
  #char03 .char-name {
    width: calc(125px * 1.2);
  }
  
  #char04 .char-name {
    width: calc(103px * 1.2);
  }
  
  #char05 .char-name {
    width: calc(127px * 1.2);
  }
  
  #char06 .char-name {
    width: calc(127px * 1.2);
  }
  
  #char07 .char-name {
    width: calc(150px * 1.2);
  }
  
  #char08 .char-name {
    width: calc(126px * 1.2);
  }
  
  #char09 .char-name {
    width: calc(124px * 1.2);
  }
  
  #char10 .char-name {
    width: calc(125px * 1.2);
  }
  
  #char11 .char-name {
    width: calc(100px * 1.2);
  }
  
  #char12 .char-name {
    width: calc(177px * 1.2);
  }

  .char-modal .char-profile {
    font-size: 1.4rem;
    text-align: left;
    margin-top: 15px;
  }


  /* wayto
  ------------------------------------- */

  .wayto .main-title img {
    width: 90px;
  }

  .wayto__text {
    font-size: 1.6rem;
  }

  .wayto__content {
    flex-direction: column;
    gap: 30px;
    padding: 20px 15px;
    border-radius: 10px;
  }

  .wayto__items {
    width: 100%;
  }

  .wayto__items-title {
    width: 61.4%;
  }

  .wayto__items-img {
    float: right;
    width: 35%;
    margin-top: -9%;
  }

  .wayto__items-text {
    font-size: 1.4rem;
    width: 61.4%;
    margin: 15px 0 0;
  }

  .indent-text li {
    font-size: 1.2rem;
    font-weight: 400;
  }

  .wayto__zukan {
    position: static;
    width: 95%;
    height: auto;
    margin: auto;
  }

  .wayto__notes {
    font-size: 1rem;
    margin-top: 5px;
  }

  .wayto-note__content {
    margin-top: 40px;
  }

  .wayto-note__items:nth-of-type(n+2) {
    margin-top: 30px;
  }

  .wayto-note__title span {
    font-size: 1.6rem;
    width: 100%;
    height: 30px;
  }

  .wayto-note__items .note__lists {
    margin-top: 15px;
  }

  .note__list {
    font-size: 1.2rem;
  }


  /* map
  ------------------------------------- */

  .map .main-title img {
    width: 196px;
  }

  .map__lead {
    font-size: 1.3rem;
  }

  .map__lead span {
    font-size: 2.2rem;
  }

  .map__area {
    margin-top: 15px;
  }

  .map__img p {
    position: relative;
    font-size: 1rem;
    margin-top: 5px;
    margin-left: calc(4vw + 2em);
    padding-left: 0;
    text-indent: 0;
  }

  .map__img p::before {
    width: 14px;
    height: 14px;
    top: -1px;
    left: -1.4em;
    transform: translateY(0);
  }

  .modal__container {
    padding: 20px;
  }

  .modal__map-img {
    width: min(500px, 100%);
  }

  .modal__close {
    width: 30px;
    height: 30px;
  }

  .map__more-btn {
    width: 9%;
  }

  .map__pdf-btn {
    margin-top: 20px;
  }
  
  .map__pdf-btn a {
    max-width: 250px;
  }

  .sapa__title {
    margin-top: 50px;
  }

  .sapa__title img {
    width: 273px;
  }

  .sapa__content {
    margin-top: 20px;
    flex-direction: column;
  }

  .sapa__lists {
    width: 100%;
    gap: 5px;
  }

  .sapa-list__button {
    font-size: 1.2rem;
    height: 34px;
    padding: 0 10px;
    border-radius: 6px;
  }

  .sapa-list__button span {
    right: 10px;
    width: 20px;
    height: 20px;
  }

  .sapa-list__body {
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
  }

  .sapa-list__text {
    font-size: 1.2rem;
  }


  /* panel
  ------------------------------------- */

  .content-sec.event {
    margin-top: 45px;
  }

  .panel .main-title img {
    width: 123px;
  }

  .labtama .main-title img {
    width: 80px;
  }

  .event .main-title img {
    width: 200px;
  }

  .labtama__lead {
    font-size: 1.4rem;
    margin-top: 0;
  }

  .labtama__lead span {
    margin-top: 5px;
  }

  .panel__img img:nth-of-type(1),
  .labtama__img img:nth-of-type(1) {
    width: 55%;
  }

  .panel__img .fukidashi {
    width: 30%;
    top: -3%;
    left: 6%;
  }

  .labtama__term span {
    font-size: 1.3rem;
    padding: 2px 8px 3px;
    border-radius: 4px;
  }

  .labtama__term p {
    font-size: 1.4rem;
  }

  .panel .link-btn,
  .labtama .link-btn {
    margin-top: 20px;
  }

  .event__lead img {
    width: 240px;
  }

  .event__text {
    font-size: 1.4rem;
    margin-top: 15px;
  }

  .event__dl {
    gap: 8px;
    margin-top: 20px;
  }

  .event__dl dt {
    font-size: 1.4rem;
    padding: 2px 8px 3px;
    border-radius: 4px;
  }

  .event__dl dd {
    font-size: 1.4rem;
    margin: 0 0 0 10px;
  }

  .event__content > span {
    font-size: 1.4rem;
    margin-bottom: 10px;
    padding: 2px 8px 3px;
    border-radius: 4px;
  }

  .event__char {
    gap: 5px;
    margin-top: 15px;
  }

  .event-char__items p {
    font-size: 1.2rem;
    margin-top: 5px;
  }
  
  .event__items {
    padding: 10px;
  }

  .event__items p {
    font-size: 1.4rem;
  }

  .event__lists {
    margin-top: 25px;
  }

  .event__notes {
    font-size: 1.2rem;
  }


  /* rule
  ------------------------------------- */

  .rule .main-title img {
    width: 94px;
  }

  .rule-box {
    margin-bottom: 20px;
    padding: 10px 15px 15px;
    border-radius: 10px;
  }

  .rule-box__title {
    font-size: 1.6rem;
  }

  .rule-box__text {
    font-size: 1.2rem;
    text-align: left;
  }

  .rule__sub-title {
    font-size: 1.4rem;
    margin: 25px 0 8px;
  }


  /* contact
  ------------------------------------- */

  .contact .main-title img {
    width: 132px;
  }

  .contact__content {
    gap: 10px;
  }

  .contact__text-top {
    font-size: 1.4rem;
  }

  .contact__text-bottom,
  .contact__notes {
    font-size: 1.2rem;
  }


  /* footer
  ------------------------------------- */

  .footer {
    height: auto;
    margin-top: 40px;
    padding: 20px 0;
    border-top-width: 2px;
  }

  .footer__content {
    flex-wrap: wrap;
    column-gap: 15%;
    row-gap: 8px;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-item__logo.nexco {
    width: 66px;
  }

  .footer-item__logo.hwx {
    width: 22px;
  }

  .footer-item__logo.insta {
    width: 25px;
  }

  .footer-item__logo.yorimichi {
    width: 39px;
  }

  .footer-item__text {
    font-size: 1rem;
  }

  .footer .copyright {
    font-size: 1.2rem;
  }

  #page-top {
    right: 10px;
    bottom: 10px;
  }

  #page-top button {
    width: 30px;
    height: 30px;
  }

}