/* ==================================================
サービスカテゴリ
================================================== */

/*----------------------------------------
冒頭概要文
----------------------------------------*/
.service-overview {
  max-width: 960px;
  margin: 0 auto var(--size-large) auto;
}

.service-overview p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #666;
  margin-bottom: 30px;
}

.service-overview p:last-child {
  margin-bottom: 0;
  text-align: center;
}


/*----------------------------------------
サービス詳細ページ
----------------------------------------*/
.service-features {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: var(--size-middle);
}

.service-features .feature-item {
  width: 100%;
  max-width: 960px;
  background: #ffffff;
  padding: var(--size-small);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  margin: 0 auto;
}

.service-features:nth-child(1 of .service-features) .feature-item {
  padding-top: var(--size-small);
}

.service-features::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ddd;
  transition: all 0.3s ease;
}

.service-features:nth-last-child(1 of .service-features)::after {
  display: none;
}

#content .service-features .feature-item h4 {
  margin: 0.5em 0 1em 0;
}

.service-features .feature-item img {
  width: 100%;
  height: auto;
  margin: 0 0 1em 0;
}

.service-features .feature-item p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #666;
}

@media (max-width: 1024px) {
  .service-features {
    gap: 40px;
  }
}



/* ==================================================
フロー
================================================== */

.service-process {
  margin: 0 auto;
  padding: var(--size-xlarge) 0;
  background: #F6F6F6;
  border-radius: 12px;
}

.service-features+.service-process {
  margin-top: var(--size-xsmall);
}

@media (max-width: 768px) {
  .service-process {
    margin: 0 calc(clamp(0.938rem, 0.142rem + 3.98vw, 3.125rem) * -1);
    border-radius: 0;
  }
}

.flowListWrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 10px 0 20px;
}

.flowList {
  position: relative;
}

.flowList::before {
  content: "";
  width: 15px;
  height: 100%;
  background: #DFDFDF;
  margin-left: -129px;
  display: block;
  position: absolute;
  top: 0;
  left: 120px;
  border-radius: 20px;
}

.flowList>li {
  position: relative;
  list-style-type: none;
}

.flowList>li:not(:last-child) {
  margin-bottom: clamp(1.875rem, 1.193rem + 3.41vw, 3.75rem);
  /* min 30px/320px : max 60px/1200px */
}

.flowList>li .flowListIcon {
  font-size: 0.8em;
  width: 2em;
  height: 2em;
  line-height: 2;
  text-align: center;
  font-weight: bold;
  border-radius: 100vh;
  color: #fff;
  background: var(--color-primary);
  display: inline-block;
  margin-right: 0.3em;
}

.flowList>li dl {
  padding-left: clamp(1.25rem, -0.114rem + 6.82vw, 5rem);
  /* min 20px/320px : max 80px/1200px */
  position: relative;
}

.flowList>li dl::before,
.flowList>li dl::after {
  content: "";
  display: block;
  position: absolute;
  top: 15px;
}

.flowList>li dl::before {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  background: var(--color-primary);
  border-radius: 50%;
  left: -4px;
}

.flowList>li dl::after {
  width: clamp(0.625rem, -0.625rem + 6.25vw, 4.063rem);
  /* min 10px/320px : max 65px/1200px */
  border-bottom: 1px dashed #999;
  position: absolute;
  left: 5px;
}

.flowList>li dl dt {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5em;
  display: flex;
  align-items: center;
}

.flowList>li dl dd {
  margin-left: 0;
}