.ec-page {
  background: #f8f8f8;
  color: #222;
}

.ec-page .container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.ec-hero {
  padding: 88px 0 72px;
  background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
}

.ec-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 480px);
  gap: 48px;
  align-items: center;
}

.ec-hero__eyebrow,
.ec-section-heading__eyebrow {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #777;
}

.ec-hero__title {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.2;
  font-weight: 700;
}

.ec-hero__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
  color: #555;
}

.ec-hero__actions {
  margin-top: 32px;
}

.ec-hero__image img {
  width: 100%;
  display: block;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.ec-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ec-btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.ec-btn--primary {
  background: #111;
  color: #fff;
}

.ec-intro,
.ec-feature,
.ec-strength,
.ec-flow,
.ec-faq,
.ec-cta {
  padding: 80px 0;
}

.ec-section-heading {
  margin-bottom: 40px;
  text-align: center;
}

.ec-section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
}

.ec-section-heading p {
  margin: 0;
  color: #666;
  line-height: 1.8;
}

.ec-problems {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ec-problems__item {
  padding: 24px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  line-height: 1.7;
  font-weight: 500;
}

.ec-feature__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ec-card {
  padding: 28px 24px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.ec-card__icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.ec-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.ec-card p {
  margin: 0;
  color: #666;
  line-height: 1.8;
}

.ec-strength__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: start;
}

.ec-strength__content,
.ec-strength__box {
  background: #fff;
  border-radius: 22px;
  padding: 30px 28px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.ec-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ec-check-list li {
  position: relative;
  padding-left: 28px;
  line-height: 1.9;
}

.ec-check-list li + li {
  margin-top: 12px;
}

.ec-check-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 700;
}

.ec-strength__box h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.ec-strength__box p {
  margin: 0;
  color: #666;
  line-height: 1.9;
}

.ec-flow__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.ec-flow__list li {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  align-items: start;
}

.ec-flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 14px;
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.ec-flow__list h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.ec-flow__list p {
  margin: 0;
  color: #666;
  line-height: 1.8;
}

.ec-faq__list {
  display: grid;
  gap: 18px;
}

.ec-faq__item {
  background: #fff;
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.ec-faq__item h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.ec-faq__item p {
  margin: 0;
  color: #666;
  line-height: 1.8;
}

.ec-cta__box {
  padding: 42px 28px;
  background: #111;
  color: #fff;
  border-radius: 28px;
  text-align: center;
}

.ec-cta__box h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
}

.ec-cta__box p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
}

.ec-cta__box .ec-btn--primary {
  background: #fff;
  color: #111;
}

@media (max-width: 991px) {
  .ec-hero__inner,
  .ec-strength__wrap,
  .ec-problems,
  .ec-feature__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ec-hero {
    padding: 64px 0 56px;
  }

  .ec-intro,
  .ec-feature,
  .ec-strength,
  .ec-flow,
  .ec-faq,
  .ec-cta {
    padding: 56px 0;
  }

  .ec-flow__list li {
    grid-template-columns: 1fr;
  }

  .ec-flow__num {
    width: 72px;
  }
}

