/* =========================================
   Service Detail Pages
   共通CSS
   ========================================= */

.vm-service-detail {
  padding-bottom: 88px;
}

.vm-service-detail__hero {
  padding: 6px 0 0;
}

.vm-service-detail__hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.vm-service-detail__hero-copy {
  min-width: 0;
}

.vm-service-detail__title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.28;
  color: #1d293d;
}

.vm-service-detail__lead {
  margin-top: 14px;
  max-width: 820px;
  color: #556070;
  line-height: 1.95;
  font-size: 1rem;
}

.vm-service-detail__main {
  padding-top: 28px;
}

.vm-service-detail__section + .vm-service-detail__section {
  margin-top: 54px;
}

.vm-service-detail__section--overview {
  margin-top: 8px;
}

.vm-service-detail__section-head {
  margin-bottom: 20px;
}

.vm-service-detail__section-head--left {
  text-align: left;
}

.vm-service-detail__section-head--center {
  text-align: center;
}

.vm-service-detail__section h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.76rem);
  line-height: 1.45;
  color: #1f2a3c;
}

.vm-service-detail__section-lead {
  max-width: 760px;
  margin: 10px auto 0;
  color: #5a6578;
  font-size: 0.96rem;
  line-height: 1.9;
}

/* =========================================
   Overview
========================================= */

.vm-service-detail__hero-card {
  border: 1px solid #dde5f1;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 16px 36px rgba(21, 34, 64, 0.09);
  padding: 24px;
}

.vm-service-detail__hero-meta {
  display: grid;
  gap: 12px;
}

.vm-service-detail__hero-meta-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.vm-service-detail__hero-meta-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef2f8;
  color: #4b5b78;
  font-size: 0.82rem;
  font-weight: 700;
}

.vm-service-detail__hero-meta-value {
  color: #243247;
  font-size: 1rem;
  font-weight: 700;
}

.vm-service-detail__hero-points {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.vm-service-detail__hero-point {
  padding-top: 14px;
  border-top: 1px solid #e6ecf5;
}

.vm-service-detail__hero-point:first-child {
  padding-top: 0;
  border-top: none;
}

.vm-service-detail__hero-point-label {
  margin: 0 0 6px;
  color: #6b7690;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.vm-service-detail__hero-point-text {
  margin: 0;
  color: #2a3549;
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 500;
}



/* =========================================
   Feature
========================================= */

.vm-service-detail__feature-list {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.vm-service-detail__feature-row {
  padding: 24px 26px;
  border-radius: 20px;
  border: 1px solid #dfe6f2;
  background: #fff;
  box-shadow: 0 12px 28px rgba(21, 34, 64, 0.06);
}

.vm-service-detail__feature-row h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.55;
  color: #1f2a3c;
}

.vm-service-detail__feature-row p {
  margin: 0;
  color: #5a6578;
  font-size: 0.95rem;
  line-height: 1.9;
}

/* =========================================
   Flow
========================================= */

.vm-service-detail__flow {
  display: grid;
  gap: 18px;
}

.vm-service-detail__flow-item {
  position: relative;
  padding: 24px 24px 24px 28px;
  border: 1px solid #dfe6f2;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 30px rgba(21, 34, 64, 0.06);
}

.vm-service-detail__flow-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 46px;
  bottom: -22px;
  width: 2px;
  height: 22px;
  background: linear-gradient(180deg, #8200ff 0%, #de00ff 100%);
}

.vm-service-detail__flow-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 40px;
  bottom: -30px;
  width: 14px;
  height: 14px;
  border-right: 2px solid #b100ff;
  border-bottom: 2px solid #b100ff;
  transform: rotate(45deg);
}

