.p-page-hero {
  position: relative;
  color: #ffffff;
  padding: 60px 0 60px;
  overflow: hidden;
}

.p-page-hero__breadcrumb-bar {
  background-color: #ffffff;
}

.p-page-hero__breadcrumb {
  margin: 0 auto 8px;
  padding: 0 24px;
  font-size: 12px;
  color: #888888;
  display: flex;
  gap: 8px;
  max-width: 1248px;
}

.p-page-hero__breadcrumb a,
.p-page-hero__breadcrumb span,
.p-page-hero__breadcrumb-sep {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.p-page-hero__breadcrumb a:hover {
  color: #212529;
}

.p-page-hero__breadcrumb span[aria-current=page] {
  color: #212529;
}

.p-page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 701;
}
.p-page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-page-hero__inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 801;
}

.p-page-hero__en {
  margin: 0 0 8px;
  font-size: 1.125rem;
  color: #48a6ff;
}

.p-page-hero__title {
  margin: 0 0 48px;
  font-size: 32px;
  font-weight: 500;
}

.p-page-hero__lead {
  margin: 0 0 36px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
}

.p-page-hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
@media (max-width: 767px) {
  .p-page-hero__actions {
    flex-direction: column-reverse;
    align-items: stretch;
    width: fit-content;
  }
}

.p-page-hero--simple {
  background-color: #ffffff;
  color: #212529;
  padding: 60px 0 60px;
}
.p-page-hero--simple .p-page-hero__title {
  color: inherit;
  text-align: left;
  margin-bottom: 0;
}
.p-page-hero--simple .p-page-hero__en {
  color: #005aad;
  text-align: left;
}

.p-page-hero--simple--with-bg {
  background-color: #00152b;
  color: #ffffff;
}
.p-page-hero--simple--with-bg .p-page-hero__title {
  color: #ffffff;
}
.p-page-hero--simple--with-bg .p-page-hero__en {
  color: #7bbfff;
}

.p-page-hero--simple__inner {
  position: relative;
  z-index: 801;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: left;
}

