/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  background-color: #fff;
  font-weight: 400;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

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

.logo a {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #333;
  transition: color 0.3s;
}

.logo a:hover {
  color: #666;
}

.nav-list {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-item a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #333;
  transition: color 0.3s;
}

.nav-item a:hover {
  color: #999;
}

/* Container */
.container {
  margin-top: 80px;
}

/* Hero Section */
.hero {
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero::before {
  content: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0.9;
}

/* Section */
.section {
  padding: 100px 40px;
}

.section-gray {
  background-color: #f8f9fa;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: 4px;
  color: #333;
}

/* About Section */
.about-content {
  text-align: center;
  margin-bottom: 60px;
}

.about-text {
  font-size: 15px;
  line-height: 2;
  color: #555;
}

.about-image {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Service Section */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.service-item:nth-child(even) {
  direction: rtl;
}

.service-item:nth-child(even) .service-content {
  direction: ltr;
}

.service-image {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

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

.service-content {
  padding: 20px;
}

.service-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.service-text {
  font-size: 14px;
  line-height: 2;
  color: #555;
}

/* News Section */
.news-list {
  max-width: 800px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid #e9ecef;
}

.news-item:first-child {
  padding-top: 0;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-size: 14px;
  color: #999;
  white-space: nowrap;
  min-width: 100px;
}

.news-text {
  font-size: 15px;
  color: #333;
}

/* Company Section */
.company-table {
  max-width: 800px;
  margin: 0 auto;
}

.company-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 30px 0;
  border-bottom: 1px solid #dee2e6;
}

.company-row:first-child {
  padding-top: 0;
}

.company-row:last-child {
  border-bottom: none;
}

.company-label {
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

.company-value {
  font-size: 14px;
  line-height: 2;
  color: #555;
}

/* Contact Section */
.contact-text {
  text-align: center;
  font-size: 15px;
  line-height: 2;
  color: #555;
  margin-bottom: 40px;
}

.contact-button {
  display: block;
  max-width: 300px;
  margin: 0 auto;
  padding: 20px 40px;
  text-align: center;
  background-color: #333;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s;
  letter-spacing: 2px;
}

.contact-button:hover {
  background-color: #555;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background-color: #222;
  color: #fff;
  padding: 40px;
  text-align: center;
}

.footer-text {
  font-size: 13px;
  color: #999;
  letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-inner {
    padding: 15px 20px;
  }

  .logo a {
    font-size: 18px;
  }

  .nav-list {
    gap: 20px;
  }

  .nav-item a {
    font-size: 11px;
  }

  .hero {
    height: 400px;
  }

  .hero-video {
    display: none;
  }

  .hero-overlay {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .service-item {
    grid-template-columns: 1fr;
  }

  .service-item:nth-child(even) {
    direction: ltr;
  }

  .news-item {
    flex-direction: column;
    gap: 10px;
  }

  .company-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
