@charset "UTF-8";

/* ===== HERO OVERRIDES ===== */
.page-hero {
  min-height: 420px;
}

.page-hero::before {
  background: linear-gradient(180deg, var(--warm-white) 0%, var(--warm-off) 60%, var(--warm-white) 100%);
}

.page-hero-label {
  opacity: 0;
  animation: fadeUp .8s .2s var(--ease-out) forwards;
}

.page-hero-title {
  font-size: clamp(28px, 4.5vw, 48px);
  opacity: 0;
  animation: fadeUp .8s .4s var(--ease-out) forwards;
}

.page-hero-desc {
  max-width: 640px;
  opacity: 0;
  animation: fadeUp .8s .6s var(--ease-out) forwards;
}

.page-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  opacity: 0;
  animation: fadeUp .8s .8s var(--ease-out) forwards;
}

.page-hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-mid);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 8px 16px;
}

.page-hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.page-hero-num {
  position: absolute;
  right: 40px;
  bottom: -20px;
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 280px);
  font-weight: 400;
  color: rgba(0, 0, 0, .03);
  letter-spacing: -.02em;
  line-height: 1;
  z-index: 1;
  user-select: none;
}

/* ===== BREADCRUMB OVERRIDE ===== */
.breadcrumb {
  padding: 16px 40px 0;
  margin-top: 0;
}

.breadcrumb-inner a { transition: color .3s; }
.breadcrumb-inner a:hover { color: var(--ink); }

/* ===== SECTION OVERRIDES ===== */
.section-header {
  margin-bottom: 64px;
}

.section-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
  color: var(--ink-mid);
  margin-top: 12px;
  max-width: 640px;
}

/* ===== INTRO FEATURES ===== */
.intro-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 100px;
}

.intro-feat {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px;
  position: relative;
}

.intro-feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.intro-feat-icon--green { background: var(--accent-pale); }
.intro-feat-icon--blue  { background: #E8EDF4; }
.intro-feat-icon--warm  { background: #F4EDE4; }

.intro-feat-icon svg {
  width: 22px;
  height: 22px;
}

.intro-feat-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
  margin-bottom: 8px;
}

.intro-feat-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 2;
  color: var(--ink-mid);
}

/* ===== TOC ===== */
.toc {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
  margin-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.toc::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), transparent);
}

.toc-title {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--ink-light);
  margin-bottom: 24px;
}

.toc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
}

.toc-list a {
  font-size: 13px;
  color: var(--ink-mid);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  transition: all .3s;
  border-bottom: 1px solid var(--border-light);
}

.toc-list a:hover {
  color: var(--ink);
  padding-left: 8px;
}

.toc-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--ink-faint);
  min-width: 28px;
  transition: color .3s;
}

.toc-list a:hover .toc-num {
  color: var(--accent);
}

/* ===== COST COMPARISON ===== */
.cost-compare {
  margin-bottom: 100px;
}

.cost-compare-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .04em;
  margin-bottom: 32px;
}

