/* ============================================================
   成果報酬型ネット販売支援 — service detail page
   ============================================================ */

.sp-only { display: none; }
@media (max-width: 768px) { .sp-only { display: inline; } }

.btn--lg-ec { padding: 20px 56px; font-size: 17px; }

/* ---------- hero ---------- */
.ec-hero {
  position: relative;
  background: var(--navy-950);
  color: #fff;
  padding: calc(var(--header-h) + 88px) 0 112px;
  overflow: hidden;
}
.ec-hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}
.ec-hero .container { position: relative; }
.ec-hero__label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--sunrise-soft);
  margin-bottom: 24px;
}
.ec-hero__title {
  font-size: clamp(32px, 5.6vw, 56px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.02em;
}
.ec-hero__lead {
  margin-top: 28px;
  font-size: clamp(15px, 2vw, 17px);
  color: rgba(255, 255, 255, 0.8);
}
.ec-hero__lead strong { color: var(--sunrise-soft); }
.ec-hero__actions { margin-top: 40px; }

/* ---------- pain ---------- */
.ec-pain { padding: 112px 0; }
.ec-pain__title {
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 900;
  text-align: center;
  margin-bottom: 48px;
}
.ec-pain__list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.ec-pain__list li {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 24px 18px 56px;
  position: relative;
  font-size: 15px;
}
.ec-pain__list li::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--sunrise);
}
.ec-pain__closing {
  margin-top: 44px;
  text-align: center;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 2.1;
}

/* ---------- scope ---------- */
.ec-scope {
  padding: 112px 0;
  background: var(--paper-soft);
}
.ec-scope__table {
  max-width: 820px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.ec-scope__table > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--line);
}
.ec-scope__table > div:last-child { border-bottom: none; }
.ec-scope__table dt {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 14px;
  background: var(--paper-soft);
  color: var(--ink);
}
.ec-scope__table dd {
  padding: 18px 24px;
  font-size: 15px;
  color: var(--ink-soft);
}
.ec-scope__closing {
  margin-top: 32px;
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 700;
}
.ec-scope__closing strong {
  background: linear-gradient(transparent 62%, rgba(10, 10, 12, 0.12) 62%);
}
.ec-scope__marunage {
  margin-top: 40px;
  font-size: clamp(22px, 3.6vw, 34px);
  font-weight: 900;
  line-height: 1.6;
}
.ec-scope__marunage strong {
  background: var(--grad-sunrise);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.ec-scope__marunage span {
  display: inline-block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}
@media (max-width: 600px) {
  .ec-scope__table > div { grid-template-columns: 1fr; }
  .ec-scope__table dt { padding-bottom: 4px; }
  .ec-scope__table dd { padding-top: 4px; }
}

/* ---------- pricing ---------- */
.ec-pricing { padding: 112px 0; }
.ec-pricing__lead {
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 700;
  margin-bottom: 44px;
}
.ec-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.ec-plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 30px;
  position: relative;
}
.ec-plan--featured {
  border: 2px solid var(--sunrise);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
}
.ec-plan__badge {
  position: absolute;
  top: -14px;
  left: 30px;
  background: var(--grad-sunrise);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}
.ec-plan h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 18px;
}
.ec-plan ul {
  display: grid;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}
.ec-plan li {
  padding-left: 20px;
  position: relative;
  line-height: 1.7;
}
.ec-plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-sunrise);
}
.ec-plan b { color: var(--ink); }
.ec-pricing__note {
  margin-top: 36px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
@media (max-width: 900px) {
  .ec-pricing__grid { grid-template-columns: 1fr; max-width: 480px; }
}

/* ---------- simulation ---------- */
.ec-sim {
  margin-top: 72px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
}
.ec-sim__title {
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 900;
  margin-bottom: 28px;
}
.ec-sim__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.ec-sim__case {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
}
.ec-sim__case--zero { border-style: dashed; }
.ec-sim__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.ec-sim__rows { display: grid; gap: 8px; }
.ec-sim__rows li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 8px;
}
.ec-sim__rows li:last-child b { color: var(--sunrise); }
.ec-sim__rows span { color: var(--ink-soft); }
.ec-sim__rows b { font-size: 13.5px; white-space: nowrap; }
.ec-sim__net {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-soft);
}
.ec-sim__net b { color: var(--ink); font-size: 15px; }
.ec-sim__ours {
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--paper-soft);
  border-radius: 8px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.ec-sim__note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-soft);
}
@media (max-width: 900px) {
  .ec-sim { padding: 28px 24px; }
  .ec-sim__grid { grid-template-columns: 1fr; }
}

