/**
 * コンテナ
 */
.template-jp-article .cmp-container--max-w-article {
  padding-left: 0;
  padding-right: 0;
}
.template-jp-article .cmp-container--max-w-article .container {
  padding-left: 0;
  padding-right: 0;
}
.template-jp-article .cmp-container--max-w-article > .cmp-container {
  margin-inline: auto;
  max-width: 880px;
}
.template-jp-article .cmp-container--stack-xs > .cmp-container > *:not(.text):not(.image) {
  margin-block: 8px;
}
.template-jp-article .cmp-container--stack-sm > .cmp-container > *:not(.text):not(.image) {
  margin-block: 16px;
}
.template-jp-article .cmp-container--stack-md > .cmp-container > *:not(.text):not(.image) {
  margin-block: 32px;
}
.template-jp-article .cmp-container--stack-lg > .cmp-container > *:not(.text):not(.image) {
  margin-block: 64px;
}
.template-jp-article .cmp-container--px-xs > .cmp-container {
  padding-inline: 8px;
}
.template-jp-article .cmp-container--px-sm > .cmp-container {
  padding-inline: 16px;
}
.template-jp-article .cmp-container--px-md > .cmp-container {
  padding-inline: 32px;
}
.template-jp-article .cmp-container--px-lg > .cmp-container {
  padding-inline: 64px;
}
@media (max-width: 768px) {
  .template-jp-article .cmp-container--sm\:px-lg > .cmp-container {
    padding-inline: 64px;
  }
  .template-jp-article .cmp-container--sm\:px-md > .cmp-container {
    padding-inline: 32px;
  }
  .template-jp-article .cmp-container--sm\:px-sm > .cmp-container {
    padding-inline: 16px;
  }
  .template-jp-article .cmp-container--sm\:px-xs > .cmp-container {
    padding-inline: 8px;
  }
}
.template-jp-article .cmp-container--py-xs > .cmp-container {
  padding-block: 8px;
}
.template-jp-article .cmp-container--py-sm > .cmp-container {
  padding-block: 16px;
}
.template-jp-article .cmp-container--py-md > .cmp-container {
  padding-block: 32px;
}
.template-jp-article .cmp-container--py-lg > .cmp-container {
  padding-block: 64px;
}
@media (max-width: 768px) {
  .template-jp-article .cmp-container--sm\:py-lg > .cmp-container {
    padding-block: 64px;
  }
  .template-jp-article .cmp-container--sm\:py-md > .cmp-container {
    padding-block: 32px;
  }
  .template-jp-article .cmp-container--sm\:py-sm > .cmp-container {
    padding-block: 16px;
  }
  .template-jp-article .cmp-container--sm\:py-xs > .cmp-container {
    padding-block: 8px;
  }
}
/**
 * グリッド
 */
.template-jp-article .bootstrap-grid .row {
  margin-inline: 0;
}
/**
 * 画像
 */
.template-jp-article .image:not(:first-child) {
  margin-top: 40px;
}
@media (max-width: 960px) {
  .template-jp-article .image:not(:first-child) {
    margin-top: 28px;
  }
}
.template-jp-article .image:not(:last-child) {
  margin-bottom: 40px;
}
@media (max-width: 960px) {
  .template-jp-article .image:not(:last-child) {
    margin-bottom: 28px;
  }
}
.template-jp-article .cmp-image__image {
  height: auto;
}
/**
 * テキスト
 */
