/* ==========================================================================
   ライトハウスについて（about）ページ専用スタイル
   ファイル: assets/css/about.css
   読み込み: functions.php > vogue_scripts > is_page('about')
   命名規則: body.about をルートセレクタとしてスコープを限定する
   ========================================================================== */

/* ---------- ラッパー ---------- */
body.about .about-wrap {
  padding-bottom: 80px;
}

/* ---------- セクション共通タイトル（h3） ---------- */
body.about .about-section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-main);
  padding-left: 16px;
  border-left: 4px solid var(--color-main);
  margin-bottom: 28px;
  line-height: 1.5;
}

/* ==========================================================================
   イントロ
   ========================================================================== */
body.about .about-intro {
  padding: 48px 0 40px;
}

body.about .about-intro__desc {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin-top: 20px;
}

/* ==========================================================================
   代表メッセージ
   ========================================================================== */
body.about .about-message {
  padding: 56px 0;
  background: #f7f9f7;
}

body.about .about-message__body {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

body.about .about-message__img {
  flex-shrink: 0;
  width: 260px;
}

body.about .about-message__img img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

body.about .about-message__catch {
  font-size: 20px !important;
  font-weight: 700;
  color: #222;
  line-height: 1.8;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-main);
  font-family:
    "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho",
    "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}

body.about .about-message__text p {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin-bottom: 16px;
}

body.about .about-message__text p:last-child {
  margin-bottom: 0;
}

body.about .about-message__sign {
  font-size: 14px;
  color: #555;
  margin-top: 24px;
  text-align: right;
}

/* ==========================================================================
   会社の歩み
   ========================================================================== */
body.about .about-history {
  padding: 56px 0;
}

body.about .about-history__list {
  margin: 0;
  padding: 0;
}

body.about .about-history__item {
  display: flex;
}

body.about .about-history__item + .about-history__item {
  border-top: 1px solid #e0e0e0;
}

body.about .about-history__item:first-child {
  border-top: 1px solid #e0e0e0;
}

body.about .about-history__item:last-child {
  border-bottom: 1px solid #e0e0e0;
}

body.about .about-history__year {
  flex-shrink: 0;
  width: 200px;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--color-main);
  white-space: nowrap;
}

body.about .about-history__desc {
  padding: 18px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  background: #fff;
  flex: 1;
}

/* ==========================================================================
   人材育成の取り組み
   ========================================================================== */
body.about .about-training {
  padding: 56px 0;
  background: #f7f9f7;
}

body.about .about-training__body {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

body.about .about-training__img {
  flex-shrink: 0;
  width: 320px;
}

body.about .about-training__img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

body.about .about-training__text p {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin-bottom: 16px;
}

body.about .about-training__text p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   協力体制について
   ========================================================================== */
body.about .about-network {
  padding: 56px 0;
}

body.about .about-network__text {
  font-size: 15px;
  line-height: 2;
  color: #444;
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */

/* タブレット（〜1024px） */
@media screen and (max-width: 1024px) {
  body.about .about-section-title {
    font-size: 20px;
  }

  body.about .about-message__img {
    width: 220px;
  }

  body.about .about-training__img {
    width: 260px;
  }

  body.about .about-history__year {
    width: 160px;
  }
}

/* 小タブレット（〜959px） */
@media screen and (max-width: 959px) {
  body.about .about-message__body {
    gap: 32px;
  }

  body.about .about-message__img {
    width: 180px;
  }

  body.about .about-training__body {
    flex-direction: column;
  }

  body.about .about-training__img {
    width: 100%;
  }
}

/* モバイル（〜640px） */
@media screen and (max-width: 640px) {
  body.about .about-wrap {
    padding-bottom: 48px;
  }

  body.about .about-wrap .l-inner {
    padding: 0;
  }

  body.about .about-section-title {
    font-size: 18px;
  }

  body.about .about-intro {
    padding: 32px 0 24px;
  }

  body.about .about-message,
  body.about .about-history,
  body.about .about-training,
  body.about .about-network {
    padding: 40px 0;
  }
  body.about .about-history .l-inner{
padding: 0;
  }

  body.about .about-message__body {
    flex-direction: column;
  }

  body.about .about-message__img {
    width: 100%;
  }

  body.about .about-message__img img {
    aspect-ratio: 4 / 3;
  }

  body.about .about-message__catch {
    font-size: 17px;
  }

  body.about .about-history__year {
    width: 100px;
    padding: 14px 12px;
    font-size: 13px;
    white-space: normal;
    display: flex;
    align-items: center;
  }

  body.about .about-history__desc {
    padding: 14px 16px;
    font-size: 14px;
    margin: 0;
  }
}
