/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  color: #1a2540;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ===== COLOR SYSTEM ===== */
:root {
  --blue-dark:   #285a9d;
  --blue-mid:    #3a72b8;
  --blue-light:  #4e89d0;
  --blue-pale:   #dce9f7;
  --blue-pale2:  #f0f5fc;
  --orange:      #f6851d;
  --orange-light: #fa9333;
  --orange-dark: #d96c06;
  --white:       #ffffff;
  --gray-100:    #f5f6f8;
  --gray-200:    #e8eaed;
  --text-dark:   #1a2540;
  --text-mid:    #3d4f6b;
  --text-light:  #6b7a96;

  --fontsize-xxl: 6rem;
  --fontsize-xl: 4rem;
  --fontsize-lg: 2.4rem;
  --fontsize-md: 1.8rem;
  --fontsize-sm: 1.2rem;
  --fontsize-xs: 1rem;
  --fontsize-xxs: 0.8rem;

  @media (max-width: 768px) {
    --fontsize-xxl: 4rem;
    --fontsize-xl: 3rem;
    --fontsize-lg: 2rem;
    --fontsize-md: 1.6rem;
    --fontsize-sm: 1.2rem;
    --fontsize-xs: 1rem;
    --fontsize-xxs: 0.8rem;
  }
  @media (max-width: 480px) {
    --fontsize-3xl: 7rem;
    --fontsize-xxl: 3rem;
    --fontsize-xl: 2rem;
    --fontsize-lg: 1.8rem;
    --fontsize-lg2: 1.7rem;
    --fontsize-md: 1.4rem;
    --fontsize-sm: 1rem;
    --fontsize-xs: 1rem;
    --fontsize-xxs: 0.6rem;
  }
}

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }

/* ===== STICKY NAV ===== */
#sticky-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--blue-dark);
  border-bottom: 2px solid var(--orange);
  padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
  transform: translateY(0);
  transition: transform .3s ease;
}
#sticky-nav.visible { transform: translateY(0); }
.nav-logo {
  font-family: 'Barlow Condensed', 'Arial Black', sans-serif;
  font-size: 22px; font-weight: 900;
  color: var(--white); letter-spacing: .03em;
  width:200px;
}
.nav-logo span { color: var(--orange); }
.nav-logo img {
  display: block;
  width: auto;
}
.nav-ctas { display: flex; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-weight: 700; text-align: center; transition: all .2s ease;
  border-radius: 50px; white-space: nowrap;
}
.btn-primary { background: var(--orange); color: var(--white); padding: 11px 24px; font-size: 14px; }
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); }
.btn-nav-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,.5);
  padding: 10px 20px; font-size: 13px; border-radius: 50px;
  font-family: 'Noto Sans JP', Meiryo, sans-serif; font-weight: 700; cursor: pointer; transition: all .2s;
}
.btn-nav-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-lg { padding: 17px 36px; font-size: 16px; border-radius: 50px; }
.btn-xl { padding: 20px 48px; font-size: 18px; border-radius: 50px; letter-spacing: .03em; }

/* ===== HERO ===== */
#hero {
  background: var(--white);
  padding: 120px 0 80px;
  position: relative; overflow: hidden;
}
.hero-bg-logo {
  position: absolute;
  right: 12%;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  height: auto;
  opacity: .3;
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: var(--white);
  font-size: ver(--fontsize-xs); font-weight: 700; padding: 5px 14px;
  border-radius: 2px; letter-spacing: .04em; margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 900; line-height: 1.3; color: var(--blue-dark);
  margin-bottom: 12px; letter-spacing: 0.05em;
}
.hero-title .highlight {
  background: none; color: var(--orange); padding: none; display: inline;
  letter-spacing: 0.06em;
}
.hero-title .highlight span{
  font-size: var(--fontsize-xxl);
}
.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--blue-dark); margin-bottom: 40px;
  max-width: 600px; line-height: 1.8;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
