/* css/guide.css — Guide page specific styles (extends category.css design system) */

.guide-container {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--sp-8);
}
@media(max-width:768px){ .guide-container{ padding:var(--sp-4); } }

/* Page nav (anchor links) */
.guide-nav {
  background: var(--bg-filter);
  border-radius: 8px;
  padding: var(--sp-6);
  margin-bottom: var(--sp-10);
}
.guide-nav-title {
  font-family: var(--font-en);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: var(--sp-4);
}
.guide-nav-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sp-2);
}
.guide-nav-list a {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  color: var(--text-primary);
  text-decoration: none;
  font-size: var(--text-sm);
  border-radius: 6px;
  transition: background 0.2s;
}
.guide-nav-list a:hover { background: var(--bg-hover); }

/* Sections */
.guide-section {
  margin-bottom: var(--sp-12);
  scroll-margin-top: var(--sp-8);
}
.guide-section-title {
  font-family: var(--font-en);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-2);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.guide-section-title-jp {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 400;
  margin-left: var(--sp-3);
}
.guide-subsection {
  margin-top: var(--sp-8);
  scroll-margin-top: var(--sp-8);
}
.guide-subsection-title {
  font-size: var(--text-md);
  font-weight: 600;
  margin-bottom: var(--sp-4);
  padding-left: var(--sp-3);
  border-left: 3px solid var(--accent);
}
.guide-h4 {
  font-size: var(--text-base);
  font-weight: 600;
  margin: var(--sp-6) 0 var(--sp-3);
  color: var(--text-primary);
}

/* Content blocks */
.guide-card {
  background: var(--bg-filter);
  border-radius: 8px;
  padding: var(--sp-5);
  margin-bottom: var(--sp-4);
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--text-secondary);
}
.guide-card strong { color: var(--text-primary); }

.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--sp-4);
  font-size: var(--text-sm);
}
.guide-table th, .guide-table td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.guide-table th {
  font-weight: 600;
  color: var(--text-tertiary);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-en);
  white-space: nowrap;
  width: 140px;
}
.guide-table td { color: var(--text-primary); }

/* Shipping table */
.shipping-table { margin-bottom: var(--sp-4); }
.shipping-table th {
  background: var(--accent);
  color: white;
  font-weight: 500;
  font-size: var(--text-xs);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-jp);
  width: auto;
}
.shipping-table td { text-align: center; }
.shipping-table .free { color: #2E7D32; font-weight: 600; }

/* Company photo */
.company-photo {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: var(--sp-6);
}

/* Badge labels for delivery */
.delivery-badge {
  display: inline-block;
  padding: 2px var(--sp-3);
  border-radius: 4px;
  font-size: var(--text-xs);
  font-weight: 600;
  font-family: var(--font-en);
  margin-bottom: var(--sp-2);
}
.badge-sokuji { background: #2B5FAE; color: white; }
.badge-toriyose { background: #4A4742; color: white; }
.badge-yoyaku { background: #6A1B9A; color: white; }

/* Credit card icons */
.credit-icons {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin: var(--sp-3) 0;
}
.credit-icon {
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-en);
  font-size: var(--text-sm);
  font-weight: 600;
}

/* Payment tabs */
.pay-tabs {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.pay-tab {
  padding: var(--sp-2) var(--sp-5);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: none;
  font-family: var(--font-jp);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-secondary);
}
.pay-tab.active, .pay-tab:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.pay-content { display: none; }
.pay-content.active { display: block; }

/* Back to top */
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-decoration: none;
  margin-top: var(--sp-4);
  transition: color 0.2s;
}
.back-to-top:hover { color: var(--text-primary); }