.template-jp-article .cmp-container--max-w-article .text:first-child .cmp-text *:first-child {
  margin-top: 0;
}
.template-jp-article .cmp-container--max-w-article .text:first-child .cmp-text *:last-child {
  margin-bottom: 0;
}
.template-jp-article .cmp-container--max-w-article .text:has( + .container) .cmp-text *:last-child {
  margin-bottom: 1rem;
}
.template-jp-article .cmp-container--max-w-article .cmp-text h2 {
  font-weight: 400;
}
.template-jp-article .cmp-container--max-w-article .cmp-text h2,
.template-jp-article .cmp-container--max-w-article .cmp-text h3,
.template-jp-article .cmp-container--max-w-article .cmp-text h4 {
  line-height: 1.4;
}
.template-jp-article .cmp-container--max-w-article .cmp-text h2,
.template-jp-article .cmp-container--max-w-article .cmp-text h3 {
  scroll-margin-top: 80px;
}
.template-jp-article .cmp-container--max-w-article .cmp-text h3,
.template-jp-article .cmp-container--max-w-article .cmp-text h4 {
  color: #727272;
  font-weight: 700;
}
.template-jp-article .cmp-container--max-w-article .cmp-text h2 {
  margin-block: 72px 60px;
  font-size: 2.5rem;
}
@media (max-width: 960px) {
  .template-jp-article .cmp-container--max-w-article .cmp-text h2 {
    margin-block: 56px 40px;
    font-size: 1.75rem;
  }
}
.template-jp-article .cmp-container--max-w-article .cmp-text h3 {
  margin-block: 44px 12px;
  font-size: 1.5rem;
}
@media (max-width: 960px) {
  .template-jp-article .cmp-container--max-w-article .cmp-text h3 {
    font-size: 1.375rem;
  }
}
.template-jp-article .cmp-container--max-w-article .cmp-text h4 {
  margin-block: 30px 12px;
  font-size: 1.25rem;
}
@media (max-width: 960px) {
  .template-jp-article .cmp-container--max-w-article .cmp-text h4 {
    font-size: 1.125rem;
  }
}
.template-jp-article .cmp-container--max-w-article .cmp-text p,
.template-jp-article .cmp-container--max-w-article .cmp-text ul,
.template-jp-article .cmp-container--max-w-article .cmp-text ol {
  margin-block: 16px;
  font-size: 1rem;
  line-height: 1.8;
}
.template-jp-article .cmp-container--max-w-article .cmp-text li {
  margin-top: 8px;
}
.template-jp-article .cmp-container--max-w-article .text.terms-and-conditions-text p,
.template-jp-article .cmp-container--max-w-article .text.terms-and-conditions-text ul,
.template-jp-article .cmp-container--max-w-article .text.terms-and-conditions-text ol {
  font-size: 0.9rem !important;
}
/**
 * タイトル
 */
