/* Main Styles for Chari-U Website */

/* Smooth Scrolling and Base Responsive Setup */
html, body {
  scroll-behavior: smooth;
  scroll-padding-top: 70px; /* Adjust this value based on your header height */
  box-sizing: border-box;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Mobile Menu Toggle (hidden by default) */
.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #101518;
}

/* Mobile Navigation (hidden by default) */
.mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 9;
  padding: 1rem;
  flex-direction: column;
}

.mobile-nav a {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eaeef1;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav .contact-button {
  margin-top: 0.5rem;
  width: 100%;
}


/* Layout Styles */
.layout-container {
  display: flex;
  height: 100%;
  flex-grow: 1;
  flex-direction: column;
}

.layout-content-container {
  display: flex;
  flex-direction: column;
  max-width: 960px;
  flex: 1;
}

/* Header Styles */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  border-bottom: 1px solid #eaeef1;
  padding: 0.75rem 2.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 10;
}

/* Button Styles */
.contact-button {
  display: flex;
  min-width: 84px;
  max-width: 480px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.5rem;
  height: 2.5rem;
  padding: 0 1rem;
  background-color: #fa7633;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.015em;
}

/* Footer Styles */
footer {
  background-color: #e53768;
  color: white;
  padding-top: 3rem;
  padding-bottom: 3rem;
  margin-top: 2.5rem;
}

/* Service Card Styles */
.service-card {
  display: flex;
  flex: 1;
  border-radius: 0.5rem;
  border: 1px solid #d4dde2;
  padding: 1rem;
  flex-direction: column;
  cursor: pointer;
}

.service-card:hover {
  background-color: #e6f0f9;
}

.contact-cta-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 1.5rem;
  margin: 4rem auto 0;
}

.contact-cta-card {
  width: 100%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background-color: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(16, 21, 24, 0.06);
  box-shadow: 0 18px 40px -20px rgba(16, 21, 24, 0.3);
  padding: 2rem;
}

.contact-cta-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: space-between;
}

.contact-cta-heading {
  color: #101518;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2.25rem;
  border-radius: 9999px;
  background-color: #1d4ed8;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 4px 12px -4px rgba(29, 78, 216, 0.3);
}

.contact-cta-button:hover {
  background-color: #1e40af;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(29, 78, 216, 0.4);
}

.contact-cta-icon {
  width: 20px;
  height: 20px;
}

.contact-cta-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #101518;
  font-size: 1.75rem;
  font-weight: 800;
  text-decoration: none;
}

.contact-cta-phone-link:hover {
  color: #1d4ed8;
}

.contact-cta-phone-number {
  letter-spacing: 0.04em;
}

.contact-cta-note {
  color: #5c778a;
  font-size: 1rem;
  font-weight: 500;
  /*line-height: 1.6;*/
}

.contact-cta-divider {
  display: none;
  width: 1px;
  background: linear-gradient(to bottom, rgba(16, 21, 24, 0.1), rgba(16, 21, 24, 0.02));
}

.contact-cta-card.fallback {
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .contact-cta-card {
    flex-direction: row;
    align-items: stretch;
    gap: 2.5rem;
    padding: 2.5rem 3rem;
  }

  .contact-cta-divider {
    display: block;
    align-self: stretch;
  }

  .contact-cta-section {
    flex: 1;
  }

  .contact-cta-heading {
    font-size: 1.125rem;
  }
}

@media (max-width: 767px) {
  .contact-cta-wrapper {
    padding: 0 1rem;
    margin-top: 3rem;
  }

  .contact-cta-card {
    padding: 1.75rem;
  }

  .contact-cta-phone-link {
    font-size: 1.5rem;
    justify-content: center;
  }

  .contact-cta-section {
    text-align: center;
  }

  .contact-cta-button {
    width: 100%;
  }
}

/* News Item Container Styles */
.news-item-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
}

/* News Cloud Box Styles */
.news-cloud-box {
  display: flex;
  padding: 1.25rem;
  background-color: #ffffff;
  position: relative;
  overflow: visible;
  z-index: 1;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 5px;
  width: 100%;
  height: 200px;
  overflow-y: scroll;
}

/* Speech bubble tail */
.news-cloud-box::after {
  content: "";
  position: absolute;
  bottom: -15px;
  right: 30px;
  width: 30px;
  height: 15px;
  background-color: #ffffff;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1), 0 8px 12px rgba(0, 0, 0, 0.08);
}

/* Bicycle Icon Styles */
.bicycle-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #7ad2e4;
  border-radius: 50%;
  margin-top: 20px;
  margin-right: 25px;
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Section Heading Styles */
.section-heading {
  color: #101518;
  font-family: 'Kosugi Maru', sans-serif;
  font-size: 42px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.25;
  letter-spacing: -0.015em;
  padding: 3rem 3rem 0.7rem;
  text-align: center;
  margin-bottom: 2rem;
  /*transform: rotate(-3deg);*/
}

ol.bike-makers {
  list-style-image: url('https://chari-u.com/top/top_bullet2-btn.png');
}
ol.bike-makers li {
  margin: 2rem;
  padding-left: 1rem;
}


/* Sale Emphasis (涙のたたき売り) */
.sale-banner {
  border-color: #e53768; /* match brand accent */
  box-shadow: 0 8px 20px -8px rgba(229, 55, 104, 0.25);
  background-image: radial-gradient(100% 120px at 0% 0%, rgba(229, 55, 104, 0.06), transparent 70%);
}
.sale-banner h3 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.sale-badge {
  display: inline-block;
  background-color: #e53768;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1;
  padding: 0.3rem 0.5rem;
  border-radius: 0.375rem;
}
