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

body {
  font-family: "Meiryo", sans-serif;
  background: #f4f7fb;
  color: #222;
  line-height: 1.8;
}

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

header {
  background: #0f2747;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}

nav a {
  color: white;
  font-size: 0.98rem;
}

nav a:hover {
  opacity: 0.75;
}

.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.30), rgba(0, 0, 0, 0.30)),
    url("../images/hero_art.png");
  background-size: cover;
  background-position: center;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 24px;
}

.hero-content {
  max-width: 900px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  padding-top: 140px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.35;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.2s;
}

.btn-primary {
  background: #2f6fed;
  color: white;
}

.btn-secondary {
  background: white;
  color: #0f2747;
}

.btn:hover {
  transform: translateY(-2px);
}

main {
  min-height: 70vh;
}

section {
  padding: 72px 24px;
}

.container {
  max-width: 1100px;
  margin: auto;
}

.page-title {
  background: #e8eef7;
  padding: 60px 24px;
  text-align: center;
}

.page-title h1,
.section-title {
  color: #0f2747;
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.section-text {
  max-width: 900px;
  margin: 0 auto 44px;
  text-align: center;
  font-size: 1.05rem;
}

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

.card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.card h3 {
  color: #0f2747;
  margin-bottom: 12px;
}

.white-box {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.area-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.area-item {
  background: #eef3fb;
  padding: 18px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.company-table th {
  width: 220px;
  background: #f0f4fb;
  color: #0f2747;
}

.flow {
  display: grid;
  gap: 16px;
}

.flow-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  background: white;
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.06);
}

.flow-number {
  color: #2f6fed;
  font-weight: bold;
}

.contact-form {
  max-width: 760px;
  margin: 30px auto 0;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-weight: bold;
  color: #0f2747;
  margin-bottom: 8px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Meiryo", sans-serif;
  background: #fff;
}

.form-row textarea {
  resize: vertical;
}

.form-button {
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.notice {
  background: #fff7df;
  border-left: 5px solid #f0b429;
  padding: 18px;
  border-radius: 8px;
  margin-top: 24px;
}

footer {
  background: #0a1830;
  color: white;
  text-align: center;
  padding: 28px 16px;
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 16px;
  }

  nav ul {
    justify-content: center;
    gap: 14px;
  }

  .logo {
    font-size: 1.35rem;
  }

  .hero {
    min-height: 480px;
  }

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

  .hero p {
    font-size: 1rem;
  }

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

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

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