.template-jp-article .cmp-title__text {
  font-weight: 400;
}
.template-jp-article .html-accordion {
  width: 100%;
}
.template-jp-article .html-accordion__item {
  border-top: 1px solid #c0c0c0;
}
.template-jp-article .html-accordion__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 1rem;
  background-color: #EDF6FF;
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  text-align: left;
  border-bottom: 1px solid transparent;
  transition: background-color 0.2s ease;
}
.template-jp-article .html-accordion__header:hover {
  background-color: #D8ECFF;
}
.template-jp-article .html-accordion__header[aria-expanded="true"] {
  border-bottom: 1px solid #c0c0c0;
}
.template-jp-article .html-accordion__header[aria-expanded="true"] .html-accordion__icon {
  transform: rotate(180deg);
}
.template-jp-article .html-accordion__title {
  flex: 1;
}
.template-jp-article .html-accordion__icon {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  font-weight: 300;
}
.template-jp-article .html-accordion__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.template-jp-article .html-accordion__panel[hidden] {
  display: block;
}
.template-jp-article .html-accordion__panel.is-open {
  max-height: 1000px;
}
.template-jp-article .html-accordion__content {
  padding: 16px 10px;
}
.template-jp-article .html-accordion__row {
  display: flex;
}
@media (max-width: 768px) {
  .template-jp-article .html-accordion__row {
    flex-direction: column;
  }
}
.template-jp-article .html-anchorLink {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #86BC4A;
  font-size: 18px;
  color: white;
  padding: 14px 20px 14px 48px;
  min-width: 200px;
  border-radius: 40px;
  border: 2px solid #86BC4A;
  text-decoration: none;
  transition: all .4s;
}
.template-jp-article .html-anchorLink::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 20px;
  height: 12px;
  margin: auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12' fill='none'%3E%3Cpath d='M10.0018%208.14247L18.0852%200L20%201.92876L11.9166%2010.0712L10.0018%2012L8.087%2010.0712L0%201.92876L1.91478%200L10.0018%208.14247Z' fill='white'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.template-jp-article .html-anchorLink:hover {
  color: #727272;
  background-color: white;
}
.template-jp-article .html-anchorLink:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12' fill='none'%3E%3Cpath d='M10.0018%208.14247L18.0852%200L20%201.92876L11.9166%2010.0712L10.0018%2012L8.087%2010.0712L0%201.92876L1.91478%200L10.0018%208.14247Z' fill='%2391C453'/%3E%3C/svg%3E");
}
.template-jp-article .html-dialog {
  display: grid;
  grid-template-columns: 100px 1fr;
  flex-direction: column;
  gap: 2rem;
  margin-block-end: 2rem;
}
@media (min-width: 768px) {
  .template-jp-article .html-dialog {
    grid-template-columns: 140px 1fr;
  }
}
.template-jp-article .html-dialog__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25em;
}
.template-jp-article .html-dialog__image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 100%;
  overflow: hidden;
}
@media (min-width: 768px) {
  .template-jp-article .html-dialog__image {
    width: 140px;
    height: 140px;
  }
}
.template-jp-article .html-dialog__image > img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}
.template-jp-article .html-dialog__sign {
  display: flex;
  text-align: center;
  justify-content: center;
  flex-direction: column;
  font-size: 1rem;
  color: #727272;
}
.template-jp-article .html-dialog__tweet {
  position: relative;
  padding: 1.25rem;
  margin-block-end: 1.625rem;
  height: min-content;
  border-radius: 10px;
  border: 3px solid #f2f2f2;
  background-color: #f2f2f2;
}
.template-jp-article .html-dialog__tweet::before {
  content: '';
  position: absolute;
  display: inline-block;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  top: 5px;
  left: -24px;
  width: 24px;
  height: 24px;
  background: #f2f2f2;
  z-index: 1;
}
.template-jp-article .html-dialog__tweet > p {
  margin-block-end: 0;
  font-size: 0.875rem;
  line-height: 1.8;
}
@media (min-width: 768px) {
  .template-jp-article .html-dialog__tweet > p {
    font-size: 1rem;
  }
}
.template-jp-article .html-dialog__tweet > p + p {
  margin-block-start: 1.5rem;
}
.template-jp-article .html-dialog--right {
  grid-template-columns: 1fr 100px;
}
@media (min-width: 768px) {
  .template-jp-article .html-dialog--right {
    grid-template-columns: 1fr 140px;
  }
}
.template-jp-article .html-dialog--right .html-dialog__body {
  order: 1;
}
.template-jp-article .html-dialog--right .html-dialog__figure {
  order: 2;
}
.template-jp-article .html-dialog--right .html-dialog__picture {
  margin-block-start: -90px;
  order: 3;
}
@media (max-width: 768px) {
  .template-jp-article .html-dialog--right .html-dialog__picture {
    margin-block-start: -5%;
    grid-column-start: 1;
    grid-column-end: -1;
  }
}
.template-jp-article .html-dialog--right .html-dialog__tweet {
  border: 3px solid #D8E6F4;
  background-color: #D8E6F4;
}
.template-jp-article .html-dialog--right .html-dialog__tweet::before {
  background: #D8E6F4;
  transform: rotate(180deg);
  left: auto;
  right: -24px;
}
.template-jp-article .html-flex {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
.template-jp-article .justify-center {
  justify-content: center;
}
@media (max-width: 768px) {
  .template-jp-article .sm-column {
    flex-direction: column;
  }
}
.template-jp-article .html-label {
  display: inline-block;
  padding: 0.5rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  background-color: #91C453;
  border-radius: 0.5rem;
}
.template-jp-article .html-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.template-jp-article .html-modal.is-open {
  display: flex;
}
.template-jp-article .html-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
}
.template-jp-article .html-modal__container {
  position: relative;
  width: 95%;
  max-width: 85vw;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1;
}
@media (min-width: 960px) {
  .template-jp-article .html-modal__container {
    width: 95%;
    max-width: 50vw;
  }
}
.template-jp-article .html-modal__content {
  padding: 45px;
}
@media (max-width: 960px) {
  .template-jp-article .html-modal__content {
    padding: 45px 32px;
  }
}
@media (max-width: 960px) {
  .template-jp-article .html-modal .cmp-modal__content {
    max-height: 90vh;
  }
}
.template-jp-article .html-modal .cmp-modal__content h5 {
  font-weight: 600;
}
.template-jp-article .html-modal .cmp-modal__content p {
  margin: 1.5rem 0 0 0;
}
.template-jp-article .html-modal__body {
  margin-bottom: 1.5rem;
  color: #666;
  line-height: 1.6;
}
@media (max-width: 960px) {
  .template-jp-article .html-modal__body {
    max-height: 65vh;
    overflow-y: scroll;
  }
}
.template-jp-article .html-modal__body p {
  margin: 0 0 0.5rem 0;
}
.template-jp-article .html-modal__body p:last-child {
  margin-bottom: 0;
}
.template-jp-article .html-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
.template-jp-article .html-modal__button {
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
  padding: 14px 20px;
  min-width: 200px;
  border-radius: 40px;
  background-color: #86BC4A;
  border: 2px solid #86BC4A;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}
@media (max-width: 960px) {
  .template-jp-article .html-modal__button {
    font-size: 18px;
    width: 100%;
  }
}
.template-jp-article body.modal-open {
  overflow: hidden;
}
.template-jp-article #html-related-links {
  padding-block: 60px;
}
@media (max-width: 960px) {
  .template-jp-article #html-related-links {
    padding-block: 32px;
  }
}
.template-jp-article #html-related-links h2 {
  margin-bottom: 40px;
  font-size: 2.5rem;
  font-weight: 400;
}
@media (max-width: 960px) {
  .template-jp-article #html-related-links h2 {
    font-size: 1.75rem;
  }
}
@media (max-width: 768px) {
  .template-jp-article #html-related-links h2 {
    margin-bottom: 24px;
  }
}
.template-jp-article #html-related-links p {
  margin-bottom: 0;
  line-height: 1.8;
}
.template-jp-article #html-related-links ul,
.template-jp-article #html-related-links ol {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.8;
}
.template-jp-article #html-related-links a {
  color: #727272;
  text-underline-offset: 3px;
}
.template-jp-article #html-related-links a:hover {
  text-decoration: none;
}
.template-jp-article #html-related-grid > .row {
  row-gap: 26px;
}
@media (max-width: 960px) {
  .template-jp-article #html-related-grid .image {
    margin-bottom: 16px;
  }
}
.template-jp-article .html-table {
  width: 100%;
}
.template-jp-article .html-table th,
.template-jp-article .html-table td {
  font-size: 1rem;
  padding: 0.625rem 1rem;
}
.template-jp-article .html-table th {
  font-weight: 500;
  background-color: #EDF6FF;
  border-top: 1px solid #c0c0c0;
}
.template-jp-article .html-table td {
  border-top: 1px solid #c0c0c0;
}
.template-jp-article .html-table.html-table--column th,
.template-jp-article .html-table.html-table--column td {
  width: 50%;
}
.template-jp-article .html-table.html-table--column th + th {
  border-left: 1px solid #c0c0c0;
}
.template-jp-article .html-table.html-table--column td + td {
  border-left: 1px solid #c0c0c0;
}
@media (max-width: 768px) {
  .template-jp-article .html-table.html-table--column tbody {
    display: block;
  }
  .template-jp-article .html-table.html-table--column tr {
    display: block;
  }
  .template-jp-article .html-table.html-table--column tr:last-child {
    margin-bottom: 0;
  }
  .template-jp-article .html-table.html-table--column th {
    display: none;
  }
  .template-jp-article .html-table.html-table--column td[data-header] {
    display: block;
    width: 100%;
    position: relative;
    padding-left: 1rem;
    padding-top: 2.5rem;
    border-top: none;
    border-left: none;
  }
  .template-jp-article .html-table.html-table--column td[data-header]::before {
    content: attr(data-header);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.625rem 1rem;
    font-weight: 500;
    background-color: #EDF6FF;
    border-top: 1px solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
  }
  .template-jp-article .html-table.html-table--column td[data-header] > span {
    display: block;
    margin-block-start: 1em;
  }
  .template-jp-article .html-table.html-table--column td + td {
    border-left: none;
  }
}
.template-jp-article #html-toc {
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  .template-jp-article #html-toc {
    gap: 16px;
    padding: 32px 16px 40px;
  }
}
@media (min-width: 768px) and (max-width: 960px) {
  .template-jp-article #html-toc {
    gap: 32px;
    padding: 32px;
  }
}
@media (min-width: 960px) {
  .template-jp-article #html-toc {
    gap: 32px;
    margin-top: 64px;
    padding: 32px 64px 40px;
  }
}
.template-jp-article .html-toc__heading {
  margin: 0;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}
