/*
 * about.css
 * Re-start株式会社 Re-startについてページ専用スタイル
 * ※ html { font-size: min(calc(10/1280*100vw), 10px) } 基準
 *    → 1rem = 10px（1280px幅時）
 * 読み込み順：reset.css → style.css → front-page.css → about.css
 */


/* ─────────────────────────────────────
   SECTION 共通（about用上書き）
───────────────────────────────────── */
.about_section {
  padding: 12rem 8rem;
}

.about_section_inner {
  max-width: 120rem;
  margin: 0 auto;
}

/* ─────────────────────────────────────
   PHILOSOPHY（理念）
───────────────────────────────────── */
.philosophy {
  background: var(--color_off_white);
}

.philosophy_lead {
  max-width: 72rem;
  margin: 0 auto 6.4rem;
  text-align: center;
}

.philosophy_lead .section_label {
  justify-content: center;
}

.philosophy_lead .section_label::before {
  display: none;
}

.philosophy_lead .section_title {
  font-size: clamp(3.2rem, 4vw, 5rem);
  margin-bottom: 3.2rem;
}

.philosophy_body {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  text-align: center;
  /* border-left: 0.3rem solid var(--color_blue); */
  /* padding-left: 2.8rem; */
  /* max-width: 56rem; */
  margin: 0 auto;
}

.philosophy_text {
  font-size: 1.7rem;
  line-height: 1.8;
  color: var(--color_text_sub);
}


/* ─────────────────────────────────────
   CEO MESSAGE（代表メッセージ）
───────────────────────────────────── */
.ceo_message {
  background: var(--color_white);
}

.ceo_grid {
  display: grid;
  grid-template-columns: 44rem 1fr;
  gap: 8rem;
  align-items: start;
}

.ceo_photo_col {
  position: sticky;
  top: 10rem;
}

.ceo_photo_wrap {
  position: relative;
}

.ceo_photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: 1.2rem;
  display: block;
}

.ceo_name_card {
  position: absolute;
  bottom: -2.4rem;
  left: -2.4rem;
  background: var(--color_navy);
  border-radius: 1rem;
  padding: 2rem 2.8rem;
}

.ceo_name_label {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color_blue_bright);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.ceo_name {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
}

.ceo_name_sub {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.4rem;
}

.ceo_body {
  padding-top: 1.2rem;
  padding-bottom: 4rem;
}

.ceo_body .section_title {
  margin-bottom: 3.2rem;
}

.ceo_text {
  font-size: 1.6rem;
  line-height: 2.1;
  color: var(--color_text_sub);
  margin-bottom: 2.4rem;
}

.ceo_text:last-of-type {
  margin-bottom: 0;
}

/* ─────────────────────────────────────
   COMPANY INFO（会社概要）
───────────────────────────────────── */
.company_info {
  background: var(--color_off_white);
}

.company_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
  margin-top: 6.4rem;
}

/* テーブル */
.company_table {
  width: 100%;
  border-collapse: collapse;
}

.company_table tr {
  border-bottom: 1px solid var(--color_gray_light);
}

.company_table tr:first-child {
  border-top: 1px solid var(--color_gray_light);
}

.company_table th {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color_gray_text);
  text-align: left;
  padding: 2rem 0;
  width: 13rem;
  vertical-align: top;
  white-space: nowrap;
}

.company_table td {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--color_text);
  padding: 2rem 0 2rem 2rem;
  vertical-align: top;
}

.company_table td ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.company_table td ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.company_table td ul li::before {
  content: '–';
  color: var(--color_blue);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* オフィス外観写真 */
.company_photo_col {
  position: sticky;
  top: 10rem;
}

.company_photo {
  width: 100%;
  height: 100%;
  min-height: 36rem;
  /* object-fit: cover; */
  border-radius: 1.2rem;
  display: block;
}

/* 関連企業 横一列 */
.related_companies {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  margin-top: 6.4rem;
}

.related_label {
  font-family: var(--Outfit);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color_gray_text);
  text-transform: uppercase;
}

.related_logo_row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.related_logo_item {
  flex: 1;
  min-width: 16rem;
  background: var(--color_white);
  border: 1px solid var(--color_gray_light);
  border-radius: 0.8rem;
  padding: 3.6rem 3.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.related_logo_item:hover {
  border-color: rgba(30, 111, 181, 0.3);
  box-shadow: 0 0.4rem 1.6rem rgba(10, 22, 40, 0.06);
  transform: translateY(-0.2rem);
}

.related_logo_img {
  height: 7.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related_logo_img img {
  width: auto;
  height: 100%;
  max-width: 20rem;
  object-fit: contain;
}

.related_logo_name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color_text_sub);
  line-height: 1.5;
}
/* ─────────────────────────────────────
   RESPONSIVE（スマホ：699.98px以下）
───────────────────────────────────── */
@media screen and (max-width: 699.98px) {


  /* ABOUT SECTION */
  .about_section {
    padding: 7.2rem 2.4rem;
  }

  /* PHILOSOPHY */
  .philosophy_lead {
    margin-bottom: 4rem;
    text-align: left;
  }

  .philosophy_lead .section_label {
    justify-content: flex-start;
  }

  .philosophy_lead .section_label::before {
    display: block;
  }

  .philosophy_body {
    /* padding-left: 2rem; */
    text-align: left;
  }

  .philosophy_text {
    font-size: 1.5rem;
  }

  /* CEO MESSAGE */
  .ceo_grid {
    grid-template-columns: 1fr;
    gap: 6rem;
  }

  .ceo_photo_col {
    position: static;
  }

  .ceo_photo {
    /* aspect-ratio: 4 / 3; */
    object-position: top center;
  }

  .ceo_name_card {
    bottom: -1.6rem;
    left: 1.6rem;
  }

  .ceo_body {
    padding-top: 3.2rem;
  }

  .ceo_text {
    font-size: 1.5rem;
  }

  /* COMPANY INFO */
  .company_grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 4rem;
  }

  .company_photo_col {
    position: static;
  }

  .company_photo {
    min-height: 24rem;
  }

  .company_table th {
    font-size: 1.1rem;
    width: 10rem;
  }

  .company_table td {
    font-size: 1.4rem;
    padding-left: 1.6rem;
  }

  .related_logo_row {
    flex-direction: column;
  }

  .related_logo_item {
    min-width: unset;
  }
}
