@charset "utf-8";

/* ============================================================
   OEM カラー変数
============================================================ */
:root {
  --oem-color: #cd5a5c;
}

/* ============================================================
   ページヘッダー：OEM カラー上書き
============================================================ */
.oem-label {
  color: var(--oem-color);
}

.oem-catch {
  color: var(--oem-color);
}


/* ============================================================
   サービスの特徴
============================================================ */

/* 外枠：左テキスト＋右カード横並び */
.oem-services__body {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

/* 左：テキストエリア */
.oem-services__main {
  flex: 1;
  min-width: 0;
}

.oem-services__main-title {
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: 24px;
  color: #03407a;
  margin: 0 0 20px;
  line-height: 1.6;
}

.oem-services__main-desc {
  font-size: 15px;
  font-weight: 400;
  color: #333;
  line-height: 1.9;
  margin: 0 0 14px;
}

.oem-services__main-desc:last-child {
  margin-bottom: 0;
}

.oem-services__main-desc--bg {
  background-color: #f0cccd;
  padding: 16px 20px;
  border-radius: 4px;
}

/* 右：3段カード縦並び */
.oem-services__cards {
  flex-shrink: 0;
  width: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.oem-services__card {
  background: #faf5f4;
  border: 1px solid var(--oem-color);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: row;  /* SVG左・テキスト中央・画像右 */
  align-items: center;
}

/* 左：SVGアイコン */
.oem-services__card-icon {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}

.oem-services__card-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

/* 中央：タイトル＋チェックリスト */
.oem-services__card-body {
  flex: 1;
  min-width: 0;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.oem-services__card-title {
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--oem-color);
  margin: 0 0 8px;
  line-height: 1.4;
}

.oem-services__card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.oem-services__card-list li {
  font-size: 13px;
  color: #333;
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}

.oem-services__card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 13px;
  height: 13px;
  background-color: var(--oem-color);
  border-radius: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13 4L6.5 11 3 7.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* 右：画像 */
.oem-services__card-img {
  width: 200px;
  height: 150px;
  overflow: hidden;
  flex-shrink: 0;
}

.oem-services__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ============================================================
   実績の紹介
============================================================ */
.case-studies__lead {
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: 22px;
  color: #03407a;
  line-height: 1.6;
  margin: 0 0 32px;
}

.case-studies__grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.case-studies__item {
  width: 180px;
  height: 180px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.case-studies__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ============================================================
   基本プランと内容 ＋ 料金について（横並び2カラム）
============================================================ */
.oem-plans-pricing {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.oem-plans-pricing__col {
  flex: 1;
  min-width: 0;
}

.oem-plans__desc {
  font-size: 15px;
  font-weight: 400;
  color: #333;
  line-height: 1.9;
  margin: 0 0 24px;
}

.oem-plans__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background-color: #BF0000;
  /*background-color: var(--oem-color);*/
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  border-radius: 2px;
  transition: opacity 0.2s ease;
}

.oem-plans__btn:hover {
  opacity: 0.75;
}

/* child.cssのpricingボタンをOEMカラーで上書き */
.oem-plans-pricing__col .pricing__btn {
	background-color: #BF0000;
 /* background-color: var(--oem-color);*/
}


/* ============================================================
   導入の流れ：ステップ番号＆アローをOEMカラーに
============================================================ */
.oem-steps__num {
  background-color: var(--oem-color) !important;
}

/* child.cssのsteps__item::afterアローをOEMカラーで上書き */
#service-flow .steps__item:not(:nth-child(3n))::after {
  border-left-color: var(--oem-color);
}


/* ============================================================
   FAQ：QバッジをOEMカラーに
============================================================ */
.oem-faq__q {
  background-color: var(--oem-color) !important;
}


/* ============================================================
   @media SP（1024px以下）
============================================================ */
@media (max-width: 1024px) {

  /* サービスの特徴：左右→縦並び */
  .oem-services__body {
    flex-direction: column;
    gap: 32px;
  }

  .oem-services__cards {
    width: 100%;
    flex-direction: column;
    gap: 16px;
  }

  /* SP時：カードは横並び維持（アイコン小さく・画像を右） */
  .oem-services__card {
    height: auto;
    min-height: 120px;
  }

  .oem-services__card-icon {
    width: 64px;
    height: 64px;
    padding: 0 4px;
  }

  .oem-services__card-icon img {
    width: 64px;
    height: 64px;
  }

  .oem-services__card-img {
    width: 120px;
    height: 120px;
  }

  /* 実績の紹介：3列折り返し */
  .case-studies__grid {
    justify-content: center;
    gap: 12px;
  }

  .case-studies__item {
    width: calc(33.333% - 8px);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .case-studies__lead {
    font-size: 18px;
  }

  /* 基本プランと内容 + 料金：縦並び */
  .oem-plans-pricing {
    flex-direction: column;
    gap: 40px;
  }

  /* 中列セパレーター */
  .oem-plans-pricing__col:first-child {
    padding-bottom: 40px;
    border-bottom: 1px solid #d0dce8;
  }

} /* end @media 1024px */