@charset "utf-8";
/* =======================================
   先輩の声（inc_seniorvoice.php）
   .interview セクション
   ======================================= */

/* セクション全体 */

.interview {
    margin: 100px 0;
    width: 100%;
  }
  
  .interview h2 {
    width: 975px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  
  .interview h2 img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }
  
  .interview h3 {
    width: 975px;
    max-width: 100%;
    margin: 24px auto 0;
    line-height: 1.2;
    text-align: center;
    font-size: 2.1875rem;
  }
  
  /* スライダーラッパー */
  
  .interview .slider {
    width: 975px;
    max-width: 100%;
    margin: 40px auto 0;
  }
  
  /* 1スライド分のカード */
  
  .interview-wrap {
    position: relative;
    width: 975px;
    max-width: 100%;
    margin: 40px auto 0;
    padding: 40px 80px;
    background-color: #fff;
    border-radius: 34px;
    overflow: hidden;
  }
  
  /* 右下のリーフ */
  
  .interview-wrap .right-leaf {
    position: absolute;
    bottom: 0;
    right: 0;
  }
  
  .interview-wrap .right-leaf img {
    width: 120px;
    height: auto;
  }
  
  /* 本文コンテンツ（画像＋テキストのグリッド） */
  
  .interview-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas:
      "h4 img"
      "job img"
      "h5 img"
      "text img";
    column-gap: 40px;
    row-gap: 14px;
    align-items: flex-start;
  }
  
  /* 名前 */
  
  .interview-content h4 {
    grid-area: h4-area;
  }
  
  /* gridエリア名の定義 */
  
  .interview-content h4 {
    grid-area: h4;
    font-family: "kinuta-maruminold-stdn", serif;
    font-weight: 400;
    font-size: 2.1875rem;
    color: #6D7B52;
    margin: 0;
  }
  
  /* 職種 */
  
  .interview-content p.job {
    grid-area: job;
    margin: 0;
    font-weight: 700;
    color: #6D7B52;
  }
  
  /* 見出し（コメントタイトル） */
  
  .interview-content h5 {
    grid-area: h5;
    margin: 8px 0 0;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.6;
    color: #6D7B52;
  }
  
  /* 本文テキスト
     - .text-area
     - .houkan
     - それ以外の通常 p（job 以外）もカバー
  */
  
  .interview-content p.text-area,
  .interview-content p.houkan,
  .interview-content p:not(.job) {
    grid-area: text;
    margin: 8px 0 0;
    font-size: 0.95rem;
    line-height: 1.8;
  }
  
  /* 画像 */
  
  .interview-img {
    grid-area: img;
    align-self: center;
    text-align: right;
  }
  
  .interview-img img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
  }
  
  
  /* =======================================
     先輩の声：スマホ（〜600px）
     ======================================= */
  
  @media (max-width: 600px) {
  
    .interview {
      margin-top: 80px;
    }
  
    .interview h2 {
      width: 90vw;
    }
  
    .interview h2 img {
      width: 40vw;
      margin: 0 auto;
    }
  
    .interview h3 {
      width: 90vw;
      margin: 16px auto 0;
      font-size: 1.375rem;
      line-height: 1.5;
    }
  
    .interview .slider {
      width: 100%;
      margin-top: 32px;
    }
  
    .interview-wrap {
      width: 100vw;
      margin: 24px auto 40px !important;
      padding: 24px 16px 32px;
      border-radius: 20px;
    }
  
    .interview-wrap .right-leaf {
      bottom: 0;
      right: -10vw;
    }
  
    .interview-wrap .right-leaf img {
      width: 10vw;
    }
  
    .interview-content {
      width: 100%;
      margin: 0 auto;
      grid-template-columns: 1fr;
      grid-template-rows: auto auto auto auto auto;
      grid-template-areas:
        "h4"
        "job"
        "img"
        "h5"
        "text";
      column-gap: 0;
      row-gap: 10px;
    }
  
    .interview-content h4 {
      font-size: 1.5rem;
      text-align: center;
    }
  
    .interview-content p.job {
      text-align: center;
      font-size: 0.95rem;
    }
  
    .interview-img {
      text-align: center;
    }
  
    .interview-img img {
      max-width: 70%;
      margin: 0 auto;
    }
  
    .interview-content h5 {
      font-size: 1.0625rem;
    }
  
    .interview-content p.text-area,
    .interview-content p.houkan,
    .interview-content p:not(.job) {
      font-size: 0.95rem;
    }
    .interview .slick-dots{
        left: 33%;
    }
  }
  