/* ============================================================
   subpage.css — サブページ共通スタイル（/law/ /terms/ 共用）
   ============================================================ */

/* ── Hero ── */
.law-hero {
  position: relative;
  height: 70px;
  background: #111;
  overflow: hidden;
}
.law-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg-pc.png');
  background-size: cover;
  background-position: center top;
  filter: blur(8px) brightness(0.55);
  transform: scale(1.06);
}
.law-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 100%);
}
.law-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.law-hero__logo img {
  height: 32px;
  width: auto;
  display: block;
}
.law-hero__breadcrumb {
  padding: 12px 24px 40px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ── Card ── */
.law-card {
  width: calc(100% - 48px);
  max-width: 900px;
  margin: -36px auto 0;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  margin-bottom: 20px;
}

/* ── Title ── */
.law-title {
  font-size: 38px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.39;
  letter-spacing: -0.025em;
  text-align: center;
  padding-bottom: 0.5rem;
}

/* ── Footer ── */
.law-footer {
  background: #000;
  border-radius: 0 0 30px 30px;
  padding: 22px 24px 24px;
  text-align: center;
}
.law-footer__nav {
  font-size: 12px;
  font-weight: 400;
  color: #fff;
  line-height: 2;
  margin-bottom: 10px;
}
.law-footer__nav a { color: #fff; }
.law-footer__nav a:hover { color: #95FF00; }
.law-footer__copy {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .law-hero { height: 70px; }
  .law-card { width: calc(100% - 32px); margin-top: -24px; }
  .law-title { font-size: 26px; margin-bottom: 20px; }
}

/* ── PC (768px+) ── */
@media (min-width: 768px) {
  .law-hero { height: 70px; }
  .law-hero__inner {
    max-width: none;
    padding: 14px 34px 0;
  }
  .law-hero__breadcrumb {
    padding: 14px 34px 64px;
  }
  .law-card {
    width: calc(100% - 88px);
    max-width: 1000px;
    margin-top: -40px;
  }
  .law-title br { display: none; }
  .law-footer {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 44px;
    height: 54px;
  }
  .law-footer__nav {
    margin-bottom: 0;
    line-height: 1;
  }
  .law-footer__nav br { display: none; }
  .law-footer__copy { color: rgba(255, 255, 255, 0.6); }
}
