@charset "UTF-8";
/* ==========================================================================
   order-way.css : ご注文からお届けまで（/order-way/）
   上部 = 6ステップ図（.ctf-order） / 下部 = 説明文（.orderway-detail）
   ========================================================================== */

/* CTA は説明文の下（.ctf-order の外）に置くため、変数は :root で共有する */
:root {
  --ow-navy:   #0d457c;
  --ow-text:   #222;
  --ow-muted:  #5b6470;
  --ow-line:   #e3e6ea;
  --ow-bg:     #f7f9fc;
  --ow-radius: 14px;

  --ow-blue:   #2f80ed;
  --ow-pink:   #e2568c;
  --ow-orange: #f2994a;
  --ow-purple: #8b5cf6;
  --ow-green:  #27ae60;
  --ow-navy-i: #0d457c;

  --ow-font:   system-ui, "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  --ow-inner:  1040px;
}

/* サイト共通CSSは box-sizing を全体指定していないため、当ページの構成要素だけに限定して付与する。
   （content-box のままだと width:100% + padding が加算され、SPでボタンが右にはみ出す） */
.ctf-order,
.ctf-order *,
.orderway-detail,
.orderway-detail *,
.orderway-cta,
.orderway-cta * {
  box-sizing: border-box;
}

.ctf-order {
  font-family: var(--ow-font);
  line-height: 1.7;
  color: var(--ow-text);
  background: var(--ow-bg);
  padding: 40px 0 46px;
  margin: 0 0 40px;
}

.ctf-order__inner {
  max-width: var(--ow-inner);
  margin-inline: auto;
  padding-inline: 16px;
}

/* ===== 見出し ===== */
.ctf-order__header {
  text-align: center;
  margin-bottom: 30px;
}

.ctf-order__label {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--ow-navy);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.ctf-order__heading {
  margin: 0 0 10px;
  font-size: clamp(2.0rem, 3.6vw, 2.8rem);
  font-weight: 700;
  color: var(--ow-navy);
  line-height: 1.4;
}

.ctf-order__heading strong {
  color: var(--ow-pink);
}

.ctf-order__lead {
  margin: 0;
  color: var(--ow-muted);
  font-size: 1.4rem;
}

/* ===== ステップグリッド（PC 3列×2行 / SP 1列） ===== */
.ctf-order__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

/* ===== カード ===== */
.ctf-order-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ow-line);
  border-radius: var(--ow-radius);
  padding: 18px 16px 20px;
  box-shadow: 0 1px 3px rgba(13, 69, 124, .06);
  transition: box-shadow .25s ease, transform .25s ease;
}

.ctf-order-card:hover {
  box-shadow: 0 6px 18px rgba(13, 69, 124, .12);
  transform: translateY(-2px);
}

.ctf-order-card__step {
  align-self: flex-start;
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--ow-navy);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .08em;
}

/* ===== イラスト（SVG） ===== */
.ctf-order-card__illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.ctf-order-card__illustration svg {
  width: 100%;
  max-width: 160px;
  height: auto;
  display: block;
}

/* SVG 6色（currentColor を色分け） */
.ctf-order-card__illustration--blue   { color: var(--ow-blue); }
.ctf-order-card__illustration--pink   { color: var(--ow-pink); }
.ctf-order-card__illustration--orange { color: var(--ow-orange); }
.ctf-order-card__illustration--purple { color: var(--ow-purple); }
.ctf-order-card__illustration--green  { color: var(--ow-green); }
.ctf-order-card__illustration--navy   { color: var(--ow-navy-i); }

/* ===== カード本文 ===== */
.ctf-order-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ctf-order-card__title {
  margin: 0 0 8px;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ow-navy);
  line-height: 1.45;
}

.ctf-order-card__text {
  margin: 0 0 12px;
  font-size: 1.3rem;
  color: var(--ow-muted);
}

.ctf-order-card__points {
  margin: auto 0 0;
  padding: 12px 0 0;
  border-top: 1px dashed var(--ow-line);
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ctf-order-card__points li {
  padding: 3px 10px;
  border-radius: 999px;
  background: #eef3f8;
  color: var(--ow-navy);
  font-size: 1.15rem;
  font-weight: 600;
}

/* ===== 納期案内 ===== */
.ctf-order__delivery {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--ow-line);
  border-left: 5px solid var(--ow-orange);
  border-radius: var(--ow-radius);
}

.ctf-order__delivery-icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ow-orange);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.ctf-order__delivery-title {
  margin: 0 0 6px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ow-navy);
  line-height: 1.5;
}

.ctf-order__delivery-text {
  margin: 0;
  font-size: 1.3rem;
  color: var(--ow-muted);
}

/* ==========================================================================
   CTA : 説明文の下（.ctf-order の外に単独で置く）
   ========================================================================== */
