section#slideshow {
  .swiper-container {
    --margin: 15px;
    --margin-bottom: 27px;
    height: calc(100vh - var(--global-header-height) - var(--margin-bottom));
    position: relative;
    margin: 0 var(--margin) var(--margin-bottom);
    @media (max-width: 999px) {
      --margin: 10px;
      height: auto;
      margin-bottom: 0;
    }
    .swiper-wrapper {
      overflow: hidden;
      width: 100%;
      height: 100%;
      transition-timing-function: ease-in-out !important;
      @media (max-width: 999px) {
        height: calc(100svh - var(--global-header-height) - var(--margin-bottom) - 82px);
        margin-bottom: -37px;
      }
    }

    .swiper-slide {
      position: relative;

      h5 {
        position: absolute;
        bottom: calc(var(--event-info-height) + var(--margin));
        left: 28px;
        color: #FFF;
        font-size: 16px;
        line-height: 1.8;
        letter-spacing: 1.92px;
        max-width: calc(100% - 210px);
        @media (max-width: 999px) {
          left: 14px;
          bottom: 45px;
          color: #FFF;
          font-size: 11px;
          line-height: 1.8;
          letter-spacing: 1.32px;
          max-width: calc(100% - 130px);
        }
      }
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 50% 50%;
      }
      /* SP用画像がある場合の切り替え */
      .sp {
        display: none;
      }
      @media (max-width: 999px) {
        .sp {
          display: block;
        }
        .pc {
          display: none;
        }
      }
    }
  }
}

#badge {
  z-index: 1;
  position: absolute;
  bottom: 20px;
  right: 24px;
}
html[lang="ja"] {
  section#slideshow {
    .swiper-container {
      --margin-bottom: var(--margin);
    }
  }
  #badge {
    @media (max-width: 1136px) {
      bottom: 125px;
    }
    @media (max-width: 999px) {
      width: 79px;
      height: auto;
      bottom: 147px;
      right: 15px;
    }
    @media (max-width: 506px) {
      bottom: 184px;
    }
  }
}
html[lang="en"] {
  #badge {
    @media (max-width: 1180px) {
      bottom: 90px;
    }
    @media (max-width: 999px) {
      width: 79px;
      height: auto;
      bottom: 168px;
      right: 15px;
    }
    @media (max-width: 470px) {
      bottom: 206px;
    }
  }
}

#eventInfo {
  z-index: 1;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #fff;
  @media (max-width: 999px) {
    position: relative;
    bottom: initial;
    left: initial;
    display: inline-block;
  }
  .infos {
    padding: 17px 66px 0 34px;
    display: flex;
    @media (max-width: 999px) {
      /* display: inline-flex; */
      flex-direction: column;
      padding: 23px 17px 24px 14px;
      gap: 19px;
    }
    .info {
      h5 {
        color: #808080;
        font-size: 12px;
        font-feature-settings: 'palt' off;
        @media (max-width: 999px) {
          font-size: 11px;
        }
      }
      p {
        margin-top: 11px;
        img {
          &.sp {
            display: none;
            @media (max-width: 999px) {
              display: block;
            }
          }
          &.pc {
            @media (max-width: 999px) {
              display: none;
            }
          }
        }
      }
    }
    .info:nth-child(2) {
      margin-left: 43px;
      @media (max-width: 999px) {
        margin-left: 0;
      }
    }
    .info:nth-child(3) {
      margin-left: 41px;
      @media (max-width: 999px) {
        margin-left: 0;
      }
    }
  }
}

