/* ===================================================
   Layout: Our Process
   File:   template-parts/flexible/our_process/our_process.css
=================================================== */

/* ==========================================
   Process / Approach Section Styles
   ========================================== */

.pr-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 380px);
  column-gap: clamp(28px, 3.2cqi, 52px);
  align-items: end;
}

.pr-head .hl {
  color: var(--purple);
}

.pr-div {
  align-self: end;
  width: 1px;
  height: clamp(90px, 8cqi, 118px);
  margin-bottom: 6px;
  background: var(--line);
}

.pr-head .lead {
  color: rgba(0, 0, 0, .78);
  padding-bottom: 4px;
}

.pc-view {
  --cw: 88%;
  --cg: clamp(16px, 1.8cqi, 26px);
  --pl: clamp(28px, 4.4cqi, 68px);
  --pr: clamp(24px, 3cqi, 52px);
  margin-top: clamp(40px, 4.6cqi, 72px);
  overflow: hidden;
}

.pc-view.process-swiper {
  width: 100%;
  overflow: hidden;
  clip-path: none;
  padding-block: 16px;
}

.pc-track {
  display: flex;
  gap: var(--cg);
  transition: transform .8s var(--ease);
}

.pc-view.process-swiper .swiper-wrapper {
  display: flex !important;
  align-items: stretch !important;
  height: auto !important;
  box-sizing: border-box !important;
  gap: 0;
  transition-property: transform;
}

.pc-view.swiper-initialized .pc-track {
  gap: 0;

}

.pc-track.p1 {
  transform: translateX(calc(-1 * (var(--cw) + var(--cg))));
}

.pc-track.p2 {
  transform: translateX(calc(-2 * (var(--cw) + var(--cg))));
}

.pc {
  position: relative;
  flex: 0 0 var(--cw);
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 4.3fr) minmax(0, 5.7fr);
  min-height: clamp(540px, 43cqi, 620px);
  height: auto;
  box-sizing: border-box;
  background: #FEFAF5;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: clamp(22px, 2.2cqi, 32px);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s;
}

.pc-view.process-swiper .swiper-slide.pc {
  height: auto !important;
  box-sizing: border-box;
}

.pc:not(.on):hover {
  transform: translateY(-4px);
}

.pc-l {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(28px, 3cqi, 40px) var(--pr) 0 var(--pl);
}

.pc-chip {
  display: inline-flex;
  align-items: center;
  height: clamp(38px, 3.1cqi, 44px);
  padding: 0 16px;
  border-radius: 12px;
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(17px, 1.35cqi, 20px);
  letter-spacing: -.01em;
}

.pc-t {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(38px, 3.9cqi, 58px);
  line-height: .98;
  letter-spacing: -.035em;
  margin-top: 4px;
}

.pc-t span {
  display: block;
}

.pc-d {
  font-size: clamp(17px, 1.45cqi, 21px);
  line-height: 1.5;
  color: rgba(0, 0, 0, .72);
  margin-top: 8px;
  max-width: 22em;
  text-wrap: pretty;
}

.pc-art {
  position: relative;
  align-self: stretch;
  margin: auto calc(-1 * var(--pr)) 0 calc(-1 * var(--pl));
  padding-top: 16px;
}

.pc-art img {
  display: block;
  width: 100%;
  height: auto;
}

.pc-art.a2 img {
  width: 51.4%;
}

.pc-art3 {
  position: relative;
  width: 100%;
  aspect-ratio: 1.97;
  overflow: hidden;
}

.a3-arc {
  position: absolute;
  left: -6%;
  top: 14%;
  width: 64%;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--olive);
  background-image: linear-gradient(150deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 60%);
}

.a3-back {
  position: absolute;
  left: 31%;
  top: 16%;
  width: 29%;
  height: 110%;
  border-radius: 10px;
  background: #EFEBE0;
  transform: rotate(9deg);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .4);
}

.a3-doc {
  position: absolute;
  left: 17%;
  top: 20%;
  width: 31%;
  height: 110%;
  border-radius: 10px;
  background: #FFFFFF;
  transform: rotate(-7deg);
  box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .45);
  padding: 6% 5%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.a3-mark {
  display: grid;
  grid-template-columns: repeat(2, 10px);
  gap: 3px;
}

.a3-mark i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--olive);
}

.a3-mark i:nth-child(2) {
  background: var(--amber);
}

.a3-lines {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.a3-lines i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(0, 0, 0, .12);
}

.a3-lines i:nth-child(2) {
  width: 80%;
}

.a3-lines i:nth-child(4) {
  width: 58%;
}

.a3-badge {
  position: absolute;
  left: 43%;
  top: 13%;
  width: 15%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #000;
  color: var(--paper);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .5);
}

.a3-badge .ic {
  width: 50%;
  height: 50%;
  stroke-width: 2.2;
}

