:root {
  --clr-base: #733618;
  --clr-accent: #ff1754;
  --clr-caption: #9c7c78;
}

body {
  background: url(../img/bg_dot.jpg) repeat center/1150px 462px, #faa59c;
  font-family: "Yusei Magic", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--clr-base);
  font-size: 28px;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a:hover img, a:focus-visible img,
button:hover img,
button:focus-visible img {
  -webkit-filter: brightness(105%);
          filter: brightness(105%);
}

.splide__pagination {
  gap: 16px;
  margin-top: 14px;
}

.splide__pagination__page {
  display: block;
}
.splide__pagination__page::after {
  display: block;
  width: 21px;
  height: 21px;
  background: url(../img/icn_page.png) no-repeat center/contain;
  content: "";
}
.splide__pagination__page.is-active::after {
  background-image: url(../img/icn_page_active.png);
}

.main {
  width: clamp(750px, 100%, 1360px);
  margin: auto;
}
@media all and (width <= 1360px) {
  .main {
    overflow-x: hidden;
  }
}

.mainvisual {
  width: 1360px;
}
@media all and (width <= 1360px) {
  .mainvisual {
    margin: 0 calc((100% - 1360px) / 2);
  }
}
@media all and (width <= 750px) {
  .mainvisual {
    margin: 0 -305px;
  }
}

.container {
  width: 702px;
  margin: auto;
}

.banner_wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  margin-top: -224px;
  margin-bottom: 20px;
}

.banner_shop {
  margin-left: -10px;
}
.banner_x {
  margin-top: -3px;
  margin-right: -2px;
  margin-left: -9px;
}
.banner_x_large {
  grid-column: 1/3;
  width: 623px;
  margin-top: -24px;
  margin-right: auto;
  margin-left: auto;
}

.section_box {
  position: relative;
  margin-bottom: 30px;
  padding: 32px 28px;
  background: url(../img/bg_texture.jpg) repeat-y center/100% auto, #fefaf5;
  border-radius: 20px;
  border: 1px solid #fff;
  -webkit-box-shadow: inset 0 0 20px 10px rgba(204, 128, 39, 0.35), 0 10px 10px 0 rgba(193, 108, 102, 0.5);
          box-shadow: inset 0 0 20px 10px rgba(204, 128, 39, 0.35), 0 10px 10px 0 rgba(193, 108, 102, 0.5);
}

.section_title {
  margin-bottom: 30px;
}
.cast .section_title, .staff .section_title {
  margin-bottom: 20px;
}

.section_grid {
  display: grid;
  grid-template-columns: 1fr 1.31fr;
  gap: 20px;
}

.introduction .video_wrapper {
  aspect-ratio: 16/9;
}
.introduction iframe {
  display: block;
  width: 100%;
  height: 100%;
}
.introduction p {
  margin: 0.5em 0;
  line-height: 1.4285714286;
}
.introduction .accent {
  color: var(--clr-accent);
}
.introduction .button_wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  margin-top: 24px;
  margin-bottom: 22px;
}

.otanoshimi .text {
  position: relative;
}
.otanoshimi .text::after {
  position: absolute;
  content: "";
}
.otanoshimi .description {
  line-height: 1.4;
}
.otanoshimi .button {
  width: 380px;
  margin: auto;
}
.otanoshimi .caption {
  margin-top: 10px;
  color: var(--clr-caption);
  font-size: 20px;
  text-align: center;
  line-height: 1.2;
}

.app_macaron {
  padding-bottom: 32px;
  background: url(../img/bg_line.png) no-repeat center bottom/contain;
}
.app_macaron .text::after {
  top: -58px;
  right: -47px;
  width: 143px;
  height: 131px;
  background: url(../img/icn_app_macaron.png) no-repeat center/contain;
}
.app_macaron .title {
  width: 329px;
  margin-bottom: 12px;
}
.app_macaron .button {
  margin-top: 23px;
}

.app_line {
  padding-top: 36px;
  padding-bottom: 28px;
}
.app_line .text::after {
  top: -86px;
  right: -25px;
  width: 129px;
  height: 115px;
  background: url(../img/icn_app_linestamp.png) no-repeat center/contain;
}
.app_line .title {
  width: 312px;
  margin-bottom: 15px;
}
.app_line .button {
  margin-top: 10px;
}

.chara_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0 25px;
  padding-bottom: 35px;
}
.chara_block:first-of-type {
  padding-top: 5px;
}
.chara_block:not(:first-of-type) {
  padding-top: 35px;
  background: url(../img/bg_line.png) no-repeat center top/contain;
}
.chara_block:nth-of-type(even) {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}
.chara_block .image_area {
  width: 220px;
}
.chara_block .image {
  margin: auto;
}
.chara_block .image.machiko {
  width: 187px;
}
.chara_block .image.aguri {
  width: 181px;
}
.chara_block .image.mamoru {
  width: 167px;
}
.chara_block .image.serra {
  width: 170px;
}
.chara_block .image.george {
  width: 165px;
}
.chara_block .image.momoko {
  width: 180px;
}
.chara_block .text {
  width: calc(100% - 220px - 25px);
}
.chara_block .name_wrapper {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  gap: 0 15px;
  margin-bottom: 10px;
  padding-left: 40px;
  line-height: 1;
}
.chara_block .name_wrapper::before {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 35px;
  height: 34px;
  background: url(../img/icn_chara.png) no-repeat center/contain;
  content: "";
}
.chara_block .name {
  color: var(--clr-accent);
  font-size: 36px;
}
.chara_block .cv {
  color: var(--clr-caption);
  font-size: 22px;
}
.chara_block p {
  line-height: 1.4;
}

.cast {
  margin-bottom: 35px;
}
.cast ul {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 15px;
  margin-top: 25px;
  padding-right: 28px;
  padding-left: 28px;
}
.cast li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0 5px;
  line-height: 1.2;
}
.cast li::before {
  display: block;
  width: 26px;
  height: 27px;
  background: url(../img/icn_cast.png) no-repeat center/contain;
  content: "";
}

.staff {
  margin-bottom: 24px;
}
.staff .list {
  display: grid;
  gap: 13px 0;
  margin-top: 25px;
  padding-right: 28px;
  padding-left: 28px;
}
.staff .listitem {
  display: grid;
  grid-template-columns: 31px -webkit-max-content 1fr;
  grid-template-columns: 31px max-content 1fr;
  line-height: 1.2;
}
.staff .listitem::before {
  display: block;
  width: 26px;
  height: 27px;
  margin-top: 3px;
  margin-right: 5px;
  background: url(../img/icn_cast.png) no-repeat center/contain;
  content: "";
}
.staff .listitem span {
  display: block;
  font-size: 22px;
  line-height: 1;
}

.footer {
  position: relative;
  width: 702px;
  margin: auto;
  margin-top: 38px;
  padding-bottom: 100px;
}
.footer .button_pagetop {
  position: absolute;
  right: -20px;
  top: -102px;
  -webkit-filter: drop-shadow(0 10px 20px rgba(127, 44, 36, 0.2));
          filter: drop-shadow(0 10px 20px rgba(127, 44, 36, 0.2));
  cursor: pointer;
}
.footer .button_group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 18px 20px;
}
.footer .button_group .button_contact {
  margin-left: -26px;
}
.footer .button_group .button_playlist {
  margin-top: -4px;
}
.footer .logo {
  width: 338px;
  margin: 40px auto 5px;
}
.footer .copyright {
  font-size: 20px;
  text-align: center;
  color: #3a3838;
}