/* style.css */
/* 
 * Original Theme based on Sunflower Brand Colors
 * Primary Color: #FF9900 (Sunflower Orange)
 */

:root {
  --brand-primary: #ff9900;
  --brand-primary-hover: #e68a00;
  --dark-text: #1f2937;
  --gray-text: #4b5563;
  --light-gray: #f3f4f6;
  --border-color: #e5e7eb;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--dark-text);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

.section-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--brand-primary);
}

.text-primary {
  color: var(--brand-primary);
}

.text-gray {
  color: var(--gray-text);
}

.text-center { text-align: center; }

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.section {
  padding: clamp(3rem, 10vw, 5rem) 0;
}

.bg-light {
  background-color: var(--light-gray);
}

/* Page Spacing Utilities */
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.pb-0 { padding-bottom: 0; }
.w-full { width: 100%; }
.flex { display: flex; }
.items-center { align-items: center; }
.items-start { align-items: start; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

/* Breadcrumbs */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.85rem;
  background-color: var(--light-gray);
  border-bottom: 1px solid var(--border-color);
}
.breadcrumb a {
  color: var(--brand-primary);
  text-decoration: underline;
}
.breadcrumb span {
  color: var(--gray-text);
}


/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-primary);
}

.btn-contact {
  background-color: var(--brand-primary);
  color: var(--white) !important;
  padding: 0.5rem 1.5rem;
  border-radius: 2px; /* Sharp corners */
  font-weight: 700;
}

.btn-contact:hover {
  background-color: var(--brand-primary-hover);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-weight: 700;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--brand-primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--brand-primary-hover);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.btn-outline:hover {
  background-color: var(--brand-primary);
  color: var(--white);
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--brand-primary); /* Corporate accent */
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

/* Hero Sections */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 25%, rgba(255,255,255,0.6) 55%, rgba(255,255,255,0) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  line-height: 1.4;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* Product Heroes */
.product-hero {
  padding: clamp(4rem, 10vw, 8rem) 0 4rem;
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
  text-align: center;
}

.product-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.product-hero .container {
  position: relative;
  z-index: 2;
}

.product-hero h1 {
  font-size: clamp(2.5rem, 10vw, 4rem);
  color: white;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Tables */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border-color);
}

.spec-table th, .spec-table td {
  padding: 1.2rem;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.spec-table th {
  background-color: var(--light-gray);
  width: 35%;
  font-weight: 700;
  border-right: 1px solid var(--border-color);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark-text);
  padding: 0.5rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .hero {
    min-height: 60vh;
    background-position: 70% center; /* Adjust image position for mobile */
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(255,255,255,0.95) 40%, rgba(255,255,255,0.7) 100%);
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-content p {
    text-align: center !important;
  }

  .hero-content div {
    justify-content: center !important;
    flex-direction: column;
    gap: 0.75rem !important;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    border-top: 1px solid var(--border-color);
  }

  .nav-links.show {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-link {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
    text-align: center;
  }

  .btn-contact {
    width: 100%;
    margin-top: 1rem;
    text-align: center;
  }

  .spec-table th, .spec-table td {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .spec-table th {
    border-right: none;
    border-bottom: none;
    background-color: var(--light-gray);
    font-size: 0.85rem;
  }

  .spec-table td {
    padding-top: 0;
    margin-bottom: 0.5rem;
  }

  .spec-table tr:last-child td {
    border-bottom: none;
  }

  /* Footer adjustments */
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* FAQ Accordion */
.faq-list details {
  transition: var(--transition);
}

.faq-list summary {
  padding: 1.2rem;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--brand-primary);
  transition: transform 0.3s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

/* Contact iframe container */
.contact-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--brand-primary);
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

@media (max-width: 480px) {
  .contact-container {
    padding: 1rem;
  }
}

.iframe-wrapper {
  position: relative;
  padding-bottom: 100%; /* Adjust based on form height */
  height: 0;
  overflow: hidden;
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

