@charset "UTF-8";

.main {
  &.type2 {
    --h: 100dvh;
    .scrolled & {
      .gnb {
        background-color: var(--white);
        --gnb-bg: color-mix(in srgb, var(--white) 70%, transparent);
        & .menu {
          color: var(--gray-dark);
          & .logo {
            & img {
              &.logo-ori {
                display: block;
              }
              &.logo-w {
                display: none;
              }
            }
          }
        }
      }
    }
    .contents {
      z-index: 1;
      background-color: var(--white);
      .detail {
        padding-bottom: 0;
        gap: 0;
      }
    }
    .visual {
      position: sticky;
      width: 100%;
      height: var(--h);
      z-index: 0;
      &::before {
        content: '';
        display: block;
        position: absolute;
        width: 100%;
        height: 20vh;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
        z-index: 1;
      }
      .text {
        .gradient-text {
          filter: brightness(1.2);
        }
        h2 {
          letter-spacing: -1px;
        }
      }
    }
    .set {
      --gap: 2.5em;
      gap: var(--gap);
      min-height: 0;
      width: 100%;
      max-width: var(--width);
      margin: auto;
      display: flex;
      flex-wrap: wrap;
      align-content: center;
      .popupzone_box,
      .right-bottom {
        max-height: 400px;
      }

      .links {
        width: 100%;
        margin-top: 0;
      }
      .second {
        max-height: calc(50% - var(--gap) / 2);
        display: flex;
        width: 100%;
        gap: var(--gap);
      }
      .right-bottom {
        flex-grow: 1;
        flex-direction: column;
        display: flex;
        gap: 0;
        overflow: visible;
        align-items: center;
        align-content: baseline;
        position: relative;
        min-width: 0;
        .title-area {
          display: flex;
          justify-content: space-between;
          width: 100%;
          align-items: center;
          margin-bottom: 10px;
          .sns {
            position: static;
            display: flex;
            flex-direction: row;
            gap: 10px;
            top: 20px;
            right: 10px;
            padding: 0;
            z-index: 10;
            li {
              a {
                width: 40px;
                height: 40px;
              }
              &:hover {
                animation: pulse 0.2s ease-in-out;
              }
            }
          }
          .title {
            flex-grow: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: left;
            width: 100%;
            height: fit-content;

            h3 {
              font-size: 1.4em;
            }
            h4 {
              font-size: 1em;
            }
          }
          .more {
            color: var(--gray-light);
            font-size: 2em;
            transition: color 0.3s;
            &:hover {
              color: var(--main);
            }
            span {
              display: block;
            }
          }
        }

        .list.horizon.single {
          width: 100%;
          &::before {
            display: none;
          }
          li {
            border: 0;
            &::before {
              left: 5px;
            }
            .infos {
              .info {
                padding-right: 0;
              }
              p {
                font-size: 15px;
                text-align: left;
              }
              .date {
                font-size: 12px;
              }
            }
            justify-content: flex-start;
          }
          display: flex;
          flex-direction: column;
          gap: 10px;
          flex-grow: 1;
          justify-content: flex-start;
          > li {
            flex-grow: 1;
            max-height: 90px;
            background: color-mix(in srgb, #ffffff 92%, rgba(255, 255, 255, 0));
            border-radius: 14px;
            padding: 0 16px;
            box-shadow: 0 10px 18px rgba(0, 0, 0, 0.05);
            transition:
              transform 0.2s ease,
              box-shadow 0.2s ease,
              background-color 0.2s ease;
            cursor: pointer;
            .category {
              font-weight: 700;
              color: var(--main);
              font-size: 0.9rem;
            }
            .title {
              font-weight: 400;
              margin: 4px 0;
              color: #1c1c1c;
            }
            .date {
              color: #6b7a90;
              font-size: 0.9rem;
            }
            &:hover {
              transform: translateY(-3px);
              box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
              background: #ffffff;
            }
          }
        }
      }
      .popupzone_box {
        position: relative;
        border-radius: 18px;
        max-width: 60%;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
        background: #f9fbff;

        flex-shrink: 1;
        .control {
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          right: -19px;
          z-index: 12;
          width: calc(100% + 38px);

          ul {
            display: flex;
            justify-content: space-between;
            gap: 8px;
            margin: 0;
            padding: 0;
            list-style: none;
          }
          li {
            &.is-paused {
              .is-pause {
                display: none;
              }
              .is-play {
                display: inline-flex;
              }
            }
            button {
              display: inline-flex;
              align-items: center;
              justify-content: center;
              width: 38px;
              height: 38px;
              border: none;
              border-radius: 50%;
              background: rgba(255, 255, 255, 0.6);
              backdrop-filter: blur(10px);
              box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
              cursor: pointer;
              transition:
                background-color 0.2s ease,
                transform 0.2s ease;
              color: #1c1c1c;
              .material-symbols-sharp {
                font-size: 1.4em;
                &.is-play {
                  display: none;
                }
              }
              .text {
                font-size: 0;
              }
              &:hover {
                background: rgba(255, 255, 255, 0.95);
                transform: translateY(-1px);
              }
              &:active {
                transform: translateY(0);
              }
            }
          }
        }
        .pzone-bar {
          display: flex;
          flex-direction: column;
          align-items: center;
          gap: 14px;
          padding: 10px;
          position: absolute;
          bottom: 0;
          z-index: 2;
          width: fit-content;
          height: 100%;
          right: 0;
          .pagination.progress {
            width: auto;
            height: 1px;
            background: #e9eef6;
            border-radius: 999px;
            overflow: hidden;
            position: static;
            flex-grow: 1;
            opacity: 0;
          }
          .counter {
            font-weight: 700;
            color: var(--main-color);
            font-size: 12px;
            padding: 5px;
            .current {
              color: var(--main-color);
              margin-right: 2px;
            }
            .total {
              color: var(--gray-dark);
            }
          }
          .controls {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            gap: 8px;

            li {
              .is-pause {
                display: inline-block;
              }
              .is-play {
                display: none;
              }
              &.is-paused {
                .is-pause {
                  display: none;
                }
                .is-play {
                  display: inline-flex;
                }
              }
              button {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 36px;
                height: 36px;
                border: none;
                border-radius: 10em;
                background: transparent;
                color: #0d2a4b;

                cursor: pointer;
                background: rgba(255, 255, 255, 0.6);
                backdrop-filter: blur(10px);
                box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
                transition:
                  background-color 0.2s ease,
                  transform 0.2s ease,
                  box-shadow 0.2s ease;
                .material-symbols-sharp {
                  font-size: 1.4em;
                }
                .text {
                  font-size: 0;
                  display: none;
                }
                &:hover {
                  background: #d8e8ff;
                  transform: translateY(-1px);
                  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.07);
                }
                &:active {
                  transform: translateY(0);
                }
              }
            }
          }
        }
        .popupzone {
          width: 100%;
          height: 100%;
          aspect-ratio: 1.6/1;
          border-radius: inherit;
          overflow: hidden;
          .swiper-wrapper,
          .swiper-slide {
            height: 100%;
          }
          .swiper-wrapper {
            align-items: stretch;
          }
          .swiper-slide {
            display: flex;
            a {
              display: block;
              width: 100%;
              height: 100%;
            }
            img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              object-position: left top;
              display: block;
            }
          }
        }
      }
    }
    .sect.end {
      margin-top: 60px;
      width: 100%;
      max-width: 100%;
      padding: 40px 0;
      border-top: 1px solid var(--gray-border);
      > div {
        width: 100%;
        margin: auto;
        max-width: var(--width);
      }
      .head {
        margin: 0;
        padding: 0;
        gap: 4px;
        display: flex;
        flex-direction: column;
        h3 {
          margin: 0;
          padding: 0;
        }
      }
      .right {
        dl {
          display: flex;
          flex-wrap: wrap;
          align-items: center;
          gap: 6px;
          h4 {
            width: 100%;
          }
          .info-item {
            display: flex;
            gap: 8px;
          }
          dt {
            border-radius: 5em;
            border: 0;
            background-color: var(--main);
            color: #fff;
            font-size: 12px;
            padding: 5px 12px;
          }
          dd {
            margin-right: 20px;
            font-size: 1.1em;
          }
        }
      }
      .ext {
        color: var(--gray-mid);
        margin-top: 0.5em;
      }
      /* @media (max-width: 812px) {
        .right {
          dl {
            row-gap: 10px;
            dd {
              min-width: 60px;
            }
          }
        }
      } */
    }
    .footer {
      background-color: var(--white);
      z-index: 2;
    }
    .flex {
      display: flex;
      &.column {
        flex-direction: column;
      }
    }
    .notification {
      li {
        user-select: none;
        cursor: pointer;
        .icon {
          width: 50%;
          background: no-repeat center/cover;
        }
      }
    }
    .main-banner {
      border-radius: 12px;
      .swiper-wrapper {
        display: flex;
        .swiper-slide {
          height: 460px;
        }
      }
    }

    .swiper-wrapper {
      .swiper-slide {
        height: 460px;
        background: no-repeat center/cover;
        overflow: hidden;

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          object-position: 0%;

          &.mobile {
            display: none;
          }
        }
      }
    }
    .swiper-prev {
      left: -70px;
      &.swiper-button-disabled {
        opacity: 0.2;
      }
    }
    .swiper-next {
      right: -70px;
    }
    .swiper-prev,
    .swiper-next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 20;
      font-size: 4em;
      cursor: pointer;
      user-select: none;

      span {
        font-variation-settings:
          'FILL' 0,
          'wght' 100,
          'GRAD' 0;
      }
    }

    .contents {
      .detail {
        flex-direction: column;
        gap: 30px;
        padding-top: 60px;
      }
    }
    .sect {
      position: relative;
      max-width: var(--width);
      &.banner {
        position: relative;
        padding: 0;
      }
      &.full {
        width: 100%;
      }

      .head {
        .title {
          flex-grow: 1;
        }
        h2 {
          font-size: 1.9em;
        }
        h3 + h2 {
          margin-top: 5px;
        }
        h2 + p {
          margin-top: 5px;
        }
        p {
          line-height: 1.4;
        }
      }

      h3 {
        color: #000;
      }
    }
    .list {
      display: flex;
      flex-direction: column;
      flex-wrap: wrap;
      li {
        display: flex;
        gap: 20px;
        position: relative;

        .thumb {
          position: relative;
          border-radius: 12px;
          padding-top: 100%;
          flex-shrink: 0;

          &::before {
            content: '';
            width: 100%;
            height: 100%;
            position: absolute;
            z-index: 2;
            border-radius: 12px;
            border: 1px solid rgba(0, 0, 0, 0.1);
            left: 0;
            top: 0;
            display: block;
            mix-blend-mode: multiply;
            box-sizing: border-box;
          }

          img {
            object-fit: cover;
            width: 100%;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
            z-index: 1;
            border-radius: 12px;
          }
        }

        .infos {
          display: flex;
          flex-grow: 1;

          dl {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            font-size: 14px;

            dt {
              font-weight: bold;
              width: 20%;
            }
            dd {
              color: var(--gray-mid);
              width: calc(80% - 5px);
            }
          }
        }
      }

      &.poster li .thumb {
        padding-top: 100%;
      }

      &.vertical {
        flex-direction: row;
        gap: 12px;

        li {
          flex-direction: column;
          width: calc(100% / 5 - 10px);

          .button {
            width: fit-content;
            font-weight: bold;
            padding: 12px 0;
            border-bottom: 2px solid var(--gray-dark);
            transition: 0.3s;

            &:hover {
              color: var(--main-color);
              border-color: var(--main-color);
            }
          }
        }

        li:first-child:nth-last-of-type(5),
        li:first-child:nth-last-of-type(5) ~ li {
          width: calc(100% / 5 - 10px);
        }

        li:first-child:nth-last-of-type(2),
        li:first-child:nth-last-of-type(2) ~ li {
          width: calc(100% / 2 - 10px);
        }

        li:first-child:nth-last-of-type(2),
        li:first-child:nth-last-of-type(2) ~ li {
          .thumb {
            aspect-ratio: 16/9;
            object-fit: cover;
            padding: 0;
            overflow: hidden;
            width: auto;

            img {
              position: static;
            }
          }

          .infos .info {
            h3 {
              font-size: 1.4em;
            }
            .date {
              font-size: 1.1em;
              color: var(--main-color);
            }
          }
        }
      }

      &.single {
        &::before {
          display: none;
        }
        li {
          flex-direction: row;
          &:not(:has(.thumb)) li {
            padding-left: 15px;
          }
          .infos {
            display: flex;
            flex-direction: row;
            flex-grow: 1;
            align-items: center;
            padding: 10px 0;

            h3 {
              flex-grow: 1;
              font-weight: normal;
              font-size: 1.1em;
              line-height: 1.4;
              word-break: keep-all;
              display: -webkit-box;
              -webkit-line-clamp: 2;
              -webkit-box-orient: vertical;
              overflow: hidden;
              max-height: 2.8em;
            }

            .date {
              color: var(--gray-light);
              font-size: 0.85em;
              flex-shrink: 0;
            }
          }
        }
      }
    }
  }
  .all-place {
    display: flex;
    flex-direction: column;
    padding: var(--top-h) 2em 2em 2em;
    height: 100%;
    gap: 1em;

    .place {
      position: relative;
      flex-grow: 1;
      border-radius: 1em;
      overflow: hidden;
      background: no-repeat left center/100% auto;
      transition: background 1s;
      padding: 2.5em;
      .text {
        padding: 2em 3em;
        align-items: flex-start;
        justify-content: center;
        gap: 8px;
        background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.1) 100%);
        .gradient-text {
          --main-gra: var(--main-gra-rev);
        }
        h2 {
          filter: brightness(1.3);
          font-size: 2.4em;
          line-height: 1.1;
        }
        p {
          font-size: 1em;
        }
      }
      .links {
        margin-top: 12px;
        gap: 20px;
        row-gap: 10px;
        flex-wrap: wrap;
        align-items: flex-end;
        flex-grow: 1;
        .btn {
          width: auto;
          height: 44px;
          padding: 0 14px;
          border-radius: 999px;
          flex-direction: row;
          aspect-ratio: auto;
          gap: 5px;
          background-color: transparent;
          padding: 0;
          min-width: auto;
          border: 0;
          /* border-bottom: 2px solid #fff; */
          border-radius: 0;
          height: auto;
          backdrop-filter: initial;
          opacity: 1;
          font-size: 1.1em;
          transition: color 0.3s;
          &:hover {
            color: var(--main-light);
            background-color: transparent;
            animation: none;
          }
          .ms-icon {
            font-size: 1.2em;
            font-weight: 400;
            line-height: 1;
          }
        }
      }
    }
    @media (min-width: 813px) {
      width: var(--width);
      padding-left: 0;
      padding-right: 0;
      margin: 0 auto;
      .place {
        &:hover {
          background-position: left center;
          background-size: 110% auto;
        }
      }
    }
    @media (max-width: 812px) {
      padding: 0 20px 0px;
      .place {
        .text {
          padding: 20px;
          justify-content: center;
          align-items: center;
          background: rgba(0, 0, 0, 0.6);
        }
        background-size: cover;
        &:hover {
          background-position: left center;
          background-size: 110% auto;
        }
        .links {
          justify-content: center;
        }
      }
    }
  }
  &:has(.all-place) {
    .scroll-btn {
      bottom: 0;
      z-index: 20;
      text-align: right;
      opacity: 0;
      visibility: hidden;
      animation: scroll-btn-once 2s ease-out forwards;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;

      a {
        color: var(--gray-dark);
        aspect-ratio: 1/1;
        border-radius: 10em;
        width: 100px;
        background-color: rgba(0, 0, 0, 0.8);
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: scale(1.5);
        gap: 0;
        p {
          color: #fff;
        }
      }
    }
    .visual::after {
      display: none;
    }
  }
  .facilities {
    .swiper-wrapper li {
      height: 500px;
    }
  }

  .sect {
    .flex {
      .table {
        border: 1px solid var(--gray-border);
        border-radius: 8px;
        overflow: hidden;

        & + .table {
          margin-top: 30px;
        }
      }

      table {
        border-collapse: collapse;
        border-spacing: 0;
        width: 100%;

        th,
        td {
          border-right: 1px solid var(--gray-border);
          border-bottom: 1px solid var(--gray-border);
          padding: 15px 12px;
          font-size: 0.8em;
        }
        th {
          background-color: var(--gray-pale);
        }
        td {
          color: var(--gray-mid);
        }
        thead th:last-child,
        tbody td:last-child {
          border-right: 0;
        }
        tbody {
          th {
            text-align: left;

            &:first-child {
              width: 10%;
              white-space: nowrap;
            }
          }

          th.center,
          td.center {
            text-align: center;
          }

          tr:last-child {
            td,
            th {
              border-bottom: 0;
            }
          }
        }
      }

      > div {
        width: 50%;
        flex-shrink: 0;
        flex-direction: column;
        align-items: flex-start;
        flex-grow: 1;

        &.banner-area {
          width: auto;
          max-width: 360px;
          flex-grow: 0;
          word-break: keep-all;
        }

        & + div {
          padding-left: 50px;
        }

        &.flex {
          flex-direction: row;
          overflow: hidden;

          > div {
            width: auto;
            flex-shrink: 1;
          }

          .img {
            object-fit: cover;
            border-radius: 8px;
            overflow: hidden;
            position: relative;
            padding-top: 35%;
            flex-grow: 1;
            padding-left: 0;
            margin-left: 50px;
            width: 30%;

            img {
              width: 100%;
              height: 100%;
              border-radius: 8px;
              position: absolute;
              object-fit: cover;
              top: 0;
            }
          }
        }
      }

      &.column {
        > div {
          width: 100%;

          & + div {
            padding-left: 0;
          }
        }

        .head h2 {
          margin-bottom: 10px;
          color: #000;

          &:only-child {
            margin-bottom: 0;
          }
        }

        .ul li {
          font-size: 1em;
        }
      }
    }

    &.full {
      .flex {
        width: var(--width);
        margin: auto;

        &.column {
          width: initial;
        }
      }
    }

    .banner.list.vertical {
      width: auto;
      flex-grow: 0;
      max-width: 420px;
      flex-direction: column;

      li {
        width: 100%;

        .infos {
          flex-direction: column;
        }

        .thumb {
          border-radius: 12px;
          overflow: hidden;
        }

        img {
          max-width: 100%;
        }
      }
    }

    .cont_in {
      color: inherit;
    }
  }
  ul.ul {
    display: flex;
    flex-direction: column;
    gap: 8px;

    h2 + & {
      margin-top: 20px;
    }

    li {
      display: flex;
      gap: 5px;
      color: var(--gray-mid);
      font-size: 0.9em;
      word-break: keep-all;
      line-height: 1.4;
    }

    > li::before {
      content: '•';
      opacity: 0.5;
    }

    ol {
      padding-left: 20px;
      width: 100%;
      display: flex;
      gap: 5px;
      flex-direction: column;
    }
  }

  .border-top {
    border-top: 1px solid var(--gray-border);
  }
  .pt-0 {
    padding-top: 0;
  }
  .main-color {
    color: var(--main-color) !important;
  }
  .red {
    color: var(--red) !important;
  }
  p {
    &.ext {
      margin-top: 10px;
    }
  }
}

