@charset "UTF-8";

/* ==========================================================================
   Page: Hanbaiten (販売店制度) - Core Styles
   ========================================================================== */
.p-hanbaiten__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.p-hanbaiten__section {
  margin-bottom: 70px;
}

.p-hanbaiten__section-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  color: #0f172a;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 12px;
}

.p-hanbaiten__section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #10b981;
  border-radius: 2px;
}


/* 2. Hero Section
   -------------------------------------------------------------------------- */
.p-hanbaiten__hero {
  background-image: url('../../img/partners/hanbaiten/header.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 100px 20px 80px;
  text-align: center;
  color: #ffffff;
  margin-bottom: 60px;
  position: relative;
  box-shadow: inset 0 0 0 1000px rgba(15, 23, 42, 0.4);
}

.p-hanbaiten__sub-tag {
  display: inline-block;
  background-color: #10b981;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.p-hanbaiten__title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.p-hanbaiten__lead {
  font-size: 16px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.95;
}


/* 3. Features Grid Section
   -------------------------------------------------------------------------- */
.p-hanbaiten__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 70px;
}

.p-hanbaiten__feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-hanbaiten__feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.p-hanbaiten__feature-icon {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.p-hanbaiten__feature-icon img {
  max-width: 130px;
  max-height: 130px;
  object-fit: contain;
}

.p-hanbaiten__feature-text {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.5;
}


/* 4. Dealer Diagram Section
   -------------------------------------------------------------------------- */
.p-hanbaiten__diagram-wrap {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.p-hanbaiten__diagram-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: inline-block;
}


/* 5. Specification Section (Grid List)
   -------------------------------------------------------------------------- */
.p-hanbaiten__spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.p-hanbaiten__spec-item {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid #10b981;
}

.p-hanbaiten__spec-item .label {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 6px;
}

.p-hanbaiten__spec-item .value {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}


/* 6. Flow Section (Step Cards)
   -------------------------------------------------------------------------- */
.p-hanbaiten__flow-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.p-hanbaiten__flow-card {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.p-hanbaiten__flow-card:hover {
  transform: translateX(4px);
}

.p-hanbaiten__flow-img {
  flex: 0 0 35%;
  max-width: 320px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-hanbaiten__flow-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-hanbaiten__flow-content {
  padding: 30px;
  flex: 1;
}

.p-hanbaiten__flow-badge {
  display: inline-block;
  background-color: #047857;
  color: #ffffff;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.p-hanbaiten__flow-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.p-hanbaiten__flow-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
}


/* 7. Contact / Footer CTA Section
   -------------------------------------------------------------------------- */
.p-hanbaiten__contact {
  margin-top: 80px;
}

.p-hanbaiten__contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.p-hanbaiten__contact-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.p-hanbaiten__contact-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.p-hanbaiten__contact-card .tel-number a {
  font-family: 'Barlow', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #10b981;
  text-decoration: none;
}

.p-hanbaiten__contact-card .hours {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
  margin-bottom: 20px;
}

.p-hanbaiten__contact-card .description {
  font-size: 14px;
  color: #475569;
  margin-bottom: 24px;
  line-height: 1.6;
}

.c-btn-contact {
  display: inline-block;
  width: 100%;
  max-width: 320px;
  padding: 14px 20px;
  background-color: #0f172a;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.c-btn-contact:hover {
  background-color: #1e293b;
}

.c-btn-contact--orange {
  background-color: #f97316;
}

.c-btn-contact--orange:hover {
  background-color: #ea580c;
}

.p-hanbaiten__privacy {
  text-align: center;
  background: #f1f5f9;
  padding: 24px;
  border-radius: 12px;
}

.p-hanbaiten__privacy h4 {
  font-size: 16px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

.p-hanbaiten__privacy p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}


/* ==========================================================================
   Responsive Web Design (Media Queries)
   ========================================================================== */

/* Tablet & Mobile View (< 768px) */
@media (max-width: 768px) {
  .p-hanbaiten__hero {
    padding: 60px 16px 50px;
  }

  .p-hanbaiten__title {
    font-size: 26px;
  }

  .p-hanbaiten__lead {
    font-size: 14px;
  }

  .p-hanbaiten__section-title {
    font-size: 22px;
  }

  .p-hanbaiten__spec-grid {
    grid-template-columns: 1fr;
  }

  .p-hanbaiten__flow-card {
    flex-direction: column;
  }

  .p-hanbaiten__flow-img {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .p-hanbaiten__contact-grid {
    grid-template-columns: 1fr;
  }

  .p-hanbaiten__diagram-wrap {
    padding: 16px;
  }
}