/* ---------- vs outsourcing ---------- */
.ec-vs { margin-top: 40px; }
.ec-vs__title {
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 900;
  margin-bottom: 24px;
}
.ec-vs__table-wrap { overflow-x: auto; }
.ec-vs__table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  font-size: 14.5px;
  min-width: 560px;
}
.ec-vs__table th,
.ec-vs__table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.ec-vs__table thead th {
  background: var(--navy-900);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.ec-vs__table thead th:last-child { color: #ffffff; }
.ec-vs__table tbody tr:last-child td { border-bottom: none; }
.ec-vs__table td:first-child { font-weight: 700; background: var(--paper-soft); }
.ec-vs__zero { color: var(--sunrise); font-weight: 900; }
.ec-vs__note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* ---------- light plan ---------- */
.ec-light {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: center;
  background: var(--navy-900);
  border-radius: 20px;
  padding: 40px;
  color: #fff;
}
.ec-light__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--sunrise-soft);
  margin-bottom: 8px;
}
.ec-light__title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
  margin-bottom: 16px;
}
.ec-light__desc {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
}
.ec-light__points {
  margin-top: 20px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.ec-light__points li {
  padding-left: 20px;
  position: relative;
}
.ec-light__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sunrise-soft);
  font-weight: 700;
}
.ec-light__score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.ec-light__score-item {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.ec-light__score-item span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 30px;
  margin-bottom: 8px;
}
.ec-light__score-item--before span {
  border: 3px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.55);
}
.ec-light__score-item--after span {
  border: 3px solid var(--sunrise);
  color: var(--sunrise-soft);
  box-shadow: 0 0 32px rgba(255, 255, 255, 0.22);
}
.ec-light__score-arrow {
  font-size: 22px;
  color: var(--sunrise);
  font-weight: 700;
}
@media (max-width: 800px) {
  .ec-light { grid-template-columns: 1fr; padding: 28px 24px; }
}

/* ---------- why ---------- */
.ec-why {
  padding: 112px 0;
  background: var(--navy-950);
  color: #fff;
}
.ec-why__body {
  max-width: 720px;
  display: grid;
  gap: 20px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.8);
}
.ec-why__answer {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  color: #fff;
  background: var(--grad-sunrise);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.ec-why__body strong { color: var(--sunrise-soft); }
.ec-why__body .ec-why__answer { margin-top: 16px; }
.ec-why__link {
  color: var(--sunrise-soft);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- upfront cost ---------- */
.ec-cost {
  margin-top: 64px;
  max-width: 820px;
  background: var(--navy-900);
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  padding: 40px;
}
.ec-cost__title {
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 900;
  margin-bottom: 12px;
}
.ec-cost__lead {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
}
.ec-cost__cols {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
}
.ec-cost__col {
  background: var(--navy-800);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 22px 24px;
}
.ec-cost__col-label {
  font-size: 13px;
  font-weight: 900;
  color: var(--sunrise-soft);
  margin-bottom: 14px;
}
.ec-cost__col ul { display: grid; gap: 12px; }
.ec-cost__col li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
  border-bottom: 1px dashed var(--line-dark);
  padding-bottom: 12px;
}
.ec-cost__col li:last-child { border-bottom: none; padding-bottom: 0; }
.ec-cost__col span { color: rgba(255, 255, 255, 0.7); }
.ec-cost__col b { color: #fff; white-space: nowrap; }
.ec-cost__total {
  margin-top: 28px;
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
}
.ec-cost__total strong { color: var(--sunrise-soft); }
.ec-cost__contract {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 700px) {
  .ec-cost { padding: 28px 24px; }
  .ec-cost__cols { grid-template-columns: 1fr; }
  .ec-cost__col li { flex-direction: column; gap: 2px; }
}

/* ---------- decline ---------- */
.ec-decline {
  padding: 112px 0;
  background: var(--navy-900);
  color: #fff;
}
.ec-decline__lead {
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.75);
}
.ec-decline__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.ec-decline__item {
  background: var(--navy-800);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: 28px 28px 28px 64px;
  position: relative;
}
.ec-decline__item::before {
  content: "×";
  position: absolute;
  left: 26px;
  top: 28px;
  font-size: 20px;
  font-weight: 900;
  color: var(--sunrise);
  line-height: 1.6;
}
.ec-decline__item h3 {
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 10px;
}
.ec-decline__item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}
.ec-decline__closing {
  margin-top: 36px;
  font-weight: 700;
  color: var(--sunrise-soft);
}
.ec-decline__note {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 768px) {
  .ec-decline__grid { grid-template-columns: 1fr; }
}