@keyframes scroll-btn-once {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
  }
  15% {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  75% {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
  }
}

@media (max-width: 812px) {
  .main {
    &.type2 {
      .contents {
        .detail {
          padding-top: 30px;
        }
      }
      .sect {
        padding: 20px;

        .head {
          margin-bottom: 20px;

          h2 {
            font-size: 1.5em;

            + p {
              margin-top: 6px;
              font-size: 0.9em;
            }
          }

          p {
            font-size: 0.9em;
          }
        }

        .flex {
          flex-direction: column;
          gap: 20px;

          .head h2 {
            margin-bottom: 10px;
          }

          .table {
            overflow-x: auto;
          }

          > div {
            width: 100%;

            + div {
              padding-left: 0;
            }

            &.flex {
              flex-direction: column;
              gap: 20px;
              padding: 0;

              > div {
                width: auto;
                flex-shrink: 1;
                width: 100%;
              }

              .img {
                width: 100%;
                margin-left: 0;
                padding-top: 60%;
              }
            }
          }
        }

        &.full {
          padding: 0;

          .flex {
            flex-direction: column;
            padding: 30px 20px;

            > div {
              width: initial;
            }
          }
        }

        &.banner {
          margin: 0 20px;
        }
      }

      .table {
        table {
          tbody {
            th:first-child {
              width: auto;
            }
          }
        }
      }

      .footer-v2 {
        padding: 30px 20px;
        font-size: 0.85em;
        word-break: keep-all;
      }

      .main-banner {
        .swiper-wrapper {
          .swiper-slide {
            background-position: left bottom;
            height: calc(100vw - 40px);
          }
        }
      }

      .swiper-wrapper {
        li {
          .infos {
            padding: 0 50px;
            word-break: keep-all;
            font-size: 0.9em;

            br {
              display: none;
            }
          }
        }

        .swiper-slide {
          img {
            &.mobile {
              display: block;
            }

            &.pc {
              display: none;
            }
          }
        }
      }

      .list {
        &.horizon {
          &.single li {
            width: 100%;

            .infos {
              padding: 15px 0;
              .date {
                display: none;
              }

              h3 {
                font-size: 1em;
              }
            }
          }
        }

        &.vertical {
          gap: 10px;
          row-gap: 30px;

          li {
            &:first-child:nth-last-of-type(5),
            &:first-child:nth-last-of-type(5) ~ li {
              width: calc(50% - 5px);
            }

            &:nth-child(5) {
              display: none;
            }
          }
        }

        li {
          .infos dl {
            dd,
            dt {
              font-size: 13px;
            }
          }
        }
      }
      .visual {
        min-height: 60vh;
        padding-top: var(--top-h);
      }
      .set {
        padding: 0 var(--padding);
        max-height: auto;
        .right-bottom {
          max-height: initial;
        }
        .popupzone_box {
          aspect-ratio: initial;
          max-width: 100%;
        }
        .second {
          flex-direction: column;
        }
      }
      .contents {
        overflow-x: hidden;
      }
      .sect.end {
        padding: var(--padding);
        margin-top: 30px;
      }
    }
  }
}