#information {
  border-top: 1px solid #D9D9D9;
  a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 80px 44px;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 1.2px;
    line-height: 1.8;
    @media (max-width: 999px) {
      flex-direction: column;
      padding: 25px 25px 21px 25px;
    }
  }
  h3 {
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.88px;
    border: 1px solid #B2B2B2;
    border-radius: 27px;
    width: 145px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 25px;
    flex-shrink: 0;
    @media (max-width: 999px) {
      margin: 0 0 17px 0;
    }
  }
  .date {
    color: #878787;
    font-size: 13px;
    letter-spacing: 1.04px;
    margin-right: 25px;
    flex-shrink: 0;
    @media (max-width: 999px) {
      letter-spacing: 1.3px;
      margin-right: 0;
      margin-bottom: 6px;
      align-self: flex-start;
    }
  }
  .text {
    margin-right: 25px;
    @media (max-width: 999px) {
      align-self: flex-start;
      letter-spacing: 1.5px;
      margin-right: 30px;
    }
  }
  .arrow {
    margin-left: auto;
    margin-right: 20px;
    width: 18px;
    height: auto;
    align-self: center;
    @media (max-width: 999px) {
      position: absolute;
      width: 15px;
      right: 1px;
      bottom: 25px;
    }
  }
}

#introduction {
  border-top: 1px solid #D9D9D9;
  .wrap {
    padding: 90px var(--margin);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--margin);
    @media (max-width: 999px) {
      grid-template-columns: 1fr;
      padding-top: 24px;
      padding-bottom: 76px;
      gap: 8px;
    }
    .col {
      display: flex;
      align-items: center;
      @media (max-width: 999px) {
        h2 {
          padding: 47px 0;
          img {
            height: 42px;
            width: auto;
          }
        }
      }
    }
    .col.center {
      justify-content: center;
    }
    .text {
      max-width: 470px;
      width: 100%;
      h3 {
        color: #000;
        color: color(display-p3 0 0 0);
        font-size: 23px;
        line-height: 1.8;
        letter-spacing: 3.68px;
        @media (max-width: 999px) {
          font-size: 20px;
          line-height: 1.8;
          letter-spacing: 3.2px;
        }
      }
      p {
        margin-top: 47px;
        font-size: 15px;
        line-height: 2;
        letter-spacing: 1.8px;
        @media (max-width: 999px) {
          margin-top: 33px;
        }
      }
    }
  }
}
#projects {
  padding-top: 91px;
  @media (max-width: 999px) {
    padding-top: 65px;
  }
}

@media (max-width: 999px) {
  #news {
    margin-top: 32px;
  }
}

html[lang="ja"] {
  #eventInfo {
    .infos {
      padding: 22px 39px 8px 28px;
      .info {
        h5 {
          font-size: 13px;
        }
        p {
          margin-top: 17px;
        }
      }
    }
  }
}
html[lang="en"] {
  section#slideshow {
    .swiper-container {
      .swiper-slide {
        h5 {
          font-size: 16px;
          letter-spacing: 0.32px;
        }
      }
    }
  }
  #information {
    a {
      letter-spacing: 0.3px;
    }
  }
  #introduction {
    .wrap {
      .text {
        h3 {
          font-size: 23px;
          line-height: 1.8;
          letter-spacing: 0.69px;
        }

        p {
          font-size: 15px;
          line-height: 2.1;
          letter-spacing: 0.3px;
        }
      }
    }
  }
}

@media (max-width: 999px) {
  html[lang="ja"] {
    #eventInfo {
      .infos {
        padding: 17px 18px 29px 13px;
        .info {
          h5 {
            font-size: 11px;
          }
          p {
            margin-top: 15px;
          }
        }
      }
    }
  }
  html[lang="en"] {
    #eventInfo {
      .infos {
        padding-right: 10px;
      }
    }
    section#slideshow {
      .swiper-container {
        .swiper-wrapper {
          height: calc(100svh - var(--global-header-height) - var(--margin-bottom) - 126px);
        }
        .swiper-slide {
          h5 {
            font-size: 11px;
            letter-spacing: 0.22px;
          }
        }
      }
    }
    #introduction {
      .wrap {
        .text {
          h3 {
            font-size: 19px;
            line-height: 1.8;
            letter-spacing: 0.38px;
          }
          p {
            margin-top: 30px;
            font-size: 14px;
            line-height: 2.1;
            letter-spacing: 0.28px;
          }
        }
        .col {
          h2 {
            padding: 55px 0 45px;
            img {
              width: 286px;
              height: auto;
            }
          }
        }
      }
    }
    .visitListItem {
      .imageBlock {
        width: 248px;
      }
    }
  }
}