#hero .btn-primary { color: var(--white); }
.hero-ctas .btn-xl { border-radius: 50px; box-shadow:none; }
.hero-ctas .btn-xl:hover { box-shadow: none; }
.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  background:  var(--blue-dark); color: var(--white);
  border-radius: 50px;
  border: none;
  padding: 18px 36px; font-size: 16px;
  font-weight: 700; cursor: pointer; transition: all .2s;
  font-family: 'Noto Sans JP', Meiryo, sans-serif;
}
.btn-secondary-hero:hover { border-color: none; background: var(--blue-mid); transform: translateY(-1px);}
.hero-trust {
  display: flex; gap: 24px; flex-wrap: wrap;
  list-style: none;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: var(--blue-dark); font-size: 13px;
}
.trust-item::before {
  content: '';
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: rgba(246,133,29,.2); border: 1.5px solid var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23f6851d' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* ===== SECTION COMMON ===== */
.section-tag {
  display: block;
  width: fit-content;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange); border-bottom: 2px solid var(--orange);
  padding-bottom: 3px; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900; line-height: 1.35; color: var(--text-dark);
  margin-bottom: 12px; letter-spacing: -.01em;
  display: inline;
  background: linear-gradient(transparent 70%, var(--blue-pale) 70%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.section-title--plain {
  display: block;
  background: none;
}
.section-desc {
  font-size: 16px; color: var(--text-mid);
  max-width: 100%; line-height: 1.8;
  margin: 24px 0 48px 0;
}

/* ===== PAIN ===== */
#pain { background: var(--white); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.pain-card {
  background: none;
  border: none;
  border-left: none;
  border-radius: 4px; padding: 24px 20px;
}
.pain-card .pain-icon {
  width: 100%;
  height: auto;
  background: none;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px; font-size: 20px;
}
.pain-card .pain-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
  box-shadow: 12px 12px 0px 0px rgb(220, 233, 247);
}
.pain-card h3 { font-size: var(--fontsize-sm); font-weight: 700; color: var(--blue-dark); margin-bottom: 8px; }
.pain-card p { font-size: var(--fontsize-xs); color: var(--text-mid); line-height: 1.7; }
.pain-cta-row {
  margin-top: 48px; background: none;
  border-radius: 6px; padding: 28px 0;
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap;
}
.pain-cta-row p { font-size: var(--fontsize-lg); font-weight: 700; color: var(--text-dark); line-height: 1.5; }
.pain-cta-row p span { color: var(--orange); font-size: var(--fontsize-xl);}

/* ===== NUMBERS ===== */
#numbers { background: var(--blue-dark); }
.numbers-header { text-align: center; margin-bottom: 56px; }
.numbers-header .section-tag { margin-left: auto; margin-right: auto; }
.numbers-header .section-title { color: var(--white); }
.numbers-header .section-desc { color: var(--white); margin: 0 auto; }
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px; border: none;
  border-radius: 6px; overflow: hidden; margin-bottom: 48px;
}
.number-block {
  background: none; padding: 40px 32px; text-align: center;
  border-right: none; transition: background .2s;
}
.number-block:last-child { border-right: none; }
.number-block:hover { background: none; }
.number-value {
  font-family: 'Arial', sans-serif;
  font-size: 72px; font-weight: 700; color: var(--orange);
  line-height: 1; margin-bottom: 8px; letter-spacing: -.02em;
  display: inline-block;
  transform-origin: center bottom;
  transition: transform 0.28s ease, color 0.28s ease;
}
.number-value:hover {
  transform: scale(1.3);
  color: var(--orange-light);
}
.number-unit { font-size: 28px; font-weight: 700; }
.number-label { font-size: var(--fontsize-sm); font-weight: 700; color: var(--white); margin-bottom: 10px; }
.number-desc { font-size: var(--fontsize-xs); color: var(--white); line-height: 1.6; }
.numbers-note {
  text-align: center; font-size: 12px; color: rgba(255,255,255,.4);
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px;
}

/* ===== FEATURES ===== */
#features { background: var(--gray-100); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card {
  background: none; border: none;
  border-top: none;
  border-radius: 4px; padding: 28px 22px;
  transition: transform .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: none; }
