/* ========= Base Styles ========= */
:root {
  --primary-color: #e63946;
  --secondary-color: #1d3557;
  --accent-color: #457b9d;
  --light-color: #f1faee;
  --dark-color: #1d3557;
  --text-color: #333;
  --body-bg: #fafafa;
  --header-height: 70px;
  --footer-bg: #1d3557;
  --footer-text: #f1faee;
  --border-radius: 6px;
  --transition: all 0.3s ease;
  --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--body-bg);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

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

section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
  position: relative;
  text-align: center;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 10px auto 30px;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: #666;
}

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

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

.btn-primary:hover {
  background-color: #d62c3b;
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background-color: #162a45;
  transform: translateY(-2px);
}

/* ========= Header ========= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  height: var(--header-height);
  transition: var(--transition);
}

.header.scrolled {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

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

.nav-list {
  display: flex;
  gap: 30px;
}

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

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

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

.language-switcher {
  display: flex;
  gap: 10px;
}

.language-switcher a {
  padding: 5px 10px;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.language-switcher a.active {
  background-color: var(--primary-color);
  color: white;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

/* ========= Hero Section ========= */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 60px;
  background-color: var(--light-color);
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* ========= Services Section ========= */
.services {
  background-color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  background-color: white;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: rgba(230, 57, 70, 0.1);
  color: var(--primary-color);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  color: #666;
}

/* ========= Exhibition Section ========= */
.exhibition {
  background-color: var(--light-color);
}

.exhibition-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.exhibition-details {
  flex: 1;
  min-width: 300px;
}

.exhibition-logo-container {
  margin-bottom: 30px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.exhibition-logo {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.exhibition-info {
  padding: 30px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.exhibition-info h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.exhibition-date,
.exhibition-venue {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.exhibition-time {
  margin: 20px 0;
}

.exhibition-features {
  margin-top: 20px;
}

.exhibition-features h4 {
  margin-bottom: 10px;
}

.exhibition-features ul {
  padding-left: 20px;
}

.exhibition-features li {
  margin-bottom: 5px;
  position: relative;
  padding-left: 15px;
}

.exhibition-features li::before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

.download-btn {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
}

.download-btn svg {
  margin-right: 8px;
}

.exhibition-images {
  flex: 1;
  min-width: 300px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

.grid-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.grid-item-large {
  grid-column: span 2;
}

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

.grid-item:hover .exhibition-image {
  transform: scale(1.03);
}

.exhibitor-info {
  padding: 30px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.exhibitor-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.exhibitor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.exhibitor-item h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.exhibitor-item ul {
  padding-left: 20px;
}

.exhibitor-item li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 15px;
}

.exhibitor-item li::before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

.exhibitor-cta {
  text-align: center;
  padding: 20px;
  background-color: rgba(230, 57, 70, 0.05);
  border-radius: var(--border-radius);
  margin-top: 30px;
}

.exhibitor-cta p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

/* ========= About Section ========= */
.about {
  background-color: white;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-text p {
  margin-bottom: 20px;
}

.company-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.info-item h4 {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* ========= Contact Section ========= */
.contact {
  background-color: var(--light-color);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-form {
  flex: 2;
  min-width: 300px;
  padding: 30px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
}

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

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
}

.checkbox-group label {
  margin-bottom: 0;
}

.required {
  color: var(--primary-color);
}

.contact-info {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  padding: 30px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: rgba(230, 57, 70, 0.1);
  color: var(--primary-color);
}

.info-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* ========= Footer ========= */
.footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-info {
  flex: 2;
  min-width: 300px;
}

.footer-logo h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.footer-info p {
  margin-bottom: 20px;
  opacity: 0.9;
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-links {
  flex: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-links-column {
  flex: 1;
  min-width: 150px;
}

.footer-links-column h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-links-column h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
  margin-top: 8px;
}

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

.footer-links-column a {
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links-column a:hover {
  opacity: 1;
  color: var(--primary-color);
}

/* ========= Back to Top Button ========= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.back-to-top a:hover {
  background-color: #d62c3b;
  transform: translateY(-3px);
}

/* ========= Media Queries ========= */
@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero-text h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .nav, .language-switcher {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-text h2 {
    font-size: 2rem;
  }
  
  .services-grid, .image-grid {
    gap: 20px;
  }
  
  .service-card {
    padding: 20px;
  }
  
  .exhibitor-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .hero-text h2 {
    font-size: 1.8rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
  
  .grid-item-large {
    grid-column: 1;
  }
  
  .info-card {
    padding: 20px;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
  
  .back-to-top a {
    width: 40px;
    height: 40px;
  }
}

/* ========= Animations ========= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeIn 0.8s ease forwards;
}