/* bonfilet.css — ボンフィレットOEMページ */
/* bf- prefix to avoid theme conflicts */

.bf-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  font-family: 'Noto Sans JP', 'DM Sans', sans-serif;
  color: #333;
  line-height: 1.8;
}

/* Hero */
.bf-hero {
  text-align: center;
  padding: 60px 0 40px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 48px;
}
.bf-hero h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}
.bf-hero-sub {
  font-size: 16px;
  color: #666;
  margin: 0 0 16px;
}
.bf-hero-lead {
  font-size: 15px;
  color: #555;
  margin: 0;
}

/* Sections */
.bf-section {
  margin-bottom: 56px;
}
.bf-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #333;
}

/* Features grid */
.bf-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.bf-feature h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
}
.bf-feature p {
  font-size: 14px;
  color: #555;
  margin: 0;
}
@media (max-width: 600px) {
  .bf-features {
    grid-template-columns: 1fr;
  }
}

/* Spec table */
.bf-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.bf-spec-table th,
.bf-spec-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
  text-align: left;
}
.bf-spec-table th {
  width: 140px;
  font-weight: 600;
  background: #f7f7f5;
  white-space: nowrap;
}

/* Scenes */
.bf-scenes {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bf-scenes li {
  padding: 8px 0 8px 20px;
  position: relative;
  font-size: 14px;
  border-bottom: 1px solid #eee;
}
.bf-scenes li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #999;
}

/* Estimator */
.bf-estimator {
  background: #f7f7f5;
  border-radius: 8px;
  padding: 32px;
}
.bf-est-input-group {
  margin-bottom: 20px;
}
.bf-est-input-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.bf-est-input-group input[type="number"] {
  width: 100%;
  max-width: 240px;
  padding: 10px 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-family: 'DM Sans', 'Noto Sans JP', sans-serif;
}
.bf-est-options {
  margin-bottom: 20px;
}
.bf-checkbox-label {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  cursor: pointer;
}
.bf-checkbox-label input[type="checkbox"] {
  margin-right: 8px;
}

/* Buttons */
.bf-btn-primary {
  display: inline-block;
  padding: 12px 32px;
  background: #333;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Noto Sans JP', 'DM Sans', sans-serif;
  transition: background 0.2s;
}
.bf-btn-primary:hover {
  background: #555;
  color: #fff;
}
.bf-btn-primary:visited,
.bf-btn-primary:active,
.bf-btn-primary:focus {
  color: #fff;
}
.bf-btn-secondary {
  display: inline-block;
  padding: 10px 24px;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Noto Sans JP', 'DM Sans', sans-serif;
  margin-top: 16px;
  transition: border-color 0.2s;
}
.bf-btn-secondary:hover {
  border-color: #999;
  color: #333;
}
.bf-btn-secondary:visited,
.bf-btn-secondary:active,
.bf-btn-secondary:focus {
  color: #333;
}

/* Result */
.bf-result {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #ddd;
}
.bf-result-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.bf-result-table th,
.bf-result-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
  text-align: left;
}
.bf-result-table th {
  width: 180px;
  font-weight: 600;
}
.bf-result-total th,
.bf-result-total td {
  font-size: 18px;
  font-weight: 700;
  border-bottom: 2px solid #333;
  padding: 14px;
  color: #c00;
}
.bf-result-note {
  margin-top: 12px;
}
.bf-result-note p {
  font-size: 12px;
  color: #888;
  margin: 4px 0;
}

/* Price table */
.bf-price-table {
  width: 100%;
  max-width: 360px;
  border-collapse: collapse;
}
.bf-price-table th,
.bf-price-table td {
  padding: 8px 14px;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
}
.bf-price-table thead th {
  background: #333;
  color: #fff;
  font-weight: 600;
  border-bottom: none;
}
.bf-price-table td:last-child {
  font-weight: 700;
  color: #c00;
}
.bf-table-note {
  font-size: 12px;
  color: #888;
  margin: 6px 0 0;
}