.feature-icon {
  display: block;
  width: 90%;
  margin: 0 auto;
  height: auto;
  margin-bottom: 26px;
}
.feature-card h3 { font-size: var(--fontsize-sm); font-weight: 700; color: var(--blue-dark); margin-bottom: 8px; }
.feature-card p { font-size: var(--fontsize-xs); color: var(--text-mid); line-height: 1.7; }
.features-screen {
  margin-top: 56px; background: var(--blue-dark);
  border-radius: 0; padding: 80px 40px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: center;
}
.features-screen-text h3 {
  font-size: 22px; font-weight: 900; color: var(--white);
  margin-bottom: 12px; line-height: 1.4;
}
.features-screen-text h3 span { color: var(--orange); font-size: var(--fontsize-lg) }
.features-screen-text p { font-size: 14px; color: var(--white); line-height: 1.8; }
.screen-mock {
  background: var(--blue-mid); border-radius: 8px; padding: 20px;
  border: 1px solid rgba(255,255,255,.15);
}
.screen-mock--image {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
}
.screen-mock-img {
  display: block;
  width: 100%;
  height: auto;
}
.screen-mock-bar {
  background: rgba(0,0,0,.25); border-radius: 4px; padding: 10px 14px;
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.screen-mock-bar span { font-size: 12px; color: rgba(255,255,255,.7); font-weight: 700; }
.screen-mock-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.screen-mock-row { display: flex; gap: 10px; margin-bottom: 10px; }
.mock-stat {
  flex: 1; background: rgba(255,255,255,.12);
  border-radius: 4px; padding: 12px; text-align: center;
}
.mock-stat--alert { border: 1px solid rgba(246,133,29,.5); }
.mock-stat .val {
  font-size: 22px; font-weight: 900; color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
}
.mock-stat .val.alert { color: var(--orange); }
.mock-stat .lbl { font-size: 11px; color: rgba(255,255,255,.5); }
.mock-list-item {
  background: rgba(255,255,255,.1); border-radius: 3px;
  padding: 8px 12px; margin-bottom: 6px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,.8);
}
.mock-badge { font-size: 10px; padding: 2px 8px; border-radius: 2px; font-weight: 700; }
.mock-badge.orange { background: var(--orange); color: var(--white); }
.mock-badge.blue { background: rgba(255,255,255,.25); color: var(--white); }
.mock-badge.gray { background: rgba(255,255,255,.12); color: rgba(255,255,255,.6); }

/* ===== TESTIMONIALS ===== */
#testimonials { background: var(--white); }
.testimonials-header { margin-bottom: 48px; }
.testimonials-header .section-desc { margin-bottom: 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card { border: 1.5px solid var(--gray-200); border-radius: 0; overflow: hidden; }
.testimonial-header { background: var(--blue-dark); padding: 18px 24px; }
.testimonial-result {
  font-size: 28px; font-weight: 900; color: var(--orange);
  line-height: 1.1; letter-spacing: -.01em;
}
.testimonial-result-label { font-size: 12px; color: var(--white); margin-top: 4px; }
.testimonial-body { padding: 20px 24px; }
.testimonial-company { font-size: var(--fontsize-sm); font-weight: 700; color: var(--blue-dark); letter-spacing: .05em; margin-bottom: 12px;
  border-bottom: 2px solid var(--orange);}
.testimonial-before {
  font-size: var(--fontsize-xs); color: var(--text-mid);
  border-left: none; padding-left: 0;
  margin-bottom: 12px; line-height: 1.7;
}
.testimonial-arrow { text-align: center; margin: 8px 0; }
.testimonial-arrow img { display: inline-block; width: 20px; height: auto; }
.testimonial-after { font-size: var(--fontsize-xs); font-weight: 400; color: var(--blue-dark); line-height: 1.6; }
.testimonial-after span { color: var(--orange); line-height: 1.6;  font-weight: 700;}
/* ===== PRICING ===== */
#pricing { background: var(--blue-pale2); }
.pricing-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.pricing-box {
  background: #dceaf7; border: none;
  border-radius: 8px; padding: 28px 24px;
}
.pricing-plan-head {
  display: inline-block;
  background: var(--blue-dark);
  color: var(--white);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}
.pricing-detail { margin-bottom: 16px; }
.pricing-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pricing-detail-col { min-width: 0; }
.pricing-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 4px;
}
.pricing-includes-title {
  margin-top: 12px;
  margin-bottom: 6px;
  font-size: var(--fontsize-xs);
  font-weight: 700;
  color: var(--text-mid);
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.price-amount {
  font-family: 'Arial', sans-serif;
  font-size: 2.4rem; font-weight: 700; color: var(--blue-dark); letter-spacing: -.02em;
  position: relative;
  display: inline-block;
  z-index: 0;
  line-height: 1.1;
}
.price-amount::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: rgba(246, 133, 29, 0.3);
  z-index: -1;
  pointer-events: none;
}
.price-unit {
  display: inline;
  font-size: 18px;
  color: var(--blue-dark);
  font-weight: 700;
  line-height: 1;
}
.price-unit small { font-size: 13px; font-weight: 600; }
.price-includes { list-style: none; margin: 0; padding: 0; }
.price-includes li {
  display: list-item;
  margin-left: 1.2em;
  list-style: disc;
  font-size: var(--fontsize-xs);
  line-height: 1.6;
  color: var(--text-mid);
  padding: 0;
  border: none;
}
.pricing-capacity {
  background: var(--white);
  border: 2px solid var(--blue-mid);
  border-radius: 0;
  padding: 12px 14px;
  margin-top: 14px;
}
.pricing-capacity h4 {
  font-size: var(--fontsize-xs);
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 4px;
}
.pricing-capacity p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}

