/* ===== LAW PAGE ===== */

/* ===== コンテンツラッパー ===== */
.law-content {
  background: var(--bg);
  padding: 80px 0 100px;
}

/* ===== 白カード ===== */
.law-card {
  width: 1144px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  background: var(--white);
  padding: 56px 64px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), calc(100% - 44px) 100%, 0 100%);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .65s ease .1s, transform .65s ease .1s;
}
.law-card.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* ===== カード内見出し ===== */
.law-card__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}
.law-card__title-line {
  width: 100%;
  height: 3px;
  background: var(--orange);
}
.law-card__title-text {
  font-family: 'M PLUS 2', sans-serif;
  font-weight: 500;
  font-size: 35px;
  color: var(--orange);
  letter-spacing: .1em;
  text-align: center;
}

/* ===== テーブル ===== */
.law-table {
  width: 100%;
  border-collapse: collapse;
}
.law-table tr {
  border-bottom: 1px solid #ccc;
}
.law-table tr:first-child {
  border-top: 1px solid #ccc;
}
.law-table th,
.law-table td {
  font-family: 'Noto Sans JP', sans-serif;
  padding: 18px 12px;
  line-height: 1.7;
  text-align: left;
  vertical-align: top;
}
.law-table th {
  font-weight: 700;
  font-size: 16px;
  color: #000;
  white-space: nowrap;
  width: 220px;
  padding-right: 24px;
  flex-shrink: 0;
}
.law-table td {
  font-weight: 400;
  font-size: 16px;
  color: #000;
}

/* ===== 1100px以下 ===== */
@media (max-width: 1100px) {
  .law-card { padding: 40px 40px; }
  .law-table th { width: 180px; font-size: 15px; }
  .law-table td { font-size: 15px; }
}

/* ===== 900px以下 ===== */
@media (max-width: 900px) {
  .law-content { padding: 48px 0 72px; }
  .law-card { padding: 32px 24px; max-width: calc(100% - 32px); }
  .law-card__title-text { font-size: 24px; }
  .law-card__title { gap: 14px; margin-bottom: 28px; }
  .law-table th { width: 150px; font-size: 14px; }
  .law-table td { font-size: 14px; }
}

/* ===== 600px以下 ===== */
@media (max-width: 600px) {
  .law-content { padding: 36px 0 60px; }
  .law-card { padding: 24px 16px; max-width: calc(100% - 24px); }
  .law-table tr { display: flex; flex-direction: column; }
  .law-table th {
    width: 100%;
    padding-bottom: 4px;
    padding-right: 12px;
    font-size: 14px;
    border-bottom: none;
  }
  .law-table td {
    font-size: 14px;
    padding-top: 0;
  }
}
