/* ============================================
   Banderole Custom CSS v2
   ============================================ */

/* --- SWELLヘッダー高さ縮小 --- */
.l-header,
.l-header__inner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.l-header__inner {
  min-height: auto !important;
  height: 64px !important;
}
.l-header__logo img {
  max-height: 32px !important;
}

/* --- SWELL要素の非表示 --- */
/* SWELLメインビジュアルを非表示 */
.p-mainVisual,
.p-mainVisual__inner {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}
/* SWELLのパンくず・投稿メタ・タイトル帯を非表示 */
.p-breadcrumb,
.c-pageTitle,
.l-mainContent__header,
.post_meta,
.c-mvSingle {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
/* SWELLデフォルトフッター・余白を完全リセット */
.l-footer {
  display: none !important;
}
#main,
.bnd-main,
.l-mainContent,
.l-mainContent__body,
.l-content,
.l-content__body,
.l-article,
.post_content,
.l-fixSide {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* --- Reset & Base --- */
.bnd-section,
.bnd-hero {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.bnd-section *,
.bnd-hero * {
  box-sizing: border-box;
}

/* SWELLテーマのコンテンツ幅制限をオーバーライド */
.bnd-main {
  overflow: visible;
}
.bnd-hero,
.bnd-section,
.bnd-footer {
  width: var(--bnd-full-w, 100vw);
  margin-left: var(--bnd-full-ml, calc(-50vw + 50%));
  overflow: hidden;
}

/* --- Container --- */
.bnd-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* --- Section Base --- */
.bnd-section {
  padding: 88px 0;
  position: relative;
}
/* 背景は白とグレーの2種類のみで統一 */
.bnd-section--white { background: #ffffff; }
.bnd-section--gray { background: #f8f9fa; }
.bnd-section--lab { background: #f8f9fa; }

.bnd-section__title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  color: #111111;
  margin: 0 0 48px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* --- Buttons --- */
.bnd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  line-height: 1.4;
}
.bnd-btn--primary {
  background: linear-gradient(135deg, #cce666, #219b65);
  color: #ffffff;
  border-color: transparent;
}
.bnd-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 155, 101, 0.3);
  color: #ffffff;
  opacity: 0.95;
}
.bnd-btn--outline {
  background: #ffffff;
  color: #287846;
  border-color: #287846;
}
.bnd-btn--outline:hover {
  background: #f0f7f2;
  transform: translateY(-2px);
  color: #287846;
}
.bnd-btn--white {
  background: #ffffff;
  color: #287846;
  border-color: #ffffff;
  font-weight: 700;
}
.bnd-btn--white:hover {
  background: #f0f7f2;
  transform: translateY(-2px);
  color: #287846;
}
.bnd-btn--white-outline {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
.bnd-btn--white-outline:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  color: #ffffff;
}
.bnd-btn--full { width: 100%; }
.bnd-btn--sm {
  padding: 12px 28px;
  font-size: 1rem;
}

/* SP用改行 */
.bnd-sp-br { display: none; }

/* ============================================
   S1: Hero
   ============================================ */
.bnd-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8faf8;
  overflow: hidden;
  padding-top: 80px;  /* 固定ヘッダー(64px)分 + 余白 */
}

/* Gradient Mesh */
.bnd-hero__mesh {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  overflow: hidden;
  contain: strict;
}
.bnd-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.bnd-hero__blob--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #cce666, transparent 70%);
  top: -10%; left: -5%;
  animation: bnd-mesh1 18s ease-in-out infinite alternate;
}
.bnd-hero__blob--2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, #219b65, transparent 70%);
  top: 50%; right: -8%;
  animation: bnd-mesh2 22s ease-in-out infinite alternate;
}
.bnd-hero__blob--3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #8dd4a8, transparent 70%);
  bottom: -5%; left: 30%;
  animation: bnd-mesh3 20s ease-in-out infinite alternate;
}
.bnd-hero__blob--4 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #e0f0a0, transparent 70%);
  top: 20%; right: 25%;
  opacity: 0.25;
  animation: bnd-mesh4 16s ease-in-out infinite alternate;
}

@keyframes bnd-mesh1 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(80px, 60px) scale(1.15); }
  100% { transform: translate(40px, 120px) scale(0.95); }
}
@keyframes bnd-mesh2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-70px, -50px) scale(1.1); }
  100% { transform: translate(-40px, 30px) scale(1.05); }
}
@keyframes bnd-mesh3 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(50px, -40px) scale(1.12); }
  100% { transform: translate(-30px, -20px) scale(0.9); }
}
@keyframes bnd-mesh4 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-40px, 50px) scale(1.2); }
  100% { transform: translate(20px, -30px) scale(1.05); }
}

