/* =========================
  ORDER PAGE
========================= */

.order-lead {
  padding: 60px 0 95px;
}

.order-lead__inner {
  width: var(--aibi-width, 100%);
  max-width: var(--aibi-inner, 1100px);
  margin: 0 auto;
}

.order-lead__head {
  margin-bottom: 26px;
}

.order-lead__head h1 {
  margin: 0;
  color: var(--aibi-color-gray-text, #808080);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
  font-family: sans-serif;
}

.order-lead__head h1 span {
  color: var(--aibi-color-main, #ee9988);
}

.order-lead__head h1 em {
  margin-left: 18px;
  color: var(--aibi-color-gray-text, #808080);
  font-size: clamp(16px, 1.5vw, 20px);
  font-style: normal;
  font-weight: 700;
  vertical-align: middle;
}

.order-lead__main-image {
  margin: 0 0 105px;
  aspect-ratio: 1.35 / 1;
}

.order-lead__main-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.order-lead__body {
  display: grid;
  grid-template-columns: minmax(340px, 480px) minmax(360px, 520px);
  justify-content: space-between;
  align-items: start;
  gap: clamp(30px, 2.5vw, 50px);
}

.order-lead__text h2 {
  margin: 0 0 54px;
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: .04em;
}

.order-lead__text p {
  margin: 0;
  color: var(--aibi-color-gray, #808080);
  font-size: clamp(14px, 1.25vw, 16px);
  font-weight: 500;
  line-height: 2.25;
  letter-spacing: .04em;
}

.order-lead__sub-image {
  margin: 0;
  aspect-ratio: 1 / 1;
}

.order-lead__sub-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* tablet */

@media (max-width: 1100px) and (min-width: 769px) {
  .order-lead__inner {
    width: var(--aibi-sp-width, calc(100% - 32px));
  }

  .order-lead__main-image {
    margin-bottom: 72px;
  }

  .order-lead__body {
    grid-template-columns: minmax(280px, 40%) minmax(320px, 1fr);
    gap: 40px;
  }

  .order-lead__text h2 {
    margin-bottom: 34px;
  }
}

/* SP */

@media (max-width: 768px) {
  .order-lead {
    padding: 38px 0 70px;
  }

  .order-lead__inner {
    width: var(--aibi-sp-width, calc(100% - 32px));
  }

  .order-lead__head {
    margin-bottom: 22px;
  }

  .order-lead__head h1 {
    font-size: 34px;
  }

  .order-lead__head h1 em {
    display: block;
    margin: 10px 0 0;
    font-size: 16px;
  }

  .order-lead__main-image {
    margin-bottom: 48px;
  }

  .order-lead__body {
    display: block;
  }

  .order-lead__text h2 {
    margin-bottom: 28px;
    font-size: 25px;
    line-height: 1.8;
  }

  .order-lead__text p {
    font-size: 14px;
    line-height: 2;
    text-align: justify;
  }

  .order-lead__sub-image {
    margin-top: 34px;
  }
}

/* =========================
  ORDER FLOW WORKS
========================= */

.order-flowworks {
  overflow: hidden;
}

.order-flowworks__slider {
  overflow: hidden;
}

.order-flowworks__loop {
  display: flex;
  width: max-content;
  animation: orderFlowLoop 40s linear infinite;
  will-change: transform;
}

.order-flowworks__track {
  display: flex;
  gap: 48px;
  padding-right: 48px;
}

.order-flowworks__track figure {
  width: 360px;
  aspect-ratio: 1.15 / 1;
  margin: 0;
  flex-shrink: 0;
  overflow: hidden;
}

.order-flowworks__track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes orderFlowLoop {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.order-flowworks__bottom {
  width: var(--aibi-width, 100%);
  max-width: var(--aibi-inner, 1100px);
  margin: 54px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 54px;
}

.order-flowworks__bottom p {
  margin: 0;
  color: var(--aibi-color-gray, #808080);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .06em;
}

.order-flowworks__bottom .aibi-btn {
  margin: 0;
  height: 48px;
}

/* list-icon入りボタン用 */
.order-flowworks__bottom .aibi-btn span {
  width: 20px;
  height: auto;
  border: 0;
  border-radius: 0;
}

.order-flowworks__bottom .aibi-btn span::before,
.order-flowworks__bottom .aibi-btn span::after {
  display: none;
}

.order-flowworks__bottom .aibi-btn img {
  width: 100%;
  display: block;
}

/* hoverで止めたい場合 */
.order-flowworks__slider:hover .order-flowworks__track {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .order-flowworks {
    padding: 20px 0 60px;
  }

  .order-flowworks__track {
    gap: 24px;
    animation-duration: 34s;
  }

  .order-flowworks__track figure {
    width: 240px;
  }

  .order-flowworks__bottom {
    width: var(--aibi-sp-width, calc(100% - 32px));
    margin-top: 36px;
    gap: 20px;
  }

  .order-flowworks__bottom p {
    font-size: 18px;
  }


}


/* =========================
  STEP
========================= */

.aibi-step {
  padding: 95px 0 90px;
}

.aibi-step__inner {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* TITLE */

.aibi-step__title {
  display: grid;
  grid-template-columns: auto 200px auto;
  align-items: center;
  column-gap: 18px;
  width: fit-content;
  margin: 0 0 56px;
}
.aibi-step__title h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .03em;
}
.aibi-step__title h2 span{
    color: var(--aibi-color-main);
    font-style: normal;
}

.aibi-step__image img {
  width: 90%;
  display: block;
  margin: auto;
}

@media screen and (max-width:1100px) {
  .order-step__inner {
    width: var(--aibi-sp-width, calc(100% - 32px));
  }

}
@media screen and (max-width:767px) {
  .aibi-step{
    padding: 60px 0 30px;
  }
  .aibi-step__title{
    display: block;
  }
  .aibi-step__title h2{
    font-size: 35px;
  }

}