.pmark-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ヒーローセクション */
.pmark-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.pmark-hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.pmark-hero-title {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  font-size: 3rem;
  font-weight: 300;
  color: #FFF;
  letter-spacing: 0.1em;
  margin: 0;
}

/* メインコンテンツ */
.pmark-content-wrapper {
  max-width: var(--container-width-ncta-button-icon);
  margin: 0 auto;
  padding: 4rem 2rem;
  flex: 1;
}

/* 文書スタイル */
.pmark-document {
  background-color: #fff;
  padding: 3rem;
  position: relative;
}

/* 文書番号（右上） */
.document-number {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 0.9rem;
  color: #666;
}

/* タイトル */
.document-title {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin: 3rem 0 4rem 0;
  letter-spacing: 0.2em;
}

/* 制定・改定日（右寄せ） */
.document-info {
  text-align: right;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.document-info p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
  color: #333;
}

.representative-name {
  font-size: 1.1rem !important;
  font-weight: bold;
  letter-spacing: 0.5em;
  margin-top: 0.5rem !important;
}

/* 前文 */
.document-preface {
  margin-bottom: 2rem;
  text-align: justify;
}

.document-preface p {
  font-size: 0.95rem;
  color: #333;
  line-height: 2;
  margin: 0;
  text-indent: 1em;
}

/* 本文（箇条書き） */
.document-body {
  margin-bottom: 3rem;
}

.document-body ol {
  list-style: none;
  counter-reset: item;
  padding: 0;
  margin: 0;
}

.document-body ol li {
  counter-increment: item;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: #333;
  line-height: 2;
  text-align: justify;
  position: relative;
  padding-left: 2em;
}

.document-body ol li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  font-weight: normal;
}

/* 以上 */
.document-end {
  text-align: right;
  font-size: 1rem;
  color: #333;
  margin-top: 2rem;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .pmark-hero-title {
    font-size: 2rem;
    left: 5%;
  }

  .pmark-content-wrapper {
    padding: 2rem 1rem;
  }

  .pmark-document {
    padding: 2rem 1.5rem;
  }

  .document-number {
    position: static;
    text-align: right;
    margin-bottom: 1rem;
    font-size: 0.85rem;
  }

  .document-title {
    font-size: 1.5rem;
    margin: 2rem 0 3rem 0;
  }

  .document-info p {
    font-size: 0.9rem;
  }

  .representative-name {
    font-size: 1rem !important;
  }

  .document-preface p,
  .document-body ol li {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  .document-body ol li {
    padding-left: 1.5em;
  }
}

/* お問い合わせ窓口セクション */
.contact-section {
  margin: 2rem auto 0;
  padding: 0 2rem;
}

.contact-title {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 1.5rem 0;
  letter-spacing: 0.1em;
}

.contact-text {
  font-size: 0.95rem;
  color: #333;
  line-height: 2;
  margin: 0 0 2rem 0;
}

.contact-box {
  background-color: #f5f5f5;
  padding: 2rem;
  margin-bottom: 4rem;
}

.contact-box p {
  font-size: 0.95rem;
  color: #333;
  line-height: 2;
  margin: 0.5rem 0;
}

/* 個人情報の取扱いについて */
.privacy-handling-section {
  max-width: var(--container-width-ncta-button-icon);
  margin: 4rem auto 4rem;
  padding: 0 2rem;
}

.privacy-handling-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 2rem 0;
  letter-spacing: 0.05em;
}

.privacy-handling-subsection {
  margin-bottom: 2rem;
}

.privacy-handling-subsection h3 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 1rem 0;
}

.privacy-handling-subsection p {
  font-size: 0.9rem;
  color: #333;
  line-height: 2;
  margin: 0.5rem 0;
  padding-left: 1em;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0 3rem;
  border: 1px solid #999;
}

.privacy-table thead th {
  background-color: #a9a9a9;
  padding: 1rem;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  border: 1px solid #999;
  text-align: center;
}

.privacy-table tbody td {
  padding: 1.2rem 1rem;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.8;
  border: 1px solid #999;
  vertical-align: center;
  text-align: center;
}
.privacy-table td:nth-child(2) {
  text-align: left;
}

.privacy-table tbody td.small-text {
  font-size: 0.85rem;
}

/* 保有個人データに関する事項の周知 */
.privacy-disclosure-section {
  margin-top: 3rem;
}

.privacy-disclosure-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 1.5rem 0;
  display: inline-block;
  padding-left: 0.5em;
  position: relative;
}

.privacy-disclosure-title::before {
  content: "■";
  position: absolute;
  left: 0;
}

.privacy-disclosure-text {
  font-size: 0.9rem;
  color: #333;
  line-height: 2;
  margin: 1rem 0;
}

.privacy-disclosure-items {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

.privacy-disclosure-items li {
  display: flex;
  align-items: flex-start; /* 上揃えにする */
  font-size: 0.9rem;
  color: #333;
  line-height: 2;
  margin: 1rem 0;
}

.privacy-disclosure-items .item-label {
  display: inline-block;
  min-width: 30px;
}

.privacy-disclosure-items .item-content {
  display: inline-block;
}

.privacy-disclosure-items .item-detail {
  display: block;
  padding-left: 1em;
  margin: 0.3rem 0;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 0 1rem;
    margin: 3rem auto 0;
  }

  .contact-title {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
  }

  .contact-text {
    font-size: 0.9rem;
  }

  .contact-box {
    padding: 1.5rem;
    margin-bottom: 3rem;
  }

  .contact-box p {
    font-size: 0.9rem;
  }

  .privacy-handling-section {
    padding: 0 1rem;
    margin: 3rem auto 3rem;
  }

  .privacy-handling-title {
    font-size: 1.3rem;
  }

  .privacy-handling-subsection h3 {
    font-size: 1rem;
  }

  .privacy-handling-subsection p {
    font-size: 0.85rem;
  }

  .privacy-table {
    font-size: 0.85rem;
  }

  .privacy-table thead th {
    padding: 0.8rem 0.5rem;
    font-size: 0.9rem;
  }

  .privacy-table tbody td {
    padding: 0.8rem 0.5rem;
    font-size: 0.85rem;
  }

  .privacy-table tbody td.small-text {
    font-size: 0.8rem;
  }

  .privacy-disclosure-title {
    font-size: 1rem;
  }

  .privacy-disclosure-text,
  .privacy-disclosure-items li {
    font-size: 0.85rem;
  }
}
