@charset "UTF-8";

main {
  width: 100%;
}

header::before {
  transform: scaleY(1);
}

/* ↓↓↓ title-box ↓↓↓ */
.title-box {
  width: 100%;
  padding-top: 17.96875vw;

  @media (max-width: 768px) {
    padding-top: 112px;
  }
}

.title-box .inner {
  width: 88.75vw;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  @media (max-width: 768px) {
    width: 100%;
    padding-inline: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .ttl-group {
    width: fit-content;

    @media (max-width: 768px) {
      width: 100%;
    }

    .subttl {
      padding-left: 2.1875vw;
      font-family: var(--cormorant);
      font-size: 1.25vw;
      font-weight: 600;
      letter-spacing: 0.1em;
      line-height: 1;
      position: relative;

      @media (max-width: 768px) {
        padding-left: 28px;
        font-size: 16px;
      }

      &::before {
        content: '';
        position: absolute;
        top: 0.234375vw;
        left: 0;
        width: 1.328125vw;
        aspect-ratio: 17 / 11;
        background: url(/assets/img/common/icon-cross.svg) no-repeat;
        background-size: contain;

        @media (max-width: 768px) {
          top: 3px;
          width: 17px;
        }
      }
    }

    .ttl {
      position: relative;
      margin-top: 0.78125vw;
      font-family: var(--mincho);
      font-size: 3.125vw;
      letter-spacing: 0.04em;
      line-height: 1.2;

      @media (max-width: 768px) {
        margin-top: 10px;
        font-size: 32px;
        line-height: 1.5;
      }

      .en {
        position: absolute;
        bottom: -1.7968749999999998vw;
        right: -22.65625vw;
        width: max-content;
        font-size: 6.875vw;
        font-family: var(--cormorant);
        font-style: italic;
        font-weight: 500;

        @media (max-width: 768px) {
          display: block;
          position: initial;
          font-size: 72px;
        }
      }
    }
  }

  .breadcrumbs {
    width: fit-content;

    @media (max-width: 768px) {
      width: calc(100% + 24px);
    }

    ul {
      display: flex;
      gap: 2.109375vw;

      @media (max-width: 768px) {
        gap: 27px;
        overflow-x: auto;
        overflow-y: clip;
        white-space: nowrap;
        padding-right: 24px;
      }

      li {
        font-size: 0.859375vw;
        letter-spacing: 0.04em;
        line-height: 1;
        position: relative;

        @media (max-width: 768px) {
          font-size: 11px;
          line-height: 1.2;
        }

        a {
          text-decoration: underline;
          transition: opacity 300ms 0s ease;

          @media (min-width: 769px) {
            &:hover {
              opacity: 0.5;
            }
          }
        }
      }

      li:not(:last-of-type) {
        &::after {
          content: '';
          position: absolute;
          top: 50%;
          left: calc(100% + 0.625vw);
          width: 0.859375vw;
          height: 1px;
          background-color: #1E1E1E;

          @media (max-width: 768px) {
            width: 11px;
            left: calc(100% + 8px);
          }
        }
      }
    }
  }
}

/* ↑↑↑ title-box ↑↑↑ */

/* ↓↓↓ contents ↓↓↓ */
.contents {
  width: 100%;
  margin-block: 9.375vw 12.5vw;

  @media (max-width: 768px) {
    margin-block: 80px 100px;
  }
}

.contents .inner {
  display: flex;
  justify-content: space-between;
  width: 88.75vw;
  margin-inline: auto;

  @media (max-width: 768px) {
    flex-direction: column;
    gap: 64px;
    width: calc(100% - 48px);
  }
}

.contents .category {
  .head {
    font-size: 1.25vw;
    font-family: var(--cormorant);
    font-weight: 600;
    letter-spacing: 0.1em;

    @media (max-width: 768px) {
      font-size: 16px;
    }
  }

  .select-wrap {
    margin-top: 2.5vw;

    @media (max-width: 768px) {
      display: flex;
      gap: 24px;
      margin-top: 24px;
    }

    .select {
      display: flex;
      align-items: center;
      gap: 0.625vw;
      cursor: pointer;
      transition: opacity 300ms 0s ease;

      @media (min-width: 769px) {
        &:hover {
          opacity: 0.5;
        }
      }

      @media (max-width: 768px) {
        gap: 8px;
      }

      + .select {
        margin-top: 1.25vw;

        @media (max-width: 768px) {
          margin-top: 0;
        }
      }

      &.-current {
        .circle {
          &::after {
            background-color: #8DC21F;
          }
        }
      }

      .circle {
        position: relative;
        width: 1.25vw;
        height: 1.25vw;
        border: 1px solid #A0A0A0;
        border-radius: 50%;
        background-color: #fff;
        box-sizing: border-box;

        @media (max-width: 768px) {
          width: 16px;
          height: 16px;
        }

        &::after {
          content: '';
          position: absolute;
          translate: -50% -50%;
          top: 50%;
          left: 50%;
          width: 0.78125vw;
          height: 0.78125vw;
          background-color: #F0F0F0;
          transition: background-color 300ms 0s ease;
          border-radius: 50%;

          @media (max-width: 768px) {
            width: 10px;
            height: 10px;
          }
        }
      }

      .select-text {
        font-size: 1.015625vw;

        @media (max-width: 768px) {
          font-size: 13px;
        }
      }
    }
  }
}

.contents .news-list {
  width: 65.78125vw;

  @media (max-width: 768px) {
    width: 100%;
  }

  ul,
  li {
    display: block;
    width: 100%;
  }

  li {
    padding-block: 2.5vw;
    border-bottom: 1px solid #A0A0A0;

    @media (max-width: 768px) {
      padding-block: 24px;
    }

    &:first-of-type {
      padding-top: 1.25vw;

      @media (max-width: 768px) {
        padding-top: 0;
      }
    }
  }

  .link {
    width: 100%;
    padding-left: 1.171875vw;
    display: flex;
    gap: 1.71875vw;
    position: relative;
    transition: opacity 300ms 0s ease;

    @media (max-width: 768px) {
      aspect-ratio: unset;
      padding-left: 0;
      height: auto;
      flex-wrap: wrap;
      gap: 8px;
    }

    &::after {
      content: '';
      position: absolute;
      top: 50%;
      right: 1.71875vw;
      translate: 0 -50%;
      width: 1.875vw;
      aspect-ratio: 24 / 8;
      background-color: #1E1E1E;
      mask-image: url(/assets/img/common/icon-submenu-arrow.svg);
      mask-repeat: no-repeat;
      mask-size: contain;
      transition: translate 300ms 0s ease;

      @media (max-width: 768px) {
        top: unset;
        bottom: 10px;
        right: 8px;
        translate: 0 0;
        width: 24px;
      }
    }

    @media (min-width: 769px) {
      &:hover {
        opacity: 0.5;

        &::after {
          translate: 8px -50%;
        }
      }
    }

    .day {
      font-size: 0.9375vw;
      font-weight: 500;
      letter-spacing: 0.04em;
      line-height: 1;
      color: #A0A0A0;
      margin-top: 5px;

      @media (max-width: 768px) {
        font-size: 12px;
      }
    }

    .category {
      width: 6.5625vw;
      height: fit-content;
      aspect-ratio: 84/24;
      border: 1px solid #1D2087;
      border-radius: 24px;
      display: grid;
      place-content: center;
      font-size: 0.9375vw;
      font-weight: 500;
      letter-spacing: 0.04em;
      line-height: 1;
      color: #1D2087;

      @media (max-width: 768px) {
        width: 84px;
        font-size: 12px;
      }
    }

    .detail {
      flex: 1;
      padding-right: 5.078125vw;
      font-size: 1.171875vw;
      line-height: 2;
      letter-spacing: 0.04em;
      margin-top: -0.3125vw;

      @media (max-width: 768px) {
        flex: unset;
        width: 100%;
        padding-right: 50px;
        font-size: 15px;
        line-height: 1.733333;
        margin-top: 0;
      }
    }
  }
}

.contents .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.125vw;
  margin-top: 3.75vw;

  @media (max-width: 768px) {
    justify-content: space-between;
    width: 326px;
    gap: 0;
    margin: 48px auto 0;
  }

  .arrow {
    position: relative;
    width: 4.53125vw;
    height: 4.53125vw;
    box-sizing: border-box;
    border: 1px solid #1E1E1E;
    transition: background-color 300ms 0s ease;
    cursor: pointer;

    @media (max-width: 768px) {
      width: 58px;
      height: 58px;
    }

    &::before {
      content: '';
      position: absolute;
      translate: -50% -50%;
      top: 50%;
      left: 50%;
      width: 1.875vw;
      aspect-ratio: 24 / 8;
      background-color: #1E1E1E;
      mask-image: url(/assets/img/common/icon-submenu-arrow.svg);
      mask-repeat: no-repeat;
      mask-size: contain;
      transition: translate 300ms 0s ease, background-color 300ms 0s ease;

      @media (max-width: 768px) {
        width: 24px;
        height: 8px;
      }
    }

    &.prev {
      &::before {
        scale: -1 1;
      }
    }

    @media (min-width: 769px) {
      &:hover {
        background-color: #000;

        &::before {
          background-color: #fff;
          translate: calc(-50% + 8px) -50%;
        }

        &.prev {
          &::before {
            translate: calc(-50% - 8px) -50%;
          }
        }
      }
    }

    &.-no {
      pointer-events: none;
      opacity: 0.3;
    }
  }

  .num-wrap {
    display: flex;
    gap: 1.25vw;

    @media (max-width: 768px) {
      gap: 16px;
    }

    .num {
      font-size: 1.5625vw;
      font-family: var(--cormorant);
      font-weight: 600;
      font-style: italic;
      letter-spacing: 0.05em;
      line-height: 1;
      transition: color 300ms ease;
      cursor: pointer;

      @media (max-width: 768px) {
        font-size: 20px;
      }

      &.-current {
        color: #8DC21F;
        border-bottom: 1px solid #8DC21F;
        pointer-events: none;
      }

      @media (min-width: 769px) {
        &:hover {
          color: #8DC21F;
        }
      }
    }

    .dot-wrap {
      display: flex;
      gap: 0.3125vw;
      width: 1.09375vw;
      height: 0.15625vw;
      margin-top: 0.703125vw;

      @media (max-width: 768px) {
        gap: 4px;
        width: 14px;
        height: 2px;
        margin-top: 9px;
      }

      .dot {
        width: 0.15625vw;
        height: 0.15625vw;
        background-color: #000;
        border-radius: 50%;

        @media (max-width: 768px) {
          width: 2px;
          height: 2px;
        }
      }
    }
  }
}

/* ↑↑↑ contents ↑↑↑ */