@charset "UTF-8";
/* 参考LP（YouTube/Instagram）と同一のWebフォントを読み込む */
@import url("https://fonts.googleapis.com/css2?family=Rozha+One&family=Oswald&family=Noto+Serif&family=IBM+Plex+Serif&family=IBM+Plex+Sans+JP:wght@400;500;700&display=swap");
/*-変数定義 font
------------------------------*/
/*--------------------------
font-size
---------------------------*/
/*行間計算*/
/*--------------------------
content-width
---------------------------*/
/* =========================================================
   内製化支援ページ /service/inhouse-support/
   ========================================================= */

/* 横スクロール防止（このページ限定）。
   reCAPTCHA の固定バッジ（position:fixed; right:-186px）など画面外要素が
   実機(特にiOS Safari)で横スクロールを誘発するのを抑止する。
   scroll 起点の <html> も :has() で対象にする。 */
html:has(body.page-inhouse) {
  overflow-x: hidden;
}
body.page-inhouse {
  overflow-x: hidden;
}

.page-inhouse__content {
  padding-bottom: 6.875rem;
}
@media screen and (max-width:767px) {
  .page-inhouse__content {
    padding-bottom: 4.375rem;
  }
}
.page-inhouse__content .top-column__head::before {
  content: none;
}
/* ---------- 見出し: 参考LP（YouTube/Instagram）トンマナに統一
   黒の大見出し ＋ 背後に Rozha One の薄い英字ウォーターマーク（section__side-text 相当）。
   従来の「小さな英字ラベル＋黄グラデ見出し」を置き換える。 ---------- */
.page-inhouse__content .top-column__head {
  position: relative;
  text-align: center;
  margin-bottom: 2.75rem;
  padding-top: 3.4rem;
  overflow: hidden;
}
@media screen and (max-width:767px) {
  .page-inhouse__content .top-column__head {
    padding-top: 2.4rem;
    margin-bottom: 1.75rem;
  }
}
/* 英字ラベル → 巨大な薄いウォーターマーク */
.page-inhouse__content .top-column__head-en,
.page-inhouse__content .top-common__head-en {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0 auto;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: #f1f1f1;
  white-space: nowrap;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  z-index: 0;
}
/* 日本語見出し → ソリッドな黒の太字（黄グラデ廃止） */
.page-inhouse__content .top-column__head-title {
  position: relative;
  z-index: 1;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #1a1a1a;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #1a1a1a;
}
.page-inhouse__content .top-column__head-title span {
  display: inline-block;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #1a1a1a;
  color: #1a1a1a;
}
/* リード文 */
.page-inhouse__content .top-column__head-text {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.9;
}
@media screen and (max-width:767px) {
  .page-inhouse__content .top-column__head-text {
    font-size: 0.875rem;
  }
}

/* ---------- 共通: セクション余白 ---------- */
.page-inhouse-after,
.page-inhouse-roadmap,
.page-inhouse-meeting,
.page-inhouse-supportsys,
.page-inhouse-deliverables,
.page-inhouse-fit,
.page-inhouse-case,
.page-inhouse-price {
  padding: 5rem 0;
}
@media screen and (max-width:767px) {
  .page-inhouse-after,
  .page-inhouse-roadmap,
  .page-inhouse-meeting,
  .page-inhouse-supportsys,
  .page-inhouse-deliverables,
  .page-inhouse-fit,
  .page-inhouse-case,
  .page-inhouse-price {
    padding: 3rem 0;
  }
}

/* ---------- FV 追加調整 ---------- */
.page-inhouse-fv__lead-small {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #eba138;
  margin-bottom: 0.625rem;
}
@media screen and (max-width:767px) {
  .page-inhouse-fv__lead-small {
    font-size: 0.8125rem;
  }
}

.page-inhouse-fv .page-common__head-title.page-inhouse-fv__title span {
  display: inline;
}
.page-inhouse-fv .page-common__head-title.page-inhouse-fv__title .--color--yellow-grad {
  display: inline-block;
}

.page-inhouse-fv .page-common__head-body {
  width: 50%;
  padding-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 990px) {
  .page-inhouse-fv .page-common__head-body {
    width: 100%;
  }
}
.page-inhouse-fv .page-common__head-flex::before {
  z-index: 0;
  color: #f3f3f3;
}
.page-inhouse-fv .page-common__head-img {
  width: 50%;
  align-self: center;
}
@media screen and (max-width: 990px) {
  .page-inhouse-fv .page-common__head-img {
    width: 100%;
  }
}
.page-inhouse-fv .page-common__head-img img {
  width: 100%;
  height: auto;
}
.page-inhouse-fv .page-common__head-detail {
  line-height: 1.9;
}

