@charset "UTF-8";
.page-article {
  margin-top: clamp(0.5rem, 1vw, 1rem);
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
}
.page-article .page-header {
  position: relative;
  margin-bottom: clamp(2rem, 3vw, 3rem);
  padding-top: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 4rem);
  background-image: -webkit-gradient(linear, left top, left bottom, from(color-mix(in oklab, var(--wp--preset--color--primary) 15%, transparent)), to(color-mix(in oklab, var(--wp--preset--color--primary) 8%, transparent)));
  background-image: linear-gradient(180deg, color-mix(in oklab, var(--wp--preset--color--primary) 15%, transparent) 0%, color-mix(in oklab, var(--wp--preset--color--primary) 8%, transparent) 100%);
}
.page-article .page-header .page-title {
  margin: 0;
  position: relative;
  z-index: 2;
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  line-height: 1.4;
  text-shadow: 0 0 1rem rgba(255, 255, 255, 0.4);
}
.page-article .page-header .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.page-article .page-header:not(:has(.image)) .page-title {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  row-gap: clamp(0.7rem, 1vw, 1rem);
}
.page-article .page-header:not(:has(.image)) .page-title::after {
  content: "";
  display: block;
  width: 90%;
  height: 6px;
  background-color: var(--wp--preset--color--primary, #333);
  border-radius: 0.2rem;
}
.page-article .page-header:has(.image) .container {
  position: relative;
  padding-top: clamp(2.5rem, 5vw, 5rem);
  padding-bottom: clamp(2.5rem, 5vw, 5rem);
}
.page-article .page-header:has(.image) .container .image {
  position: absolute;
  top: 0;
  left: var(--wp--custom--container-padding);
  width: calc(100% - var(--wp--custom--container-padding) * 2);
  height: 100%;
  z-index: 1;
  background-color: var(--wp--preset--color--primary, #fff);
  opacity: 0.2;
  overflow: hidden;
  border-radius: 0.5rem;
}
.page-article .page-header:has(.image) .container .image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-filter: sepia(60%) blur(0.05rem);
          filter: sepia(60%) blur(0.05rem);
  opacity: 0.8;
}
.page-article .post-image {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
}
.page-article .post-image img {
  width: 80%;
  max-width: 500px;
  height: auto;
}
.page-article .post-footer {
  max-width: var(--wp--style--global--wide-size);
  margin-left: auto;
  margin-right: auto;
  margin-top: clamp(2rem, 4vw, 4rem);
  padding-top: clamp(1.5rem, 3vw, 3rem);
  container-type: inline-size;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-column-gap: 4rem;
     -moz-column-gap: 4rem;
          column-gap: 4rem;
  row-gap: 1rem;
  border-top: 1px solid #ccc;
}
.page-article .post-footer .next,
.page-article .post-footer .prev {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-column-gap: clamp(0.5rem, 1vw, 1rem);
     -moz-column-gap: clamp(0.5rem, 1vw, 1rem);
          column-gap: clamp(0.5rem, 1vw, 1rem);
}
.page-article .post-footer .next > .label,
.page-article .post-footer .prev > .label {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-size: 0.75rem;
  margin: 0.1rem 0 0;
  padding: 0.2rem 0.3rem;
  background-color: var(--wp--preset--color--primary, #666);
  color: #fff;
  line-height: 1.2;
  border-radius: 0.3rem;
}
.page-article .post-footer .next > .link,
.page-article .post-footer .prev > .link {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  font-size: 0.875rem;
}
.page-article .post-footer .next > .link > a:not(:hover):visited,
.page-article .post-footer .prev > .link > a:not(:hover):visited {
  color: inherit;
}
@container (min-width: 900px) {
  .page-article .post-footer .next,
  .page-article .post-footer .prev {
    max-width: 30vw;
  }
  .page-article .post-footer .prev > .label {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  .page-article .post-footer .prev > .link {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
}
.page-article .c-flex-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.page-article .button-counseling {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 16px 1fr;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  padding: 0;
  margin: 0 auto 40px;
}
@media screen and (max-width: 600px) {
  .page-article .button-counseling {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    margin-bottom: 30px;
  }
}
.page-article .button-counseling a {
  background: #eee;
  border-radius: 3px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 auto;
  padding: 10px 25px;
  color: #313131;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .page-article .button-counseling a {
    width: 100%;
  }
}
.page-article .button-counseling a:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: right 0.3s;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  -webkit-transform: translateY(-50%) rotate(45deg);
          transform: translateY(-50%) rotate(45deg);
}
.page-article .button-counseling a:hover {
  background: #A3CCCE;
  color: #FFF;
}
.page-article .button-counseling a:hover:after {
  right: 1.4rem;
}
.page-article h2 {
  padding: 0.5em 0.7em;
  border-left: 5px solid var(--wp--preset--color--primary);
  background-color: #f7f7f7;
  color: var(--wp--preset--color--primary);
}
.page-article h3 {
  border-bottom: 3px solid var(--wp--preset--color--primary);
}
.page-article h3 span {
  display: inline-block;
  position: relative;
  padding: 0 0.4em 0.2em;
  color: #333333;
}
.page-article h3 span::before {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--wp--preset--color--primary);
  content: "";
}
.page-article h4 {
  position: relative;
  padding: 0.5em 1.2em;
  color: #333333;
}
.page-article h4::before, .page-article h4::after {
  display: inline-block;
  position: absolute;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border: 2px solid var(--wp--preset--color--primary);
  content: "";
}
.page-article h4::before {
  top: calc(50% - 3px);
  left: 0;
}
.page-article h4::after {
  top: calc(50% + 3px);
  left: 5px;
}
.page-article .required::after {
  content: "必須";
  color: #ffffff;
  background: #cc0000;
  font-size: 0.7em;
  padding: 2px 5px;
  border-radius: 5px;
  margin: 0 0.5em;
}