@charset "UTF-8";

/* ==========================================
  独自フォント設定
========================================== */
@font-face {
  font-family: "Spiderplus-Medium";
  src: url("../../common/fonts/Spiderplus-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.font-spiderplus {
  font-family: "Spiderplus-Medium", "Noto Sans JP", sans-serif;
  font-weight: 500;
}

/* ==========================================
  リセット & 基本設定
========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ★サイト全体の横はみ出し・横ブレ（白いスクロール余白）を根本防止 */
html, body {
  width: 100%;
  overflow-x: hidden !important;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #323232;
  background-color: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

section, [id] {
  scroll-margin-top: 90px;
}

/* ==========================================
  01. Header
========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(60px, 6vw, 80px);
  background-color: #FFFFFF;
  z-index: 1000;
}

.header__inner {
  width: 95%;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo a {
  display: inline-block;
  line-height: 1;
}

.header__logo img {
  height: clamp(18px, 2vw, 24px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1vw, 12px);
}

.header__nav-item {
  display: flex;
  align-items: center;
}

.header__nav-link {
  position: relative;
  display: inline-block;
  padding: 6px clamp(6px, 1vw, 14px);
  font-family: "Spiderplus-Medium", "Noto Sans JP", sans-serif;
  font-size: clamp(12px, 1vw, 13.5px);
  font-weight: 700;
  color: #323232;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: clamp(6px, 1vw, 14px);
  right: clamp(6px, 1vw, 14px);
  height: 1.5px;
  background-color: #e66841;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease-in-out;
}

.header__nav-link:hover::after {
  transform: scaleX(1);
}

.header__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 22px;
  position: relative;
  z-index: 1010;
  flex-shrink: 0;
}

.header__hamburger span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #323232;
  transition: all 0.3s ease;
}

.header__hamburger span:nth-child(1) { top: 0; }
.header__hamburger span:nth-child(2) { top: 10px; }
.header__hamburger span:nth-child(3) { bottom: 0; }

.header__hamburger.is-active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.header__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.header__hamburger.is-active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ==========================================
  02. FV / SERVICE
========================================== */
.fv-service {
  padding-top: clamp(110px, 12vw, 140px);
  padding-bottom: clamp(60px, 8vw, 120px);
  position: relative;
  overflow: hidden !important; /* ★右側飛び出しのマスク処理 */
}

.fv-service__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.fv-service__header {
  margin-bottom: clamp(30px, 4vw, 50px);
}

.fv-service__category {
  display: block;
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 900;
  color: #323232;
  margin-bottom: clamp(8px, 1.5vw, 14px);
  letter-spacing: 0.02em;
}

.fv-service__title img {
  width: clamp(390px, 42vw, 510px);
  max-width: 100%;
  height: auto;
  display: block;
}

.fv-service__grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(20px, 3vw, 30px);
  position: relative;
}

.fv-service__col-left {
  flex: 0 0 clamp(440px, 50vw, 540px);
  max-width: 100%;
  z-index: 2;
}

.fv-service__anchor-nav {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.8vw, 20px);
}

.fv-service__anchor-row {
  display: flex;
  align-items: center;
}

.fv-service__anchor-row--line2 {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(16px, 2.5vw, 32px);
}

.fv-service__anchor-group {
  display: flex;
  align-items: center;
  gap: inherit;
}

.fv-service__anchor-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: clamp(13px, 1.1vw, 14px);
  font-weight: 700;
  color: #323232;
  letter-spacing: 0.01em;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.fv-service__anchor-link:hover {
  opacity: 0.7;
}

.fv-service__anchor-icon {
  width: 15px;
  height: 15px;
  object-fit: contain;
  flex-shrink: 0;
}

.fv-service__col-right {
  position: relative;
  flex: 1;
  max-width: none;
  margin-top: clamp(120px, 15vw, 220px);
  z-index: 2;
}

.fv-service__motif-wrap {
  position: absolute;
  top: -300px;
  left: -360px;
  width: 600px;
  z-index: 1;
  pointer-events: none;
  transition: all 0.3s ease-out;
}

.fv-service__motif-img {
  width: 100%;
  height: auto;
  display: block;
}

.fv-service__desc {
  position: relative;
  left: -100px;
  width: calc(100% + 100px);
  z-index: 2;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 500;
  line-height: 2.1;
  color: #323232;
}

.fv-service__desc p {
  margin-bottom: 18px;
}

.fv-service__desc p:last-child {
  margin-bottom: 0;
}

/* ==========================================
  PC専用改行設定
========================================== */
.pc-only {
  display: inline;
}

/* ==========================================
  Spiderplus フォント適用設定
========================================== */
.font-spiderplus {
  font-family: 'Spiderplus', sans-serif;
  font-weight: 700;
}

/* ==========================================
  SPIDER+ Workspace
========================================== */
.section-workspace {
  padding-top: 4vw;
  padding-bottom: 5.5vw;
  width: 100%;
  overflow: hidden !important;
}

.section-workspace__container {
  background-color: #f1f2f4;
  border-radius: 0 1.6vw 1.6vw 0;
  margin-left: 0;
  margin-right: 5.5vw;
  padding-top: max(110px, 8vw);
  padding-bottom: max(110px, 8vw);
  padding-right: 3vw;
  padding-left: max(20px, calc((100vw - 1100px) / 2 + 20px));
}

