@charset "UTF-8";

/*====================================
 * Culture Page Stylesheet (BEM Refactored)
 * =====================================*/

/*------------------------------------
 * 共通レイアウト & コンテナ
 ------------------------------------*/
.breadcrumbs {
  & .breadcrumbs__list {
    & .breadcrumbs__item {
      color: #FFF;
    }
  }
}

.container {
  background: linear-gradient(270deg, #A8D8F6 0%, #6FBEF0 25.48%, #5CB6EE 45.67%, #6FBEF0 60.1%, #A8D8F6 100%);
}

.culture__wrap {
  background-image: linear-gradient(270deg, #A8D8F6 0%, #6FBEF0 25.48%, #5CB6EE 45.67%, #6FBEF0 60.1%, #A8D8F6 100%);
}
@media screen and (min-width: 1024px) {
  .culture__wrap {
    background-image: url(../images/culture/bg_culture.webp),
    linear-gradient(270deg, #A8D8F6 0%, #6FBEF0 25.48%, #5CB6EE 45.67%, #6FBEF0 60.1%, #A8D8F6 100%);
    background-repeat: repeat, repeat;
    background-size: 100%, auto;
    background-position: center 300px, center top;
  }
}

.culture {
  & .culture__contents {
    /* contents container */
    padding: 24px 0 0 0;

    @media screen and (min-width: 1024px) {
      display: grid;
      grid-template-columns: 350px 1fr;
      max-width: 1280px;
      margin-inline: auto;
      padding: 72px 0 0 0;
    }

    /* @media screen and (min-width: 1281px) {
      max-width: 1280px;
      padding: 72px 0 0 0;
    } */

    & .page-nav {
      display: none;

      @media screen and (min-width: 1024px) {
        display: block;
        padding-bottom: 72px;

        & nav {
          position: sticky;
          top: 100px;
        }
      }
    }
  }
}

/* .culture__contents-wrap {
  max-width: 1280px;
  margin-inline: auto;
} */


/*------------------------------------
 * カルチャー
 ------------------------------------*/
.culture__section {
  & .culture__card-list {
    position: relative;
    display: grid;
    gap: 16px 0;
    padding-bottom: 40px;
    margin-bottom: 40px;

    &::after {
      position: absolute;
      content: "";
      display: block;
      width: 250px;
      height: 2px;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%);
      background: #8CD3FF;
    }

    @media screen and (min-width: 767px) {
      max-width: 832px;
      grid-template-columns: repeat(2, 1fr);
      gap: 40px 32px;
      border-radius: 24px;
      margin-inline: auto;
      padding-bottom: 72px;
      margin-bottom: 72px;

      &::after {
        width: 400px;
      }
    }

    & .culture__card-item {
      border-radius: 18px;
      overflow: clip;
      padding: 20px 24px;

      @media screen and (min-width: 767px) {
        border-radius: 24px;
        padding: 16px 24px;
        max-width: 400px;
        min-height: 350px;
      }
    }

    & .culture__card-item--heading {
      background: #35A0E3;

      @media screen and (min-width: 767px) {
        align-content: center;
      }

      & .culture__card-name {
        font-weight: 700;
        font-size: 26px;
        line-height: 1.4;
        letter-spacing: 0.02em;
        color: #FFF;
        text-align: center;
        margin-bottom: 8px;

        @media screen and (min-width: 767px) {
          font-size: 32px;
          margin-bottom: 36px;
        }
      }

      & .culture__card-icon {
        text-align: center;
        margin-bottom: 8px;

        @media screen and (min-width: 767px) {
          display: none;
        }
      }

      & .culture__card-lead {
        color: #FFF;
        font-size: 16px;
        line-height: 1.875;
        padding: 0 8px;

        @media screen and (min-width: 767px) {
          /* font-size: 18px; */
          font-size: 1.125rem;
          line-height: 1.8;
          padding: 0 32px;
        }

        & strong {
          font-size: 18px;
          font-weight: 500;
          text-decoration: underline;
          text-underline-offset: 0.25em;
          text-decoration-thickness: 1px;

          @media screen and (min-width: 767px) {
            /* font-size: 20px; */
            font-size: 1.25rem;
          }
        }
      }
    }

    & .culture__card-item--photo {
      position: relative;
      width: 100%;
      min-height: 200px;
      /* aspect-ratio: 343 / 200; */
      padding: 0 0;
      border: 2px solid rgba(255, 255, 255, 0.65);
      box-shadow: 4px 6px 13px rgba(92, 179, 232, 0.8), inset -6px -7px 8px rgba(0, 0, 0, 0.08);

      @media screen and (min-width: 767px) {
        /* aspect-ratio: auto; */
      }

      & > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      & .culture__photo-info {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        padding: 20px 24px;

        & .culture__card-name {
          font-weight: 700;
          font-size: 20px;
          line-height: 1.25;
          letter-spacing: 0.01em;
          color: #FFF;
          text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);

          @media screen and (min-width: 767px) {
            font-size: 24px;
            margin-bottom: 4px;
          }
        }

        & .culture__modal-trigger {

          & a {
            position: relative;
            display: inline-block;
            font-weight: 500;
            font-size: 15px;
            line-height: 2.27;
            letter-spacing: 0.01em;
            text-decoration-line: underline;
            color: #FFF;
            padding-right: 23px;

            @media screen and (min-width: 767px) {
              padding-right: 30px;
            }

            &::after {
              position: absolute;
              display: block;
              content: "";
              width: 16px;
              height: 16px;
              top: calc(50% + 2px);
              right: 0;
              transform: translateY(-50%);
              background-image: url(../images/culture/icon_link.svg);
              background-position: center right;
              background-repeat: no-repeat;
              background-size: contain;

              @media screen and (min-width: 767px) {
                width: 20px;
                height: 20px;
              }
            }
          }
        }
      }
    }

    & .culture__card-item--text {
      background: #F8FCFF;
      background-blend-mode: color-dodge, normal;
      border: 2px solid rgba(255, 255, 255, 0.97);
      box-shadow: 2px 3px 3px rgba(92, 179, 232, 0.8), inset -6px -7px 8px rgba(0, 0, 0, 0.08);

      @media screen and (min-width: 767px) {
        align-content: center;
      }

      & figure {
        & .culture__card-image {
          display: none;

          @media screen and (min-width: 767px) {
            display: block;
            margin-inline: auto;
            margin-bottom: 24px;
          }

          &--mb16 {
            @media screen and (min-width: 767px) {
              margin-bottom: 16px;
            }
          }
        }
        & figcaption {
          font-weight: 700;
          font-size: 24px;
          line-height: 1.4;
          text-align: center;
          letter-spacing: 0.01em;
          color: #4DB0EE;

          @media screen and (min-width: 767px) {
            font-size: 28px;
            line-height: 1.2;
          }
        }
      }

      & .culture__card-lead {
        font-weight: 500;
        /* font-size: 15px; */
        font-size: 0.9375rem;
        line-height: 1.5;
        color: #28343B;
        padding: 0 8px;
        margin-top: 16px;
      }

      & .culture__modal-trigger {
        text-align: right;
        margin-top: 8px;

        & a {
          position: relative;
          display: inline-block;
          font-weight: 500;
          font-size: 15px;
          line-height: 2.27;
          letter-spacing: 0.01em;
          text-decoration-line: underline;
          padding-right: 30px;

          @media screen and (min-width: 767px) {
            color: #35A0E3;
          }

          &::after {
            position: absolute;
            display: block;
            content: "";
            width: 20px;
            height: 20px;
            top: calc(50% + 2px);
            right: 0;
            transform: translateY(-50%);
            background-image: url(../images/culture/icon_link_pink.svg);
            background-position: center right;
            background-repeat: no-repeat;
            background-size: contain;
          }
        }
      }
    }

    & .culture__card-item--link {
      text-align: center;

      @media screen and (min-width: 767px) {
        align-content: center;
      }

      & .culture__card-link {
        display: block;
        font-weight: 700;
        font-size: 20px;
        line-height: 1.8;
        text-align: center;
        letter-spacing: 0.01em;
        text-decoration-line: underline;
        color: #FFF;
        text-underline-offset: 0.25em;
        text-decoration-thickness: 1px;
        padding-bottom: 56px;
        background-image: url(../images/culture/icon_arrow.svg);
        background-repeat: no-repeat;
        background-position: center bottom;
        background-size: 51px 40px;

        @media screen and (min-width: 767px) {
          font-size: 25px;
        }
      }
    }
  }

  &:last-of-type {
    & .culture__card-list {
      padding-bottom: 0;
      margin-bottom: 0;
      &::after {
        display: none;
      }
    }
  }
}

/*------------------------------------
 * ページトップボタン
 * ------------------------------------*/
.pagetop-blue {
  /* page top wrapper */
}
@media screen and (max-width: 767px) {
  .pagetop-blue {
    padding-top: 32px;
  }
}


/*------------------------------------
 * テーマ・グループ別 CSS変数定義 (サイドナビ専用)
 * ------------------------------------*/
.page-nav {
  & .page-nav__list {
    /* list container */

    & .page-nav__item {
      margin-bottom: 12px;

      &:last-child {
        margin-bottom: 0;
      }
    }

    & .page-nav__link {
      color: #FFF;
      text-decoration: none;
      font-size: 28px;
      font-weight: 700;
      /* line-height: 1.0; */
      letter-spacing: 0.05em;
      padding-left: 33px;

      &:hover,
      &.active {
        background: url(../images/culture/icon_nav.svg) no-repeat left center;
        opacity: 1.0;
      }
    }
  }
}

/*------------------------------------
 * モーダルコンテンツ (Modaal)
 ------------------------------------*/
.modal {
  display: none;
}

.modaal-inner-wrapper {
  padding: 42px 0 16px 0;

  @media screen and (min-width: 767px) {
    padding: 60px 24px 24px 24px;
  }
}

.modaal-content-container {
  padding: 8px 8px 4px 8px;

  @media screen and (min-width: 767px) {
    padding: 16px 16px 8px 16px;
  }
}


.modal__inner {
  & .modal__caption {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    color: #4DB0EE;
    margin-top: 4px;
    padding-left: 8px;

    @media screen and (min-width: 767px) {
      font-size: 22px;
      margin-top: 8px;
      padding-left: 0;
    }
  }

  & .modal__lead {
    padding: 0 8px;
    margin: 2px 0 4px 0;

    @media screen and (min-width: 767px) {
      padding: 0 0;
      margin: 4px 0 8px 0;
    }
  }
}

.modaal-wrapper.modaal-inline .modaal-container {
  width: 90%;
  max-width: 782px;
  display: block;
  margin: 0 auto;
}

.modaal-content {
  overflow-y: auto;
  max-height: calc(100vh - 74px);
  -webkit-overflow-scrolling: touch;

  @media screen and (min-width: 767px) {
    max-height: calc(100vh - 120px);
  }
}

.modal__image {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: calc(100vh - 200px);
  display: block;
  margin: 0 auto;

  @media screen and (min-width: 767px) {
    max-height: calc(100vh - 260px);
  }
}

.modaal-wrapper .modaal-close {
  border-radius: 0;
  background: #FFF;
}
.modaal-close {
  position: absolute;
  right: 0;
  top: -34px;
  width: 30px;
  height: 30px;

  @media screen and (min-width: 767px) {
    top: -42px;
    width: 32px;
    height: 32px;
  }
}

.modaal-close:before,
.modaal-close:after {
  background: #28343B;
  top: 4px;
  left: 14px;
  width: 3px;

  @media screen and (min-width: 767px) {
    top: 5px;
    left: 15px;
  }
}

.modaal-close:focus .modaal-close:before,
.modaal-close:focus .modaal-close:after {
  background: #28343B;
}

.modaal-close:focus:after, .modaal-close:focus:before, .modaal-close:hover:after, .modaal-close:hover:before {
  background: #28343B;
}

.modaal-overlay {
  background: rgba(0, 0, 0, 0.38) !important;

  @media screen and (min-width: 767px) {
    background: rgba(0, 0, 0, 0) !important;
  }
}