/* ===== ヒーロー ===== */
.hero {
  --u: min(1cqw, 1.5vh);
  height: calc(var(--u) * 66);
  position: relative;
  background: linear-gradient(rgba(0,0,0,.32), rgba(0,0,0,0)), url("https://ops.jig-saw.com/wp-content/uploads/2026/10/hero-bg.png") center / cover #596174;
  color: #fff;
  text-align: center;
  margin-inline: calc(50% - 50vw);
}
.brand {
  position: absolute;
  left: calc(var(--u) * 1.44);
  top: calc(var(--u) * .86);
  width: calc(var(--u) * 19.75);
}
.brand img { width: 100%; height: auto; aspect-ratio: 246 / 43; }
.hero h1 {
  position: absolute;
  top: calc(var(--u) * 21);
  left: 7%;
  width: 86%;
  font-size: calc(var(--u) * 8.333);
  line-height: 1.45;
  letter-spacing: .01em;
}
.hero h1 .line { display: block; white-space: nowrap; }
.hero h1 small { font-size: calc(var(--u) * 5.185); }
.shadow-text { position: relative; z-index: 0; }
.shadow-text::after {
  content: attr(data-text);
  position: absolute;
  left: .025em;
  top: .025em;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: .012em #fff;
  white-space: nowrap;
}
.hero-copy {
  position: absolute;
  top: calc(var(--u) * 47.4);
  left: 5%;
  width: 90%;
  font-size: min(calc(var(--u) * 2.4), 1.95cqw);
  line-height: 1.8;
}
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: calc(var(--u) * 6);
  fill: #fff;
}
.hero-badge {
  position: absolute;
  top: calc(var(--u) * 3);
  left: 50%;
  transform: translateX(-50%);
  width: calc(var(--u) * 50);
  aspect-ratio: 276 / 96;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--u) * 4.5);
  padding-bottom: calc(var(--u) * 1.8);
}
.hero-badge-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.hero-badge-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--u) * .1);
  min-width: calc(var(--u) * 9);
  text-align: center;
}
.hero-badge-name {
  font-size: calc(var(--u) * 2.1);
  line-height: 1.2;
  height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.hero-badge-value {
  display: flex;
  align-items: baseline;
  gap: calc(var(--u) * .1);
  color: #fff;
}
.hero-badge-num { position: relative; z-index: 0; font-size: calc(var(--u) * 6.6); line-height: 1; }
.hero-badge-num::after {
  content: attr(data-text);
  position: absolute;
  left: .05em;
  top: .05em;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: .025em #fff;
}
.hero-badge-pct {
  font-size: calc(var(--u) * 3); margin-left: calc(var(--u) * 1);
  display: inline-block; position: relative;
}
.hero-badge-off {
  position: absolute; bottom: 80%; left: 50%; transform: translateX(-50%);
  font-size: calc(var(--u) * 2); font-weight: 700;
  letter-spacing: 0; line-height: 1; white-space: nowrap;
}

.apply {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: calc(var(--u) * 1.5);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--u) * 30.4);
  min-height: calc(var(--u) * 5.75);
  padding: calc(var(--u) * .7) calc(var(--u) * 2);
  background: #ed7029;
  border-radius: 99px;
  box-shadow: 0 calc(var(--u) * .6) calc(var(--u) * 1.2) #0003;
  text-decoration: none;
  font-size: calc(var(--u) * 2.25);
  transition: background .2s, transform .2s;
}
.apply:hover { background: #d96320; transform: translateX(-50%) translateY(-2px); }
.cta-inline {
  --u: min(1cqw, 1.5vh);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--u) * 30.4);
  max-width: 100%;
  min-height: calc(var(--u) * 5.75);
  margin: 3cqw auto 0;
  padding: calc(var(--u) * .7) calc(var(--u) * 2);
  background: #ed7029;
  border-radius: 99px;
  box-shadow: 0 calc(var(--u) * .6) calc(var(--u) * 1.2) #0003;
  text-decoration: none;
  font-size: calc(var(--u) * 2.25);
  transition: background .2s, transform .2s;
}
.cta-inline:hover { background: #d96320; transform: translateY(-2px); }

/* ===== 概要 ===== */
.overview {
  position: relative;
  padding: 4.7cqw calc(50vw - 50% + 6cqw) 2cqw calc(50vw - 50% + 6.55cqw);
  background: #fff;
  border-radius: 0 0 3.2cqw 3.2cqw;
  z-index: 1;
  margin-inline: calc(50% - 50vw);
}
.overview-top {
  display: grid;
  grid-template-columns: 42.9cqw 38.5cqw;
  justify-content: space-between;
  align-items: center;
}
.partner-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4cqw;
}
.partner-logo {
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
}
.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: darken;
}
.partner-logo .partner-logo-aws { transform: scale(1.9); }
.partner-logo .partner-logo-gcp { transform: scale(1.15); filter: brightness(1.076); }
.partner-logo .partner-logo-ms { transform: scale(1.2); }
.rate h3 {
  min-height: 6.4cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4cqw;
  line-height: 1.25;
}
.rate-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .45cqw;
  line-height: 1.04;
}
.rate-value strong { font-size: 12cqw; }
.rate-value span { font-size: 3.2cqw; }
.intro h2 { font-size: 2.2cqw; margin: 0 0 1.15cqw; }
.intro p { font-size: 1.45cqw; line-height: 1.23; letter-spacing: .005em; }
.intro p + p { margin-top: 1.7cqw; }
.question {
  margin-top: 3.6cqw;
  text-align: center;
  font-size: 3.15cqw;
  line-height: 1.4;
}
.overview::after {
  content: "";
  position: absolute;
  top: 100%;
  left: calc(50% - .8cqw);
  border-left: .8cqw solid transparent;
  border-right: .8cqw solid transparent;
  border-top: 1.9cqw solid white;
}