@media (max-width: 960px) {
  .template-jp-article .html-toc__heading {
    font-size: 1.5rem;
  }
}
@media (min-width: 960px) {
  .template-jp-article .html-toc__heading {
    font-size: 1.75rem;
  }
}
.template-jp-article .html-toc__list {
  margin: 0;
  list-style: disc;
}
.template-jp-article .html-toc__list > *:first-child {
  margin-top: 0;
}
.template-jp-article .html-toc__list > *:last-child {
  margin-bottom: 0;
}
.template-jp-article .html-toc__item {
  font-size: 1rem;
}
.template-jp-article .html-toc__item--level-h2 {
  margin: 16px 0 8px -1em;
  font-weight: 700;
  list-style: none;
}
@media (max-width: 960px) {
  .template-jp-article .html-toc__item--level-h2 {
    font-size: 1.125rem;
  }
}
@media (min-width: 960px) {
  .template-jp-article .html-toc__item--level-h2 {
    font-size: 1.25rem;
  }
}
.template-jp-article .html-toc__item--level-h3 {
  margin-top: 8px;
}
.template-jp-article .html-toc__item-link {
  color: inherit;
  text-underline-offset: 3px;
}
@media (hover) {
  .template-jp-article .html-toc__item-link:hover {
    text-decoration: none;
  }
}
