/* すべての要素に適用:paddingを幅の内側に含める */
*, *::before, *::after {
  box-sizing: border-box;
}

/* ===== フォント全体 ===== */
body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  margin: 0;
}

/* ===== ヘッダー ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* 上段サブバー */
.site-header__sub {
  background: #f9fefe;
  border-bottom: 1px solid #E2F3F7;
  transition: opacity 0.4s ease, max-height 0.5s ease;
  max-height: 60px;
  overflow: hidden;
  opacity: 1;
}
.site-header__sub.is-hidden {
  opacity: 0;
  max-height: 0;
}
.site-header__sub-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px clamp(24px, 8vw, 212px);
}
.site-header__sub-text {
  font-size: 12px;
  color: #888;
  margin: 0;
}
.site-header__sub-link {
  font-size: 12px;
  color: #59B7CE;
  text-decoration: none;
  font-weight: 500;
}
.site-header__sub-link:hover { text-decoration: underline; }

/* 下段メインナビ */
.site-header__main {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.site-header__main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 8vw, 212px);
  height: 60px;
}
.site-header__logo img {
  height: 20px;
  display: block;
}
.site-header__nav ul {
  display: flex;
  list-style: none;
  gap: clamp(12px, 2vw, 28px);
  margin: 0;
  padding: 0;
}
.site-header__nav a {
  text-decoration: none;
  color: #333;
  font-size: clamp(11px, 1vw, 13px);
  white-space: nowrap;
  transition: color 0.2s;
}
.site-header__nav a:hover { color: #59B7CE; }
.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #29B48F, #59B7CE);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.site-header__cta:hover { opacity: 0.85; }
.site-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.site-header__hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background-color: #59B7CE;
  border-radius: 1px;
  transition: transform 0.35s ease, opacity 0.25s ease;
  transform-origin: center;
  position: absolute;
}
.site-header__hamburger span:nth-child(1) { transform: translateY(-4px); }
.site-header__hamburger span:nth-child(2) { transform: translateY(4px); }
.site-header__hamburger.is-active span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.site-header__hamburger.is-active span:nth-child(2) { transform: translateY(0) rotate(-45deg); }

/* ドロワーオーバーレイ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* ドロワー本体 */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80%;
  max-width: 320px;
  background: linear-gradient(160deg, #29B48F, #59B7CE);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.drawer.is-open {
  transform: translateX(0);
}
.drawer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/themes/nsp-theme/images/pattern_lineart.png');
  background-repeat: repeat;
  background-size: 600px 600px;
  opacity: 0.1;
  pointer-events: none;
}

/* ドロワーヘッダー */
.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  position: relative;
  z-index: 1;
}
.drawer__menu-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.15em;
}
.drawer__close {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer__close span {
  display: block;
  width: 20px;
  height: 1px;
  background: #fff;
  position: absolute;
  border-radius: 1px;
}
.drawer__close span:nth-child(1) { transform: rotate(45deg); }
.drawer__close span:nth-child(2) { transform: rotate(-45deg); }

/* ドロワーナビ */
.drawer__nav {
  flex: 1;
  padding: 8px 0;
  position: relative;
  z-index: 1;
  overflow-y: auto;
}
.drawer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.drawer__nav li {
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.drawer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}
.drawer__nav a::after {
  content: "›";
  font-size: 20px;
  opacity: 0.6;
}
.drawer__nav a:hover {
  background: rgba(255,255,255,0.1);
}

/* ドロワーCTA */
.drawer__cta {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.2);
  position: relative;
  z-index: 1;
}
.drawer__btn {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}
.drawer__btn:hover { opacity: 0.85; }
.drawer__btn--primary {
  background: #fff;
  color: #29B48F;
}
.drawer__btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
}

@media (min-width: 1081px) {
  .drawer { display: none; }
  .drawer-overlay { display: none; }
}

