@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500..700&display=swap');

/* bace */
#contents {
  max-width: 750px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  float: none;
  color: #3d383a;
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
}

/* PC */
@media screen and (min-width: 741px) {
  .p-main {
    background: linear-gradient(180deg, #ffe6ec 0%, #ffe6ec 25%, #fcdbc2 25%, #fcdbc2 70%,#c9fae6 70%, #c9fae6 100%);
    padding-bottom: 75px;
  }
  .p-mv__thumb {
    width: 100%;
  }
  .p-mv__thumb img {
    width: 100%;
    height: auto;
  }
  .p-mv__title-wrap {
    padding: 50px 0;
    background: linear-gradient(75deg, #f78bab, #feab82)
  }
  #contents h1.p-mv__title {
    font-size: 40px;
    line-height: 1.5;
    color: #fff;
    font-weight: bold;
    text-align: center;
    margin: 0;
  }
  .p-mv__title span {
    color: #fffe8a;
  }

  .p-inner {
    max-width: 700px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 75px 0;
    background-color: #fffbed;
  }
  .p-inner > * {
    margin-bottom: 75px;
  }
  .p-inner > section {
    margin-bottom: 0;
  }

  .p-contents {
    max-width: 650px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 50px 25px;
    background-color: #fff;
    border: 1px solid #cbcbcb;
    box-sizing: border-box;
  }
  .p-contents__head {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 2px dashed #aba0a0;
  }
  .p-contents__head-title {
    font-size: 30px;
    color: #958d90;
    font-weight: 500;
    text-align: center;
    line-height: 1;
    letter-spacing: 0.2em;
  }
  .p-contents__body-text a {
    display: block;
    font-size: 24px;
    color: #3d383a;
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 1.6;
    padding-left: 1em;
    position: relative;
  }
  .p-contents__body-text a::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
  }

  .p-sec > * {
    margin-bottom: 75px;
  }
  .p-sec > *:last-of-type {
    margin-bottom: 0;
  }
  .p-sec--red .p-h2__title-wrap {
    padding: 40px 0;
    background-color: #fa969e;
  }
  .p-sec--green .p-h2__title-wrap {
    padding: 40px 0;
    background-color: #5cd3ac;
  }
  .p-h2__title {
    font-size: 35px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.075em;
    line-height: 1.6;
  }
  .p-h2__title span {
    color: #fffe8a;
  }
  .p-h2__thumb {
    max-width: 650px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0 !important;
  }
  .p-h2__thumb img {
    width: 100%;
    height: auto;
  }

  .p-h3.p-h3--pt {
    padding-top: 75px;
  }
  .p-h3 > * {
    margin-bottom: 75px;
  }
  .p-h3__title-wrap {
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 30px 25px 30px 60px;
    background-color: #fff;
    box-sizing: border-box;
    position: relative;
  }
  .p-sec--red .p-h3 {
    margin-left: -25px;
    margin-right: -25px;
    margin-bottom: 0;
    border-left: 25px solid #fcdbc2;
    border-right: 25px solid #fcdbc2;
  }
  .p-sec--red .p-h3:first-of-type {
    padding-top: 75px;
  }
  .p-sec--red .p-h3__title-wrap::before {
    content: "";
    width: 16px;
    height: 100%;
    background-color: #fa969e;
    position: absolute;
    left: 0;
    top: 0;
  }
  .p-sec--green {
    margin-left: -25px;
    margin-right: -25px;
    margin-bottom: 0;
    border-left: 25px solid #c9fae6;
    border-right: 25px solid #c9fae6;
  }
  .p-sec--green .p-h3__title-wrap::before {
    content: "";
    width: 16px;
    height: 100%;
    background-color: #50ddd4;
    position: absolute;
    left: 0;
    top: 0;
  }
  .p-h3__title {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.6;
  }

  .p-text__heading {
    text-align: center;
  }
  .p-text__heading-inline {
    display: inline-block;
    min-width: 600px;
    font-size: 30px;
    line-height: 1.33;
    padding-left: calc( 8px + 58px );
    padding-right: calc( 8px + 81px );
    position: relative;
    box-sizing: border-box;
  }
  .p-text__heading-inline::before {
    content: "";
    width: 58px;
    height: 105px;
    background-image: url("/kyouiku/special/_assets/20250131/img/20250131_3463_dm_parts_01.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    margin: auto 0;
    top: 0;
    left: 0;
    bottom: 0;
  }
  .p-text__heading-inline::after {
    content: "";
    width: 81px;
    height: 122px;
    background-image: url("/kyouiku/special/_assets/20250131/img/20250131_3463_dm_parts_02.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    margin: auto 0;
    top: 0;
    right: 0;
    bottom: 0;
  }
  .p-text__underline {
    text-align: center;
  }
  .p-text__underline-inline {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.7;
    background: linear-gradient(transparent 70%, #fff2a5 0%);
    display: inline;
    padding: 2px 0px;
  }
  .p-sec--red .p-text__underline-inline {
    color: #e45b30;
  }
  .p-sec--green .p-text__underline-inline {
    color: #30b6be;
  }
  .p-h3__thumb {
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .p-h3__thumb--max {
    max-width: 100%;
  }
  .p-h3__thumb img {
    width: 100%;
    height: auto;
  }

  .p-article {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 25px;
    position: relative;
  }
  .p-article__title {
    font-size: 18px;
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
    border: 1px solid #cbcbcb;
    background-color: #50ddd4;
    border-radius: 2px;
    position: absolute;
    top: 0;
    left: 22px;
  }
  .p-article__box {
    display: flex;
    align-items: center;
    column-gap: 24px;
    padding: 25px 30px;
    background-color: #fff;
    border: 1px solid #cbcbcb;
    border-radius: 10px;
  }
  .p-article__thumb {
    display: block;
    width: 155px;
    transition: all 0.3s ease;
  }
  .p-article__thumb:hover {
    opacity: 0.8;
  }
  .p-article__thumb img {
    width: 100%;
    height: auto;
  }
  .p-article__text {
    max-width: calc( 100% - 155px - 60px - 24px );
    font-size: 22px;
    font-weight: bold;
    line-height: 1.6;
    color: #3d383a !important;
  }

  .p-link {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    width: 100%;
    min-height: 99px;
    font-size: 40px;
    letter-spacing: 0.075em;
    color: #fff !important;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
    position: relative;
    z-index: 2;
    transition: 0.3s all ease;
  }
  .p-link:hover {
    text-decoration: none !important;
    opacity: 0.8;
  }
  .p-link::before {
    content: "";
    width: 600px;
    height: 100%;
    background-image: url("/kyouiku/special/_assets/20250131/img/20250131_3463_dm_parts_10.png");
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
  }
  .p-lead {
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .p-lead > * {
    margin-bottom: 1.4em;
  }
  .p-lead > *:last-of-type {
    margin-bottom: 0;
  }
  .p-text {
    font-size: 24px;
    line-height: 1.6;
  }
  .p-h3 .p-text {
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .p-text {
    font-size: 24px;
    line-height: 1.6;
  }

  .p-text .p-text-accent {
    background: linear-gradient(transparent 70%, #fff2a5 0%);
    display: inline;
    padding: 2px 0px;
  }
}

/* SP */
@media screen and (max-width: 740px) {
  .p-main {
    background: linear-gradient(180deg, #ffe6ec 0%, #ffe6ec 25%, #fcdbc2 25%, #fcdbc2 70%,#c9fae6 70%, #c9fae6 100%);
    padding-bottom: 10vw;
  }
  .p-mv__thumb {
    width: 100%;
  }
  .p-mv__thumb img {
    width: 100%;
    height: auto;
  }
  .p-mv__title-wrap {
    padding: 6.667vw 0;
    background: linear-gradient(75deg, #f78bab, #feab82)
  }
  #contents h1.p-mv__title {
    font-size: 5.333vw;
    line-height: 1.5;
    color: #fff;
    font-weight: bold;
    text-align: center;
    margin: 0;
  }
  .p-mv__title span {
    color: #fffe8a;
  }

  .p-inner {
    max-width: 93.333vw;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 10vw 0;
    background-color: #fffbed;
  }
  .p-inner > * {
    margin-bottom: 10vw;
  }
  .p-inner > section {
    margin-bottom: 0;
  }

  .p-contents {
    max-width: 86.667vw;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 6.667vw 3.333vw;
    background-color: #fff;
    border: 1px solid #cbcbcb;
    box-sizing: border-box;
  }
  .p-contents__head {
    padding-bottom: 2.667vw;
    margin-bottom: 2.667vw;
    border-bottom: 2px dashed #aba0a0;
  }
  .p-contents__head-title {
    font-size: 4vw;
    color: #958d90;
    font-weight: 500;
    text-align: center;
    line-height: 1;
    letter-spacing: 0.2em;
  }
  .p-contents__body-text a {
    display: block;
    font-size: 3.2vw;
    color: #3d383a;
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 1.6;
    padding-left: 1em;
    position: relative;
  }
  .p-contents__body-text a::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
  }

  .p-sec > * {
    margin-bottom: 10vw;
  }
  .p-sec > *:last-of-type {
    margin-bottom: 0;
  }
  .p-sec--red .p-h2__title-wrap {
    padding: 5.333vw 0;
    background-color: #fa969e;
  }
  .p-sec--green .p-h2__title-wrap {
    padding: 5.333vw 0;
    background-color: #5cd3ac;
  }
  .p-h2__title {
    font-size: 4.667vw;
    color: #fff;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.075em;
    line-height: 1.6;
  }
  .p-h2__title span {
    color: #fffe8a;
  }
  .p-h2__thumb {
    max-width: 86.667vw;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0 !important;
  }
  .p-h2__thumb img {
    width: 100%;
    height: auto;
  }

  .p-h3.p-h3--pt {
    padding-top: 10vw;
  }
  .p-h3 > * {
    margin-bottom: 10vw;
  }
  .p-h3__title-wrap {
    max-width: 80vw;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 4vw 3.333vw 4vw 8vw;
    background-color: #fff;
    box-sizing: border-box;
    position: relative;
  }
  .p-sec--red .p-h3 {
    margin-left: -3.333vw;
    margin-right: -3.333vw;
    margin-bottom: 0;
    border-left: 3.333vw solid #fcdbc2;
    border-right: 3.333vw solid #fcdbc2;
  }
  .p-sec--red .p-h3:first-of-type {
    padding-top: 10vw;
  }
  .p-sec--red .p-h3__title-wrap::before {
    content: "";
    width: 2.133vw;
    height: 100%;
    background-color: #fa969e;
    position: absolute;
    left: 0;
    top: 0;
  }
  .p-sec--green {
    margin-left: -3.333vw;
    margin-right: -3.333vw;
    margin-bottom: 0;
    border-left: 3.333vw solid #c9fae6;
    border-right: 3.333vw solid #c9fae6;
  }
  .p-sec--green .p-h3__title-wrap::before {
    content: "";
    width: 2.133vw;
    height: 100%;
    background-color: #50ddd4;
    position: absolute;
    left: 0;
    top: 0;
  }
  .p-h3__title {
    font-size: 4vw;
    font-weight: bold;
    line-height: 1.6;
  }

  .p-text__heading {
    text-align: center;
  }
  .p-text__heading-inline {
    display: inline-block;
    min-width: 80vw;
    font-size: 4vw;
    line-height: 1.33;
    padding-left: calc( 1.067vw + 7.733vw );
    padding-right: calc( 1.067vw + 10.8vw );
    position: relative;
    box-sizing: border-box;
  }
  .p-text__heading-inline::before {
    content: "";
    width: 7.733vw;
    height: 14vw;
    background-image: url("/kyouiku/special/_assets/20250131/img/20250131_3463_dm_parts_01.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    margin: auto 0;
    top: 0;
    left: 0;
    bottom: 0;
  }
  .p-text__heading-inline::after {
    content: "";
    width: 10.8vw;
    height: 16.267vw;
    background-image: url("/kyouiku/special/_assets/20250131/img/20250131_3463_dm_parts_02.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    margin: auto 0;
    top: 0;
    right: 0;
    bottom: 0;
  }
  .p-text__underline {
    text-align: center;
  }
  .p-text__underline-inline {
    font-size: 4vw;
    font-weight: bold;
    line-height: 1.7;
    background: linear-gradient(transparent 70%, #fff2a5 0%);
    display: inline;
    padding: 0.267vw 0px;
  }
  .p-sec--red .p-text__underline-inline {
    color: #e45b30;
  }
  .p-sec--green .p-text__underline-inline {
    color: #30b6be;
  }
  .p-h3__thumb {
    max-width: 80vw;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .p-h3__thumb--max {
    max-width: 100%;
  }
  .p-h3__thumb img {
    width: 100%;
    height: auto;
  }

  .p-article {
    max-width: 80vw;
    margin-left: auto;
    margin-right: auto;
    padding-top: 3.333vw;
    position: relative;
  }
  .p-article__title {
    font-size: 2.4vw;
    color: #fff;
    font-weight: bold;
    padding: 0.667vw 1.333vw;
    border: 1px solid #cbcbcb;
    background-color: #50ddd4;
    border-radius: 0.267vw;
    position: absolute;
    top: 0;
    left: 2.933vw;
  }
  .p-article__box {
    display: flex;
    align-items: center;
    column-gap: 3.2vw;
    padding: 3.333vw 4vw;
    background-color: #fff;
    border: 1px solid #cbcbcb;
    border-radius: 1.333vw;
  }
  .p-article__thumb {
    display: block;
    width: 20.667vw;
    transition: all 0.3s ease;
  }
  .p-article__thumb:hover {
    opacity: 0.8;
  }
  .p-article__thumb img {
    width: 100%;
    height: auto;
  }
  .p-article__text {
    max-width: calc( 100% - 20.667vw - 8vw - 3.2vw );
    font-size: 2.933vw;
    font-weight: bold;
    line-height: 1.6;
    color: #3d383a !important;
  }

  .p-link {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 80vw;
    width: 100%;
    min-height: 13.2vw;
    font-size: 5.333vw;
    letter-spacing: 0.075em;
    color: #fff !important;
    margin-left: auto;
    margin-right: auto;
    border-radius: 2vw;
    position: relative;
    z-index: 2;
    transition: 0.3s all ease;
  }
  .p-link:hover {
    text-decoration: none !important;
    opacity: 0.8;
  }
  .p-link::before {
    content: "";
    width: 80vw;
    height: 100%;
    background-image: url("/kyouiku/special/_assets/20250131/img/20250131_3463_dm_parts_10.png");
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
  }
  .p-lead {
    max-width: 80vw;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .p-lead > * {
    margin-bottom: 1.4em;
  }
  .p-lead > *:last-of-type {
    margin-bottom: 0;
  }
  .p-text {
    font-size: 3.2vw;
    line-height: 1.6;
  }
  .p-h3 .p-text {
    max-width: 80vw;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .p-text  .p-text-accent {
    background: linear-gradient(transparent 70%, #fff2a5 0%);
    display: inline;
    padding: 2px 0px;
  }
}