@charset "UTF-8";

/*
 * Pre-renovation TOP body styles.
 * All layout selectors are scoped to .original-home so this file does not
 * alter the shared header, footer, mobile menu, or lower pages.
 */
.original-home,
.original-home *,
.original-home *::before,
.original-home *::after {
  box-sizing: border-box;
}

.original-home {
  overflow: clip;
  color: #4a5c6a;
  background: #ffffff;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.8;
}

.original-home h1,
.original-home h2,
.original-home h3,
.original-home h4,
.original-home p {
  margin: 0;
  padding: 0;
  letter-spacing: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.original-home .original-home-anchor {
  display: block;
  height: 0;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.original-home section {
  padding: 7rem 2rem;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.original-home .container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.original-home .hero {
  min-height: calc(100svh - var(--header-height));
  padding: 3rem 2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #e0f2f7;
  background-image: url("../images/home-hero.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
}

.original-home .hero-content {
  width: min(900px, 100%);
  position: relative;
  z-index: 1;
}

.original-home .hero-logo {
  width: 320px;
  height: auto;
  margin: 0 auto 2.5rem;
  animation: originalHomeFadeInUp 1s ease-out both;
}

.original-home .hero h1 {
  margin-bottom: 1.25rem;
  color: #2c3e50;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  animation: originalHomeFadeInUp 1s ease-out 0.2s both;
}

.original-home .hero-tagline {
  max-width: 720px;
  margin: 0 auto 0.75rem;
  color: #4a5c6a;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  animation: originalHomeFadeInUp 1s ease-out 0.4s both;
}

.original-home .hero-tagline-en {
  max-width: 600px;
  margin: 0 auto 3rem;
  color: #7a8c9a;
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  font-weight: 400;
  animation: originalHomeFadeInUp 1s ease-out 0.5s both;
}

.original-home .hero-cta {
  display: flex;
  justify-content: center;
  animation: originalHomeFadeInUp 1s ease-out 0.7s both;
}

.original-home .hero-cta a {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 2px solid #2c4a5e;
  border-radius: 30px;
  color: #2c4a5e;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.original-home .hero-cta a:hover,
.original-home .hero-cta a:focus-visible {
  color: #ffffff;
  background: #2c4a5e;
}

.original-home .section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.original-home .section-title {
  margin-bottom: 1rem;
  color: #5a8a9a;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.original-home .section-title-main {
  color: #2c3e50;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.original-home .section-divider {
  width: 60px;
  height: 3px;
  margin: 1.5rem auto 0;
  background: #5a8a9a;
}

.original-home .company {
  background: #ffffff;
}

.original-home .company-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.original-home .company-item {
  padding: 2rem;
  border: 1px solid #d0dce3;
  border-radius: 4px;
  background: #f4f7f9;
  transition: box-shadow 0.3s ease;
}

.original-home .company-item:hover {
  box-shadow: 0 8px 30px rgba(44, 74, 94, 0.08);
}

.original-home .company-label {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #5a8a9a;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.original-home .company-label::before {
  width: 20px;
  height: 2px;
  flex: 0 0 auto;
  background: #5a8a9a;
  content: "";
}

.original-home .company-value {
  margin-bottom: 0.25rem;
  color: #2c3e50;
  font-size: 1.1rem;
  font-weight: 500;
}

.original-home .company-value-en {
  color: #7a8c9a;
  font-size: 0.95rem;
  font-weight: 400;
}

.original-home .company-description {
  grid-column: 1 / -1;
  margin-top: 1rem;
  padding: 3rem;
  border: 1px solid #d0dce3;
  border-left: 4px solid #5a8a9a;
  border-radius: 4px;
  background: linear-gradient(135deg, #f4f7f9 0%, #e8f4f8 100%);
}

.original-home .company-description p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 2;
}

.original-home .company-description p:last-child {
  margin-bottom: 0;
  color: #7a8c9a;
  font-size: 0.95rem;
}

.original-home .services {
  position: relative;
  background: linear-gradient(180deg, #f4f7f9 0%, #e8f1f5 100%);
}

.original-home .services::before {
  height: 1px;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background: linear-gradient(90deg, transparent, #d0dce3, transparent);
  content: "";
}

.original-home .service-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.original-home .service-card {
  padding: 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid #d0dce3;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(44, 74, 94, 0.04);
  transition: box-shadow 0.3s ease;
}

.original-home .service-card::before {
  width: 4px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, #8eb8c7, #5a8a9a);
  content: "";
  opacity: 0;
  transition: opacity 0.3s ease;
}

.original-home .service-card:hover {
  box-shadow: 0 12px 40px rgba(44, 74, 94, 0.1);
}

.original-home .service-card:hover::before {
  opacity: 1;
}

.original-home .service-header {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.original-home .service-number {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #5a8a9a;
  border-radius: 50%;
  color: #5a8a9a;
  font-size: 1.5rem;
  font-weight: 600;
}

.original-home .service-titles {
  flex: 1;
}

.original-home .service-title-ja {
  margin-bottom: 0.25rem;
  color: #2c3e50;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
}

.original-home .service-title-en {
  color: #5a8a9a;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.original-home .service-description {
  margin-bottom: 0.75rem;
  color: #4a5c6a;
  font-size: 1.05rem;
  line-height: 1.9;
}

.original-home .service-description-en {
  color: #7a8c9a;
  font-size: 0.95rem;
}

.original-home .batchline-detail {
  margin-top: 2.5rem;
  padding: 2.5rem;
  position: relative;
  border: 1px solid #d0dce3;
  border-radius: 4px;
  background: linear-gradient(135deg, #f8fbfc 0%, #eef5f8 100%);
}

.original-home .batchline-badge {
  margin-bottom: 1.25rem;
  padding: 0.5rem 1.25rem;
  display: inline-block;
  border-radius: 2px;
  color: #ffffff;
  background: #2c4a5e;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.original-home .batchline-box {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}

.original-home .batchline-title {
  color: #2c3e50;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
}

.original-home .batchline-box a {
  color: #2c4a5e;
  font-size: 0.9rem;
  font-weight: 500;
  text-underline-offset: 0.2em;
}

.original-home .batchline-desc {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.9;
}

.original-home .batchline-desc-en {
  margin-bottom: 2rem;
  color: #7a8c9a;
  font-size: 0.9rem;
  line-height: 1.9;
}

.original-home .service-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.original-home .feature-item {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid rgba(208, 220, 227, 0.5);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
}

.original-home .feature-icon {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #5a8a9a;
  border-radius: 50%;
}

.original-home .feature-icon::after {
  color: #5a8a9a;
  content: "✓";
  font-size: 0.7rem;
  font-weight: 700;
}

.original-home .feature-text {
  color: #2c3e50;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.7;
}

.original-home .feature-text-en {
  margin-top: 0.25rem;
  display: block;
  color: #7a8c9a;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.7;
}

.original-home .batchline-summary {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #d0dce3;
  font-size: 1rem;
  line-height: 1.9;
}

.original-home .batchline-summary-en {
  margin-top: 1rem;
  color: #7a8c9a;
  font-size: 0.9rem;
  line-height: 1.9;
}

.original-home .contact {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(180deg, #2c4a5e 0%, #1e3a4a 100%);
  text-align: center;
}

.original-home .contact::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%), radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  content: "";
  pointer-events: none;
}

.original-home .contact .container {
  position: relative;
  z-index: 1;
}

.original-home .contact .section-title {
  color: rgba(255, 255, 255, 0.6);
}

.original-home .contact .section-title-main {
  color: #ffffff;
}

.original-home .contact .section-divider {
  background: rgba(255, 255, 255, 0.3);
}

.original-home .contact-text {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  font-weight: 400;
  opacity: 0.95;
}

.original-home .contact-text-en {
  margin-bottom: 2.5rem;
  font-size: 1rem;
  opacity: 0.7;
}

.original-home .contact-email {
  padding: 1.25rem 3rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  color: #ffffff;
  background: transparent;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.original-home .contact-email:hover,
.original-home .contact-email:focus-visible {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

.original-home .email-icon {
  font-size: 1.3rem;
  opacity: 0.8;
}

@keyframes originalHomeFadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .original-home section {
    padding: 4rem 1.25rem;
  }

  .original-home .hero {
    min-height: calc(100svh - var(--header-height));
    padding: 3rem 1.5rem;
  }

  .original-home .hero-logo {
    width: 220px;
    margin-bottom: 2rem;
  }

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

  .original-home .hero-tagline {
    font-size: 1rem;
  }

  .original-home .hero-tagline-en {
    font-size: 0.85rem;
  }

  .original-home .company-grid,
  .original-home .service-features {
    grid-template-columns: 1fr;
  }

  .original-home .company-description {
    padding: 2rem;
  }

  .original-home .service-card {
    padding: 2rem;
  }

  .original-home .service-header {
    flex-direction: column;
    gap: 1.25rem;
  }

  .original-home .batchline-detail {
    padding: 1.75rem;
  }

  .original-home .batchline-box {
    display: block;
  }

  .original-home .batchline-title,
  .original-home .batchline-box a {
    display: block;
  }

  .original-home .batchline-box a {
    margin-top: 0.5rem;
  }

  .original-home .contact-email {
    max-width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .original-home .hero {
    padding-inline: 1.25rem;
  }

  .original-home .hero-logo {
    width: 190px;
  }

  .original-home .hero h1 {
    font-size: 1.72rem;
    line-height: 1.42;
  }

  .original-home .hero-tagline br,
  .original-home .hero-tagline-en br,
  .original-home .contact-text-en br {
    display: none;
  }

  .original-home .hero-cta a {
    width: 100%;
    padding-inline: 1.25rem;
  }

  .original-home .section-header {
    margin-bottom: 3rem;
  }

  .original-home .company-item,
  .original-home .company-description,
  .original-home .service-card,
  .original-home .batchline-detail {
    padding: 1.5rem;
  }

  .original-home .contact-email {
    padding-inline: 1.25rem;
    gap: 0.6rem;
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .original-home .hero-logo,
  .original-home .hero h1,
  .original-home .hero-tagline,
  .original-home .hero-tagline-en,
  .original-home .hero-cta {
    animation: none;
  }
}
