* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f7fbff 0, #eef7f5 460px, #fbfcfd 100%);
  color: #0d1e3a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.pl-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  padding: 0 clamp(16px, 4vw, 56px);
  border-bottom: 1px solid #dbe6ee;
  background: rgba(255, 255, 255, .97);
}

.pl-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.pl-brand span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #08794f;
  color: #fff;
  font-weight: 950;
}

.pl-brand b {
  font-size: 21px;
}

.pl-header nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pl-header nav a {
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid #d7e5e0;
  border-radius: 999px;
  background: #fff;
  color: #18305a;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.pl-page {
  width: min(1280px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 54px;
}

.pl-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: #617184;
  font-size: 13px;
  font-weight: 820;
}

.pl-breadcrumb a {
  text-decoration: none;
}

.pl-breadcrumb span::before {
  content: ">";
  margin-right: 8px;
  color: #9aa8b4;
}

.pl-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .42fr);
  gap: 22px;
  align-items: stretch;
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid #d8e5ee;
  border-radius: 14px;
  background:
    radial-gradient(circle at 78% 22%, rgba(65, 148, 215, .12), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(245, 252, 255, .94));
  box-shadow: 0 18px 48px rgba(21, 47, 84, .08);
}

.pl-tool-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 18px 0 0;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid #b9dfcd;
  border-radius: 10px;
  background: linear-gradient(135deg, #f2fff8 0, #ffffff 72%);
  box-shadow: 0 14px 34px rgba(8, 121, 79, .08);
}

.pl-tool-cta p {
  width: fit-content;
  margin: 0 0 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e1f8ee;
  color: #08794f;
  font-size: 14px;
  font-weight: 950;
}

.pl-tool-cta h2 {
  margin: 0;
  color: #0d1e3a;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.22;
}

.pl-tool-cta span {
  display: block;
  margin-top: 7px;
  color: #486174;
  font-size: 16px;
  font-weight: 850;
}

.pl-tool-cta a {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  background: #08a75c;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(8, 167, 92, .2);
}

.pl-kicker,
.pl-section-head p {
  margin: 0 0 7px;
  color: #08794f;
  font-size: 15px;
  font-weight: 950;
}

.pl-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 1.15;
}

.pl-lead {
  max-width: 880px;
  margin: 20px 0 0;
  color: #243a5f;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 780;
  line-height: 1.75;
}

.pl-quick {
  align-self: center;
  padding: 22px;
  border: 1px solid #cfe4dd;
  border-radius: 12px;
  background: #fff;
}

.pl-quick b {
  display: block;
  color: #08794f;
  font-size: 22px;
}

.pl-quick ol {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 1.4em;
  color: #213557;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.55;
}

.pl-section,
.pl-tools,
.pl-faq details,
.pl-related {
  border: 1px solid #d9e5ed;
  border-radius: 12px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 10px 30px rgba(21, 47, 84, .045);
}

.pl-section,
.pl-tools {
  margin: 16px 0;
  padding: clamp(20px, 3vw, 30px);
}

.pl-section-head h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.22;
}

.pl-template-grid,
.pl-case-grid,
.pl-privacy-grid,
.pl-source-grid,
.pl-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.pl-case-grid article {
  min-height: 190px;
  padding: 18px;
  border: 1px solid #d7e5e0;
  border-radius: 11px;
  background: #fbfefd;
}

.pl-case-grid h3 {
  margin: 0 0 10px;
  color: #08794f;
  font-size: 20px;
  line-height: 1.35;
}

.pl-case-grid p {
  margin: 0;
  color: #243a5f;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.72;
}

.pl-template-grid article {
  display: grid;
  gap: 12px;
  align-content: space-between;
  min-height: 270px;
  padding: 20px;
  border: 1px solid #d7e5e0;
  border-radius: 12px;
  background: #fbfefd;
}

.pl-template-grid h3,
.pl-rewrite h3 {
  margin: 0;
  color: #08794f;
  font-size: 22px;
}

.pl-template-grid p,
.pl-note,
.pl-tip p,
.pl-faq p {
  color: #243a5f;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.78;
}

.pl-template-grid button {
  min-height: 48px;
  border: 0;
  border-radius: 9px;
  background: #08794f;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 950;
  cursor: pointer;
}

.pl-template-grid button.is-copied {
  background: #0b5f82;
}

.pl-note {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f4f9ff;
}

.pl-rewrite {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 20px;
}

.pl-ng,
.pl-ok {
  overflow: hidden;
  border: 1px solid #dce8ef;
  border-radius: 12px;
  background: #fff;
}