/* --- subsidy (右カード) --- */
.subsidy-box { background: #fff5ec; border-radius: 8px; padding: 28px 24px; }
.subsidy-box h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 4px;
  text-align: center;
  line-height: 1.3;
}
.subsidy-box h3 span {
  color: var(--orange);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}
.subsidy-note {
  text-align: right;
  font-size: 12px;
  color: var(--blue-dark);
  margin-bottom: 14px;
}
.subsidy-table {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
  border: 2px dashed var(--orange);
}
.subsidy-table tbody { background: var(--white); }
.subsidy-table td {
  font-size: var(--fontsize-xs);
  padding: 2px 14px;
  color: var(--blue-dark);
  font-weight: 700;
  border-bottom: none;
}
.subsidy-table tbody > tr:first-child td {
  padding-top: 14px;
}
.subsidy-table tbody > tr:last-child td {
  padding-bottom: 14px;
}
.subsidy-table td:first-child { text-align: left; }
.subsidy-table td:last-child { text-align: right; font-family: 'Arial', sans-serif; white-space: nowrap; }
.subsidy-total-row { background: var(--white); }
.subsidy-divider-row td {
  padding: 0;
  border: none;
}
.subsidy-divider-row span {
  display: block;
  margin: 0 14px;
  border-top: 2px solid rgba(40,90,157,.25);
}
.subsidy-total-row td { padding-top: 10px; }
.subsidy-discount-row td { color: var(--orange); }
.subsidy-total {
  margin-top: 12px;
  text-align: left;
}
.subsidy-total .amount {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 12px;
  font-family: 'Arial', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.15;
}
.subsidy-total .amount span {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--orange);
}
.subsidy-support {
  margin-top: var(--fontsize-sm);
  padding: 16px 20px;
  background: var(--blue-dark);
  border-radius: 0;
  font-size: var(--fontsize-xs);
  color: var(--white);
  line-height: 1.6;
  text-align: center;
  font-weight: 700;
}
.subsidy-support strong {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 2px;
}
.subsidy-support small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
  color: var(--white);
}

/* ===== CTA FINAL ===== */
#cta-final { background: var(--blue-dark); padding: 80px 0; }
.cta-inner { text-align: center; }
.cta-inner .section-tag { color: var(--orange); }
.cta-inner h2 {
  font-size: clamp(26px, 3.5vw, 42px); font-weight: 900; color: var(--white);
  line-height: 1.35; margin-bottom: 16px; letter-spacing: -.01em;
}
.cta-inner h2 span { color: var(--orange); font-size: var(--fontsize-xl);}
.cta-inner > p { font-size: 16px; color: var(--white); margin-bottom: 40px; line-height: 1.8; }
.cta-buttons {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 32px;
}
a.cta-btn-primary,
a.cta-btn-secondary {
  text-decoration: none;
}

