/* =========================================================
   各ページFVのイラスト：背景の円を少しはみ出す大きさにそろえる（2026.11）
   円はイラストの後ろに1つだけ。イラストは円より一回り大きく置く
   対象：サービスページ（.svlp-hero）／業界・クリニック（.ind-hero）／パートナー（.pt-hero）
   読み込み：functions.php（全ページ・最後）
   ========================================================= */

/* ---------- サービスページ ---------- */
/* 下層共通の写真（円の模様入り）をやめ、無地＋イラスト後ろの円1つに */
body.single-service .svlp-hero { background: #F6F4EF; }
body.single-service .svlp-hero__media--iso {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}
body.single-service .main.lp .svlp-hero__media--iso::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  z-index: -1;
}
body.single-service .main.lp .svlp-hero__media--iso img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  height: auto;
  max-height: none;
}

/* ---------- 業界・クリニック（写真の上） ---------- */
.ind-hero .ind-hero__media--asset {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.ind-hero .ind-hero__media--asset::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  z-index: -1;
}
.ind-hero .ind-hero__media--asset img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  height: auto;
  max-height: none;
}

/* ---------- パートナー（オレンジの円の上） ---------- */
.pt-hero .pt-hero__iso { transform: scale(1.12); transform-origin: center; }

@media (max-width: 767px) {
  body.single-service .main.lp .svlp-hero__media--iso img { max-width: 340px; }
  .ind-hero .ind-hero__media--asset img { max-width: 320px; }
}

/* ---------- このページの要約：100px上へ・幅1000px・高さを抑える（2026.11） ---------- */
.main .svlp-summary { position: relative; z-index: 3; margin-top: -100px; background: transparent; }
.main .svlp-summary .svlp-summary__inner { max-width: 1000px !important; margin-left: auto; margin-right: auto; padding-top: 0; padding-bottom: 48px; }
.main .svlp-summary .svlp-summary__box { padding: 24px 32px; }
.main .svlp-summary .svlp-summary__title { margin-bottom: 8px; }
@media (max-width: 767px) {
  .main .svlp-summary { margin-top: -60px; }
  .main .svlp-summary .svlp-summary__inner { padding: 0 16px 32px; }
  .main .svlp-summary .svlp-summary__box { padding: 18px 18px; }
}
/* ページ内リンクの帯の直後にある要約（AIページ）は重ねずに帯の下へ */
.main .svlp-nav + .svlp-summary { margin-top: 0; }
.main .svlp-nav + .svlp-summary .svlp-summary__inner { padding-top: 32px; }

/* 他のサービス：カードをやめ、3列の下線リンクに（2026.11.15） */
body.single-service .main.lp .svlp-other__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 40px;
  padding: 0;
  background: none;
}
body.single-service .main.lp .svlp-other__list .svlp-other__item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
  padding: 20px 4px 14px;
  border: none;
  border-bottom: 2px solid #C9D0DC;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transform: none;
  text-align: left;
  transition: border-color .2s;
}
body.single-service .main.lp .svlp-other__list .svlp-other__item:hover {
  border-bottom-color: #F29600;
  background: none;
  box-shadow: none;
  transform: none;
}
body.single-service .main.lp .svlp-other__list .svlp-other__icon,
body.single-service .main.lp .svlp-other__list .svlp-other__desc { display: none; }
body.single-service .main.lp .svlp-other__list .svlp-other__name {
  margin: 0;
  color: #16243F;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  width: 100%;
  text-align: left;
  transition: color .2s;
}
body.single-service .main.lp .svlp-other__more { margin-top: 48px; }
body.single-service .main.lp .svlp-other__list .svlp-other__item:hover .svlp-other__name { color: #F29600; }
@media (max-width: 768px) {
  body.single-service .main.lp .svlp-other__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
}
@media (max-width: 480px) {
  body.single-service .main.lp .svlp-other__list { grid-template-columns: 1fr; }
}

/* 業界ページ「業種から探す」：他のサービスと同じ3列の下線リンクに（2026.11.15） */
.main .ind-others {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 40px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.main .ind-others li { margin: 0; }
.main .ind-others li a {
  display: flex;
  align-items: center;
  padding: 20px 4px 14px;
  border: none;
  border-bottom: 2px solid #C9D0DC;
  border-radius: 0;
  background: none;
  color: #16243F;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  transition: color .2s, border-color .2s;
}
.main .ind-others li a:hover {
  border-bottom-color: #F29600;
  background: none;
  color: #F29600;
}
@media (max-width: 768px) {
  .main .ind-others { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
}
@media (max-width: 480px) {
  .main .ind-others { grid-template-columns: 1fr; }
}

/* ---------- パートナー：イラストの後ろをサービスページと同じ白い円に（2026.11.16） ---------- */
.pt-lp .pt-hero__diagram { display: grid; place-items: center; }
.pt-lp .pt-hero__diagram::before {
  inset: auto;
  left: 50%;
  top: 50%;
  width: 82%;
  height: auto;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
}
.pt-hero .pt-hero__iso { transform: none; }