@media (max-width: 1080px) {
  .site-header__sub-inner { padding: 8px 24px; }
  .site-header__main-inner { padding: 0 24px; }
  .site-header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    display: none;
    z-index: 99;
  }
  .site-header__nav.is-open { display: block; }
  .site-header__nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
  }
  .site-header__nav li {
    border-bottom: 1px solid #eee;
    padding: 14px 0;
  }
  .site-header__cta { display: none; }
  .site-header__hamburger { display: flex; }
}
/* ===== フッター ===== */
.site-footer {
  background: #fff;
  border-top: 1px solid #eee;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px clamp(24px, 8vw, 212px) 40px;
}
.site-footer__logo img {
  height: 20px;
  display: block;
  margin-bottom: 16px;
}
.site-footer__desc {
  font-size: 13px;
  color: #888;
  line-height: 1.8;
  margin: 0 0 20px;
}
.site-footer__contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #29B48F, #59B7CE);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.site-footer__contact-btn:hover { opacity: 0.85; }
.site-footer__col-title {
  font-size: 11px;
  font-weight: 700;
  color: #59B7CE;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer__links a {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.5;
}
.site-footer__links a:hover { color: #59B7CE; }
.site-footer__more {
  color: #59B7CE !important;
  font-weight: 600;
}
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(24px, 8vw, 212px);
  border-top: 1px solid #eee;
}
.site-footer__copy {
  font-size: 12px;
  color: #aaa;
  margin: 0;
}
.site-footer__privacy {
  font-size: 12px;
  color: #888;
  text-decoration: none;
}
.site-footer__privacy:hover { color: #59B7CE; }

@media (max-width: 1080px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 24px 32px;
  }
  .site-footer__brand { grid-column: span 2; }
  .site-footer__bottom { padding: 16px 24px; }
}

@media (max-width: 768px) {
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__brand { grid-column: span 1; }
}

/* ===== AIヒーローセクション ===== */
.aiHero {
  width: 100%;
  max-width: 100%;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
}
.aiHero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.heroLeft {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 60px 60px 212px;
  position: relative;
  z-index: 2;
}
.heroLeft__label {
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.05em;
  margin: 0 0 16px;
}
.heroLeft__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: #111827;
  line-height: 1.4;
  margin: 0 0 20px;
}
.heroLeft__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.heroLeft__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #29B48F, #59B7CE);
  color: white;
}
.heroLeft__btn--outline {
  background: white;
  color: #29B48F;
  border: 1px solid #29B48F;
}
.heroLeft__subcatch {
  margin: 8px 0 32px;
  overflow: visible;
}
.heroLeft__subcatch svg {
  display: block;
}
.heroRight {
  width: 60%;
  height: 600px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.featureCard {
  box-sizing: border-box;
  position: absolute;
  width: 280px;
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15,23,42,.12);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(12px) scale(.94);
  animation: cardIn .45s ease forwards, cardFloat 4s ease-in-out infinite;
}
.featureIcon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: #2563eb;
  background: rgba(59,130,246,.1);
  flex-shrink: 0;
}
.featureTitle {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  color: #111827;
}
.featureSub {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
}
.card-0 { left: 14%; top: 40px; }
.card-1 { left: 11%; top: 160px; }
.card-2 { left: 12%; top: 280px; }
.card-3 { right: 14%; top: 30px; }
.card-4 { right: 10%; top: 150px; }
.card-5 { right: 11%; top: 270px; }
.card-6 { right: 15%; top: 400px; }

@keyframes cardIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes cardFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}
.cardSlider { display: none; }

@media (max-width: 1300px) {
  .aiHero { flex-direction: column; min-height: auto; }
  .heroLeft { width: 100%; padding: 60px 212px 10px; }
  .heroRight { width: 100%; height: auto; padding: 10px 212px 10px; }
  .heroRight > .featureCard { display: none; }
  .cardSlider {
    display: block;
    height: 20vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    border-radius: 16px;
  }
  .cardSlider__card {
    scroll-snap-align: center;
    height: 20vh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 14px 34px rgba(15,23,42,.1);
  }
}

