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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.8;
}

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

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

.inner {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.narrow {
  width: min(820px, 92%);
}

.section {
  padding: 100px 0;
}

.section-heading {
  margin-bottom: 40px;
}

.section-en {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: #666;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.4;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid #e5e5e5;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
}

.header-btn,
.btn {
  display: inline-block;
  background: #1e3a8a;
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  transition: 0.3s ease;
}

.header-btn:hover,
.btn:hover {
  opacity: 0.85;
}

.fv {
  background: 
    linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)),
    url("images/fv.jpg");

  background-size: cover;
  background-position: center;
  padding: 180px 0 160px;
}

.fv-sub {
  font-size: 0.9rem;
  color: white;
  margin-bottom: 18px;
  letter-spacing: 0.08em;
  text-shadow: 0 3px 12px rgba(0,0,0,0.25);
}

.fv-title {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.3;
  margin-bottom: 24px;
  color: white;
  text-shadow: 0 3px 12px rgba(0,0,0,0.25);
}

.fv-text {
  max-width: 720px;
  margin-bottom: 32px;
  color: white;
  text-shadow: 0 3px 12px rgba(0,0,0,0.25);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px 24px;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  background: #fff;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.message {
  background: #fafafa;
}

.message-text {
  margin-bottom: 20px;
  color: #333;
}

.message-name {
  font-weight: 700;
}

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

.company-table th,
.company-table td {
  padding: 18px 12px;
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 32%;
  font-weight: 700;
  color: #444;
}

.contact {
  text-align: center;
}

.contact-text {
  margin-bottom: 28px;
  color: #444;
}

.footer {
  padding: 28px 0;
  border-top: 1px solid #e5e5e5;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo img {
  height: 100px;
  width: auto;
  max-width: none;
  display: block;
}

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

  .header-inner {
    min-height: 64px;
  }

  .header-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .fv {
    padding: 100px 0 80px;
  }

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

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 12px 0;
  }

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

  .company-table td {
    padding-top: 6px;
  }

  .logo img {
    height: 60px;
  }

}