/* ---------- 数字で見る実績（stats） ----------
   TOP と同一デザインに統一するため、内製化専用の上書きは撤去。
   共通の css/stats.css（白地・薄グレー枠の円形＋グラデ数字）をそのまま使う。
   ただし stats__item-head / -value は <p> のため、後段の本文フォント指定
   （.page-inhouse__content p { font-family: var(--lp-body-font) }）が誤って効く。
   TOP と同じ Noto Serif に戻す（フォント・字間を stats.css と一致させる）。 */
.page-inhouse__content .stats__item-head {
  font-family: "Noto Serif jp", serif;
  letter-spacing: 0.06em;
}
.page-inhouse__content .stats__item-value {
  font-family: "Noto Serif jp", serif;
  letter-spacing: 0.04em;
}

/* ---------- 取引先ロゴ ---------- */
.page-inhouse-clients {
  padding: 1.5rem 0 5rem;
}
@media screen and (max-width:767px) {
  .page-inhouse-clients {
    padding: 1.25rem 0 3rem;
  }
}

.page-inhouse-clients__catch {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: #eba138;
  margin-bottom: 1.75rem;
}
@media screen and (max-width:767px) {
  .page-inhouse-clients__catch {
    font-size: 0.9375rem;
  }
}

.page-inhouse-clients .page-about-results__img {
  margin-top: 0;
  max-width: 62.5rem;
  margin-left: auto;
  margin-right: auto;
}

.page-inhouse-clients .page-about-results__img-top,
.page-inhouse-clients .page-about-results__img-bottom {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 0;
}
@media screen and (max-width:767px) {
  /* SPは2列グリッド（確実に2列で詰める）。1個だけ余った行は中央寄せ */
  .page-inhouse-clients .page-about-results__img-top,
  .page-inhouse-clients .page-about-results__img-bottom {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  /* 余り1個（奇数個の最後＝5個目）は2列ぶんを使って中央に */
  .page-inhouse-clients .page-about-results__img-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 0.375rem);
  }
}

.page-inhouse-clients .page-about-results__img-item {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
}
.page-inhouse-clients .page-about-results__img-item img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 3rem;
  object-fit: contain;
}

.page-inhouse-clients .page-about-results__img-bottom {
  margin-top: 1.25rem;
}

/* ---------- 02 After像 ---------- */
.page-inhouse-after__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media screen and (max-width:767px) {
  .page-inhouse-after__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.page-inhouse-after__item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  border: 1px solid #dedede;
  border-radius: 0.5rem;
  padding: 1.5rem;
  background: #fff;
}
@media screen and (max-width:767px) {
  .page-inhouse-after__item {
    padding: 1rem;
    gap: 0.875rem;
  }
}

.page-inhouse-after__item-img {
  flex: 0 0 11rem;
}
.page-inhouse-after__item-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 0.25rem;
}
@media screen and (max-width:767px) {
  .page-inhouse-after__item-img {
    flex-basis: 8rem;
  }
}

.page-inhouse-after__item-title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0.625rem;
}
@media screen and (max-width:767px) {
  .page-inhouse-after__item-title {
    font-size: 0.9375rem;
  }
}

.page-inhouse-after__item-text {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #737373;
}

.page-inhouse-after__note {
  margin-top: 2.25rem;
  background: #fff7cc;
  border-radius: 0.5rem;
  padding: 1.75rem 1.5rem;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.8;
}
.page-inhouse-after__note strong {
  font-weight: 700;
}
@media screen and (max-width:767px) {
  .page-inhouse-after__note {
    font-size: 0.9375rem;
    padding: 1.25rem 1rem;
  }
}

/* ---------- 03 ロードマップ ---------- */
.page-inhouse-roadmap__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media screen and (max-width:767px) {
  .page-inhouse-roadmap__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.page-inhouse-roadmap__item {
  display: flex;
  flex-direction: column;
  border: 1px solid #dedede;
  border-top: 0.375rem solid #E8B500;
  border-radius: 0.25rem;
  padding: 1.25rem 1.125rem 1.5rem;
  background: #fff;
}

.page-inhouse-roadmap__item-img img {
  display: block;
  width: 100%;
  aspect-ratio: 265/160;
  height: auto;
  object-fit: cover;
  border-radius: 0.25rem;
  background: #f0f0f0;
}

.page-inhouse-roadmap__item-month {
  margin-top: 1.125rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #eba138;
}

.page-inhouse-roadmap__item-title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0.5rem 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ececec;
}

.page-inhouse-roadmap__item-list {
  flex: 1;
  margin-bottom: 1.125rem;
}

