@charset "UTF-8";
/* =======================================================
サービス下層の共通部品（11/23）：④オウンドメディア採用支援・②採用Instagram運用代行・③採用YouTube運用代行
④（Figma ④ PC 1470:41390／SP 1488:41673）で作った部品のうち、②③でも同じ見た目のものをここへ移した。
クラス名の p-om は④で最初に作ったときの名前のまま（②③のページも main に .p-om-page、本文の帯に .p-om を付けて使う）。
④だけの部品（調査の数字・媒体ごとの役割・AI検索・SNS採用代行との違い・横5段の進め方・価格の箱）は service-owned-media.css、
②③だけの部品は service-sns-sub.css。
下層サービスの土台（service-common.css・service-lower.css）の上に足す。既存の部品を直すときは .p-om-page / .p-om の中に閉じる。
数値は Figma の px ÷ 16 の rem（PCは1440px幅、SPは375px幅で Figma と同じ大きさ）
======================================================= */

/* 横はみ出し対策（11/23）：このページ群では service-common.css の .l-all__wrapper { overflow: visible } が common-2026.css の overflow-x: clip より後に読まれ、
   clip が外れていた（SNS採用代行は読み込み順で clip が勝っている）。そのため縦スクロールバーが幅を取るブラウザでは、100vw で敷いた帯（概要の背景・CTA帯）が
   スクロールバーの幅（8px前後）だけはみ出して横スクロールが出ていた（④の769pxで報告）。②の事例スライダーの複製カードも右へはみ出す。④②③で clip に戻す */
.l-all__wrapper:has(.p-om-page) { overflow-x: clip; }

/* ---------- 下層MV（PC：見出し上200・FVは上377／SP：見出し上140・2行、英字の下30でFV） ---------- */
@media screen and (min-width: 769px) {
  .p-om-page .l-lower-mv { padding-bottom: 3.0625rem; }
  /* パンくず：Figma 1470:41403 は上301・高さ28（英字ラベルの行の下端にそろう） */
  .p-om-page .l-lower-mv .p-lower-mv__inner > .p-bread { bottom: -0.0625rem; }
}
/* SP：見出しの上は下層共通の108（10/14谷の決定・common-2026.css）。Figma SP は140のままだが共通に合わせる。英字の下30でFV */
@media screen and (max-width: 768px) {
  .p-om-page .l-lower-mv { padding-bottom: 1.875rem; }
  .p-om-page .p-lower-mv__hgroup-txt { margin-bottom: 0.6875rem; }
}

/* ---------- FV（Figma 1470:42022：1220×440・文字は左80上40／SP 1488:41677：幅375・高さ400・文字は左25上48） ---------- */
.p-om-fv-section { margin: 0 0 3.25rem; }
.p-om-fv {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 27.5rem;
  padding: 2.5rem 5rem;
  overflow: hidden;
  background: var(--color-gray03);
  border-radius: 1.875rem;
}
.p-om-fv__text { position: relative; z-index: 2; width: 35.625rem; }
.p-om-fv__ttl {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  line-height: calc(55/32);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.p-om-fv__lead {
  width: 31.25rem;
  margin-bottom: 2.5rem;
  font-size: 1rem;
  line-height: calc(42/16);
}
.p-om-fv__btns { display: flex; gap: 1.25rem; }
.p-om-fv__btn.c-btn { min-width: 12rem; }
/* 右の絵：FVの右端にそろえ、上下いっぱい（書き出しは右端の角丸まで含む） */
.p-om-fv__visual {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 35rem;
  height: 100%;
  pointer-events: none;
}
.p-om-fv__visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center; }

/* ロゴ帯：FVの下52・本文の帯の上80 */
@media screen and (min-width: 769px) {
  .p-om-fv-section ~ .p-logo-rows { margin-bottom: 5rem; }
}

@media screen and (max-width: 768px) {
  .p-om-fv-section { margin-bottom: 1.875rem; }
  .p-om-fv {
    left: 50%;
    display: block;
    width: 100vw;
    min-height: 25rem;
    margin-left: -50vw;
    padding: 3rem 1.5625rem 0;
    border-radius: 0.9375rem 0.9375rem 0 0;
  }
  .p-om-fv__text { width: auto; }
  .p-om-fv__ttl { margin-bottom: 0.5rem; font-size: 1.375rem; line-height: calc(35/22); }
  .p-om-fv__lead { width: auto; margin-bottom: 2.5rem; font-size: 0.875rem; line-height: calc(32/14); }
  .p-om-fv__btns { gap: 0.75rem; }
  .p-om-fv__btn.c-btn { min-width: 9.0625rem; height: 2.875rem; }
  /* SPの絵は右下 260×201（Figma 1488:41679 のマスクの範囲） */
  .p-om-fv__visual { top: auto; bottom: 0; width: 16.25rem; height: auto; }
  .p-om-fv__visual img { height: auto; }
  .p-om-fv-section ~ .p-logo-rows { margin-bottom: 1.875rem; }
}

