@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Lusitana:wght@400;700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Noto+Serif+JP:wght@200..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Shippori+Mincho&family=Work+Sans:ital,wght@0,100..900;1,100..900&family=Yuji+Syuku&family=Zen+Old+Mincho&display=swap');

/* ページ全体 */
body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: rgba(251, 255, 218, 1);
  color: #333;
}

/* セクション */
#senior-voice {
  padding: 110px 0 0 0;
}

.senior-wrapper {
  width: 1100px;
  max-width: 100%;
  margin: 0 auto;
}

/* タイトル */
.senior-title {
  margin: 50px 0 24px 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 65.83px;
  line-height: 1.1;
  color: rgba(16, 179, 127, 1);
  
}

.senior-sub {
  font-size: 24px;
  margin: 0 0 40px;
  color: rgba(0, 152, 104, 1);
  font-weight: 600;
}

/* Splide の矢印は使わない */
.splide__arrows {
  display: none !important;
}

/* スライダー本体 */
.senior-slider {
  width: 1100px;
  max-width: 100%;
  margin-left: 0px;
}

/* 右側に次のスライドを見せたいので visible */
.splide__track {
  overflow: visible;
}

.splide__list {
  align-items: flex-start;
}

/* --- スライドのアニメーション状態 --- */

/* 基本：少し小さく＆薄め（右にチラ見えしている状態など） */
.splide__slide {
  display: flex;
  transform: scale(0.9);
  opacity: 0.4;
  transition:
    transform 1.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity   1.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 現在表示されているスライド（中央の大きいやつ） */
.splide__slide.is-active {
  transform: scale(1);
  opacity: 1;
}

/* 左へ流れていく前のスライド：小さく＆薄く＆少し左へ */
.splide__slide.is-leaving {
  transform: scale(0.8) translateX(-40px);
  opacity: 0;
}
/* 1スライドの中身： [写真][テキスト] */
.senior-slide-inner {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  width: 100%;
  column-gap: 32px;
}

/* 現在の写真 */
.senior-photo img {
  display: block;
  width: 380px;
  height: auto;
  border-radius: 12px;
}

/* 情報エリア（名前など） */
.senior-info {
  flex: 0 0 360px;
  margin-top: 150px;
}

/* 以下、バッジやテキストなどは今のままでOK */


/* 以下、バッジやテキストなどは今のままでOK */


.senior-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(16, 179, 127, 1);
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.senior-name {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.senior-dept {
  font-size: 0.95rem;
  color: rgba(16, 179, 127, 1);
  margin-bottom: 8px;
}

.senior-text {
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 0;
}

/* 「次の人」の写真（右側にうっすら表示） */
.senior-next-photo img {
  display: block;
  width: 260px;
  height: auto;
  border-radius: 12px;
  filter: opacity(0.35);
}

/* 下のボタン */
.senior-controls {
  margin-top: 30px;
  margin-left: 60px;
}

.senior-nav-btn {
  width: 60px;
  height: 60px;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.senior-nav-btn + .senior-nav-btn {
  margin-left: 20px;
}

.senior-nav-btn img {
  display: block;
  width: 100%;
  height: 100%;
}


/*-----------------------------
  入社◯年目バッジ
------------------------------*/
.senior-badge {
  display: inline-block;
  padding: 0 28px;
  border-radius: 8px;
  background: rgba(16, 179, 127, 1);
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 20px;
}


/*-----------------------------
  名前（Hさん）
------------------------------*/
.senior-name {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 36px;
  margin: 0 0 16px 0;
  padding-bottom: 0;
  border-bottom: 1px solid #000;
}


/*-----------------------------
  部署（製造部）
------------------------------*/
.senior-dept {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: rgba(16, 179, 127, 1);
  margin-bottom:0;
}


/*-----------------------------
  テキスト（説明文）
------------------------------*/
.senior-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

.senior-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.senior-link:hover {
  opacity: 0.85;
  transition: 0.3s;
}


/* ==============================
   ① タブレットサイズ以下（〜1024px）
   ============================== */
   @media (max-width: 1024px) {

    html,
    body {
      width: 100%;
      overflow-x: hidden;
    }




    .senior-wrapper {
      width: 100%;
      padding: 0 20px;
      box-sizing: border-box;
    }
  
    .senior-title {
      font-size: 2.4rem;
    }
  
    .senior-slider {
      width: 100%;
      margin-left: 0;
    }
  
    .splide__track {
      overflow: hidden; /* 右側のチラ見えはPCだけにして、はみ出し防止 */
    }
  
    .senior-controls {
      margin-left: 0;
    }


  }
  
  /* ==============================
     ② スマホ〜タブレット（〜768px）
     ============================== */
  @media (max-width: 768px) {


    html,
    body {
      width: 100%;
      overflow-x: hidden;
    }
  
    #senior-voice {
      padding: 40px 0 60px;
    }
  
    .senior-title {
      font-size: 2rem;
      text-align: left;
    }
  
    .senior-sub {
      font-size: 0.95rem;
    }
  
    /* スライドは縦並びに */
    .senior-slide-inner {
      flex-direction: column;
      align-items: center;
      column-gap: 0;
    }
  
    .senior-photo img {
      width: 100%;
      max-width: 360px;
    }
  
    .senior-info {
      margin-top: 24px;   /* PCで付けていた150pxはスマホでは不要 */
      flex: 0 0 auto;
      width: 100%;
      max-width: 360px;
    }
  
    /* スマホでは拡大・縮小アニメは弱めにして見切れ防止 */
    .splide__slide {
      transform: scale(1);
      opacity: 1;
    }
    .splide__slide.is-active {
      transform: scale(1);
      opacity: 1;
    }
    .splide__slide.is-leaving {
      transform: translateX(-20px);
      opacity: 0;
    }
  
    /* ナビボタンは中央寄せ */
    .senior-controls {
      margin-top: 24px;
      display: flex;
      justify-content: center;
      gap: 16px;
    }
  }
  
  /* ==============================
     ③ 小さいスマホ（〜480px）
     ============================== */
  @media (max-width: 480px) {
    .senior-wrapper {
      padding: 0 12px;
    }
  
    .senior-title {
      font-size: 1.8rem;
    }
  
    .senior-photo img {
      max-width: 100%;
    }
  
    .senior-badge {
      font-size: 18px;
      padding: 4px 18px;
    }
  
    .senior-name {
      font-size: 28px;
    }
  
    .senior-dept {
      font-size: 16px;
    }
  
    .senior-text {
      font-size: 14px;
      line-height: 1.7;
    }
  
    .senior-nav-btn {
      width: 48px;
      height: 48px;
    }
  }
  