/* =========================================================
   voice.css
   - 見学・採用体験レポートページ専用スタイル
   - ロングインタビュー形式（写真2枚対応）
   - 見学者レポートリスト
========================================================= */

/* --- Utilities --- */
.bg-gray {
  background-color: var(--color-gray-light);
  padding: 5rem 0;
}

/* ---------------------------------------------------------
   4. Interview List (ロングインタビュー記事)
--------------------------------------------------------- */
.interview-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 50px;
}

.interview-article {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-gray-border);
}

/* --- Header Area --- */
.interview-header {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #eee;
}

.interview-header.reverse {
  flex-direction: row-reverse;
}

.header-photo {
  flex: 0 0 45%;
  position: relative;
  min-height: 400px;
}

.header-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.header-info {
  flex: 1;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 職種ラベル (色分け) */
.staff-role {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 5px 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  align-self: flex-start;
  letter-spacing: 0.05em;
  color: #fff;
  background-color: var(--color-primary); /* PT: デフォルト青 */
}

/* ★修正: 職種別カラー定義 */
.staff-role.ot-color {
  background-color: #77ba18;
} /* OT: 緑 */
.staff-role.st-color {
  background-color: #f08300;
} /* ST: オレンジ */

/* 名前 */
.staff-name {
  font-family: var(--ff-serif);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--color-primary-dark);
  line-height: 1.2;
}

/* プロフィール */
.staff-profile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 20px;
  margin-bottom: 30px;
  font-size: 0.95rem;
  line-height: 1.6;
}
.staff-profile div {
  display: contents;
}
.staff-profile dt {
  color: #999;
  font-weight: 700;
  white-space: nowrap;
}
.staff-profile dd {
  color: var(--text-main);
}

/* キャッチコピー */
.staff-catch {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.8;
  color: var(--color-primary);
  border-left: 4px solid #eee;
  padding-left: 20px;
  margin-top: 10px;
}

/* --- Body Area (Q&A + 写真2枚目) --- */
.interview-body {
  padding: 50px 40px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 50px;
  align-items: start;
}

.qa-box {
  margin-bottom: 40px;
}
.qa-box:last-child {
  margin-bottom: 0;
}

.qa-box h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
}
.qa-box h4::before {
  content: 'Q.';
  color: var(--color-primary);
  margin-right: 10px;
  font-size: 1.4rem;
  font-family: 'Helvetica Neue', sans-serif;
}

.qa-box p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-main);
  text-align: justify;
}

/* 写真2枚目エリア */
.body-photo {
  grid-row: 1 / 3;
  grid-column: 2 / 3;
}
.body-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block;
}

/* ---------------------------------------------------------
   5. Visit Report (見学者の感想リスト)
--------------------------------------------------------- */
.report-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.report-item {
  display: flex;
  gap: 25px;
  background: #fff;
  border: 1px solid var(--color-gray-border);
  border-radius: 8px;
  padding: 35px;
  align-items: flex-start;
}

.report-icon {
  font-size: 2rem;
  background: #f0f9ff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.report-content {
  flex: 1;
}

.report-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 15px;
  font-style: italic;
}

.report-attr {
  display: block;
  text-align: right;
  font-size: 0.9rem;
  color: #666;
  font-weight: 700;
}

/* ---------------------------------------------------------
   Responsive (Tablet / Mobile)
--------------------------------------------------------- */
@media (max-width: 900px) {
  .interview-header,
  .interview-header.reverse {
    flex-direction: column;
  }
  .header-photo {
    height: 300px;
    min-height: auto;
  }

  .interview-body {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px;
  }

  .body-photo {
    grid-row: auto;
    grid-column: auto;
    order: 2;
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
  }
  .qa-box:nth-child(1) {
    order: 1;
  }
  .qa-box:nth-child(3) {
    order: 3;
  }
}

@media (max-width: 600px) {
  .header-info {
    padding: 30px 20px;
  }
  .staff-name {
    font-size: 1.6rem;
  }
  .staff-catch {
    font-size: 1rem;
  }

  .report-item {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }
  .report-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

/* ---------------------------------------------------------
   Coming Soon Area (準備中表示)
--------------------------------------------------------- */
.coming-soon-area {
  background-color: #f9f9f9;
  border: 2px dashed #e0e0e0;
  border-radius: 8px;
  padding: 80px 20px;
  text-align: center;
  color: #888;
  margin-top: 30px;
}

.cs-title {
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  margin-bottom: 15px;
  color: #ccc; /* 薄いグレーで控えめに */
}

.cs-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #999;
}

/* ---------------------------------------------------------
   One Day Schedule (1日の流れ)
--------------------------------------------------------- */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 30px;
}

.schedule-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-gray-border);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ヘッダー色分け */
.schedule-header {
  padding: 25px 20px;
  color: #fff;
  text-align: center;
}
.pt-bg {
  background-color: var(--color-primary);
} /* 青 */
.st-bg {
  background-color: #f08300;
} /* オレンジ */
.pt-bg-dark {
  background-color: #1b4b8d;
} /* 濃い青（主任） */

.schedule-header .badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  backdrop-filter: blur(4px);
}

.schedule-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.schedule-header p {
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* タイムライン本体 */
.schedule-body {
  padding: 25px 20px;
  flex: 1;
  background-color: #fff;
}

.timeline-list {
  list-style: none;
  padding: 0;
  position: relative;
  /* 左側の縦線 */
  border-left: 2px solid #eee;
  margin-left: 10px;
}

.timeline-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 20px;
}
.timeline-list li:last-child {
  margin-bottom: 0;
}

/* 丸ポチ */
.timeline-list li::before {
  content: '';
  position: absolute;
  left: -6px; /* 線の真ん中 */
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #ccc;
}

/* 特別なイベントの装飾 */
.timeline-list li.break::before {
  border-color: #f08300;
  background: #fff5e6;
} /* 休憩 */
.timeline-list li.go-home::before {
  border-color: var(--color-primary);
  background: #e6f7ff;
} /* 退勤 */

.time {
  display: block;
  font-weight: 700;
  color: var(--color-primary-dark);
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.event {
  display: block;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-main);
}

.event small {
  display: block;
  color: #888;
  font-size: 0.8rem;
  margin-top: 2px;
}

/* 注釈 */
.schedule-note {
  font-size: 0.9rem;
  color: #666;
  margin-top: 20px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .schedule-grid {
    grid-template-columns: 1fr; /* スマホ・タブレットは1列 */
    gap: 40px;
  }
}