/* ---------- 課題／解決（既存の部品。Figma：中身は本文の列の50右から幅1000） ---------- */
@media screen and (min-width: 769px) {
  .p-om .p-lower-service__overview { padding-bottom: 6.375rem; } /* Figma：帯は上1069〜下2236（高さ1167） */
  .p-om .p-lower-service__overview-conts { gap: 6.25rem; }
  .p-om .p-lower-service__overview-cont { margin-right: -3.125rem; padding-left: 3.125rem; }
  .p-om .p-lower-service__overview-cont-column { grid-template-columns: 1fr 35.4375rem; gap: 3.125rem; }
  .p-om .p-lower-service__overview-cont-column-txt { padding-top: 0.5rem; font-size: 0.875rem; line-height: calc(30/14); }
  .p-om .p-lower-service__overview + .c-ctab--mid { margin-top: 1.875rem; }
}
@media screen and (max-width: 768px) {
  .p-om .p-lower-service__overview { padding: 3.75rem 0; }
  /* Figma SP 1488:41747：課題の3行は色分けしない */
  .p-om .p-lower-service__overview-cont-item .u-color__accent { color: inherit; }
  .p-om .p-lower-service__overview-cont-column { gap: 1.5625rem; }
  .p-om .p-lower-service__overview-cont-column-txt { font-size: 0.875rem; line-height: calc(26/14); }
}

/* まとめて立ち上げる3つの利点（Figma 1558:700／SP 1558:713） */
.p-om-merit {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}
.p-om-merit__item {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  min-height: 14.625rem;
  padding: 1.75rem;
  background: var(--color-white);
  border-radius: 1.25rem;
}
.p-om-merit__num { font-size: 1.375rem; line-height: calc(30/22); color: var(--color-accent); }
.p-om-merit__ttl { font-size: 1.0625rem; line-height: calc(28/17); }
.p-om-merit__txt { font-size: 0.8125rem; line-height: calc(24/13); }
@media screen and (max-width: 768px) {
  .p-om-merit { grid-template-columns: 1fr; gap: 0.625rem; margin-top: 1.75rem; }
  .p-om-merit__item { gap: 0.375rem; min-height: 0; padding: 1.25rem; border-radius: 1rem; }
  .p-om-merit__num { font-size: 1.125rem; line-height: calc(24/18); }
  .p-om-merit__ttl { font-size: 0.9375rem; line-height: calc(24/15); }
  .p-om-merit__txt { line-height: calc(22/13); }
}

/* ---------- 共通：セクション（PC：間120・見出しの下32／SP：間60・見出しの下30） ---------- */
.p-om__sec { padding-top: 7.5rem; }
.p-om__ttl { margin-bottom: 2rem; }
.p-om__sec.--price .p-om__ttl,
.p-om__sec.--faq .p-om__ttl { margin-bottom: 2.5rem; }
.p-om__lead { font-size: 1rem; line-height: 2; }
.p-om__source { margin-top: 2rem; font-size: 0.75rem; line-height: calc(22/12); color: #787d8c; }
.p-om .c-ctab--mid + .p-om__sec { padding-top: 7.5rem; }
.p-om__sec + .c-ctab--mid { margin-top: 7.5rem; }
@media screen and (min-width: 769px) {
  /* 関連サービスの下128で末尾のCTA帯（Figma 9030→9158） */
  .p-om.l-lower-service > .l-inner { padding-bottom: 8rem; }
}
@media screen and (max-width: 768px) {
  .p-om__sec { padding-top: 3.75rem; }
  .p-om__ttl { margin-bottom: 1.875rem; }
  .p-om__sec.--price .p-om__ttl,
  .p-om__sec.--faq .p-om__ttl { margin-bottom: 1.875rem; }
  .p-om__lead { font-size: 0.875rem; line-height: calc(26/14); }
  .p-om__source { margin-top: 1.875rem; font-size: 0.6875rem; line-height: calc(19/11); }
  .p-om .c-ctab--mid + .p-om__sec { padding-top: 3.75rem; }
  .p-om__sec + .c-ctab--mid { margin-top: 3.75rem; }
  /* 関連サービスの下60でAIボタン（上下16） */
  .p-om.l-lower-service > .l-inner { padding-bottom: 4.75rem; }
  .p-om.l-lower-service > .c-ai-ask--sp { margin-bottom: 1rem; }
}

/* ---------- 価格を問い合わせるボタン（④の価格・②③の価格で共通） ---------- */
.p-om-price__btn.c-btn {
  position: relative;
  justify-content: center;
  width: 19.375rem;
  max-width: 100%;
  height: 4rem;
  margin-top: 2.5rem;
  font-size: 1.25rem;
  line-height: calc(28/20);
}
.p-om-price__btn.c-btn::after { position: absolute; top: 50%; right: 2rem; transform: translateY(-50%); }
@media screen and (max-width: 768px) {
  .p-om-price__btn.c-btn { width: 100%; margin-top: 1.875rem; font-size: 1rem; }
  .p-om-price__btn.c-btn::after { right: 1.75rem; }
}

/* ---------- よくあるご質問（Figma 1470:41960／SP 1488:42211） ---------- */
.p-om-faq { display: grid; gap: 2.5rem; }
.p-om-faq__item { display: grid; gap: 1.25rem; }
.p-om-faq__q {
  padding-bottom: 0.75rem;
  font-size: 1.25rem;
  line-height: calc(36/20);
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-gray02);
}
.p-om-faq__a { font-size: 0.875rem; line-height: calc(30/14); }
@media screen and (max-width: 768px) {
  .p-om-faq { gap: 1.875rem; }
  .p-om-faq__item { gap: 1rem; }
  .p-om-faq__q { font-size: 1rem; line-height: calc(28/16); }
  .p-om-faq__a { line-height: calc(26/14); }
}

