/*
 * 20｜製品LP個別：Order Essentials｜デザイン調整CSS
 *
 * 対象：coward-coyote.com/order-essentials/
 * 前提：
 * - 00｜商品LP共通：COYOTE Product LP Foundation｜CSS v2.0.4
 * - 01｜商品LP共通：COYOTE Product LP Anchor｜JS v2.0.4
 *
 * 管理方針：
 * - セクション余白：共通CSS側の padding を維持
 * - カード同士の距離：gap で管理
 * - カード内の余白：padding で管理
 * - ラベルと見出しの距離：margin で管理
 * - テーブル内の余白：padding で管理
 */

body .coyote-product-lp--order {
  --coyote-oe-table-radius: 18px;
  --coyote-oe-card-gap: clamp(32px, 3.4vw, 46px);
}

/* 03｜扱う情報 */
body .coyote-product-lp--order #oe-coverage .coyote-clean-table tbody th[scope="row"] {
  padding-left: 30px;
}

body .coyote-product-lp--order #oe-coverage .coyote-oe-v7__note-card {
  margin-top: clamp(28px, 3.4vw, 42px);
}

body .coyote-product-lp--order #oe-coverage .coyote-oe-v7__note-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
}

/* 04｜管理画面 */
body .coyote-product-lp--order #oe-screens .coyote-oe-v7__visual-stack {
  display: grid;
  gap: var(--coyote-oe-card-gap);
}

body .coyote-product-lp--order #oe-screens .coyote-oe-v7__visual-card {
  padding: clamp(36px, 4vw, 56px);
}

body .coyote-product-lp--order #oe-screens .coyote-oe-v7__visual-card > div:first-child > span {
  margin-bottom: 16px;
}

body .coyote-product-lp--order #oe-screens .coyote-oe-v7__visual-card h3 {
  margin-bottom: 14px;
}

body .coyote-product-lp--order #oe-screens .coyote-oe-v7__mail-mini {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 230px;
  padding: clamp(26px, 3vw, 34px);
}

body .coyote-product-lp--order #oe-screens .coyote-oe-v7__mail-mini b {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  padding: 4px 12px;
  border: 1px solid rgba(201, 150, 19, 0.24);
  border-radius: 999px;
  background: rgba(255, 218, 61, 0.16);
  color: rgba(17, 17, 17, 0.72);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

/* 05｜メール反映 */
body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 0.95fr);
  gap: clamp(52px, 6vw, 92px);
}

body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-copy {
  display: grid;
  gap: clamp(26px, 3vw, 36px);
}

body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-copy article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 8px;
  align-items: center;
}

body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-copy article > span {
  grid-column: 1;
  grid-row: 1;
}

body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-copy article > h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}

body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-copy article > p {
  grid-column: 1 / -1;
  margin-top: 2px;
}

body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-card {
  border-color: rgba(255, 218, 61, 0.36);
  background: #fff7e7;
  color: var(--coyote-lp-ink);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.24);
}

body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-card strong {
  display: block;
  margin-bottom: 18px;
  color: var(--coyote-lp-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
}

body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-card dl > div {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-card dt {
  color: var(--coyote-lp-muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-card dd {
  margin: 0;
  color: var(--coyote-lp-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
  text-align: right;
}

body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  margin-top: 24px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--coyote-lp-dark);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

/* 06｜送り状 */
body .coyote-product-lp--order #oe-shipping .coyote-oe-v7__section-head p {
  max-width: 980px;
}

body .coyote-product-lp--order #oe-shipping .coyote-clean-table-wrap {
  border-radius: var(--coyote-oe-table-radius);
}

body .coyote-product-lp--order #oe-shipping .coyote-clean-table caption {
  text-align: center;
}

@media (min-width: 900px) {
  body .coyote-product-lp--order #oe-shipping .coyote-clean-table th,
  body .coyote-product-lp--order #oe-shipping .coyote-clean-table td {
    overflow-wrap: normal;
    word-break: keep-all;
  }

  body .coyote-product-lp--order #oe-shipping .coyote-clean-table thead th:nth-child(1),
  body .coyote-product-lp--order #oe-shipping .coyote-clean-table tbody th[scope="row"] {
    width: 30%;
  }

  body .coyote-product-lp--order #oe-shipping .coyote-clean-table thead th:nth-child(2),
  body .coyote-product-lp--order #oe-shipping .coyote-clean-table tbody td:nth-child(2) {
    width: 18%;
    text-align: center;
  }

  body .coyote-product-lp--order #oe-shipping .coyote-clean-table thead th:nth-child(3),
  body .coyote-product-lp--order #oe-shipping .coyote-clean-table tbody td:nth-child(3) {
    width: 52%;
    text-align: center;
  }
}

