/* ===== Top Page v2 — Refactored (2026-04) ===== */

/* --- 1. Variables & Globals --- */
:root {
  --tp-accent: #0b3a6b;
  --tp-accent-2: #0f5aa6;
  --tp-text: #1a1a1a;
  --tp-sub: #5a616b;
  --tp-line: rgba(0,0,0,.10);
  --tp-bg: #ffffff;
  --tp-soft: #f6f8fb;
  --tp-radius: 18px;
  --tp-shadow: 0 10px 28px rgba(0,0,0,.08);
  --tp-section-gap: 56px;

  /* Logo card sizes */
  --logo-card-w: 240px;
  --logo-card-h: 72px;
  --logo-gap-x: 18px;
  --logo-gap-y: 14px;
  --logo-pad-x: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
img, video, iframe { max-width: 100%; height: auto; }

html, body {
  width: 100%;
  overflow-x: hidden;
}
body {
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

/* --- 2. Container --- */
.tpContainer {
  width: 100%;
  max-width: 1960px;
  margin: 0 auto;
  padding-left: clamp(12px, 2vw, 24px);
  padding-right: clamp(12px, 2vw, 24px);
  box-sizing: border-box;
}

.page-top .contentsWrap {
  max-width: none;
  width: min(1960px, 96vw);
  margin-left: auto;
  margin-right: auto;
  padding-left: 8px;
  padding-right: 8px;
}

header > .headerInner {
  max-width: none;
  width: min(1960px, 96vw);
  margin-left: auto;
  margin-right: auto;
  padding-left: 8px;
  padding-right: 8px;
}

/* --- 3. Headings --- */
.tpHead { margin-bottom: 10px; }
.tpHead--left { text-align: left; }
.tpHead--center { text-align: center; }

.tpHead__title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--tp-text);
  line-height: 1.4;
  margin: 0;
}
.tpHead__sub {
  margin: 6px 0 0;
  color: var(--tp-sub);
}

/* --- 4. Buttons --- */
.tpBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--tp-line);
  background: #fff;
  color: var(--tp-text);
  text-decoration: none;
  font-weight: 700;
  transition: transform .12s ease;
}
.tpBtn--primary {
  background: var(--tp-accent);
  border-color: var(--tp-accent);
  color: #fff;
}
.tpBtn:hover { transform: translateY(-1px); }

.tpCtaRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* --- 5. Header CTA --- */
.headerCta {
  display: none;
  margin-left: 16px;
  gap: 10px;
  align-items: center;
}
.headerCta__tel {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: #fff;
  color: var(--tp-accent);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}
.headerCta__tel span {
  font-size: 14px;
  opacity: .85;
  margin-right: 6px;
}
.headerCta__btn {
  display: none;
}
.headerCta__btn--primary {
  background: var(--tp-accent);
  border-color: var(--tp-accent);
  color: #fff;
}

@media (min-width: 1100px) {
  .headerCta { display: flex; }
}

/* =========================================================
   6. HERO SECTION
   ========================================================= */
.tpHero {
  padding: 26px 0 10px;
  background: linear-gradient(180deg, var(--tp-soft), #fff);
  overflow-x: hidden;
}

.page-top { --tp-hero-scale: 1; }

/* Tag (badge above title) */
.page-top .tpHero__tag {
  display: inline-flex;
  align-items: center;
  gap: clamp(4px, 1vw, 10px);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11,58,107,.10);
  color: var(--tp-accent);
  font-weight: 700;
  font-size: clamp(12px, 3.6vw, 20px);
  line-height: 1.2;
  margin-bottom: 18px;
  max-width: 100%;
  box-sizing: border-box;
}
.page-top .tpHero__tagText {
  min-width: 0;
  flex: 1 1 auto;
  white-space: nowrap;
}
.page-top .tpHero__tagImg {
  width: clamp(50px, 16vw, 120px);
  height: auto;
  flex: 0 0 auto;
}

/* Hero insert image */
.page-top {
  --tp-hero-insert-size: clamp(120px, 12vmin, 220px);
}
.page-top .tpHero__insertImg {
  width: var(--tp-hero-insert-size);
  height: var(--tp-hero-insert-size);
}
.tpHero .tpHero__insertImg img {
  display: block;
  height: auto;
  object-fit: contain;
}

/* Hero title */
.page-top .tpHero__title {
  font-size: clamp(24px, calc(4.2vmin * var(--tp-hero-scale, 1)), 46px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: .03em;
  color: var(--tp-text);
  margin: 0 0 10px;
}
.page-top .tpHero__title span { display: block; }
.page-top .tpHero__title span + span { margin-top: 0.2em; }

/* Hero lead */
.page-top .tpHero__lead {
  font-size: clamp(14px, calc(2.1vmin * var(--tp-hero-scale, 1)), 20px);
  color: var(--tp-sub);
  line-height: 1.8;
  max-width: 34ch;
}
.tpHero__leadEm {
  display: inline-block;
  font-weight: 900;
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--tp-text);
  border-bottom: 4px solid rgba(11, 58, 107, .45);
  padding-bottom: 6px;
  white-space: nowrap;
}

/* Hero bullets (one-line / split) */
.page-top .tpHero__bulletsOneLine {
  margin: 18px 0 0;
  font-weight: 900;
  font-size: 24px;
  line-height: 1.2;
  white-space: nowrap;
}
.page-top .tpHero__bulletsSplit .tpHero__bullet { display: inline; }
.page-top .tpHero__bulletsSplit .tpHero__bullet + .tpHero__bullet::before {
  content: "\30FB"; /* ・ */
  margin: 0 0.2em;
}

