:root {
  width: 100%;
  height: 100%;
  font-size: 20px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  scroll-behavior: smooth;
}
body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: .8rem;
  font-family: "M PLUS Rounded 1c", sans-serif;
  -moz-font-feature-settings: "palt";
	-webkit-font-feature-settings: "palt";
	font-feature-settings: "palt";
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ul, li {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
/*------------------------------------------------
　　　　　　　　　　　  font
------------------------------------------------*/
@font-face { 
  font-family: "M PLUS Rounded 1c";
  src: url('../font/MPLUSRounded1c-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal; }
@font-face { 
  font-family: "M PLUS Rounded 1c";
  src: url('../font/MPLUSRounded1c-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal; }
@font-face { 
  font-family: "M PLUS Rounded 1c";
  src: url('../font/MPLUSRounded1c-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal; }
@font-face { 
  font-family: "M PLUS Rounded 1c";
  src: url('../font/MPLUSRounded1c-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal; }

/*------------------------------------------------
　　　　　　　　　　　 color
------------------------------------------------*/
:root {
  --rightGreen: #54D762;
  --KoiGreen: #39B54A;
  --paleblue: #21CBDA;
  --basecolor: #231815;
  --emphacolor: #FF406C;
  --newsBg: rgba(255,64,108, .9);
  --yellow: #FFCC00;
  --newslinkcolor: #0082d6;
}
.fixed-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  &::after {
    content: "";
    position: absolute;
    top: -100%; 
    left: -100%;
    width: 400%; 
    height: 400%;
    background-image: url('../img/yellow_bg.png');
    background-repeat: repeat;
    background-size: 350px;
    transform: rotate(-15deg);
  }
}
.wrapper {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 10dvh;
  overflow: visible;
}

/* ====================================
               header
==================================== */
header {
  position: sticky;
  top: 0;
  left: 3rem;
  width: calc(100% - 120px);
  background: var(--rightGreen);
  height: 4rem;
  z-index: 120;
  border: 4px solid #fff;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  & .header-content {
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    & nav.top-nav {
      width: 100%;
      & .sub-content,
      & .sp-menu  {
        display: none;
      }
      & ul {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 2.6rem;
        & li {
          position: relative;
          display: flex;
          align-items: center;
          height: 1.7rem;
          & a {
            width: auto;
            height: 100%;
            & img {
              width: auto;
              height: 100%;
            }
          }
          &:hover {
            opacity: .65;
            transition: .5s;
          }
          &::after {
            content: "";
            position: absolute;
            top: 5px;
            right: -1.8rem;
            display: inline-block;
            width: 1.2rem;
            height: 1.3rem;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center center;
            background-image: url("../img/white_kira.svg");
          }
        }
        & li.header-menu-logo {
          display: flex;
          height: 3rem;
          aspect-ratio: 525 / 327;
          margin-right: auto;
          & img {
            width: 100%;
            height: 100%;
            object-fit: contain;
          }
          &::after {
            content: none;
          }
        }
        & li:nth-of-type(2) {
          &::before {
            content: "";
            position: absolute;
            top: 5px;
            left: -1.8rem;
            display: inline-block;
            width: 1.2rem;
            height: 1.3rem;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center center;
            background-image: url("../img/white_kira.svg");
          }
        }
        & li:has(.sns-icons) {
          height: 2.25rem;
          margin-left: auto;
          &:hover {
            opacity: 1;
          }
          &::after {
            content: none;
          }
          & .sns-icons {
            gap: .75rem;
            a.official_link {
              width: 2.1rem;
              height: 2.1rem;
              box-shadow: 0 3px 0 0 rgba(0,0,0, .3);
            }
          }
        }
      }
    }
  }
}

/* ====================================
                 main
==================================== */
main {
  width: 100%;
  height: auto;
}

/* ====================================
             共通スタイル
==================================== */
.box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 5rem 0;
  text-align: center;
  overflow: hidden;
  &::after {
    content: "";
    position: absolute;
    top: -100%; 
    left: -50%;
    background-repeat: repeat;
    background-size: 350px;
    transform: rotate(-15deg);
    z-index: 0;
  }
  & h2 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 3.5rem;
    margin-bottom: 1.5rem;
    & img {
      object-fit: contain;
      max-height: 70px;
      width: 100%;
      z-index: 100;
    }
  }
   & article {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
    width: calc(100% - 120px);
    max-width: 1200px;
    z-index: 1;
  }
}

/*---- snsアイコンボタン ----*/
.sns-icons {
  display: flex;
  justify-content: center;
  & a.official_link {
    display: flex;
    font-size: 0;
    border-radius: 50%;
    background-color: #fff;
    background-size: 55%;
    background-repeat: no-repeat;
    background-position: center center;
    &:hover {
      opacity: .65;
      transition: .5s;
    }
  }
  & a.official_link:nth-of-type(1) {
    background-image: url("../img/sns_x.svg");
  }
  & a.official_link:nth-of-type(2) {
    background-image: url("../img/sns_i.svg");
  }
  & a.official_link:nth-of-type(3) {
    background-image: url("../img/sns_t.svg");
  }
}
.contact-button,.youtube-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 4rem);
  & img {
    width: auto;
    max-height: 96px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
    &:hover {
      transform: scale(1.035);
    }
  }
}
/*---- ノーマルボタン ----*/
a.normal-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30%;
  max-width: 15rem;
  height: 3.2rem;
  border-radius: 1.6rem;
  font-size: clamp(1.3rem, 1.8vw, 1.8rem);
  font-weight: 900;
  line-height: 1;
  background: #fff;
  padding: 0 1rem;
  border: 5px solid var(--basecolor);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
  &:hover {
    transform: scale(1.035) !important;
  }
  & .pink {
    color: var(--emphacolor);
  }
  & .green {
    color: var(--rightGreen);
  }
  & .blue {
    color: var(--paleblue);
  }
  & .yellow {
    color: var(--yellow);
  }
}

/* ====================================
      キービジュアル＆メイン動画 
==================================== */
section.kv-section {
  padding: 0 0 5rem;
  gap: 5rem;
  & .video-player-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    width: calc(100% - 20px);
    max-width: 1000px;
    & .main-video {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      background: black;
      border-radius: 10px;
      background-size: cover;
      & span {
        display: block;
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        border-radius: 5px;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        background-image: url(https://img.youtube.com/vi/bn675NH9MoA/maxresdefault.jpg);
        &::before {
          content: "";
          position: absolute;
          top: 0px;
          bottom: 0px;
          left: 0px;
          right: 0px;
          width: 20%;
          height: 20%;
          z-index: 1;
          background: url(../img/icon_play.svg) center center / contain no-repeat;
          margin: auto;
          opacity: .7;
        }
        & img {
          position: absolute;
          left: 0px;
          top: 0px;
          width: 100%;
          height: 100%;
        }
      }
    }
  }
}
.swiper-container-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 40px;
  margin: 20px auto 0;
  & .swiper {
    width: calc(100% - 120px);
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden !important;
    border-radius: 10px;
    & .swiper-wrapper {
      & .swiper-slide {
        position: relative;
        display: block;
        width: 100% !important;
        height: auto;
        aspect-ratio: 16 / 9; 
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        border-radius: 10px;
        background-color: #000;
        opacity: 1 !important;
        transition: opacity 0.3s;
        & img {
          position: absolute;
          left: 0px;
          top: 0px;
          width: 100%;
          height: 100%;
        }
      }
      & .slide01 { 
        background-image: url('../img/kv.jpg');
      }
      & .slide02 { 
        background-image: url('../img/logo.png');
      }
    }
  }
  & .swiper-pagination {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    text-align: center !important;
    line-height: 1;
    z-index: 10;
  }
}
.swiper-pagination-bullet {
  display: inline-block !important;
  vertical-align: middle;
  width: 1rem !important;
  height: 1rem !important;
  margin: 0 .5rem !important;
  background: #A6A6A6 !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active {
  background: var(--emphacolor) !important;
}

/* ====================================
             ABOUTセクション 
==================================== */
#about {
  padding: 8rem 0;
  &::after {
    width: 200%; 
    height: 300%;
    background-image: url('../img/all_bg.png');
    background-color: #fff;
  }
  & h2 {
    margin-bottom : 0;
  }
  & article {
    position: relative;
    gap: 1.5rem;
    border-radius: 2rem;
    padding: 5rem 0 3rem;
    background: var(--paleblue) url('../img/bg_about.png') no-repeat center center / cover;
    border: 6px solid rgba(0,0,0,.05);
    &::before, &::after {
      content: "";
      position: absolute;
      display: inline-block;
      width: 15%;
      aspect-ratio: 182 / 300;
      max-width: 182px;
      background-repeat: no-repeat;
      background-size: contain;
      background-position: center bottom;
      z-index: 100;
    }
    &::before {
      top: -10%;
      left: 40px;
      background-image: url(../img/00_bg_chara.png)
    }
    &::after {
      bottom: -10%;
      right: 40px;
      background-image: url(../img/01_bg_chara.png)
    }
    & .text-block {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      & p {
        font-size: clamp(.8rem, 1.8vw, 1rem);
        line-height: 1.5;
        color: #000;
        letter-spacing: .2px;
        font-weight: 800;
        text-shadow:
          -2px 0 0 #ffffff,
          2px 0 0 #ffffff,
          0 -2px 0 #ffffff,
          0 2px 0 #ffffff,
          -2px -2px 0 #ffffff,
          2px -2px 0 #ffffff,
          -2px  2px 0 #ffffff,
          2px  2px 0 #ffffff;
      }
    }
  }
}
/* ====================================
             MOVIEセクション 
==================================== */
#movie {
  &::after {
    width: 200%; 
    height: 300%;
    background-image: url('../img/blue_bg.png');
  }
  & article {
    & ul {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      width: 100%;
      gap: 1rem;
      & li {
        width: calc((100% - 2rem) / 3);
        min-width: 180px;
        aspect-ratio: 16 / 9;
        padding: 10px;
        border-radius: 10px;
        border: 4px solid #fff;
        transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        will-change: transform;
        &:hover {
          transform: scale(1.035) !important;
        }
        & span {
          display: block;
          position: relative;
          width: 100%;
          aspect-ratio: 16 / 9;
          overflow: hidden;
          border-radius: 5px;
          background-repeat: no-repeat;
          background-size: cover;
          background-position: center center;
          &::before {
            content: "";
            position: absolute;
            top: 0px;
            bottom: 0px;
            left: 0px;
            right: 0px;
            width: 35%;
            height: 35%;
            z-index: 1;
            background: url(../img/icon_play.svg) center center / contain no-repeat;
            margin: auto;
            opacity: .7;
          }
          & img {
            position: absolute;
            left: 0px;
            top: 0px;
            width: 100%;
            height: 100%;
          }
        }
        & p {
          text-align: left;
          color: #fff;
          font-size: .9rem;
          font-weight: 800;
          line-height: 1.5;
          margin-top: 5px;
        }
      }
      & li:first-of-type {
        background: var(--emphacolor);
        span {
          background-image: url(https://img.youtube.com/vi/bn675NH9MoA/maxresdefault.jpg);
        }
      }
      & li:nth-of-type(2) {
        background: #46CF55;
        span {
          background-image: url(https://img.youtube.com/vi/DjHuVW1cX8E/hqdefault.jpg);
        }
      }
      & li:last-of-type {
        background: #FFC200;
        span {
          background-image: url(https://img.youtube.com/vi/su4Pk9HjGSU/maxresdefault.jpg);
        }
      }
    }
  }
}
/* ====================================
             NEWSセクション 
==================================== */
#news {
  &::after {
    width: 200%; 
    height: 300%;
    background-image: url('../img/pink_bg.png');
    background-color: #fff;
  }
  & article {
    & ul.news-list {
      display: flex;
      flex-direction: column;
      width: 100%;
      max-width: 980px;
      margin: 0 auto;
      gap: 1rem;
      & li {
        width: 100%;
        & .news-item {
          display: flex;
          flex-direction: column;
          gap: 10px;
          text-align: left;
          color: #fff;
          padding: 1.5rem;
          border-radius: 10px;
          border: 4px solid var(--emphacolor);
          background: var(--newsBg);
          transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
          will-change: transform;
          &:hover {
            transform: scale(1.035);
          }
          & .date-and-icon {
            display: flex;
            align-items: center;
            gap: .5rem;
            font-size: clamp(.65rem, 1.8vw, .8rem);
            line-height: 1;
            font-weight: 800;
            & .icon {
              display: inline-block;
              height: 16px;
              aspect-ratio: 40 / 26;
              background: url('../img/icon_leaf.svg') center center / contain no-repeat;
            }
          }
          & p.news-text {
            font-size: clamp(.7rem, 1.8vw, .9rem);
            line-height: 1.5;
            font-weight: 800;
            overflow: hidden;
            display: -webkit-box;
            text-overflow: ellipsis;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
          }
        }
      }
    }
  }
}
/* ====================================
        CHARACTERセクション 
==================================== */
#chara {
  &::after {
    width: 200%; 
    height: 300%;
    background-image: url('../img/yellow_bg.png');
    background-color: #fff;
  }
  & article {
    & .chara-grid {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1.5rem;
      background: rgba(255,255,255, .95);
      border: 5px solid rgba(255,204,0,.6);
      border-radius: 1rem;
      padding: 3rem 4rem;
      margin-bottom: 250px;
      & span {
        color: #000;
        font-size: 1.1rem;
        line-height: 1.25;
        font-weight: 800;
      }
    }
    & .group {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.5rem;
    }
    & .char-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      min-width: 120px;
      cursor: pointer;
      & span.char-icon {
        width: 120px;
        height: 120px;
        margin-bottom: 5px;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center center;
        &:hover {
          animation: cast-spin 0.4s ease-out;
        }
      }
      & p.char-name {
        color: var(--KoiGreen);
        font-size: clamp(.7rem, 1.8vw, .8rem);
        line-height: 1.25;
        font-weight: 800;
      }
      & p.char-actor {
        color: #000;
        font-size: clamp(1rem, 1.8vw, 1.1rem);
        line-height: 1.25;
        font-weight: 800;
        margin-top: 2px;
      }
    }
    & .main-group {
      margin-bottom: 1.5rem;
      & .char-item:nth-of-type(1) {
        & span.char-icon {
          background-image: url("../img/cast/00_cast.png");
        }
        &:hover {
          & span.char-icon {
            background-image: url("../img/cast/00_cast_hover.png");
          }
        }
      }
      & .char-item:nth-of-type(2) {
        & span.char-icon {
          background-image: url("../img/cast/01_cast.png");
        }
        &:hover {
          & span.char-icon {
            background-image: url("../img/cast/01_cast_hover.png");
          }
        }
      }
      & .char-item:nth-of-type(3) {
        & span.char-icon {
          background-image: url("../img/cast/02_cast.png");
        }
        &:hover {
          & span.char-icon {
            background-image: url("../img/cast/02_cast_hover.png");
          }
        }
      }
    }
    & .group:nth-of-type(2) {
      & .char-item:nth-of-type(1) {
        & span.char-icon {
          background-image: url("../img/cast/03_cast.png");
        }
        &:hover {
          & span.char-icon {
            background-image: url("../img/cast/03_cast_hover.png");
          }
        }
      }
      & .char-item:nth-of-type(2) {
        & span.char-icon {
          background-image: url("../img/cast/04_cast.png");
        }
        &:hover {
          & span.char-icon {
            background-image: url("../img/cast/04_cast_hover.png");
          }
        }
      }
      & .char-item:nth-of-type(3) {
        & span.char-icon {
          background-image: url("../img/cast/05_cast.png");
        }
        &:hover {
          & span.char-icon {
            background-image: url("../img/cast/05_cast_hover.png");
          }
        }
      }
      & .char-item:nth-of-type(4) {
        & span.char-icon {
          background-image: url("../img/cast/06_cast.png");
        }
        &:hover {
          & span.char-icon {
            background-image: url("../img/cast/06_cast_hover.png");
          }
        }
      }
      & .char-item:nth-of-type(5) {
        & span.char-icon {
          background-image: url("../img/cast/07_cast.png");
        }
        &:hover {
          & span.char-icon {
            background-image: url("../img/cast/07_cast_hover.png");
          }
        }
      }
      & .char-item:nth-of-type(6) {
        & span.char-icon {
          background-image: url("../img/cast/08_cast.png");
        }
        &:hover {
          & span.char-icon {
            background-image: url("../img/cast/08_cast_hover.png");
          }
        }
      }
      & .char-item:nth-of-type(7) {
        & span.char-icon {
          background-image: url("../img/cast/09_cast.png");
        }
        &:hover {
          & span.char-icon {
            background-image: url("../img/cast/09_cast_hover.png");
          }
        }
      } 
    }
    & .group:nth-of-type(3) {
      & .char-item:nth-of-type(1) {
        & span.char-icon {
          background-image: url("../img/cast/10_cast.png");
        }
        &:hover {
          & span.char-icon {
            background-image: url("../img/cast/10_cast_hover.png");
          }
        }
      }
      & .char-item:nth-of-type(2) {
        & span.char-icon {
          background-image: url("../img/cast/11_cast.png");
        }
        &:hover {
          & span.char-icon {
            background-image: url("../img/cast/11_cast_hover.png");
          }
        }
      }
      & .char-item:nth-of-type(3) {
        & span.char-icon {
          background-image: url("../img/cast/12_cast.png");
        }
        &:hover {
          & span.char-icon {
            background-image: url("../img/cast/12_cast_hover.png");
          }
        }
      }
      & .char-item:nth-of-type(4) {
        & span.char-icon {
          background-image: url("../img/cast/13_cast.png");
        }
        &:hover {
          & span.char-icon {
            background-image: url("../img/cast/13_cast_hover.png");
          }
        }
      }
      & .char-item:nth-of-type(5) {
        & span.char-icon {
          background-image: url("../img/cast/14_cast.png");
        }
        &:hover {
          & span.char-icon {
            background-image: url("../img/cast/14_cast_hover.png");
          }
        }
      }
      & .char-item:nth-of-type(6) {
        & span.char-icon {
          background-image: url("../img/cast/15_cast.png");
        }
        &:hover {
          & span.char-icon {
            background-image: url("../img/cast/15_cast_hover.png");
          }
        }
      }
      & .char-item:nth-of-type(7) {
        & span.char-icon {
          background-image: url("../img/cast/16_cast.png");
        }
        &:hover {
          & span.char-icon {
            background-image: url("../img/cast/16_cast_hover.png");
          }
        }
      } 
    }
    & .group:nth-of-type(4) {
      & .char-item:nth-of-type(1) {
        & span.char-icon {
          background-image: url("../img/cast/17_cast.png");
        }
        &:hover {
          & span.char-icon {
            background-image: url("../img/cast/17_cast_hover.png");
          }
        }
      }
    }
    & .other-item {
      margin: 1.5rem 0;
      & p.char-name {
        color: var(--emphacolor);
      }
    }
  }
}
@keyframes cast-spin {
  0% { transform: rotateY(0); }
  50% { transform: rotateY(90deg); opacity: 0.5; }
  100% { transform: rotateY(0); }
}
/* ====================================
                footer 
==================================== */
.footer {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--rightGreen);
  & .footer-wave {
    position: absolute;
    top: -50px;
    left: 0px;
    width: 100%;
    height: 50px;
    display: inline-block;
    background: url(../img/footer_kusa.png) center center / contain repeat-x;
    &::before, &::after {
      content: "";
      position: absolute;
      bottom: -75%;
      display: inline-block;
      width: 15%;
      aspect-ratio: 182 / 300;
      max-width: 182px;
      background-repeat: no-repeat;
      background-size: contain;
      background-position: center bottom;
      z-index: 100;
    }
    &::before {
      left: 40px;
      background-image: url(../img/02_bg_chara.png)
    }
    &::after {
      right: 40px;
      background-image: url(../img/03_bg_chara.png)
    }
  }
  & .footer-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem 6rem;
    padding: 2.5rem 0;
    font-size: 0;
    & .sns-section, .contact-section {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      & h2 {
        color: #fff;
        text-align: center;
        font-size: clamp(1.2rem, 1.8vw, 1.4rem);
        line-height: 1;
        font-weight: 700;
      }
      & a {
        &:hover {
          opacity: .65;
          transition: .5s;
        }
      }
    }
    & .sns-section {
      & .sns-icons {
        gap: 1.5rem;
        & a.official_link {
          width: 4rem;
          height: 4rem;
        }
      }
    }
    & .contact-section {
      & a.contact-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        height: 4rem;
        padding: 0 2rem;
        color: var(--KoiGreen);
        font-size: clamp(0.8rem, 1.8vw, 1.1rem);
        font-weight: 800;
        border-radius: 2rem;
        background: #fff;
      }
    }
  }
  & .copyright {
    color: #fff;
    text-align: center;
    font-size: clamp(.7rem, 1.8vw, .8rem);
    line-height: 1.25;
    margin-bottom: 2.5rem;
    font-weight: 600;
  }
}
/* -------------------------------------------
            レスポンシブ対応 (スマホ)
 * ------------------------------------------- */