/* ===== 課題 ===== */
.problems {
  background: #404040;
  margin-top: -3.2cqw;
  margin-inline: calc(50% - 50vw);
  padding-top: 10.1cqw;
  padding-bottom: 5cqw;
  padding-inline: calc(50vw - 50% + 5.35cqw);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.2cqw;
}
.problem {
  height: 24.6cqw;
  border-radius: 1.9cqw;
  background: #f1f1f1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.4cqw 1.2cqw 2cqw;
}
.problem img {
  width: 13.8cqw;
  height: 13.2cqw;
  object-fit: contain;
  margin-bottom: 1.7cqw;
}
.problem:first-child img { width: 14.7cqw; height: 14.7cqw; margin: -1.2cqw 0 1.4cqw; }
.problem p { font-size: 1.48cqw; line-height: 1.3; text-align: center; margin-top: auto; }

/* ===== ベネフィット ===== */
.benefits {
  background: #f2f2f2;
  margin-inline: calc(50% - 50vw);
  padding-top: 5.7cqw;
  padding-bottom: 4.7cqw;
  padding-inline: calc(50vw - 50% + 8.85cqw);
}
.benefits-heading {
  text-align: center;
  font-size: 2.6cqw;
  line-height: 1.3;
  margin-bottom: 2.7cqw;
}
.benefits-heading .emphasis-line { font-size: 2.95cqw; display: block; }
.pink { color: #ff4f85; }
.basic {
  background: #fff;
  border-radius: 1.2cqw;
  box-shadow: 0 .6cqw 1.3cqw #0003;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  min-height: 15.35cqw;
  padding: 1cqw 4.7cqw;
}
.billing {
  font-size: 1.6cqw;
  line-height: 1;
  text-align: center;
  margin: 0 0 1.4cqw;
  display: inline-block;
  align-self: center;
  background: #fff;
  border: 2px solid #ff4f85;
  border-radius: 6px;
  padding: .55cqw 1.8cqw;
  color: #ff4f85;
  font-weight: 700;
  width: fit-content;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.basic .rate { text-align: center; }
.basic .rate h3 { min-height: 0; height: 3.6cqw; font-size: 1.7cqw; white-space: nowrap; }
.basic .rate-value strong {
  font-size: 8.8cqw;
  padding: 0 .1em;
  background: linear-gradient(transparent 69%, #fff35c 69%, #fff35c 90%, transparent 90%);
}
.basic .rate-value span { font-size: 3.2cqw; }
.plus {
  color: #808080;
  text-align: center;
  font: 700 6.7cqw/1 Poppins, Arial;
  margin: 1.2cqw 0 1.6cqw;
}
.empty-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2cqw;
}
.empty-card {
  border-radius: 2cqw;
  background: #fff;
  box-shadow: 0 .6cqw 1.2cqw #0003;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5cqw;
  padding: 3.4cqw 1.5cqw;
}
.empty-card img {
  width: 8cqw;
  height: 8cqw;
  object-fit: contain;
}
.empty-card p {
  font-size: 1.4cqw;
  text-align: center;
  line-height: 1.4;
}

/* ===== OPS紹介 ===== */
.ops {
  background: #f2f2f2;
  margin-inline: calc(50% - 50vw);
  padding-top: 5.7cqw;
  padding-bottom: 5.7cqw;
  padding-inline: calc(50vw - 50% + 8.85cqw);
}
.ops-title { text-align: center; font-size: var(--section-title); line-height: 1.3; }
.ops-lead {
  text-align: center;
  font-size: 1.45cqw;
  line-height: 1.8;
  margin: 1.2cqw auto 0;
  max-width: 49em;
  text-wrap: balance;
}
.ops-services {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  justify-content: center;
  gap: 1.6cqw 8cqw;
  margin-top: 3.4cqw;
}
.ops-service { display: flex; align-items: center; gap: 1.2cqw; }
.ops-service img { width: 4.6cqw; height: 4.6cqw; flex: none; }
.ops-service p { display: grid; gap: .3cqw; font-size: 1.6cqw; line-height: 1.4; }
.ops-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 3.4cqw auto 0;
  padding: 1cqw 3.4cqw;
  background: #fff;
  color: #191919;
  border: 2px solid #191919;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.7cqw;
  transition: background .2s, color .2s, transform .2s;
}
.ops-cta:hover { background: #191919; color: #fff; transform: translateY(-2px); }

/* ===== 各クラウドごとの ===== */
.cloudwise {
  margin-inline: calc(50% - 50vw);
  background: #f2f2f2;
}
.cloudwise-wave {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -2px;
}
.cloudwise-body {
  position: relative;
  background: #4e5780;
  padding: 3cqw calc(50% - 50cqw + 5.35cqw) 7cqw;
}
.cloudwise-lead {
  color: #fff;
  font-size: var(--section-title);
  line-height: 1.3;
  text-align: center;
  margin-bottom: 4cqw;
}
.cloudwise-lead span { display: block; font-size: var(--section-lead); }
.cloudwise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.2cqw;
}
.cloud-card {
  border-radius: 1.9cqw;
  background: #f1f1f1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4cqw;
  padding: 3cqw 1.5cqw;
  text-align: center;
}
.cloud-card h3 { font-size: 2.5cqw; line-height: 1.25; }
.cloud-card-rate {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .45cqw;
  line-height: 1.04;
}
.cloud-card-rate strong { font-size: 7.5cqw; }
.cloud-card-rate span { font-size: 3.2cqw; }
.cloud-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: .6cqw;
  padding: 1cqw 3.4cqw;
  background: #ed7029;
  color: #fff;
  border-radius: 99px;
  box-shadow: 0 .6cqw 1.2cqw #0003;
  text-decoration: none;
  font-size: 1.7cqw;
  transition: background .2s, transform .2s;
}
.cloud-card-cta:hover { background: #d96320; transform: translateY(-2px); }

/* ===== お申込み ===== */
.apply-section {
  background: #f2f2f2;
  margin-inline: calc(50% - 50vw);
  padding: 5.7cqw calc(50vw - 50% + 8.85cqw) 8cqw;
}
.apply-section-title {
  text-align: center;
  font-size: var(--section-title);
}
.apply-section-lead {
  text-align: center;
  font-size: 1.45cqw;
  line-height: 1.8;
  margin: 1.2cqw 0 4cqw;
}
.contact-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 44px 44px;
  background: #fff;
  border-radius: 1.9cqw;
  box-shadow: 0 .6cqw 1.2cqw #0003;
  font-size: 16px;
}
.form-field { margin: 0 0 28px; padding: 0; border: 0; min-width: 0; }
.form-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  padding: 0;
  font-size: 16px;
  line-height: 1.4;
}
.form-required {
  flex: none;
  padding: 2px 8px;
  border-radius: 4px;
  background: #ff4f85;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
}
.form-input,
.form-textarea {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #c8c8c8;
  border-radius: 8px;
  background: #fff;
  color: #191919;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}
.form-textarea { min-height: 90px; resize: vertical; }
.form-input:focus,
.form-textarea:focus { outline: 3px solid #1664b4; outline-offset: 1px; border-color: #1664b4; }
.form-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-stack label { display: grid; gap: 6px; font-size: 14px; }
.form-checks { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  line-height: 1.5;
}
.form-check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: #ff4f85; }
.form-note { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: #404040; }
.form-error { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: #d93025; }
.form-error[hidden] { display: none; }
.form-agree { align-items: flex-start; margin: 0 0 18px; font-size: 15px; }
.form-agree input { margin-top: 1px; }
.form-agree a { text-decoration: underline; text-underline-offset: 3px; }
.privacy-title { margin: 0 0 4px; font-size: 16px; line-height: 1.4; }
.privacy-box {
  height: 180px;
  overflow-y: auto;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #c8c8c8;
  border-radius: 8px;
  background: #f7f7f7;
  font-size: 14px;
  line-height: 1.8;
}
.privacy-box h4 { margin: 16px 0 4px; font-size: 14px; line-height: 1.6; }
.privacy-box p { color: #404040; }
.privacy-box p + p { margin-top: 10px; }
.form-recaptcha { display: flex; justify-content: center; margin: 0 0 28px; }
.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 320px);
  min-height: 56px;
  margin: 0 auto;
  padding: 12px 24px;
  border: 0;
  border-radius: 99px;
  background: #ed7029;
  box-shadow: 0 .6cqw 1.2cqw #0003;
  color: #fff;
  font: inherit;
  font-size: 18px;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.form-submit:hover { background: #d96320; transform: translateY(-2px); }
.form-submit:disabled {
  background: #b5b5b5;
  box-shadow: none;
  color: #fff;
  cursor: not-allowed;
  transform: none;
}
.form-submit:focus-visible { outline: 3px solid #1664b4; outline-offset: 4px; }