@media (max-width: 768px) {
  .heroLeft { padding-left: 24px; padding-right: 24px; }
  .heroRight { padding-left: 24px; padding-right: 24px; }
  .heroLeft__subcatch svg { width: 100%; height: auto; }
}

/* ===== OUR STRENGTH（トップページ） ===== */
.st-section {
  padding: 100px 212px;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.st-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/themes/nsp-theme/images/pattern_lineart.png');
  background-repeat: repeat;
  background-size: 600px 600px;
  animation: bgSlide 60s linear infinite;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}
.st-inner {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* 共通見出し（強み・サービス・仕組み） */
.st-head {
  position: relative;
  margin-bottom: 60px;
}
.st-head-en {
  font-size: clamp(40px, 9vw, 140px);
  font-weight: bold;
  color: #E2F3F7;
  margin: 0;
  line-height: 1;
  white-space: normal;
}
.st-head-ja {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  font-size: 35px;
  font-weight: 500;
  color: #000000;
  z-index: 1;
}
.st-head-sub {
  font-size: 23px;
  font-weight: bold;
  color: #59B7CE;
  margin-left: 16px;
}

.st-desc {
  font-size: 14px;
  color: #5F5E7A;
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 40px;
}
.st-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.st-card {
  background: #fff;
  border: 1px solid #D4EEF5;
  border-radius: 14px;
  overflow: hidden;
}
.st-card-header {
  background: #EBF7FB;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.st-card-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #59B7CE;
}
.st-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.st-card-icon svg {
  width: 17px;
  height: 17px;
  stroke: #59B7CE;
  fill: none;
  stroke-width: 1.8;
}
.st-card-body {
  padding: 16px 18px 18px;
}
.st-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #1A1830;
  line-height: 1.45;
  margin-bottom: 7px;
}
.st-card-sub {
  font-size: 12px;
  color: #5F5E7A;
  line-height: 1.65;
}
.st-card-kpi {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #59B7CE;
  margin-top: 10px;
  padding: 3px 9px;
  background: #E2F3F7;
  border-radius: 999px;
}
.st-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

/* 共通CTAリンク（強み・サービス・仕組み） */
.top-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #59B7CE;
  text-decoration: none;
  border-bottom: 2px solid #59B7CE;
  padding-bottom: 4px;
  transition: opacity 0.2s;
}
.top-more-link:hover { opacity: 0.7; text-decoration: none; }

@media (max-width: 1080px) {
  .st-section { padding: 60px 24px; }
  .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-head-ja {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .st-head-sub { margin-left: 0; font-size: 16px; }
}
@media (max-width: 580px) {
  .st-grid { grid-template-columns: 1fr; }
}

/* ===== SUCCESS STORY ===== */
.successStory {
  padding: 100px 212px;
  position: relative;
}
.successStory__head {
  position: relative;
  margin-bottom: 60px;
}
.successStory__head-en {
  font-size: clamp(40px, 9vw, 143px);
  font-weight: bold;
  color: #E2F3F7;
  margin: 0;
  line-height: 1;
  white-space: normal;
}
.successStory__head-ja {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  font-size: 35px;
  font-weight: 500;
  color: #000000;
  z-index: 1;
}
.successStory__head-sub {
  font-size: 23px;
  font-weight: bold;
  color: #59B7CE;
  margin-left: 16px;
}
.successStory__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.successStory__thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #d9d9d9;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}
.successStory__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.successStory__title {
  font-size: 25px;
  font-weight: 500;
  color: #000000;
  margin: 0 0 12px;
}
.successStory__text {
  font-size: 16px;
  font-weight: normal;
  color: #000000;
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 1300px) {
  .successStory__list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .successStory { padding: 60px 24px; }
  .successStory__head-ja {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .successStory__head-sub {
    margin-left: 0;
    font-size: 16px;
    white-space: nowrap;
  }
  .successStory__list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 8px;
  }
  .successStory__item {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }
}

/* ===== COLUMN ===== */
.column {
  padding: 100px 212px;
  position: relative;
  background: linear-gradient(to top right, #29B48F, #59B7CE);
}
.column__head {
  position: relative;
  margin-bottom: 60px;
}
.column__head-en {
  font-size: clamp(40px, 9vw, 143px);
  font-weight: bold;
  color: #42A5BC;
  margin: 0;
  line-height: 1;
}
.column__head-ja {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  font-size: 35px;
  font-weight: 500;
  color: #FFFFFF;
  z-index: 1;
}
.column__head-sub {
  font-size: 23px;
  font-weight: bold;
  color: #FFFFFF;
  margin-left: 16px;
}
.column__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.column__item {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}
.column__link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 16px;
}
.column__thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #d9d9d9;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}
.column__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.column__title {
  font-size: 25px;
  font-weight: 500;
  color: #000000;
  margin: 0 0 12px;
}
.column__text {
  font-size: 16px;
  font-weight: normal;
  color: #000000;
  line-height: 1.8;
  margin: 0;
}
.column__more {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}
.column__more-link {
  position: relative;
  display: flex;
  align-items: center;
  width: 360px;
  height: 93px;
  background-color: #FFFFFF;
  border-radius: 46.5px;
  padding: 0 12px 0 40px;
  text-decoration: none;
}
.column__more-text {
  font-size: 18px;
  font-weight: 500;
  color: #000000;
}
.column__more-circle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 69px;
  height: 69px;
  border-radius: 50%;
  background: linear-gradient(to top right, #26B799, #00CFFF);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 20px;
}
.column__more-circle::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #ffffff;
  margin-left: 4px;
}