.orderway-cta {
  max-width: var(--ow-inner);
  margin: 0 auto 50px;
  padding-inline: 16px;
}

.ctf-order__cta {
  font-family: var(--ow-font);
  line-height: 1.7;
  padding: 30px 20px 28px;
  border-radius: var(--ow-radius);
  background: linear-gradient(135deg, #0d457c 0%, #1b6fb8 100%);
  color: #fff;
  text-align: center;
}

.ctf-order__cta-label {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .16em;
  opacity: .85;
}

.ctf-order__cta-title {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.45;
}

.ctf-order__cta-text {
  margin: 0 0 20px;
  font-size: 1.3rem;
  opacity: .9;
}

/* ボタン数が変わっても中央寄せで並ぶよう flex + wrap で組む */
.ctf-order__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
}

.ctf-order__cta-button {
  position: relative;
  flex: 1 1 220px;
  min-width: 0; /* 文言の実寸で折り返さないよう縮小を許可（PCで横並びを維持） */
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 16px 34px 16px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.ctf-order__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
  text-decoration: none;
}

.ctf-order__cta-button--quote {
  background: #ffd43b;
  color: #0d457c;
}

.ctf-order__cta-button--mail {
  background: #fff;
  color: var(--ow-navy);
}

.ctf-order__cta-button--tel {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .6);
}

.ctf-order__cta-main {
  font-size: 1.6rem;
  line-height: 1.4;
}

.ctf-order__cta-sub {
  font-size: 1.15rem;
  font-weight: 500;
  opacity: .8;
}

.ctf-order__cta-arrow {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  font-size: 1.6rem;
}

/* ==========================================================================
   下部 : 説明文
   ========================================================================== */
.orderway-detail {
  max-width: var(--ow-inner);
  margin: 0 auto 34px;
  padding-inline: 16px;
  font-family: var(--ow-font);
  line-height: 1.8;
  color: var(--ow-text);
}

.orderway-detail__lead {
  margin: 0 0 26px;
  font-size: 1.4rem;
}

.orderway-step {
  margin: 0 0 22px;
  padding: 0 0 20px;
  border-bottom: 1px dotted #cfd6de;
}

.orderway-step:last-of-type {
  border-bottom: 0;
}

.orderway-step__title {
  margin: 0 0 12px;
  padding: 0 0 6px 12px;
  border-left: 5px solid #0d457c;
  font-size: 1.7rem;
  font-weight: 700;
  color: #0d457c;
  line-height: 1.5;
}

.orderway-step__list {
  margin: 0;
  padding: 0 0 0 4px;
  list-style: none;
}

.orderway-step__list > li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 20px;
  font-size: 1.35rem;
}

.orderway-step__list > li::before {
  content: "";
  position: absolute;
  top: .65em;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #03a9f4;
}

.orderway-step__list > li:last-child {
  margin-bottom: 0;
}

.orderway-step__list a {
  color: #0d457c;
  font-weight: 700;
  text-decoration: underline;
}

.orderway-contact {
  margin: 8px 0 0;
  padding: 12px 14px;
  background: #f2f6fa;
  border-radius: 8px;
  font-size: 1.35rem;
}

.orderway-contact div {
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
  margin-bottom: 4px;
}

.orderway-contact div:last-child {
  margin-bottom: 0;
}

.orderway-contact dt {
  min-width: 4.5em;
  font-weight: 700;
  color: #0d457c;
}

.orderway-contact dd {
  margin: 0;
}

.orderway-note {
  color: #d63333;
  font-weight: 700;
}

.orderway-pdf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.orderway-pdf img {
  width: 16px;
  height: auto;
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media screen and (max-width: 900px) {
  .ctf-order__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 640px) {
  .ctf-order {
    padding: 28px 0 32px;
    margin-bottom: 28px;
  }

  /* SP 1列 */
  .ctf-order__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ctf-order-card {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0 14px;
    padding: 16px 14px;
  }

  .ctf-order-card__step {
    width: 100%;
    align-self: auto;
    margin-bottom: 10px;
  }

  .ctf-order-card__illustration {
    flex: 0 0 92px;
    margin-bottom: 0;
  }

  .ctf-order-card__illustration svg {
    max-width: 92px;
  }

  .ctf-order-card__body {
    flex: 1 1 0;
    min-width: 0;
  }

  .ctf-order-card__points {
    margin-top: 10px;
  }

  .ctf-order__delivery {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
  }

  .orderway-cta {
    margin-bottom: 32px;
  }

  .ctf-order__cta {
    padding: 24px 16px 22px;
  }

  /* SP：縦積み・中央寄せ */
  .ctf-order__cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .ctf-order__cta-button {
    flex: 0 0 auto;
    width: 100%;
    max-width: 340px;
  }

  .orderway-step__title {
    font-size: 1.55rem;
  }
}