.bnd-hero__particles {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.bnd-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 28px;
  max-width: 860px;
  width: 100%;
}
.bnd-hero__heading {
  font-size: 2.8rem;
  font-weight: 700;
  color: #111111;
  margin: 0 0 24px;
  min-height: 4.2rem;
  line-height: 1.5;
}
.bnd-hero__typing {
  display: inline;
}
.bnd-hero__cursor {
  display: inline;
  color: #219b65;
  animation: bnd-blink 0.8s step-end infinite;
  font-weight: 300;
}
@keyframes bnd-blink {
  50% { opacity: 0; }
}
.bnd-hero__sub {
  font-size: 1.25rem;
  color: #333333;
  margin: 0 0 32px;
  line-height: 1.8;
}

/* Terminal Window */
.bnd-hero__terminal {
  width: 100%;
  max-width: 680px;
  margin: 0 auto 44px;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1e2e;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  user-select: none;
  text-align: left;
  position: relative;
  z-index: 3;
  transform: translateZ(0);
  isolation: isolate;
}
.bnd-hero__term-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #151929;
}
.bnd-hero__term-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.bnd-hero__term-dot--red    { background: #ff5f57; }
.bnd-hero__term-dot--yellow { background: #febc2e; }
.bnd-hero__term-dot--green  { background: #28c840; }
.bnd-hero__term-title {
  margin-left: 8px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.03em;
}
.bnd-hero__term-body {
  padding: 16px 20px;
  height: 280px;
  overflow: hidden;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.9;
}
.bnd-hero__term-line {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@keyframes bnd-term-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Colors */
.bnd-term-ts    { color: rgba(255,255,255,0.18); }
.bnd-term-src   { color: #6b8aed; }
.bnd-term-key   { color: rgba(255,255,255,0.45); }
.bnd-term-val   { color: #5eeaa0; font-weight: 600; }
.bnd-term-delta-up   { color: #5eeaa0; }
.bnd-term-delta-down { color: #ed8a6b; }
.bnd-term-proc  { color: #c9a0ff; }
.bnd-term-ok    { color: #5eeaa0; }
.bnd-term-dim   { color: rgba(255,255,255,0.12); }

.bnd-hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   S2: Problems
   ============================================ */
.bnd-problems__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.bnd-problems__item {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bnd-problems__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.bnd-problems__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
}
.bnd-problems__icon svg {
  display: block;
  width: 52px;
  height: 52px;
}
.bnd-problems__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #222222;
  margin: 0;
}
.bnd-problems__text strong {
  color: #287846;
}

/* ============================================
   S3: Services
   ============================================ */
.bnd-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bnd-services__card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px 24px;
  border: 1px solid #e0e6e0;
  transition: all 0.4s ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.bnd-services__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #cce666, #219b65) border-box;
  border: 2px solid transparent;
}
.bnd-services__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #cce666, #219b65);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.08em;
}
.bnd-services__number {
  font-size: 2.6rem;
  font-weight: 800;
  color: #b0c8b0;
  line-height: 1;
  margin-bottom: 8px;
}
.bnd-services__img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}
.bnd-services__icon-wrap {
  margin-bottom: 16px;
}
.bnd-services__icon-wrap svg {
  display: block;
}
.bnd-services__name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111111;
  margin: 0 0 10px;
}
.bnd-services__desc {
  font-size: 1rem;
  color: #333333;
  line-height: 1.8;
  margin: 0 0 16px;
}

/* ============================================
   S4: AI Lab
   ============================================ */
.bnd-lab__grid-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}
.bnd-section--lab .bnd-container {
  position: relative;
  z-index: 1;
}

/* Tabs */
.bnd-lab__tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}
.bnd-lab__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 2px solid #d0d8d0;
  border-radius: 40px;
  background: rgba(255,255,255,0.7);
  color: #333333;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.bnd-lab__tab:hover {
  border-color: #287846;
  color: #287846;
}
.bnd-lab__tab--active {
  background: linear-gradient(135deg, #cce666, #219b65);
  color: #ffffff;
  border-color: transparent;
}
.bnd-lab__tab--active:hover {
  color: #ffffff;
}
.bnd-lab__tab svg {
  stroke: currentColor;
}

/* Panels */
.bnd-lab__panel {
  display: none;
}
.bnd-lab__panel--active {
  display: block;
}

/* Glass Card */
.bnd-glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}
.bnd-lab__card {
  max-width: 660px;
  margin: 0 auto;
  padding: 40px 36px;
}
.bnd-lab__card-header {
  margin-bottom: 28px;
}
.bnd-lab__card-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #111111;
  margin: 0 0 8px;
}
.bnd-lab__card-desc {
  font-size: 1.05rem;
  color: #333333;
  margin: 0;
  line-height: 1.7;
}

/* Form */
.bnd-lab__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.bnd-lab__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bnd-lab__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #222222;
}
.bnd-lab__select,
.bnd-lab__input {
  padding: 14px 16px;
  border: 1px solid #d0d8d0;
  border-radius: 8px;
  font-size: 1.05rem;
  color: #111111;
  background: rgba(255,255,255,0.8);
  transition: border-color 0.3s;
  width: 100%;
}
.bnd-lab__select:focus,
.bnd-lab__input:focus {
  outline: none;
  border-color: #287846;
  box-shadow: 0 0 0 3px rgba(40, 120, 70, 0.1);
}

