@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700&display=swap");

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

:root {
  --primary-color: #1a5f7a;
  --secondary-color: #57c5b6;
  --accent-color: #159895;
  --dark-color: #002b5b;
  --light-color: #f8f9fa;
  --white-color: #ffffff;
  --text-color: #333333;
  --text-light: #666666;
  --border-color: #e0e0e0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  color: var(--text-color);
  background-color: var(--white-color);
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--white-color);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

header {
  background: var(--white-color);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 45px;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-menu a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-cta {
  background: var(--primary-color);
  color: var(--white-color) !important;
  padding: 10px 20px;
  border-radius: 6px;
}

.nav-cta:hover {
  background: var(--accent-color);
}

.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--dark-color);
  border-radius: 3px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 75px;
  left: 0;
  right: 0;
  background: var(--white-color);
  padding: 20px;
  box-shadow: var(--shadow);
}

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

.mobile-menu a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
  font-weight: 500;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: linear-gradient(135deg, var(--light-color) 0%, var(--white-color) 100%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark-color);
  margin-bottom: 25px;
}

.hero-content h1 span {
  color: var(--primary-color);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 35px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--white-color);
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: var(--white-color);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.8;
}

.testimonials {
  background: var(--white-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--light-color);
  padding: 35px;
  border-radius: 15px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 5rem;
  color: var(--secondary-color);
  position: absolute;
  top: 10px;
  left: 20px;
  opacity: 0.3;
  font-family: serif;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-color);
  line-height: 1.9;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-weight: 600;
  color: var(--dark-color);
}

.author-info span {
  font-size: 0.9rem;
  color: var(--text-light);
}

.before-after {
  background: var(--light-color);
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

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

.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.ba-images img {
  border-radius: 10px;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.ba-label {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 5px;
}

.ba-label.before {
  background: #ffebee;
  color: #c62828;
}

.ba-label.after {
  background: #e8f5e9;
  color: #2e7d32;
}

.wholesale {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
  color: var(--white-color);
}

.wholesale .section-title {
  color: var(--white-color);
}

.wholesale .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.wholesale-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.wholesale-text h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.wholesale-list {
  margin: 30px 0;
}

.wholesale-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.wholesale-list li::before {
  content: "✓";
  width: 30px;
  height: 30px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.wholesale-image img {
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
}

.faq {
  background: var(--white-color);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: var(--white-color);
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  font-family: inherit;
}

.faq-question:hover {
  background: var(--light-color);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 25px 20px;
  color: var(--text-light);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  display: block;
}

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

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form {
  background: var(--white-color);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-color);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info {
  padding: 20px 0;
}

.contact-info h3 {
  font-size: 1.8rem;
  color: var(--dark-color);
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.info-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-content h4 {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 5px;
}

.info-content p,
.info-content a {
  color: var(--text-light);
}

.info-content a:hover {
  color: var(--primary-color);
}

footer {
  background: var(--dark-color);
  color: var(--white-color);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.page-hero {
  padding: 150px 0 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
  color: var(--white-color);
  text-align: center;
}

.page-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.page-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 25px;
}

.product-info h3 {
  font-size: 1.3rem;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.product-info p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.steps-list {
  max-width: 800px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white-color);
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.3rem;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.step-content p {
  color: var(--text-light);
  line-height: 1.8;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: var(--white-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.info-table th,
.info-table td {
  padding: 18px 25px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.info-table th {
  background: var(--primary-color);
  color: var(--white-color);
  font-weight: 600;
}

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

.info-table tr:hover td {
  background: var(--light-color);
}

.case-study {
  background: var(--white-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

.case-study-image {
  height: 300px;
  overflow: hidden;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-content {
  padding: 35px;
}

.case-study-content h3 {
  font-size: 1.5rem;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.case-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.case-tag {
  padding: 6px 15px;
  background: var(--light-color);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 500;
}

.company-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.company-section.reverse {
  direction: rtl;
}

.company-section.reverse > * {
  direction: ltr;
}

.company-text h2 {
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 20px;
}

.company-text p {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 15px;
}

.company-image img {
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--secondary-color);
}

.timeline-item {
  padding-left: 80px;
  position: relative;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 5px;
  width: 24px;
  height: 24px;
  background: var(--primary-color);
  border-radius: 50%;
  border: 4px solid var(--white-color);
  box-shadow: var(--shadow);
}

.timeline-item h3 {
  font-size: 1.3rem;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.timeline-item p {
  color: var(--text-light);
  line-height: 1.8;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-color);
  color: var(--white-color);
  padding: 20px;
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  font-size: 0.95rem;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

.cookie-btn {
  padding: 10px 25px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.cookie-accept {
  background: var(--secondary-color);
  color: var(--dark-color);
}

.cookie-decline {
  background: transparent;
  color: var(--white-color);
  border: 1px solid var(--white-color);
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-container,
  .wholesale-content,
  .contact-container,
  .company-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .company-section.reverse {
    direction: ltr;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .step-item {
    flex-direction: column;
    text-align: center;
  }

  .info-table {
    display: block;
    overflow-x: auto;
  }

  .page-hero {
    padding: 120px 0 60px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 10px 15px;
  }

  .logo img {
    height: 35px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .feature-card,
  .contact-form {
    padding: 25px 20px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}
