:where(
    .service-section-title,
    .values-title,
    .c-plan__title,
    .flow-block-title,
    .section-title,
    .modern-faq-title
  ):is(.fade-up, .fade-in, .animate-up) {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

:where(
    .service-section-title,
    .values-title,
    .c-plan__title,
    .flow-block-title,
    .section-title,
    .modern-faq-title
  )
  :is(.fade-up, .fade-in, .animate-up) {
  opacity: 1 !important;
  transform: none !important;
  transition: background-size 0.8s ease !important;
}

.highlight-yellow.no-anim {
  background-size: 100% 8px;
}

@media (prefers-reduced-motion: reduce) {
  .highlight-yellow {
    transition: none;
    background-size: 100% 8px;
  }
}

.service-block {
  padding: 60px 20px;
}

.service-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.service-section-title {
  position: relative;
  padding: 60px 20px;
  text-align: center;
  background-image: url("../img/top_img_02.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #333;
  overflow: hidden;
  margin-top: 0;
}

.service-section-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(2px);
  z-index: 1;
}

/* ✨文字を前面に */
.service-section-title * {
  position: relative;
  z-index: 2;
}

.service-text {
  flex: 1;
  min-width: 320px;
}

.service-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.service-number {
  font-size: 48px;
  font-weight: bold;
  color: #6baa75;
  line-height: 1;
}

.service-title small {
  font-size: 14px;
  color: #6baa75;
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-title h3 {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
  color: #000;
}

.service-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.service-image {
  flex: 1;
  min-width: 300px;
  margin: 0;
}

.service-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .service-block {
    padding: 40px 16px;
  }

  .service-inner {
    flex-direction: column;
    gap: 24px;
  }

  .service-text,
  .service-image {
    width: 100%;
    min-width: unset;
  }

  .service-number {
    font-size: 36px;
  }

  .service-title h3 {
    font-size: 20px;
  }

  .service-title small {
    font-size: 12px;
    margin-bottom: 2px;
  }

  .service-text p {
    font-size: 15px;
    line-height: 1.6;
  }

  .service-image img {
    border-radius: 4px;
    max-width: 100%;
    height: auto;
  }

  .service-block .service-text {
    order: 1;
  }

  .service-block .service-image {
    order: 2;
  }

  .service-block--reverse .service-text {
    order: 1;
  }

  .service-block--reverse .service-image {
    order: 2;
  }
}

@media (max-width: 391px) {
  .service-title h3 {
    font-size: 22px;
  }

  .service-text p {
    font-size: 19px;
  }

  .sp-off {
    display: none;
  }
}

/* 料金について */
.course-wrap {
  background: #fffcf2;
  padding: 64px 0;
}

.course-wrap > * {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.course__heading-out {
  width: 100%;
  text-align: center;
  margin-bottom: 36px;
  position: relative;
}

.course__heading-ribbon {
  display: inline-block;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  color: #333;
  padding-bottom: 6px;
  letter-spacing: 0.05em;
}

.course--framed {
  padding: clamp(16px, 3vw, 28px);
}

.course__grid {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 2vw, 16px);
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid #80bc00;
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  height: auto !important;
}

.step-card__thumb {
  flex: 0 0 150px;
  display: flex;
}

.step-card__thumb img {
  width: 100%;
  height: auto !important;
  border-radius: 6px;
  object-fit: cover;
}

.step-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-card__num {
  font-size: 13px;
  opacity: 0.7;
}

.step-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  white-space: normal !important;
}

.step-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  white-space: normal !important;
  overflow: visible !important;
}

@media (max-width: 640px) {
  .course__heading-out {
    margin-bottom: 28px;
  }

  .course__grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .step-card__thumb {
    width: 70% !important;
    margin: 0 auto;
    flex: 0 0 auto;
  }

  .step-card__thumb img {
    width: 100%;
    height: auto !important;
  }

  .step-card__body {
    width: 100%;
  }

  .course-wrap {
    width: 100%;
    padding: 40px 0 !important;
    overflow-x: hidden !important;
  }

  .course-wrap > * {
    max-width: 100% !important;
    padding: 0 16px !important;
    margin: 0 auto;
  }
}

/* 交通事故治療 */
:root {
  --ink: #1f2937;
  --muted: #6b7280;
  --brand: #1572d6;
  --accent: #ff8c00;
  --line: #ffffff;
  --bg: #f8fafc;
  --check-bg: #f2f2f2;
}

