/* ==========================================================================
   その他対応工事（other-works）ページ専用スタイル
   ファイル: assets/css/other-works.css
   読み込み: functions.php > vogue_scripts > is_page('other-works')
   命名規則: body.other-works をルートセレクタとしてスコープを限定する
   ========================================================================== */

/* ---------- ラッパー ---------- */
body.other-works .other-wrap {
  padding-bottom: 0;
}

body.other-works .heading1 {
  text-align: center;
}

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

body.other-works .other-intro__catch {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--color-main);
  padding: 12px 20px;
  text-align: center;
  margin-top: 24px;
  margin-bottom: 16px;
  line-height: 1.6;
}

body.other-works .other-intro__desc {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin: 0;
}

/* ==========================================================================
   セクション共通
   ========================================================================== */
body.other-works .other-section {
  padding: 64px 0;
}

body.other-works .other-section--gray {
  background: #f7f9f7;
}

/* ---------- セクション見出し（h3） ---------- */
body.other-works .other-section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-main);
  padding-left: 16px;
  border-left: 4px solid var(--color-main);
  margin-bottom: 32px;
  line-height: 1.5;
}

/* ==========================================================================
   テキスト＋画像ブロック（共通）
   ========================================================================== */
body.other-works .other-block {
  display: flex;
  gap: 56px;
  align-items: center;
}

/* 画像を左側に（reverse） */
body.other-works .other-block--reverse {
  flex-direction: row-reverse;
}

body.other-works .other-block__img {
  flex-shrink: 0;
  width: 45%;
}

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

body.other-works .other-block__text {
  flex: 1;
  min-width: 0;
}

/* ---------- ラベル ---------- */
body.other-works .other-block__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 8px;
  margin-top: 20px;
}

body.other-works .other-block__label:first-child {
  margin-top: 0;
}

body.other-works .other-block__p {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin: 0;
}

/* ---------- リスト ---------- */
body.other-works .other-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0 4px;
}

body.other-works .other-list__item {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 4px;
}

body.other-works .other-list__item::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--color-main);
}

/* ==========================================================================
   CTAテキスト
   ========================================================================== */
body.other-works .other-cta-text {
  padding: 48px 0 0;
  text-align: center;
}

body.other-works .other-cta-text__p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin: 0;
}

/* PC・タブレット: --sp を非表示 */
body.other-works .other-cta-text--sp {
  display: none;
}

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

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

  body.other-works .other-block {
    gap: 40px;
  }

  body.other-works .other-block__img {
    width: 42%;
  }
}

/* 小タブレット（〜959px） */
@media screen and (max-width: 959px) {
  body.other-works .other-block,
  body.other-works .other-block--reverse {
    flex-direction: column;
  }

  body.other-works .other-block__img {
    width: 100%;
  }
}

/* モバイル（〜640px） */
@media screen and (max-width: 640px) {
  body.other-works .other-wrap .l-inner {
    padding: 0;
  }

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

  body.other-works .other-intro__catch {
    font-size: 16px;
  }

  body.other-works .other-section {
    padding: 40px 0;
  }

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

  body.other-works .other-block {
    gap: 24px;
  }

  body.other-works .other-cta-text--pc {
    display: none;
  }

  body.other-works .other-cta-text--sp {
    display: block;
  }
}
