/* ----------------------------------------
  privacy policy page
---------------------------------------- */
.privacy-body {
  padding-bottom: 0;
  background-color: #f8f8f8;
  background-image: url("../images/common/reasons-overview_bg.webp");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.privacy-body::before {
  content: none;
}

/* header */
.privacy-header {
  padding: 1.25rem 1.5rem;
  background-color: #fff;
  border-bottom: 1px solid #ececec;
}

.privacy-header__inner {
  max-width: 48rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.privacy-header__logo {
  display: inline-block;
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  /* problem_bg_gradient.svg のグラデーション色を四角に適用（形は四角、色のみ） */
  background-color: #07529a;
  background-image: url("../images/common/problem_bg_gradient.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 4px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: #fff;
  white-space: nowrap;
}

.privacy-header__back {
  display: inline-block;
  flex-shrink: 0;
  padding: 0.5rem 1.1rem;
  border: 1px solid #3b79b7;
  border-radius: 999px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #3b79b7;
  white-space: nowrap;
}

/* main */
.privacy {
  padding: 2.5rem 1.25rem 4rem;
  font-family: "Zen Old Mincho", serif;
  color: #3e3a39;
}

/* スマホでの不自然な改行を抑える（文節単位で折り返し＋英字URLは折り返し可） */
.privacy__intro,
.privacy__text,
.privacy__list,
.privacy__dl,
.privacy__contact,
.privacy__note {
  line-break: strict;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.privacy__heading {
  word-break: auto-phrase;
}

.privacy__inner {
  max-width: 48rem;
  margin-inline: auto;
  padding: 2.5rem 1.75rem 3rem;
  background-color: rgba(255, 255, 255, 0.96);
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 480px) {
  .privacy {
    padding: 1.5rem 0.75rem 3rem;
  }
  .privacy__inner {
    padding: 1.75rem 1.1rem 2.25rem;
  }
}

.privacy__title {
  font-weight: 700;
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem);
  line-height: 1.5;
  text-align: center;
}

.privacy__intro {
  margin-top: 1.5rem;
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.9;
}

/* sections */
.privacy__section {
  margin-top: 2.75rem;
}

.privacy__heading {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding-bottom: 0.625rem;
  border-bottom: 2px solid #3b79b7;
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.5;
}

.privacy__heading-num {
  color: #3b79b7;
  font-size: 1.375rem;
}

.privacy__text {
  margin-top: 1rem;
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.9;
}

.privacy__text + .privacy__text {
  margin-top: 1rem;
}

.privacy__note {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background-color: #f4f7fb;
  border-left: 3px solid #3b79b7;
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.85;
}

/* lists */
.privacy__list {
  margin-top: 1rem;
  padding-left: 1.5rem;
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.85;
  list-style: disc;
}

.privacy__list-item:not(:first-child) {
  margin-top: 0.4rem;
}

/* definition rows (事業者情報・共同利用 等) */
.privacy__dl {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1rem;
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.privacy__dt {
  font-weight: 500;
  white-space: nowrap;
}

.privacy__dd {
  margin: 0;
}

@media (max-width: 480px) {
  .privacy__dl {
    grid-template-columns: 1fr;
    gap: 0.1rem 0;
  }
  .privacy__dt {
    margin-top: 0.6rem;
    white-space: normal;
  }
  .privacy__dt:first-child {
    margin-top: 0;
  }
}

/* external-transmission table (14) */
.privacy__table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
}

.privacy__table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-weight: 300;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.privacy__table th,
.privacy__table td {
  padding: 0.625rem 0.75rem;
  border: 1px solid #dcdcdc;
  text-align: left;
  vertical-align: top;
}

.privacy__table thead th {
  background-color: #3b79b7;
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
}

.privacy__table tbody th {
  background-color: #f4f7fb;
  font-weight: 500;
}

.privacy__table a {
  color: #3b79b7;
  word-break: break-all;
  text-decoration: underline;
}

/* contact block */
.privacy__contact {
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
  background-color: #fff;
  border: 1px solid #ececec;
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.85;
}

.privacy__contact-name {
  font-weight: 700;
}

.privacy__contact a {
  color: #3b79b7;
  text-decoration: underline;
}

/* dates */
.privacy__dates {
  margin-top: 2.75rem;
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.7;
  text-align: right;
  color: #666;
}

/* back link */
.privacy__back {
  margin-top: 2.5rem;
  text-align: center;
}

.privacy__back-link {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid #3b79b7;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9375rem;
  color: #3b79b7;
}