/* Hero image */
.tpHero__img,
.tpHero__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--tp-radius);
  border: 1px solid var(--tp-line);
  box-shadow: var(--tp-shadow);
  object-fit: contain;
}

/* Hero layout helpers */
.tpHero__copy,
.tpHero__media,
.tpHero__inner > * { min-width: 0; }

/* --- Hero: PC (>=1340) --- 2カラム横並びは十分な幅のある時だけ */
@media (min-width: 1340px) {
  .page-top .tpHero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    column-gap: 32px;
    align-items: center;
  }
  .page-top .tpHero__tag { padding: 8px 14px; }
  .page-top .tpHero__copy {
    padding-left: 48px;
    max-width: 100%;
  }
  .tpHero .tpHero__title,
  .tpHero .tpHero__lead { text-align: left; }
  .tpHero .tpCtaRow { justify-content: flex-start; }
  .tpHero .tpCtaRow .tpBtn {
    padding: 16px 26px;
    font-size: 18px;
  }
  .tpHero .tpCtaRow .tpBtn:nth-child(2) {
    background: var(--tp-soft);
  }
  .tpHero__img {
    width: 100%;
    height: clamp(320px, 28vw, 520px);
    object-fit: cover;
  }
}

/* --- Hero: Tablet (768-1339) --- PCの2カラムは幅不足で重なるため、1340pxまでは縦積み */
@media (min-width: 768px) and (max-width: 1339px) {
  .page-top .tpHero__inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "media";
    column-gap: 0;
    row-gap: 24px;
  }
  .page-top .tpHero__copy { grid-area: copy; min-width: 0; padding-left: 0 !important; }
  .page-top .tpHero__media { grid-area: media; min-width: 0; max-width: 720px; margin: 0 auto; }
  .page-top .tpHero__img { width: 100%; height: auto; }
  .page-top .tpHero__title,
  .page-top .tpHero__lead,
  .page-top .tpHero__leadEm,
  .page-top .tpHero__bulletsOneLine {
    overflow-wrap: break-word;
    word-break: normal;
    line-break: strict;
    white-space: normal !important;
  }
}

/* Hero: どの幅でもリード・バッジの nowrap による右方向はみ出しを防止
   (anywhere だと「オーダ」+「ー」のように不自然な箇所で改行されるため
    break-word + line-break: strict で日本語として自然な位置のみで改行) */
.page-top .tpHero__leadEm,
.page-top .tpHero__bulletsOneLine {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  line-break: strict;
}

/* Hero: デスクトップ幅では max-width: 34ch が窮屈でリード文が早く改行される問題を解消 */
@media (min-width: 1340px) {
  .page-top .tpHero__lead { max-width: 52ch; }
}

/* --- Hero: Mobile (<=767) --- */
@media (max-width: 767px) {
  .page-top { --tp-hero-insert-size: clamp(64px, 18vmin, 110px); --tp-hero-scale: 0.95; }
  .tpHero { padding: 24px 0 56px; }
  .tpHero__inner { display: block; }
  .tpHero__copy { margin-bottom: 24px; position: relative; }
  .tpCtaRow { margin-top: 18px; margin-bottom: 28px; }
  .tpHero__media { margin-top: 10px; }
  .tpHero__img { width: 100%; height: auto; object-fit: cover; }

  .page-top .tpHero__title {
    font-size: clamp(26px, calc(6.2vmin * var(--tp-hero-scale, 1)), 38px);
    line-height: 1.12;
    font-weight: 800;
  }

  .tpHero__leadEm {
    display: table;
    margin: 0 auto;
    text-align: center;
  }
  .page-top .tpHero__leadBreak { display: block; }

  .page-top .tpHero__tag { font-size: clamp(12px, 4vw, 18px); color: #6aa9e6; }
  .page-top .tpHero__tag,
  .page-top .tpHero__title,
  .page-top .tpHero__lead,
  .page-top .tpHero__bulletsOneLine { max-width: 100%; }

  .page-top .tpHero__bulletsSplit .tpHero__bullet { display: block; }
  .page-top .tpHero__bulletsSplit .tpHero__bullet + .tpHero__bullet::before {
    content: "";
    margin: 0;
  }

  .page-top .tpHero__inner {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "media";
    column-gap: 0;
  }
}

@media (max-width: 1200px) {
  .page-top .tpHero__bulletsOneLine {
    white-space: normal;
    overflow-wrap: anywhere;
    max-width: 100%;
  }
}
@media (max-width: 1279px) {
  .tpHero .tpHero__lead { max-width: 40ch; }
}

@media (min-width: 900px) {
  .tpHero__img { height: auto; object-fit: contain; }
}

/* =========================================================
   7. PROOF SECTION (Google Map + Area List)
   ========================================================= */
.tpProof {
  padding: var(--tp-section-gap) 0;
  background: #fff;
  --tpProofH: clamp(560px, 72vh, 920px);
}
.tpProof .tpContainer { width: min(1480px, 96vw); }

.tpProof__titleRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.tpProof__heading {
  font-size: clamp(16px, 3.2vw, 28px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .03em;
  max-width: 100%;
  margin: 0 0 4px 0;
}
.tpEmNo1 {
  display: inline-block;
  font-weight: 900;
  font-size: 1.2em;
  letter-spacing: .02em;
  color: #0b2a4a;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 214, 0, .35);
  vertical-align: baseline;
}
.tpProof__titleBadge img {
  display: block;
  width: 180px;
  max-width: none;
  height: auto;
}

.tpProof__page { margin-top: 6px; }
.tpProof__inner { margin-top: 0; }

/* Map + list grid */
.tpProof #main {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.tpProof #pageLeft { grid-column: 1; grid-row: 1; }
.tpProof #pageRightTop,
.tpProof #pageRightDetails { grid-column: 2; grid-row: 1; }
.tpProof #map {
  width: 100%;
  height: var(--tpProofH);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  background: #e9eef5;
}
.tpProof #pageRightTop,
.tpProof #pageRightDetails {
  height: var(--tpProofH);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  background: #fff;
}
#pageRightDetails { display: none; }
.tpProof #areaBox { height: 100%; overflow: auto; }