.cost-row {
  display: grid;
  grid-template-columns: 140px 1fr 100px;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.cost-row:first-child {
  border-top: 1px solid var(--border-light);
}

.cost-row--selected {
  background: var(--accent-pale);
  margin: 0 -16px;
  padding: 16px;
  border: none;
}

.cost-name {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}

.cost-bar-wrap {
  height: 24px;
  background: var(--warm-off);
  position: relative;
  overflow: hidden;
}

.cost-bar {
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  transition: width 1.2s var(--ease-out);
}

.cost-bar--g1  { background: linear-gradient(90deg, #5a7d3a, #3C6E1E); }
.cost-bar--g2  { background: linear-gradient(90deg, #6d5a42, #8b7355); }
.cost-bar--g3  { background: linear-gradient(90deg, #2d6a9f, #4a86b8); }
.cost-bar--g4  { background: linear-gradient(90deg, #7a5a3a, #9b7a5a); }
.cost-bar--g5  { background: linear-gradient(90deg, #4a6b8a, #6a8baa); }
.cost-bar--g6  { background: linear-gradient(90deg, #5d4f6e, #7a6b8a); }
.cost-bar--g7  { background: linear-gradient(90deg, #6e8252, #8a9e6e); }
.cost-bar--g8  { background: linear-gradient(90deg, #8a7b6a, #a69a88); }
.cost-bar--g9  { background: linear-gradient(90deg, #7a5a7a, #9b7a9b); }
.cost-bar--g10 { background: linear-gradient(90deg, #5a7a7a, #6a9a9a); }
.cost-bar--g11 { background: linear-gradient(90deg, #6a7a5a, #8a9a7a); }
.cost-bar--g12 { background: linear-gradient(90deg, #7a6a5a, #9a8a7a); }
.cost-bar--g13 { background: linear-gradient(90deg, #5a6a7a, #7a8a9a); }

.cost-row--other {
  opacity: .7;
}

.cost-row--other .cost-name {
  font-size: 13px;
}

.cost-price {
  font-size: 12px;
  color: var(--ink-mid);
  text-align: right;
  white-space: nowrap;
}

.cost-price small {
  display: block;
  font-size: 10px;
  color: var(--ink-light);
  margin-top: 2px;
}

/* ===== SUMMARY TABLE ===== */
.table-section {
  margin-bottom: 100px;
}

.summary-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 940px;
  font-size: 13px;
}

.summary-table thead th {
  background: var(--ink);
  color: var(--white);
  font-weight: 500;
  letter-spacing: .04em;
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
  position: sticky;
  top: 0;
}

.summary-table thead th:first-child {
  min-width: 140px;
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--ink);
}

.summary-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.summary-table tbody td:first-child {
  position: sticky;
  left: 0;
  background: var(--white);
  z-index: 1;
  border-right: 1px solid var(--border);
}

.summary-table .td-name {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: .04em;
  white-space: nowrap;
}

.summary-table .tr-selected td {
  background: var(--accent-pale) !important;
}

.summary-table .tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--ink-light);
  border: 1px solid var(--border);
  padding: 2px 8px;
  margin: 2px;
}

.summary-table .tag--accent {
  color: var(--accent);
  border-color: var(--accent);
}

/* ===== RATING DOTS ===== */
.rating {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-top: 4px;
}

.rating-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.rating-dot--fill {
  background: var(--accent);
}

.rating-dot--half {
  background: linear-gradient(90deg, var(--accent) 50%, var(--border) 50%);
}

.rating-label {
  font-size: 10px;
  color: var(--ink-light);
  margin-left: 4px;
}

/* ===== MAKER DETAIL ===== */
.maker {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  position: relative;
}

.maker:first-child {
  border-top: none;
  padding-top: 0;
}

.maker-bg-num {
  position: absolute;
  right: 0;
  top: 40px;
  font-family: var(--font-display);
  font-size: 200px;
  font-weight: 400;
  color: rgba(0, 0, 0, .02);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.maker-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}

.maker-num-wrap {
  position: relative;
}

.maker-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--ink-faint);
  line-height: 1;
  min-width: 72px;
}

.maker-num-line {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.maker-info {
  flex: 1;
}

.maker-name {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.4;
}

.maker-name-en {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--ink-light);
  letter-spacing: .1em;
  margin-top: 4px;
}

.maker-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.maker-tag {
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink-mid);
  border: 1px solid var(--border);
  padding: 4px 14px;
}

.maker-tag--green {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-pale);
}

/* Maker body */
.maker-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  position: relative;
  z-index: 2;
}

.maker-overview {
  font-size: 14px;
  font-weight: 300;
  line-height: 2.2;
  color: var(--ink-mid);
}

.maker-overview p + p {
  margin-top: 16px;
}

.maker-ratings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border-light);
}

.maker-rating-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.maker-rating-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-light);
  letter-spacing: .06em;
}

.maker-rating-bar {
  height: 6px;
  background: var(--warm-off);
  position: relative;
  overflow: hidden;
}

.maker-rating-fill {
  height: 100%;
  background: var(--accent);
  transition: width 1s var(--ease-out);
}

/* Spec rows */
.spec-row {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
}

.spec-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--ink-light);
  min-width: 120px;
  flex-shrink: 0;
}

.spec-value {
  font-size: 13px;
  color: var(--ink);
  flex: 1;
  line-height: 1.8;
}

/* Point box */
.maker-point {
  margin-top: 32px;
  background: var(--accent-pale);
  border-left: 3px solid var(--accent);
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
}

.maker-point::after {
  content: '\201C';
  position: absolute;
  right: 16px;
  top: -8px;
  font-family: var(--font-display);
  font-size: 80px;
  color: rgba(60, 110, 30, .08);
  line-height: 1;
}

.maker-point-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .08em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.maker-point-title svg {
  width: 16px;
  height: 16px;
}

.maker-point-text {
  font-size: 13px;
  line-height: 2.2;
  color: var(--ink-mid);
}

/* Caution box */
.maker-caution {
  margin-top: 16px;
  background: #FEF9F3;
  border-left: 3px solid #D4A06A;
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
}

.maker-caution::after {
  content: '!';
  position: absolute;
  right: 20px;
  top: 12px;
  font-family: var(--font-display);
  font-size: 48px;
  color: rgba(212, 160, 106, .1);
  font-weight: 600;
  line-height: 1;
}

.maker-caution-title {
  font-size: 12px;
  font-weight: 600;
  color: #B8864A;
  letter-spacing: .08em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.maker-caution-title svg {
  width: 16px;
  height: 16px;
}

.maker-caution-text {
  font-size: 13px;
  line-height: 2.2;
  color: var(--ink-mid);
}

/* ===== OTHER MAKERS ===== */
.others-section {
  margin-top: 100px;
  border-top: 1px solid var(--border);
}

.others-section .section-header {
  margin-bottom: 48px;
}

.others-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ink-light);
  border: 1px solid var(--border);
  padding: 4px 14px;
  margin-bottom: 16px;
}

.others-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.other-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 32px;
}

.other-card-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.other-card-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .04em;
}

.other-card-name-en {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--ink-light);
  letter-spacing: .1em;
  margin-top: 2px;
}

.other-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.other-card-tag {
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--ink-mid);
  border: 1px solid var(--border);
  padding: 3px 10px;
}

.other-card-tag--blue {
  color: #4A6FA5;
  border-color: #4A6FA5;
  background: #E8EDF4;
}

.other-card-specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin-bottom: 16px;
}

.other-card-spec-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-light);
  letter-spacing: .06em;
}

.other-card-spec-value {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.7;
}

.other-card-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 2;
  color: var(--ink-mid);
  margin-bottom: 16px;
}

.other-card-point {
  background: var(--warm-off);
  padding: 16px 20px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink-mid);
}

.other-card-point strong {
  color: var(--ink);
  font-weight: 500;
}

/* ===== DECISION HELPER ===== */
.decision {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 56px;
  margin-top: 100px;
  position: relative;
  overflow: hidden;
}

.decision::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #4a86b8, #8b7355);
}

.decision-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .04em;
  margin-bottom: 8px;
}

