/* ========== リセット & ベース ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.8;
  background: #fff;
}

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

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== ヘッダー ========== */
header {
  background: #fff;
  border-bottom: 2px solid #1a3a5c;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo a {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}
.logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.logo-en {
  font-size: 13px;
  color: #1a3a5c;
  letter-spacing: 0.05em;
}
.logo-ja {
  font-size: 18px;
  font-weight: 700;
  color: #1a3a5c;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}
nav ul li a {
  font-size: 14px;
  font-weight: 500;
  color: #444;
  transition: color 0.2s;
}
nav ul li a:hover { color: #1a3a5c; }

/* ========== ヒーロー ========== */
.hero {
  background: linear-gradient(135deg, #1a3a5c 0%, #2e6da4 100%);
  color: #fff;
  padding: 100px 24px;
  text-align: center;
}
.hero-logo {
  height: 120px;
  width: auto;
  margin: 0 auto 36px;
  display: block;
  filter: brightness(0) invert(1);
}
.hero h1 {
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.hero p {
  font-size: clamp(14px, 2vw, 18px);
  opacity: 0.9;
  line-height: 2;
}

/* ========== セクション共通 ========== */
.section { padding: 80px 0; }
.section-gray { background: #f5f7fa; }

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a3a5c;
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: #2e6da4;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ========== カード ========== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.card {
  background: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 6px 24px rgba(26,58,92,0.12); }
.card-icon { font-size: 40px; margin-bottom: 16px; }
.card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 12px;
}
.card p { font-size: 14px; color: #555; }

/* ========== 代表挨拶 ========== */
.message-box {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-left: 4px solid #2e6da4;
  border-radius: 4px;
  padding: 36px 40px;
}
.message-box p {
  font-size: 15px;
  color: #444;
  margin-bottom: 16px;
}
.message-box p:last-child { margin-bottom: 0; }
.sign {
  text-align: right;
  font-weight: 700;
  font-size: 16px !important;
  color: #1a3a5c !important;
  margin-top: 24px !important;
}

/* ========== 会社概要テーブル ========== */
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.company-table th,
.company-table td {
  border-bottom: 1px solid #dde3ea;
  padding: 16px 20px;
  vertical-align: top;
  text-align: left;
}
.company-table th {
  width: 180px;
  font-weight: 700;
  color: #1a3a5c;
  background: #f0f4f8;
  white-space: nowrap;
}
.company-table .small {
  font-size: 13px;
  color: #666;
}

/* ========== お問い合わせ ========== */
.contact-lead {
  text-align: center;
  font-size: 15px;
  margin-bottom: 32px;
  color: #555;
}
.contact-box {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  padding: 32px 40px;
  border: 1px solid #e0e6ed;
  font-size: 16px;
  line-height: 2.2;
}

/* ========== フッター ========== */
footer {
  background: #1a3a5c;
  color: #aabdd0;
  text-align: center;
  padding: 28px 24px;
  font-size: 13px;
}

/* ========== レスポンシブ ========== */
@media (max-width: 640px) {
  header .container { flex-direction: column; height: auto; padding: 16px 24px; gap: 12px; }
  nav ul { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .company-table th { width: 110px; font-size: 13px; padding: 12px 10px; }
  .company-table td { font-size: 14px; padding: 12px 10px; }
  .message-box { padding: 24px 20px; }
  .contact-box { padding: 24px 20px; }
}
