@charset "UTF-8";

main {
  width: 100%;
}

header::before {
  transform: scaleY(1);
}

/* ↓↓↓ breadcrumbs ↓↓↓ */

.breadcrumbs {
  width: fit-content;
  margin-top: 10.46875vw;
  margin-left: auto;
  padding-right: 5.625vw;

  @media (max-width: 768px) {
    width: calc(100% + 24px);
    margin-top: 100px;
    padding-left: 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);
        }
      }
    }
  }
}

/* ↑↑↑ breadcrumbs ↑↑↑ */

/* ↓↓↓ title-box ↓↓↓ */
.title-box {
  width: 100%;
  margin-top: 80px;

  @media (max-width: 768px) {
    margin-top: 48px;
  }
}

.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: 100%;
    padding-bottom: 3.125vw;
    border-bottom: 1px solid #A0A0A0;

    .meta {
      display: flex;
      align-items: center;
      gap: 0.9375vw;

      @media (max-width: 768px) {
        gap: 12px;
      }

      .day {
        padding-left: 2.1875vw;
        font-size: 1.09375vw;
        font-weight: 500;
        letter-spacing: 0.04em;
        line-height: 1;
        color: #A0A0A0;
        position: relative;

        @media (max-width: 768px) {
          padding-left: 28px;
          font-size: 14px;
        }

        &::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;
          }
        }
      }

      .category {
        width: 6.5625vw;
        aspect-ratio: 84/24;
        display: grid;
        place-content: center;
        font-size: 0.9375vw;
        font-weight: 500;
        letter-spacing: 0.04em;
        line-height: 1;
        color: #1D2087;
        border: 1px solid #1D2087;
        border-radius: 1.875vw;

        @media (max-width: 768px) {
          width: 84px;
          font-size: 12px;
          border-radius: 24px;
        }
      }
    }

    .ttl {
      position: relative;
      margin-top: 1.25vw;
      font-family: var(--mincho);
      font-size: 2.5vw;
      letter-spacing: 0.04em;
      line-height: 1.5;

      @media (max-width: 768px) {
        margin-top: 16px;
        font-size: 24px;
      }

      .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;
        }
      }
    }
  }

}

/* ↑↑↑ title-box ↑↑↑ */

/* ↓↓↓ contents ↓↓↓ */
.contents {
  width: 100%;
  margin-block: 5.625vw 12.5vw;

  @media (max-width: 768px) {
    margin-block: 64px 100px;
  }
}

.contents .inner {
  width: 73.4375vw;
  margin-inline: auto;

  @media (max-width: 768px) {
    width: calc(100% - 48px);
  }

  .article-text {
    font-size: 1.171875vw;
    letter-spacing: 0.04em;
    line-height: 2;
    text-align: justify;
    word-break: break-all;

    @media (max-width: 768px) {
      font-size: 15px;
    }

    b {
      font-weight: 600;
    }

    &.-blue {
      color: #1D2087;
    }
  }

  .article-image {
    display: block;
    width: 100%;
    margin-inline: auto;
  }

  .article-list {
    width: 100%;

    .article-list-caption {
      font-size: 1.171875vw;
      font-weight: 600;
      letter-spacing: 0.04em;
      line-height: 2;

      @media (max-width: 768px) {
        font-size: 15px;
      }
    }

    .article-list-items {
      display: block;
      width: 100%;
      margin-top: 0.9375vw;

      @media (max-width: 768px) {
        margin-top: 12px;
      }

      .item {
        padding-left: 1.171875vw;
        font-size: 1.171875vw;
        letter-spacing: 0.04em;
        line-height: 2;
        position: relative;

        @media (max-width: 768px) {
          padding-left: 15px;
          font-size: 15px;
        }

        &::before {
          content: '・';
          position: absolute;
          top: 0;
          left: 0;
        }

        + .item {
          margin-top: 0;

          @media (max-width: 768px) {
            margin-top: 0.4em;
          }
        }

        &.mt {
          margin-top: 1.09375vw;

          @media (max-width: 768px) {
            margin-top: 10px;
          }
        }
      }
    }
  }

  > * + * {
    margin-top: 2.96875vw;

    @media (max-width: 768px) {
      margin-top: 28px;
    }
  }

  a {
    color: #8DC21F;
    text-decoration: underline;
    transition: opacity 300ms 0s ease;

    @media (min-width: 769px) {
      &:hover {
        opacity: 0.5;
      }
    }
  }
}

.back-btn {
  width: 27.5vw;
  aspect-ratio: 352/56;
  margin: 6.25vw auto 0;
  border: 1px solid #1E1E1E;
  display: grid;
  place-content: center;
  font-family: var(--mincho);
  font-size: 1.25vw;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  position: relative;
  transition: background-color 300ms 0s ease, color 300ms 0s ease;

  @media (max-width: 768px) {
    width: 326px;
    aspect-ratio: 326/56;
    margin-top: 64px;
    font-size: 16px;
  }

  &::before {
    content: '';
    content: '';
    position: absolute;
    top: 50%;
    left: 1.875vw;
    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;
    rotate: 180deg;
    transition: translate 300ms 0s ease, background-color 300ms 0s ease;

    @media (max-width: 768px) {
      left: 16px;
      width: 24px;
    }
  }

  @media (min-width: 769px) {
    &:hover {
      background-color: #1E1E1E;
      color: #fff;

      &::before {
        translate: -0.625vw -50%;
        background-color: #fff;
      }
    }
  }
}

/* ↑↑↑ contents ↑↑↑ */