.page-inhouse-roadmap__item-list-item {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.page-inhouse-roadmap__item-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  background: #E8B500;
  border-radius: 0.1875rem;
}
.page-inhouse-roadmap__item-list-item::after {
  content: "";
  position: absolute;
  /* チェックボックス(::before: left:0, top:0.25rem, 1rem角)の中心に合わせる */
  left: 0.5rem;   /* 箱の横中心 */
  top: 0.75rem;   /* 箱の縦中心 (0.25rem + 0.5rem) */
  width: 0.5rem;
  height: 0.25rem;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -60%) rotate(-45deg);
  transform-origin: center;
}

.page-inhouse-roadmap__item-count {
  background: #f5c224;
  border-radius: 0.25rem;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.625rem;
}

.page-inhouse-roadmap__item-note {
  text-align: center;
  font-size: 0.75rem;
  color: #737373;
  margin-top: 0.625rem;
}

.page-inhouse-roadmap__summary {
  margin-top: 1.75rem;
  background: #1a1a2e;
  color: #fff;
  border-radius: 0.25rem;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 1.25rem;
}
@media screen and (max-width:767px) {
  .page-inhouse-roadmap__summary {
    font-size: 0.8125rem;
  }
}

/* ---------- 04 ミーティング設計 ---------- */
.page-inhouse-meeting__block {
  margin-top: 3rem;
}
.page-inhouse-meeting__block:first-of-type {
  margin-top: 2.5rem;
}

.page-inhouse-meeting__block-title {
  border-left: 0.25rem solid #E8B500;
  padding-left: 0.875rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.page-inhouse-meeting__block-title-main {
  font-size: 1.25rem;
  font-weight: 700;
}
.page-inhouse-meeting__block-title-sub {
  font-size: 1rem;
  font-weight: 700;
}
.page-inhouse-meeting__block-title-sub::before {
  content: "｜";
  color: #bbb;
}
@media screen and (max-width:767px) {
  .page-inhouse-meeting__block-title-main {
    font-size: 1.0625rem;
  }
  .page-inhouse-meeting__block-title-sub {
    font-size: 0.875rem;
    display: block;
  }
  .page-inhouse-meeting__block-title-sub::before {
    content: none;
  }
}

.page-inhouse-meeting__block-lead {
  font-size: 0.875rem;
  color: #737373;
  margin-bottom: 1.25rem;
  padding-left: 1.125rem;
}

.page-inhouse-meeting__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media screen and (max-width:767px) {
  .page-inhouse-meeting__grid {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }
}

.page-inhouse-meeting__card {
  background: #fafafa;
  border: 1px solid #dedede;
  border-radius: 0.5rem;
  padding: 1.375rem 1.25rem;
}
.page-inhouse-meeting__card--lecture {
  background: #fff;
  border-top: 0.25rem solid #E8B500;
}

.page-inhouse-meeting__card-month {
  display: inline-block;
  background: #ececec;
  border-radius: 1.25rem;
  font-size: 0.75rem;
  padding: 0.1875rem 0.75rem;
  margin-bottom: 0.5rem;
}

.page-inhouse-meeting__card-no {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #eba138;
}

.page-inhouse-meeting__card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #ececec;
}

.page-inhouse-meeting__card-list-item {
  position: relative;
  padding-left: 1.125rem;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0.625rem;
}
.page-inhouse-meeting__card-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.375rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #E8B500;
}

.page-inhouse-meeting__note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 700;
}
@media screen and (max-width:767px) {
  .page-inhouse-meeting__note {
    font-size: 0.8125rem;
  }
}

/* ---------- 05 サポート体制 ---------- */
.page-inhouse-supportsys__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}
@media screen and (max-width:767px) {
  .page-inhouse-supportsys__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.page-inhouse-supportsys__card {
  border: 1px solid #dedede;
  border-radius: 0.75rem;
  padding: 2rem 1.75rem;
  text-align: center;
}

.page-inhouse-supportsys__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #fff7cc;
}
.page-inhouse-supportsys__card-icon img {
  width: 2.5rem;
  height: 2.5rem;
}

.page-inhouse-supportsys__card-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.page-inhouse-supportsys__card-sub {
  font-size: 0.8125rem;
  color: #737373;
  margin-top: 0.375rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ececec;
}

.page-inhouse-supportsys__card-text {
  font-size: 0.875rem;
  line-height: 1.7;
  text-align: left;
  margin: 1rem 0;
}

.page-inhouse-supportsys__card-example {
  background: #fafafa;
  border-radius: 0.5rem;
  padding: 1.125rem 1.25rem;
  text-align: left;
}
.page-inhouse-supportsys__card-example-title {
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}
.page-inhouse-supportsys__card-example-list li {
  font-size: 0.8125rem;
  line-height: 1.6;
  padding: 0.5rem 0;
  border-top: 1px solid #ececec;
}
.page-inhouse-supportsys__card-example-list li:first-child {
  border-top: none;
}