/* ---------- flow ---------- */
.ec-flow { padding: 112px 0; }
.ec-flow__list {
  max-width: 720px;
  display: grid;
  gap: 0;
  counter-reset: ecflow;
}
.ec-flow__list li {
  counter-increment: ecflow;
  position: relative;
  padding: 0 0 32px 72px;
}
.ec-flow__list li::before {
  content: counter(ecflow);
  position: absolute;
  left: 0;
  top: -4px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-sunrise);
  color: #fff;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ec-flow__list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 4px;
  width: 2px;
  background: var(--line);
}
.ec-flow__list b {
  display: block;
  font-size: 17px;
  font-weight: 900;
}
.ec-flow__list span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-soft);
}
.ec-flow__note {
  margin-top: 24px;
  font-size: 15px;
}
.ec-flow__note strong {
  background: linear-gradient(transparent 62%, rgba(10, 10, 12, 0.12) 62%);
}

/* ---------- faq ---------- */
.ec-faq {
  padding: 112px 0;
  background: var(--paper-soft);
}
.ec-faq__list {
  max-width: 760px;
  display: grid;
  gap: 14px;
}
.ec-faq__list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.ec-faq__list summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 56px;
  font-weight: 700;
  font-size: 15px;
  position: relative;
}
.ec-faq__list summary::-webkit-details-marker { display: none; }
.ec-faq__list summary::before {
  content: "Q";
  position: absolute;
  left: 22px;
  top: 20px;
  font-family: var(--font-en);
  font-weight: 800;
  color: var(--sunrise);
}
.ec-faq__list summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--ink-soft);
  transition: transform 0.25s ease;
}
.ec-faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.ec-faq__list details p {
  padding: 0 24px 22px 56px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------- results ---------- */
.ec-results { padding: 112px 0; }
.ec-results__note {
  font-size: 14px;
  color: var(--ink-soft);
  margin: -24px 0 44px;
  line-height: 2;
}
.ec-results__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ec-result {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 26px;
}
.ec-result__num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.1;
  background: var(--grad-sunrise);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.ec-result__num small {
  font-size: 22px;
  font-weight: 800;
}
.ec-result h3 {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 900;
}
.ec-result p:last-child {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.8;
}
@media (max-width: 1000px) {
  .ec-results__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ec-results__grid { grid-template-columns: 1fr; }
}

/* ---------- operator ---------- */
.ec-operator { padding: 112px 0; }
.ec-operator__card {
  max-width: 720px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
}
.ec-operator__logo {
  height: 88px;
  width: auto;
  margin-bottom: 20px;
}
.ec-operator__name {
  font-weight: 900;
  font-size: 17px;
  margin-bottom: 14px;
}
.ec-operator__desc {
  font-size: 14.5px;
  color: var(--ink-soft);
}
.ec-operator__desc strong {
  color: var(--ink);
  background: linear-gradient(transparent 62%, rgba(10, 10, 12, 0.12) 62%);
}
.ec-operator__info {
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-soft);
}
.ec-operator__info a {
  color: var(--sunrise);
  font-weight: 700;
}

/* ---------- cta ---------- */
.ec-cta {
  padding: 120px 0;
  background: var(--navy-950);
  color: #fff;
  text-align: center;
}
.ec-cta h2 {
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 900;
  line-height: 1.7;
}
.ec-cta p {
  margin: 16px 0 36px;
  color: rgba(255, 255, 255, 0.7);
}