.ec-service-page {
        background: #fff;
        color: #222;
    }

    .ec-service-page .container {
        width: min(1120px, calc(100% - 32px));
        margin: 0 auto;
    }

    .ec-service-hero {
        padding: 88px 0 72px;
        background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    }

    .ec-service-hero__inner {
        display: grid;
        grid-template-columns: minmax(0, 1.08fr) minmax(320px, 480px);
        gap: 48px;
        align-items: center;
    }

    .ec-service-hero__eyebrow,
    .ec-section-eyebrow {
        margin: 0 0 14px;
        font-size: 0.85rem;
        font-weight: 700;
        letter-spacing: 0.16em;
        color: #4d6f91;
    }

    .ec-service-hero__title {
        margin: 0 0 20px;
        font-size: clamp(2rem, 4vw, 3.4rem);
        line-height: 1.25;
        font-weight: 700;
        color: #111;
    }

    .ec-service-hero__text {
        margin: 0;
        font-size: 1rem;
        line-height: 1.95;
        color: #555;
    }

    .ec-service-hero__actions {
        margin-top: 28px;
    }

    .ec-service-hero__visual img {
        width: 100%;
        display: block;
        border-radius: 24px;
        box-shadow: 0 18px 40px rgba(26, 44, 66, 0.12);
    }

    .ec-service-lead,
    .ec-service-problem,
    .ec-service-feature,
    .ec-service-price,
    .ec-service-flow,
    .ec-service-faq,
    .ec-service-cta {
        padding: 88px 0;
    }

    .ec-service-lead .title {
        font-size: clamp(2.4rem, 4vw, 3.2rem);
        font-weight: 700;
        letter-spacing: 0.08em;
        color: #111;
    }

    .ec-service-lead .sub-title {
        font-size: clamp(1.4rem, 2.4vw, 2rem);
        font-weight: 600;
        margin-top: 8px;
        color: #4d6f91;
    }

    .ec-service-lead__box {
        max-width: 860px;
        margin: 0 auto;
        padding: 34px 28px;
        background: #fff;
        border: 1px solid rgba(50, 74, 99, 0.08);
        border-radius: 24px;
        box-shadow: 0 14px 34px rgba(26, 44, 66, 0.06);
        text-align: center;
    }

    .ec-service-lead__box p {
        margin: 0;
        line-height: 2;
        color: #555;
    }

    .ec-service-lead__box p+p {
        margin-top: 12px;
    }

    .ec-service-problem {
        background: #f8fbff;
    }

    .ec-service-problem__grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .ec-service-problem__item {
        padding: 22px 20px;
        background: #fff;
        border-radius: 18px;
        border: 1px solid rgba(77, 111, 145, 0.08);
        box-shadow: 0 10px 24px rgba(26, 44, 66, 0.05);
        line-height: 1.8;
        font-weight: 500;
    }

    .ec-service-feature__grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .ec-service-card {
        padding: 28px 24px;
        background: #fff;
        border-radius: 22px;
        border: 1px solid rgba(50, 74, 99, 0.08);
        box-shadow: 0 12px 30px rgba(26, 44, 66, 0.06);
        height: 100%;
    }

    .ec-service-card__icon {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .ec-service-card h3 {
        margin: 0 0 12px;
        font-size: 1.16rem;
        color: #111;
    }

    .ec-service-card p {
        margin: 0;
        line-height: 1.85;
        color: #666;
    }

    .ec-service-price {
        background: #f8fbff;
    }

    .ec-service-price__lead {
        max-width: 760px;
        margin: 0 auto 34px;
        text-align: center;
        color: #555;
        line-height: 1.9;
    }

    .ec-service-price__grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .ec-price-card {
        position: relative;
        background: #fff;
        border: 1px solid rgba(50, 74, 99, 0.08);
        border-radius: 24px;
        box-shadow: 0 12px 30px rgba(26, 44, 66, 0.06);
        padding: 30px 24px;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .ec-price-card.is-featured {
        border: 1px solid rgba(77, 111, 145, 0.26);
        box-shadow: 0 16px 36px rgba(26, 44, 66, 0.10);
        transform: translateY(-4px);
    }

    .ec-price-card__badge {
        position: absolute;
        top: 16px;
        right: 16px;
        display: inline-flex;
        align-items: center;
        min-height: 28px;
        padding: 0 10px;
        border-radius: 999px;
        background: #4d6f91;
        color: #fff;
        font-size: 0.74rem;
        font-weight: 700;
        letter-spacing: 0.08em;
    }

    .ec-price-card__name {
        margin: 0 0 8px;
        font-size: 1.3rem;
        color: #111;
    }

    .ec-price-card__target {
        margin: 0 0 18px;
        color: #777;
        line-height: 1.7;
        min-height: 52px;
    }

    .ec-price-card__price {
        margin: 0 0 18px;
        line-height: 1;
        color: #111;
        display: flex;
        align-items: flex-end;
        gap: 4px;
        flex-wrap: wrap;
    }

    .ec-price-card__price .yen {
        font-size: 1.2rem;
        font-weight: 700;
        transform: translateY(-6px);
    }

    .ec-price-card__price .amount {
        font-size: clamp(2.1rem, 3vw, 2.8rem);
        font-weight: 700;
        letter-spacing: -0.03em;
    }

    .ec-price-card__price .tax {
        font-size: 0.92rem;
        color: #666;
        padding-bottom: 6px;
    }

    .ec-price-card__desc {
        margin: 0 0 18px;
        line-height: 1.85;
        color: #666;
    }

    .ec-price-card__list {
        list-style: none;
        margin: 0 0 24px;
        padding: 0;
    }

    .ec-price-card__list li {
        position: relative;
        padding-left: 24px;
        line-height: 1.85;
        color: #555;
    }

    .ec-price-card__list li+li {
        margin-top: 8px;
    }

    .ec-price-card__list li::before {
        content: "✓";
        position: absolute;
        top: 0;
        left: 0;
        color: #4d6f91;
        font-weight: 700;
    }

    .ec-price-card__note {
        margin-top: auto;
        padding-top: 18px;
        border-top: 1px solid rgba(50, 74, 99, 0.08);
        font-size: 0.92rem;
        line-height: 1.8;
        color: #777;
    }

    .ec-service-price__bottom-note {
        max-width: 820px;
        margin: 28px auto 0;
        text-align: center;
        color: #666;
        line-height: 1.9;
        font-size: 0.95rem;
    }

    .ec-service-flow__list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: 18px;
    }

    .ec-service-flow__list li {
        display: grid;
        grid-template-columns: 86px minmax(0, 1fr);
        gap: 20px;
        align-items: start;
        padding: 24px;
        background: #fff;
        border-radius: 20px;
        border: 1px solid rgba(50, 74, 99, 0.08);
        box-shadow: 0 10px 24px rgba(26, 44, 66, 0.05);
    }

    .ec-service-flow__num {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 60px;
        border-radius: 16px;
        background: #4d6f91;
        color: #fff;
        font-weight: 700;
        font-size: 1rem;
    }

    .ec-service-flow__body h3 {
        margin: 0 0 8px;
        font-size: 1.08rem;
        color: #111;
    }

    .ec-service-flow__body p {
        margin: 0;
        line-height: 1.85;
        color: #666;
    }

    .ec-service-faq {
        background: #f8fbff;
    }

    .ec-service-faq__list {
        display: grid;
        gap: 18px;
    }

    .ec-service-faq__item {
        padding: 24px;
        background: #fff;
        border-radius: 20px;
        border: 1px solid rgba(50, 74, 99, 0.08);
        box-shadow: 0 10px 24px rgba(26, 44, 66, 0.05);
    }

    .ec-service-faq__item h3 {
        margin: 0 0 10px;
        font-size: 1.05rem;
        color: #111;
    }

    .ec-service-faq__item p {
        margin: 0;
        line-height: 1.85;
        color: #666;
    }

    .ec-service-cta__box {
        padding: 44px 28px;
        border-radius: 28px;
        background: linear-gradient(135deg, #4d6f91 0%, #2f4f6e 100%);
        color: #fff;
        text-align: center;
        box-shadow: 0 18px 40px rgba(26, 44, 66, 0.14);
    }

    .ec-service-cta__box h2 {
        margin: 0 0 14px;
        font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    }

    .ec-service-cta__box p {
        margin: 0 0 24px;
        line-height: 1.9;
        color: rgba(255, 255, 255, 0.88);
    }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;

        min-height: 54px;
        padding: 0 28px;

        border-radius: 999px;
        background: #4d6f91;
        color: #fff !important;

        font-weight: 700;
        letter-spacing: 0.04em;

        text-decoration: none;
        border: none;

        transition: all 0.25s ease;
    }

    .btn:hover {
        background: #2f4f6e;
        transform: translateY(-2px);
    }

    @media (max-width: 991px) {

        .ec-service-hero__inner,
        .ec-service-problem__grid,
        .ec-service-feature__grid,
        .ec-service-price__grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 767px) {

        .ec-service-hero,
        .ec-service-lead,
        .ec-service-problem,
        .ec-service-feature,
        .ec-service-price,
        .ec-service-flow,
        .ec-service-faq,
        .ec-service-cta {
            padding: 60px 0;
        }

        .ec-service-hero__inner {
            gap: 28px;
        }

        .ec-service-lead__box,
        .ec-service-card,
        .ec-price-card,
        .ec-service-faq__item,
        .ec-service-flow__list li {
            padding: 22px 18px;
        }

        .ec-service-flow__list li {
            grid-template-columns: 1fr;
        }

        .ec-service-flow__num {
            width: 74px;
        }

        .ec-service-cta__box {
            padding: 34px 20px;
        }

        .ec-price-card__target {
            min-height: auto;
        }
    }

    /* =========================
   見出しを大きく・見やすく
========================= */
    .ec-service-lead .title,
    .ec-service-problem .title,
    .ec-service-feature .title,
    .ec-service-price .title,
    .ec-service-flow .title,
    .ec-service-faq .title {
        font-size: clamp(2.2rem, 4vw, 3.2rem);
        line-height: 1.15;
        font-weight: 700;
        letter-spacing: 0.06em;
        color: #111;
        margin-bottom: 10px;
        text-align: center;
    }

    .ec-service-lead .sub-title,
    .ec-service-problem .sub-title,
    .ec-service-feature .sub-title,
    .ec-service-price .sub-title,
    .ec-service-flow .sub-title,
    .ec-service-faq .sub-title {
        font-size: clamp(1.35rem, 2.3vw, 2rem);
        line-height: 1.4;
        font-weight: 700;
        color: #4d6f91;
        margin-top: 0;
        text-align: center;
    }

    /* セクション見出しブロックの余白調整 */
    .ec-service-lead .text-center,
    .ec-service-feature .text-center,
    .ec-service-price .text-center,
    .ec-service-flow .text-center,
    .ec-service-faq .text-center {
        margin-bottom: 22px;
    }

    /* =========================
   ボタンを見えるように修正
========================= */
    .ec-service-page .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 56px;
        padding: 0 30px;
        border-radius: 999px;
        background: #4d6f91;
        color: #ffffff !important;
        border: 1px solid #4d6f91;
        text-decoration: none;
        font-size: 0.98rem;
        font-weight: 700;
        letter-spacing: 0.03em;
        box-shadow: 0 12px 28px rgba(47, 79, 110, 0.18);
        transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
    }

    .ec-service-page .btn:hover {
        background: #2f4f6e;
        border-color: #2f4f6e;
        color: #ffffff !important;
        transform: translateY(-2px);
        box-shadow: 0 16px 34px rgba(47, 79, 110, 0.24);
    }

    .ec-service-page .btn:visited,
    .ec-service-page .btn:focus,
    .ec-service-page .btn:active {
        color: #ffffff !important;
        text-decoration: none;
    }

    /* ヒーローのボタンは少し強めに */
    .ec-service-hero__actions .btn,
    .ec-service-cta__box .btn {
        min-height: 58px;
        padding: 0 34px;
        font-size: 1rem;
    }

    /* CTA内は背景が濃いので白ボタンのまま使う */
    .ec-service-cta__box .btn {
        background: #ffffff;
        color: #2f4f6e !important;
        border: 1px solid #ffffff;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    }

    .ec-service-cta__box .btn:hover {
        background: #f3f6fa;
        color: #2f4f6e !important;
        border-color: #f3f6fa;
    }

    /* =========================
   SP調整
========================= */
    @media (max-width: 767px) {

        .ec-service-lead .title,
        .ec-service-feature .title,
        .ec-service-price .title,
        .ec-service-flow .title,
        .ec-service-faq .title {
            font-size: 2rem;
        }

        .ec-service-lead .sub-title,
        .ec-service-feature .sub-title,
        .ec-service-price .sub-title,
        .ec-service-flow .sub-title,
        .ec-service-faq .sub-title {
            font-size: 1.25rem;
        }

        .ec-service-page .btn {
            width: 100%;
            max-width: 320px;
        }

        .ec-service-hero__actions,
        .ec-service-cta__box {
            text-align: center;
        }
    }

    .ec-service-cta__box .btn {
        background: #fff;
        color: #2f4f6e;
        border: none;
    }