/* 07｜向き不向き */
body .coyote-product-lp--order #oe-fit .coyote-oe-v7__section-head p {
  max-width: 920px;
}

body .coyote-product-lp--order #oe-fit .coyote-oe-v7__fit-card > span {
  margin-bottom: 18px;
}

body .coyote-product-lp--order #oe-fit .coyote-oe-v7__fit-card h3 {
  margin-bottom: 18px;
}

/* 08｜Suite比較 */
body .coyote-product-lp--order #oe-position .coyote-oe-v7__section-head h2 {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(48px, 4.2vw, 66px);
  line-height: 1.06;
}

body .coyote-product-lp--order #oe-position .coyote-oe-v7__position-title-line {
  display: block;
  white-space: nowrap;
}

body .coyote-product-lp--order #oe-position .coyote-clean-table--compare th,
body .coyote-product-lp--order #oe-position .coyote-clean-table--compare td,
body .coyote-product-lp--order #oe-position .coyote-clean-table--compare tbody td:last-child {
  text-align: center;
}

body .coyote-product-lp--order #oe-position .coyote-clean-table--compare tbody th[scope="row"] {
  padding-left: 32px;
  text-align: left;
}

/* 09｜FAQ */
body .coyote-product-lp--order #oe-faq .coyote-oe-v7__faq-list a {
  color: var(--coyote-lp-ink);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

body .coyote-product-lp--order #oe-faq .coyote-oe-v7__faq-list a:hover,
body .coyote-product-lp--order #oe-faq .coyote-oe-v7__faq-list a:focus-visible {
  color: var(--coyote-lp-accent-deep);
}