@media (max-width: 1280px) {
  .wrapper {
    &::after {
      width: 300%;
      height: 300%;
      top: -100%;
      left: -100%;
      background-image: url('../img/yellow_bg.png');
    }
  }
  header {
    left: 10px;
    width: calc(100% - 20px);
    height: 60px;
    border: none;
    & .header-content {
      padding: 0 15px;
      & nav.top-nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        height: 100%;
        & ul {
          & li {
            height: 1.5rem;
          }
        }
        & ul.sub-content {
          display: flex;
          justify-content: start;
          gap: 0;
          & li {
            &::before, &::after {
              content: none;
            }
          }
          & li.header-menu-logo {
            height: 2rem;
            margin-right: .5rem;
          }
          & li.hamburger {
            display: inline-block;
            width: 1.3rem;
            height: 1.7rem;
            cursor: pointer;
            margin-left: auto;
            & span {
              display: block;
              height: 4px;
              width: 100%;
              background: #fff;
              border-radius: 2px;
              margin: 5px 0;
              transition: 0.4s;
            }
          }
        }
        & ul.header-menu {
          display: none;
        }
      }
    }
  }
  header:has(.sp-menu.open) {
    position: fixed;
    top: 0;
    left: .5rem;
    width: calc(100% - 1rem);
    z-index: 1000;
    border-radius: 0;
    overflow: hidden;
    & .header-content {
      width: 100%;
      height: 100%;
      & nav.top-nav {
        flex-direction: column;
        justify-content: center;
        & ul.sub-content {
          height: 2.5rem;
          & li:first-of-type {
            display: none;
          }
          & li.hamburger.active {
            margin-left: auto;
            span:first-of-type {
              transform: rotate(45deg) translate(7px, 7px);
            }
            & span:nth-of-type(2) {
              opacity: 0;
            }
            & span:last-of-type {
              transform: rotate(-45deg) translate(6px, -6px);
            }
          }
        }
        & .sp-menu {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          gap: 2rem;
          width: 100%;
          height: calc(100% - 50px);
          margin-top: auto;
          padding: 1rem 0;
          overflow: auto;
          & span.menu-logo {
            width: 100%;
            & img {
              width: 55%;
              height: auto;
            }
          }
          & ul {
            flex-direction: column;
            gap: 1rem;
            & li {
              &::before {
                content: "";
                position: absolute;
                top: 5px;
                left: -1.9rem;
                display: inline-block;
                width: 1.2rem;
                height: 1.3rem;
                background-size: contain;
                background-repeat: no-repeat;
                background-position: center center;
                background-image: url("../img/white_kira.svg");
              }
            }
          }
          & .sp-sns-btn {
            & h3 {
              color: #fff;
              font-size: 1.1rem;
              margin-bottom: .5rem;
              font-weight: 800;
            }
            & .sns-icons {
              gap: .75rem;
              & a.official_link {
                width: 3rem;
                height: 3rem;
                box-shadow: 0 3px 0 0 rgba(0,0,0, .3);
              }
            }
          }
        }
      } 
    }
  }
  .box {
    padding: 3rem 0;
    & h2 {
      height: 40px;
      margin-bottom: 1rem;
      & img {
        max-height: 40px;
      }
    }
    & article {
      width: calc(100% - 20px);
      max-width: max-content;
    }
    & .contact-button,
    & .youtube-button {
      width: calc(100% - 20px);
      & img {
        max-width: calc(100% - 20px);
        height: 100%;
        &:hover {
          transform: scale(1);
        }
      }
    }
    & a.normal-button {
      width: 50%;
      height: 3rem;
      border-radius: 1.5rem;
      &:hover {
        transform: scale(1);
      }
    }
  }
  section.kv-section {
   padding: 0 0 4.5rem;
   gap: 2.5rem;
   & .swiper-container-wrapper {
    padding-bottom: 25px;
    & .swiper {
      width: calc(100% - 20px);
    }
    & .swiper-pagination-bullet {
      width: .7rem !important;
      height: .7rem !important;
      margin: 0 .275rem !important;
    }
   }
    & .video-player-section {
      gap: 1rem;
      max-width: 100%;
    }
  }
  #about {
    padding: 6rem 0;
    & h2 {
      margin-bottom: 0;
    }
    & article {
      gap: 1rem;
      border-radius: 20px;
      padding: 3rem 1.5rem 3rem;
      &::before, &::after {
        width: 25%;
      }
      &::before {
        top: -12%;
        left: 5px;
      }
      &::after {
        bottom: -8%;
        right: 5px;
      }
    }
  }
  #movie {
    & article {
      & ul {
        gap: .5rem;
        & li {
          width: 100%;
          min-width: 100%;
          padding: 10px 10px 6px;
          &:hover {
            transform: scale(1) !important;
          }
          & p {
            font-size: .7rem;
          }
        }
      }
    }
  }
  #news {
    & article {
      & ul.news-list {
        max-width: 100%;
        gap: .5rem;
        & li {
          & .news-item {
            padding: 1rem .75rem;
            &:hover {
              transform: scale(1);
            }
            & .date-and-icon {
              gap: 0.25rem;
              .icon {
                height: 14px;
              }
            }
          }
        }
      }
    }
  }
  #chara {
    &::after {
      width: 300%;
      height: 300%;
      top: -100%;
      left: -100%;
      background-image: url('../img/yellow_bg.png');
    }
    & article {
      & .chara-grid {
        gap: 1rem;
        padding: 2rem 1rem;
        margin-bottom: 4rem;
        span {
          font-size: 1rem;
        }
      }
      & .group {
        gap: 1rem;
      }
      & .main-group {
        margin-bottom: 1.5rem;
      }
      & .char-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 100px;
        span.char-icon {
          width: 100px;
          height: 100px;
        }
        & p.char-actor {
          margin-top: 2px;
        }
      }
      & .other-item {
        margin: 1rem 0;
      }
    }
  }
  .footer {
    & .footer-wave {
      &::before, &::after {
        width: 20%;
      }
      &::before {
        left: 10px;
      }
      &::after {
        right: 10px;
      }
    }
    & .footer-content {
      width: calc(100% - 20px);
      margin: 0 auto;
      padding: 2rem 0;
      & .sns-section, .contact-section {
        gap: 1rem;
      }
      & .sns-section {
        & .sns-icons {
          gap: 1rem;
          & a.official_link {
            width: 3.5rem;
            height: 3.5rem;
          }
        }
      }
      & .contact-section {
        & a.contact-button {
          height: 3rem;
          padding: 0 1.5rem;
        }
      }
    }
    & .copyright {
      margin-bottom: 2rem;
      padding: 0 0.75rem;
    }
  }
}
@media (min-width: 481px) and (max-width: 1280px) {
  #about {
    & .text-block {
      width: 70%;
    }
  }
}
@media screen and (orientation: landscape) {
   header:has(.sp-menu.open) {
    & .header-content {
      & nav.top-nav {
        & .sp-menu {
          justify-content: start;
        }
      } 
    }
  }
}
@media (hover: hover) {
  .char-icon:hover {
    animation: cast-spin 0.4s ease-out;
  }
}
.char-icon.is-active {
  animation: cast-spin 0.4s ease-out;
}