/* ============================================================
   nakama.css
   ------------------------------------------------------------
   「仲間の声」ページ専用CSS
   ============================================================ */

@import url(common.css);

/* ============================================================
   メイン
   ============================================================ */

main {
  margin: 0;
  padding-top: 0;
}

/* ============================================================
   メインビジュアル
   ============================================================ */

.main-visual {
  position: relative;

  width: 100%;
  height: 65vh;
  min-height: 450px;

  margin: 0;
  padding: 0;

  overflow: hidden;
}

.main-visual img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* ============================================================
   メインビジュアル文字
   ============================================================ */

.visual-copy {
  position: absolute;

  top: 50%;
  left: 50%;

  width: 100%;

  text-align: center;

  transform: translate(-50%, -50%);

  color: #fff;

  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.visual-copy p {
  margin: 0 0 10px;

  font-size: 14px;
  font-weight: 600;

  letter-spacing: 0.2em;
}

.visual-copy h1 {
  margin: 0;

  font-size: 42px;
  font-weight: 700;

  letter-spacing: 0.12em;
}

/* ============================================================
   メインコンテンツ
   ============================================================ */

.service {
  width: 100%;
  max-width: 1200px;

  margin: 0 auto;

  padding: 110px 30px 120px;

  box-sizing: border-box;
}

/* ============================================================
   セクション見出し
   ------------------------------------------------------------
   TOPページと統一
   ============================================================ */

.section-heading {
  margin: 0 0 75px;

  text-align: center;
}

/* ============================================================
   英字タイトル
   ============================================================ */

.section-heading p {
  margin: 0 0 10px;

  color: #eaa317;

  font-size: 13px;
  font-weight: 600;

  line-height: 1.5;

  letter-spacing: 0.2em;
}

/* ============================================================
   日本語タイトル
   ============================================================ */

.section-heading h2 {
  margin: 0;

  color: #333;

  font-size: 34px;
  font-weight: 600;

  line-height: 1.5;

  letter-spacing: 0.12em;
}

/* ============================================================
   オレンジライン
   ------------------------------------------------------------
   TOPページと統一
   ============================================================ */

.section-heading span {
  display: block;

  width: 48px;
  height: 2px;

  margin: 20px auto 0;

  background: #eaa317;

  border-radius: 10px;
}

/* ============================================================
   導入文
   ============================================================ */

.nakama-intro {
  max-width: 800px;

  margin: 0 auto 90px;

  text-align: left;
}

.nakama-intro p {
  margin: 0;

  color: #555;

  font-size: 16px;

  line-height: 2;
}

/* ============================================================
   スタッフインタビュー
   ============================================================ */

.staff-interview {
  margin-bottom: 120px;

  padding-bottom: 100px;

  border-bottom: 1px solid #d6e5f4;
}

.staff-interview:last-child {
  margin-bottom: 0;

  padding-bottom: 0;

  border-bottom: none;
}

/* ============================================================
   スタッフプロフィール
   ============================================================ */

.staff-profile {
  display: flex;

  align-items: center;

  gap: 60px;

  margin-bottom: 65px;
}

/* ============================================================
   スタッフ写真
   ============================================================ */

.staff-photo {
  position: relative;

  width: 330px;
  height: 330px;

  flex-shrink: 0;
}

.staff-photo::after {
  content: "";

  position: absolute;

  top: 15px;
  left: 15px;

  width: 100%;
  height: 100%;

  border: 2px solid #eaa317;
  border-radius: 8px;

  box-sizing: border-box;

  z-index: 0;
}

.staff-photo img {
  position: relative;

  z-index: 1;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  border-radius: 8px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* ============================================================
   スタッフ情報
   ============================================================ */

.staff-info {
  flex: 1;
}

.staff-number {
  margin: 0 0 12px;

  color: #eaa317;

  font-size: 14px;
  font-weight: 700;

  letter-spacing: 0.15em;
}

.staff-info h3 {
  position: relative;

  margin: 0 0 20px;

  padding-left: 18px;

  color: #333;

  font-size: 30px;
  font-weight: 700;

  line-height: 1.5;
}

.staff-info h3::before {
  content: "";

  position: absolute;

  top: 5px;
  left: 0;

  width: 4px;
  height: 85%;

  background: #eaa317;

  border-radius: 2px;
}

.staff-position {
  margin: 0;

  color: #4370a9;

  font-size: 16px;
  font-weight: 600;

  line-height: 1.8;
}

/* ============================================================
   インタビュー
   ============================================================ */

.interview-content {
  width: 100%;
}

.interview-item {
  margin-bottom: 45px;

  padding: 0 0 40px;

  border-bottom: 1px solid #e8eef4;
}

.interview-item:last-of-type {
  margin-bottom: 45px;
}

.interview-item h4 {
  position: relative;

  margin: 0 0 18px;

  padding-left: 38px;

  color: #333;

  font-size: 19px;
  font-weight: 700;

  line-height: 1.7;
}

.interview-item h4 span {
  position: absolute;

  top: 0;
  left: 0;

  color: #eaa317;

  font-size: 20px;
  font-weight: 700;
}

.interview-item p {
  margin: 0;

  color: #555;

  font-size: 16px;

  line-height: 2;
}

/* ============================================================
   メッセージ
   ============================================================ */

.interview-message {
  margin-top: 50px;

  padding: 35px 40px;

  background: #eef6ff;

  border-radius: 8px;

  border-left: 4px solid #4370a9;
}

.interview-message h4 {
  margin: 0 0 15px;

  color: #4370a9;

  font-size: 14px;
  font-weight: 700;

  letter-spacing: 0.18em;
}

.interview-message p {
  margin: 0;

  color: #444;

  font-size: 16px;

  line-height: 2;
}

/* ============================================================
   スマートフォン
   ============================================================ */

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0;

    overflow-x: hidden;
  }

  main {
    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0;
  }

  .main-visual {
    width: 100%;
    height: 300px;

    margin: 0;
    padding: 0;

    overflow: hidden;
  }

  .main-visual img {
    width: 100%;
    height: 100%;

    object-fit: cover;
  }

  .visual-copy {
    width: 100%;

    padding: 0 20px;

    box-sizing: border-box;
  }

  .visual-copy p {
    margin-bottom: 6px;

    font-size: 11px;

    letter-spacing: 0.16em;
  }

  .visual-copy h1 {
    font-size: 29px;

    letter-spacing: 0.1em;
  }

  /* ==========================================================
     メインコンテンツ
     ========================================================== */

  .service {
    width: 100%;
    max-width: 100%;

    margin: 0;

    padding: 75px 20px 80px;

    box-sizing: border-box;
  }

  /* ==========================================================
     見出し
     ----------------------------------------------------------
     TOPページと統一
     ========================================================== */

  .section-heading {
    width: 100%;

    margin: 0 0 55px;
  }

  .section-heading p {
    margin-bottom: 8px;

    font-size: 11px;

    letter-spacing: 0.18em;
  }

  .section-heading h2 {
    font-size: 28px;
    font-weight: 600;

    letter-spacing: 0.08em;

    line-height: 1.5;
  }

  .section-heading span {
    width: 42px;
    height: 2px;

    margin-top: 17px;
  }

  /* ==========================================================
     導入文
     ========================================================== */

  .nakama-intro {
    width: 100%;
    max-width: 100%;

    margin: 0 auto 65px;
  }

  .nakama-intro p {
    font-size: 15px;

    line-height: 2;

    text-align: left;
  }

  /* ==========================================================
     スタッフ
     ========================================================== */

  .staff-interview {
    width: 100%;

    margin-bottom: 80px;

    padding-bottom: 70px;
  }

  .staff-profile {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 30px;

    margin-bottom: 50px;
  }

  .staff-photo {
    width: 100%;
    height: auto;

    aspect-ratio: 1 / 1;

    margin: 0;
  }

  .staff-photo::after {
    top: 10px;
    left: 10px;

    width: 100%;
    height: 100%;
  }

  .staff-photo img {
    width: 100%;
    height: 100%;
  }

  .staff-info {
    width: 100%;
  }

  .staff-number {
    margin-bottom: 8px;

    font-size: 12px;
  }

  .staff-info h3 {
    margin-bottom: 15px;

    padding-left: 15px;

    font-size: 23px;

    line-height: 1.5;
  }

  .staff-info h3::before {
    top: 3px;

    width: 4px;
    height: 85%;
  }

  .staff-position {
    font-size: 15px;

    line-height: 1.8;
  }

  /* ==========================================================
     インタビュー
     ========================================================== */

  .interview-content {
    width: 100%;
  }

  .interview-item {
    margin-bottom: 35px;

    padding-bottom: 30px;
  }

  .interview-item:last-of-type {
    margin-bottom: 35px;
  }

  .interview-item h4 {
    margin-bottom: 15px;

    padding-left: 32px;

    font-size: 17px;

    line-height: 1.7;
  }

  .interview-item h4 span {
    font-size: 18px;
  }

  .interview-item p {
    font-size: 15px;

    line-height: 2;
  }

  .interview-message {
    margin-top: 40px;

    padding: 25px 22px;

    border-radius: 6px;
  }

  .interview-message h4 {
    margin-bottom: 12px;

    font-size: 12px;
  }

  .interview-message p {
    font-size: 15px;

    line-height: 2;
  }
}