.vm-service-detail__flow-head {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.vm-service-detail__flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  min-height: 74px;
  border-radius: 22px;
  background: linear-gradient(135deg, #8200ff 0%, #de00ff 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 12px 24px rgba(130, 0, 255, 0.22);
}

.vm-service-detail__flow-title-wrap h3 {
  margin: 0;
  color: #1f2a3c;
  font-size: 1.08rem;
  line-height: 1.55;
}

.vm-service-detail__flow-term {
  margin: 6px 0 0;
  color: #7a35ff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.6;
}

.vm-service-detail__flow-text {
  margin: 14px 0 0 92px;
  color: #5a6578;
  font-size: 0.95rem;
  line-height: 1.9;
}

/* =========================================
   Gallery
========================================= */

.vm-service-detail__gallery {
  display: grid;
  gap: 28px;
}

.vm-service-detail__gallery-item {
  margin: 0;
}

.vm-service-detail__gallery-label {
  margin: 0 0 10px;
  color: #7a35ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.vm-service-detail__gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(21, 34, 64, 0.08);
}

/* =========================================
   Preparation
========================================= */

.vm-service-detail__prep-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.vm-service-detail__prep-card {
  display: grid;
  gap: 0;
}

.vm-service-detail__prep-head {
  padding: 14px 16px;
  border-radius: 14px 14px 0 0;
  background: #eef2ff;
  color: #3f4a68;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.6;
}

.vm-service-detail__prep-body {
  padding: 18px 16px;
  border: 1px solid #dfe6f2;
  border-top: none;
  border-radius: 0 0 14px 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(21, 34, 64, 0.05);
}

.vm-service-detail__prep-body p {
  margin: 0;
  color: #5a6578;
  font-size: 0.94rem;
  line-height: 1.85;
}

/* =========================================
   FAQ
========================================= */

.vm-service-detail__faq {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.vm-service-detail__faq-item {
  border: 1px solid #dfe6f2;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(21, 34, 64, 0.05);
}

.vm-service-detail__faq-item summary {
  list-style: none;
  position: relative;
  cursor: pointer;
  padding: 20px 56px 20px 20px;
  color: #1f2a3c;
  font-weight: 700;
  line-height: 1.65;
  background: #fff;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.vm-service-detail__faq-item summary::-webkit-details-marker {
  display: none;
}

.vm-service-detail__faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: #7a84a0;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 400;
}

.vm-service-detail__faq-item[open] summary::after {
  content: "−";
}

.vm-service-detail__faq-q,
.vm-service-detail__faq-a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: transparent;
  color: #1f2a3c;
  border: 1px solid #d7deea;
}

.vm-service-detail__faq-summary-text {
  flex: 1 1 auto;
}

.vm-service-detail__faq-answer {
  padding: 0;
  background: #ffffff;
  border-top: 1px solid #ebf0f7;
}

.vm-service-detail__faq-answer-inner {
  padding: 18px 20px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fcfefe;
}

.vm-service-detail__faq-answer p {
  margin: 0;
  color: #5a6578;
  line-height: 1.9;
}

/* =========================================
   LINE CTA
========================================= */

.vm-service-detail__line-cta {
  margin-top: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 34px;
  align-items: center;
  padding: clamp(24px, 4vw, 34px);
  border-radius: 28px;
  border: 1px solid #cfe9d5;
  background: linear-gradient(145deg, #ffffff 0%, #f3fff6 100%);
  box-shadow: 0 18px 38px rgba(11, 112, 46, 0.08);
}

.vm-service-detail__line-cta-kicker {
  margin: 0 0 8px;
  color: #26a844;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vm-service-detail__line-cta-title {
  margin: 0;
  color: #1f2a3c;
  font-size: clamp(1.52rem, 2vw, 2rem);
  line-height: 1.35;
  white-space: nowrap;
}

.vm-service-detail__line-cta-text {
  margin: 14px 0 0;
  color: #536172;
  line-height: 1.9;
}

.vm-service-detail__line-cta-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vm-service-detail__line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  background: #06c755;
  color: #fff;
  box-shadow: 0 14px 28px rgba(6, 199, 85, 0.2);
}

.vm-service-detail__line-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(6, 199, 85, 0.28);
}

.vm-service-detail__line-cta-qr {
  text-align: center;
}

.vm-service-detail__line-cta-qr-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 210px;
  padding: 14px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #dfe9e1;
  box-shadow: 0 14px 28px rgba(21, 34, 64, 0.06);
}

.vm-service-detail__line-cta-qr-box img {
  display: block;
  width: 100%;
  height: auto;
}

.vm-service-detail__line-cta-note {
  margin: 12px 0 0;
  color: #607267;
  font-size: 0.9rem;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 1080px) {
  .vm-service-detail__issue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vm-service-detail__line-cta-title {
    white-space: normal;
  }
}

