/* ========================================
   共通スタイル（ヘッダー・フッター・基本設定）
======================================== */

:root {
  --brand-color: #018665;
  --text-color: #333;
  --bg-color: #f5f5f5;
  --border-color: #ddd;
  --line-green: #06C755;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI",
    "Yu Gothic", "游ゴシック体", "YuGothic", "Meiryo", sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.7;
  font-size: 14px;
}

a {
  color: var(--brand-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* 汎用コンテナ */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 汎用マージン */
.mt-8 {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

/* ========================================
   ヘッダー
======================================== */

.c-header {
  background-color: #fff;
  border-bottom: 1px solid #e5e5e5;
  letter-spacing: normal;
}

.c-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  max-width: 960px;
  margin: 0 auto;
  letter-spacing: normal;
}

.c-header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.c-header-logo img {
  display: block;
  height: 32px;
  width: auto;
}

.c-header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  letter-spacing: normal;
}

.c-header-nav a {
  color: var(--text-color);
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: normal;
}

.c-header-nav a:hover {
  color: var(--brand-color);
  text-decoration: none;
}

/* ========================================
   フッター
======================================== */

.c-footer {
  background-color: #f9f9f9;
  border-top: 1px solid #e5e5e5;
  margin-top: 32px;
  padding: 16px 0 24px;
  font-size: 12px;
  letter-spacing: normal;
}

.c-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
  letter-spacing: normal;
}

.c-footer-logo {
  margin-bottom: 8px;
}

.c-footer-logo img {
  height: 20px;
  width: auto;
  display: block;
}

.c-footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.c-footer-social a {
  display: block;
  width: 32px;
  height: 32px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.c-footer-social a:hover {
  opacity: 1;
}

.c-footer-social a:first-child {
  width: auto;
  height: 36px;
}

.c-footer-social a:first-child img {
  height: 100%;
  width: auto;
}

.c-footer-social img {
  width: 100%;
  height: 100%;
  display: block;
}

.c-footer-links {
  margin-bottom: 8px;
  letter-spacing: normal;
}

.c-footer-links a {
  color: #555;
  margin-right: 8px;
  letter-spacing: normal;
}

.c-footer-links span {
  margin: 0 4px;
  color: #ccc;
}

.c-footer-copy {
  color: #777;
  letter-spacing: normal;
}

/* ========================================
   レスポンシブ（共通）
======================================== */

@media (max-width: 768px) {
  .c-header-inner {
    padding: 8px 12px;
  }

  .c-header-nav {
    font-size: 12px;
    gap: 12px;
  }
}