/* =====================================================
 *  完全分解 vs 通常分解 用テンプレート
 *  file: assets/css/blog/single-tpl-full-vs-normal.css
 * ===================================================== */

/* 全体の背景トーン */
.tpl-full-vs-normal {
  background: linear-gradient(
    180deg,
    #f3f4ff 0%,
    #ffffff 40%,
    #f9fafb 100%
  );
}

/* -------------------------
 * HERO
 * ------------------------- */

.tpl-full-vs-normal .tpl-fn-hero {
  padding: 36px 0 32px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 55%),
    #ffffff;
}

.tpl-full-vs-normal .hero-container {
  max-width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

.tpl-full-vs-normal .hero__wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.tpl-full-vs-normal .hero__main {
  flex: 1 1 320px;
  min-width: 0;
}

.tpl-full-vs-normal .hero-title {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.28;
  font-weight: 900;
  margin: 10px 0 6px;
}

.tpl-full-vs-normal .lead {
  max-width: 560px;
  margin-top: 4px;
  color: #0f172a;
  opacity: 0.9;
}

.tpl-full-vs-normal .hero__media {
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 420px;
  margin-left: auto;
}

.tpl-full-vs-normal .hero__thumb {
  border-radius: 18px;
  overflow: hidden;
  background: #e5edff;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

.tpl-full-vs-normal .hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tpl-full-vs-normal .chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 600;
}

.tpl-full-vs-normal .chip--sub {
  margin-bottom: 4px;
  font-size: 11px;
}

.tpl-full-vs-normal .chip--accent {
  background: rgba(16, 185, 129, 0.09);
  color: #059669;
}

.tpl-full-vs-normal .actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tpl-full-vs-normal .actions--center {
  justify-content: center;
}

.tpl-full-vs-normal .btn--lg {
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

/* このテンプレ専用のセカンダリボタン */
.tpl-full-vs-normal .btn--ghost {
  background: #ffffff;
  border: 1px solid #dbeafe;
  color: #1d4ed8;
}

/* LINE 風ボタン（色はお好みで） */
.tpl-full-vs-normal .btn--line {
  background: #22c55e;
  color: #ffffff;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(22, 163, 74, 0.45);
}

/* パンくず位置の微調整 */
.tpl-full-vs-normal .hero__crumbs {
  margin-top: 10px;
}

/* -------------------------
 * セクション・カード
 * ------------------------- */

.tpl-full-vs-normal .tpl-fn-main {
  padding-bottom: 56px;
}

.tpl-full-vs-normal .section {
  padding: 48px 0;
}

.tpl-full-vs-normal .section.alt {
  background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
}

.tpl-full-vs-normal .card {
  border-radius: 20px;
  padding: 24px 20px 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.tpl-full-vs-normal .card + .card {
  margin-top: 20px;
}

.tpl-full-vs-normal .card--note {
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: none;
}

.tpl-full-vs-normal .card--note--warm {
  background: #fefce8;
  border-color: #fbbf24;
}

.tpl-full-vs-normal .card--note--cool {
  background: #eff6ff;
  border-color: #93c5fd;
}

.tpl-full-vs-normal .card--cta {
  text-align: center;
  padding: 28px 24px 32px;
}

/* 見出し */
.tpl-full-vs-normal h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 12px;
}

.tpl-full-vs-normal h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0 8px;
}

/* テキスト・リスト */
.tpl-full-vs-normal p {
  margin-bottom: 8px;
}

.tpl-full-vs-normal ul {
  padding-left: 1.2em;
  margin: 6px 0 8px;
}

.tpl-full-vs-normal li + li {
  margin-top: 4px;
}

.tpl-full-vs-normal .note-text {
  font-size: 14px;
  color: #4b5563;
}

.tpl-full-vs-normal .muted {
  color: var(--muted);
}

.tpl-full-vs-normal .muted--small {
  font-size: 12px;
}

/* -------------------------
 * GRID レイアウト
 * ------------------------- */

.tpl-full-vs-normal .grid {
  display: grid;
  gap: 20px;
}

.tpl-full-vs-normal .grid--gap-lg {
  gap: 24px;
}

@media (min-width: 900px) {
  .tpl-full-vs-normal .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tpl-full-vs-normal .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Before/After 写真まわり */
.tpl-full-vs-normal .photo-section {
  margin-top: 18px;
}

.tpl-full-vs-normal .photo-grid {
  gap: 8px;
}

.tpl-full-vs-normal .photo-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.tpl-full-vs-normal .photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tpl-full-vs-normal .note-bottom {
  margin-top: 12px;
}

/* -------------------------
 * 料金テーブル
 * ------------------------- */

.tpl-full-vs-normal .table {
  margin-top: 10px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  font-size: 14px;
}

.tpl-full-vs-normal .table .row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
}

.tpl-full-vs-normal .table .row > div {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.tpl-full-vs-normal .table .row.head {
  background: #f3f4ff;
  font-weight: 700;
}

.tpl-full-vs-normal .table .row:last-child > div {
  border-bottom: none;
}

.tpl-full-vs-normal .table .price {
  font-weight: 700;
}

/* -------------------------
 * レスポンシブ
 * ------------------------- */

@media (max-width: 899.98px) {
  .tpl-full-vs-normal .hero__wrap {
    flex-direction: column;
  }
  .tpl-full-vs-normal .hero__media {
    order: -1;
    max-width: 100%;
  }
  .tpl-full-vs-normal .card {
    padding: 20px 16px 22px;
  }
  .tpl-full-vs-normal .table .row {
    grid-template-columns: 1.6fr 1.1fr;
  }
  .tpl-full-vs-normal .table .row > div:nth-child(3) {
    border-top: 1px solid var(--line);
    grid-column: 1 / -1;
  }
}