.a3-px {
  position: absolute;
  width: 6.5%;
  aspect-ratio: 1;
  border-radius: 4px;
  background: rgba(135, 130, 50, .32);
}

.pc-r {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 2.4cqi, 36px) clamp(24px, 3.2cqi, 48px);
}

.pc-r::before {
  content: "";
  position: absolute;
  left: 0;
  top: 60px;
  bottom: 60px;
  width: 1px;
  background: var(--line);
}

.pc-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: clamp(16px, 2.2cqi, 36px);
  align-items: start;
  padding: clamp(14px, 1.5cqi, 22px) 0;
}

.pc-step+.pc-step {
  border-top: 1px solid var(--line);
}

.pc-num {
  width: clamp(56px, 4.8cqi, 70px);
  height: clamp(50px, 4.3cqi, 62px);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(22px, 2cqi, 28px);
  font-variant-numeric: tabular-nums;
}

.pc-tx h4 {
  margin: 0;
  font-family: var(--fd);
  font-weight: 650;
  font-size: clamp(20px, 1.8cqi, 26px);
  letter-spacing: -.022em;
  line-height: 1.15;
}

.pc-tx p {
  font-size: clamp(15px, 1.2cqi, 17px);
  line-height: 1.5;
  color: var(--muted);
  margin-top: 6px;
  text-wrap: pretty;
}

.pc-tx .pc-get {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 10px;
  font-size: 15px;
  color: #000;
}

.pc-get i {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  flex: none;
  border-radius: 2px;
}

.pc-get b {
  font-weight: 600;
}

.pc-ic {
  width: clamp(56px, 5cqi, 76px);
  aspect-ratio: 1;
  border-radius: 16px;
  background: #F6F1E8;
  display: grid;
  place-items: center;
}

.pc-ic .ic {
  width: clamp(26px, 2.4cqi, 34px);
  height: clamp(26px, 2.4cqi, 34px);
  stroke-width: 1.6;
}

.pc-go {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  cursor: pointer;
}

.hc .pc-go {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hc .pc.on .pc-go {
  display: none;
}

.pc-nav {
      display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2.5cqi, 28px);
    margin-top: clamp(24px, 3.5cqi, 40px);
    width: max-content;
    margin-left: auto;
    margin-right: auto;
}

.pc-arrow {
  width: clamp(48px, 4.4cqi, 56px);
  height: clamp(48px, 4.4cqi, 56px);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFEF9;
  color: #000;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background-color .25s, color .25s, border-color .25s, transform .2s var(--ease), box-shadow .25s;
}

.pc-arrow .ic {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.pc-arrow:hover:not([disabled]):not(.swiper-button-disabled) {
  background: #000;
  color: var(--paper);
  border-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
}

.pc-arrow[disabled],
.pc-arrow.swiper-button-disabled {
  background: #EFEADF;
  color: rgba(0, 0, 0, .32);
  border-color: rgba(0, 0, 0, .04);
  box-shadow: none;
  cursor: default;
  transform: none;
  opacity: 0.65;
  pointer-events: none;
}

.pc-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pc-dot {
  width: clamp(38px, 4cqi, 52px);
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.pc-dot::before {
  content: "";
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: #E4DDCE;
  transition: background-color .3s var(--ease), height .3s var(--ease);
}

.pc-dot:hover:not(.on)::before {
  background: #C8BFAD;
}

.pc-dot.on::before {
  height: 8px;
  background: var(--purple);
}

/* Responsive Container Queries */
@container page (max-width: 960px) {
  .pr-head {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
  }

  .pr-div {
    display: none;
  }

  .pc-view {
    --cw: 92%;
    margin-top: 28px;
  }

  .pc-view.process-swiper .swiper-slide.pc,
  .pc {
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: auto !important;
    height: auto !important;
  }

  .pc-art {
    max-width: 560px;
  }

  .pc-r::before {
    left: var(--pl);
    right: var(--pr);
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .pc-nav {
    gap: 16px;
    margin-top: 24px;
  }

  .pc-arrow {
    width: 48px;
    height: 48px;
  }

  .pc-arrow .ic {
    width: 20px;
    height: 20px;
  }

  .pc-dot {
    width: 42px;
  }
}

@container page (max-width: 640px) {
  .pc-view {
    --cw: 94%;
    --pl: 22px;
    --pr: 22px;
    margin-top: 22px;
  }

  .pc-art {
    display: none;
  }

  .pc-l {
    padding-bottom: 20px;
  }

  .pc-r {
    padding: 6px 22px 14px;
  }

  .pc-step {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .pc-ic {
    display: none;
  }

  .pc-num {
    width: 48px;
    height: 44px;
    font-size: 19px;
  }

  .pc-nav {
    gap: 12px;
    margin-top: 20px;
  }

  .pc-arrow {
    width: 44px;
    height: 44px;
  }

  .pc-dot {
    width: 32px;
  }
}