@media (min-width: 768px) and (max-width: 1279px) {
  .p-page-hero__breadcrumb {
    padding: 0 24px;
  }
}
@media (max-width: 767px) {
  .p-page-hero {
    padding: 96px 0 80px;
  }
  .p-page-hero__breadcrumb {
    padding: 0 16px;
    font-size: 0.75rem;
  }
  .p-page-hero__lead {
    font-size: 14px;
  }
  .p-page-hero--simple {
    padding: 60px 0;
  }
  .p-page-hero--simple__inner {
    align-items: center;
    padding: 0 16px;
    text-align: center;
  }
  .p-page-hero--simple .p-page-hero__title,
.p-page-hero--simple .p-page-hero__en {
    text-align: center;
  }
}
.p-legal-policy__content {
  font-size: 16px;
  line-height: 1.7;
  color: #212529;
}
.p-legal-policy__content > * + * {
  margin-top: 32px;
}
.p-legal-policy__content h2,
.p-legal-policy__content h3 {
  margin: 48px 0 24px;
  font-weight: 500;
  color: #212529;
}
.p-legal-policy__content h2 {
  font-size: 24px;
}
.p-legal-policy__content h3 {
  font-size: 22px;
}
.p-legal-policy__content h4 {
  font-size: 20px;
  font-weight: 500;
}
.p-legal-policy__content p {
  margin: 24px 0 0;
}
.p-legal-policy__content p:first-child {
  margin-top: 0;
}
.p-legal-policy__content ul,
.p-legal-policy__content ol {
  padding-left: 1.4em;
  color: #212529;
}
.p-legal-policy__content li + li {
  margin-top: 0.5em;
}
.p-legal-policy__content strong {
  font-weight: 500;
}
.p-legal-policy__content a {
  color: #005aad;
  text-decoration: underline;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
}
.p-legal-policy__content a:hover {
  color: #212529;
}
.p-legal-policy__content a[target=_blank]::after {
  content: "";
  width: 16px;
  height: 16px;
  margin-left: 6px;
  background-color: #005aad;
  mask: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 2.5C7.5 2.77614 7.27614 3 7 3H2C1.44772 3 1 3.44772 1 4V15C1 15.5523 1.44772 16 2 16H13C13.5523 16 14 15.5523 14 15V10C14 9.72386 14.2239 9.5 14.5 9.5C14.7761 9.5 15 9.72386 15 10V16C15 16.5523 14.5523 17 14 17H1C0.447715 17 0 16.5523 0 16V3C0 2.44772 0.447715 2 1 2H7C7.27614 2 7.5 2.22386 7.5 2.5Z' fill='white'/%3E%3Cpath d='M16.5 0.5L10 7' stroke='white' stroke-linecap='round'/%3E%3Cline x1='16.5' y1='0.5' x2='9.5' y2='0.5' stroke='white' stroke-linecap='round'/%3E%3Cline x1='16.5' y1='0.5' x2='16.5' y2='7.5' stroke='white' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 2.5C7.5 2.77614 7.27614 3 7 3H2C1.44772 3 1 3.44772 1 4V15C1 15.5523 1.44772 16 2 16H13C13.5523 16 14 15.5523 14 15V10C14 9.72386 14.2239 9.5 14.5 9.5C14.7761 9.5 15 9.72386 15 10V16C15 16.5523 14.5523 17 14 17H1C0.447715 17 0 16.5523 0 16V3C0 2.44772 0.447715 2 1 2H7C7.27614 2 7.5 2.22386 7.5 2.5Z' fill='white'/%3E%3Cpath d='M16.5 0.5L10 7' stroke='white' stroke-linecap='round'/%3E%3Cline x1='16.5' y1='0.5' x2='9.5' y2='0.5' stroke='white' stroke-linecap='round'/%3E%3Cline x1='16.5' y1='0.5' x2='16.5' y2='7.5' stroke='white' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.p-legal-policy__content blockquote {
  margin: 0;
  padding: 24px;
  border-left: 4px solid #005aad;
  background-color: #e6e6e6;
  color: #6e6f70;
}
.p-legal-policy__content blockquote p {
  margin: 0;
  font-style: normal;
}
.p-legal-policy__content blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: #888888;
}
.p-legal-policy__content .wp-block-table {
  overflow-x: auto;
}
.p-legal-policy__content .wp-block-group {
  padding: 16px;
  border: 1px solid #212529;
}
.p-legal-policy__content .wp-block-group > .wp-block-group__inner-container > :first-child {
  margin-top: 0;
}
.p-legal-policy__content .wp-block-group > .wp-block-group__inner-container > :last-child {
  margin-bottom: 0;
}
.p-legal-policy__content .wp-block-buttons {
  margin: 32px 0 0;
}
.p-legal-policy__content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.p-legal-policy__content table th,
.p-legal-policy__content table td {
  min-width: 120px;
  padding: 16px;
  border: 1px solid #e3e3e3;
  text-align: left;
}
.p-legal-policy__content table th {
  background-color: #a9d5ff;
  font-weight: 500;
}
.p-legal-policy__content .wp-block-button {
  margin: 0;
}
.p-legal-policy__content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 0;
  border: 1px solid transparent;
  font-family: "Local Noto Sans JP", "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: normal;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
  border-color: #005aad;
  color: #005aad;
  background-color: #ffffff;
  text-decoration: none;
  border-radius: 0;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.p-legal-policy__content .wp-block-button__link:hover {
  background-color: white;
  box-shadow: 0 8px 20px rgba(0, 32, 96, 0.18);
  transform: translateY(-1px);
}
.p-legal-policy__content .wp-block-button__link:hover {
  color: #212529;
  border-color: #212529;
  background-color: #ffffff;
  box-shadow: none;
  transform: none;
}
.p-legal-policy__content .wp-block-image img,
.p-legal-policy__content .wp-block-gallery img {
  width: 100%;
  height: auto;
}
.p-legal-policy__content figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: #888888;
  text-align: center;
}
@media (max-width: 767px) {
  .p-legal-policy__content {
    font-size: 16px;
  }
  .p-legal-policy__content h2,
.p-legal-policy__content h3 {
    margin: 32px 0 16px;
  }
  .p-legal-policy__content table th,
.p-legal-policy__content table td {
    min-width: auto;
    padding: 12px;
  }
}

.p-legal-policy {
  padding-top: 0;
  padding-bottom: 120px;
}
.p-legal-policy__article {
  max-width: 100%;
}
@media (min-width: 768px) and (max-width: 1279px) {
  .p-legal-policy__article {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
}
.p-legal-policy__intro {
  margin-bottom: 32px;
}
.p-legal-policy__lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #888888;
}
.p-legal-policy__content {
  margin-top: 40px;
}
.p-legal-policy__empty {
  margin: 0;
  text-align: center;
  font-size: 16px;
  color: #888888;
}
.p-legal-policy__pagination {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
.p-legal-policy__pagination a,
.p-legal-policy__pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 0;
  border: 1px solid transparent;
  font-family: "Local Noto Sans JP", "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: normal;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
  border: 1px solid #e3e3e3;
  color: #212529;
  background-color: #ffffff;
  font-size: 14px;
}
.p-legal-policy__pagination a:hover {
  border-color: #005aad;
  color: #005aad;
}
@media (max-width: 767px) {
  .p-legal-policy__intro {
    margin-bottom: 24px;
  }
  .p-legal-policy__lead {
    font-size: 16px;
  }
  .p-legal-policy__empty {
    font-size: 16px;
  }
}
