/* ===========================
   CSS Variables
   =========================== */
:root {
  --color-primary: #1a2e4a;
  --color-text: #1a1a1a;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f7f5;
  --color-border: #e0e0e0;
  --max-width: 900px;
  --header-height: 64px;
}

/* ===========================
   Reset & Base
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.7;
}

/* ===========================
   Layout
   =========================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   Header
   =========================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--color-bg);
  z-index: 100;
  transition: border-bottom 0.2s, box-shadow 0.2s;
}

header.scrolled {
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
}

.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-primary);
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--color-primary);
  opacity: 1;
}

/* ===========================
   Hero
   =========================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background-color: var(--color-primary);
  background-image: url('hero-bg.svg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
}

.hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 28px;
}

.hero-headline {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 18px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
}

/* ===========================
   Section Common
   =========================== */
section {
  padding: 80px 0;
}

section:nth-child(even) {
  background-color: var(--color-bg-alt);
}

.section-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
  color: var(--color-text);
}

/* ===========================
   Business Section
   =========================== */
#business {
  background-color: var(--color-bg);
}

.business-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.business-card {
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background-color: var(--color-bg);
}

.business-card-icon {
  width: 44px;
  height: 44px;
  background-color: var(--color-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.business-card-icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.business-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.business-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

/* ===========================
   Company Section
   =========================== */
#company {
  background-color: var(--color-bg-alt);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  font-size: 15px;
  line-height: 1.7;
}

.company-table th {
  width: 180px;
  font-weight: 600;
  color: var(--color-primary);
  vertical-align: top;
  white-space: nowrap;
}

.company-table td {
  color: var(--color-text);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

/* ===========================
   Contact Section
   =========================== */
#contact {
  background-color: var(--color-bg);
  text-align: center;
}

#contact .section-title,
#contact .section-heading {
  text-align: center;
}

.contact-description {
  font-size: 16px;
  color: #555;
  margin-bottom: 36px;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 14px 36px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-email-link:hover {
  opacity: 0.85;
}

.contact-email-link svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

/* ===========================
   Footer
   =========================== */
footer {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 0;
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
}

.footer-logo-text {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.footer-copy {
  font-size: 13px;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
  section {
    padding: 48px 0;
  }

  #hero {
    min-height: 85vh;
  }

  .logo-text {
    font-size: 15px;
  }

  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    padding-bottom: 4px;
    border-bottom: none;
  }

  .company-table td {
    padding-top: 4px;
    padding-bottom: 18px;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
  }
}

