@charset "utf-8";
.mt-4 {
  margin-top: 4em;
}

.btn {
  text-align: center;
}

/* -------------------------
   ご依頼の前に最期のお世話をしてあげましょう
------------------------- */
.box p {
  margin-bottom: 10px;
}

.box .check {
  padding: 20px 20px 19px;
  background: #fff url(../img/c_bg.jpg) center top no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
}

.box .check li {
  list-style: none;
  font-weight: bold;
  color: #6eaceb;
  padding: 4px 0 17px 43px;
}

.box .check li:last-child {
  padding-bottom: 0;
}

.box .check li span {
  font-weight: normal;
  color: #666666;
  font-size: 0.84em;
}

.box .check li.n1 {
  background: url(../img/icon_n1.png) 0 0 no-repeat;
}

.box .check li.n2 {
  background: url(../img/icon_n2.png) 0 0 no-repeat;
}

.box .check li.n3 {
  background: url(../img/icon_n3.png) 0 0 no-repeat;
}

.box .check li.n4 {
  background: url(../img/icon_n4.png) 0 0 no-repeat;
}

.box .check li.n5 {
  background: url(../img/icon_n5.png) 0 0 no-repeat;
}

.box .check li.n6 {
  background: url(../img/icon_n6.png) 0 0 no-repeat;
}

/* -------------------------
   出張エリア
------------------------- */
.color-blue {
  color: #6eaceb;
  font-weight: bold;
}

.color-blue.-big {
  font-size: 16px;
}

.area-box > p {
  margin-bottom: 20px;
}

.area {
  overflow: hidden;
}

.area-title {
  font-family:
    "游明朝体", "Yu Mincho", YuMincho, serif, "メイリオ", "Meiryo", sans-serif;
  font-size: 3rem;
  line-height: 1.4;
  letter-spacing: 0.1em;
  color: #2b4c6d;
}

.area .image {
  float: left;
  width: 45.45%;
  margin-right: 20px;
}

.area .text {
  overflow: hidden;
}

.area .text .top {
  margin-bottom: 40px;
}

.container02 {
  max-width: 1000px;
  margin: 0 auto;
}

@media screen and (max-width: 480px) {
  .box .check {
    padding: 20px 10px;
  }

  .box .check li {
    padding-bottom: 10px;
  }

  .area .image {
    float: none;
    width: 200px;
    margin: 0 auto 10px;
  }

  .area .text .top {
    margin-bottom: 20px;
    text-align: center;
  }
}

/* ===== お支払い方法：完成版CSS（このHTMLに対応） ===== */

.pay-wrap {
  width: 100%;
}

/* ★軽量化（空白が出ない安全版） */
.pay-panel {
  width: min(1100px, 100%);
  margin: 0 auto 16px;
  border: 2px solid #9ab0ff;
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  box-sizing: border-box;

  /* ここが軽量化の肝 */
  content-visibility: auto;
  contain-intrinsic-size: 320px;
  contain: layout paint;
}

/* ===== 2カラム ===== */
.pay-panel__cols {
  display: flex;
  gap: 22px;
  align-items: stretch;
}

/* ===== 各カラム ===== */
.pay-col {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  padding-top: 10px;

  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ===== pill見出し ===== */
.pay-col__header {
  height: 0;
  position: relative;
}

.pay-col__pill {
  display: inline-block;
  position: relative;
  top: -2px;
  left: 6px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 14px;
  color: #2f3a66;
  background: #dfe6ff;
  border-radius: 8px;
  line-height: 1;
}

/* ===== カラム内の白枠 ===== */
.pay-col__body {
  border: 1px solid #e6e9f7;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pay-col__body--stretch {
  height: 100%;
}

/* ===== くくり枠（カード/交通系の枠） ===== */
.pay-group {
  border: 1px solid #eceffd;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.pay-group--bottom {
  margin-top: auto;
}

.pay-group__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
}

/* ===== タッチアイコン ===== */
.pay-center {
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}

.pay-touch {
  width: 40px;
  height: auto;
  display: block;
}

/* ===== 画像共通 ===== */
.pay-panel img {
  display: block;
  max-width: 100%;
  height: auto;
}

img.pay-logo {
  height: var(--h, 24px);
  width: auto;
  display: block;
  object-fit: contain;
}