.cta-btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange); color: var(--white);
  border: none; border-radius: 50px; cursor: pointer;
  font-family: 'Noto Sans JP', Meiryo, sans-serif;
  font-weight: 700; font-size: 17px;
  padding: 20px 48px; letter-spacing: .04em;
  transition: all .2s;
  box-shadow: none;
}
.cta-btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: none; }
.cta-btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.45); border-radius: 50px; cursor: pointer;
  font-family: 'Noto Sans JP', Meiryo, sans-serif;
  font-weight: 700; font-size: 17px;
  padding: 18px 40px; letter-spacing: .04em;
  transition: all .2s;
}
.cta-btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.cta-trust-list {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  list-style: none;
}
.cta-trust-item {
  font-size: 13px; color: var(--white);
  display: flex; align-items: center; gap: 6px;
}
.cta-trust-item::before { content: '\2713'; color: var(--orange); font-weight: 700; }

/* ===== FLOATING CTA（ピル型・テキストのみ） ===== */
.float-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

a.float-pill {
  text-decoration: none;
}

.float-pill {
  display: block;
  width: 100%;
  border: none;
  border-radius: 9999px;
  padding: 14px 22px;
  font-family: 'Noto Sans JP', Meiryo, sans-serif;
  font-size: var(--fontsize-sm);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  cursor: pointer;
  letter-spacing: 0.02em;
  line-height: 1.35;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.float-pill--orange {
  background: linear-gradient(180deg, var(--orange-light) 0%, var(--orange) 100%);
  box-shadow: none;
  margin: 0 0 1rem 0;
  border: var(--white) 1px solid;
}

.float-pill--orange:hover {
  filter: brightness(1.03);
  box-shadow: none;
}

.float-pill--blue {
  background: linear-gradient(180deg, #3469ad 0%, var(--blue-dark) 100%);
  box-shadow:none;
  margin: 0 0 1rem 0;
  border: var(--white) 1px solid;
}

.float-pill--blue:hover {
  filter: brightness(1.04);
  box-shadow:none;
}

.float-pill:active {
  transform: scale(0.98);
}

.float-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 9999px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.float-close:hover {
  background: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.float-close--on-light {
  background: rgba(26, 37, 64, 0.08);
  color: rgba(26, 37, 64, 0.55);
}

.float-close--on-light:hover {
  background: rgba(26, 37, 64, 0.14);
  color: var(--text-dark);
}

/* PC：右下 */
#float-banner {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: min(280px, calc(100vw - 40px));
  padding-top: 32px;
  background: none;
  border: none;
  box-shadow: none;
}

html.js-loaded #float-banner {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

html.js-loaded #float-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#float-banner.float-cta-stack {
  position: fixed;
}

#float-banner .float-close {
  top: 0;
  right: 0;
  background: rgba(26, 37, 64, 0.4);
  color: rgba(255, 255, 255, 0.95);
}

#float-banner .float-close:hover {
  background: rgba(26, 37, 64, 0.55);
  color: var(--white);
}

/* SP/タブレット：下部固定・ふわっと表示 */
#float-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.float-cta-stack--bar .float-bar-inner {
  position: relative;
  margin: 0 auto;
  max-width: 420px;
  padding: 42px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 32px rgba(40, 90, 157, 0.12);
}

.float-cta-stack--bar .float-close {
  top: 10px;
  right: 12px;
}

.float-pill--block {
  width: 100%;
}

html.js-loaded #float-bar {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