@media (max-width: 960px) {
  .vm-service-detail__line-cta {
    grid-template-columns: 1fr;
  }

  .vm-service-detail__line-cta-qr {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .vm-service-detail {
    padding-bottom: 56px;
  }

  .vm-service-detail__hero {
    padding-top: 0;
  }

  .vm-service-detail__hero-inner {
    padding: 0 20px;
    gap: 18px;
  }

  .vm-service-detail__title {
    font-size: clamp(1.72rem, 6vw, 2.2rem);
  }

  .vm-service-detail__lead {
    font-size: 0.95rem;
    line-height: 1.85;
  }

  .vm-service-detail__section + .vm-service-detail__section {
    margin-top: 42px;
  }

  .vm-service-detail__hero-card {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .vm-service-detail__hero-meta-value {
    font-size: 0.95rem;
  }

  .vm-service-detail__hero-point-text {
    font-size: 0.92rem;
  }

  .vm-service-detail__issue-grid,
  .vm-service-detail__prep-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .vm-service-detail__issue-card,
  .vm-service-detail__feature-row {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .vm-service-detail__issue-card p,
  .vm-service-detail__feature-row p,
  .vm-service-detail__prep-body p,
  .vm-service-detail__faq-answer p,
  .vm-service-detail__line-cta-text,
  .vm-service-detail__section-lead {
    font-size: 0.92rem;
    line-height: 1.82;
  }

  .vm-service-detail__flow {
    gap: 14px;
  }

  .vm-service-detail__flow-item {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .vm-service-detail__flow-item:not(:last-child)::after {
    left: 30px;
    bottom: -18px;
    height: 18px;
  }

  .vm-service-detail__flow-item:not(:last-child)::before {
    left: 24px;
    bottom: -26px;
    width: 12px;
    height: 12px;
  }

  .vm-service-detail__flow-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .vm-service-detail__flow-num {
    width: 60px;
    min-height: 60px;
    border-radius: 18px;
    font-size: 0.95rem;
  }

  .vm-service-detail__flow-title-wrap h3 {
    font-size: 1rem;
  }

  .vm-service-detail__flow-term {
    margin-top: 4px;
    font-size: 0.78rem;
  }

  .vm-service-detail__flow-text {
    margin: 12px 0 0;
    font-size: 0.92rem;
    line-height: 1.82;
  }

  .vm-service-detail__gallery {
    gap: 22px;
  }

  .vm-service-detail__gallery-label {
    margin-bottom: 8px;
    font-size: 0.76rem;
  }

  .vm-service-detail__gallery-item img {
    border-radius: 8px;
  }

  .vm-service-detail__prep-head {
    padding: 12px 14px;
    font-size: 0.92rem;
  }

  .vm-service-detail__prep-body {
    padding: 16px 14px;
  }

  .vm-service-detail__faq-item summary {
    padding: 18px 48px 18px 16px;
    font-size: 0.94rem;
  }

  .vm-service-detail__faq-answer-inner {
    padding: 16px 16px 18px;
  }

  .vm-service-detail__line-cta {
    margin-top: 40px;
    padding: 22px 18px;
    border-radius: 22px;
  }

  .vm-service-detail__line-cta-title {
    white-space: normal;
    font-size: clamp(1.28rem, 5.5vw, 1.7rem);
  }

  .vm-service-detail__line-cta-actions {
    flex-direction: column;
  }

  .vm-service-detail__line-btn {
    width: 100%;
    min-width: 0;
  }

  .vm-service-detail__line-cta-qr {
    text-align: center;
  }

  .vm-service-detail__line-cta-qr-box {
    width: min(100%, 210px);
    height: auto;
    aspect-ratio: 1 / 1;
  }
}
/* =========================================
   Preparation
========================================= */

.vm-service-detail__section--preparation {
  padding-top: 8px;
}

.vm-service-detail__preparation-head {
  margin-bottom: 44px;
  text-align: center;
}

.vm-service-detail__preparation-en {
  margin: 0;
  color: #2f3440;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.vm-service-detail__preparation-ja {
  margin: 14px 0 0;
  color: #7a35ff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.vm-service-detail__preparation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 36px;
}

.vm-service-detail__preparation-item {
  min-width: 0;
}

.vm-service-detail__preparation-item-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin: 0 0 18px;
  padding: 16px 20px;
  background: #f3ecff;
  color: #7a35ff;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.vm-service-detail__preparation-item-body {
  padding: 0 2px;
}

.vm-service-detail__preparation-item-body p {
  margin: 0;
  color: #5a6578;
  font-size: 0.98rem;
  line-height: 2;
}

/* tablet */
@media (max-width: 960px) {
  .vm-service-detail__preparation-grid {
    column-gap: 24px;
    row-gap: 28px;
  }

  .vm-service-detail__preparation-item-title {
    min-height: 64px;
    font-size: 1.18rem;
  }

  .vm-service-detail__preparation-item-body p {
    font-size: 0.94rem;
    line-height: 1.9;
  }
}

/* sp */
@media (max-width: 768px) {
  .vm-service-detail__preparation-head {
    margin-bottom: 30px;
  }

  .vm-service-detail__preparation-en {
    font-size: clamp(2rem, 12vw, 3.2rem);
    line-height: 1.08;
  }

  .vm-service-detail__preparation-ja {
    margin-top: 10px;
    font-size: 0.82rem;
  }

  .vm-service-detail__preparation-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .vm-service-detail__preparation-item-title {
    min-height: 56px;
    margin-bottom: 12px;
    padding: 12px 14px;
    font-size: 1.05rem;
  }

  .vm-service-detail__preparation-item-body p {
    font-size: 0.92rem;
    line-height: 1.85;
  }
}
/* =========================================
   Service detail width & heading adjust
   追記用
========================================= */

/* 全体幅を広げる */
.vm-service-detail__hero-inner {
  width: min(1320px, calc(100% - 64px));
  max-width: none;
  padding: 0;
}

.vm-service-detail__main .container {
  width: min(1320px, calc(100% - 64px));
  max-width: none;
}

.vm-service-detail__section + .vm-service-detail__section {
  margin-top: 72px;
}

/* 共通見出し */
.vm-service-detail__section-head {
  margin-bottom: 32px;
}

.vm-service-detail__section-head--center {
  text-align: center;
}

.vm-service-detail__section-en {
  margin: 0;
  color: #2f3440;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.vm-service-detail__section-ja {
  margin: 12px 0 0;
  color: #7a35ff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

/* 既存のセクション見出し調整 */
.vm-service-detail__section-head h2 {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

/* 不要になった説明文は非表示でも保険をかける */
.vm-service-detail__lead,
.vm-service-detail__section-lead {
  display: none;
}

/* 幅が狭すぎる要素を広げる */
.vm-service-detail__feature-list {
  max-width: none;
  width: 100%;
}

.vm-service-detail__faq {
  max-width: none;
  width: 100%;
}

.vm-service-detail__gallery {
  width: 100%;
}

.vm-service-detail__flow {
  width: 100%;
}

.vm-service-detail__preparation-grid {
  width: 100%;
  column-gap: 52px;
  row-gap: 42px;
}

/* Preparation 見出しは少し余白強め */
.vm-service-detail__section-head--preparation {
  margin-bottom: 44px;
}

/* CTAも広く見せる */
.vm-service-detail__line-cta {
  margin-top: 72px;
}

/* PCで左右余白を減らす */
@media (max-width: 1024px) {
  .vm-service-detail__hero-inner {
    width: min(100% - 48px, 1320px);
  }

  .vm-service-detail__main .container {
    width: min(100% - 48px, 1320px);
  }

  .vm-service-detail__section-en {
    font-size: clamp(2.1rem, 6vw, 3.6rem);
  }

  .vm-service-detail__preparation-grid {
    column-gap: 28px;
    row-gap: 32px;
  }
}

/* SP */
@media (max-width: 768px) {
  .vm-service-detail__hero-inner {
    width: min(100% - 32px, 1320px);
  }

  .vm-service-detail__main .container {
    width: min(100% - 32px, 1320px);
  }

  .vm-service-detail__section + .vm-service-detail__section {
    margin-top: 48px;
  }

  .vm-service-detail__section-head {
    margin-bottom: 24px;
  }

  .vm-service-detail__section-en {
    font-size: clamp(2rem, 12vw, 3rem);
    line-height: 1.08;
  }

  .vm-service-detail__section-ja {
    margin-top: 8px;
    font-size: 0.82rem;
  }

  .vm-service-detail__preparation-grid {
    row-gap: 24px;
  }

  .vm-service-detail__line-cta {
    margin-top: 48px;
  }
}
/* =========================================
   Flow
========================================= */

.vm-service-detail__flow--timeline {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 1120px;
  margin: 0 auto;
}

.vm-service-detail__flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  column-gap: 26px;
  align-items: start;
  padding: 0 0 34px;
}

.vm-service-detail__flow-step:last-child {
  padding-bottom: 0;
}

.vm-service-detail__flow-marker {
  position: relative;
  display: flex;
  justify-content: center;
}

.vm-service-detail__flow-marker::after {
  content: "";
  position: absolute;
  top: 72px;
  left: 50%;
  width: 2px;
  height: calc(100% + 34px);
  background: #7a35ff;
  transform: translateX(-50%);
  opacity: 0.35;
}

.vm-service-detail__flow-step:last-child .vm-service-detail__flow-marker::after {
  display: none;
}

.vm-service-detail__flow-step--to-support .vm-service-detail__flow-marker::after {
  background-image: linear-gradient(to bottom, #7a35ff 0 50%, transparent 50% 100%);
  background-size: 2px 10px;
  background-repeat: repeat-y;
  opacity: 0.45;
}

.vm-service-detail__flow-marker-num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8b5cf6 0%, #7a35ff 100%);
  color: #fff;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 24px rgba(122, 53, 255, 0.18);
}

.vm-service-detail__flow-content {
  padding-top: 2px;
}

.vm-service-detail__flow-content h3 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.vm-service-detail__flow-content p {
  margin: 18px 0 0;
  color: #4b5563;
  font-size: 1rem;
  line-height: 2;
}

.vm-service-detail__flow-actions {
  margin-top: 18px;
}

.vm-service-detail__flow-link {
  display: inline-flex;
  align-items: center;
  color: #7a35ff;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
  border-bottom: 1px solid rgba(122, 53, 255, 0.28);
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.vm-service-detail__flow-link:hover {
  opacity: 0.75;
  border-color: rgba(122, 53, 255, 0.55);
}

/* tablet */
@media (max-width: 960px) {
  .vm-service-detail__flow--timeline {
    max-width: none;
  }

  .vm-service-detail__flow-step {
    grid-template-columns: 82px minmax(0, 1fr);
    column-gap: 20px;
    padding-bottom: 30px;
  }

  .vm-service-detail__flow-marker::after {
    top: 66px;
    height: calc(100% + 30px);
  }

  .vm-service-detail__flow-marker-num {
    width: 56px;
    height: 56px;
    font-size: 1rem;
  }

  .vm-service-detail__flow-content h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
  }

  .vm-service-detail__flow-content p {
    margin-top: 14px;
    font-size: 0.95rem;
    line-height: 1.9;
  }
}

/* sp */
@media (max-width: 768px) {
  .vm-service-detail__flow-step {
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 14px;
    padding-bottom: 24px;
  }

  .vm-service-detail__flow-marker::after {
    top: 54px;
    height: calc(100% + 24px);
  }

  .vm-service-detail__flow-marker-num {
    width: 44px;
    height: 44px;
    font-size: 0.92rem;
  }

  .vm-service-detail__flow-content h3 {
    font-size: 1.22rem;
    line-height: 1.55;
  }

  .vm-service-detail__flow-content p {
    margin-top: 10px;
    font-size: 0.92rem;
    line-height: 1.85;
  }

  .vm-service-detail__flow-actions {
    margin-top: 14px;
  }

  .vm-service-detail__flow-link {
    font-size: 0.92rem;
  }
}
/* =========================================
   Flow
========================================= */

.vm-service-detail__flow--timeline {
  --vm-flow-marker-size: 62px;
  --vm-flow-line-x: 31px;   /* 丸の中心 */
  --vm-flow-line-top: 76px; /* 丸の少し下から線を開始 */
  --vm-flow-line-bottom: 92px;

  position: relative;
  display: grid;
  gap: 0;
  max-width: 1120px;
  margin: 0 auto;
}

/* フロー全体に1本だけ縦線を引く */
.vm-service-detail__flow--timeline::before {
  content: "";
  position: absolute;
  top: var(--vm-flow-line-top);
  bottom: var(--vm-flow-line-bottom);
  left: var(--vm-flow-line-x);
  width: 2px;
  background: #7a35ff;
  opacity: 0.35;
}

.vm-service-detail__flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  column-gap: 26px;
  align-items: start;
  padding: 0 0 34px;
}

.vm-service-detail__flow-step:last-child {
  padding-bottom: 0;
}

/* 各ステップ側の線は使わない */
.vm-service-detail__flow-marker {
  position: relative;
  display: flex;
  justify-content: center;
}

.vm-service-detail__flow-marker::before,
.vm-service-detail__flow-marker::after {
  content: none !important;
}

.vm-service-detail__flow-marker-num {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--vm-flow-marker-size);
  height: var(--vm-flow-marker-size);
  border-radius: 999px;
  background: linear-gradient(135deg, #8b5cf6 0%, #7a35ff 100%);
  color: #fff;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 24px rgba(122, 53, 255, 0.18);
}

.vm-service-detail__flow-content {
  padding-top: 2px;
}

.vm-service-detail__flow-content h3 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.vm-service-detail__flow-content p {
  margin: 18px 0 0;
  color: #4b5563;
  font-size: 1rem;
  line-height: 2;
}

.vm-service-detail__flow-actions {
  margin-top: 18px;
}

.vm-service-detail__flow-link {
  display: inline-flex;
  align-items: center;
  color: #7a35ff;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
  border-bottom: 1px solid rgba(122, 53, 255, 0.28);
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.vm-service-detail__flow-link:hover {
  opacity: 0.75;
  border-color: rgba(122, 53, 255, 0.55);
}

/* tablet */
@media (max-width: 960px) {
  .vm-service-detail__flow--timeline {
    --vm-flow-marker-size: 56px;
    --vm-flow-line-x: 28px;
    --vm-flow-line-top: 68px;
    --vm-flow-line-bottom: 82px;

    max-width: none;
  }

  .vm-service-detail__flow-step {
    grid-template-columns: 82px minmax(0, 1fr);
    column-gap: 20px;
    padding-bottom: 30px;
  }

  .vm-service-detail__flow-content h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
  }

  .vm-service-detail__flow-content p {
    margin-top: 14px;
    font-size: 0.95rem;
    line-height: 1.9;
  }

  .vm-service-detail__flow-marker-num {
    font-size: 1rem;
  }
}

/* sp */
@media (max-width: 768px) {
  .vm-service-detail__flow--timeline {
    --vm-flow-marker-size: 44px;
    --vm-flow-line-x: 22px;
    --vm-flow-line-top: 54px;
    --vm-flow-line-bottom: 68px;
  }

  .vm-service-detail__flow-step {
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 14px;
    padding-bottom: 24px;
  }

  .vm-service-detail__flow-content h3 {
    font-size: 1.22rem;
    line-height: 1.55;
  }

  .vm-service-detail__flow-content p {
    margin-top: 10px;
    font-size: 0.92rem;
    line-height: 1.85;
  }

  .vm-service-detail__flow-actions {
    margin-top: 14px;
  }

  .vm-service-detail__flow-link {
    font-size: 0.92rem;
  }

  .vm-service-detail__flow-marker-num {
    font-size: 0.92rem;
  }
}
/* =========================================
   Flow line center fix
   追記用
========================================= */

/* PC: 1列目 96px の中央 = 48px */
.vm-service-detail__flow--timeline::before {
  left: 48px;
}

.vm-service-detail__flow-marker {
  justify-content: flex-start;
}

.vm-service-detail__flow-marker-num {
  margin-left: calc(48px - (var(--vm-flow-marker-size) / 2));
}

/* tablet: 1列目 82px の中央 = 41px */
@media (max-width: 960px) {
  .vm-service-detail__flow--timeline::before {
    left: 41px;
  }

  .vm-service-detail__flow-marker-num {
    margin-left: calc(41px - (var(--vm-flow-marker-size) / 2));
  }
}

/* sp: 1列目 56px の中央 = 28px */
@media (max-width: 768px) {
  .vm-service-detail__flow--timeline::before {
    left: 28px;
  }

  .vm-service-detail__flow-marker-num {
    margin-left: calc(28px - (var(--vm-flow-marker-size) / 2));
  }
}
/* =========================================
   Flow center / first-step fix
   追記用
========================================= */

/* 丸の横ズレをリセット */
.vm-service-detail__flow-marker {
  justify-content: center !important;
}

.vm-service-detail__flow-marker-num {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 線をフロー全体の中心軸に固定 */
.vm-service-detail__flow--timeline {
  --vm-flow-marker-size: 62px;
  --vm-flow-col-width: 96px;
}

.vm-service-detail__flow--timeline::before {
  content: "";
  position: absolute;
  top: calc(var(--vm-flow-marker-size) / 2);
  bottom: calc(var(--vm-flow-marker-size) / 2);
  left: calc(var(--vm-flow-col-width) / 2);
  width: 2px;
  background: #7a35ff;
  opacity: 0.35;
  transform: translateX(-50%);
}

/* 各ステップ側の線装飾は完全停止 */
.vm-service-detail__flow-marker::before,
.vm-service-detail__flow-marker::after,
.vm-service-detail__flow-step--to-support .vm-service-detail__flow-marker::before,
.vm-service-detail__flow-step--to-support .vm-service-detail__flow-marker::after,
.vm-service-detail__flow-step--support .vm-service-detail__flow-marker::before,
.vm-service-detail__flow-step--support .vm-service-detail__flow-marker::after {
  content: none !important;
  display: none !important;
}

/* 丸は線より前面 */
.vm-service-detail__flow-marker-num {
  position: relative;
  z-index: 2;
}

/* tablet */
@media (max-width: 960px) {
  .vm-service-detail__flow--timeline {
    --vm-flow-marker-size: 56px;
    --vm-flow-col-width: 82px;
  }
}

/* sp */
@media (max-width: 768px) {
  .vm-service-detail__flow--timeline {
    --vm-flow-marker-size: 44px;
    --vm-flow-col-width: 56px;
  }
}
/* =========================================
   Issue
========================================= */

.vm-service-detail__issue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.vm-service-detail__issue-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e3e8f2;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow:
    0 16px 36px rgba(20, 28, 45, 0.08),
    0 6px 14px rgba(20, 28, 45, 0.04);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.vm-service-detail__issue-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 40px rgba(20, 28, 45, 0.1),
    0 8px 18px rgba(20, 28, 45, 0.05);
}

.vm-service-detail__issue-card.is-open {
  border-color: #d7c9ff;
  box-shadow:
    0 22px 44px rgba(20, 28, 45, 0.11),
    0 10px 22px rgba(122, 53, 255, 0.08);
}

.vm-service-detail__issue-toggle {
  position: relative;
  display: block;
  width: 100%;
  min-height: 250px;
  padding: 18px 22px 18px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.vm-service-detail__issue-num {
  position: absolute;
  top: -12px;
  left: 12px;
  z-index: 1;
  margin: 0;
  color: rgba(122, 53, 255, 0.08);
  font-size: clamp(4.6rem, 7vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    color 0.35s ease;
}

.vm-service-detail__issue-card.is-open .vm-service-detail__issue-num {
  color: rgba(122, 53, 255, 0.05);
  transform: translateY(-8px);
}

.vm-service-detail__issue-heading {
  position: relative;
  z-index: 2;
  margin-top: 54px;
  padding-right: 54px;
  transition: transform 0.35s ease;
}

.vm-service-detail__issue-card.is-open .vm-service-detail__issue-heading {
  transform: translateY(-16px);
}

.vm-service-detail__issue-toggle h3 {
  display: block;
  min-height: 0;
  margin: 0;
  padding-right: 0;
  color: #111827;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.vm-service-detail__issue-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: 1px solid #e3e8f2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 18px rgba(20, 28, 45, 0.06);
}

.vm-service-detail__issue-icon::before,
.vm-service-detail__issue-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: #7a35ff;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
}

.vm-service-detail__issue-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.vm-service-detail__issue-card.is-open .vm-service-detail__issue-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.vm-service-detail__issue-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition:
    max-height 0.38s ease,
    opacity 0.3s ease,
    transform 0.38s ease;
}

.vm-service-detail__issue-card.is-open .vm-service-detail__issue-body {
  opacity: 1;
  transform: translateY(0);
}

.vm-service-detail__issue-body ul {
  margin: 0;
  padding: 0 22px 20px 34px;
}

.vm-service-detail__issue-body li {
  color: #556070;
  font-size: 0.88rem;
  line-height: 1.75;
}

.vm-service-detail__issue-body li + li {
  margin-top: 6px;
}

/* =========================
   PC only
   カードサイズ固定で中身だけ切り替える
========================= */
@media (min-width: 769px) {
  .vm-service-detail__issue-card {
    min-height: 250px;
  }

  .vm-service-detail__issue-toggle {
    min-height: 250px;
    height: 100%;
    padding-bottom: 120px;
  }

  .vm-service-detail__issue-heading {
    margin-top: 64px;
    padding-right: 52px;
  }

  .vm-service-detail__issue-card.is-open .vm-service-detail__issue-heading {
    transform: translateY(-22px);
  }

  .vm-service-detail__issue-body {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: none !important;
    padding-bottom: 0;
    pointer-events: none;
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity 0.32s ease,
      transform 0.32s ease;
  }

  .vm-service-detail__issue-card.is-open .vm-service-detail__issue-body {
    opacity: 1;
    transform: translateY(0);
  }

  .vm-service-detail__issue-body ul {
    padding: 0 22px 20px 34px;
  }

  .vm-service-detail__issue-body li {
    font-size: 0.84rem;
    line-height: 1.65;
  }
}

@media (max-width: 1080px) {
  .vm-service-detail__issue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .vm-service-detail__issue-toggle {
    min-height: 230px;
    padding: 16px 18px 18px;
  }

  .vm-service-detail__issue-num {
    left: 10px;
    font-size: clamp(4rem, 8vw, 6rem);
  }

  .vm-service-detail__issue-heading {
    margin-top: 48px;
    padding-right: 46px;
  }

  .vm-service-detail__issue-toggle h3 {
    font-size: 1.08rem;
  }
}

@media (min-width: 769px) and (max-width: 1080px) {
  .vm-service-detail__issue-card {
    min-height: 230px;
  }

  .vm-service-detail__issue-toggle {
    min-height: 230px;
    padding-bottom: 106px;
  }

  .vm-service-detail__issue-card.is-open .vm-service-detail__issue-heading {
    transform: translateY(-18px);
  }

  .vm-service-detail__issue-body ul {
    padding: 0 18px 18px 28px;
  }

  .vm-service-detail__issue-body li {
    font-size: 0.82rem;
    line-height: 1.6;
  }
}

@media (max-width: 768px) {
  .vm-service-detail__issue-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .vm-service-detail__issue-toggle {
    min-height: auto;
    padding: 18px 16px 16px;
  }

  .vm-service-detail__issue-num {
    top: -6px;
    left: 8px;
    font-size: 3.8rem;
  }

  .vm-service-detail__issue-heading {
    margin-top: 38px;
    padding-right: 40px;
  }

  .vm-service-detail__issue-card.is-open .vm-service-detail__issue-heading {
    transform: translateY(-10px);
  }

  .vm-service-detail__issue-toggle h3 {
    font-size: 1.02rem;
    line-height: 1.5;
  }

  .vm-service-detail__issue-icon {
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
  }

  .vm-service-detail__issue-icon::before,
  .vm-service-detail__issue-icon::after {
    width: 10px;
  }

  .vm-service-detail__issue-body {
    position: static;
    max-height: 0;
    overflow: hidden;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(18px);
    transition:
      max-height 0.38s ease,
      opacity 0.3s ease,
      transform 0.38s ease;
  }

  .vm-service-detail__issue-card.is-open .vm-service-detail__issue-body {
    opacity: 1;
    transform: translateY(0);
  }

  .vm-service-detail__issue-body ul {
    padding: 0 16px 18px 30px;
  }

  .vm-service-detail__issue-body li {
    font-size: 0.86rem;
    line-height: 1.7;
  }
}
/* =========================================
   Homepage detail heading adjust
========================================= */

/* サービス見出し削除後、上の余白をしっかり確保 */
.vm-service-detail__hero {
  padding-top: 96px;
}

/* ホームページ制作を中央寄りに */
.vm-service-detail__hero-copy {
  display: flex;
  justify-content: center;
}

.vm-service-detail__title {
  margin: 0 auto;
  text-align: center;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.2;
}

/* Overview / Issue などの見出し調整 */
.vm-service-detail__section-head {
  margin-bottom: 28px;
}

.vm-service-detail__section-en {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: none;
}

.vm-service-detail__section-ja {
  margin: 16px 0 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.45;
}

/* タブレット */
@media (max-width: 1024px) {
  .vm-service-detail__hero {
    padding-top: 88px;
  }

  .vm-service-detail__title {
    font-size: clamp(2.4rem, 6vw, 3.5rem);
  }

  .vm-service-detail__section-en {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }

  .vm-service-detail__section-ja {
    margin-top: 14px;
    font-size: clamp(1.08rem, 2.4vw, 1.4rem);
  }
}

/* スマホ */
@media (max-width: 768px) {
  .vm-service-detail__hero {
    padding-top: 80px;
  }

  .vm-service-detail__title {
    font-size: clamp(2.1rem, 8vw, 2.9rem);
  }

  .vm-service-detail__section-head {
    margin-bottom: 22px;
  }

  .vm-service-detail__section-en {
    font-size: clamp(1.45rem, 8vw, 2.1rem);
    line-height: 1.1;
  }

  .vm-service-detail__section-ja {
    margin-top: 12px;
    font-size: clamp(1rem, 4.8vw, 1.22rem);
    line-height: 1.4;
  }
}