/* ===== 基本設定 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'メイリオ', Meiryo, 'ヒラギノ角ゴ Pro', sans-serif;
  color: #333;
  background-color: #fff5f7;
  line-height: 1.8;
}

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

/* ===== ヘッダー ===== */
header {
  background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
    url('header-corp.jpg') center/cover no-repeat;
  color: white;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

header .site-name {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}

/* ===== ナビゲーション ===== */
nav {
  background-color: #c2185b;
}

nav ul {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
}

nav ul li a {
  display: block;
  padding: 12px 24px;
  color: white;
  font-size: 0.95rem;
  font-weight: bold;
  transition: background 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: #880e4f;
}

/* ===== メインコンテンツ ===== */
main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

/* ===== セクション共通 ===== */
section {
  background: white;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-top: 5px solid #e91e63;
}

section h2 {
  font-size: 1.4rem;
  color: #c2185b;
  border-left: 5px solid #f48fb1;
  padding-left: 12px;
  margin-bottom: 20px;
}

section h3 {
  font-size: 1.1rem;
  color: #c2185b;
  margin: 20px 0 8px;
}

section p {
  margin-bottom: 12px;
}

/* ===== サービスカード ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.service-card {
  background: linear-gradient(135deg, #fce4ec, #fdf6f8);
  border-radius: 16px;
  padding: 24px;
  border-left: 5px solid #f48fb1;
  box-shadow: 0 2px 8px rgba(244,143,177,0.2);
}

.service-card h3 {
  color: #c2185b;
  margin-top: 0;
  font-size: 1.05rem;
}

/* ===== テーブル ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

table th,
table td {
  padding: 12px 16px;
  border: 1px solid #f8bbd0;
  text-align: left;
}

table th {
  background-color: #fce4ec;
  color: #c2185b;
  width: 30%;
  font-weight: bold;
}

/* ===== フッター ===== */
footer {
  background: linear-gradient(135deg, #c2185b, #f48fb1);
  color: white;
  text-align: center;
  padding: 24px;
  margin-top: 60px;
  font-size: 0.9rem;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* ===== スマホ対応 ===== */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    justify-content: center;
  }
}