/* ---------- 10 よくあるご質問（faq LPデザインを内製化ページ用に実装） ---------- */
.page-inhouse-faq {
  padding: 5rem 0;
  background: #fafafa;
}
@media screen and (max-width:767px) {
  .page-inhouse-faq {
    padding: 3rem 0;
  }
}

.page-inhouse-faq .faq__inner {
  max-width: 56.25rem;
  margin: 0 auto;
  padding: 0 5%;
}

.page-inhouse-faq .faq__side-text {
  display: none;
}

.page-inhouse-faq .faq__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.page-inhouse-faq .faq__title {
  font-size: 2rem;
  font-weight: 700;
}
@media screen and (max-width:767px) {
  .page-inhouse-faq .faq__title {
    font-size: 1.5rem;
  }
}

.page-inhouse-faq .faq__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-inhouse-faq .faq__item {
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 0.5rem;
  padding: 1.375rem 1.75rem;
  cursor: pointer;
}
@media screen and (max-width:767px) {
  .page-inhouse-faq .faq__item {
    padding: 1rem 1.125rem;
  }
}

.page-inhouse-faq .faq__question {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
}
.page-inhouse-faq .faq__question::before {
  content: "Q.";
  flex: 0 0 auto;
  font-family: "Rozha One", serif;
  color: #eba138;
  font-size: 1.625rem;
  line-height: 1;
}
@media screen and (max-width:767px) {
  .page-inhouse-faq .faq__question {
    font-size: 0.9375rem;
    gap: 0.625rem;
  }
  .page-inhouse-faq .faq__question::before {
    font-size: 1.25rem;
  }
}

.page-inhouse-faq .faq__question-text {
  flex: 1;
}

.page-inhouse-faq .faq__question-icon {
  flex: 0 0 auto;
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}
.page-inhouse-faq .faq__question-icon img {
  width: 100%;
  height: 100%;
  background: none;
}

.page-inhouse-faq .faq__item.is-active .faq__question-icon {
  transform: rotate(180deg);
}

.page-inhouse-faq .faq__answer {
  display: flex;
  gap: 1rem;
  margin-top: 1.125rem;
  padding-top: 1.125rem;
  border-top: 1px solid #ececec;
}
.page-inhouse-faq .faq__answer::before {
  content: "A.";
  flex: 0 0 auto;
  font-family: "Rozha One", serif;
  color: #E8B500;
  font-size: 1.625rem;
  line-height: 1;
}
@media screen and (max-width:767px) {
  .page-inhouse-faq .faq__answer {
    gap: 0.625rem;
  }
  .page-inhouse-faq .faq__answer::before {
    font-size: 1.25rem;
  }
}

.page-inhouse-faq .faq__answer-text {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.8;
  color: #444;
}

/* ---------- 中間/最終 CTA（リッチデザイン） ---------- */
.page-inhouse-cta {
  padding: 5rem 0;
}
@media screen and (max-width:767px) {
  .page-inhouse-cta {
    padding: 3rem 0;
  }
}