/* List items */
.tpProof .list-group-item {
  display: block;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--tp-text);
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.08);
  font-weight: 700;
  transition: background .12s;
}
.tpProof .list-group-item:hover { background: rgba(11,58,107,.06); }
.tpProof .list-group-item.active {
  background: var(--tp-accent);
  color: #fff;
  border-bottom-color: rgba(255,255,255,.25);
}
.tpProof .list-group-item:last-child { border-bottom: 0; }

/* Details */
.tpProof #pageRightDetails { position: relative; }
.tpProof #detailsBox {
  height: 100%;
  overflow: auto;
  padding: 12px 14px 80px;
}
.tpProof #returnTop {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 66px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  background: #f6f8fb;
  border-top: 1px solid rgba(0,0,0,.10);
}
.tpProof #returnTop button {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: #0b2a4a;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.tpProof__caption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--tp-sub);
}

/* Details box — prevent long shop names from causing horizontal overflow */
.tpProof #detailsBox .card-header .btn {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-align: left;
}
.tpProof #pageRightDetails {
  overflow-x: hidden;
}
.tpProof #detailsBox .card {
  max-width: 100%;
  overflow: hidden;
}

@media (max-width: 899px) {
  .tpProof #main { grid-template-columns: 1fr; }
  .tpProof #pageLeft,
  .tpProof #pageRightTop,
  .tpProof #pageRightDetails { grid-column: auto; grid-row: auto; }
}
@media (max-width: 768px) {
  .tpProof__heading { font-size: clamp(14px, 4vw, 20px); }
  .tpProof__titleBadge img { width: 64px; }
}

/* =========================================================
   8. USE CASE SECTION
   ========================================================= */
.tpUsecase {
  padding: var(--tp-section-gap) 0;
  background: var(--tp-soft);
}
.tpUcGrid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.tpUcGrid > * { min-width: 0; }

.tpUc {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  background: #fff;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,.05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tpUc:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
}
.tpUc img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--tp-line);
  margin-bottom: 10px;
}
.tpUc p { color: var(--tp-sub); margin: 6px 0 0; }

.tpUc__moreWrap { margin-top: 12px; }
.tpUc__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 8px 20px;
  background: #ffd800;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  box-shadow: 0 2px 0 rgba(0,0,0,.15);
  transition: transform .1s, box-shadow .1s;
}
.tpUc:hover .tpUc__more {
  transform: translateY(1px);
  box-shadow: 0 1px 0 rgba(0,0,0,.15);
}

