.customerVoice {
    padding: 64px 5% 0;
    background-color: var(--background-color-lightgrey);
}

.customerVoice .recordList {
    width: 100%;
    padding: 80px;
    background-color: var(--white);
}

.customerVoice .recordList--top {
    width: 100%;
}

.customerVoice .recordList--date {
    color: var(--secondary-bland-color);
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.6;
}

.customerVoice .recordList--title {
    color: var(--font-color-black);
    font-size: 3.2rem;
    line-height: 1.6;
}

.customerVoice .recordList--center {
    width: 100%;
    margin-top: 16px;
}

.customerVoice .recordList--bottom {
    width: 100%;
    margin-top: 16px;
}

.customerVoice .recordList .flex-col2 {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
}

.customerVoice .recordList .flex-col2--firstImgBox {
    flex: 0 1 52%;
    line-height: 0;
}

.customerVoice .recordList .flex-col2--secondImgBox {
    flex: 1 0;
    display: grid;
    position: relative;
}

.customerVoice .recordList .flex-col2--img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    position: relative;
}

.customerVoice .recordList--text {
    color: var(--font-color-black);
    font-size: 1.6rem;
    line-height: 2;
    text-align: justify;

    /* 3点リーダーの位置がおかしい場合はaタグの内容をspanで囲む事 */
    /* 例. <a><span>内容</span></a>　*/
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    line-clamp: 8;
}

.customerVoice .recordList .arrowBtn {
    font-size: 1.3rem;
    padding: 0.5em;
    margin-top: 1em;
}

.customerVoice .recordList .arrowBtn::after {
    font-size: 1.3rem;
    width: 20px;
    height: 1em;
}

.popup--label-withIcon {
    position: relative;
}

.popup--label-withIcon::after {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-image: url(/img/icon_zoom.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
}

/* ポップアップウインドウの設定 */
.popup {
    background-color: #efefef;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, .8);
    position: fixed;
    display: none;

    /* 画面全体にポップアップする場合 */
    /* top: 0;
    left: 0;
    right: 0;
    bottom: 0; */
    /* margin: 2% 5% 7%; */
    /* 画像の大きさに合わせて画面中央にポップアップする場合 */
    /* 画像のwidthの設定を見直すこと。ポップアップした場合はwidth:100%にするなど */
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);

    overflow-y: scroll;
    width: auto;
    height: auto;
    max-height: 90vh;
    z-index: 9990;
  }

  @media screen and (max-width: 599px) {
      /* 599pxまでの幅の場合に適応される */
      .popup {
        left: 5%;
        right: 5%;
        transform: translate(0, -50%);
      }
  }

  /* idに対して処理。ポップアップ対象の要素ごとに設定 */

  /* ------- */
  /* チェックボックスの初期設定 */
  #popup--firstImgBox{
    display: none;
  }
  /* チェックされたらポップアップウインドウを開く */
  #popup--firstImgBox:checked + .popup{
    display: block;
  }

  /* チェックされたらポップアップウインドウを開く */
  #popup--firstImgBox:checked + .popup{
    display: block;
  }

  /* ------- */
  /* チェックボックスの初期設定 */
  #popup--secondImgBox{
    display: none;
  }
  /* チェックされたらポップアップウインドウを開く */
  #popup--secondImgBox:checked + .popup{
    display: block;
  }

  /* チェックされたらポップアップウインドウを開く */
  #popup--secondImgBox:checked + .popup{
    display: block;
  }
  
  /* ------- */
  
  /* 閉じるボタン */
  .popup--btn-close {
    color: var(--font-color-black);
    font-size: 30px;
    position: absolute;
    top: 24px;
    right: 12px;
  }
  
  /* 開くボタン */
  .popup--btn-open {
    background: #fff;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    /* padding: 10px;
    margin: 10px auto; */
    width: 100%;
    text-align: center;
  }
  
  /* ポップアップの内容 */
  .popup--content {
    margin: 56px auto 56px auto;
    width: 90%;
    display: grid;
    place-items: center;
  }

  .customerVoice .recordList .popup--content .flex-col2--img {
      width: 100%;
      height: auto;
      object-fit: cover;
  }

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */
    .customerVoice .recordList {
        padding: 24px;
    }

    .customerVoice .recordList .flex-col2--img {
        height: 200px;
        object-fit: cover;
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .customerVoice .recordList--date {
        font-size: 2.4rem;
    }

    .customerVoice .recordList--title {
        color: var(--font-color-black);
        font-size: 2rem;
        line-height: 1.6;
    }

    .customerVoice .recordList--center {
        width: 100%;
        margin-top: 12px;
    }

    .customerVoice .recordList--bottom {
        width: 100%;
        margin-top: 12px;
    }

    .customerVoice .recordList .flex-col2 {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .customerVoice .recordList .flex-col2--imgBox {
        width: 100%;
        line-height: 1;
    }

    .customerVoice .recordList .flex-col2--text {
        font-size: 1rem;

        /* 3点リーダーの位置がおかしい場合はaタグの内容をspanで囲む事 */
        /* 例. <a><span>内容</span></a>　*/
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }
}

.work {
    background-color: var(--background-color-lightgrey);
    padding: 0 5% 64px;
}

.work .content--box {
    display: grid;
    justify-content: flex-start;
    padding: 80px;
    background-image: url(/img/work_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.work .content--textBox {
    margin-top: 16px;
}

.work .borderBtn {
    margin-top: 32px;
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .work {
        padding-bottom: 0;
    }

    .work .content--box {
        padding: 32px 5%;
        background-image: url(/img/work_bg_sp.jpg);
    }
}