/* Loading */
.bnd-lab__loading {
  text-align: center;
  padding: 32px 0;
  color: #333333;
  font-size: 1.05rem;
}
.bnd-lab__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}
.bnd-lab__dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #219b65;
  animation: bnd-pulse 1.2s ease-in-out infinite;
}
.bnd-lab__dots span:nth-child(2) { animation-delay: 0.2s; }
.bnd-lab__dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bnd-pulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Results */
.bnd-lab__results {
  margin-top: 24px;
}
.bnd-lab__results-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #287846;
  margin: 0 0 16px;
}
.bnd-lab__output {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.bnd-lab__copy-item {
  background: rgba(240, 244, 240, 0.8);
  border-left: 3px solid #219b65;
  padding: 16px;
  border-radius: 0 8px 8px 0;
  font-size: 1.05rem;
  color: #111111;
  line-height: 1.7;
}
.bnd-lab__copy-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: #219b65;
  margin-bottom: 4px;
}

/* Lead CTA */
.bnd-lab__lead-cta {
  margin-top: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #e8f5e0, #c8e6c0);
  border-radius: 12px;
  text-align: center;
}
.bnd-lab__lead-cta p {
  font-size: 1.05rem;
  font-weight: 600;
  color: #287846;
  margin: 0 0 12px;
}

/* Progress Bar */
.bnd-lab__progress {
  position: relative;
  height: 6px;
  background: #e0e8e0;
  border-radius: 3px;
  margin-bottom: 28px;
  overflow: hidden;
}
.bnd-lab__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #cce666, #219b65);
  border-radius: 3px;
  transition: width 0.4s ease;
}
.bnd-lab__progress-text {
  position: absolute;
  right: 0;
  top: -24px;
  font-size: 0.9rem;
  color: #333333;
}

/* Questions */
.bnd-lab__question {
  display: none;
}
.bnd-lab__question--active {
  display: block;
  animation: bnd-slideIn 0.3s ease;
}
@keyframes bnd-slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.bnd-lab__q-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111111;
  margin: 0 0 16px;
}
.bnd-lab__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bnd-lab__option {
  padding: 16px 20px;
  border: 1px solid #d0d8d0;
  border-radius: 10px;
  background: rgba(255,255,255,0.8);
  color: #222222;
  font-size: 1.05rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}
.bnd-lab__option:hover {
  border-color: #287846;
  background: #f0f7f2;
}
.bnd-lab__option--selected {
  border-color: #219b65;
  background: #e8f5e0;
  color: #287846;
  font-weight: 600;
}

/* Score Results */
.bnd-lab__score-results {
  margin-top: 24px;
}
.bnd-lab__score-total {
  text-align: center;
  margin-bottom: 28px;
}
.bnd-lab__score-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #cce666, #219b65);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bnd-lab__score-max {
  font-size: 1.2rem;
  color: #333333;
  margin-left: 4px;
}
.bnd-lab__score-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.bnd-lab__score-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bnd-lab__score-label {
  min-width: 150px;
  font-size: 0.95rem;
  color: #222222;
  font-weight: 500;
  text-align: right;
}
.bnd-lab__score-bar-bg {
  flex: 1;
  height: 12px;
  background: #e8ece8;
  border-radius: 6px;
  overflow: hidden;
}
.bnd-lab__score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #cce666, #219b65);
  border-radius: 6px;
  width: 0%;
  transition: width 1s ease;
}
.bnd-lab__suggestions {
  margin-bottom: 20px;
}
.bnd-lab__suggestion {
  background: rgba(240, 244, 240, 0.8);
  border-left: 3px solid #219b65;
  padding: 14px 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #222222;
  line-height: 1.7;
}
.bnd-lab__suggestion strong {
  color: #287846;
}

