/* =========================================================
   KP 公式サイト TOP（S3 静的サイト版）
   元サイト（ecbeing CMS）の見た目を再現しつつ、スマホ対応を追加
   ========================================================= */

:root {
  --text: #404040;       /* 本文色（元サイト body） */
  --accent: #7f8c8d;     /* 見出し・リンクのグレー */
  --muted: #999;         /* コピーライト */
  --line: #ccc;          /* フッター罫線 */
  --content-width: 960px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W6", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 12px;
  line-height: 1.4;
}

img { max-width: 100%; height: auto; vertical-align: bottom; }

a { color: var(--accent); }

.wrapper {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 992px) {
  .wrapper { padding: 0; }
}

/* ---------- ヘッダー ---------- */
.site-header {
  padding-top: 34px;
  text-align: center;
}
.logo { margin: 0 0 34px; line-height: 0; }
.logo img { width: 100px; }

.kp-links {
  display: flex;
  justify-content: center;
  gap: 1em;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 22px;
}
.kp-links a { text-decoration: none; }
.kp-links a:hover,
.kp-links a:focus-visible {
  text-decoration: underline;
  text-decoration-color: currentColor;
}

/* ---------- セクション共通 ---------- */
.section { margin-top: 34px; }
.section--brand { margin-top: 28px; }

.section-title {
  margin: 0;
  color: var(--accent);
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}
.section-title--lg { font-size: 22px; }

hr {
  margin: 6px 0 17px;
  border: 0;
  border-top: 1px solid #b3b3b3;
}

/* ---------- Brand ---------- */
.kv {
  margin: 0;
  padding: 0;
  list-style: none;
}
.kv li + li { margin-top: 17px; }
.kv img { display: block; width: 100%; }

.banner {
  margin: 34px 0 0;
  text-align: center;
}
.banner img { width: 500px; }

/* ---------- Company profile ---------- */
.profile {
  margin: 0;
  color: var(--accent);
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}
.profile dt {
  font-weight: bold;
  text-decoration: underline;
}
.profile dt:not(:first-child) { margin-top: 34px; }
.profile dd { margin: 0; }
.access-title { display: inline-block; margin-top: 4px; }

/* ---------- Contact ---------- */
.contact {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}
.contact li + li { margin-top: 4px; }

/* ---------- フッター ---------- */
.site-footer {
  margin-top: 54px;
  padding: 20px;
  border-top: 1px solid var(--line);
}
.copyright {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

/* ---------- スマホ ---------- */
@media (max-width: 600px) {
  .kp-links { font-size: 18px; }
  .profile, .contact { font-size: 14px; }
}
