@charset "UTF-8";

*, *::before, *::after { box-sizing: border-box; }
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, p, th, td { margin: 0; padding: 0; }
ul, ol { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; width: 100%; }
a { text-decoration: none; color: inherit; }

@media (min-width: 821px) {
  html { font-size: calc(16px * 820 / 375); }
}
@media (min-width: 376px) and (max-width: 820px) {
  html { font-size: calc(100vw * 16 / 375); }
}
@media (max-width: 375px) {
  html { font-size: calc(100vw * 16 / 375); }
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  color: #333;
  background: #f0f2f5;
  line-height: 1.8;
}

.l-wrapper {
  width: 100%;
  max-width: 51.25rem;
  margin-inline: auto;
  background: #fff;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

@media (min-width: 820px) {
  .l-wrapper { width: 820px; }
}

/* ヘッダー */
.p-header {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  padding: 0.75rem 1rem;
}

.p-header__link {
  display: block;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

/* メイン */
.p-main {
  padding: 1.25rem 1rem 2rem;
}

.p-main__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e40af;
  border-bottom: 2px solid #3b82f6;
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
}

/* セクション */
.p-section {
  margin-bottom: 1.5rem;
}

.p-section__heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1a1a2e;
  padding: 0.375rem 0.625rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
  border-left: 3px solid #3b82f6;
  margin-bottom: 0.75rem;
}

/* テキスト */
.p-text {
  font-size: 0.75rem;
  line-height: 1.8;
  margin-bottom: 0.625rem;
}

/* リスト */
.p-list {
  padding-left: 1.25rem;
  margin-bottom: 0.625rem;
}

.p-list li {
  font-size: 0.75rem;
  line-height: 1.8;
  position: relative;
  padding-left: 0.75rem;
  margin-bottom: 0.25rem;
}

.p-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.625rem;
  width: 0.375rem;
  height: 0.375rem;
  background: #3b82f6;
  border-radius: 50%;
}

/* テーブル */
.p-table {
  margin-bottom: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.25rem;
  overflow: hidden;
}

.p-table th,
.p-table td {
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}

.p-table th {
  background: rgba(59, 130, 246, 0.08);
  font-weight: 700;
  color: #1a1a2e;
  white-space: nowrap;
  width: 30%;
}

.p-table td {
  color: #555;
}

.p-table tr:last-child th,
.p-table tr:last-child td {
  border-bottom: none;
}

/* フッター */
.p-footer {
  background: #1a1a2e;
  padding: 1rem;
}

.p-footer__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1rem;
}

.p-footer__item a {
  font-size: 0.625rem;
  color: #aaa;
  transition: color 0.3s;
}

.p-footer__item a:hover {
  color: #fff;
}