.page-inhouse-cta__box {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 1.25rem;
  padding: 3.5rem 2.5rem;
  background: radial-gradient(circle at 12% 18%, rgba(221, 215, 2, 0.22), transparent 42%), radial-gradient(circle at 88% 88%, rgba(235, 161, 56, 0.22), transparent 45%), linear-gradient(135deg, #20202f 0%, #14141f 100%);
  color: #fff;
  box-shadow: 0 1.25rem 2.8125rem rgba(0, 0, 0, 0.18);
}
.page-inhouse-cta__box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.375rem;
  background: linear-gradient(to right, #E8B500, #eba138);
}
@media screen and (max-width:767px) {
  .page-inhouse-cta__box {
    padding: 2.5rem 1.25rem;
    border-radius: 0.875rem;
  }
}

.page-inhouse-cta__label {
  display: block;
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  color: #E8B500;
  margin-bottom: 0.75rem;
}

.page-inhouse-cta__title {
  font-size: 2.375rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 1.125rem;
}
@media screen and (max-width:767px) {
  .page-inhouse-cta__title {
    font-size: 1.5rem;
  }
}

.page-inhouse-cta__lead {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}
.page-inhouse-cta__lead strong {
  color: #E8B500;
  font-weight: 700;
}
@media screen and (max-width:767px) {
  .page-inhouse-cta__lead {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }
}

.page-inhouse-cta__button-wrap {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.page-inhouse-cta__button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 18.75rem;
  padding: 1.125rem 2rem;
  border-radius: 3.125rem;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.3;
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
}
.page-inhouse-cta__button:hover {
  transform: translateY(-0.1875rem);
}
.page-inhouse-cta__button.--yellow {
  background: linear-gradient(135deg, #E8B500, #eba138);
  color: #1a1a2e;
  box-shadow: 0 0.625rem 1.5rem rgba(235, 161, 56, 0.4);
}
.page-inhouse-cta__button.--gray {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}
.page-inhouse-cta__button.--gray:hover {
  background: rgba(255, 255, 255, 0.16);
}
@media screen and (max-width:767px) {
  .page-inhouse-cta__button {
    min-width: 16.25rem;
    font-size: 0.9375rem;
  }
}

.page-inhouse-cta__button-sub {
  font-size: 0.6875rem;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 0.25rem;
}

.page-inhouse-cta__note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1.25rem;
}

/* ---------- 06 納品物 ---------- */
.page-inhouse-deliverables__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}
@media screen and (max-width:767px) {
  .page-inhouse-deliverables__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.page-inhouse-deliverables__item {
  border: 1px solid #dedede;
  border-top: 0.3125rem solid #E8B500;
  border-radius: 0.25rem;
  padding: 1.5rem;
  background: #fff;
}

.page-inhouse-deliverables__item-head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.page-inhouse-deliverables__item-no {
  flex: 0 0 2.25rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  /* 内製化ページ共通のアクセントグラデ（オレンジ→ゴールド）に統一 */
  background: var(--lp-grad);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-inhouse-deliverables__item-title {
  font-size: 1.125rem;
  font-weight: 700;
}

.page-inhouse-deliverables__item-sub {
  font-size: 0.8125rem;
  color: #737373;
}

.page-inhouse-deliverables__item-list {
  margin: 1rem 0;
}

.page-inhouse-deliverables__item-list-item {
  position: relative;
  padding-left: 1.125rem;
  font-size: 0.8125rem;
  line-height: 1.7;
}
.page-inhouse-deliverables__item-list-item::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #eba138;
  font-weight: 700;
}

.page-inhouse-deliverables__item-img img {
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
  border: 1px solid #ececec;
}

/* ---------- 適性（向き/不向き） ---------- */
.page-inhouse-fit__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media screen and (max-width:767px) {
  .page-inhouse-fit__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.page-inhouse-fit__col {
  border-radius: 0.75rem;
  padding: 1.75rem;
}
.page-inhouse-fit__col--yes {
  background: #fff7cc;
  border: 2px solid #E8B500;
}
.page-inhouse-fit__col--no {
  background: #f5f5f5;
  border: 2px solid #e0e0e0;
}

.page-inhouse-fit__col-label {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.375rem 1.25rem;
  border-radius: 1.25rem;
  margin-bottom: 1.25rem;
}
.page-inhouse-fit__col--yes .page-inhouse-fit__col-label {
  background: #E8B500;
  color: #1a1a2e;
}
.page-inhouse-fit__col--no .page-inhouse-fit__col-label {
  background: #bdbdbd;
  color: #fff;
}

.page-inhouse-fit__list-item {
  padding: 1rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.page-inhouse-fit__list-item:first-child {
  border-top: none;
  padding-top: 0;
}
.page-inhouse-fit__list-item dt {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.375rem;
}
.page-inhouse-fit__list-item dd {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #555;
}

.page-inhouse-fit__cta-text {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.875rem;
}
.page-inhouse-fit__cta-text a {
  display: inline-block;
  margin-left: 0.5rem;
  color: #eba138;
  font-weight: 700;
  text-decoration: underline;
}
@media screen and (max-width:767px) {
  .page-inhouse-fit__cta-text a {
    display: block;
    margin: 0.5rem 0 0;
  }
}

/* ---------- 07 事例 ---------- */
.page-inhouse-case__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media screen and (max-width:767px) {
  .page-inhouse-case__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.page-inhouse-case__item {
  border: 1px solid #dedede;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
}

.page-inhouse-case__item-img {
  position: relative;
  display: block;
}
.page-inhouse-case__item-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 397/240;
  object-fit: cover;
  background: #eee;
}

.page-inhouse-case__item-tag {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  background: #E8B500;
  color: #1a1a2e;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
}

.page-inhouse-case__item-body {
  padding: 1.25rem;
}

.page-inhouse-case__item-industry {
  font-size: 0.8125rem;
  color: #737373;
  margin-bottom: 0.375rem;
}

.page-inhouse-case__item-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  padding-bottom: 0.875rem;
  margin-bottom: 0.875rem;
  border-bottom: 1px solid #ececec;
}

.page-inhouse-case__item-list li {
  font-size: 0.75rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 0.375rem;
}

.page-inhouse-case__note {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #737373;
}

/* ---------- 08 料金プラン ---------- */
.page-inhouse-price__caution {
  text-align: center;
  font-weight: 700;
  font-size: 0.9375rem;
  margin-top: 0.5rem;
}

.page-inhouse-price__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}
@media screen and (max-width:767px) {
  .page-inhouse-price__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.page-inhouse-price__card {
  position: relative;
  border: 1px solid #ececec;
  border-radius: 0.75rem;
  padding: 2.375rem 2.25rem 2rem;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.05);
}
/* カード上部のブランド黄グラデアクセント（参考LPの --orange-grad に統一） */
.page-inhouse-price__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.375rem;
  background: linear-gradient(to right, #EBA138, #E8B500);
}
/* 旧: 赤/紺の左アクセントを廃し、ブランド黄に統一 */
.page-inhouse-price__card--youtube,
.page-inhouse-price__card--vertical {
  border-left: 1px solid #ececec;
}
@media screen and (max-width:767px) {
  .page-inhouse-price__card {
    padding: 1.5rem 1.25rem;
  }
}

.page-inhouse-price__card-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(to right, #EBA138, #E8B500);
  color: #fff;
  font-weight: 700;
  border-radius: 1.25rem;
  font-size: 0.75rem;
  padding: 0.25rem 0.875rem;
}

.page-inhouse-price__card-icon {
  display: flex;
  align-items: center;
  height: 3rem;
  margin-bottom: 1rem;
}
.page-inhouse-price__card-icon img {
  height: 2.75rem;
  width: auto;
}
.page-inhouse-price__card-icon--multi {
  gap: 0.75rem;
}

.page-inhouse-price__card-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.page-inhouse-price__card-sub {
  font-size: 0.875rem;
  color: #737373;
  margin: 0.375rem 0 1rem;
}

.page-inhouse-price__card-amount {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #ececec;
}
.page-inhouse-price__card-amount .page-inhouse-price__card-unit {
  font-size: 1.375rem;
}
.page-inhouse-price__card-amount .page-inhouse-price__card-tax {
  font-size: 0.875rem;
  font-weight: 400;
  color: #737373;
}

.page-inhouse-price__card-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.8;
}
.page-inhouse-price__card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3cb37a;
  font-weight: 700;
}