.pl-ng h3,
.pl-ok h3 {
  padding: 15px 18px;
  border-bottom: 1px solid #dce8ef;
}

.pl-ng h3 {
  color: #b8322a;
  background: #fff7f7;
}

.pl-ok h3 {
  background: #f2fbf7;
}

.pl-ng p,
.pl-ok p {
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid #edf2f5;
  color: #233656;
  font-size: 16px;
  font-weight: 820;
}

.pl-ng p:last-child,
.pl-ok p:last-child {
  border-bottom: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 11px;
  font-size: 16px;
}

th,
td {
  padding: 16px;
  border: 1px solid #dce8ef;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

th {
  background: #eef7fb;
  color: #17345c;
  font-weight: 950;
}

td {
  color: #273b5b;
  font-weight: 760;
}

.pl-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .44fr);
  gap: 16px;
  margin: 16px 0;
}

.pl-split .pl-section {
  margin: 0;
}

.pl-check-card {
  display: grid;
  gap: 10px;
}

.pl-check-card label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #dce8ef;
  border-radius: 9px;
  background: #fbfefd;
  color: #18305a;
  font-size: 16px;
  font-weight: 860;
}

.pl-check-card input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #08794f;
}

.pl-tip {
  border-color: #b9d8f1;
  background: #f7fbff;
}

.pl-privacy-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pl-privacy-grid article,
.pl-source-grid a,
.pl-tool-grid a {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid #d7e5e0;
  border-radius: 11px;
  background: #fff;
  text-decoration: none;
}

.pl-privacy-grid b,
.pl-tool-grid b {
  color: #0d1e3a;
  font-size: 18px;
}

.pl-privacy-grid span,
.pl-tool-grid span {
  color: #596a7d;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.55;
}

.pl-source-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pl-source-grid a {
  color: #17345c;
  font-size: 15px;
  font-weight: 900;
}

.pl-source-grid a::after {
  content: "詳しく見る";
  color: #08794f;
  font-size: 13px;
}

.pl-faq {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.pl-faq summary {
  min-height: 58px;
  padding: 18px 22px;
  color: #0d1e3a;
  font-size: 18px;
  font-weight: 950;
  cursor: pointer;
}

.pl-faq p {
  margin: 0;
  padding: 0 22px 20px;
}

.pl-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px;
}

.pl-related a {
  min-height: 42px;
  padding: 11px 14px;
  border: 1px solid #dce8ef;
  border-radius: 999px;
  background: #fff;
  color: #18305a;
  font-weight: 850;
  text-decoration: none;
}

.pl-footer {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 28px;
  background: #08243c;
  color: #fff;
}

.pl-footer a {
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 980px) {
  .pl-hero,
  .pl-template-grid,
  .pl-case-grid,
  .pl-rewrite,
  .pl-split,
  .pl-privacy-grid,
  .pl-source-grid,
  .pl-tool-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pl-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 14px;
  }
}

@media (max-width: 640px) {
  .pl-page {
    width: min(100% - 20px, 1280px);
    padding-top: 10px;
  }

  .pl-header nav {
    display: none;
  }

  .pl-brand b {
    font-size: 18px;
  }

  .pl-hero {
    padding: 20px 16px;
  }

  .pl-hero h1 {
    font-size: 30px;
  }

  .pl-lead {
    font-size: 16px;
    line-height: 1.68;
  }

  .pl-quick {
    padding: 16px;
  }

  .pl-section,
  .pl-tools {
    padding: 16px;
  }

  .pl-tool-cta {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
  }

  .pl-tool-cta h2 {
    font-size: 24px;
  }

  .pl-tool-cta a {
    width: 100%;
    min-height: 54px;
    white-space: normal;
    text-align: center;
  }

  .pl-section-head h2 {
    font-size: 25px;
  }

  .pl-template-grid article {
    min-height: 0;
    padding: 16px;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    margin-bottom: 10px;
    border: 1px solid #dce8ef;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
  }

  td {
    border: 0;
    border-bottom: 1px solid #edf2f5;
    font-size: 15px;
  }

  td:last-child {
    border-bottom: 0;
  }

  td::before {
    display: block;
    margin-bottom: 4px;
    color: #08794f;
    font-size: 12px;
    font-weight: 950;
  }

  td:nth-child(1)::before {
    content: "避けたい文";
  }

  td:nth-child(2)::before {
    content: "やさしい文";
  }

  .pl-footer {
    flex-direction: column;
    align-items: center;
  }
}