.pain-section {
  position: relative;
  background: radial-gradient(
        circle at 0 0,
        rgba(0, 0, 0, 0.06) 1px,
        transparent 1px
      )
      0 0/14px 14px,
    var(--bg);
  color: var(--ink);
}

.pain-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}

.pain-title {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(16px, 2.6vw, 26px);
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pain-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.pain-visual {
  display: flex;
  justify-content: center;
}

.pain-image {
  max-width: 260px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.pain-list {
  width: 100%;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.7;
}

.check-grid li {
  position: relative;
  padding-left: 32px;
}

.check-grid li .check-icon {
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 22px;
  height: 22px;
  background: no-repeat center/contain
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22' fill='none'><rect x='1' y='1' width='18' height='18' rx='3' stroke='%231572d6' stroke-width='2' fill='%23f2f2f2'/><path d='M5 12 L9 16 L20 4' stroke='%231572d6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

.pain-divider {
  display: grid;
  place-items: center;
  padding: 22px 0 6px;
}

.chevron {
  width: 28px;
  height: 28px;
  border-bottom: 3px solid var(--muted);
  border-right: 3px solid var(--muted);
  transform: rotate(45deg);
  border-radius: 2px;
  opacity: 0.7;
}

.pain-lead {
  text-align: center;
  font-size: clamp(14px, 2.2vw, 22px);
  margin: 10px 0 0;
}

.pain-lead .hl {
  color: #80bc00;
  font-weight: 800;
}

.sp-br {
  display: none;
}

@media (max-width: 980px) {
  .pain-body {
    display: grid;
    grid-template-columns: auto max-content;
    column-gap: 16px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .pain-visual {
    order: 0;
    justify-content: center;
  }

  .pain-list {
    width: auto;
    max-width: 500px;
    margin: 0;
  }

  .check-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

@media (max-width: 600px) {
  .pain-visual {
    display: none;
  }

  .pain-body {
    grid-template-columns: 1fr;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
  }

  .pain-list {
    width: auto;
    max-width: 500px;
    margin: 0 auto;
  }

  .check-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

/* 交通事故治療選ばれる理由 */
:root {
  --ink: #1f2430;
  --muted: #6b7280;
  --accent: #2a79ff;
  --accent-soft: #eef4ff;
  --bg: #fff;
  --line: #e6ebf2;
  --radius: 18px;
  --container: 1100px;
  --shadow: 0 10px 24px rgba(10, 20, 60, 0.08);
  --shadow-lg: 0 30px 60px rgba(10, 20, 60, 0.12);
  --font: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo,
    sans-serif;
}

.reason {
  background: #fffcf2;
  padding: clamp(32px, 6vw, 96px) 0;
  color: var(--ink);
  font-family: var(--font);
  position: relative;
  overflow: clip;
}

.reason__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.reason__kicker {
  margin: 0 0 6px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #80bc005e;
  font-size: clamp(12px, 1.2vw, 14px);
}

.reason__title {
  margin: 0 0 clamp(18px, 3vw, 28px);
  font-size: clamp(22px, 3.6vw, 34px);
  line-height: 1.25;
  letter-spacing: 0.02em;
  font-weight: 900;
}

.reason__title span {
  color: #80bc00;
}

.reason__grid {
  list-style: none;
  margin: 0;
  padding: clamp(10px, 2vw, 14px) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(18px, 2.2vw, 22px);
  transition: 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card__illust {
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.card__illust img {
  width: clamp(140px, 20vw, 190px);
  height: auto;
  display: block;
  max-width: 100%;
}

.card__title {
  margin: 0 0 8px;
  font-size: clamp(18px, 1.6vw, 18px);
  font-weight: 900;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: normal;
}

.card__title em {
  color: #80bc00;
  font-style: normal;
  margin-left: 0.25em;
}

.card__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: clamp(18px, 1.2vw, 14px);
}

.reason__kicker,
.reason__title {
  text-align: center;
}

@media (max-width: 960px) {
  .reason__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reason__decor {
    opacity: 0.7;
  }
}

@media (max-width: 640px) {
  .reason__grid {
    grid-template-columns: 1fr;
  }
  .reason__decor {
    display: none;
  }

  .card__illust img {
    width: clamp(280px, 34vw, 170px);
  }

  .card__title {
    font-size: 20px;
  }
}
