@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@1,100&display=swap");

main {
  color: #fff;
  background: #000817;
  overflow: hidden;
}

section {
  @media screen and (min-width: 768px) {
    .inner {
      width: 100%;
      max-width: 120rem;
      padding: 10rem 8rem;
      margin-inline: auto;
    }
  }
  @media (max-width: 767px) {
    .inner {
      width: 100%;
      max-width: 100%;
      padding: 4rem 1.6rem;
    }
  }
}
.mainvisual-section {
  .inner {
    padding: 0;
    max-width: none;
  }
  img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

.reserve-section {
  .inner {
    padding-bottom: 0;
  }
  .reserve-box {
    border-top: 1px solid #31a7da;
    border-bottom: 1px solid #31a7da;
    display: flex;
    align-items: center;
    gap: 8rem;
    justify-content: center;
    padding: 1.6rem 0;
  }
  dl {
    display: flex;
    align-items: center;
    gap: 2.4rem;
    font-size: 1.4rem;
  }
  dt {
    color: #31a7da;
    font-weight: 700;
  }
  dd {
    span {
      font-size: 1.2rem;
    }
  }
  @media screen and (max-width: 767px) {
    .reserve-box {
      flex-direction: column;
      gap: 2rem;
    }
    dl {
      flex-direction: column;
      align-items: center;
      gap: 0.24rem;
    }
    dd {
      text-align: center;
    }
  }
}

.calendar-section {
  background: linear-gradient(180deg, #000817 30%, #31a7da 60%);
  &::after {
    content: "";
    display: block;
    width: 100%;
    height: 6rem;
    background-color: #31a7da;
  }
  @media screen and (max-width: 767px) {
    background: linear-gradient(180deg, #000817 60%, #31a7da 90%);
    &::after {
      height: 2rem;
    }
  }
  .inner {
    padding-bottom: 0;
  }
  .section-title {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0rem;
    margin-bottom: 2rem;
    &::after {
      content: "";
      display: block;
      height: 6rem;
      background: linear-gradient(90deg, #000817 0%, #31a7da 80%);
      position: absolute;
      z-index: 0;
      bottom: 0;
      transform: skewX(-30deg);
      margin-inline: calc(50% - 60vw);
    }
    h2 {
      font-family: "roboto", sans-serif;
      font-size: 8rem;
      font-weight: 100;
      line-height: 1;
      font-style: italic;
      color: #31a7da;
      z-index: 1;
    }
    p {
      font-size: 1.4rem;
      z-index: 1;
    }
    @media screen and (max-width: 767px) {
      &::after {
        height: 4.5rem;
      }
      h2 {
        font-size: 12vw;
      }
    }
  }
  .item-thumb {
    padding: 3.2rem 0 1.6rem;
    position: relative;
    @media screen and (max-width: 767px) {
      padding: 2rem 0 1rem;
    }
    &::after {
      content: "";
      display: block;
      width: 100vw;
      height: 100%;
      background: rgba(0, 0, 0, 0.55);
      mix-blend-mode: multiply;
      position: absolute;
      bottom: 0;
      left: 0;
      margin-inline: calc(50% - 50vw);
    }
    .swiper-thumbs {
      overflow: hidden;
    }
    .swiper-scrollbar {
      position: relative;
      margin-top: 1.6rem;
      @media screen and (max-width: 767px) {
        margin-top: 0.8rem;
      }
      &::after {
        position: absolute;
        z-index: 10;
        top: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        margin: auto;
        border-radius: 2px;
        content: "";
        background-color: #ffffff;
      }
    }
    .swiper-scrollbar-drag {
      height: 20px;
      padding: 8px 0;
      cursor: pointer;
      background-color: #31a7da;
      background-clip: content-box;
      position: relative;
      z-index: 20;
    }
    .swiper-slide {
      background-color: #fff;
      overflow: hidden;
    }
    .swiper-slide:hover {
      img {
        transform: scale(1.1);
        transition: transform 0.3s ease-in-out;
      }
    }
    .swiper-slide-thumb-active {
      background-color: #31a7da;
      img {
        opacity: 0.6;
      }
    }
  }
  @media (min-width: 768px) {
    .item-detail {
      display: flex;
      flex-direction: row;
      gap: 4rem;
      align-items: start;
      padding: 4rem 0 0;
    }
    .image-box {
      width: 50%;
      img {
        width: 100%;
        height: auto;
        object-fit: cover;
      }
    }
  }
  .text-box {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
  }
  .item-title {
    color: #31a7da;
    font-weight: 700;
    p {
      font-size: 1.4rem;
      line-height: 1;
    }
    h3 {
      font-size: 2.4rem;
      line-height: 1.2;
      @media screen and (max-width: 767px) {
        font-size: 6.2vw;
      }
    }
  }
  .item-price {
    .disable {
      opacity: 0.5;
      text-decoration: line-through;
      dd {
        span {
          font-size: 1.4rem;
        }
      }
    }
    .sale-price {
      margin-top: 0.8rem;
      color: #d8093d;
    }
    dl {
      display: flex;
      gap: 1.6rem;
      align-items: baseline;
    }
    dt {
      font-size: 1.4rem;
      line-height: 1;
    }
    dd {
      font-size: 1.4rem;
      line-height: 1;
      span {
        font-family: "Fira Sans", sans-serif;
        font-size: 2.4rem;
        line-height: 1;
        font-style: normal;
        &::before {
          content: "¥";
          font-size: 1.2rem;
          font-weight: 700;
          line-height: 1;
        }
      }
    }
  }
  .item-description {
    p {
      font-size: 1.6rem;
      line-height: 1.6;
    }
    @media screen and (max-width: 767px) {
      p {
        font-size: 1.4rem;
      }
    }
  }
  .item-option {
    dl {
      font-size: 1.4rem;
      display: flex;
      gap: 1.6rem;
      &:not(:last-child) {
        margin-bottom: 1.4rem;
      }
      dt {
        width: 5rem;
      }
    }
    @media screen and (max-width: 767px) {
      dl {
        font-size: 1.2rem;
      }
    }
  }
  @media screen and (min-width: 768px) {
    .btn-wrapper {
      padding: 2.4rem 0 0.8rem;
    }
  }
  @media screen and (max-width: 767px) {
    .calendar-wrapper {
      display: flex;
      flex-direction: column;
      gap: 0rem;
    }
    .item-detail {
      display: contents;
    }
    .image-box {
      order: 1;
    }
    .text-box {
      order: 3;
      .btn-wrapper {
        order: 3;
        padding: 2rem 0;
      }
      .item-option {
        order: 4;
        margin-bottom: 2rem;
      }
    }
    .item-thumb {
      order: 2;
      margin-bottom: 4rem;
      &::after {
        opacity: 0.5;
        background: #31a7da;
        mix-blend-mode: normal;
      }
    }
  }
}

#wallType.calendar-section {
  &::after {
    content: "";
    display: block;
    width: 100%;
    height: 6rem;
    background: #000817;
    clip-path: polygon(100% 0, 0 102%, 100% 102%);
  }
  @media screen and (max-width: 767px) {
    &::after {
      height: 3rem;
    }
  }
}

.notice-section {
  background: #ffffff;
  .inner {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .notice-box {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    margin-bottom: 3.2rem;
    @media screen and (min-width: 768px) {
      padding: 0 8rem;
    }
  }
  .notice-title {
    text-align: center;
    background: linear-gradient(90deg, #fff 0%, #32a7da 40%, #32a7da 60%, #fff 100%);
    font-size: 1.6rem;
    line-height: 1.5;
    padding: 0.4rem 0;
  }
  .list {
    color: #333c46;
    border-bottom: 1px solid #32a7da;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 1.6rem;
    li {
      list-style: none;
      padding-left: 1.4rem;
      text-indent: -1.8rem;
    }
    li::before {
      content: "※";
      margin-right: 0.4rem;
    }
  }
  .logo-footballtogether {
    width: 32rem;
    margin-inline: auto;
    aspect-ratio: 260/27;
    @media screen and (max-width: 767px) {
      max-width: 70%;
    }
    img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }
  }
}

main .btn01 {
  background-color: #fff;
  color: #31a7da;
  border-color: #31a7da;
  .btnarrow {
    border-color: #31a7da;
  }
  &:hover {
    .btnarrow {
      border-color: rgb(51, 60, 70);
    }
  }
}

/* アニメーション用 */
[data-animation="slide-up"] {
  opacity: 0;
  transform: translateY(4rem);
  transition:
    opacity 0.5s ease-in-out,
    transform 0.5s ease-in-out;
  &.is-animated {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-animation="reserve-animation"] {
  position: relative;
  &::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: #31a7da;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 1;
    transition:
      opacity 0.8s ease-in-out,
      height 0.8s ease-in-out;
  }
  &.is-animated {
    &::before {
      opacity: 0;
      height: 0;
    }
  }
}

[data-animation="title-animation"] {
  h2 {
    opacity: 0;
    transform: translateX(-10rem);
    transition:
      opacity 0.5s ease-in-out,
      transform 0.5s ease-in-out;
  }
  p {
    opacity: 0;
    transform: translateY(-4rem);
    transition:
      opacity 0.5s ease-in-out 0.5s,
      transform 0.5s ease-in-out 0.5s;
  }
  &::after {
    width: 0;
    left: 60%;
    transition: width 0.8s ease-in 0.8s;
  }
  &.is-animated {
    h2 {
      opacity: 1;
      transform: translateX(0);
    }
    p {
      opacity: 1;
      transform: translateY(0);
    }
    &::after {
      width: 100vw;
    }
  }
}

@media screen and (min-width: 768px) {
  #desktopType.calendar-section {
    .section-title {
      align-items: end;
      &::after {
        background: linear-gradient(90deg, #31a7da 20%, #000817 100%);
      }
    }
    .item-detail {
      flex-direction: row-reverse;
    }
    [data-animation="title-animation"] {
      h2 {
        opacity: 0;
        transform: translateX(10rem);
        transition:
          opacity 0.5s ease-in-out,
          transform 0.5s ease-in-out;
      }
      p {
        opacity: 0;
        transform: translateY(-4rem);
        transition:
          opacity 0.5s ease-in-out 0.5s,
          transform 0.5s ease-in-out 0.5s;
      }
      &::after {
        width: 0;
        right: 60%;
        left: auto;
        transition: width 0.8s ease-in 0.8s;
      }
      &.is-animated {
        h2 {
          opacity: 1;
          transform: translateX(0);
        }
        p {
          opacity: 1;
          transform: translateY(0);
        }
        &::after {
          width: 100vw;
        }
      }
    }
  }
}