@media (min-width: 640px) {
  .tpUcGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .tpUc {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .tpUc__text { flex: 1 1 auto; }
  .tpUc__moreWrap { margin-top: auto; text-align: left; }
  .tpUc img { aspect-ratio: 16 / 9; object-fit: cover; }
}
@media (max-width: 768px) {
  .tpUc__more { min-width: 120px; padding: 7px 16px; font-size: 13px; }
}
@media (min-width: 1100px) {
  .tpUcGrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* =========================================================
   9. REASONS SECTION (6 features)
   ========================================================= */
.tpReasons { padding: var(--tp-section-gap) 0; }

.tpReasonList {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}

.tpReason {
  padding: 0;
  background: transparent;
  border-radius: var(--tp-radius);
  border: 1px solid var(--tp-line);
  overflow: hidden;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
}

.tpReason,
.tpReason__content,
.tpReason__head,
.tpReason__body,
.tpReason__img { min-width: 0; }
.tpReason__head h3,
.tpReason__body p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tpReason__noWrap {
  background: var(--tp-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: 1 / -1;
}
.tpReason__no { font-weight: 700; font-size: 20px; letter-spacing: .12em; color: #555; }

.tpReason__content {
  display: grid;
  grid-template-rows: auto auto auto;
}
.tpReason__head {
  background: var(--tp-soft);
  padding: 12px 20px 8px;
}
.tpReason__head h3 {
  margin: 0;
  font-size: clamp(16px, 1.1vw, 20px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .02em;
}
.tpReason__img {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
}
.tpReason__img img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.tpReason__body {
  background: var(--tp-soft);
  padding: 10px 20px 14px;
}
.tpReason__body p {
  margin: 0;
  color: var(--tp-sub);
  font-size: clamp(13.5px, 0.95vw, 16px);
  line-height: 1.75;
}

/* Responsive columns */
@media (min-width: 1200px) {
  .tpReasonList { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .tpReasonList { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpReason { grid-template-columns: 60px minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .tpReasonList { grid-template-columns: 1fr; }
}
@media (min-width: 1024px) {
  .tpReason__img { min-height: 160px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .tpReason__img { min-height: 140px; }
}
@media (max-width: 767px) {
  .tpReason__img { min-height: 120px; }
}
@media (max-width: 600px) {
  .tpReason { grid-template-columns: 60px minmax(0, 1fr); }
  .tpReason__head { padding: 10px 14px 6px; }
  .tpReason__img { padding: 10px 14px; }
  .tpReason__body { padding: 8px 14px 12px; }
  .tpReason__head h3 { font-size: 16px; }
}

/* =========================================================
   10. PARTNER SECTION
   ========================================================= */
.tpPartner { padding: var(--tp-section-gap) 0; }
.tpPartner h2 {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(22px, 1.8vw, 34px);
  font-weight: 900;
  letter-spacing: .04em;
}
.tpPartner__leadOneLine {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 96%;
}

@media (min-width: 1024px) {
  .tpPartner__leadOneLine {
    white-space: nowrap;
    font-size: clamp(18px, 1.5vw, 26px);
    font-weight: 800;
  }
}

/* Logo group headers */
.tpPartner__logoGroup { margin-top: 18px; }
.tpPartner__logoGroupHead {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto 14px;
}
.tpPartner__logoGroupTitle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  font-size: 16px;
  color: var(--tp-text);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(11,58,107,.10);
}

/* Logo rows */
.tpPartner__logosRows {
  display: flex;
  flex-direction: column;
  gap: var(--logo-gap-y);
  margin-top: 18px;
  margin-left: auto;
  margin-right: auto;
}
.tpPartner__logosRow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--logo-gap-y) var(--logo-gap-x);
}

/* Logo card */
.tpPartner__logoCard {
  width: var(--logo-card-w);
  height: var(--logo-card-h);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px var(--logo-pad-x);
  overflow: hidden;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
}
.tpPartner__logoCard a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.tpPartner__logoCard img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Canon & BUSICOM slightly larger */
.tpPartner__logoCard img[src*="logo_canon"],
.tpPartner__logoCard img[src*="logo_busicom"] {
  transform: scale(1.18);
  transform-origin: center;
}

/* Group company (Tenpos) */
.tpPartner__logos--group {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}
.tpPartner__logoCard--group {
  width: var(--logo-card-w);
  position: relative;
  border: 2px solid rgba(255, 180, 0, 0.95);
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
}

/* Order badge */
.tpPartner__orderFoot {
  margin-top: 10px;
  display: flex;
  justify-content: flex-start;
}
.tpPartner__orderBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: #e9eef5;
  color: #0b2a4a;
  font-size: 13px;
  font-weight: 900;
  vertical-align: middle;
}

/* CTA title */
.tpPartner__ctaTitle {
  margin-top: 34px;
  margin-bottom: 14px;
  text-align: center;
  font-size: clamp(20px, 1.5vw, 28px);
  font-weight: 900;
  letter-spacing: .03em;
}

/* Responsive logo cards */
@media (min-width: 1024px) {
  :root { --logo-card-w: 280px; --logo-card-h: 88px; }
}
@media (max-width: 1023px) {
  :root { --logo-card-w: 210px; --logo-card-h: 64px; }
}
@media (max-width: 767px) {
  :root { --logo-card-w: 170px; --logo-card-h: 86px; --logo-gap-x: 14px; --logo-gap-y: 14px; }
  .tpPartner__logosRow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--logo-gap-y) var(--logo-gap-x);
    justify-items: center;
  }
  .tpPartner__logoCard { width: min(var(--logo-card-w), 100%); }
  .tpPartner__logoCard--group { width: min(var(--logo-card-w), 100%); }
  .tpPartner__logoCard img[src*="logo_canon"],
  .tpPartner__logoCard img[src*="logo_busicom"] { transform: scale(1.10); }
}
@media (min-width: 768px) {
  .tpPartner__orderBadge { font-size: 14px; padding: 4px 12px; letter-spacing: .02em; }
}

/* =========================================================
   11. CTA DETAIL (Document Download)
   ========================================================= */
.tpCtaDetail {
  padding: var(--tp-section-gap) 0;
  background: var(--tp-soft);
}
.tpCtaDetail .tpPartner__ctaTitle {
  margin: 0;
  text-align: center;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 900;
  letter-spacing: .03em;
}
.tpCtaDetail .tpHead__sub {
  margin: 10px 0 0;
  text-align: center;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 700;
  color: var(--tp-sub);
}
.tpCtaDetail__card {
  display: block;
  position: relative;
  max-width: 980px;
  margin: 26px auto 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.tpCtaDetail__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
}
.tpCtaDetail__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.20), rgba(0,0,0,0) 58%);
  pointer-events: none;
}
.tpCtaDetail__img {
  display: block;
  width: 100%;
  height: clamp(240px, 32vw, 420px);
  object-fit: cover;
}
.tpCtaDetail__label {
  position: absolute;
  left: 42px;
  top: 50%;
  transform: translateY(-50%);
}
.tpCtaDetail__label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--tp-accent);
  color: #fff;
  font-weight: 900;
  letter-spacing: .02em;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.tpCtaDetail__label span::after { content: "\2192"; font-weight: 900; }

@media (max-width: 768px) {
  .tpCtaDetail { padding: 40px 0; }
  .tpCtaDetail__img { height: 260px; }
  .tpCtaDetail__label { left: 18px; top: auto; bottom: 18px; transform: none; }
  .tpCtaDetail__label span { padding: 12px 18px; font-size: 14px; }
  .tpCtaDetail__card::before {
    background: linear-gradient(0deg, rgba(0,0,0,.22), rgba(0,0,0,0) 62%);
  }
}

/* =========================================================
   12. NEWS SECTION — Modern Redesign
   ========================================================= */
