.c-documents-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
}
@media (min-width: 768px) and (max-width: 1279px) {
  .c-documents-grid {
    gap: 32px;
  }
}
@media (max-width: 767px) {
  .c-documents-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

.c-doc-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #212529;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}
.c-doc-card:hover {
  background-color: #c5e3ff;
}
.c-doc-card__media {
  position: relative;
  width: 100%;
  margin-bottom: 32px;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.c-doc-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 768px) and (max-width: 1279px) {
  .c-doc-card__media {
    margin-bottom: 20px;
  }
}
@media (max-width: 767px) {
  .c-doc-card__media {
    margin-bottom: 20px;
  }
}
.c-doc-card__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
@media (min-width: 768px) and (max-width: 1279px) {
  .c-doc-card__body {
    gap: 16px;
  }
}
@media (max-width: 767px) {
  .c-doc-card__body {
    gap: 12px;
  }
}
.c-doc-card__title-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 0;
}
.c-doc-card__title {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  color: inherit;
}
@media (max-width: 767px) {
  .c-doc-card__title {
    font-size: 20px;
  }
}
.c-doc-card__content {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
@media (min-width: 768px) and (max-width: 1279px) {
  .c-doc-card__content {
    align-items: flex-end;
    gap: 16px;
  }
}
.c-doc-card__excerpt {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #888888;
}
@media (max-width: 767px) {
  .c-doc-card__excerpt {
    font-size: 16px;
    line-height: 30px;
  }
}
.c-doc-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.c-doc-card__cta--mobile {
  display: none;
}
@media (max-width: 767px) {
  .c-doc-card__cta--desktop {
    display: none;
  }
  .c-doc-card__cta--mobile {
    display: inline-flex;
    margin-left: 0;
  }
}
.c-doc-card__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #005aad;
  color: #005aad;
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.c-doc-card__cta-icon svg {
  width: 18px;
  height: 18px;
}
.c-doc-card:hover .c-doc-card__cta-icon {
  border-color: #212529;
  color: #212529;
}
@media (max-width: 767px) {
  .c-doc-card__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .c-doc-card__title-row {
    align-items: center;
  }
}

.p-doc-download__content {
  font-size: 16px;
  line-height: 1.7;
  color: #212529;
}
.p-doc-download__content > * + * {
  margin-top: 32px;
}
.p-doc-download__content h2,
.p-doc-download__content h3 {
  margin: 48px 0 24px;
  font-weight: 500;
  color: #212529;
}
.p-doc-download__content h2 {
  font-size: 24px;
}
.p-doc-download__content h3 {
  font-size: 22px;
}
.p-doc-download__content h4 {
  font-size: 20px;
  font-weight: 500;
}
.p-doc-download__content p {
  margin: 24px 0 0;
}
.p-doc-download__content p:first-child {
  margin-top: 0;
}
.p-doc-download__content ul,
.p-doc-download__content ol {
  padding-left: 1.4em;
  color: #212529;
}
.p-doc-download__content li + li {
  margin-top: 0.5em;
}
.p-doc-download__content strong {
  font-weight: 500;
}
.p-doc-download__content a {
  color: #005aad;
  text-decoration: underline;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
}
.p-doc-download__content a:hover {
  color: #212529;
}
.p-doc-download__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-doc-download__content blockquote {
  margin: 0;
  padding: 24px;
  border-left: 4px solid #005aad;
  background-color: #e6e6e6;
  color: #6e6f70;
}
.p-doc-download__content blockquote p {
  margin: 0;
  font-style: normal;
}
.p-doc-download__content blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: #888888;
}
.p-doc-download__content .wp-block-table {
  overflow-x: auto;
}
.p-doc-download__content .wp-block-group {
  padding: 16px;
  border: 1px solid #212529;
}
.p-doc-download__content .wp-block-group > .wp-block-group__inner-container > :first-child {
  margin-top: 0;
}
.p-doc-download__content .wp-block-group > .wp-block-group__inner-container > :last-child {
  margin-bottom: 0;
}
.p-doc-download__content .wp-block-buttons {
  margin: 32px 0 0;
}
.p-doc-download__content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.p-doc-download__content table th,
.p-doc-download__content table td {
  min-width: 120px;
  padding: 16px;
  border: 1px solid #e3e3e3;
  text-align: left;
}
.p-doc-download__content table th {
  background-color: #a9d5ff;
  font-weight: 500;
}
.p-doc-download__content .wp-block-button {
  margin: 0;
}
.p-doc-download__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-doc-download__content .wp-block-button__link:hover {
  background-color: white;
  box-shadow: 0 8px 20px rgba(0, 32, 96, 0.18);
  transform: translateY(-1px);
}
.p-doc-download__content .wp-block-button__link:hover {
  color: #212529;
  border-color: #212529;
  background-color: #ffffff;
  box-shadow: none;
  transform: none;
}
.p-doc-download__content .wp-block-image img,
.p-doc-download__content .wp-block-gallery img {
  width: 100%;
  height: auto;
}
.p-doc-download__content figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: #888888;
  text-align: center;
}
@media (max-width: 767px) {
  .p-doc-download__content {
    font-size: 16px;
  }
  .p-doc-download__content h2,
.p-doc-download__content h3 {
    margin: 32px 0 16px;
  }
  .p-doc-download__content table th,
.p-doc-download__content table td {
    min-width: auto;
    padding: 12px;
  }
}