/* ============================================
   S5: Why Banderole
   ============================================ */
.bnd-why__list {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.bnd-why__item {
  display: grid;
  grid-template-columns: 60px 1fr 240px;
  gap: 28px;
  align-items: center;
}
.bnd-why__item--reverse {
  grid-template-columns: 240px 1fr 60px;
}
.bnd-why__item--reverse .bnd-why__number-col {
  order: 3;
}
.bnd-why__item--reverse .bnd-why__visual {
  order: 1;
}
.bnd-why__item--reverse .bnd-why__content {
  order: 2;
}
.bnd-why__number-col {
  position: relative;
}
.bnd-why__watermark {
  font-size: 4.5rem;
  font-weight: 900;
  color: #a8c4a8;
  line-height: 1;
  display: block;
}
.bnd-why__heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111111;
  margin: 0 0 12px;
}
.bnd-why__text {
  font-size: 1.05rem;
  color: #333333;
  line-height: 1.9;
  margin: 0;
}
.bnd-why__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
}
.bnd-why__visual svg {
  display: block;
  max-width: 100%;
  height: auto;
}
.bnd-why__visual img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

/* ============================================
   S6: Process
   ============================================ */
.bnd-process__timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 40px;
  padding-left: 20px;
  padding-right: 20px;
}
.bnd-process__line {
  position: absolute;
  top: 56px;
  left: 36px;
  right: 36px;
  height: 3px;
  background: #e0e4e0;
  z-index: 0;
}
.bnd-process__line-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #cce666, #219b65);
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.bnd-process__step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.bnd-process__step.bnd-process__step--active {
  opacity: 1;
  transform: translateY(0);
}
.bnd-process__dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #e0e4e0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.bnd-process__dot span {
  font-size: 1rem;
  font-weight: 700;
  color: #aaa;
  transition: color 0.5s ease;
}
.bnd-process__step.bnd-process__step--active .bnd-process__dot {
  border-color: #219b65;
  background: linear-gradient(135deg, #cce666, #219b65);
  box-shadow: 0 0 0 6px rgba(33, 155, 101, 0.15);
  animation: bnd-dotPop 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes bnd-dotPop {
  0% { transform: scale(0.6); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.bnd-process__step.bnd-process__step--active .bnd-process__dot span {
  color: #ffffff;
}
.bnd-process__card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  width: 100%;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.bnd-process__step.bnd-process__step--active .bnd-process__card {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.bnd-process__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111111;
  margin: 0 0 6px;
}
.bnd-process__desc {
  font-size: 0.95rem;
  color: #333333;
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   S7: FAQ
   ============================================ */
.bnd-faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bnd-faq__item {
  background: #ffffff;
  border: 1px solid #e0e6e0;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.bnd-faq__item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}
.bnd-faq__item[open] {
  border-color: #c0d4c0;
}
.bnd-faq__question {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 1.08rem;
  font-weight: 600;
  color: #111111;
  line-height: 1.5;
}
.bnd-faq__question::-webkit-details-marker {
  display: none;
}
.bnd-faq__q-mark {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #cce666, #219b65);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bnd-faq__toggle {
  margin-left: auto;
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
}
.bnd-faq__toggle::before,
.bnd-faq__toggle::after {
  content: '';
  position: absolute;
  background: #888;
  border-radius: 1px;
  transition: transform 0.3s ease;
}
.bnd-faq__toggle::before {
  top: 50%; left: 3px;
  width: 16px; height: 2px;
  transform: translateY(-50%);
}
.bnd-faq__toggle::after {
  top: 3px; left: 50%;
  width: 2px; height: 16px;
  transform: translateX(-50%);
}
.bnd-faq__item[open] .bnd-faq__toggle::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}
.bnd-faq__answer {
  padding: 0 22px 22px 68px;
}
.bnd-faq__answer p {
  font-size: 1.02rem;
  color: #333333;
  line-height: 1.9;
  margin: 0;
}

/* ============================================
   S8: CTA
   ============================================ */
.bnd-cta {
  background: linear-gradient(160deg, #0d1f17, #14332a, #1a3d2e);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.bnd-cta::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(204, 230, 102, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.bnd-cta::after {
  content: '';
  position: absolute;
  bottom: -40%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(33, 155, 101, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.bnd-cta__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.bnd-cta__heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.5;
}
.bnd-cta__text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 36px;
  line-height: 1.8;
}
.bnd-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.bnd-cta .bnd-btn--white {
  background: linear-gradient(135deg, #cce666, #219b65);
  color: #ffffff;
  border-color: transparent;
  font-weight: 700;
}
.bnd-cta .bnd-btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(204, 230, 102, 0.3);
  color: #ffffff;
}
.bnd-cta .bnd-btn--white-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}
.bnd-cta .bnd-btn--white-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
  color: #ffffff;
}

/* ============================================
   Footer
   ============================================ */
#contact {
  padding-bottom: 40px;
}
.bnd-footer {
  background: #f8f9fa;
  padding: 24px 0 20px;
  text-align: center;
  border-top: 1px solid #e0e6e0;
}
.bnd-footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.bnd-footer__links a {
  color: #333333;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.bnd-footer__links a:hover {
  color: #287846;
}
.bnd-footer__copy {
  color: #888888;
  font-size: 0.85rem;
  margin: 0;
}

/* ============================================
   Scroll Fade-in Animation
   ============================================ */
.bnd-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.bnd-fade-in.bnd-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive — Tablet (max-width: 900px)
   ============================================ */
@media (max-width: 900px) {
  .bnd-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bnd-why__item,
  .bnd-why__item--reverse {
    grid-template-columns: 50px 1fr;
    grid-template-rows: auto;
  }
  .bnd-why__visual {
    display: none;
  }
  .bnd-why__item--reverse .bnd-why__number-col {
    order: 0;
  }
  .bnd-why__item--reverse .bnd-why__content {
    order: 0;
  }
  .bnd-process__timeline {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 0;
    padding-left: 40px;
  }
  .bnd-process__line {
    top: 0;
    bottom: 0;
    left: 18px;
    right: auto;
    width: 3px;
    height: auto;
  }
  .bnd-process__step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }
  .bnd-process__dot {
    margin-bottom: 0;
    flex-shrink: 0;
    position: relative;
    left: -40px;
  }
  .bnd-process__card {
    flex: 1;
  }
}

/* ============================================
   Responsive — Mobile (max-width: 600px)
   ============================================ */
@media (max-width: 600px) {
  .bnd-sp-br { display: inline; }

  .bnd-section { padding: 60px 0; }
  .bnd-section__title { font-size: 1.4rem; margin-bottom: 36px; }

  .bnd-hero { min-height: auto; padding: 32px 0 40px; }
  .bnd-hero__blob--1 { width: 280px; height: 280px; }
  .bnd-hero__blob--2 { width: 250px; height: 250px; }
  .bnd-hero__blob--3 { width: 200px; height: 200px; }
  .bnd-hero__blob--4 { width: 180px; height: 180px; }
  .bnd-hero__heading { font-size: 1.5rem; min-height: 2.5rem; margin-bottom: 4px; }
  .bnd-hero__sub { font-size: 1.05rem; margin-bottom: 12px; }
  .bnd-hero__terminal { margin-bottom: 28px; }
  .bnd-hero__term-body { height: 220px; font-size: 0.72rem; padding: 12px 16px; }
  .bnd-hero__term-chrome { padding: 10px 14px; }
  .bnd-hero__term-dot { width: 9px; height: 9px; }
  .bnd-hero__cta { flex-direction: column; align-items: center; }
  .bnd-hero__cta .bnd-btn { width: 100%; max-width: 300px; }

  .bnd-problems__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bnd-services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bnd-lab__tabs {
    flex-direction: column;
    align-items: stretch;
  }
  .bnd-lab__tab {
    justify-content: center;
  }
  .bnd-lab__card {
    padding: 28px 20px;
  }
  .bnd-lab__score-label {
    min-width: 110px;
    font-size: 0.88rem;
  }

  .bnd-why__item,
  .bnd-why__item--reverse {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .bnd-why__watermark {
    font-size: 3rem;
  }

  .bnd-cta__heading {
    font-size: 1.5rem;
  }
  .bnd-cta__buttons {
    flex-direction: column;
    align-items: center;
  }
  .bnd-cta__buttons .bnd-btn {
    width: 100%;
    max-width: 300px;
  }

  .bnd-faq__question {
    font-size: 1rem;
    padding: 16px 18px;
  }
  .bnd-faq__answer {
    padding: 0 18px 18px 56px;
  }

  .bnd-footer__links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 0.85rem;
  }
  .bnd-footer {
    padding: 28px 0 18px;
  }
}

/* ============================================
   Contact Form 7 — 完全上書き
   SWELLの黒背景を強制的にリセット
   ============================================ */

/* フォーム外枠 — SWELLの暗い背景を完全リセット */
#contact .wpcf7,
#contact .wpcf7-form,
#contact form,
.bnd-section .wpcf7,
.bnd-section .wpcf7-form,
.bnd-section form.wpcf7-form {
  background: transparent !important;
  color: #222222 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* SWELLのCF7スキン（ダーク系）を完全無効化 */
.wpcf7-form .sec__heading_contact,
.wpcf7-form h2,
.wpcf7-form h3 {
  display: none !important;
}
.wpcf7-form *,
#contact .wpcf7-form * {
  color: #222222;
}

/* ラベル */
#contact .wpcf7-form label {
  display: block;
  color: #333333 !important;
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.8;
}
#contact .wpcf7-form .required {
  color: #c0392b !important;
  margin-left: 4px;
}

