section {
  padding: 80px 0;

  @media (max-width: 767px) {
    padding: 60px 0;
  }

  .content-width {
    max-width: var(--max-width);
    padding: 0 var(--content-gutter);
    margin: 0 auto;
  }

  .content-header {
    margin-bottom: 40px;
    h2 {
      font-size: 48px;
      font-family: var(--font-section-headline);
      font-weight: 400;

      @media (max-width: 767px) {
        font-size: 32px;
      }
    }

    span {
      @media (max-width: 767px) {
        font-size: 14px;
      }
    }
  }
}

.hero {
  background-color: #fff;
  /* background-image: radial-gradient(
    circle,
    #ecf3f0,
    #e6f1ed,
    #dfeeea,
    #d8ece8,
    #d1e9e6,
    #d1e9e6,
    #d1e9e5,
    #d1e9e5,
    #d8ece6,
    #deefe8,
    #e5f2ea,
    #ebf5ed
  ); */
  padding: 0;

  .content-width {
    display: flex;
    justify-content: center;
    padding: 0;
    flex-wrap: wrap;
  }

  .hero--board {
    /* background-image: url(../images/hero_bg.jpg); */
    /* background-position: top;
    background-size: cover;
    background-repeat: no-repeat; */
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 100px;

    @media (max-width: 767px) {
      padding-top: 0;
    }

    img {
      width: 600px;
      max-width: 100%;
      height: auto;
    }
  }
}

.schedule {
  font-size: 18px;

  .content-width {
    max-width: var(--content-max-width);
  }

  .schedule__table {
    display: flex;
    flex-direction: column;
    letter-spacing: 0.1em;

    .table__header {
      font-family: var(--font-schedule-date);
      font-weight: 600;
      @media (max-width: 767px) {
        display: none;
      }
    }

    .mobile__info {
      display: none;
      font-size: 14px;
      letter-spacing: 0.05em;

      @media (max-width: 767px) {
        display: block;
        line-height: 180%;
      }
    }

    li {
      padding: 12px 0;
      border-bottom: 1px solid #4c4c4c;
      display: flex;
      align-items: center;
    }

    li:nth-child(2) {
      @media (max-width: 767px) {
        border-top: 1px solid #4c4c4c;
      }
    }

    .schedule__date,
    .schedule__area,
    .schedule__venue,
    .schedule__start {
      min-width: 80px;
      font-weight: 600;
    }

    .schedule__date {
      width: 18%;
      text-wrap: nowrap;
      display: flex;
      align-items: center;

      @media (max-width: 767px) {
        flex-direction: column;
        padding: 0 12px;
        width: 35%;
      }

      .date {
        font-family: var(--font-schedule-date);
        font-size: 38px;
        margin-right: 12px;
      }

      .weekday {
        font-family: var(--font-schedule-date);
        @media (max-width: 767px) {
          margin-top: -6px;
        }
      }
    }

    .schedule__area {
      width: 12%;
    }

    .schedule__venue {
      width: 35%;
      a {
        color: var(--color-link);
        text-decoration: underline;
        text-underline-offset: 4px;
      }
    }

    .schedule__start {
      width: 35%;
      font-family: var(--font-schedule-date);
      /* font-weight: 100; */
    }

    .schedule__area,
    .schedule__venue,
    .schedule__start {
      @media (max-width: 767px) {
        display: none;
      }
    }
  }
}

.pr-video {
  position: relative;
  .content-width {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 0;
  }

  .video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.7) 40%,
      rgba(0, 0, 0, 0.7) 50%,
      rgba(0, 0, 0, 0.7) 60%,
      rgba(0, 0, 0, 1) 100%
    );
    z-index: 1;
    pointer-events: none;
  }

  .youtube-button {
    position: absolute;
    z-index: 2;
    color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.news {
  .content-width {
    max-width: var(--content-max-width);
  }

  .post-item {
    padding: 12px 0;
    border-bottom: 1px solid #4c4c4c;
  }

  .post-item:first-child {
    border-top: 1px solid #4c4c4c;
  }

  .post__date {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .news-item {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .news-item:nth-last-child(1) {
    opacity: 1;
    transform: translateY(0);
  }

  .viewmore {
    padding: 40px 24px 20px;
    text-align: center;
    button {
      border: 1px solid #4c4c4c;
      background-color: #4c4c4c;
      color: #ccc;
      padding: 8px 40px;
      font-size: 14px;
    }

    button:hover {
      border-color: #fff;
    }
  }
}

.outline {
  background-image: url(../images/outline.jpg);
  background-size: cover;
  position: relative;

  .content-width {
    max-width: var(--content-max-width);
  }

  .content-header {
    position: relative;
    z-index: 2;
  }

  .post-body {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); /* Safari */
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1), inset 0 0 0.5px rgba(255, 255, 255, 0.2); /* subtle inner glow */
    padding: 2.5em 2em;
    color: #fff;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;

    @media (max-width: 767px) {
      font-size: 14px;
      padding: 2em 1em;
    }
  }

  .video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.2) 40%,
      rgba(0, 0, 0, 0.1) 50%,
      rgba(0, 0, 0, 0.2) 60%,
      rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 1;
    pointer-events: none;
  }
}

.goods {
  background-color: #efefef;
  .content-width {
    max-width: var(--content-max-width);
  }
}

.movie {
  .content-width {
    max-width: var(--content-max-width);
  }

  /* leechaemin は padding-bottom: 56.25% だったが、max-width: 900px と組み合わせると
     親（1280px）基準で高さが計算され縦長になるため aspect-ratio に変更 */
  .wp-block-embed__wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
  }

  /* WordPress の埋め込みブロックが付ける縦横比用の余白は使わない */
  .wp-block-embed__wrapper::before {
    content: none;
    display: none;
  }

  .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
}

.tickets {
  .content-width {
    max-width: var(--content-max-width);
  }

  .accordion {
    .post-body {
      padding: 2.5em 2em;
      border-top: 1px solid #fff;

      @media (max-width: 767px) {
        font-size: 14px;
        padding: 2em 1em;
      }
    }
  }

  .accordion summary {
    @media (max-width: 767px) {
      font-size: 14px;
      padding: 1em 3em 1em 1em;
    }
  }

  .accordion .icon {
    @media (max-width: 767px) {
      right: 1em;
    }
  }
}

.fancybox__slide .f-button[data-fancybox-close] {
  position: absolute;
  width: 60px;
  height: 60px;
  background-color: #000;
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  top: -60px !important;
}

.fancybox__slide .f-button[data-fancybox-close]:hover {
  background-color: #000;
  opacity: 0.8;
}

.fancybox__slide .f-button[data-fancybox-close] svg {
  width: 28px;
  height: 28px;
}
