@layer page {
  /* Consolidated page styles for proper-management.html */
  /* Page-specific styles for proper-management.html */
  .breadcrumb-bar {
    background: #fff;
    border-bottom: 1px solid #d8dee8;
  }
  .breadcrumb-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 11px 24px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #475569;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
  }
  .breadcrumb-inner a {
    color: #06c;
    text-decoration: none;
  }
  .breadcrumb-inner a:hover {
    text-decoration: underline;
  }
  .breadcrumb-inner .current {
    color: #334155;
  }
  .pm-hero {
    background: linear-gradient(135deg, #fff 0%, #f3f7fb 54%, #eef4fb 100%);
    border-bottom: 1px solid #dbe4ef;
  }
  .pm-hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 72px 24px 58px;
  }
  .pm-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(212, 175, 55, 0.55);
    background: #fff9e6;
    color: #17345c;
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: 900;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
  }
  .pm-title {
    font-family: "Noto Serif JP", serif;
    color: #0b2545;
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 1.18;
    margin: 0 0 22px;
    font-weight: 900;
    letter-spacing: -0.03em;
  }
  .pm-title span {
    color: #d4af37;
  }
  .pm-lead {
    max-width: 860px;
    font-size: clamp(1.02rem, 1.8vw, 1.22rem);
    line-height: 2;
    color: #23384f;
    font-weight: 700;
    margin: 0 0 28px;
  }
  .pm-hero-note {
    max-width: 860px;
    border-left: 6px solid #d4af37;
    background: #fff;
    padding: 18px 22px;
    border-radius: 0 14px 14px 0;
    color: #334155;
    line-height: 1.95;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  }
  .pm-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 56px 24px 84px;
  }
  .pm-section {
    margin: 0 0 64px;
  }
  .pm-section h2 {
    font-family: "Noto Serif JP", serif;
    color: #0b2545;
    font-size: clamp(1.55rem, 3vw, 2.3rem);
    line-height: 1.45;
    margin: 0 0 20px;
    border-left: 8px solid #d4af37;
    padding-left: 18px;
  }
  .pm-section h3 {
    color: #17345c;
    font-size: 1.2rem;
    margin: 30px 0 12px;
  }
  .pm-section p {
    font-size: 1rem;
    line-height: 2;
    max-width: 900px;
    color: #26384e;
    margin: 0 0 16px;
  }
  .pm-definition {
    font-family: "Noto Serif JP", serif;
    font-size: clamp(1.35rem, 2.8vw, 2.05rem);
    line-height: 1.65;
    color: #102a4c;
    font-weight: 900;
    border-top: 3px solid #0b2545;
    border-bottom: 1px solid #cbd5e1;
    padding: 28px 0;
    margin: 22px 0 30px;
  }
  .pm-definition em {
    font-style: normal;
    color: #d86100;
  }
  .pm-rule-list {
    counter-reset: pmrule;
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    gap: 20px;
  }
  .pm-rule-list li {
    counter-increment: pmrule;
    position: relative;
    padding: 22px 24px 22px 78px;
    background: #fff;
    border: 1px solid #d9e2ef;
    border-left: 6px solid #17345c;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  }
  .pm-rule-list li::before {
    content: counter(pmrule);
    position: absolute;
    left: 22px;
    top: 22px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #17345c;
    color: #fff;
    font-weight: 900;
  }
  .pm-rule-list strong {
    display: block;
    color: #0b2545;
    font-size: 1.08rem;
    margin-bottom: 8px;
  }
  .pm-rule-list span {
    display: block;
    line-height: 1.9;
    color: #334155;
  }
  .pm-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: #fff;
    border: 1px solid #d9e2ef;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  }
  .pm-table th,
  .pm-table td {
    border: 1px solid #d9e2ef;
    padding: 16px 18px;
    vertical-align: top;
    line-height: 1.8;
    text-align: left;
  }
  .pm-table th {
    background: #f2f6fb;
    color: #0b2545;
    font-weight: 900;
    white-space: nowrap;
  }
  .pm-steps {
    display: grid;
    gap: 16px;
    margin-top: 26px;
  }
  .pm-step {
    border-left: 6px solid #d4af37;
    background: #fffdf6;
    padding: 18px 22px;
    border-radius: 0 12px 12px 0;
  }
  .pm-step strong {
    display: block;
    color: #0b2545;
    margin-bottom: 6px;
    font-size: 1.05rem;
  }
  .pm-step span {
    line-height: 1.9;
    color: #334155;
  }
  .pm-link-band {
    background: #0b2545;
    color: #fff;
    border-radius: 18px;
    padding: 30px;
    margin-top: 30px;
  }
  .pm-link-band h2 {
    color: #fff;
    border-left-color: #d4af37;
    margin-bottom: 16px;
  }
  .pm-link-band p {
    color: #e2e8f0;
  }
  .pm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
  }
  .pm-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 900;
    background: #d4af37;
    color: #0b2545;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  }
  .pm-actions a.secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: none;
  }
  @media (max-width: 720px) {
    .pm-hero-inner {
      padding: 48px 20px 42px;
    }
    .pm-wrap {
      padding: 40px 20px 64px;
    }
    .pm-rule-list li {
      padding-left: 22px;
      padding-top: 72px;
    }
    .pm-rule-list li::before {
      top: 22px;
    }
    .pm-table {
      display: block;
      overflow-x: auto;
    }
    .pm-actions a {
      width: 100%;
    }
  }

  /* Page-specific styles for proper-management.html */
  body.proper-management-editorial .breadcrumb-bar {
    display: none;
  }
  body.proper-management-editorial .pm-kicker {
    border-radius: 3px;
    text-transform: none;
    letter-spacing: 0.04em;
  }
  body.proper-management-editorial .pm-wrap {
    max-width: 920px;
    padding: 64px 24px 96px;
  }
  body.proper-management-editorial .pm-section {
    margin: 0;
    padding: 40px 0 48px;
    border-top: 1px solid #cfd8e2;
  }
  body.proper-management-editorial .pm-section:first-child {
    border-top: 2px solid #17345c;
  }
  body.proper-management-editorial .pm-section h2 {
    border-left: 0;
    padding-left: 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #17345c;
  }
  body.proper-management-editorial .pm-rule-list {
    display: block;
  }
  body.proper-management-editorial .pm-rule-list li {
    margin: 0;
    padding: 24px 0 24px 58px;
    background: #fff;
    border: 0;
    border-top: 1px solid #dbe4ee;
    border-radius: 0;
    box-shadow: none;
  }
  body.proper-management-editorial .pm-rule-list li:last-child {
    border-bottom: 1px solid #dbe4ee;
  }
  body.proper-management-editorial .pm-rule-list li::before {
    left: 0;
    top: 22px;
    width: 34px;
    height: 34px;
    border-radius: 2px;
  }
  body.proper-management-editorial .pm-table {
    border-radius: 0;
    box-shadow: none;
  }
  body.proper-management-editorial .pm-step {
    margin: 0;
    padding: 22px 0;
    background: #fff;
    border: 0;
    border-top: 1px solid #dbe4ee;
    border-radius: 0;
  }
  body.proper-management-editorial .pm-step:last-child {
    border-bottom: 1px solid #dbe4ee;
  }
  body.proper-management-editorial .pm-link-band {
    margin-top: 0;
    padding: 40px 0 0;
    background: #fff;
    color: #26384e;
    border-radius: 0;
    border-top: 1px solid #cfd8e2;
  }
  body.proper-management-editorial .pm-link-band h2 {
    color: #0b2545;
  }
  body.proper-management-editorial .pm-link-band p {
    color: #334155;
  }
  body.proper-management-editorial .pm-actions {
    display: block;
    margin-top: 18px;
  }
  body.proper-management-editorial .pm-actions a,
  body.proper-management-editorial .pm-actions a.secondary {
    display: block;
    width: auto;
    padding: 14px 0;
    background: #fff;
    color: #174f7d;
    border: 0;
    border-bottom: 1px solid #dbe4ee;
    border-radius: 0;
    box-shadow: none;
    text-decoration: underline;
    text-underline-offset: 0.18em;
  }
  body.proper-management-editorial main a:hover {
    transform: none;
    box-shadow: none;
  }
  @media (max-width: 720px) {
    body.proper-management-editorial .pm-wrap {
      padding: 48px 18px 72px;
    }
    body.proper-management-editorial .pm-rule-list li {
      padding: 22px 0 22px 50px;
    }
  }
}