.page-top .news.topPagesection {
  padding: var(--tp-section-gap) 0;
  background: var(--tp-soft);
}
.page-top .news .headingWrap {
  text-align: center;
  margin-bottom: 28px;
}
.page-top .news .heading.sideBorder {
  display: inline-block;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--tp-text);
  border: none;
  position: relative;
}
.page-top .news .heading.sideBorder::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--tp-accent);
  margin: 8px auto 0;
  border-radius: 2px;
}
.page-top .news .heading-ja {
  font-size: 13px;
  color: var(--tp-sub);
  margin-top: 4px;
}

.page-top .newsList {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.page-top .newsList-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--tp-line);
}
.page-top .newsList-item:last-child { border-bottom: none; }
.page-top .newsList-date {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--tp-accent);
  background: rgba(11,58,107,.08);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.page-top .newsList-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--tp-text);
}
.page-top .newsList-text a {
  color: var(--tp-accent-2);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .page-top .newsList-item {
    flex-direction: column;
    gap: 6px;
  }
}

/* =========================================================
   13. SUPPORT SECTION — Modern Redesign
   ========================================================= */
.page-top .support.topPagesection {
  padding: var(--tp-section-gap) 0;
  background: #fff;
}
.page-top .support .headingWrap {
  text-align: center;
  margin-bottom: 28px;
}
.page-top .support .heading.sideBorder {
  display: inline-block;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--tp-text);
  border: none;
  position: relative;
}
.page-top .support .heading.sideBorder::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--tp-accent);
  margin: 8px auto 0;
  border-radius: 2px;
}
.page-top .support .heading-ja {
  font-size: 13px;
  color: var(--tp-sub);
  margin-top: 4px;
}
.page-top .support .contents {
  max-width: 906px;
  margin: 0 auto;
  background: var(--tp-soft);
  border-radius: var(--tp-radius);
  padding: 28px 32px;
  border: 1px solid var(--tp-line);
  font-size: 14px;
  line-height: 1.8;
  color: var(--tp-text);
}
.page-top .support .download {
  margin-top: 18px;
}
.page-top .support .download a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--tp-accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform .12s;
}
.page-top .support .download a:hover {
  transform: translateY(-1px);
}

/* =========================================================
   14. PAGE TOP BUTTON
   ========================================================= */
.topBtnWrap {
  text-align: center;
  padding: 24px 0;
}

/* =========================================================
   15. PHASE 2A — MOBILE-FIRST REFINEMENT (2026-04-20)
   Mobile-first additions only. Do not delete existing rules.
   Scope: iPhone 12 Pro (390px) baseline, up to tablet/PC.
   ========================================================= */

/* ---- 15-1. Hero: chip-style bullets & full-width CTA on mobile ---- */
@media (max-width: 767px) {
  /* Title: maximize visual impact */
  .page-top .tpHero__title {
    font-size: clamp(30px, 8.6vw, 40px);
    letter-spacing: .01em;
    line-height: 1.14;
    font-weight: 900;
    margin-bottom: 14px;
  }
  .page-top .tpHero__title span + span {
    margin-top: .15em;
  }

  /* Tag cleanup: softer color, better contrast */
  .page-top .tpHero__tag {
    background: rgba(11,58,107,.12);
    color: var(--tp-accent);
    padding: 7px 14px;
    font-size: 13px;
    margin-bottom: 16px;
  }

  /* Lead emphasis */
  .page-top .tpHero__leadEm {
    display: inline-block;
    white-space: normal;
    font-size: clamp(15px, 4.2vw, 18px);
    line-height: 1.6;
    border-bottom-width: 3px;
    padding-bottom: 4px;
    max-width: 100%;
    text-align: left;
    margin: 0;
  }
  .page-top .tpHero__lead {
    font-size: 14.5px;
    line-height: 1.7;
    max-width: 100%;
    margin-bottom: 18px;
  }

  /* Bullets → chip-style tags */
  .page-top .tpHero__bulletsChip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 4px;
    padding: 0;
    white-space: normal;
    font-size: 14px;
    line-height: 1.2;
  }
  .page-top .tpHero__bulletsChip .tpHero__bullet {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: #fff;
    color: var(--tp-accent);
    border: 1.5px solid rgba(11,58,107,.22);
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: .01em;
    box-shadow: 0 2px 8px rgba(11,58,107,.06);
  }
  .page-top .tpHero__bulletsChip .tpHero__bullet::before {
    content: "\0023"; /* # */
    margin-right: 4px;
    color: var(--accent, #e8a93a);
    font-weight: 900;
  }
  .page-top .tpHero__bulletsChip .tpHero__bullet + .tpHero__bullet::before {
    /* override the default "・" separator from bulletsSplit rule */
    content: "\0023";
    margin: 0 4px 0 0;
  }

  /* CTA row: full-width, stacked, 44px+ tap area */
  .tpCtaRow.tpCtaRow--stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
  }
  .tpBtn.tpBtn--block {
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
    font-size: 16px;
    border-radius: 14px;
    font-weight: 900;
    letter-spacing: .02em;
  }
  .tpBtn.tpBtn--primary.tpBtn--block {
    background: var(--tp-accent);
    box-shadow: 0 10px 22px rgba(11,58,107,.28);
  }
  .tpBtn.tpBtn--block:not(.tpBtn--primary) {
    background: #fff;
    border: 1.5px solid var(--tp-accent);
    color: var(--tp-accent);
  }

  /* Hero image: framed nicely below copy */
  .tpHero__img,
  .tpHero__media img {
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(11,58,107,.12);
  }
  .tpHero__media { margin-top: 18px; }
}