@media (max-width: 768px) {
  .column { padding: 60px 24px; }
  .column__head-ja {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .column__head-sub {
    margin-left: 0;
    font-size: 16px;
    white-space: nowrap;
  }
  .column__list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 8px;
  }
  .column__item {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }
}

/* ===== フッター ===== */
.footer {
  background-color: #ffffff;
  border-top: 1px solid #eee;
  padding: 60px 212px 40px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.footer__logo img {
  height: 20px;
  display: block;
}
.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  gap: 40px;
  margin: 0;
  padding: 0;
}
.footer__nav a {
  text-decoration: none;
  color: #000000;
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 500;
}
.footer__nav a:hover { color: #59B7CE; }
.footer__copy {
  font-size: 14px;
  color: #999999;
  margin: 0;
}

@media (max-width: 768px) {
  .footer { padding: 60px 24px 40px; }
  .footer__nav ul {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}

/* ===== シミュレーター フローティングバー ===== */
.discount-badge {
  background: rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 8px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  margin-top: 12px;
  color: #fff;
}
.sim-float-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #29B48F, #59B7CE);
  padding: 12px 20px;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}
.sim-float-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}
.sim-float-amounts {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sim-float-total {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.sim-float-total span {
  font-size: 13px;
  font-weight: 500;
}
.sim-float-saving {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}
.sim-float-cta {
  background: #fff;
  color: #29B48F;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: "Zen Kaku Gothic New", sans-serif;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .sim-float-bar { display: block; }
  body { padding-bottom: 80px; }
}

/* ===== SERVICE SECTION（トップページ） ===== */
.serviceSection {
  padding: 80px 212px;
  background: #f9fefe;
  position: relative;
}
.serviceSection__inner { position: relative; z-index: 1; }
.serviceSection__lead {
  font-size: 15px;
  color: #555;
  margin: 0 0 40px;
  line-height: 1.8;
}
.serviceSection__more {
  text-align: center;
  margin-top: 40px;
}

/* カテゴリーグループリスト */
.svcList {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.svcList__group { }
.svcList__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #59B7CE;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.svcList__scroll-hint {
  display: none;
}
.svcList__track {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.svcList__card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 12px 16px;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.svcList__card:hover {
  border-color: #59B7CE;
  box-shadow: 0 4px 12px rgba(89,183,206,0.1);
}
.svcList__card--featured {
  border-color: #59B7CE;
  border-width: 2px;
}
.svcList__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #59B7CE;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.svcList__icon i {
  font-size: 15px;
  color: #fff;
}
.svcList__badge {
  position: absolute;
  top: -8px;
  right: 8px;
  font-size: 10px;
  font-weight: 700;
  color: #59B7CE;
  background: #E2F3F7;
  border-radius: 4px;
  padding: 1px 6px;
}
.svcList__name {
  font-size: 13px;
  font-weight: 600;
  color: #000;
  margin: 0;
  line-height: 1.4;
}

/* スマホ：横スクロール */
@media (max-width: 768px) {
  .serviceSection { padding: 60px 24px; }
  .svcList__scroll-hint {
    display: block;
    font-size: 11px;
    color: #aaa;
    margin: 0 0 8px;
  }
  .svcList__scroll-hint i { margin-right: 4px; }
  .svcList__track {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 8px;
  }
  .svcList__card {
    flex-shrink: 0;
  }
}

@media (max-width: 1080px) and (min-width: 769px) {
  .serviceSection { padding: 60px 24px; }
}

/* ===== SYSTEM SECTION（トップページ） ===== */
.systemSection {
  padding: 80px 212px;
  background: #fff;
}
.systemSection__head { margin-bottom: 16px; }
.systemSection__lead {
  font-size: 15px;
  color: #555;
  margin: 0 0 40px;
  line-height: 1.8;
  max-width: 680px;
}
.systemSection__chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}
.systemSection__client,
.systemSection__director {
  background: #59B7CE;
  color: #fff;
  border-radius: 8px;
  padding: 16px 40px;
  text-align: center;
  min-width: 240px;
}
.systemSection__client-label,
.systemSection__director-label {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
}
.systemSection__client-sub,
.systemSection__director-sub {
  font-size: 12px;
  opacity: 0.85;
  margin: 0;
}
.systemSection__arrow {
  color: #59B7CE;
  font-size: 20px;
}
.systemSection__experts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.systemSection__expert {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px solid #59B7CE;
  color: #59B7CE;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
}
.systemSection__expert i { font-size: 16px; }
.systemSection__network {
  background: #f9fefe;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px 24px;
  text-align: center;
  max-width: 600px;
  width: 100%;
}
.systemSection__network-label {
  font-size: 13px;
  font-weight: 700;
  color: #555;
  margin: 0 0 12px;
}
.systemSection__network-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.systemSection__network-tags span {
  background: #fff;
  border: 1px solid #e8e8e8;
  font-size: 12px;
  color: #555;
  padding: 4px 12px;
  border-radius: 50px;
}
.systemSection__cta {
  margin-top: 48px;
  background: linear-gradient(135deg, #29B48F, #59B7CE);
  border-radius: 8px;
  padding: 48px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.systemSection__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/themes/nsp-theme/images/pattern_lineart.png');
  background-repeat: repeat;
  background-size: 600px 600px;
  animation: bgSlide 60s linear infinite;
  opacity: 0.15;
  pointer-events: none;
}
.systemSection__cta-inner {
  position: relative;
  z-index: 1;
}
.systemSection__cta-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.systemSection__cta-text {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  margin: 0 0 28px;
  line-height: 1.8;
}
.systemSection__cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.systemSection__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #29B48F;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.systemSection__cta-btn:hover { opacity: 0.85; }
.systemSection__cta-btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.systemSection__cta-btn--outline:hover {
  background: rgba(255,255,255,0.1);
  opacity: 1;
}

@media (max-width: 768px) {
  .systemSection__cta { padding: 36px 24px; }
  .systemSection__cta-title { font-size: 20px; }
}

@keyframes bgSlide {
  from { background-position: 0 0; }
  to { background-position: 600px 600px; }
}

@media (max-width: 1080px) {
  .serviceSection { padding: 60px 24px; }
  .serviceSection__grid { grid-template-columns: repeat(3, 1fr); }
  .systemSection { padding: 60px 24px; }
}

@media (max-width: 768px) {
  .serviceSection__grid { grid-template-columns: repeat(2, 1fr); }
}