.p-contact__field-required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d62828;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.p-contact-form .mw_wp_form .p-contact__consent {
  margin-top: 40px;
}
.p-contact-form .mw_wp_form .p-contact__consent dt,
.p-contact-form .mw_wp_form .p-contact__consent label {
  font-size: 12px;
  font-weight: 400;
}
.p-contact-form .mw_wp_form .p-contact__consent a {
  color: #005aad;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s ease;
}
.p-contact-form .mw_wp_form .p-contact__consent a:hover {
  color: #212529;
}

.p-contact-form__card {
  margin: 0;
}
.p-contact-form__card.c-form-panel {
  padding: 24px;
}
@media (max-width: 767px) {
  .p-contact-form__card.c-form-panel {
    padding: 20px;
  }
}
.p-contact-form__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.p-contact-form__footer {
  margin-top: 16px;
}
.p-contact-form .mw_wp_form {
  width: 100%;
}
.p-contact-form .mw_wp_form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.p-contact-form .mw_wp_form dl,
.p-contact-form .mw_wp_form dt,
.p-contact-form .mw_wp_form dd {
  margin: 0;
  padding: 0;
}
.p-contact-form .mw_wp_form dl {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.p-contact-form .mw_wp_form dt,
.p-contact-form .mw_wp_form label {
  font-size: 16px;
  font-weight: 400;
  color: #212529;
}
.p-contact-form .mw_wp_form dd {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.p-contact-form .mw_wp_form dd > * + * {
  margin-top: 12px;
}
.p-contact-form .mw_wp_form dd > .error {
  margin-top: 4px;
}
.p-contact-form .mw_wp_form input[type=text],
.p-contact-form .mw_wp_form input[type=email],
.p-contact-form .mw_wp_form input[type=tel],
.p-contact-form .mw_wp_form input[type=url],
.p-contact-form .mw_wp_form textarea,
.p-contact-form .mw_wp_form select {
  width: 100%;
  padding: 16px;
  border-radius: 0;
  border: 1px solid #e3e3e3;
  background-color: #cdcdcd;
  font-size: 16px;
  line-height: 30px;
  color: #212529;
  appearance: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.p-contact-form .mw_wp_form input:focus,
.p-contact-form .mw_wp_form textarea:focus,
.p-contact-form .mw_wp_form select:focus {
  outline: none;
  border-color: #005aad;
  box-shadow: 0 0 0 1px #005aad inset;
}
.p-contact-form .mw_wp_form textarea {
  min-height: 160px;
  resize: vertical;
}
.p-contact-form .mw_wp_form input[type=radio] {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
.p-contact-form .mw_wp_form input[type=checkbox] {
  width: 36px;
  height: 36px;
  margin: 0;
  border: none;
  border-radius: 0;
  background-color: #d9d9d9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}
.p-contact-form .mw_wp_form input[type=checkbox]:checked {
  background-color: #c5e3ff;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='13' viewBox='0 0 18 13' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 6.5L6 11L17 1' stroke='%23212529' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 13px;
}
.p-contact-form .mw_wp_form input[type=checkbox]:focus-visible {
  outline: 2px solid #005aad;
  outline-offset: 2px;
}
.p-contact-form .mw_wp_form .mwform-radio-field,
.p-contact-form .mw_wp_form .mwform-checkbox-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.p-contact-form .mw_wp_form .horizontal-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.p-contact-form .mw_wp_form .horizontal-item + .horizontal-item {
  margin-left: 0;
}
.p-contact-form .mw_wp_form .mwform-checkbox-field label {
  display: flex;
  align-items: self-start;
  gap: 12px;
  font-weight: 400;
  line-height: 1.3;
}
.p-contact-form .mw_wp_form .p-contact__consent .mwform-checkbox-field label {
  align-items: center;
  line-height: 1.7;
}
.p-contact-form .mw_wp_form .p-contact__option-title {
  display: block;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  color: #212529;
}
.p-contact-form .mw_wp_form .p-contact__option-desc {
  display: block;
  font-size: 14px;
  color: #888888;
  line-height: 1.7;
}
.p-contact-form .mw_wp_form .error,
.p-contact-form .mw_wp_form .mw_wp_form_error {
  color: #d62828;
  font-size: 14px;
}
.p-contact-form .mw_wp_form input[type=submit] {
  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;
  font-size: 18px;
  line-height: 24px;
  border-color: #005aad;
  background-color: #005aad;
  color: #ffffff;
  width: 100%;
  font-size: 18px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-shadow: none;
}
.p-contact-form .mw_wp_form input[type=submit]:hover {
  background-color: #003a70;
  border-color: #003a70;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 32, 96, 0.18);
}
.p-contact-form .mw_wp_form input[type=submit]:hover {
  background-color: #ffffff;
  color: #212529;
  border-color: #212529;
  box-shadow: none;
  transform: none;
}
@media (max-width: 767px) {
  .p-contact-form__card.c-form-panel {
    padding: 20px;
  }
  .p-contact-form__body {
    gap: 16px;
  }
  .p-contact-form .mw_wp_form dt {
    font-size: 16px;
  }
  .p-contact-form .mw_wp_form input[type=text],
.p-contact-form .mw_wp_form input[type=email],
.p-contact-form .mw_wp_form input[type=tel],
.p-contact-form .mw_wp_form input[type=url],
.p-contact-form .mw_wp_form textarea,
.p-contact-form .mw_wp_form select {
    font-size: 16px;
    padding: 16px;
  }
  .p-contact-form .mw_wp_form textarea {
    min-height: 140px;
  }
  .p-contact-form .mw_wp_form .horizontal-item {
    align-items: center;
  }
  .p-contact-form .mw_wp_form .p-contact__consent .horizontal-item {
    align-items: flex-start;
  }
}

.single-document .p-page-hero--simple {
  padding: 0 0 40px;
}
@media (max-width: 767px) {
  .single-document .p-page-hero--simple {
    padding-bottom: 32px;
  }
}

.p-documents__container {
  position: relative;
  padding: 48px 0;
}
.p-documents__container:not(:first-of-type) {
  margin-top: 16px;
}
.p-documents__container:not(:first-of-type)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  background-color: #005aad;
  transform: translateX(-50%);
}
.p-documents__empty {
  margin: 0;
  font-size: 16px;
  color: #888888;
  text-align: center;
}
@media (max-width: 767px) {
  .p-documents__empty {
    font-size: 16px;
    line-height: 30px;
  }
}

.p-documents-category__header {
  margin-bottom: 64px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 768px) and (max-width: 1279px) {
  .p-documents-category__header {
    margin-bottom: 24px;
  }
}
.p-documents-category__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 767px) {
  .p-documents-category__inner {
    max-width: none;
    padding: 0 16px;
  }
}
.p-documents-category__title {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  color: #212529;
}
@media (max-width: 767px) {
  .p-documents-category__title {
    font-size: 20px;
  }
}
.p-documents-category__description {
  margin: 0;
  font-size: 16px;
  color: #888888;
  line-height: 1.7;
}
@media (max-width: 767px) {
  .p-documents-category__description {
    font-size: 16px;
    line-height: 30px;
  }
}
.p-documents-category__empty {
  margin: 0;
  font-size: 16px;
  color: #888888;
  text-align: center;
}
@media (max-width: 767px) {
  .p-documents-category__empty {
    font-size: 16px;
    line-height: 30px;
  }
}

.p-documents-pagination {
  margin-top: 32px;
  text-align: center;
}
.p-documents-pagination__list {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.p-documents-pagination__item .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #e3e3e3;
  background-color: #ffffff;
  color: #212529;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.p-documents-pagination__item .page-numbers:hover {
  border-color: #005aad;
  color: #005aad;
}
.p-documents-pagination__item .page-numbers.current {
  background-color: #005aad;
  color: #ffffff;
  border-color: #005aad;
}
.p-documents-pagination__item .page-numbers.dots {
  border-color: transparent;
  background-color: transparent;
  color: #888888;
  cursor: default;
}
.p-documents-pagination__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.p-documents-pagination__icon-wrap.is-prev .p-documents-pagination__icon {
  transform: rotate(180deg);
}
.p-documents-pagination__icon {
  width: 12px;
  height: 12px;
}

.p-doc-download {
  padding-top: 0;
}
.p-doc-download__header {
  margin-bottom: 48px;
  width: 100%;
  max-width: calc(100% - 550px);
  margin-right: auto;
}
@media (min-width: 768px) and (max-width: 1279px) {
  .p-doc-download__header {
    max-width: none;
  }
}
.p-doc-download__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  gap: 50px;
  align-items: flex-start;
}
@media (min-width: 768px) and (max-width: 1279px) {
  .p-doc-download__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 32px;
  }
}
@media (max-width: 767px) {
  .p-doc-download__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 80px;
  }
}
.p-doc-download__lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #212529;
}
.p-doc-download__content .wp-block-group:where(.is-layout-grid) {
  gap: 16px;
}
.p-doc-download__side {
  position: sticky;
  top: 120px;
}
.p-doc-download__download-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.p-doc-download__download-box .c-button {
  margin-top: 12px;
}
.p-doc-download__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.p-doc-download__form-note {
  margin: 0;
  font-size: 14px;
  color: #d62828;
}
.p-doc-download__download-note {
  margin: 0;
  font-size: 16px;
  color: #888888;
}
.p-doc-download__empty {
  max-width: 640px;
  margin: 0 auto;
  padding: 120px 0;
  text-align: center;
}
.p-doc-download__empty-title {
  margin: 0 0 16px;
  font-size: 32px;
}
.p-doc-download__empty-text {
  margin: 0 0 32px;
  font-size: 16px;
  color: #888888;
}
@media (max-width: 767px) {
  .p-doc-download {
    padding-top: 0;
  }
  .p-doc-download__header {
    max-width: none;
  }
  .p-doc-download__content {
    margin-top: 32px;
  }
  .p-doc-download__side {
    position: static;
  }
  .p-doc-download__lead {
    font-size: 14px;
    line-height: 30px;
  }
}
