@charset "UTF-8";

/* 作業流程、清運過程專用樣式；所有規則均限制在兩個流程框內。 */
.process-frame,
.work-process-frame {
  position: relative;
  padding: 34px 62px 62px;
  overflow: hidden;
  border: 1px solid rgba(213, 176, 101, 0.28);
  background-color: #fdfbf7;
  background-image:
    repeating-linear-gradient(132deg, rgba(204,154,60,.045) 0, rgba(204,154,60,.045) 1px, transparent 1px, transparent 34px),
    repeating-linear-gradient(42deg, transparent 0, transparent 88px, rgba(13,69,155,.025) 88px, rgba(13,69,155,.025) 89px, transparent 89px, transparent 142px),
    radial-gradient(circle at 100% 0%, rgba(235,188,89,.10), transparent 28%),
    radial-gradient(circle at 0% 100%, rgba(13,69,155,.055), transparent 30%);
  box-shadow: 0 14px 36px rgba(25,38,55,.08);
  font-family: inherit;
}

.process-frame::before,
.work-process-frame::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #ebbc59 0%, #d6ac55 38%, #0d459b 100%);
  content: "";
}

.process-frame::after,
.work-process-frame::after {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 92px;
  height: 46px;
  border-top: 1px solid rgba(205,157,64,.55);
  border-right: 1px solid rgba(205,157,64,.55);
  border-radius: 0 24px 0 0;
  content: "";
}

.process-flow,
.work-process-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 88px 38px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  isolation: isolate;
}

.process-card,
.work-process-card {
  position: relative;
  grid-column: span 2;
  min-width: 0;
  overflow: visible;
  border: 1px solid rgba(210,162,68,.34);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(20,34,55,.11);
}

.process-card--4,
.work-process-card--4 { grid-column: 2 / span 2; }
.process-card--5,
.work-process-card--5 { grid-column: 4 / span 2; }

.process-card__image,
.work-process-card__image {
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  background: #f1f3f6;
  aspect-ratio: 630 / 374;
}

.process-card__image img,
.work-process-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-position: center;
}

.process-card__image img { object-fit: contain; }
.work-process-card__image img { object-fit: cover; }

.process-card__body,
.work-process-card__body {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 108px;
  padding: 14px 18px;
  border-top: 1px solid rgba(210,162,68,.42);
  border-radius: 0 0 13px 13px;
  background: rgba(255,255,255,.98);
}

.process-card__number,
.work-process-card__number {
  display: flex;
  flex: 0 0 58px;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-right: 15px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, #d9a83d, #bd8521);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1px;
}

.process-card__text,
.work-process-card__text {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  min-width: 0;
  margin: 0;
  color: #353535;
  font-family: inherit;
  font-size: 23px !important;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: .4px;
}

.process-card__step,
.work-process-card__step { color: #202020; font-weight: 600; letter-spacing: .5px; }
.process-card__slash,
.work-process-card__slash { margin: 0 9px; color: #ebbc59; font-weight: 400; }

/* 清運過程 STEP1、3、4、5 的文字固定垂直置中。 */
.work-process-card--1 .work-process-card__text,
.work-process-card--3 .work-process-card__text,
.work-process-card--4 .work-process-card__text,
.work-process-card--5 .work-process-card__text {
  position: absolute;
  top: 50%;
  right: 18px;
  left: 91px;
  transform: translateY(-50%);
}

/* 桌機箭頭：以置中的向量線條避免字型基線造成偏下。 */
.process-card--1::after,
.process-card--2::after,
.process-card--4::after,
.work-process-card--1::after,
.work-process-card--2::after,
.work-process-card--4::after {
  position: absolute;
  top: 50%;
  right: -35px;
  z-index: 3;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 4px solid #fff;
  border-radius: 50%;
  background-color: #c89431;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l5 5-5 5' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  box-shadow: 0 3px 10px rgba(95,65,16,.16);
  box-sizing: border-box;
  content: "";
  transform: translateY(-50%);
}

@media screen and (max-width:1200px) {
  .process-frame,
  .work-process-frame { padding: 26px 42px 48px; }
  .process-flow,
  .work-process-flow { gap: 72px 24px; }
  .process-card__body,
  .work-process-card__body { min-height: 104px; padding: 12px; }
  .process-card__number,
  .work-process-card__number { flex-basis: 50px; width: 50px; height: 50px; margin-right: 12px; font-size: 20px; }
  .work-process-card--1 .work-process-card__text,
  .work-process-card--3 .work-process-card__text,
  .work-process-card--4 .work-process-card__text,
  .work-process-card--5 .work-process-card__text { right: 12px; left: 74px; }
  .process-card--1::after,
  .process-card--2::after,
  .process-card--4::after,
  .work-process-card--1::after,
  .work-process-card--2::after,
  .work-process-card--4::after { right: -28px; }
}

@media screen and (max-width:991px) {
  .process-frame,
  .work-process-frame { padding: 22px 36px 42px; }
  .process-frame::after,
  .work-process-frame::after { width: 64px; height: 34px; }
  .process-flow,
  .work-process-flow { display: block; max-width: 630px; margin: 0 auto; }
  .process-card,
  .process-card--4,
  .process-card--5,
  .work-process-card,
  .work-process-card--4,
  .work-process-card--5 { margin: 0 0 54px !important; }
  .process-card:last-child,
  .work-process-card:last-child { margin-bottom: 0 !important; }

  .process-card--1::after,
  .process-card--2::after,
  .process-card--3::after,
  .process-card--4::after,
  .work-process-card--1::after,
  .work-process-card--2::after,
  .work-process-card--3::after,
  .work-process-card--4::after {
    position: absolute;
    top: auto;
    right: 50%;
    bottom: -42px;
    left: auto;
    z-index: 3;
    display: block;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 4px solid #fff;
    border-radius: 50%;
    background-color: #ebbc59;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 9l5 5 5-5' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    box-shadow: 0 3px 10px rgba(20,34,55,.12);
    box-sizing: border-box;
    content: "";
    transform: translateX(50%);
  }
}

@media screen and (max-width:576px) {
  .process-frame,
  .work-process-frame { padding: 17px 18px 34px; }
  .process-card,
  .work-process-card { border-radius: 10px; }
  .process-card__body,
  .work-process-card__body { min-height: 94px; padding: 11px; }
  .process-card__number,
  .work-process-card__number { flex-basis: 46px; width: 46px; height: 46px; margin-right: 11px; font-size: 18px; }
  .process-card__text,
  .work-process-card__text { font-size: 21px !important; }
  .work-process-card--1 .work-process-card__text,
  .work-process-card--3 .work-process-card__text,
  .work-process-card--4 .work-process-card__text,
  .work-process-card--5 .work-process-card__text { right: 11px; left: 68px; }
  .process-card__step,
  .work-process-card__step { letter-spacing: 0; }
  .process-card__slash,
  .work-process-card__slash { margin: 0 6px; }
}