/* ===== ロゴ高さ（統一） ===== */
.logo-row--card-top {
  --h: 40px;
}
.logo-row--card-bottom {
  --h: 40px;
}
.logo-grid-top {
  --h: 40px;
}
.logo-grid-ic {
  --h: 40px;
}
.pay-bottom {
  --h: 40px;
}

/* ===== ロゴ並び ===== */
.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;

  /* 軽量化（影響範囲を閉じる） */
  contain: layout paint;
}

.logo-row--card-bottom {
  margin-top: 10px;
}

/* ===== 左下 UnionPay ===== */
.pay-bottom {
  display: grid;
  place-items: center;
  padding-top: 6px;
}

/* ===== 電子マネー（上段4 + 下段3） ===== */
.logo-grid-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 6px 4px 2px;
  --h: 24px;

  contain: layout paint;
}

.logo-row--emoney-top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 14px;
  justify-items: center;
  align-items: center;
}

.logo-row--emoney-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 14px;
  justify-items: center;
  align-items: center;
  width: 75%;
  margin: 0 auto;
}

/* ===== 交通系タイトル行 ===== */
.pay-group__titleline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
}

.pay-ic-badge {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 18px;
  border-radius: 6px;
  background: #f2f4ff;
  border: 1px solid #e6e9f7;
  font-size: 12px;
  line-height: 1;
  color: #5b6bb5;
}

.pay-group__titletext {
  line-height: 1;
}

/* ===== 交通系ロゴグリッド ===== */
.logo-grid-ic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 12px;
  justify-items: center;
  align-items: center;

  contain: layout paint;
}

/* ===== 注釈 ===== */
.pay-note {
  font-size: 12px;
  color: #6b7280;
  text-align: right;
}

.pay-wrap__notice {
  text-align: left;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ===== 個別ロゴの高さ（必要ならここで微調整） ===== */
.logo-jcb,
.logo-amex,
.logo-diners,
.logo-discover,
.logo-visa,
.logo-master,
.logo-unionpay,
.logo-applepay,
.logo-gpay,
.logo-quicpay,
.logo-id,
.logo-nanaco,
.logo-redy,
.logo-waon,
.logo-suica,
.logo-pasmo,
.logo-toica,
.logo-manaca,
.logo-icoca,
.logo-sugoca,
.logo-nimoca,
.logo-hayakaken {
  --h: 40px;
}

/* =========================
   コード決済（別枠）
========================= */
.pay-subcol {
  position: relative;
  padding-top: 10px;
}

.pay-subcol__header {
  height: 0;
  position: relative;
}

.pay-subcol__pill {
  display: inline-block;
  position: relative;
  top: -10px;
  left: 6px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 14px;
  color: #2f3a66;
  background: #dfe6ff;
  border-radius: 8px;
  line-height: 1;
}

.pay-subcol__body {
  border: 1px solid #e6e9f7;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  box-sizing: border-box;
}

.logo-row--codepay {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 14px;
  justify-items: center;
  align-items: center;
  padding: 6px 4px 2px;
  contain: layout paint;
}

/* PayPay / d払いだけ少し大きく（余白増やさない） */
.logo-row--codepay {
  grid-auto-rows: 48px;
}

.logo-paypay,
.logo-dbarai {
  transform: scale(1.18);
  transform-origin: center;
}

.logo-row--codepay > img {
  max-height: 48px;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .pay-panel {
    padding: 14px;
  }

  .pay-panel__cols {
    flex-direction: column;
    gap: 14px;
  }

  .pay-col__body--stretch {
    height: auto;
  }

  .logo-grid-ic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .logo-row--emoney-top {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .logo-row--emoney-bottom {
    width: 100%;
  }

  .logo-row--codepay {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* 楽天ペイ / AEON Pay も少し大きく（余白増やさない） */
.logo-rpay {
  transform: scale(1.6);
  transform-origin: center;
}
.logo-aeonpay {
  transform: scale(1.5);
  transform-origin: center;
}

/* 楽天ペイの“焼き込み余白”対策：見た目だけトリミング */
.logo-crop {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.logo-crop--rpay {
  width: 100%;
  height: 48px; /* codepayの行高に合わせる */
}

/* 画像を少しだけ横にズームして左右余白を削る */
.logo-crop--rpay .logo-rpay {
  height: 40px; /* いつものロゴ高 */
  width: auto;
  transform: scaleX(1.25); /* 横だけ拡大＝余白を実質カット */
  transform-origin: center;
}