/* ---- 15-2. Proof: KPI badges (3 across, high impact) ---- */
.tpKpis {
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.tpKpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 6px;
  background: #fff;
  border: 1px solid rgba(11,58,107,.14);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(11,58,107,.06);
  min-height: 78px;
}
.tpKpi__num {
  display: block;
  font-family: var(--font-en, "Inter Tight", system-ui, sans-serif);
  font-weight: 900;
  font-size: clamp(20px, 5.6vw, 28px);
  line-height: 1.05;
  color: var(--tp-accent);
  letter-spacing: .01em;
}
.tpKpi__num small {
  font-size: .65em;
  margin-left: 1px;
  color: var(--tp-accent-2);
}
.tpKpi__num strong {
  font-size: 1.25em;
  color: #d77a00;
}
.tpKpi__label {
  margin-top: 4px;
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--tp-sub);
  letter-spacing: .02em;
  white-space: nowrap;
}
.tpKpi--accent {
  background: linear-gradient(180deg, #fff9e6, #fff);
  border-color: rgba(255,180,0,.45);
}
.tpKpi--accent .tpKpi__num { color: #b3600a; }

@media (min-width: 768px) {
  .tpKpis {
    max-width: 640px;
    gap: 14px;
    margin: 18px 0 24px;
  }
  .tpKpi { padding: 18px 10px; min-height: 96px; }
  .tpKpi__num { font-size: 32px; }
  .tpKpi__label { font-size: 13px; }
}

/* ---- 15-3. Proof: mobile map height & heading ---- */
@media (max-width: 767px) {
  .tpProof { padding: 40px 0; }
  .tpProof__heading {
    font-size: 18px;
    line-height: 1.55;
    font-weight: 900;
    letter-spacing: .01em;
  }
  .tpProof__heading .tpEmNo1 {
    font-size: 1.1em;
    padding: 2px 10px;
  }
  /* Map height on mobile */
  .tpProof { --tpProofH: clamp(400px, 60vh, 480px); }
  .tpProof #map { height: clamp(400px, 60vh, 480px); border-radius: 14px; }
  .tpProof #pageRightTop,
  .tpProof #pageRightDetails {
    height: auto;
    max-height: 360px;
  }
  .tpProof #areaBox { max-height: 360px; }
  .tpProof .list-group-item {
    padding: 14px 16px;
    min-height: 48px;
    font-size: 14.5px;
  }
  .tpProof__caption {
    font-size: 12.5px;
    text-align: center;
    margin-top: 8px;
  }
  .tpProof__page { margin-top: 4px; }
  .tpProof #main { gap: 14px; }
}

/* ---- 15-4. Usecase: mobile 1-col with breathing room ---- */
@media (max-width: 639px) {
  .tpUsecase { padding: 40px 0; }
  .tpUcGrid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .tpUc {
    padding: 14px 14px 18px;
    border-radius: 18px;
  }
  .tpUc img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
  }
  .tpUc h3 {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .01em;
    margin: 6px 0 6px;
    color: var(--tp-text);
  }
  .tpUc p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--tp-sub);
  }
  .tpUc__moreWrap {
    margin-top: 14px;
    display: flex;
    justify-content: flex-start;
  }
  .tpUc__more {
    min-width: 160px;
    min-height: 44px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 3px 0 rgba(0,0,0,.18);
  }
  /* Usecase heading readability */
  .tpUsecase .tpHead__title {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 900;
    margin-bottom: 6px;
  }
}

/* ---- 15-5. Reasons: mobile stacked card with big outline number ---- */
@media (max-width: 767px) {
  .tpReasons { padding: 44px 0; }
  .tpReasons .tpHead__title {
    font-size: 20px;
    line-height: 1.5;
  }
  .tpReasonList { gap: 16px; margin-top: 18px; }

  .tpReason {
    /* Switch to single column: number sits above content as chip */
    grid-template-columns: 1fr;
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(11,58,107,.14);
    box-shadow: 0 6px 18px rgba(11,58,107,.06);
    background: #fff;
    overflow: hidden;
  }
  .tpReason__noWrap {
    position: absolute;
    top: 8px;
    right: 14px;
    background: transparent;
    z-index: 2;
    padding: 0;
  }
  .tpReason__no {
    font-family: var(--font-en, "Inter Tight", system-ui, sans-serif);
    font-size: 48px;
    line-height: 1;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(11,58,107,.28);
    letter-spacing: 0;
  }
  .tpReason__content {
    display: block;
  }
  .tpReason__head {
    background: #fff;
    padding: 18px 18px 4px;
    padding-right: 74px; /* reserve space for outline number */
  }
  .tpReason__head h3 {
    font-size: 16.5px;
    line-height: 1.45;
    font-weight: 900;
    letter-spacing: .01em;
    color: var(--tp-text);
  }
  .tpReason__img {
    background: #fff;
    padding: 10px 18px 6px;
    min-height: 0;
    justify-content: center;
  }
  .tpReason__img img {
    max-height: 180px;
    width: auto;
  }
  .tpReason__body {
    background: #fff;
    padding: 8px 18px 20px;
  }
  .tpReason__body p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--tp-sub);
  }
}