.decision-desc {
  font-size: 14px;
  color: var(--ink-mid);
  margin-bottom: 40px;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.decision-card {
  padding: 24px;
  border: 1px solid var(--border-light);
}

.decision-card-q {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

.decision-card-a {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.8;
}

.decision-card-a strong {
  color: var(--accent);
  font-weight: 600;
}

/* ===== CTA OVERRIDES ===== */
.cta {
  padding: 120px 40px;
}

.cta::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(60, 110, 30, .08);
  pointer-events: none;
}

.cta-label {
  color: rgba(255, 255, 255, .3);
}

.cta-title {
  font-size: clamp(20px, 2.5vw, 28px);
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

.cta-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.cta-service {
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 24px;
  text-align: left;
}

.cta-service-title {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  margin-bottom: 6px;
}

.cta-service-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
  line-height: 1.8;
}

.cta-note {
  color: rgba(255, 255, 255, .25);
}

/* ===== REVEAL DELAY ===== */
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .maker-body { grid-template-columns: 1fr; }
  .toc-list { grid-template-columns: 1fr; }
  .decision-grid { grid-template-columns: 1fr; }
  .intro-features { grid-template-columns: 1fr; }
  .cta-services { grid-template-columns: 1fr; }
  .cost-row { grid-template-columns: 100px 1fr 80px; }
}

@media (max-width: 768px) {
  .page-hero { min-height: auto; }
  .page-hero-num { display: none; }
  .section { padding: 60px 20px; }
  .toc { padding: 24px; }

  .maker { padding: 60px 0; }
  .maker-header { flex-direction: column; gap: 12px; }
  .maker-num { font-size: 36px; }
  .maker-bg-num { display: none; }
  .maker-ratings { grid-template-columns: 1fr; }

  .decision { padding: 32px; }
  .others-grid { grid-template-columns: 1fr; }
  .other-card { padding: 24px; }
  .cost-row { grid-template-columns: 90px 1fr 70px; gap: 8px; }
}