/* ---------- あわせて検討されるサービス（Figma 1554:688：4枚のカード／SP 1554:775：横長の行） ---------- */
.p-om-related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.p-om-related__link {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  padding: 0.875rem 0.875rem 1.25rem;
  background: var(--color-gray03);
  border-radius: 1.25rem;
}
@media (hover: hover) {
  .p-om-related__link:hover { opacity: 0.7; }
}
.p-om-related__img img { display: block; width: 100%; height: auto; aspect-ratio: 207 / 120; border-radius: 0.75rem; }
.p-om-related__body { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.125rem 0.375rem 0; }
.p-om-related__ttl { font-size: 1rem; line-height: calc(28/16); }
.p-om-related__txt { font-size: 0.8125rem; line-height: calc(22/13); }
.p-om-related__more { font-size: 0.8125rem; line-height: calc(22/13); color: var(--color-accent); }
@media screen and (max-width: 768px) {
  .p-om-related { grid-template-columns: 1fr; gap: 0.625rem; }
  .p-om-related__link { flex-direction: row; align-items: center; padding: 0.75rem 0.875rem 0.75rem 0.625rem; border-radius: 1rem; }
  .p-om-related__img { flex-shrink: 0; width: 5rem; }
  .p-om-related__img img { aspect-ratio: 80 / 56; border-radius: 0.625rem; }
  .p-om-related__body { flex: 1; min-width: 0; gap: 0.125rem; padding: 0; }
  .p-om-related__ttl { font-size: 0.8125rem; line-height: calc(22/13); }
  .p-om-related__txt { font-size: 0.75rem; line-height: calc(20/12); }
  .p-om-related__arrow { flex-shrink: 0; font-size: 1rem; line-height: 1.5rem; color: var(--color-accent); }
}

/* 11/23：FAQの答えの中のリンク */
.p-om .p-om-faq__link { color: #1e78eb; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .p-om .p-om-faq__link:hover { text-decoration: none; } }

/* ---------- ②③④ 進め方（11/23 サイト点検 P9 で④も縦の帯に）：3つのカードを点線でつなぐ（Figma ② 1513:41247／SP 1488:40786。③ 1541:654 も同じ部品。
   ③SP 1491:41718 は点線なし・間12だが、②SPと同じ部品にそろえる） ---------- */
.p-svc-steps { display: flex; flex-direction: column; gap: 2.5rem; }
.p-svc-steps__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4375rem;
  padding: 2rem 2.5rem 1.875rem;
  background: var(--color-gray03);
  border-radius: 1.875rem;
}
/* 点線：PCは太さ1.5・長さ3・間5（両端は半分）、SPは太さ1・長さ2・間3。カードの間の真ん中に縦に引く */
.p-svc-steps__item:not(:last-child)::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1.5px;
  height: 2.5rem;
  content: "";
  background: repeating-linear-gradient(to bottom, var(--color-txt) 0 3px, transparent 3px 8px) 0 -1.5px;
  transform: translateX(-50%);
}
.p-svc-steps__ttl { font-size: 1.25rem; line-height: calc(36/20); }
.p-svc-steps__txt { font-size: 0.875rem; line-height: calc(30/14); }
@media screen and (max-width: 768px) {
  .p-svc-steps { gap: 1.25rem; }
  .p-svc-steps__item { gap: 0.625rem; padding: 1.75rem 1.46875rem; border-radius: 0.9375rem; }
  .p-svc-steps__item:not(:last-child)::after {
    width: 1px;
    height: 1.25rem;
    background: repeating-linear-gradient(to bottom, var(--color-txt) 0 2px, transparent 2px 5px) 0 -1px;
  }
  .p-svc-steps__ttl { font-size: 1rem; line-height: calc(26/16); }
  .p-svc-steps__txt { line-height: calc(26/14); }
}