/* 入力フィールド共通 */
#contact .wpcf7-form input[type="text"],
#contact .wpcf7-form input[type="email"],
#contact .wpcf7-form input[type="tel"],
#contact .wpcf7-form input[type="url"],
#contact .wpcf7-form input[type="number"],
#contact .wpcf7-form textarea,
#contact .wpcf7-form select,
#contact .wpcf7-form .wpcf7-text,
#contact .wpcf7-form .wpcf7-email,
#contact .wpcf7-form .wpcf7-textarea {
  display: block !important;
  width: 100% !important;
  padding: 14px 16px !important;
  border: 1px solid #d0d5d0 !important;
  border-radius: 8px !important;
  font-size: 1.02rem !important;
  color: #111111 !important;
  background: #ffffff !important;
  margin-top: 6px;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
#contact .wpcf7-form input:focus,
#contact .wpcf7-form textarea:focus,
#contact .wpcf7-form select:focus {
  outline: none !important;
  border-color: #287846 !important;
  box-shadow: 0 0 0 3px rgba(40, 120, 70, 0.12) !important;
}

/* テキストエリア */
#contact .wpcf7-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* プライバシーポリシー同意 */
#contact .wpcf7-form .wpcf7-acceptance label,
#contact .wpcf7-form .wpcf7-radio label,
#contact .wpcf7-form .wpcf7-checkbox label {
  font-weight: 400;
  color: #444444 !important;
  font-size: 0.95rem;
}
#contact .wpcf7-form .wpcf7-acceptance a,
#contact .wpcf7-form a {
  color: #287846 !important;
  text-decoration: underline;
}