/* Flow */
.bf-flow {
  padding-left: 20px;
  margin: 16px 0 0;
}
.bf-flow li {
  font-size: 14px;
  padding: 6px 0;
}

/* FAQ */
.bf-faq details {
  border-bottom: 1px solid #ddd;
}
.bf-faq summary {
  padding: 14px 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.bf-faq summary::-webkit-details-marker {
  display: none;
}
.bf-faq summary::before {
  content: 'Q. ';
  color: #c00;
}
.bf-faq details[open] summary {
  border-bottom: none;
}
.bf-faq details p {
  font-size: 14px;
  color: #555;
  padding: 0 0 14px 22px;
  margin: 0;
}

/* CTA */
.bf-cta {
  text-align: center;
  padding: 48px 0;
  border-top: 1px solid #ddd;
}
.bf-cta h2 {
  border-bottom: none;
  text-align: center;
}
.bf-cta p {
  font-size: 14px;
  color: #666;
  margin: 0 0 24px;
}
.bf-team-order {
  margin-top: 24px !important;
  font-size: 13px !important;
  color: #999 !important;
}
.bf-team-order a {
  color: #666;
  text-decoration: underline;
}

/* JSON-LD schema (injected via JS) */

/* Carousel */
.bf-carousel {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 32px;
  overflow: hidden;
  border-radius: 8px;
  background: #eee;
  aspect-ratio: 1 / 1;
}
.bf-carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  height: 100%;
}
.bf-carousel-track img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}
.bf-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #333;
  z-index: 2;
  transition: background 0.2s;
}
.bf-carousel-btn:hover {
  background: rgba(255,255,255,1);
}
.bf-carousel-prev { left: 12px; }
.bf-carousel-next { right: 12px; }
.bf-carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.bf-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.bf-carousel-dot.active {
  background: #fff;
}

/* Pinterest link */
.bf-pinterest-link {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 20px;
  background: #f7f7f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s;
}
.bf-pinterest-link:hover {
  border-color: #999;
}
.bf-pinterest-icon {
  margin-right: 4px;
}

/* Breadcrumb */
.bf-breadcrumb {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}
.bf-breadcrumb a {
  color: #999;
  text-decoration: none;
}
.bf-breadcrumb a:hover {
  color: #666;
}

/* Point list (child pages) */
.bf-point-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.bf-point-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  line-height: 1.7;
}

/* Spec table thead (for comparison tables) */
.bf-spec-table thead th {
  background: #333;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

/* CTA sub text */
.bf-cta-sub {
  font-size: 12px !important;
  color: #999 !important;
  margin-top: 12px !important;
}

/* Case gallery */
.bf-case-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 0;
}
.bf-case-item {
  text-align: center;
}
.bf-case-img-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #eee;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bf-case-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.bf-case-caption {
  font-size: 12px;
  color: #888;
  margin: 6px 0 0;
}
@media (max-width: 600px) {
  .bf-case-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

/* Case nav tags */
.bf-case-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
.bf-nav-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  border: 1px solid #ddd;
  border-radius: 3px;
  color: #666;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.bf-nav-tag:hover {
  border-color: #999;
  color: #333;
}
.bf-nav-tag.active {
  background: #333;
  color: #fff;
  border-color: #333;
  pointer-events: none;
}
.bf-nav-tag-page {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  border: 1px solid #c00;
  border-radius: 3px;
  color: #c00;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.bf-nav-tag-page:hover {
  background: #c00;
  color: #fff;
}

/* Page navigation (footer) */
.bf-page-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 32px 0;
  margin-top: 16px;
  border-top: 1px solid #ddd;
}
.bf-page-nav-item {
  display: inline-block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #333;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.bf-page-nav-item:visited {
  color: #333;
}
.bf-page-nav-item:hover {
  background: #333;
  color: #fff;
}
.bf-page-nav-item.active,
.bf-page-nav-item.active:visited {
  background: #333;
  color: #fff;
  pointer-events: none;
}