/* ---- 15-6. Partner: mobile breathing room & heading ---- */
@media (max-width: 767px) {
  .tpPartner { padding: 40px 0; }
  .tpPartner h2 {
    font-size: 22px;
    letter-spacing: .02em;
    margin-bottom: 10px;
  }
  .tpPartner__leadOneLine {
    font-size: 14.5px;
    line-height: 1.8;
    text-align: left;
    padding: 0 4px;
  }
  .tpPartner__logoGroup { margin-top: 26px; }
  .tpPartner__logoGroupTitle {
    font-size: 14px;
    padding: 6px 14px;
  }
  /* Group company — highlighted */
  .tpPartner__logoCard--group {
    width: min(260px, 100%);
    height: 96px;
    box-shadow: 0 10px 24px rgba(255,180,0,.18);
  }
  .tpPartner__orderBadge {
    font-size: 11.5px;
    padding: 3px 10px;
  }
}

/* ---- 15-7. CTA Detail: mobile vertical layout ---- */
@media (max-width: 767px) {
  .tpCtaDetail { padding: 40px 0; }
  .tpCtaDetail .tpPartner__ctaTitle {
    font-size: 22px;
    letter-spacing: .01em;
  }
  .tpCtaDetail .tpHead__sub {
    font-size: 14px;
    line-height: 1.7;
    padding: 0 8px;
  }
  .tpCtaDetail__card {
    border-radius: 18px;
    margin-top: 20px;
  }
  .tpCtaDetail__img {
    height: 200px;
  }
  .tpCtaDetail__label {
    left: 14px;
    bottom: 14px;
  }
  .tpCtaDetail__label span {
    min-height: 44px;
    padding: 12px 20px;
    font-size: 14.5px;
    font-weight: 900;
    border-radius: 999px;
  }
}

/* ---- 15-8. NEWS on mobile (date badge + text stacked) ---- */
@media (max-width: 767px) {
  .page-top .news.topPagesection { padding: 40px 0; }
  .page-top .newsList {
    padding: 0 4px;
  }
  .page-top .newsList-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 0;
  }
  .page-top .newsList-date {
    font-size: 12.5px;
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .04em;
  }
  .page-top .newsList-text {
    font-size: 14px;
    line-height: 1.85;
  }
}

/* ---- 15-9. Support on mobile ---- */
@media (max-width: 767px) {
  .page-top .support.topPagesection { padding: 40px 0; }
  .page-top .support .contents {
    padding: 20px 18px;
    font-size: 14px;
    line-height: 1.85;
    border-radius: 16px;
  }
  .page-top .support .download a {
    min-height: 48px;
    padding: 12px 22px;
    font-size: 14.5px;
    font-weight: 900;
  }
}

/* ---- 15-10. Global mobile anti-overflow guard ---- */
@media (max-width: 767px) {
  .tpContainer { padding-left: 16px; padding-right: 16px; }
  /* Safety: prevent any child overflow */
  .tpHero__inner > *,
  .tpProof .tpContainer > *,
  .tpUsecase .tpContainer > *,
  .tpReasons .tpContainer > *,
  .tpPartner .tpContainer > *,
  .tpCtaDetail .tpContainer > * {
    max-width: 100%;
  }
}

/* =====================================================================
   Patch (2026-04-20): USE CASE セクションを刷新
   - 画像 + カテゴリタグ + 太字リード + 矢印付きテキストリンク
   - 旧: 画像下にh3 + 説明文 + 黄色ピルボタン
   ===================================================================== */
.tpUsecase { padding: 72px 0; background: var(--tp-soft, #f7f9fc); }

.tpUcGrid {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 20px;
}

.tpUc {
  display: flex !important;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(0, 87, 184, 0.08);
  border-radius: 18px;
  overflow: hidden;
  padding: 0 !important;
  box-shadow: 0 6px 18px rgba(10, 30, 70, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tpUc:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(10, 30, 70, 0.14);
}

.tpUc__imgWrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e9eef5;
}
.tpUc__imgWrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  transition: transform .5s ease;
}
.tpUc:hover .tpUc__imgWrap img { transform: scale(1.04); }

.tpUc__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-block;
  padding: 6px 14px;
  background: #0057B8;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 87, 184, 0.35);
}

.tpUc__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 24px;
}

.tpUc__title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
  color: #0a1e46;
  margin: 0 0 12px;
  letter-spacing: 0.01em;
}

.tpUc__desc {
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.8;
  color: #4a5a75;
  margin: 0 0 18px !important;
}

.tpUc .tpUc__more {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 0 !important;
  min-width: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #0057B8 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  transition: gap .2s ease;
}
.tpUc__arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.tpUc:hover .tpUc__more { gap: 12px; }
.tpUc:hover .tpUc__arrow { transform: translateX(3px); }

/* レスポンシブ */
@media (min-width: 640px) {
  .tpUcGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}
@media (min-width: 1100px) {
  .tpUcGrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .tpUc__title { font-size: 17px; }
  .tpUc__body { padding: 20px 20px 22px; }
}

/* 旧ルールが残った場合の保険 */
.tpUc > h3,
.tpUc > p,
.tpUc > img,
.tpUc__moreWrap { display: none !important; }

/* =====================================================================
   Patch (2026-04-20): REASONS (6つの特徴) セクションを刷新
   - 旧: 左に番号カラム / 右にh3+image+body の2カラムブロック
   - 新: 画像バナー上 / 番号タグ overlay / タイトル・本文縦並びのカード
   ===================================================================== */