/* 補足テキスト */
#contact .wpcf7-form .body-text,
#contact .wpcf7-form .sec__body_contact {
  text-align: center;
  color: #666666 !important;
  font-size: 0.92rem;
  margin: 16px 0;
  font-weight: 400;
}

/* 送信ボタン */
#contact .wpcf7-form input[type="submit"],
#contact .wpcf7-form button[type="submit"],
#contact .wpcf7-form .wpcf7-submit {
  display: block !important;
  width: 100% !important;
  max-width: 360px !important;
  margin: 20px auto 0 !important;
  padding: 16px 36px !important;
  background: linear-gradient(135deg, #cce666, #219b65) !important;
  color: #ffffff !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
  text-align: center;
}
#contact .wpcf7-form input[type="submit"]:hover,
#contact .wpcf7-form .wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 155, 101, 0.3) !important;
  opacity: 0.95;
}

/* バリデーション */
#contact .wpcf7-form .wpcf7-not-valid-tip {
  color: #c0392b !important;
  font-size: 0.9rem;
  margin-top: 4px;
}
#contact .wpcf7-form .wpcf7-response-output {
  border: 1px solid #287846 !important;
  background: #f0f7f2 !important;
  color: #287846 !important;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-top: 16px;
}

/* ============================================
   Smooth Scroll
   ============================================ */
html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
}
