/* pricing-table-luxury.css — 「REASONS」セクション専用の料金表デザイン
   白80%・赤(ワインレッド)15%・黒/グレー5% を意識した上品な配色。
   PCは4列テーブル、スマホはカード縦積みにレスポンシブ切替。 */

.ptl-section {
  background: #ffffff !important;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}
.ptl-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

/* ── ヘッダー行(家アイコン＋見出し) ── */
.ptl-head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 0.9rem;
}
.ptl-head-icon {
  flex: none;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, #b5121b, #7a0d13);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(181, 18, 27, 0.28);
}
.ptl-head-icon svg { width: 28px; height: 28px; stroke: #fff; }
.ptl-head-title {
  font-family: var(--font-heading, 'Zen Kaku Gothic New', sans-serif);
  font-weight: 900;
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  line-height: 1.4;
  color: #1a1a1a;
  letter-spacing: 0.01em;
}
.ptl-head-title .ptl-accent { color: #b5121b; }
.ptl-sub {
  font-size: 1.02rem;
  color: #555;
  line-height: 1.8;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  padding-left: 0.15rem;
}

/* ── 料金表(PC) ── */
.ptl-table-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(20, 10, 10, 0.10), 0 2px 8px rgba(20,10,10,0.06);
  background: #fff;
}
/* 右側のうっすら背景写真(冷蔵庫・キッチン) */
.ptl-table-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.93) 42%, rgba(255,255,255,0.72) 100%), url('images/upload-1789363033912.webp');
  background-size: cover;
  background-position: right center;
  z-index: 0;
  pointer-events: none;
}
.ptl-table {
  position: relative;
  z-index: 1;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.ptl-table thead th {
  background: linear-gradient(135deg, #b5121b 0%, #8a0e15 100%);
  color: #fff !important;
  font-family: var(--font-heading, 'Zen Kaku Gothic New', sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-align: left;
  padding: 1.15rem 1.4rem;
  white-space: nowrap;
}
.ptl-table thead th:first-child { border-top-left-radius: 20px; }
.ptl-table thead th:last-child { border-top-right-radius: 20px; }
.ptl-th-inner { display: flex; align-items: center; gap: 0.55rem; }
.ptl-th-inner svg { width: 18px; height: 18px; flex: none; stroke: #fff; fill: none; }

.ptl-table tbody td {
  background: rgba(255,255,255,0.88);
  padding: 1.25rem 1.4rem;
  border-bottom: 1px solid #eee1e1;
  font-size: 0.98rem;
  color: #262626;
  vertical-align: middle;
  line-height: 1.65;
}
.ptl-table tbody tr:last-child td { border-bottom: none; }
.ptl-table tbody tr:last-child td:first-child { border-bottom-left-radius: 20px; }
.ptl-table tbody tr:last-child td:last-child { border-bottom-right-radius: 20px; }
.ptl-table tbody tr:hover td { background: rgba(181,18,27,0.045); }

.ptl-building {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.ptl-building img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  flex: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}
.ptl-building span { font-weight: 600; color: #1a1a1a; }

.ptl-method {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: #444;
}
.ptl-method svg { width: 17px; height: 17px; stroke: #b5121b; flex: none; }

.ptl-price {
  font-family: var(--font-heading, 'Zen Kaku Gothic New', sans-serif);
  font-weight: 900;
  font-size: 1.35rem;
  color: #b5121b;
  white-space: nowrap;
}

.ptl-notes {
  margin-top: 1.4rem;
  font-size: 0.95rem;
  color: #262626;
  line-height: 1.9;
}
.ptl-notes p { margin: 0; font-weight: 700; }

/* ── CTAボタン ── */
.ptl-cta-row {
  display: flex;
  gap: 1.1rem;
  margin-top: clamp(2.25rem, 4vw, 3rem);
  flex-wrap: wrap;
}
.ptl-btn {
  flex: 1 1 320px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 64px;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-heading, 'Zen Kaku Gothic New', sans-serif);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  cursor: pointer;
}
.ptl-btn svg { width: 22px; height: 22px; flex: none; }
.ptl-btn-primary {
  background: linear-gradient(135deg, #c0392b 0%, #900f16 100%);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(181,18,27,0.32);
  border: 2px solid transparent;
}
.ptl-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(181,18,27,0.4); opacity: 1; }
.ptl-btn-outline {
  background: #fff;
  color: #b5121b !important;
  border: 2px solid #b5121b;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.ptl-btn-outline:hover { background: #fdf1f1; transform: translateY(-2px); opacity: 1; }

/* ── スマホ: カード縦積み ── */
.ptl-cards { display: none; }
@media (max-width: 860px) {
  .ptl-table-wrap { display: none; }
  .ptl-cards { display: block; }
  .ptl-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(20,10,10,0.10);
    margin-bottom: 1.1rem;
  }
  .ptl-card-head {
    background: linear-gradient(135deg, #b5121b 0%, #8a0e15 100%);
    color: #fff;
    padding: 0.85rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 0.92rem;
  }
  .ptl-card-head svg { width: 17px; height: 17px; stroke: #fff; flex: none; }
  .ptl-card-body { padding: 1.2rem 1.3rem 1.4rem; }
  .ptl-card-row { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 0.9rem; }
  .ptl-card-row:last-of-type { margin-bottom: 1rem; }
  .ptl-card-row img {
    width: 56px; height: 56px; object-fit: cover; border-radius: 9px; flex: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  }
  .ptl-card-label { font-size: 0.72rem; color: #9a9a9a; font-weight: 600; letter-spacing: 0.03em; margin-bottom: 0.15rem; }
  .ptl-card-val { font-size: 0.95rem; color: #262626; font-weight: 600; line-height: 1.6; }
  .ptl-card-price {
    display: flex; align-items: baseline; justify-content: space-between;
    border-top: 1px dashed #e8dede; padding-top: 0.9rem;
  }
  .ptl-card-price .ptl-price { font-size: 1.3rem; }
}
@media (max-width: 480px) {
  .ptl-cta-row { flex-direction: column; }
  .ptl-btn { flex: 1 1 auto; }
}