.tpReasons { padding: 64px 0; background: var(--tp-soft, #f7f9fc); }

.tpReasonList {
  gap: 18px !important;
  margin-top: 28px !important;
}

.tpReason {
  position: relative;
  display: flex !important;
  flex-direction: column;
  grid-template-columns: none !important;
  background: #fff !important;
  border: 1px solid rgba(0, 87, 184, 0.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 14px rgba(10, 30, 70, 0.05);
  overflow: hidden !important;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tpReason:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(10, 30, 70, 0.12);
}

/* 番号: 画像左上にバーと一緒に overlay */
.tpReason__noWrap {
  position: absolute !important;
  top: 16px;
  left: 18px;
  z-index: 2;
  background: transparent !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  grid-row: auto !important;
}
.tpReason__noWrap::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: #0057B8;
}
.tpReason__no {
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  color: #0057B8 !important;
  line-height: 1 !important;
}

/* コンテンツ: 画像 → タイトル → 本文 の順に並べる */
.tpReason__content {
  display: flex !important;
  flex-direction: column;
  grid-template-rows: none !important;
  flex: 1 1 auto;
  min-width: 0;
}

.tpReason__img {
  order: 1;
  aspect-ratio: 5 / 2 !important;
  padding: 12px 16px !important;
  background: #f4f8fd !important;
  min-height: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tpReason__img img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block;
}

.tpReason__head {
  order: 2;
  padding: 12px 16px 4px !important;
  background: #fff !important;
}
.tpReason__head h3 {
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  color: #0a1e46 !important;
  margin: 0 !important;
  letter-spacing: 0.01em !important;
}

.tpReason__body {
  order: 3;
  padding: 0 16px 14px !important;
  background: #fff !important;
  flex: 1 1 auto;
}
.tpReason__body p {
  font-size: 13px !important;
  line-height: 1.7 !important;
  color: #4a5a75 !important;
  margin: 0 !important;
}

/* レスポンシブ: 既存の2カラム指定を上書き */
@media (min-width: 768px) and (max-width: 1199px) {
  .tpReason { grid-template-columns: none !important; }
}
@media (min-width: 1200px) {
  .tpReasonList { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (min-width: 640px) and (max-width: 1199px) {
  .tpReasonList { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 639px) {
  .tpReasonList { grid-template-columns: 1fr !important; }
  .tpReason__img { padding: 22px 16px 12px !important; }
  .tpReason__head { padding: 18px 18px 8px !important; }
  .tpReason__body { padding: 0 18px 20px !important; }
  .tpReason__head h3 { font-size: 16px !important; }
}

/* =====================================================================
   Patch (2026-04-21): REASONS セクション 視認性アップ（PC / SP 両対応）
   - 旧モバイルルール（右上の大きな透かし番号 / 窮屈な余白）を打ち消す
   - フォントを太く大きく、行間・字間ゆったり、左揃え統一
   ===================================================================== */
.tpReason {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

/* 番号ラベルを確実に左上に固定（モバイルの right 指定を無効化） */
.tpReason__noWrap {
  position: absolute !important;
  top: 12px !important;
  left: 14px !important;
  right: auto !important;
  bottom: auto !important;
  gap: 8px !important;
}
.tpReason__no {
  font-family: "Inter Tight", "Zen Kaku Gothic New", sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  color: #0057B8 !important;
  -webkit-text-stroke: 0 !important;
  line-height: 1 !important;
}

/* タイトル: 読みやすさ優先で左揃え */
.tpReason__head {
  text-align: left !important;
}
.tpReason__head h3 {
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  text-align: left !important;
}

/* 本文: 左揃え統一 */
.tpReason__body {
  text-align: left !important;
}
.tpReason__body p {
  text-align: left !important;
  letter-spacing: 0.01em !important;
  overflow-wrap: break-word;
}

/* PC: 少しだけ文字サイズを上げる */
@media (min-width: 1100px) {
  .tpReason__head { padding: 14px 18px 4px !important; }
  .tpReason__head h3 { font-size: 16px !important; line-height: 1.5 !important; }
  .tpReason__body { padding: 0 18px 16px !important; }
  .tpReason__body p { font-size: 13.5px !important; line-height: 1.75 !important; }
}

/* SP: スマホでの最低限の見やすさを確保 */
@media (max-width: 767px) {
  .tpReason__head {
    padding: 14px 16px 4px !important;
    padding-right: 16px !important;
  }
  .tpReason__head h3 {
    font-size: 15.5px !important;
    line-height: 1.5 !important;
  }
  .tpReason__body { padding: 0 16px 14px !important; }
  .tpReason__body p {
    font-size: 13.5px !important;
    line-height: 1.75 !important;
  }
  .tpReason__img {
    padding: 10px 14px !important;
  }
}

/* =====================================================================
   Patch (2026-04-21): Hero タグ「クラウドPOSなら『モバレジ』」の視認性改善
   - フォントを Zen Kaku Gothic New へ（より現代的で読みやすい）
   - サイズ・字間・余白・色コントラストを調整
   ===================================================================== */
.page-top .tpHero__tag {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
  font-size: clamp(15px, 1.5vw, 18px) !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.5 !important;
  padding: 10px 20px !important;
  color: #0057B8 !important;
  background: rgba(0, 87, 184, 0.08) !important;
  border: 1px solid rgba(0, 87, 184, 0.14);
  margin-bottom: 24px !important;
  gap: 14px !important;
}
.page-top .tpHero__tagText {
  font-weight: 700;
  letter-spacing: 0.04em;
}
.page-top .tpHero__tagImg {
  width: clamp(56px, 11vw, 96px) !important;
}

@media (max-width: 767px) {
  .page-top .tpHero__tag {
    font-size: 14px !important;
    padding: 9px 16px !important;
    gap: 10px !important;
  }
}

