@charset "UTF-8";
/* ===========================
   先輩社員インタビュー 詳細ページ（interview-1.html 専用）
   ※ style.css の後に読み込むこと
=========================== */


.iv-detail {
  --accent: #6FBA2C; /* 既定：緑（店長 / interview-1） */
  padding-bottom: 40px;
}
/* ページごとのアクセント色 */
.iv-detail .iv-pink { --accent: #E85298; } /* スタッフ / interview-2 */
.iv-detail .iv-blue { --accent: #0097E0; } /* ブロック長 / interview-3 */

/* パンくず（SPでは非表示） */
.iv-breadcrumb {
  display: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 2;
  padding: 0 4px;
  margin-bottom: 8px;
  word-break: break-word;
}
.iv-breadcrumb a { color: inherit; }
.iv-breadcrumb .cur { font-weight: 800; }

/* 白カード共通 */
.iv-card,
.iv-more {
  position: relative;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.iv-card {
  padding: 28px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* 見出し（キャッチ＋プロフィール） */
.iv-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.iv-copy {
  color: var(--accent);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.27;
  letter-spacing: 0.5px;
}
.iv-profile {
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.75;
}

/* 立ち写真（SPは上半身のみトリミング。クロップは img の object-fit で行うため
   figure に overflow:hidden は付けない＝装飾メガネのはみ出しを表示できる） */
.iv-photo {
  position: relative;
  /* 375px時にFigma基準の191px、画面幅に応じて拡大（191/375≒50.93vw） */
  width: clamp(191px, 50.93vw, 330px);
  margin: 0 auto;
}
.iv-photo-main {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 191 / 280;
  height: auto;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* セクション群 */
.iv-sections {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.iv-sec-head {
  border-bottom: 2px solid var(--accent);
  padding: 5px 0;
  margin-bottom: 16px;
}
.iv-sec-head h2 {
  color: var(--accent);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.36px;
}
.iv-sec p,
.iv-sec .iv-text {
  color: #121212;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0.7px;
}
.iv-sec .iv-text p + p {
  margin-top: 28px;
}

/* 休日の過ごし方 */
.iv-hobby {
  background: var(--gold200);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: var(--gold800);
}
.iv-hobby-img {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}
.iv-hobby-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.iv-hobby-text .t {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.32px;
}
.iv-hobby-text .d {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
}

/* 仕事写真 2枚 */
.iv-photos {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.iv-photos img {
  width: 100%;
  aspect-ratio: 640 / 480;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* 装飾メガネ（Figmaの縦横比を保持） */
.iv-deco {
  position: absolute;
  pointer-events: none;
  height: auto;
}
.iv-deco-1 { width: 140px; aspect-ratio: 325.106 / 105.939; top: 212px; right: -22px; transform: rotate(10deg); z-index: 3; }
.iv-deco-2 { width: 100px; aspect-ratio: 330.828 / 116.195; bottom: 120px; left: -100px; transform: rotate(-18deg);}
.iv-deco-3 { aspect-ratio: 337.926 / 137.062; }
.iv-deco-3 { display: none; }

/* 黄色装飾メガネ(.iv-deco-1)が見出し・本文に被らないよう、テキストを前面に */
.iv-head,
.iv-sections {
  position: relative;
  z-index: 4; /* .iv-deco-1 の z-index:3 より上 */
}

/* もっと見る */
.iv-more {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.iv-more-title {
  color: var(--MS_blue);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.8px;
  text-align: center;
}
.iv-more .interview-cards {
  box-shadow: none;
  background: none;
  border-radius: 0;
  padding: 0;
  width: 100%;
}

/* ===========================
   PC（768px〜）
=========================== */
@media (min-width: 768px) {
  .iv-breadcrumb {
    display: block;
    font-size: 14px;
    margin-bottom: 12px;
    padding: 0 12px;
  }
  .iv-card {
    padding: 40px;
    border-radius: 32px;
    margin-bottom: 30px;
    display: grid;
    /* 左列（立ち写真）を画面幅に応じて縮小し、右列が細長くなりすぎないように */
    grid-template-columns: minmax(0, clamp(206px, calc(34vw - 55px), 380px)) minmax(0, 1fr);
    column-gap: clamp(28px, 4vw, 50px);
    row-gap: 32px;
    align-items: start;
  }
  .iv-head {
    grid-column: 2;
    grid-row: 1;
    gap: 20px;
    align-self: end;
  }
  .iv-photo {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 100%;
    height: auto;          /* SPのトリミング解除（全身表示） */
    aspect-ratio: auto;    /* SPのトリミング比をPCでは解除 */
    align-self: stretch;
    overflow: visible;     /* 装飾メガネのはみ出しを表示 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* 右テキスト上端に揃える */
    padding-top: 100px;          /* 上端余白 */
  }
  .iv-photo-main {
    aspect-ratio: auto;
    height: auto;
    object-fit: fill;
    width: 85%; /* Figma同様、写真列幅に対して少し小さく中央配置 */
  }
  .iv-sections {
    grid-column: 2;
    grid-row: 2;
    padding: 4px;
  }
  .iv-hobby {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 24px;
  }
  .iv-hobby-img {
    width: 148px;
    height: 148px;
  }
  .iv-hobby-text {
    flex: 1;
  }
  .iv-hobby-text .t { font-size: clamp(19px, 1.9vw, 24px); letter-spacing: 0.48px; }
  .iv-hobby-text .d { font-size: clamp(16px, 1.56vw, 20px); line-height: 1.67; }
  .iv-photos {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 40px;
  }
  .iv-photos img { flex: 1; min-width: 0; }
  .iv-copy {
    font-size: clamp(30px, 4vw, 51px);
    line-height: 1.27;
  }
  /* ピンクページ（interview-2）はキャッチが長く2行目が列幅を超えるため微縮小 */
  .iv-detail .iv-pink .iv-copy {
    font-size: clamp(28px, 3.7vw, 47px);
    letter-spacing: 0;
  }
  .iv-profile { font-size: clamp(13px, 1.25vw, 16px); line-height: 1.75; }
  .iv-sec { display: flex; flex-direction: column; }
  .iv-sec-head h2 {
    font-size: clamp(20px, 2.2vw, 28px);
    letter-spacing: 0.56px;
  }
  .iv-sec p,
  .iv-sec .iv-text {
    font-size: clamp(13px, 1.25vw, 16px);
    line-height: 1.8;
    letter-spacing: 1px;
  }
  /* 装飾メガネ PC（Figmaの実寸・位置） */
  .iv-deco-1 { width: 325px; top: 220px; right: -76px; transform: rotate(10.06deg); }
  /* 青：立ち写真の左上・背面（figure基準 left-109/top50） */
  .iv-deco-2 {
    display: block;
    width: 330px;
    top: 90px;
    left: -109px;
    transform: rotate(-15.13deg);
    z-index: 0;
  }
  /* オレンジ：立ち写真の左下（figure基準） */
  .iv-deco-3 {
    display: block;
    width: 338px;
    bottom: 40px;
    left: -90px;
    transform: rotate(-17.16deg) scaleX(-1);
    z-index: 2;
  }
  .iv-more {
    padding: 40px 40px 60px;
    border-radius: 32px;
    gap: 40px;
  }
  .iv-more-title { font-size: clamp(24px, 2.5vw, 32px); letter-spacing: 1.6px; }
}