.section-workspace__inner {
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-workspace__col-left {
  flex: 1 1 480px;
  max-width: 100%;
}

.section-workspace__sub-title {
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 700;
  color: #323232;
  margin-bottom: clamp(17px, 2.2vw, 21px);
  letter-spacing: 0.02em;
}

.section-workspace__title {
  margin-bottom: clamp(38px, 4.2vw, 50px);
}

.section-workspace__title img {
  width: clamp(320px, 42vw, 500px);
  max-width: 100%;
  height: auto;
  display: block;
}

.section-workspace__desc {
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 500;
  line-height: 1.95;
  color: #323232;
}

/* 1つ目の文章（pタグ）の下だけにマージンをつける */
.section-workspace__desc p {
  margin-bottom: 20px;
}

/* 2つ目の文章（pタグ）はマージンを確実に0にする */
.section-workspace__desc p:nth-of-type(2) {
  margin-bottom: 0 !important;
}

.section-workspace__col-right {
  flex: 1 1 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.section-workspace__visual {
  width: 100%;
  max-width: 620px;
}

.section-workspace__visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ==========================================
  SPIDER+ Service (メインサービス紹介)
========================================== */
.section-spiderplus {
  padding-top: 80px;
  padding-bottom: 35px;
  width: 100%;
  overflow: hidden !important;
}

.section-spiderplus__container {
  width: 100%;
  box-sizing: border-box;
  padding-left: max(20px, calc((100vw - 1100px) / 2 + 20px)) !important;
  padding-right: 5.5vw !important;
}

.section-spiderplus__inner {
  max-width: 1100px;
  width: 100%;
  margin-left: 0;
  margin-right: auto;
}

.section-spiderplus__sub-title-wrap {
  width: 100%;
  margin-bottom: clamp(58px, 5vw, 64px);
}

.section-spiderplus__sub-title {
  font-size: clamp(21px, 2.4vw, 25px);
  font-weight: 700;
  color: #323232;
  display: block;
  margin-bottom: 13px;
  letter-spacing: 0.04em;
}

.section-spiderplus__divider {
  width: 100%;
  height: 1px;
  background-color: #e0e0e0;
}

.section-spiderplus__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4vw;
}

.section-spiderplus__col-left {
  flex: 1 1 480px;
  max-width: 100%;
}

.section-spiderplus__header {
  margin-bottom: clamp(24px, 2.8vw, 40px);
}

.section-spiderplus__category {
  font-size: 16px;
  font-weight: 700;
  color: #323232;
  display: block;
  margin-bottom: 20px;
}

.section-spiderplus__title img {
  width: clamp(220px, 26vw, 320px);
  max-width: 100%;
  height: auto;
  display: block;
}

.section-spiderplus__desc {
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 500;
  line-height: 1.85;
  color: #323232;
  margin-bottom: clamp(32px, 4vw, 50px);
}

.section-spiderplus__cta-wrap {
  display: flex;
}

.section-spiderplus__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: clamp(280px, 26vw, 330px);
  padding: 14px 28px;
  border: 3px solid #E85F42;
  border-radius: 35px;
  background-color: transparent;
  text-decoration: none;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.section-spiderplus__cta-text {
  font-size: 16px;
  font-weight: 700;
  color: #323232;
  transition: color 0.4s ease;
}

.section-spiderplus__cta-arrow-img {
  width: 16px;
  height: auto;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.section-spiderplus__cta:hover {
  background-color: #E85F42;
  border-color: #E85F42;
}

.section-spiderplus__cta:hover .section-spiderplus__cta-text {
  color: #ffffff;
}

.section-spiderplus__cta:hover .section-spiderplus__cta-arrow-img {
  transform: translateX(6px);
  filter: brightness(0) invert(1);
}

.section-spiderplus__col-right {
  flex: 1 1 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.section-spiderplus__visual {
  width: 100%;
  max-width: 580px !important;
}

.section-spiderplus__visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ==========================================
  Services Cards (4つのサービスカード)
========================================== */
.section-sub-services {
  padding-top: 40px;
  padding-bottom: 100px;
  width: 100%;
  overflow: hidden !important;
}

.section-sub-services__container {
  width: 100%;
  box-sizing: border-box;
  padding-left: max(20px, calc((100vw - 1100px) / 2 + 20px)) !important;
  padding-right: 5.5vw !important;
}

.section-sub-services__inner {
  max-width: 1100px;
  width: 100%;
  margin-left: 0;
  margin-right: auto;
}

.section-sub-services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 60px;
  width: 100%;
}

.service-card {
  background-color: #f1f2f4;
  border-radius: 18px;
  padding: 53px 54px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

.service-card__header {
  margin-bottom: 26px;
}

.service-card__category {
  font-size: 16px;
  font-weight: 700;
  color: #323232;
  display: block;
  margin-bottom: 14px;
}

.service-card__logo {
  margin: 0;
  padding: 0;
  line-height: 1;
}

.service-card__logo-img {
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: left top;
}

.service-card__logo-img--report {
  height: clamp(43.5px, 3.3vw, 55.5px);
  margin-top: 3px;
}

.service-card__logo-img--collabo {
  height: clamp(34px, 2.7vw, 40px);
}

.service-card__logo-img--point {
  height: clamp(34px, 2.8vw, 39px);
}

.service-card__logo-img--bim {
  height: clamp(34px, 2.7vw, 39px);
}

.service-card__desc {
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 500;
  line-height: 1.85;
  color: #323232;
  margin-bottom: 46px;
  flex-grow: 1;
}

.service-card__desc p {
  margin: 0;
}

.service-card__visual {
  width: 100%;
  height: 210px;
  margin-bottom: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-card__visual img {
  width: 100%;
  max-width: 380px;
  height: 100%;
  display: block;
  object-fit: contain;
}

.service-card__cta-wrap {
  display: flex;
  width: 100%;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 30px;
  background-color: #716f70;
  border: 3px solid #716f70;
  border-radius: 35px;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.service-card__cta-text {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  transition: color 0.4s ease;
  white-space: nowrap;
}

.service-card__cta-arrow-img {
  width: 16px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: transform 0.4s ease;
  flex-shrink: 0;
}

.service-card--report .service-card__cta:hover {
  background-color: #EFA13A;
  border-color: #EFA13A;
}

.service-card--collabo .service-card__cta:hover {
  background-color: #EFA13A;
  border-color: #EFA13A;
}

.service-card--point .service-card__cta:hover {
  background-color: #E95A38;
  border-color: #E95A38;
}

.service-card--bim .service-card__cta:hover {
  background-color: #E85F42;
  border-color: #E85F42;
}

/* ==========================================
  Industry Plans Section (業種にあわせた機能・プラン)
========================================== */
.section-industry-plans {
  padding-top: 45px;
  padding-bottom: 100px;
  width: 100%;
  overflow: hidden !important;
}

.section-industry-plans__container {
  width: 100%;
  box-sizing: border-box;
  padding-left: max(20px, calc((100vw - 1100px) / 2 + 20px)) !important;
  padding-right: 5.5vw !important;
}

.section-industry-plans__inner {
  max-width: 1100px;
  width: 100%;
  margin-left: 0;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.section-industry-plans__content {
  width: 45%;
  flex-shrink: 0;
}

.section-industry-plans__title {
  font-size: clamp(30px, 2.3vw, 38px);
  font-weight: 700;
  line-height: 1.5;
  color: #323232;
  margin-top: 0;
  margin-bottom: 38px;
}

.section-industry-plans__desc {
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 500;
  line-height: 2.0;
  color: #323232;
  margin: 0;
}

.section-industry-plans__grid-wrap {
  width: 46%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8.3px;
}

.plan-card {
  border-radius: 6px;
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.plan-card__name {
  font-size: clamp(16px, 1.15vw, 18px);
  font-weight: 700;
  color: #323232;
  white-space: nowrap;
}

.plan-card--standard {
  width: 100%;
  background-color: #d9d9d9;
  padding: 28px 20px;
}

.plan-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8.3px;
  width: 100%;
}

.plan-card--architecture { background-color: #ffd1c7; }
.plan-card--electrical { background-color: #ffe9a8; }
.plan-card--hvac { background-color: #cff0cc; }
.plan-card--plant { background-color: #d3dce8; }

/* ==========================================
  S+Trace Section (資機材情報管理システム)
========================================== */
.section-strace {
  padding-top: 60px;
  padding-bottom: 35px;
  width: 100%;
  overflow: hidden !important;
}

.section-strace__desc .pc-br { display: inline; }
.section-strace__desc .tab-br { display: none; }

.section-strace__container {
  width: 100%;
  box-sizing: border-box;
  padding-left: max(20px, calc((100vw - 1100px) / 2 + 20px)) !important;
  padding-right: 5.5vw !important;
}

.section-strace__inner {
  max-width: 1100px;
  width: 100%;
  margin-left: 0;
  margin-right: auto;
}

.section-strace__sub-title-wrap {
  width: 100%;
  margin-bottom: clamp(58px, 5vw, 64px);
}

.section-strace__sub-title {
  font-size: clamp(21px, 2.4vw, 25px);
  font-weight: 700;
  color: #323232;
  display: block;
  margin-bottom: 13px;
  letter-spacing: 0.04em;
}

.section-strace__divider {
  width: 100%;
  height: 1px;
  background-color: #e0e0e0;
}

.section-strace__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4vw;
}

.section-strace__col-left {
  flex: 1 1 480px;
  max-width: 100%;
}

.section-strace__header {
  margin-bottom: clamp(24px, 2.8vw, 40px);
}

.section-strace__category {
  font-size: 16px;
  font-weight: 700;
  color: #323232;
  display: block;
  margin-bottom: 20px;
}

.section-strace__title img {
  width: clamp(180px, 26vw, 280px);
  max-width: 100%;
  height: auto;
  display: block;
}

.section-strace__desc {
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 500;
  line-height: 1.85;
  color: #323232;
  margin-bottom: clamp(32px, 4vw, 50px);
}

.section-strace__cta-wrap {
  display: flex;
}

.section-strace__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: clamp(280px, 26vw, 330px);
  padding: 14px 28px;
  border: 3px solid #3495F5;
  border-radius: 35px;
  background-color: transparent;
  text-decoration: none;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.section-strace__cta-text {
  font-size: 16px;
  font-weight: 700;
  color: #323232;
  transition: color 0.4s ease;
}

.section-strace__cta-arrow-img {
  width: 16px;
  height: auto;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.section-strace__cta:hover {
  background-color: #3495F5;
  border-color: #3495F5;
}

.section-strace__cta:hover .section-strace__cta-text {
  color: #ffffff;
}

.section-strace__cta:hover .section-strace__cta-arrow-img {
  transform: translateX(6px);
  filter: brightness(0) invert(1);
}

.section-strace__col-right {
  flex: 1 1 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.section-strace__visual {
  width: 100%;
  max-width: 580px !important;
}

.section-strace__visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ==========================================
  BPO・プロサ
========================================== */
.section-support-services {
  padding-top: 110px;
  padding-bottom: 180px;
  width: 100%;
  overflow: hidden !important; /* ★親要素で画面外へのハミ出しを遮断 */
}

.section-support-services__container {
  width: 100%;
  box-sizing: border-box;
  padding-left: max(20px, calc((100vw - 1100px) / 2 + 20px)) !important;
  padding-right: 5.5vw !important;
}

.section-support-services__inner {
  max-width: 1100px;
  width: 100%;
  margin-left: 0;
  margin-right: auto;
}

.section-support-services__sub-title-wrap {
  width: 100%;
  margin-bottom: clamp(80px, 7.5vw, 96px);
}

.section-support-services__sub-title {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  color: #323232;
  display: block;
  margin-bottom: 13px;
  letter-spacing: 0.04em;
}

.section-support-services__divider {
  width: 100%;
  height: 1px;
  background-color: #e0e0e0;
}

.section-support-services__grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 110px;
}

.section-support-services__col {
  flex: 1;
  width: 50%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.section-support-services__motif-wrap {
  position: absolute;
  top: 15px;
  right: -35px;
  width: clamp(340px, 32vw, 420px);
  z-index: 0;
  pointer-events: none;
}

.section-support-services__motif-img {
  width: 100%;
  height: auto;
  display: block;
}

.section-support-services__header,
.section-support-services__catch,
.section-support-services__desc,
.section-support-services__cta-wrap {
  position: relative;
  z-index: 1;
}

.section-support-services__header {
  margin-bottom: clamp(24px, 3.2vw, 36px);
}

.section-support-services__category {
  font-size: 16px;
  font-weight: 700;
  color: #323232;
  display: block;
  margin-bottom: 16px;
}

.section-support-services__title {
  margin: 0;
  padding: 0;
  line-height: 1;
  height: clamp(38px, 3.2vw, 48px);
  display: flex;
  align-items: flex-start;
}

.section-support-services__title img {
  display: block;
  object-fit: contain;
  object-position: left top;
}

.section-support-services__logo-img--bpo,
.section-support-services__logo-img--pro {
  height: clamp(35px, 3vw, 39px);
  width: auto;
  max-width: 100%;
}

.section-support-services__catch {
  font-size: clamp(22px, 1.25vw, 24px);
  font-weight: 700;
  line-height: 1.6;
  color: #323232;
  margin-top: 0;
  margin-bottom: 16px;
}

.section-support-services__catch .highlight-orange {
  color: #E85F42;
}

.section-support-services__desc {
  font-size: clamp(14px, 1.05vw, 15.5px);
  font-weight: 500;
  line-height: 1.85;
  color: #323232;
  margin-top: 0;
  margin-bottom: clamp(32px, 3.5vw, 44px);
  flex-grow: 1;
}

.section-support-services__desc .pc-br {
  display: inline;
}

.section-support-services__cta-wrap {
  display: flex;
  width: 100%;
}

.section-support-services__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: clamp(280px, 26vw, 330px);
  padding: 14px 28px;
  border: 3px solid #E85F42;
  border-radius: 35px;
  background-color: transparent;
  text-decoration: none;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.section-support-services__cta-text {
  font-size: 16px;
  font-weight: 700;
  color: #323232;
  transition: color 0.4s ease;
}

.section-support-services__cta-arrow-img {
  width: 16px;
  height: auto;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.section-support-services__cta:hover {
  background-color: #E85F42;
  border-color: #E85F42;
}

.section-support-services__cta:hover .section-support-services__cta-text {
  color: #ffffff;
}

.section-support-services__cta:hover .section-support-services__cta-arrow-img {
  transform: translateX(6px);
  filter: brightness(0) invert(1);
}

/* ==========================================
  今後の戦略とアウトカム Section
========================================== */
.section-outcome {
  width: 100%;
  padding-top: 162px;
  padding-bottom: 200px;
  background-image: url("https://spiderplus.co.jp/common/img/service/outcome-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  box-sizing: border-box;
  overflow: hidden !important;
  position: relative;
}

.section-outcome__container {
  width: 100%;
  box-sizing: border-box;
  padding-left: max(20px, calc((100vw - 1280px) / 2 + 20px)) !important;
  padding-right: max(20px, calc((100vw - 1280px) / 2 + 20px)) !important;
}

.section-outcome__inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center; /* 左右中央配置 */
  gap: 48px;
}

.section-outcome__col-left {
  flex: 1 1 380px;
  max-width: 420px;
  width: 100%;
  padding-top: 0;
  margin-top: -40px;
}

.section-outcome__title {
  font-size: clamp(28px, 2.9vw, 41px);
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin: 0 0 32px 0;
  letter-spacing: 0.04em;
}

.section-outcome__sub-title {
  font-size: clamp(16px, 1.7vw, 24px);
  font-weight: 500;
  line-height: 1.7;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.02em;
}

.section-outcome__col-center {
  flex: 0 0 340px;
  width: 340px;
  margin-top: -162px;
  margin-bottom: -202px;
  height: 835px;
  position: relative;
  overflow: hidden;
}

.section-outcome__slider-track {
  display: flex;
  flex-direction: column;
  gap: 30px;
  animation: outcomeInfiniteVertical 18s linear infinite;
  margin-top: -349px;
}

.section-outcome__slide {
  width: 100%;
  height: 511px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
}

.section-outcome__slide picture {
  width: 100%;
  height: 100%;
  display: block;
}

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

@keyframes outcomeInfiniteVertical {
  0% { transform: translateY(0); }
  100% { transform: translateY(-1605px); }
}

.section-outcome__col-right {
  flex: 1 1 380px;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 0;
  margin-bottom: -105px;
  margin-left: 0;
  padding-left: 40px; /* PC通常表示時の左余白 */
  box-sizing: border-box;
}

.section-outcome__desc {
  font-size: clamp(13px, 1.0vw, 14px);
  font-weight: 500;
  line-height: 2.0;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 0;
  margin-bottom: 28px;
}

.section-outcome__desc:last-child {
  margin-bottom: 0;
}

/* ==========================================
  レスポンシブ調整（画面縮小時＆スマホ表示）
========================================== */

/* ① PC縮小時で縦並びになるブレイクポイント（例: 1024px以下） */
@media screen and (max-width: 1024px) {
  .section-outcome__col-right {
    padding-left: 0 !important; /* ★縦並び時は左余白を0にして端を揃える */
    max-width: 100% !important;
  }
  
  .section-outcome__sub-title br.br-pc-only {
    display: none !important;
  }
}

/* ② スマホ表示時（例: 860px以下 または 767px以下） */
@media screen and (max-width: 860px) {
  .section-outcome__col-right {
    /* ★2枚目のFVサービス説明文（clamp(40px, 15vw, 80px)）と全く同じ左余白を設定 */
    padding-left: clamp(40px, 15vw, 80px) !important;
  }
}

/* ==========================================
  FV / SERVICEのレスポンシブここから
========================================== */
@media screen and (max-width: 1024px) {
  .fv-service {
    padding-left: clamp(24px, 4vw, 40px) !important;
    padding-right: clamp(24px, 4vw, 40px) !important;
    box-sizing: border-box !important;
  }

  .fv-service__inner {
    max-width: 1100px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .fv-service__grid {
    flex-direction: column;
    gap: 40px;
  }

  .fv-service__col-left {
    flex: 1 1 auto;
    width: 100%;
  }

  .fv-service__anchor-row--line2 {
    flex-wrap: nowrap;
    gap: clamp(12px, 2vw, 24px);
  }

  .fv-service__col-right {
    max-width: 100%;
    margin-top: 20px;
  }

  .fv-service__motif-wrap {
    top: -260px;
    left: clamp(140px, 32vw, 280px);
    width: clamp(440px, 48vw, 500px);
  }

  .fv-service__desc {
    left: 0;
    width: 100%;
  }
}

/* SP（スマホ幅：860px以下）時 */
@media screen and (max-width: 860px) {
  .header {
    height: 60px;
  }

  .header__inner {
    width: 90%;
    padding: 0;
  }

  .header__logo img {
    height: clamp(18px, 4.5vw, 22px);
  }

  .header__hamburger {
    display: block;
  }

  .header__nav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: #FFFFFF;
    padding: 40px 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .header__nav.is-open {
    transform: translateX(0);
  }

  .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .header__nav-link {
    font-size: 16px;
    padding: 0;
  }

  .header__nav-link::after {
    display: none;
  }

  .fv-service {
    padding-top: 90px;
    padding-bottom: 60px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: relative;
    box-sizing: border-box !important;
  }

  .fv-service__inner {
    width: 86vw !important;
    max-width: 86vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  .fv-service__grid {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .fv-service__header {
    margin-bottom: 34px;
  }

  .fv-service__category {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .fv-service__title img {
    width: clamp(270px, 70vw, 360px);
    max-width: 100%;
  }

  .fv-service__col-right {
    margin-top: 40px;
    width: 100% !important;
  }

  .fv-service__anchor-row--line2 {
    flex-wrap: wrap;
    row-gap: 12px;
    column-gap: 16px;
  }

  .fv-service__anchor-link {
    font-size: 12px;
    gap: 6px;
  }

  .fv-service__anchor-icon {
    width: 13px;
    height: 13px;
  }

  /* モチーフ：理想の元の配置を維持 */
  .fv-service__motif-wrap {
    top: -210px;
    left: clamp(20px, 25vw, 90px);
    width: clamp(420px, 90vw, 500px);
  }

  .fv-service__desc {
    font-size: 14px;
    line-height: 2.0;
    width: 100% !important;
    margin-bottom: 32px !important;
    padding-left: clamp(40px, 15vw, 80px) !important;
    box-sizing: border-box !important;
  }
}

/* ==========================================
  SPIDER+ Workspaceのレスポンシブここから
========================================== */
@media screen and (max-width: 1024px) {
/* ★ここを修正：!important を付けてWP対策CSSの強制表示を打ち消す */
  .section-workspace__desc br.pc-only {
    display: none !important;
}

  .section-workspace__container {
    padding-top: 60px;
    padding-bottom: 30px;
    padding-left: clamp(24px, 4vw, 40px) !important;
    padding-right: clamp(24px, 4vw, 40px) !important;
  }

  .section-workspace__sub-title {
    font-size: 15px;
    margin-bottom: 12px;
    line-height: 1.5;
  }

  .section-workspace__desc {
    font-size: 15.5px;
    line-height: 1.85;
  }

  .section-workspace__desc p {
    margin-bottom: 12px;
  }
  .section-workspace__desc p:last-child {
    margin-bottom: 0 !important;
  }

  .section-workspace__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px !important;
    max-width: 100%;
  }

  .section-workspace__col-left {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }

  .section-workspace__desc {
    width: 100%;
  }

  .section-workspace__col-right {
    width: 100%;
    justify-content: center;
    margin-top: 0 !important;
  }

  .section-workspace__visual {
    width: clamp(340px, 50vw, 420px) !important;
    max-width: 100% !important;
    margin: 0 auto;
    margin-bottom: 0 !important;
  }
}

@media screen and (max-width: 860px) {
  .section-workspace {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .section-workspace__container {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 20px !important;
    padding-top: 90px !important;
    padding-bottom: 15px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background-color: #f1f2f4;
    overflow: hidden !important;
  }

  .section-workspace__inner {
    width: 86vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 0 !important;
    padding-bottom: 0 !important;
  }

  .section-workspace__col-left {
    margin-bottom: 0 !important;
  }

  .section-workspace__sub-title {
    font-size: 13.5px !important;
    margin-bottom: 14px !important;
  }

  .section-workspace__title {
    margin-bottom: 24px !important;
  }

  .section-workspace__title img {
    width: clamp(320px, 70vw, 350px) !important;
  }

  .section-workspace__desc {
    font-size: 14px !important;
    line-height: 1.9 !important;
    margin-bottom: 0 !important;
  }

  .section-workspace__desc p {
    margin-bottom: 10px !important;
  }
  
  .section-workspace__desc p:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .section-workspace__col-right {
    margin-top: 5px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .section-workspace__visual {
    width: clamp(340px, 85vw, 460px) !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
  }

  .section-workspace__visual img {
    display: block !important;
    margin-bottom: 0 !important;
    vertical-align: bottom !important;
  }
}

@media screen and (max-width: 500px) {
  .section-workspace__container {
    padding-top: 75px !important;
    padding-bottom: 0px !important;
  }

  .section-workspace__title {
    margin-bottom: 24px !important;
  }

  .section-workspace__desc {
    line-height: 2.0 !important;
  }

  .section-workspace__col-right {
    margin-top: -110px !important;
  }

  .section-workspace__visual {
    width: 100% !important;
    margin-bottom: -90px !important;
  }
}

/* ======================================================
  SPIDER+ Service (メインサービス紹介)のレスポンシブここから
=========================================================== */
@media screen and (max-width: 1024px) {
  /* PC表示（1025px以上）以外では、2箇所目の <br class="pc-only"> だけを消去（1箇所目の素の<br>は残す） */
  .section-spiderplus__desc br.pc-only {
    display: none !important;
  }

  .section-spiderplus__desc {
    width: 100% !important;
    max-width: 100% !important;
  }

  .section-spiderplus__container {
    padding-left: clamp(24px, 4vw, 40px) !important;
    padding-right: clamp(24px, 4vw, 40px) !important;
  }

  .section-spiderplus__grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
  }

  .section-spiderplus__col-left,
  .section-spiderplus__col-right {
    width: 100%;
    flex: 1 1 auto;
    justify-content: center;
  }

  .section-spiderplus__cta {
    width: 280px !important;
    max-width: 100% !important;
  }

  .section-spiderplus__visual {
    width: clamp(240px, 45vw, 360px) !important;
    max-width: 100% !important;
    margin: 0 auto;
  }
}

@media screen and (max-width: 860px) {
  .section-spiderplus {
    padding-top: 100px !important;
    padding-bottom: 48px;
  }

  .section-spiderplus__container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }

  .section-spiderplus__inner {
    width: 86vw !important;
    max-width: 86vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .section-spiderplus__sub-title-wrap {
    margin-bottom: 48px !important;
  }

  .section-spiderplus__sub-title {
    font-size: 20px;
    margin-bottom: 9px;
  }

  .section-spiderplus__header {
    margin-bottom: 30px !important;
  }

  .section-spiderplus__category {
    font-size: 14px;
    margin-bottom: 10px !important;
  }

  .section-spiderplus__title img {
    width: clamp(150px, 55vw, 180px);
  }

  .section-spiderplus__desc {
    font-size: 14px !important;
    line-height: 1.85 !important;
    margin-bottom: 30px !important;
  }

  .section-spiderplus__cta {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 22px;
  }

  .section-spiderplus__cta-text {
    font-size: 14px;
  }

  .section-spiderplus__visual {
    width: 100% !important;
    max-width: clamp(280px, 80vw, 400px) !important;
    margin: 0 auto !important;
  }
}

/* ==============================================================================
  Services Cards (4つのサービスカード)レスポンシブ
============================================================================== */
@media screen and (max-width: 1024px) {
  .section-sub-services__container {
    padding-left: clamp(24px, 4vw, 40px) !important;
    padding-right: clamp(24px, 4vw, 40px) !important;
  }

  .section-sub-services__grid {
    gap: 24px;
  }

  .service-card {
    padding: 36px 28px 32px;
  }

  .service-card__visual {
    height: 180px;
  }
}

@media screen and (max-width: 860px) {
  .section-sub-services {
    padding-top: 5px;
    padding-bottom: 60px;
  }

  .section-sub-services__container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }

  .section-sub-services__inner {
    width: 86vw !important;
    max-width: 86vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .section-sub-services__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-card {
    padding: 40px 24px 46px !important;
    border-radius: 13px !important;
  }

  .service-card__header {
    margin-bottom: 21px !important;
  }

  .service-card__category {
    font-size: 14px;
    margin-bottom: 9px;
  }

  .service-card__logo-img--report {
    height: clamp(40px, 10vw, 44px) !important;
    margin-top: 2px !important;
  }

  .service-card__logo-img--collabo {
    height: clamp(32px, 7vw, 36px) !important;
    margin-top: 0 !important;
  }

  .service-card__logo-img--point {
    height: clamp(30px, 7vw, 34px) !important;
    margin-top: 0 !important;
  }

  .service-card__logo-img--bim {
    height: clamp(31px, 7vw, 34px) !important;
    margin-top: 0 !important;
  }

  .service-card__desc {
    font-size: 14px;
    line-height: 1.85 !important;
    margin-bottom: 34px;
  }

  .service-card__visual {
    height: 160px !important;
    margin-bottom: 32px !important;
  }

  .service-card__visual-img--report { max-height: 160px !important; }
  .service-card__visual-img--collabo { max-height: 152px !important; }
  .service-card__visual-img--point { max-height: 151px !important; }
  .service-card__visual-img--bim { max-height: 151px !important; }

  .service-card__cta {
    padding: 12px 22px;
  }

  .service-card__cta-text {
    font-size: 14px;
  }
}

/* =======================================================================
  業種にあわせた機能・プランのレスポンシブ
========================================================================== */
@media screen and (max-width: 1024px) {
  .section-industry-plans__inner {
    gap: 60px;
  }

  .section-industry-plans__content {
    width: 50%;
  }

  .section-industry-plans__grid-wrap {
    width: 46%;
  }

  .plan-card {
    padding: 20px 12px;
  }

  .plan-card__name {
    font-size: 14px;
  }
}

@media screen and (max-width: 860px) {
  .section-industry-plans {
    padding-top: 20px;
    padding-bottom: 60px;
  }

  .section-industry-plans__container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }

  .section-industry-plans__inner {
    width: 86vw !important;
    max-width: 86vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 34px;
  }

  .section-industry-plans__content {
    width: 100%;
  }

  .section-industry-plans__title {
    font-size: 25px;
    margin-bottom: 18px;
  }

  .section-industry-plans__desc {
    font-size: 14px;
    line-height: 1.85;
  }

  .section-industry-plans__grid-wrap {
    width: 100%;
    gap: 8.3px;
  }

  .plan-card-grid {
    gap: 8.3px;
  }

  .plan-card {
    padding: 18px 8px;
    border-radius: 5px !important;
  }

  .plan-card--standard {
    padding: 20px 8px;
  }

  .plan-card__name {
    font-size: 13px;
  }
}

/* ======================================================
  S+Trace Section レスポンシブ
=========================================================== */
@media screen and (max-width: 1024px) {
  /* 1024px以下：1箇所目の改行（.pc-br:first-of-type）のみを消去 */
  .section-strace__desc br.pc-br:first-of-type {
    display: none !important;
  }

  /* 2箇所目の改行は常に有効化 */
  .section-strace__desc br.pc-br:nth-of-type(2) {
    display: inline !important;
  }

  .section-strace__container {
    padding-left: clamp(24px, 4vw, 40px) !important;
    padding-right: clamp(24px, 4vw, 40px) !important;
  }

  .section-strace__grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
  }

  .section-strace__col-left,
  .section-strace__col-right {
    width: 100%;
    flex: 1 1 auto;
    justify-content: center;
  }

  .section-strace__cta {
    width: 280px !important;
    max-width: 100% !important;
  }

  .section-strace__visual {
    width: clamp(240px, 45vw, 360px) !important;
    max-width: 100% !important;
    margin: 0 auto;
  }
}

@media screen and (max-width: 860px) {
  .section-strace {
    padding-top: 50px !important;
    padding-bottom: 48px;
  }

  /* スマホ時も引き続き1箇所目のみ非表示・2箇所目は表示維持 */
  .section-strace__desc br.pc-br:first-of-type {
    display: none !important;
  }
  .section-strace__desc br.pc-br:nth-of-type(2) {
    display: inline !important;
  }

  .section-strace__container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }

  .section-strace__inner {
    width: 86vw !important;
    max-width: 86vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .section-strace__sub-title-wrap {
    margin-bottom: 48px !important;
  }

  .section-strace__sub-title {
    font-size: 20px;
    margin-bottom: 9px;
  }

  .section-strace__header {
    margin-bottom: 25px !important;
  }

  .section-strace__category {
    font-size: 14px;
    margin-bottom: 10px !important;
  }

  .section-strace__title img {
    width: clamp(133px, 55vw, 163px);
  }

  .section-strace__desc {
    font-size: 14px;
    line-height: 1.85 !important;
    margin-bottom: 30px !important;
  }

  .section-strace__cta {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 22px;
  }

  .section-strace__cta-text {
    font-size: 14px;
  }

  .section-strace__visual {
    width: 100% !important;
    max-width: clamp(300px, 85vw, 420px) !important;
    margin: 0 auto !important;
  }
}

/* ======================================================
  BPO・プロサのレスポンシブ
=========================================================== */
@media screen and (max-width: 1024px) {
  .section-support-services__container {
    padding-left: clamp(24px, 4vw, 40px) !important;
    padding-right: clamp(24px, 4vw, 40px) !important;
  }

  .section-support-services__sub-title-wrap {
    margin-bottom: 64px !important;
  }

  .section-support-services__grid {
    gap: 36px;
  }

  .section-support-services__motif-wrap {
    top: 10px;
    right: -20px;
    width: clamp(320px, 40vw, 380px);
  }

  .section-support-services__title {
    height: clamp(26px, 2.8vw, 32px);
  }

  .section-support-services__logo-img--bpo,
  .section-support-services__logo-img--pro {
    height: clamp(24px, 2.6vw, 30px);
  }

  .section-support-services__category {
    font-size: clamp(14px, 1.4vw, 16px);
  }

  .section-support-services__catch {
    font-size: clamp(17px, 1.8vw, 21px);
  }

  .section-support-services__desc {
    font-size: clamp(14px, 1.4vw, 15.5px);
  }

  .section-support-services__desc .pc-br {
    display: none;
  }

  .section-support-services__cta {
    width: 280px !important;
    max-width: 100% !important;
  }
}

@media screen and (max-width: 860px) {
  .section-support-services {
    padding-top: 45px;
    padding-bottom: 100px;
  }

  .section-support-services__container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }

  .section-support-services__inner {
    width: 86vw !important;
    max-width: 86vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .section-support-services__sub-title-wrap {
    margin-bottom: 48px !important;
  }

  .section-support-services__sub-title {
    font-size: 16px;
    margin-bottom: 9px;
  }

  .section-support-services__grid {
    flex-direction: column;
    gap: 80px !important;
  }

  .section-support-services__col {
    width: 100%;
  }

  /* ★【100%復元】理想通りのダイナミックな右側飛び出し配置（right: -100px） */
  .section-support-services__motif-wrap {
    top: -20px !important;
    right: -100px !important;
    width: clamp(400px, 110vw, 550px) !important;
  }

  .section-support-services__header {
    margin-bottom: 28px !important;
  }

  .section-support-services__category {
    font-size: 14px;
    margin-bottom: 8px !important;
  }

  .section-support-services__title {
    height: auto !important;
  }

  .section-support-services__logo-img--bpo,
  .section-support-services__logo-img--pro {
    height: clamp(30px, 6vw, 36px) !important;
  }

  .section-support-services__catch {
    font-size: 19px;
    line-height: 1.6;
    margin-bottom: 14px;
  }

  .section-support-services__catch br {
    display: block !important;
  }

  .section-support-services__desc {
    font-size: 14px;
    line-height: 1.85 !important;
    margin-bottom: 28px !important;
  }

  .section-support-services__desc .pc-br {
    display: none;
  }

  .section-support-services__cta {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 22px;
  }

  .section-support-services__cta-text {
    font-size: 14px;
  }
}

/* ======================================================
  今後の戦略とアウトカムのレスポンシブ
=========================================================== */
@media screen and (max-width: 1280px) and (min-width: 769px) {
  .section-outcome {
    padding-top: 140px;
    padding-bottom: 180px;
  }

  .section-outcome__inner {
    gap: 24px;
  }

  .section-outcome__col-left {
    flex: 1 1 280px;
    max-width: none;
    margin-top: -20px;
  }

  .section-outcome__col-center {
    flex: 0 0 260px;
    width: 260px;
    margin-top: -140px;
    margin-bottom: -180px;
    height: 780px;
  }

  .section-outcome__slide {
    height: 480px;
  }

  .section-outcome__slider-track {
    margin-top: -330px;
  }

  @keyframes outcomeInfiniteVertical {
    0% { transform: translateY(0); }
    100% { transform: translateY(-1512px); }
  }

  .section-outcome__col-right {
    flex: 1 1 280px;
    max-width: none;
    margin-bottom: -70px;
    margin-left: 16px;
  }
}

@media screen and (max-width: 1024px) {
  .section-outcome {
    padding-top: 67px;
    padding-bottom: 67px;
  }

  .section-outcome__container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }

  .section-outcome__inner {
    width: 88vw !important;
    max-width: 88vw !important;
    margin: 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
  }

  .section-outcome__col-left {
    width: 100%;
    flex: none;
    margin-top: 0;
  }

  .section-outcome__title {
    font-size: clamp(25px, 5vw, 33px);
    margin-bottom: 16px;
  }

  .section-outcome__title br {
    display: none;
  }

  .section-outcome__sub-title {
    font-size: clamp(19px, 3.8vw, 22px);
    line-height: 1.6;
  }

  .section-outcome__col-center {
    width: 100vw !important;
    margin-left: calc(-6vw);
    margin-top: 0;
    margin-bottom: 0;
    height: 240px !important;
    flex: none;
    overflow: hidden;
  }

  .section-outcome__slider-track {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: max-content;
    margin-top: 0;
    animation: outcomeInfiniteHorizontal 15s linear infinite;
  }

  .section-outcome__slide {
    width: 85vw;
    height: 240px;
    flex-shrink: 0;
    border-radius: 10px;
  }

  .section-outcome__col-right {
    width: 100%;
    max-width: 100%;
    flex: none;
    margin-bottom: 0;
    margin-left: 0;
  }

  .section-outcome__desc {
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 20px;
  }
}

@keyframes outcomeInfiniteHorizontal {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * (85vw * 3 + 16px * 3))); }
}

/* ==========================================
WordPressの自動生成（wpautop）対策（完全解決版）
========================================== */

/* 1. 空のpタグを非表示化 */
p:empty {
  display: none !important;
}

/* 2. Grid・Flexコンテナ直下にWPが勝手に入れた p/br タグを非表示化 */
[class*="__grid"] > p,
[class*="__grid"] > br:not([class]),
[class*="__flex"] > p,
[class*="__flex"] > br:not([class]),
[class*="-wrap"] > p:empty,
.section-industry-plans__grid-wrap > p,
.plan-card-grid > p,
.section-industry-plans__inner > p,
.section-outcome__inner > p {
  display: none !important;
}

/* 3. ボタン・CTA・タイトル・特定desc内の勝手な改行（br）を無効化 */
[class*="__cta"] br:not([class]),
[class*="-btn"] br:not([class]),
.button br:not([class]),
.section-strace__title br,
.fv-service__title br,
.section-workspace__title br,
.service-card__logo br,
.section-support-services__desc br:not([class]) {
  display: none !important;
}

/* 4. 各セクションの手動改行（素のbr・クラス付きbr）をしっかり保護 */
.section-industry-plans__title br,
.section-industry-plans__desc br,
.section-outcome__sub-title br,
.section-spiderplus__desc br,
.section-strace__desc br,
br.pc-br {
  display: inline !important;
}

/* PC1025px以上でのみ class="pc-only" の改行を有効化 */
@media screen and (min-width: 1025px) {
  br.pc-only {
    display: inline !important;
  }
}

/* 5. 各種レスポンシブ改行制御 */

/* 中間サイズ（861px〜1024px）：画面縮小時の表示調整（br.br-pc-onlyを消す） */
@media screen and (min-width: 861px) and (max-width: 1024px) {
  .section-outcome__title br.br-pc-only,
  .section-outcome__sub-title br.br-pc-only {
    display: none !important;
  }
}

/* スマホ表示（860px以下）：PC100%時と同じ2箇所で改行させる */
@media screen and (max-width: 860px) {
  .section-outcome__title br.br-pc-only {
    display: none !important;
  }
  .section-outcome__sub-title br.br-pc-only,
  .section-outcome__sub-title br {
    display: inline !important;
  }
}

/* mainタグの余計な上下マージンを打ち消す */
main {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* fv-service__desc の改行制御 */
@media screen and (min-width: 1025px) {
  .fv-service__desc br {
    display: inline !important;
  }
}

@media screen and (max-width: 1024px) {
  .fv-service__desc br {
    display: none !important;
  }
}