html.js-loaded #float-bar.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ===== FOOTER ===== */
footer { background: var(--blue-dark); padding: 32px 0; border-top: 2px solid var(--orange); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo img {
  display: block;
  width: auto;
  height: 36px;
}
.footer-info { font-size: 13px; color: var(--white); line-height: 1.8; margin-top: 8px; }
.footer-contact {
  font-style: normal;
  font-size: 13px; color: var(--white); line-height: 1.9; text-align: right;
}
.footer-contact a { color: var(--white); }
.footer-contact a:hover { color: var(--orange); }

/* ===== REVEAL (JS有効時のみアニメーション適用) ===== */
html.js-loaded .reveal { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
html.js-loaded .reveal.visible { opacity: 1; transform: translateY(0); }
html.js-loaded .reveal-delay-1 { transition-delay: .1s; }
html.js-loaded .reveal-delay-2 { transition-delay: .2s; }
html.js-loaded .reveal-delay-3 { transition-delay: .3s; }
html.js-loaded .reveal-delay-4 { transition-delay: .4s; }


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* ===== DEVICE SWITCH UTILITIES ===== */
.pc_only { display: block !important; }
.tablet_only { display: none !important; }
.sp_only { display: none !important; }

/* ----- PC (1024px〜) ----- */
@media (min-width: 1024px) {
  #hero .container { max-width: 1440px; }

  .pc_only { display: block !important; }
  .tablet_only { display: none !important; }
  .sp_only { display: none !important; }

  .container { max-width: 1080px; }
  .cta-inner .section-tag { margin-left: auto; margin-right: auto; }
  .pricing-wrap { align-items: stretch; }
  .pricing-box,
  .subsidy-box { height: 100%; }
  .testimonial-header {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  #float-banner { display: block; }
  #float-bar { display: none !important; }
}

/* ----- タブレット (768px〜1023px) ----- */
@media (min-width: 768px) and (max-width: 1023px) {
  .pc_only { display: none !important; }
  .tablet_only { display: block !important; }
  .sp_only { display: none !important; }

  .container { padding: 0 32px; }
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }

  #hero { padding: 100px 0 64px; }
  .hero-bg-logo { width: 82%; opacity: 0.2; }
  .hero-title { font-size: clamp(28px, 4vw, 42px); }

  #sticky-nav .btn-nav-outline { display: none; }

  .pain-grid { grid-template-columns: repeat(2, 1fr); }

  .numbers-grid { grid-template-columns: repeat(3, 1fr); }
  .number-value { font-size: 56px; }
  .number-unit { font-size: 24px; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .features-screen { grid-template-columns: 1fr; gap: 28px; padding: 32px; }

  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card:last-child { grid-column: 1 / -1; max-width: 480px; margin: 0 auto; }

  .pricing-wrap { grid-template-columns: 1fr; gap: 20px; }
  .pricing-plan-head { font-size: 16px; }
  .pricing-detail-grid { grid-template-columns: 1fr 1fr; }
  .price-amount { font-size: 30px; }
  .price-unit { font-size: 16px; }
  .price-unit small { font-size: 13px; }
  .subsidy-box h3 { font-size: 20px; }
  .subsidy-box h3 span { font-size: 36px; }
  .subsidy-table { font-size: 14px; }
  .subsidy-total .amount { font-size: 28px; }
  .subsidy-total .amount span { font-size: 18px; }
  .subsidy-support { font-size: 14px; }
  .subsidy-support small { font-size: 11px; }

  #cta-final { padding: 64px 0; }
  .cta-btn-primary { padding: 18px 36px; font-size: 16px; }
  .cta-btn-secondary { padding: 16px 32px; font-size: 16px; }

  #float-banner { display: none !important; }
  #float-bar { display: block; }

  footer { padding-bottom: 120px; }
}

/* ----- スマホ (〜767px) ----- */
@media (max-width: 767px) {
  .pc_only { display: none !important; }
  .tablet_only { display: none !important; }
  .sp_only { display: block !important; }

  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .section-sm { padding: 40px 0; }

  #hero { padding: 80px 0 56px; }
  .hero-bg-logo {
    width: 120%;
    top: 10%;
    right: -24%;
    transform: none;
    opacity: 0.2;
  }
  .hero-bg-logo img{
    width: 110%;
    opacity: 0.2;
  }
  .hero-badge { font-size: 11px; margin-bottom: 20px; }
  .hero-title { font-size: 26px; margin-bottom: 10px; }
  .hero-sub { font-size: 14px; margin-bottom: 28px; line-height: 1.7; }
  .hero-ctas { flex-direction: column; gap: 10px; margin-bottom: 32px; }
  .hero-ctas .btn-xl { width: 100%; padding: 16px 24px; font-size: 16px; }
  .btn-secondary-hero { width: 100%; padding: 14px 24px; font-size: 16px; text-align: center; justify-content: center;}
  .hero-trust { gap: 12px; }
  .trust-item { font-size: 12px; }

  #sticky-nav { padding: 10px 16px; }
  #sticky-nav .btn-nav-outline { display: none; }
  .nav-logo img { height: 32px; }
  .btn-primary { padding: 9px 16px; font-size: 13px; }

  .section-title { font-size: var(--fontsize-lg2); }
  .section-desc { font-size: var(--fontsize-sm); margin-bottom: 32px; }

  .pain-grid { grid-template-columns: 1fr; }
  .pain-cta-row {
    flex-direction: column; text-align: center;
    margin-top: 0;
    padding: 24px 0;
  }
  .pain-cta-row p { font-size: 16px; }
  .pain-card {
    border-radius: 4px; padding: 24px 0;
  }
  .pain-card .pain-icon img {
    width: 80%;
    margin: 0 auto;
    height: auto;
    object-fit: contain;
    box-shadow: 12px 12px 0px 0px rgb(220, 233, 247);
  }
  .number-desc { font-size: var(--fontsize-sm); }
  .numbers-grid { grid-template-columns: 1fr; }
  .number-block { padding: 28px 20px; border: none; }
  .number-block:last-child { border-bottom: none; }
  .number-value { font-size: var(--fontsize-3xl); }
  .number-unit { font-size: 20px; }
  .number-label { font-size: var(--fontsize-md); }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 22px 18px; }
  .features-screen { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .features-screen-text h3 { font-size: 18px; }
  .feature-icon {
    width: 70%;
    margin: 0 auto 40px auto;
    height: auto;
  }
  .screen-mock:not(.screen-mock--image) { padding: 14px; }
  .screen-mock-row { flex-wrap: wrap; }
  .mock-stat { min-width: calc(50% - 5px); }
  .mock-list-item { font-size: 11px; padding: 6px 10px; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-result { font-size: 24px; }

  .pricing-wrap { grid-template-columns: 1fr; gap: 16px; }
  .pricing-box { padding: 20px 16px; }
  .pricing-plan-head { font-size: 14px; padding: 5px 10px; margin-bottom: 14px; }
  .pricing-detail-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pricing-label { font-size: 12px; }
  .price-amount { font-size: 26px; }
  .price-unit { font-size: 14px; }
  .price-unit small { font-size: 11px; }
  .pricing-capacity p { font-size: 11px; }
  .subsidy-box { padding: 20px 16px; }
  .subsidy-box h3 { font-size: 18px; }
  .subsidy-box h3 span { font-size: 30px; }
  .subsidy-note { font-size: 11px; }
  .subsidy-table { font-size: 13px; }
  .subsidy-total .amount { font-size: 26px; }
  .subsidy-total .amount span { font-size: 16px; }
  .subsidy-support { font-size: 13px; }
  .subsidy-support small { font-size: 11px; }
  .feature-card {
    padding: 22px 0;
  }
  .feature-card h3 { font-size: var(--fontsize-md); }
  .feature-card p { font-size: var(--fontsize-sm); }
  .testimonial-company { padding-bottom: 12px; border-bottom: 2px solid var(--orange); }
  #cta-final { padding: 48px 0; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-btn-primary { width: 100%; padding: 16px 24px; font-size: 15px; }
  .cta-btn-secondary { width: 100%; padding: 14px 24px; font-size: 15px; }
  .cta-trust-list { gap: 12px; }
  .cta-trust-item { font-size: 12px; }
  .cta-inner > p { text-align: left; }
  .cta-inner h2 { text-align: center; }
  .price-includes li {
    font-size: 0.8rem;
  }
  .pricing-includes-title {
    font-size: 0.8rem;
  }
  .float-cta-stack--bar .float-bar-inner {
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
    padding: 14px 12px calc(14px + env(safe-area-inset-bottom, 0px)) 12px;
    border-radius: 0;
  }
  .float-pill--block {
    flex: 1;
    width: auto;
    min-width: 0;
    padding: 12px 8px;
    font-size: 12px;
  }
  .float-cta-stack--bar .float-close {
    top: 8px;
    right: 10px;
    display: none;
  }
  .float-pill--blue {
    margin: 0;
  }
  .float-pill--orange {
    margin: 0;
  }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-contact { text-align: left; }
  footer { padding-bottom: 140px; }

  #float-banner { display: none !important; }
  #float-bar { display: block; }
}
