/* 共通 */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
  background-color: #ffffff;
}

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

.container {
  width: min(90%, 1000px);
  margin: auto;
  padding: 40px 0;
}

/* ヘッダー */
.header {
  background-color: #002244;
  color: #ffffff;
  padding: 10px 0;
/*★  position: fixed;  /* 固定化 *  */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.nav {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.nav a {
  color: #ffffff;
}

.nav a:hover {
  text-decoration: underline;
}

/* ロゴテキスト部分 */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-text {
  font-family: 'Noto Sans JP', 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #ffffff;
  letter-spacing: 0.05rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* 立体感 */
  margin: 0;
}

.white-hero {
  background-color: #ffffff;
  color: #002244;
  text-align: center;
  padding: clamp(40px, 8vw, 100px) clamp(20px, 5vw, 40px);
  /* ヘッダー固定化 *
  padding-top: calc(clamp(40px, 8vw, 100px) + 80px);  */
}

.white-hero h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.white-hero p {
  font-size: 1.2rem;
}

/* ボタン */
.btn {
  background: linear-gradient(135deg, #002244, #0052cc);
  color: #ffffff;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* 波の区切り */
.wave-divider.double-wave svg {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -1px; /* つなぎ目用 */
}

/* セクション共通 */
.section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #002244;
}

/* 交互色セクション */
.section.alt {
  background-color: #f5f5f5;
  color: #002244;
}

.section h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* 下線を表示する挙動 */
.animated-underline {
  position: relative;
  display: inline-block;
  color: black;
}

.animated-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #FFCC00 0%, #FFF100 50%, #FFCC00 100%);
  transition: width 1.6s ease;
}

.animated-underline.animate::after {
  width: 100%;
}

/* 画像表示設定 */
.responsive-image {
  max-width: 100%;
  height: auto;
}

.section ul {
  list-style: none;
  padding: 0;
  line-height: 2;
}

.section li {
  padding-left: 1rem;
}

.section ul::before {
  content: attr(data-title);
}

/* 会社概要テーブル */
.company_overview {
  width: 90%;
  max-width: 100%;
  border-collapse: collapse; /* セルの隙間なく境界線を表示 */
  margin: 1rem auto;
  font-size: 1rem;
  border: none; /* 外枠なし */
}

.company_overview th,
.company_overview td {
  border-bottom: 1px solid #ccc; /* 下の線だけ */
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: middle;
}

/* ヘッダーの下線を少し濃く */
.company_overview th {
  border-bottom: 1px solid #002244;
  font-weight: 600;
  width: 20%;
  min-width: 8rem;
}

/* 偶数行の背景色は無しに */
.company_overview tr:nth-child(even) {
  background-color: transparent;
}

/* フッター */
.footer {
  background-color: #002244;
  color: #f8f8f8;
  text-align: center;
  padding: 20px 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .logo-container {
    flex-direction: column;
    align-items: flex-start;
    gap: auto;
  }

  .nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: auto;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .white-hero {
    padding-top: calc(clamp(40px, 8vw, 100px) + 120px);
  }

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

  .container {
    width: min(90%, 1000px);
    margin: auto;
    padding: 40px 0;
  }

  /* 会社概要テーブル */
  .company_overview th,
  .company_overview td {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }

  .company_overview th {
    width: 30%;
    min-width: 5rem; /* 最小幅 */
  }
}

<!-- -->
/* テーブル下のリンク用：表示・整列・余白 */
.external-link-box {
  margin: 1.5rem 0 2rem;   /* 上下のスペース */
  text-align: center;
}

/* ボタン風リンクの見た目調整（任意・目立たせたい場合） */
.external-link {
  display: inline-block;
  background: linear-gradient(135deg, #f5f5f5, #f8f8f8);
  color: #002244;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.external-link:hover {
  background: linear-gradient(135deg, #f8f8f8, #ffffff);
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}