.page-inhouse-price__link {
  text-align: right;
  font-size: 0.875rem;
  font-weight: 700;
  margin-top: 1.25rem;
}
.page-inhouse-price__link a {
  color: #eba138;
  text-decoration: underline;
}
@media screen and (max-width:767px) {
  .page-inhouse-price__link {
    text-align: center;
  }
}

/* コスト比較 */
.page-inhouse-price__compare {
  margin-top: 4rem;
}

.page-inhouse-price__compare-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}
@media screen and (max-width:767px) {
  .page-inhouse-price__compare-title {
    font-size: 1.1875rem;
  }
}

.page-inhouse-price__compare-caption {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.page-inhouse-price__compare-row {
  margin-bottom: 2rem;
}

.page-inhouse-price__compare-label {
  font-size: 0.8125rem;
  color: #737373;
  margin-bottom: 0.5rem;
}

.page-inhouse-price__compare-bars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.375rem;
}
@media screen and (max-width:767px) {
  .page-inhouse-price__compare-bars {
    gap: 0.1875rem;
  }
}

.page-inhouse-price__compare-bar {
  border-radius: 0.25rem;
  min-height: 3.625rem;
  padding: 0.5rem 0.125rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.page-inhouse-price__compare-bar--agency {
  background: #1a1a2e;
}
.page-inhouse-price__compare-bar--support {
  background: #E8B500;
  color: #1a1a2e;
}
.page-inhouse-price__compare-bar--self {
  background: #9a9ac6;
}
.page-inhouse-price__compare-bar .page-inhouse-price__compare-month {
  font-size: 0.625rem;
  opacity: 0.8;
}
.page-inhouse-price__compare-bar .page-inhouse-price__compare-phase {
  font-size: 0.6875rem;
  font-weight: 700;
}
.page-inhouse-price__compare-bar .page-inhouse-price__compare-cost {
  font-size: 0.6875rem;
  font-weight: 700;
}
@media screen and (max-width:767px) {
  .page-inhouse-price__compare-bar .page-inhouse-price__compare-cost {
    font-size: 0.5rem;
  }
}

.page-inhouse-price__compare-total {
  text-align: right;
  font-size: 0.8125rem;
  color: #737373;
  margin-top: 0.5rem;
}
.page-inhouse-price__compare-total span {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a2e;
}
.page-inhouse-price__compare-row--agency .page-inhouse-price__compare-total span {
  color: #e8554e;
}
.page-inhouse-price__compare-row--inhouse .page-inhouse-price__compare-total span {
  color: #eba138;
}

.page-inhouse-price__compare-result {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-top: 1px solid #ececec;
  padding-top: 1.5rem;
}
.page-inhouse-price__compare-result-badge {
  flex: 0 0 auto;
  background: #e8554e;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
}
.page-inhouse-price__compare-result-text {
  font-size: 0.8125rem;
  color: #555;
  line-height: 1.7;
}
@media screen and (max-width:767px) {
  .page-inhouse-price__compare-result {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .page-inhouse-price__compare-result-badge {
    font-size: 0.9375rem;
  }
}

/* ============================================================
   個別調整（SP中心）
   ============================================================ */

/* FVタイトル: 親から継承する text-align:justify で「ビーヘルシーの」が
   SP時に1行いっぱいに引き伸ばされ字間が開くため、左寄せに固定 */
.page-inhouse-fv .page-inhouse-fv__title {
  text-align: left;
  text-align-last: left;
}

@media screen and (max-width: 767px) {
  /* FV画像: 共有ルールの負マージン(margin-right:-15px等)でSP時に右へ2pxはみ出すため打ち消す */
  .page-inhouse-fv .page-common__head-img {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
  }

  /* 数字で見る実績(stats)：内製化専用の SP 上書きも撤去し、共通 stats.css に統一 */

  /* ご利用の流れ：ステップ画像を約1/3サイズに（SP時 width:90% → 33%） */
  .page-inhouse-flow .page-sns-flow__item-img {
    width: 33%;
    max-width: 7.5rem; /* 120px */
  }
  .page-inhouse-flow .page-sns-flow__item-img img {
    width: 100%;
    height: auto;
  }
}

/* =========================================================
   ★ 参考LP（/service/youtube/・/service/instagram/）トンマナ全面適用
   1.フォント 2.文字サイズ 3.背景色 4.並び方 5.ボックス 6.リスト
   ※ファイル後方に置き、これ以前の内製化ルールを上書きする
   ========================================================= */
.page-inhouse__content {
  --lp-orange: #eba139;
  --lp-text: #373028;
  --lp-gray: #6b6b6b;
  --lp-tint: #f8f8f8;
  --lp-grad: linear-gradient(to right, #eba139 0%, #E8B500 100%);
  --lp-body-font: "IBM Plex Sans JP", "Noto Sans CJKjp", "Noto Sans JP", sans-serif;
  --lp-num-font: "Oswald", "Noto Sans CJKjp", sans-serif;
}

/* ---------- 1) フォント: 本文は IBM Plex Sans JP、字間 0.06em（LP準拠） ---------- */
.page-inhouse__content p,
.page-inhouse__content li,
.page-inhouse__content dt,
.page-inhouse__content dd,
.page-inhouse__content .top-column__head-text {
  font-family: var(--lp-body-font);
  letter-spacing: 0.06em;
}

/* ---------- 2)+4) 見出し: 左寄せ + 左端に縦書きの薄い英字ウォーターマーク ---------- */
.page-inhouse-after,
.page-inhouse-roadmap,
.page-inhouse-meeting,
.page-inhouse-supportsys,
.page-inhouse-deliverables,
.page-inhouse-fit,
.page-inhouse-case,
.page-inhouse-price,
.page-inhouse-flow {
  position: relative;
  overflow: hidden;
}
.page-inhouse__content .top-column__head {
  position: static;
  text-align: left;
  padding-top: 0;
  margin-bottom: 2.75rem;
}
.page-inhouse__content .top-column__head-en,
.page-inhouse__content .top-common__head-en {
  position: absolute;
  top: 2.2rem;
  left: max(0.5rem, calc((100% - 77.5rem) / 2));
  right: auto;
  width: auto;
  margin: 0;
  writing-mode: vertical-rl;
  font-family: "Rozha One", serif;
  font-size: clamp(3.5rem, 8vw, 8.75rem);
  line-height: 1;
  letter-spacing: 0.1em;
  color: #f3f3f3;
  white-space: nowrap;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  z-index: 0;
}
.page-inhouse__content .top-column__head-title,
.page-inhouse__content .top-column__head-text {
  position: relative;
  z-index: 1;
  text-align: left;
}
.page-inhouse__content .top-column__head-title span {
  display: block;
  text-align: left;
}
@media screen and (max-width: 767px) {
  .page-inhouse__content .top-column__head-en,
  .page-inhouse__content .top-common__head-en {
    position: static;
    writing-mode: horizontal-tb;
    font-size: 2.4rem;
    color: #efefef;
    margin-bottom: 0.25rem;
  }
}

/* ---------- 3) 背景色: セクションを白／淡グレー(#f8f8f8)で交互に ---------- */
.page-inhouse-after,
.page-inhouse-meeting,
.page-inhouse-deliverables,
.page-inhouse-case,
.page-inhouse-flow {
  background: var(--lp-tint);
}
.page-inhouse-roadmap,
.page-inhouse-supportsys,
.page-inhouse-fit,
.page-inhouse-price {
  background: #fff;
}

/* ---------- 5) ボックス: LP準拠のフラット白カード（枠線・色アクセント撤去 + 微影） ---------- */
.page-inhouse-after__item,
.page-inhouse-roadmap__item,
.page-inhouse-meeting__card,
.page-inhouse-supportsys__card,
.page-inhouse-deliverables__item,
.page-inhouse-case__item {
  background: #fff;
  border: none;
  border-top: none;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
}
/* 料金カードも枠線を撤去（上部の黄グラデアクセントは残す） */
.page-inhouse-price__card {
  border: none;
}
.page-inhouse-price__card--youtube,
.page-inhouse-price__card--vertical {
  border-left: none;
}
/* YouTubeパックは YouTube カラー（赤）の太い枠線で強調。上部の黄グラデ線は消す */
.page-inhouse-price__card--youtube {
  border: 4px solid #FF0000;
}
.page-inhouse-price__card--youtube::before {
  content: none;
}
/* バッジ「4カ月プラン」とリストの■も赤に（黄色側と差別化） */
.page-inhouse-price__card--youtube .page-inhouse-price__card-badge {
  background: #FF0000;
}
.page-inhouse-price__card--youtube .page-inhouse-price__card-list li::before {
  background: #FF0000;
}

/* 縦型動画パックは Instagram/TikTok 風のグラデで強調（枠線・■・バッジ） */
.page-inhouse-price__card--vertical {
  --ig-grad: linear-gradient(135deg, #feda75 0%, #fa7e1e 22%, #d62976 50%, #962fbf 74%, #4f5bd5 100%);
  /* 角丸を保ったままグラデ枠線にする（padding-box=白地 / border-box=グラデ） */
  border: 4px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--ig-grad) border-box;
}
.page-inhouse-price__card--vertical::before {
  content: none;
}
.page-inhouse-price__card--vertical .page-inhouse-price__card-badge {
  background: var(--ig-grad);
}
.page-inhouse-price__card--vertical .page-inhouse-price__card-list li::before {
  background: var(--ig-grad);
}

/* ---------- 6) リスト: LP準拠のオレンジ角バレット（■） ---------- */
.page-inhouse-meeting__card-list-item,
.page-inhouse-supportsys__card-example-list li,
.page-inhouse-price__card-list li {
  position: relative;
  padding-left: 1.25rem;
}
.page-inhouse-meeting__card-list-item::before,
.page-inhouse-supportsys__card-example-list li::before,
.page-inhouse-price__card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--lp-orange);
  border-radius: 0;
}
/* 既存の ✓ 擬似要素を打ち消す（料金カード） */
.page-inhouse-price__card-list li::before {
  content: "";
  color: transparent;
  font-weight: 400;
}

/* ---------- 数字は Oswald（LPの番号トンマナ） ---------- */
.page-inhouse-roadmap__item-month,
.page-inhouse-deliverables__item-no,
.page-inhouse-price__card-amount {
  font-family: var(--lp-num-font);
}

/* 縦書きウォーターマーク(z-index:0)より各セクションの実コンテンツを前面に */
.page-inhouse-after__grid,
.page-inhouse-after__note,
.page-inhouse-roadmap__grid,
.page-inhouse-roadmap__summary,
.page-inhouse-meeting__block,
.page-inhouse-meeting__note,
.page-inhouse-supportsys__grid,
.page-inhouse-deliverables__grid,
.page-inhouse-fit__grid,
.page-inhouse-fit__cta-text,
.page-inhouse-case__grid,
.page-inhouse-case__note,
.page-inhouse-price__caution,
.page-inhouse-price__grid,
.page-inhouse-price__link,
.page-inhouse-price__compare {
  position: relative;
  z-index: 1;
}

/* =========================================================
   ★★ 背景レイアウト調整（参考LP /service/youtube|instagram/ 準拠）
   ・淡グレーセクションは「フラットな矩形」背景（斜めバンド/カギ括弧の疑似要素は廃止）
   ・サイド英字ウォーターマークを視認できる濃さへ
   ※ファイル最後尾。これ以前の背景・余白ルールを上書きする
   ========================================================= */
.page-inhouse__content {
  --lp-tint: #f4f4f4;          /* 淡グレー交互背景（旧 #f8f8f8 より僅かに濃く） */
}

/* サイド英字ウォーターマークを視認できる濃さへ（旧 #f3f3f3 は不可視） */
.page-inhouse__content .top-column__head-en,
.page-inhouse__content .top-common__head-en {
  color: #e6e6e6;
}
