:root {
  --main-color: #1f4d3a;
}

body {
  font-family: sans-serif;
  color: #333333;
}

h1 {
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.08em;
}

header p {
  text-align: center;
}
header {
  background-color: var(--main-color);
  color: #ffffff;
  padding: 28px 20px;
  margin: 0px;
}

.en-name {
  font-size: 14px;
  letter-spacing: 0.2em;
  margin: 0 0 12px;
  opacity: 0.85;
}

html {
  scroll-behavior: smooth;
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.page-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
}

.page-nav a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.greeting,
.profile,
.service,
.target,
.promise,
.office,
.contact {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.greeting h2,
.profile h2,
.service h2,
.promise h2,
.office h2,
.contact h2
 {
  border-bottom: 2px solid var(--main-color);
  padding-bottom: 8px;
}
table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid #cccccc;
  padding: 12px 8px;
  text-align: left;
}

th {
  width: 30%;
  background-color: #edf3ef;
}

.profile img {
  width: 200px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

  .profile-body {
  display: flex;
  flex-direction: row-reverse;
  gap: 24px;
  align-items: flex-start;
}

.profile-body img {
  flex-shrink: 0;
}

.profile-text p {
  margin-top: 0;
}
.stage {
  margin-top: 32px;
}

.stage h3 {
  border-left: 4px solid var(--main-color);
  padding-left: 12px;
}

footer {
  background-color: var(--main-color);
  color: #ffffff;
  text-align: center;
  font-size: 13px;
  padding: 24px 20px;
  margin-top: 64px;
}

footer p {
  margin: 0;
}

.numbers {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.number-card {
  flex: 1;
  background-color: #edf3ef;
  padding: 16px;
  border-radius: 8px;
}

.number-card p {
  margin: 4px 0 0;
}

.number-card .number {
  margin-top: 0;
  font-size: 24px;
  font-weight: bold;
  color: var(--main-color);
}

.number-card .number-title {
  font-weight: bold;
}

.number-card .number-text {
  font-size: 14px;
}

.target-box {
  background-color: var(--main-color);
  color: #ffffff;
  padding: 24px 28px;
  border-radius: 8px;
}

.target-box h2 {
  font-size: 18px;
  margin-top: 0;
}

.target-box li {
  margin-bottom: 8px;
}

.note {
  font-size: 14px;
  color: #555555;
}

@media (max-width: 480px) {
  h1 {
    font-size: 24px;
  }
  .profile-body {
    flex-direction: column;
  }

  .numbers {
    flex-direction: column;
  }
}