/* Mobile｜iPhone 12 Pro 確認反映 */
@media (max-width: 720px) {
  body .coyote-product-lp--order {
    --coyote-lp-pad-x: 28px;
    --coyote-lp-grid: 24px;
    --coyote-oe-mobile-card-radius: 20px;
    --coyote-oe-mobile-card-gap: 18px;
  }

  body .coyote-product-lp--order,
  body .coyote-product-lp--order * {
    min-width: 0;
  }

  body .coyote-product-lp--order > section {
    overflow: hidden;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  body .coyote-product-lp--order > section[class*="__hero"],
  body .coyote-product-lp--order > section[class*="__final"] {
    min-height: auto;
  }

  body .coyote-product-lp--order h1,
  body .coyote-product-lp--order h2,
  body .coyote-product-lp--order h3,
  body .coyote-product-lp--order p,
  body .coyote-product-lp--order li,
  body .coyote-product-lp--order th,
  body .coyote-product-lp--order td,
  body .coyote-product-lp--order summary {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: strict;
  }

  body .coyote-product-lp--order h1 {
    margin-bottom: 20px;
    font-size: clamp(30px, 8.45vw, 36px);
    line-height: 1.14;
    letter-spacing: -0.04em;
    text-wrap: balance;
  }

  body .coyote-product-lp--order h2,
  body .coyote-product-lp--order .coyote-oe-v7__final h2 {
    margin-bottom: 18px;
    font-size: clamp(28px, 8.15vw, 34px);
    line-height: 1.18;
    letter-spacing: -0.036em;
    text-wrap: balance;
  }

  body .coyote-product-lp--order h3 {
    font-size: clamp(20px, 5.75vw, 23px);
    line-height: 1.32;
  }

  body .coyote-product-lp--order p,
  body .coyote-product-lp--order .coyote-oe-v7__lead {
    font-size: 13.5px;
    line-height: 1.85;
  }

  body .coyote-product-lp--order .coyote-oe-v7__section-head {
    margin-bottom: 34px;
  }

  body .coyote-product-lp--order .coyote-oe-v7__section-head p {
    max-width: 100%;
  }

  body .coyote-product-lp--order .coyote-oe-v7__kicker {
    min-height: 30px;
    margin-bottom: 17px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 10px;
    letter-spacing: 0.075em;
  }

  /* 00｜HERO */
  body .coyote-product-lp--order .coyote-oe-v7__hero {
    padding-top: 68px;
    padding-bottom: 64px;
  }

  body .coyote-product-lp--order .coyote-oe-v7__hero-inner {
    gap: 28px;
  }

  body .coyote-product-lp--order .coyote-oe-v7__hero-copy {
    width: 100%;
    max-width: 100%;
  }

  body .coyote-product-lp--order .coyote-oe-v7__hero .coyote-oe-v7__actions,
  body .coyote-product-lp--order .coyote-oe-v7__final .coyote-oe-v7__actions {
    justify-items: center;
    gap: 10px;
    margin-top: 26px;
  }

  body .coyote-product-lp--order .coyote-oe-v7__hero .coyote-oe-v7__button,
  body .coyote-product-lp--order .coyote-oe-v7__final .coyote-oe-v7__button {
    width: min(100%, 236px);
    min-height: 46px;
    padding-right: 18px;
    padding-left: 18px;
    font-size: 13.5px;
  }

  body .coyote-product-lp--order .coyote-oe-v7__tags {
    gap: 8px;
    margin-top: 22px;
  }

  body .coyote-product-lp--order .coyote-oe-v7__tags li {
    min-height: 28px;
    padding-right: 11px;
    padding-left: 11px;
    font-size: 11px;
  }

  body .coyote-product-lp--order .coyote-oe-v7__hero-visual {
    display: grid;
    gap: 12px;
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(255, 218, 61, 0.22);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
  }

  body .coyote-product-lp--order .coyote-oe-v7__route-line {
    display: none;
  }

  body .coyote-product-lp--order .coyote-oe-v7__route-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 4px;
    align-items: start;
    padding: 14px;
    border: 1px solid rgba(255, 218, 61, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.045);
  }

  body .coyote-product-lp--order .coyote-oe-v7__route-card--active {
    border-color: rgba(255, 218, 61, 0.52);
    background: rgba(255, 218, 61, 0.08);
  }

  body .coyote-product-lp--order .coyote-oe-v7__route-card span {
    grid-row: 1 / span 2;
    min-height: 26px;
    margin: 0;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 10px;
  }

  body .coyote-product-lp--order .coyote-oe-v7__route-card strong {
    display: block;
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.35;
  }

  body .coyote-product-lp--order .coyote-oe-v7__route-card p {
    grid-column: 2;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    line-height: 1.65;
  }

  /* 01｜ORDER FLOW */
  body .coyote-product-lp--order #oe-flow .coyote-oe-v7__flow-grid {
    gap: 16px;
  }

  body .coyote-product-lp--order #oe-flow .coyote-oe-v7__flow-grid article {
    padding: 20px;
  }

  body .coyote-product-lp--order #oe-flow .coyote-oe-v7__flow-grid article > span {
    display: inline-flex;
    min-height: 28px;
    margin: 0 10px 0 0;
    padding-right: 11px;
    padding-left: 11px;
    vertical-align: middle;
  }

  body .coyote-product-lp--order #oe-flow .coyote-oe-v7__flow-grid article > h3 {
    display: inline;
    margin: 0;
    vertical-align: middle;
  }

  body .coyote-product-lp--order #oe-flow .coyote-oe-v7__flow-grid article > p {
    margin-top: 14px;
  }

  /* 02｜PROBLEM */
  body .coyote-product-lp--order #oe-problem .coyote-oe-v7__card-grid {
    gap: 16px;
  }

  body .coyote-product-lp--order #oe-problem .coyote-oe-v7__card-grid article {
    padding: 22px;
  }

  body .coyote-product-lp--order #oe-problem .coyote-oe-v7__card-grid article > span {
    margin-bottom: 12px;
  }

  /* 03｜WHAT IT HANDLES */
  body .coyote-product-lp--order #oe-coverage .coyote-clean-table-wrap,
  body .coyote-product-lp--order #oe-shipping .coyote-clean-table-wrap,
  body .coyote-product-lp--order #oe-position .coyote-clean-table-wrap {
    border-radius: var(--coyote-oe-mobile-card-radius);
  }

  body .coyote-product-lp--order #oe-coverage .coyote-clean-table tbody tr {
    padding: 18px 16px;
  }

  body .coyote-product-lp--order #oe-coverage .coyote-clean-table tbody th[scope="row"],
  body .coyote-product-lp--order #oe-position .coyote-clean-table--compare tbody th[scope="row"] {
    padding-left: 0;
  }

  body .coyote-product-lp--order #oe-coverage .coyote-clean-table tbody td,
  body .coyote-product-lp--order #oe-shipping .coyote-clean-table tbody td,
  body .coyote-product-lp--order #oe-position .coyote-clean-table--compare tbody td {
    grid-template-columns: minmax(7em, 34%) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    font-size: 13.5px;
    line-height: 1.65;
  }

  body .coyote-product-lp--order #oe-coverage .coyote-oe-v7__note-card {
    margin-top: 26px;
    padding: 22px;
  }

  /* 04｜SCREEN STRUCTURE */
  body .coyote-product-lp--order #oe-screens .coyote-oe-v7__visual-stack {
    gap: 20px;
  }

  body .coyote-product-lp--order #oe-screens .coyote-oe-v7__visual-card {
    padding: 22px;
  }

  body .coyote-product-lp--order #oe-screens .coyote-oe-v7__visual-card > div:first-child > span {
    margin-bottom: 12px;
  }

  body .coyote-product-lp--order #oe-screens .coyote-oe-v7__visual-card h3 {
    margin-bottom: 10px;
  }

  body .coyote-product-lp--order #oe-screens .coyote-oe-v7__screen-mock,
  body .coyote-product-lp--order #oe-screens .coyote-oe-v7__mail-mini,
  body .coyote-product-lp--order #oe-screens .coyote-oe-v7__table-mini {
    min-height: 132px;
    padding: 16px;
    border-radius: 18px;
  }

  body .coyote-product-lp--order #oe-screens .coyote-oe-v7__screen-mock i,
  body .coyote-product-lp--order #oe-screens .coyote-oe-v7__table-mini i {
    min-height: 24px;
  }

  body .coyote-product-lp--order #oe-screens .coyote-oe-v7__mail-mini b {
    min-height: 26px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 11px;
  }

  /* 05｜MAIL TEMPLATE */
  body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-layout {
    grid-template-columns: 1fr !important;
    gap: 26px;
  }

  body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-copy {
    gap: 18px;
  }

  body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-copy article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 8px;
    align-items: center;
  }

  body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-copy article > span {
    grid-column: 1;
    grid-row: 1;
    min-height: 28px;
    margin: 0;
    padding-right: 11px;
    padding-left: 11px;
  }

  body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-copy article > h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-size: 21px;
    line-height: 1.3;
  }

  body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-copy article > p {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-card {
    width: 100%;
    padding: 22px;
    border-radius: 20px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  }

  body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-card dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 12px 0;
  }

  body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-card dd {
    text-align: left;
  }

  body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-card a {
    min-height: 42px;
    margin-top: 18px;
    padding-right: 18px;
    padding-left: 18px;
    font-size: 13px;
  }

  /* 06｜SHIPPING DATA */
  body .coyote-product-lp--order #oe-shipping .coyote-oe-v7__section-head p {
    max-width: 100%;
  }

  body .coyote-product-lp--order #oe-shipping .coyote-oe-v7__table-columns {
    gap: 20px;
  }

  body .coyote-product-lp--order #oe-shipping .coyote-clean-table caption {
    display: block !important;
    width: 100% !important;
    padding: 14px 18px;
    text-align: center;
    white-space: normal;
    writing-mode: horizontal-tb;
  }

  body .coyote-product-lp--order #oe-shipping .coyote-clean-table tbody tr {
    padding: 16px 16px;
  }

  body .coyote-product-lp--order #oe-shipping .coyote-clean-table tbody th[scope="row"] {
    margin-bottom: 8px;
  }

  /* 07｜FIT / NOT FIT */
  body .coyote-product-lp--order #oe-fit .coyote-oe-v7__fit-grid {
    gap: 18px;
  }

  body .coyote-product-lp--order #oe-fit .coyote-oe-v7__fit-card {
    padding: 22px;
  }

  body .coyote-product-lp--order #oe-fit .coyote-oe-v7__fit-card > span {
    margin-bottom: 14px;
  }

  body .coyote-product-lp--order #oe-fit .coyote-oe-v7__fit-card h3 {
    margin-bottom: 14px;
  }

  body .coyote-product-lp--order #oe-fit .coyote-oe-v7__fit-card ul {
    gap: 10px;
  }

  body .coyote-product-lp--order #oe-fit .coyote-oe-v7__fit-card li {
    padding-left: 20px;
    font-size: 13.5px;
    line-height: 1.72;
  }

  /* 08｜POSITION */
  body .coyote-product-lp--order #oe-position .coyote-oe-v7__section-head h2 {
    font-size: clamp(30px, 8.8vw, 38px);
    line-height: 1.15;
  }

  body .coyote-product-lp--order #oe-position .coyote-oe-v7__position-title-line {
    white-space: normal;
  }

  body .coyote-product-lp--order #oe-position .coyote-oe-v7__position-title-line + .coyote-oe-v7__position-title-line {
    margin-top: 4px;
  }

  body .coyote-product-lp--order #oe-position .coyote-clean-table--compare tbody tr {
    padding: 18px 16px;
  }

  body .coyote-product-lp--order #oe-position .coyote-clean-table--compare tbody td,
  body .coyote-product-lp--order #oe-position .coyote-clean-table--compare tbody td:last-child {
    text-align: left;
  }

  /* 09｜FAQ */
  body .coyote-product-lp--order #oe-faq .coyote-oe-v7__faq-list {
    gap: 14px;
  }

  body .coyote-product-lp--order #oe-faq .coyote-oe-v7__faq-list summary {
    gap: 14px;
    padding: 20px 20px;
    font-size: 15.5px;
    line-height: 1.55;
  }

  body .coyote-product-lp--order #oe-faq .coyote-oe-v7__faq-list summary::after {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    font-size: 17px;
  }

  body .coyote-product-lp--order #oe-faq .coyote-oe-v7__faq-list details p {
    padding: 0 20px 22px;
    line-height: 1.85;
  }

  /* 10｜FINAL CTA */
  body .coyote-product-lp--order .coyote-oe-v7__final {
    padding-top: 74px;
    padding-bottom: 74px;
  }
}

@media (max-width: 390px) {
  body .coyote-product-lp--order h1 {
    font-size: 31px;
  }

  body .coyote-product-lp--order h2,
  body .coyote-product-lp--order .coyote-oe-v7__final h2 {
    font-size: 28px;
  }

  body .coyote-product-lp--order #oe-mail .coyote-oe-v7__mail-copy article > h3,
  body .coyote-product-lp--order #oe-flow .coyote-oe-v7__flow-grid article > h3 {
    font-size: 20px;
  }
}
