/**************************************
  ALL
  *****************************************************/
:root {
    /* カラープリセット */
    --color-primary: #245fad;
    /* --color-secondary: #2ecc71;
    --color-accent: #e74c3c; */
    --color-text: #333;
    --color-bg: #eaf1f9;
    --gradient-primary: linear-gradient(to right, #2eb1db, #5de6ae);
    --gradient-tag: linear-gradient(to right, #245fad, #6cb9d6);
    --gradient-accent: linear-gradient(to right, #fff3a1, #fec2ba);

    /* margin */
    --m-0: 0;

    /* フォントサイズプリセット */
    --fsz-100px: 6.25rem;
    --fsz-92px: 5.75rem;
    --fsz-72px: 4.5rem;
    --fsz-60px: 3.75rem;
    --fsz-54px: 3.375rem;
    --fsz-48px: 3rem;
    --fsz-40px: 2.5rem;
    --fsz-36px: 2.25rem;
    --fsz-35px: 2.1875rem;
    --fsz-32px: 2rem;
    --fsz-31px: 1.9375rem;
    --fsz-30px: 1.875rem;
    --fsz-28px: 1.75rem;
    --fsz-26px: 1.625rem;
    --fsz-24px: 1.5rem;
    --fsz-22px: 1.375rem;
    --fsz-20px: 1.25rem;
    --fsz-18px: 1.125rem;
    --fsz-17px: 1.0625rem;
    --fsz-16px: 1rem;
    --fsz-15px: 0.9375rem;
    --fsz-14px: 0.875rem;
    --fsz-13px: 0.8125rem;
    --fsz-12px: 0.75rem;
    --fsz-11px: 0.6875rem;
    --fsz-10px: 0.625rem;
}

* {
    padding: 0;
}

#middle_voice section {
    padding: 0;
    margin-bottom: 0;
}

.l-container {
    width: 100%;
    position: relative;
}

#middle_voice .l-container:not(:first-of-type) {
    padding-top: 6.5rem;
}

.l-inner {
    width: min(100%, 1200px);
    margin-inline: auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

a {
    transition: 0.3s;
    display: block;
}

p {
    margin-bottom: 0 !important;
}

p>a {
    display: inline;
    text-decoration: underline;
}

ul {
    list-style: none;
}

/**************************************
  CustomCSS
  *****************************************************/
html#middle_voice {
    font-size: 16px;
    padding: 0;
    margin: 0;
}

#middle_voice body {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
        "Meiryo", sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    font-size: 1rem;
    font-feature-settings: "palt";
    line-height: normal;
    letter-spacing: 1px;
}

.l-wrapper {
    padding-top: 114px;
}

@media screen and (max-width: 992px) {
    .l-wrapper {
        padding-top: 70px;
    }
}


@media screen and ((max-width: 550px)) {
    .l-wrapper {
        padding-top: 50px;
    }
}

header {
    z-index: 999;
    width: 100%;
}

#middle_voice section:last-child {
    padding-bottom: auto;
}

#middle_voice .header h1 .lead {
    font-size: .875rem;
    font-weight: 400;
}

#middle_voice .menu>ul>li a {
    font-size: .875rem;
}

#middle_voice .header .linkGroup>li:nth-child(-n+3) {
    letter-spacing: normal;
}

#middle_voice .header .linkGroup>li:nth-child(-n+3) a {
    font-size: 13px;
}

#middle_voice .header .linkGroup li a.tel {
    font-size: 1.875rem;
}

#middle_voice .header .linkGroup li .tel img {
    display: inline-block;
}

#middle_voice .taiken-btn {
    letter-spacing: normal;
}

#middle_voice .menu>ul>li>ul {
    padding: 20px 3.125%;
    margin: 1.5rem 0 0;
    top: -6px;
}

#middle_voice .menu>ul>li>ul>li>a {
    font-size: .875rem;
    padding-bottom: 10px;
}

#middle_voice .menu>ul>li>ul>li>ul>li a {
    border: 0;
    font-size: .8175rem;
    font-weight: 500;
}

#middle_voice .menu-dropdown-icon p {
    font-size: .875rem;
    margin-bottom: .625rem;
}

#middle_voice .footer {
    font-family: Noto Sans Japanese, Hiragino Kaku Gothic Pro\ 3W, Osaka, sans-serif;
}

#middle_voice .footer section {
    padding: 5rem 0;
}

#middle_voice .footIndex .indexHead {
    font-size: 1rem;
    margin-bottom: .625rem !important;
    letter-spacing: normal;
}

#middle_voice .footIndex ul.list li a {
    font-size: .875rem;
    font-weight: 500;
}

#middle_voice .footIndex ul.list li a:before {
    font-size: 0.6875rem;
}

#middle_voice small.copyright {
    font-size: .75rem;
    letter-spacing: 0.03125rem;
}

#middle_voice .copy .float-left {
    line-height: 0.7;
}

#middle_voice .container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    #middle_voice .d-sm-none {
        display: none !important;
    }
}

@media (min-width: 992px) {
    #middle_voice .container {
        max-width: none;
        min-width: auto;
        padding-left: 3.125%;
        padding-right: 3.125%;
    }
}

@media (min-width: 1200px) {
    #middle_voice .container {
        max-width: 1140px;
    }
}

@media screen and (max-width: 992px) {
    #middle_voice .container {
        padding-left: 5%;
        padding-right: 5%;
    }

    #middle_voice .menu>ul>li a {
        font-size: 1rem;
    }

    #middle_voice .header ul.inner.show-on-mobile {
        margin-top: 70px;
    }

    #middle_voice .menu-dropdown-icon:before {
        /* padding: 19px 1.25em; */
        font-size: 0.875rem;
    }

    #middle_voice .menu>ul>.menu-tel i img {
        width: 40px;
        display: inline-block;
    }

    #middle_voice .menu>ul>.menu-tel a {
        text-align: center;
        font-size: 1.75rem;
        padding: .5em 0;
    }

    #middle_voice .menu>ul>.menu-line a img {
        height: 3pc;
        display: inline-block;
    }

    #middle_voice .menu>ul>li>ul,
    .menu>ul>li>ul.school {
        position: relative;
        width: 100%;
        min-width: auto;
        padding-top: 3vh;
        margin: 0;
        border: 0;
    }
}

@media screen and (max-width: 768px) {
    #middle_voice .footer section {
        padding: 2.5rem 0;
    }
}

@media screen and (max-width: 767px) {
    #middle_voice .header h1 {
        width: 70%;
    }

    #middle_voice .header h1 a {
        width: 100%;
        height: 100%;
    }

    #middle_voice .header h1 a span {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        height: 100%;
        max-width: 100%;
    }

    #middle_voice .header h1 a span img {
        max-height: inherit;
        width: 90% !important;
    }

    #middle_voice .footer ul.row {
        gap: 1rem;
    }
}

@media screen and (max-width: 992px) {
    #middle_voice .menu>ul>li a {
        font-size: .875rem;
    }
}

@media (max-width: 576px) {
    #middle_voice .header .mobileNav nav:first-child {
        z-index: 2;
        background-color: #fff;
    }

    #middle_voice .header .inner {
        height: 50px;
    }

    #middle_voice ul.row {
        z-index: 9;
    }

    #middle_voice .header ul.inner.show-on-mobile {
        margin-top: 112px;
    }

    #middle_voice .py-7 {
        padding: 2rem 0;
    }

    #middle_voice small.copyright {
        line-height: 1.8;
    }
}

/**************************************
  Components
  *****************************************************/

/* title */
.c-title__content {
    position: relative;
}

.c-title__smallEn {
    margin-bottom: 0.625rem !important;
}

.c-fontEn {
    font-family: "Akshar", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: var(--fsz-16px);
    font-weight: 500;
    color: var(--color-primary);
}

.c-title__accentEn {
    position: absolute;
    right: 0;
    bottom: 0;
    width: fit-content;
    font-size: var(--fsz-92px);
    line-height: 1;
    font-weight: bold;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    /* 新しいブラウザ用 */
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* 新しいブラウザ用 */
}

.c-title--primary {
    font-size: var(--fsz-40px);
    font-weight: bold;
    color: var(--color-primary);
}

.c-title--secondary {
    font-size: var(--fsz-32px);
    font-weight: bold;
}

.c-title__smallText {
    font-size: var(--fsz-16px);
    margin-top: 1.25rem;
    line-height: 1.7;
}

.c-title__main {
    position: relative;
}

.c-title--tertiary {
    font-size: var(--fsz-22px);
}

/* text */
.c-accent__gradationTextBlock {
    position: absolute;
    top: 25.7rem;
    left: -2rem;
}

.c-accent__gradationText {
    font-size: var(--fsz-32px);
    width: fit-content;
    padding: 0 0.8125rem;
    border-radius: 0.25rem;
    color: #fff;
    background: var(--gradient-primary);
    font-weight: bold;
}

.c-accent__gradationText+.c-accent__gradationText {
    margin-top: 0.5rem;
}

/* bg */
.c-bg-right {
    margin-top: 6.5rem;
    padding-bottom: 7rem !important;
}

.c-bg-left {
    margin-top: 6.5rem;
    padding-bottom: 7rem !important;
}

.c-bg-right::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - ((100vw - min(100%, 1200px)) / 4));
    height: 100%;
    background-color: var(--color-bg);
    border-radius: 5rem 0 0 5rem;
    z-index: -9;
}

.c-bg-left::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - ((100vw - min(100%, 1200px)) / 4));
    height: 100%;
    background-color: var(--color-bg);
    border-radius: 0 5rem 5rem 0;
    z-index: -9;
}

.c-bg-waveBottom {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -2;
}

.c-bg-waveTop {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
}

/* c-card */
.c-card {
    display: flex;
}

.c-card__inner {
    margin: 0 auto;
    padding: 2rem;
    border-radius: 1.875rem;
}

.c-card__title {
    font-size: var(--fsz-28px);
    padding: 0.4rem 0;
    margin-bottom: 1rem;
    border-radius: 1.875rem;
    text-align: center;
    color: #fff;
    background: var(--gradient-primary);
}

/* c-counter */
.c-counter {
    counter-reset: number 0;
}

.c-counter__number::before {
    font-family: "Akshar", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: var(--fsz-40px);
    font-weight: bold;
    line-height: 1;
    /* position: absolute;
    inset: -7rem auto auto 50%;
    translate: -50% 0%; */
    counter-increment: number 1;
    content: "0" counter(number) " ";
    color: var(--color-primary);
    /* pointer-events: none; */
}

/* key-message */
.c-key-message {
    /* position: absolute; */
    position: relative;
    /* top: -1.3rem;
    left: 50%;
    transform: translateX(-50%); */
    display: block;
    width: fit-content;
    margin: 0 auto -0.6rem !important;
    font-size: var(--fsz-22px);
    padding: 0 1.875rem;
    color: var(--color-primary);
    font-weight: bold;
}

.c-key-message:before,
.c-key-message:after {
    content: "";
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 26px;
    height: 1px;
    background-color: var(--color-primary);
}

.c-key-message:before {
    left: 0;
    -webkit-transform: rotate(60deg);
    transform: rotate(60deg);
}

.c-key-message:after {
    right: 0;
    -webkit-transform: rotate(-60deg);
    transform: rotate(-60deg);
}

/* c-tabs */
.c-tabs {
    margin-top: 2.5rem;
    margin-bottom: 3.75rem;
    display: block;
}

.c-tabsLabel {
    width: min(24%, 273px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0 0.625rem;
    padding: 1.125rem 1.375rem;
    margin: 0 0.2rem;
    font-size: var(--fsz-20px);
    font-weight: bold;
    border-radius: 2rem;
    cursor: pointer;
    color: var(--color-primary);
    border: 2px solid #fff;
    background-color: #fff;
    text-align: center;
}

.c-tabsLabel:hover {
    opacity: 0.8;
}

.c-tabs input[type="radio"] {
    display: none;
}

/* tab-checked */
input[type="radio"]:checked+.c-tabsLabel {
    background: var(--gradient-tag);
    color: #fff;
    border: 2px solid var(--color-primary);
    cursor: unset;
}

input[type="radio"]:checked+.c-tabsLabel:hover {
    opacity: 1;
}

input[type="radio"]:checked+.c-tabsLabel svg {
    fill: #fff;
}

/* タグが増えた場合、以下に追加。 */
input#curriculum1:checked~#content1,
input#curriculum2:checked~#content2,
input#curriculum3:checked~#content3,
input#curriculum4:checked~#content4,
input#curriculum5:checked~#content5,
input#curriculum6:checked~#content6,
input#curriculum7:checked~#content7,
input#course01:checked~#course-ct1,
input#course02:checked~#course-ct2,
input#course03:checked~#course-ct3,
input#course04:checked~#course-ct4,
input#course05:checked~#course-ct5,
input#course06:checked~#course-ct6,
input#course07:checked~#course-ct7 {
    display: flex;
}

/* /tab-checked */

/**************************************
  section
  *****************************************************/

/* hero */
.p-hero {
    height: 720px;
    background-image: url(/child/images/fv.png);
    background-repeat: no-repeat;
}

.p-hero__inner {
    padding-top: 18rem;
}

.p-hero-highlight {
    width: fit-content;
    padding: 0 0.625rem;
    border-radius: 4px;
    background-color: #00000080;
    color: #fff;
}

.p-hero__topSmallText {
    font-size: var(--fsz-22px);
    font-weight: 500;
}

.p-hero__topText {
    font-size: var(--fsz-60px);
    margin-top: 0.65rem;
    padding: 0.1125rem 0.75rem 0.5125rem 0.425rem;
    line-height: 1;
    font-weight: bold;
    letter-spacing: 4px;
}

.p-hero__tagBox {
    display: flex;
    column-gap: 0.625rem;
    margin-top: 1.25rem;
    margin-bottom: 2.5rem;
}

.p-hero__tag {
    padding: 0.625rem 1.875rem;
    display: block;
    color: #fff;
    background: var(--gradient-primary);
    border-radius: 1.875rem;
    font-weight: 500;
}

.p-hero__bottomText {
    display: block;
    width: fit-content;
    padding: 8px 16px;
    font-size: var(--fsz-22px);
    font-weight: 500;
    line-height: 1.6;
    color: #333;
    background: rgba(255, 255, 255, 0.7);
    /*text-shadow: 0px 0px 3px #333, 0px 0px 3px #333, 0px 0px 3px #333,
        0px 0px 3px #333;*/
}

/* 講座を学ぶと-study */
.p-study__title {
    text-align: center;
    color: var(--color-text);
}

.p-study-card {
    margin-top: 3rem;
    margin-bottom: 4rem;
    gap: 0 2.25rem;
}

.p-study-card__inner {
    width: min(33%, 376px);
    background-color: var(--color-bg);
}

.p-study-card__items::before {
    content: "●";
    color: var(--color-primary);
}

.p-study-card__items {
    font-size: var(--fsz-18px);
    line-height: 1.8;
}

.p-study-bottom {
    display: flex;
    justify-content: center;
    gap: 0 1.55rem;
}

.p-study__imgBlock {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background-color: var(--color-bg);
}

.p-study__speechBubble {
    position: relative;
    padding: 1.25rem 1.875rem;
    border: 2px solid var(--color-text);
    border-radius: 2.5rem;
}

.p-study__speechBubbleText {
    font-size: var(--fsz-28px);
    font-weight: bold;
    color: var(--color-primary);
}

.p-study__speechBubbleImg {
    position: absolute;
    bottom: 0;
    left: 0;
}

.p-study-bottom__smallTextBox {
    margin-top: 1.25rem;
}

.p-study-bottom__smallText {
    font-size: var(--fsz-18px);
    line-height: 1.8;
}

.p-study-bottom__smallText span {
    color: var(--color-primary);
    font-weight: bold;
}

/* カリキュラム-curriculum */
.p-curriculum__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.p-curriculum__icon {
    fill: var(--color-primary);
}

.p-curriculum__tabContent {
    display: none;
    gap: 0 2.25rem;
    margin-top: 2rem;
    border-top: none;
    width: 100%;
}

.p-curriculum__tabContentBlock {
    width: min(50%, 582px);
    padding: 2rem;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 2.5rem;
}

.p-curriculum__tabContentText {
    margin: 1.25rem 0 1.625rem !important;
    line-height: 1.6;
}

.p-curriculum__tabItems {
    padding-left: 0.625rem;
    line-height: 2.4;
}

.p-curriculum__tabItems::before {
    content: "●";
    color: var(--color-primary);
}

.p-curriculum__tabItems:nth-child(odd) {
    background-color: var(--color-bg);
}

.p-curriculum__title {
    text-align: center;
    color: var(--color-text);
}

/* Slider */
.p-curriculum--slider__inner {
    position: relative;
    margin-top: 2.5rem;
    margin-bottom: 5.5rem;
    width: 100%;
}

.swiper-pagination-bullet-active {
    background: #007bff;
}

/* スライダーナビのため */
.p-lecture__content {
    position: relative;
}

.p-curriculum-card {
    width: 100%;
    gap: unset;
}

.swiper-slide {
    height: 100% !important;
}

.swiper .p-curriculum--sliderContent {
    background-color: #fff;
    height: 100%;
}

.p-curriculum-cardText {
    font-size: var(--fsz-18px);
    line-height: 1.8;
}

.swiper-button-next {
    right: -3rem !important;
    left: auto;
}

.swiper-button-prev {
    left: -3rem !important;
    right: auto;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after,
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
    content: "" !important;
}

.swiper-button-prev,
.swiper-button-next {
    top: 50%;
    transform: translateY(-50%);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    height: 100px;
    margin: auto;
    width: 50px;
}

.swiper-button-next::after {
    background-image: url(/child/images/triangle-right.png);
}

.swiper-button-prev::after {
    background-image: url(/child/images/triangle-left.png);
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: -3rem !important;
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 1rem !important;
}

.swiper-pagination-bullet {
    border: 1px solid var(--color-primary) !important;
    background: #fff !important;
    height: 14px !important;
    width: 14px !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: var(--gradient-tag) !important;
}

/* オンラインライブ-online */
.p-online__content {
    margin-top: 2.5rem;
}

.p-online__contentInner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.25rem;
    gap: 0 2.5rem;
    border-radius: 5rem 0 5rem 0;
    background-color: var(--color-bg);
}

.p-online__bottom {
    flex-direction: row-reverse;
    margin-top: 1.25rem;
}

.p-online__contentText {
    margin-top: 1rem;
    line-height: 1.8;
}

.p-online__contentNote {
    margin-top: 1rem;
    display: block;
    font-size: var(--fsz-14px);
}

/* intro */
.p-intro__content {
    margin-top: 2.5rem;
}

.p-intro__contentList {
    display: flex;
    gap: 0 2.25rem;
}

.p-intro__contentBottom {
    margin-top: 2.5rem;
    margin-bottom: 2.25rem;
}

.p-intro__contentItems {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem 0;
    width: min(24%, 211px);
    padding: 1.25rem 0.5rem 1rem;
    border-radius: 2.5rem;
    background-color: #fff;
}

.p-intro__contentTextBlock {
    text-align: center;
}

.p-intro__contentItemText {
    margin-bottom: 0.2rem;
    font-size: var(--fsz-20px);
    color: var(--color-primary);
    font-weight: bold;
}

.p-intro__contentItemDescription {
    font-size: var(--fsz-13px);
    color: var(--color-primary);
}

.p-intro__contentBottom {
    display: flex;
    gap: 0 2.25rem;
}

.p-intro__contentItemImg {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.p-intro__note {
    line-height: 1.7;
}

/* 特徴-feature */
.p-feature__content {
    padding-top: 3.5rem;
    border-top: 1px solid var(--color-text);
}

.p-feature__title {
    margin-bottom: 0.625rem;
}

.p-feature__contentItems {
    display: flex;
    gap: 0 2.25rem;
}

.p-feature__contentItemsReverse {
    flex-direction: row-reverse;
    margin: 8.175rem 0;
}

.p-feature__contentImgBlock {
    position: relative;
    /* width: min(45%, 500px); */
    flex-shrink: 0;
}

.p-feature__contentImgBlock::before {
    font-size: var(--fsz-100px);
    position: absolute;
    top: -2.5rem;
    left: -2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    /* 新しいブラウザ用 */
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* 新しいブラウザ用 */
}

.p-feature__contentItemsReverse .p-feature__contentImgBlock::before {
    left: unset;
    right: -2rem;
}

.p-feature__contentItemsReverse .p-feature__contentImgBlock div {
    left: unset;
    right: -2rem;
}

.p-feature__contentDescription {
    margin-top: 0.75rem;
    margin-bottom: 2.8rem !important;
    line-height: 1.8;
}

.p-feature__contentPointBlock {
    position: relative;
}

.p-feature__contentPointList {
    display: flex;
    justify-content: center;
    gap: 0 1rem;
    padding: 1.25rem;
    border-radius: 1.25rem;
    background-color: var(--color-bg);
}

.p-feature__contentPointItems {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: min(33%, 250px);
    padding: 1rem;
    border-radius: 0.75rem;
    line-height: 1.5;
    background-color: #fff;
    font-weight: bold;
}

.p-feature__contentSpeechBubbleBlock {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 1.375rem;
    margin-top: 1.5rem;
}

.p-feature__contentSpeechBubble--imgBlock {
    width: 128px;
    border-radius: 50%;
    flex-shrink: 0;
    background-color: var(--color-bg);
}

.p-feature__contentSpeechBubble {
    position: relative;
    padding: 2rem 1.875rem;
    flex-grow: 1;
    border: 2px solid var(--color-text);
    border-radius: 1.25rem;
}

.p-feature__contentSpeechBubble--text {
    font-size: var(--fsz-16px);
    line-height: 1.8;
}

.p-feature__contentSpeechBubble-img {
    position: absolute;
    top: 50%;
    left: -1.1rem;
    transform: translateY(-50%);
}

/* 学習サポート-support */
.p-support__content {
    margin-top: 2.5rem;
}

.p-support__contentItems {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem;
    border-radius: 5rem 0 5rem 0;
    background-color: #fff;
}

.p-support__contentItems+.p-support__contentItems {
    margin-top: 1.25rem;
}

.p-support__contentItems-Img {
    margin-top: 2.5rem;
}

/* 講師-lecture */
.p-lecture__content {
    margin-top: 2.5rem;
}

.p-lecture__contentTop {
    display: flex;
    align-items: flex-start;
    gap: 0 2.25rem;
}

.p-lecture__contentItems {
    width: min(100%, 458px);
    border-radius: 2.5rem 0 2.5rem;
}

.p-lecture__description {
    width: 100%;
}

.p-lecture__contentItems {
    flex-shrink: 0;
}

.p-lecture__type {
    margin-top: 1rem;
}

.p-lecture__type+.p-lecture__type {
    margin-top: 1.5rem;
}

.p-lecture__typeTitle {
    margin-bottom: 0.8rem;
    background-color: var(--color-bg);
    font-weight: 500;
    padding: 0.425rem;
}

.p-lecture__typeItems {
    line-height: 1.8;
}

.p-lecture__typeBottom {
    margin-top: 1.5rem;
}

.p-lecture__contentMessage {
    position: relative;
    margin-top: 3.5rem;
    padding: 1.5rem;
    border-radius: 1.25rem;
    background-color: var(--color-bg);
}

.p-key-message {
    top: -2.8rem;
}

.p-lecture__message {
    padding: 1.5rem;
    margin-bottom: .3rem !important;
    line-height: 1.8;
    border-radius: 1.25rem;
    background-color: #fff;
}

/* 受講生・卒業生の声-voice */
.p-voice {
    margin-top: 6.5rem;
    padding-bottom: 7rem;
    background-color: var(--color-bg);
}

.p-voice__content {
    position: relative;
    margin-top: 3rem;
    /* height: 100%; */
}

.p-voice__contentItems {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: stretch;
    box-sizing: border-box;
}

.p-voice__contentInner {
    /* height: 100%;
    display: flex;
    flex-direction: column; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: stretch;
    box-sizing: border-box;
}

.p-voice__itemTextBlock {
    padding: 1.5rem 1.5rem 2rem;
    flex-grow: 1;
    border-bottom-right-radius: 2.5rem;
    background-color: #fff;
}

.p-voice__itemClass {
    display: block;
    text-align: center;
    font-size: var(--fsz-16px);
    color: var(--color-primary);
    font-weight: bold;
}

.p-voice__itemTitle {
    text-align: center;
    color: var(--color-primary);
    font-weight: bold;
}

.p-voice__itemText {
    margin-top: 1rem;
    line-height: 1.8;
}

/* FAQ */
.p-faq__list {
    margin-top: 2.5rem;
}

.p-faq-itemQ__txt {
    display: flex;
    align-items: baseline;
    gap: 0 0.625rem;
    font-size: var(--fsz-20px);
    font-weight: 500;
}

.p-faq__item {
    padding: 2rem 2.5rem 2.4rem;
    border-radius: 1.25rem;
    background-color: var(--color-bg);
    cursor: pointer;
}

.p-faq__item+.p-faq__item {
    margin-top: 2rem;
}

.p-faq-itemQ {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.p-faq-item__a {
    display: none;
    padding-top: 1rem;
    cursor: pointer;
}

.p-faq-item__a-txt {
    display: flex;
    align-items: baseline;
    gap: 0 0.625rem;
    font-size: var(--fsz-20px);
    font-weight: 500;
    line-height: 2;
}

.p-faq-item__toggle {
    display: inline-block;
    vertical-align: middle;
    color: #333;
    line-height: 1;
    position: relative;
    width: 1rem;
    height: 1rem;
    transform: translateX(-25%) rotate(135deg);
    -webkit-transform: translateX(-25%) rotate(135deg);
    border-radius: 50%;
    -webkit-transition: -webkit-transform 0.4s 0.1s;
    transition: -webkit-transform 0.4s 0.1s;
    transition: transform 0.4s 0.1s;
    transition: transform 0.4s 0.1s, -webkit-transform 0.4s 0.1s;
}

.p-faq-item__toggle::before,
.p-faq-item__toggle::after {
    content: "";
    position: absolute;
    background: currentColor;
    border-radius: 0.1rem;
}

.p-faq-item__toggle::before {
    top: 0;
    left: 0;
    right: 0;
    height: 0.1rem;
}

.p-faq-item__toggle::after {
    top: 0;
    right: 0;
    bottom: 0;
    width: 0.1rem;
}

.is-faq-active .p-faq-itemQ .p-faq-item__toggle {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.p-faq-itemTexture {
    font-family: "Akshar", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: var(--fsz-35px);
    font-weight: bold;
}

/* 講座情報-course */
.p-course__content {
    margin-top: 2.5rem;
}

/* course-table */
.p-course__infoTableList {
    margin-top: 1rem;
}

.p-course__infoTableItems {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.p-course__infoTableItems+.p-course__infoTableItems {
    margin-top: 0.5rem;
}

.p-course__infoTableTitle {
    display: flex;
    align-items: center;
    align-self: stretch;
    flex-shrink: 0;
    width: min(30%, 210px);
    padding: 0.8125rem 2.25rem;
    font-size: var(--fsz-20px);
    font-weight: 500;
    color: #fff;
    background: var(--gradient-primary);
    border-radius: 0.625rem 0 0 0.625rem;
}

.p-course__infoTableDetail {
    display: flex;
    align-items: center;
    align-self: stretch;
    width: 100%;
    padding: 0.8125rem 2.25rem;
    font-size: var(--fsz-20px);
    font-weight: 500;
    background: #fff;
    border-radius: 0 0.625rem 0.625rem 0;
}

/* course-tab */
.p-course__tabs {
    margin-top: 1rem;
    margin-bottom: unset;
}

.p-course__titleBlock {
    display: flex;
    align-items: center;
    gap: 0 2rem;
}

.p-course__tabLabel {
    width: min(20%, 210px);
    /* 適宜、タグの個数によって変更 */
    border: 2px solid var(--color-primary);
    flex-wrap: wrap;
    cursor: pointer;
}

.p-course__tabContent {
    display: none;
    gap: 0 2.25rem;
    margin-top: 2rem;
}

.p-course__tabContentBlock {
    width: 100%;
    padding: 4rem 3.5rem;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 5rem 0 5rem 0;
}

.p-course__tabSchoolTop {
    display: flex;
    justify-content: space-between;
}

.p-course__tabContentText {
    width: min(70%, 860px);
    font-size: var(--fsz-20px);
    font-weight: 500;
    line-height: 1.8;
}

.p-course__tabSchoolBottom {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-text);
}

.p-course__schoolInfoInner+.p-course__schoolInfoInner {
    margin-top: 1rem;
}

.p-course__infoTitle {
    font-size: var(--fsz-18px);
    font-weight: 500;
}

.p-course__infoTitle::before {
    content: "●";
    padding-right: 0.2rem;
    color: var(--color-primary);
}

.p-course__infoDetail {
    margin-top: 0.3rem;
    line-height: 1.6;
}

.p-course__infoTel {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: var(--fsz-36px);
    font-weight: bold;
    color: var(--color-primary);
    text-decoration: none;
    pointer-events: none;
}

.p-course__infoMapLink {
    position: relative;
    overflow: hidden;
    padding: 1rem 5.75rem;
    font-size: var(--fsz-24px);
    font-weight: bold;
    border: 2px solid var(--color-primary);
    border-radius: 2rem;
    transition: color 0.3s ease;
    /* テキスト色のトランジション */
    background-color: #fff;
    color: var(--color-primary);
    text-decoration: none;
    cursor: pointer;
    z-index: 1;
}

/* 色を反転させるためのホバー効果 */
.p-course__infoMapLink::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    /* ホバー時に流れる色 */
    transition: left 0.3s ease;
    /* 色が流れるトランジション */
    z-index: -1;
}

.p-course__infoMapLink:hover::before {
    left: 0;
    /* ホバー時に色を左から右へ流す */
}

.p-course__infoMapLink:hover {
    color: #fff;
    /* ホバー時のテキスト色 */
}

.p-course__schoolMap {
    width: min(55%, 636px);
}

/* 迷っている方へ-guidance */
.p-guidance {
    margin-top: 13.5rem;
    padding-bottom: 7rem;
    background-image: url(/child/images/bg-texture.png);
    background-repeat: no-repeat;
    background-position: 108% 75%;
}

.p-guidance__content {
    display: flex;
    justify-content: end;
    align-items: end;
    gap: 0 5rem;
}

.p-guidance__contentText {
    margin-top: 2.5rem;
    line-height: 1.8;
}

.p-guidance__contentTextBlue {
    margin-top: 2.5rem;
    font-size: var(--fsz-18px);
    font-weight: bold;
    color: var(--color-primary);
    line-height: 1.8;
}

.p-guidance__contentTextBlue+.p-guidance__contentTextBlue {
    margin-top: 1rem;
}

.p-guidance__leftBg {
    position: absolute;
    top: -5rem;
    left: 30%;
    transform: translateX(-30%);
    z-index: -1;
}

.p-guidance__rightBg {
    position: absolute;
    bottom: -4rem;
    right: -2rem;
    z-index: -1;
}

.p-guidance__contentImgBlock {
    position: relative;
}

.p-guidance__titleBlock {
    top: 19rem;
    left: -8rem;
}

.p-guidance__bgImg {
    position: absolute;
    width: min(33%, 604px);
    top: -7rem;
}

/**************************************
  utility
  *****************************************************/

.u-blue {
    color: var(--color-primary);
}

.u-red {
    color: #e57373;
}

.u-open {
    display: block;
}

.u-center {
    text-align: center;
}

.u-sp {
    display: none;
}

/* Exclude hover effects  */
@media (hover: none) {
    .p-course__infoMapLink::before {
        display: none;
        /* スマホではホバー効果を無効化 */
    }

    .p-course__infoMapLink {
        transition: none;
        /* スマホではトランジションを無効化 */
    }

    .p-course__infoMapLink:hover {
        color: var(--color-primary);
        /* ホバー時のテキスト色 */
    }
}

@media only screen and (width > 1500px) {
    .p-hero {
        background-size: cover;
    }
}

/* Responsive PC to SP */
/* media ~1440px */
@media only screen and (width <=1440px) {
    .l-inner {
        width: min(100%, 1100px);
    }

    /* bg */
    .c-bg-right::before {
        width: calc(100% - ((100vw - min(100%, 1100px)) / 4));
    }

    .c-bg-left::before {
        width: calc(100% - ((100vw - min(100%, 1100px)) / 4));
    }

    .c-card__inner {
        padding: 1.5rem;
    }

    .p-study-card__items {
        font-size: var(--fsz-17px);
    }

    .p-hero {
        background-position: 36% 0;
    }

    .p-curriculum--slider__inner {
        width: 95%;
        margin-inline: auto;
    }

    .p-feature__contentSpeechBubble--text {
        font-size: var(--fsz-15px);
        line-height: 1.8;
    }

    .p-voice__content {
        width: 95%;
        margin-inline: auto;
    }

    .p-guidance__titleBlock {
        left: -5rem;
    }
}

/* media ~1250px */
@media only screen and (width <=1250px) {
    :root {
        --fsz-72px: 4.5rem;
    }

    #middle_voice .l-container:not(:first-of-type) {
        padding-top: 5rem;
    }

    .l-inner {
        width: min(100%, 968px);
    }

    /**************************************
        Components
        *****************************************************/
    /* title */
    .c-title__accentEn {
        font-size: var(--fsz-72px);
    }

    .c-title--primary {
        font-size: var(--fsz-36px);
    }

    .c-title--secondary {
        font-size: var(--fsz-28px);
        font-weight: bold;
    }

    .c-title--tertiary {
        font-size: var(--fsz-20px);
    }

    /* text */
    .c-accent__gradationTextBlock {
        position: absolute;
        top: 17.7rem;
        left: -1rem;
    }

    .c-accent__gradationText {
        font-size: var(--fsz-28px);
    }

    /* bg */
    .c-bg-right {
        margin-top: 5rem;
        padding-bottom: 6rem !important;
    }

    .c-bg-left {
        margin-top: 6.5rem;
        padding-bottom: 7rem !important;
    }

    .c-bg-right::before {
        width: calc(100% - ((100vw - min(100%, 968px)) / 4));
    }

    .c-bg-left::before {
        width: calc(100% - ((100vw - min(100%, 968px)) / 4));
    }

    /* card */
    .c-card__inner {
        padding: 1.2rem;
    }

    .c-card__title {
        font-size: var(--fsz-24px);
    }

    /* tab */
    .c-tabsLabel {
        width: min(23.9%, 273px);
        font-size: var(--fsz-18px);
    }

    .p-hero__inner {
        padding-top: 15rem;
    }

    .p-study-card {
        margin-top: 3rem;
        margin-bottom: 2.8rem;
        gap: 0 1.5rem;
    }

    .p-study-card__items {
        font-size: var(--fsz-16px);
        line-height: 1.8;
    }

    .p-study__speechBubbleText {
        font-size: var(--fsz-24px);
    }

    .p-study__imgBlock {
        width: 200px;
        height: 200px;
    }

    .p-curriculum__tabContent {
        display: none;
        justify-content: space-between;
        gap: 0 2.25rem;
        margin-top: 2rem;
    }

    .p-curriculum--slider__inner {
        width: 90%;
        margin-inline: auto;
    }

    .p-intro__contentList {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2.25rem;
    }

    .p-intro__contentItems {
        gap: 2rem 0;
        width: min(33%, 220px);
    }

    .p-feature__contentItems {
        gap: 0 2rem;
    }

    .p-feature__contentImgBlock {
        width: min(34%, 500px);
    }

    .p-feature__contentItemsReverse .p-feature__contentImgBlock::before {
        right: -1rem;
    }

    .p-feature__contentItemsReverse .p-feature__contentImgBlock div {
        left: unset;
        right: -1rem;
    }

    .p-voice__content {
        width: 90%;
        margin-inline: auto;
    }

    .p-feature__contentImgBlock::before {
        font-size: var(--fsz-72px);
        top: -2rem;
        left: -1rem;
    }

    .p-lecture__content {
        width: 90%;
        margin-inline: auto;
    }

    .p-guidance__contentText {
        margin-top: 2rem;
    }

    .p-guidance__contentTextBlue {
        margin-top: 2rem;
    }

    .p-guidance__content {
        gap: 0 2.5rem;
    }

    .p-guidance__contentImgBlock {
        width: min(40%, 500px);
    }

    .p-guidance__bgImg {
        width: min(29%, 604px);
        top: 4rem;
    }
}

/* media ~1024px */
@media only screen and (width <=1024px) {
    #middle_voice .l-container {
        padding-left: 3.125rem;
        padding-right: 3.125rem;
    }

    .l-inner {
        width: min(100%, 968px);
    }

    /**************************************
        Components
        *****************************************************/
    .c-title--primary {
        font-size: var(--fsz-32px);
    }

    .c-title--secondary {
        font-size: var(--fsz-24px);
    }

    .c-title__accentEn {
        font-size: var(--fsz-60px);
        right: unset;
        bottom: unset;
        top: -2.4rem;
        left: -1.5rem;
        z-index: -1;
    }

    .c-title__smallEn {
        margin-bottom: 0.425rem !important;
    }

    .c-accent__gradationTextBlock {
        position: absolute;
        bottom: -1.2rem;
        top: auto;
        left: -1rem;
    }

    .c-bg-right::before {
        width: 100%;
        border-radius: unset;
    }

    .c-bg-left::before {
        width: 100%;
        border-radius: unset;
    }

    .c-tabs {
        margin-top: 2.5rem;
        margin-bottom: 3.75rem;
        display: flex;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 0;
    }

    .c-tabsLabel {
        width: min(40%, 232px);
    }

    .c-bg-left {
        margin-top: 5rem;
        padding-bottom: 5rem !important;
    }

    .c-bg-right {
        margin-top: 5rem;
        padding-bottom: 5rem !important;
    }

    /**************************************
        section
        *****************************************************/
    .p-hero {
        background-position: 41% 0%;
    }

    .p-study-card {
        margin-top: 2rem;
        margin-bottom: 2.5rem;
        gap: 1.5rem 0;
        flex-direction: column;
    }

    .p-study-card__inner {
        width: min(75%, 500px);
        padding: 1.5rem;
        font-size: var(--fsz-18px);
    }

    .p-study-bottom {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 1.55rem;
    }

    .p-study-bottom__textBlock {
        display: contents;
    }

    .p-study-bottom__smallTextBox {
        margin-top: unset;
    }

    .p-study__imgBlock {
        width: 150px;
        height: 150px;
    }

    .p-study__speechBubbleImg {
        top: 50%;
        transform: translateY(-50%);
        bottom: unset;
        left: -1.2rem;
    }

    .p-study__speechBubble {
        width: min(65%, 799px);
    }

    .p-curriculum__tabContent {
        margin-top: 1.25rem;
        gap: 0 1.5rem;
    }

    .p-curriculum__tabContentBlock {
        padding: 1.5rem;
    }

    .p-online__contentInner {
        justify-content: unset;
        align-items: center;
        flex-direction: column;
        width: min(100%, 768px);
        margin-inline: auto;
        padding: 2.25rem;
        gap: 0 2.5rem;
    }

    .p-online__contentTextBlock {
        display: contents;
    }

    .p-online__contentImg {
        width: min(70%, 400px);
        margin: 2rem auto 0;
        order: 2;
    }

    .p-online__contentText {
        order: 3;
    }

    .p-online__contentNote {
        order: 4;
    }

    .p-intro__contentBottom {
        display: flex;
        gap: 2rem 0;
        flex-direction: column;
        align-items: center;
    }

    .p-feature__contentItemsReverse {
        margin: 5rem 0;
    }

    .p-feature__contentItems {
        flex-direction: column;
        gap: 3rem 0;
        width: min(100%, 720px);
        margin-inline: auto;
    }

    .p-feature__contentImgBlock {
        width: 100%;
    }

    .p-feature__contentImg {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-position: top;
        border-radius: 1.25rem 0 4rem 0;
    }

    .p-feature__contentImgBlock::before {
        font-size: var(--fsz-92px);
        top: -2rem;
        left: -1rem;
    }

    .p-feature__contentItemsReverse .p-feature__contentImgBlock::before {
        left: -1rem;
        right: unset;
    }

    .p-feature__contentItemsReverse .p-feature__contentImgBlock div {
        left: -1rem;
        right: unset;
    }

    .p-feature__contentSpeechBubbleBlock {
        margin-top: 2rem;
    }

    .p-lecture__contentTop {
        align-items: center;
        gap: 2rem 0;
        flex-direction: column;
    }

    .p-lecture__inner .swiper-button-prev,
    .p-lecture__inner .swiper-button-next {
        top: 15rem !important;
    }

    .p-voice {
        margin-top: 6rem;
        padding-bottom: 5rem;
    }

    .p-voice__smallEn {
        position: relative;
        z-index: 2;
    }

    .p-voice__accentEn {
        z-index: 1;
    }

    .p-faq__item {
        padding: 1.4rem 2.5rem;
    }

    .p-faq-itemTexture {
        font-size: var(--fsz-30px);
    }

    .p-faq-itemQ__txt {
        font-size: var(--fsz-18px);
    }

    .p-faq-item__a {
        padding-top: 0.625rem;
        cursor: pointer;
    }

    .p-faq-item__a-txt {
        font-size: var(--fsz-18px);
    }

    .p-course__tabs {
        margin-top: 1.5rem;
    }

    .p-course__infoTableTitle {
        font-size: var(--fsz-18px);
    }

    .p-course__infoTableDetail {
        display: flex;
        align-items: center;
        align-self: stretch;
        width: 100%;
        padding: 0.8125rem 2.25rem;
        font-size: var(--fsz-18px);
    }

    .p-course__tabs {
        margin-bottom: unset;
        display: block;
    }

    .p-course__titleBlock {
        display: flex;
        align-items: baseline;
        flex-direction: column;
        gap: 0.2rem 0;
    }

    .p-course__tabLabel {
        width: min(26.9%, 273px);
    }

    .p-course__tabContent {
        margin-top: 1rem;
    }

    .p-course__tabContentText {
        font-size: var(--fsz-18px);
    }

    .p-course__tabSchoolBottom {
        flex-direction: column-reverse;
        gap: 1.5rem 0;
    }

    .p-course__schoolMap {
        width: 100%;
    }

    .p-course__infoMapLink {
        width: min(100%, 352px);
    }

    .p-guidance {
        margin-top: 12rem;
        padding-top: 10rem !important;
        background-repeat: repeat;
    }

    .p-guidance__content {
        gap: 4rem 0;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .p-guidance__contentImgBlock {
        width: 100%;
        z-index: 2;
    }

    .p-guidance__contentImg {
        width: min(45%, 540px);
        margin-left: auto;
    }

    .p-guidance__titleBlock {
        left: 23%;
    }

    .p-guidance__bgImg {
        width: 66%;
        top: -8rem;
        aspect-ratio: 4 / 3;
        object-position: top;
        left: 0;
        z-index: 1;
    }
}

/* media ~768px */
@media only screen and (width <=768px) {
    .l-container {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    #middle_voice .l-container:not(:first-of-type) {
        padding-top: 4rem;
    }

    .l-inner {
        width: 100%;
    }

    /**************************************
        Components
        *****************************************************/

    .c-title--primary {
        font-size: var(--fsz-28px);
    }

    .c-title--secondary {
        font-size: var(--fsz-22px);
    }

    .c-title__accentEn {
        font-size: var(--fsz-54px);
        top: -2rem;
        left: -1rem;
    }

    .c-title__smallText {
        margin-top: 1rem;
        font-size: var(--fsz-14px);
        line-height: 1.6;
    }

    .c-accent__gradationText {
        font-size: var(--fsz-22px);
    }

    .c-accent__gradationText+.c-accent__gradationText {
        margin-top: 0.3rem;
    }

    .c-key-message {
        font-size: var(--fsz-20px);
    }

    .c-bg-right {
        margin-top: 3.125rem;
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .c-tabs {
        margin-top: 2rem;
        margin-bottom: 2.5rem;
        gap: 0.8rem;
    }

    .c-tabsLabel {
        flex-direction: column;
        width: min(48%, 158px);
        font-size: var(--fsz-15px);
        margin: unset;
        padding: 0.525rem 1.275rem;
        gap: 0.3rem 0;
        border-radius: 2.25rem;
    }

    .c-card__title {
        font-size: var(--fsz-20px);
    }

    .c-bg-waveTop {
        display: none;
    }

    .c-bg-left {
        margin-top: 4rem;
        padding-bottom: 4rem !important;
    }

    /**************************************
        section
        *****************************************************/
    .p-hero {
        background-position: 58% 0%;
        height: 732px;
        /* background-image: url(/child/images/fv-sp.png); */
    }

    .p-hero__bottomText {
        font-size: var(--fsz-18px);
    }

    .p-hero__inner {
        padding-top: 20rem;
    }

    .p-hero__topText {
        font-size: var(--fsz-48px);
        margin-top: 0.625rem;
        padding: 0.1125rem 0.75rem 0.5125rem 0.425rem;
        letter-spacing: 3px;
    }

    .p-hero__topSmallText {
        font-size: var(--fsz-20px);
    }

    .p-hero__tagBox {
        margin-left: 0.625rem;
        margin-bottom: 1.875rem;
    }

    .p-study-card__inner {
        width: min(100%, 420px);
    }

    .p-study__imgBlock {
        width: 100px;
        height: 100px;
    }

    .p-study__speechBubbleText {
        font-size: var(--fsz-18px);
    }

    .p-study-bottom {
        gap: 1rem 0.6rem;
    }

    .p-study__speechBubble {
        padding: 1rem 1.25rem;
        width: min(66%, 799px);
    }

    .p-study-bottom__smallText {
        font-size: var(--fsz-16px);
    }

    .p-study-bottom__smallText+.p-study-bottom__smallText {
        margin-top: 0.625rem;
    }

    .p-curriculum__tabContent {
        margin-top: 0.5rem;
        gap: 1.5rem 0;
        flex-direction: column;
    }

    .p-curriculum__tabContentBlock {
        padding: 1.5rem;
        width: min(100%, 324px);
    }

    .p-curriculum--slider__inner {
        width: min(90%, 474px);
        margin-inline: auto;
    }

    .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
    .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
        margin: 0 0.7rem !important;
    }

    .p-curriculum-cardText {
        font-size: var(--fsz-16px);
    }

    .p-curriculum--slider__footNote {
        font-size: var(--fsz-13px);
    }

    .p-curriculum--slider__footNote+.p-curriculum--slider__footNote {
        margin-top: 0.425rem;
    }

    .p-online__contentInner {
        padding: 2rem 1rem;
        gap: 0 2.5rem;
        border-radius: 1.25rem 0 1.25rem 0;
        background-color: var(--color-bg);
    }

    .p-online__subTitle {
        text-align: center;
    }

    .p-intro__contentList {
        justify-content: flex-start;
        gap: 1rem;
    }

    .p-intro__contentItems {
        width: min(47%, 220px);
        gap: 1rem 0;
        border-radius: 1.25rem;
    }

    .p-intro__contentItems::before {
        font-size: var(--fsz-36px);
    }

    .p-intro__contentItemText {
        font-size: var(--fsz-16px);
    }

    .p-intro__contentItemDescription {
        font-size: var(--fsz-11px);
    }

    .p-intro__contentBottom {
        gap: 1rem 0;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .p-intro__note {
        font-size: var(--fsz-14px);
        line-height: 1.7;
    }

    .p-feature__contentImg {
        border-radius: 1.25rem 0 1.25rem 0;
    }

    .p-feature__contentImgBlock::before {
        font-size: var(--fsz-60px);
        top: -1.3rem;
        left: -1.3rem;
    }

    .p-feature__contentDescription {
        margin-top: 1rem;
        margin-bottom: 1.875rem !important;
        line-height: 1.6;
    }

    .p-feature__contentPointList {
        align-items: center;
        flex-direction: column;
        gap: 0.75rem 0;
        width: min(100%, 438px);
        margin-inline: auto;
    }

    .p-feature__contentPointItems {
        width: 100%;
    }

    .p-feature__contentSpeechBubble--imgBlock {
        width: 97px;
    }

    .p-feature__contentSpeechBubbleBlock {
        align-items: flex-start;
        gap: 0 1rem;
    }

    .p-feature__contentSpeechBubble {
        padding: 1rem;
    }

    .p-feature__contentSpeechBubble--text {
        font-size: var(--fsz-14px);
    }

    .p-feature__contentSpeechBubble-img {
        top: 1.6rem;
        left: -1.4rem;
        transform: unset;
    }

    .p-feature__contentItemsReverse {
        margin: 4rem 0;
    }

    .p-feature__contentDescriptionNote {
        font-size: var(--fsz-14px);
        margin-top: 0.2rem;
    }

    .p-support__title {
        text-align: center;
    }

    .p-support__content {
        margin-top: 2rem;
    }

    .p-support__contentItems-Img {
        width: 75%;
        margin: 1rem auto 0;
    }

    .p-support__contentItems {
        padding: 2.25rem 0 3rem;
        border-radius: 1.25rem 0 1.25rem 0;
    }

    .p-lecture__content {
        margin-top: 2rem;
    }

    .p-lecture__contentMessage {
        margin-top: 3.5rem;
        padding: 1rem;
    }

    .p-lecture__message {
        padding: 1rem;
        font-size: var(--fsz-14px);
        line-height: 1.6;
        border-radius: 0.8rem;
    }

    .p-key-message {
        top: -2.1rem;
        margin-bottom: -1.2rem !important;
    }

    .p-voice {
        margin-top: 4rem;
        padding-bottom: 4rem;
    }

    .p-voice__content {
        width: min(90%, 480px);
    }

    .p-voice__itemImg {
        width: 100%;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        height: 75px;
        width: 28px;
    }

    .p-faq__list {
        margin-top: 1.8rem;
    }

    .p-faq__item {
        padding: 1rem;
    }

    .p-faq__item+.p-faq__item {
        margin-top: 1rem;
    }

    .p-faq-item__toggle {
        display: block;
        flex-shrink: 0;
        width: 0.8125rem;
        height: 0.8125rem;
    }

    .p-faq-itemQ {
        gap: 0 0.5rem;
    }

    .p-faq-itemQ__txt {
        font-size: var(--fsz-16px);
    }

    .p-faq-itemTexture {
        font-size: var(--fsz-26px);
    }

    .p-faq-item__a-txt {
        font-size: var(--fsz-16px);
    }

    .p-course__content {
        margin-top: 2rem;
    }

    .p-course__infoTableTitle {
        width: min(35%, 120px);
        padding: 1rem;
        font-size: var(--fsz-16px);
    }

    .p-course__infoTableDetail {
        font-size: var(--fsz-16px);
        padding: 1rem 0.6175rem 1rem 1rem;
    }

    .p-course__note {
        font-size: var(--fsz-15px);
    }

    .p-course__tabs {
        margin-top: 1rem;
        margin-bottom: 0rem;
        justify-content: flex-start;
        gap: 0.6rem;
    }

    .p-course__tabLabel {
        font-size: var(--fsz-20px);
    }

    .p-course__tabContentBlock {
        padding: 2rem 1rem;
        border-radius: 1.25rem 0 1.25rem 0;
    }

    .p-course__tabSchoolTop {
        flex-direction: column;
        gap: 0.5rem 0;
    }

    .p-course__tabContentText {
        width: 100%;
        font-size: var(--fsz-16px);
        font-weight: normal;
        line-height: 1.6;
    }

    .p-course__tabSchoolBottom {
        padding-top: 1rem;
        gap: 1rem 0;
    }

    .p-course__infoTitle {
        font-size: var(--fsz-16px);
    }

    .p-course__infoDetail {
        font-size: var(--fsz-14px);
        margin-top: 0.5rem;
    }

    .p-course__infoTel {
        margin-top: 1rem;
        font-size: var(--fsz-30px);
        pointer-events: painted;
    }

    .p-course__infoMapLink {
        width: min(100%, 352px);
        padding: 0.7rem 1rem 0.9rem 1rem;
        text-align: center;
    }

    .p-guidance {
        background-image: url(/child/images/bg-sp-texture.png);
        background-repeat: no-repeat;
        background-position: 107% -3%;
    }

    .p-guidance {
        margin-top: 10rem;
    }

    .p-guidance__bgImg {
        width: 58%;
        top: -7rem;
        aspect-ratio: auto;
    }

    .p-guidance__bgImg {
        aspect-ratio: auto;
        border-radius: 2.5rem 0;
    }

    .p-guidance__titleBlock {
        left: 0;
        bottom: -3rem;
    }

    .p-guidance__contentImg {
        width: min(60%, 540px);
        border-radius: 2.5rem 0;
    }

    .p-guidance__content {
        gap: 5rem 0;
    }

    .p-guidance__contentText {
        font-size: var(--fsz-14px);
    }

    .p-guidance__contentTextBlue {
        font-size: var(--fsz-20px);
    }

    .u-pc {
        display: none;
    }

    .u-sp {
        display: block;
    }

    /* Youtube test */
    .youtube-content {
        margin: 4rem 0 2.4rem;
    }

    .youtube-icon {
        width: 76px;
        height: 47.7px;
        border-radius: 5px;
        box-shadow: 0 0 0.5rem 0px #333;
    }

    .youtube-icon::after {
        border-width: 10px 0 10px 18px;
    }
}

@media only screen and (width <=568px) {
    #middle_voice .p-hero {
        padding: 0;
    }

    .p-hero-highlight {
        border-radius: 0 4px 4px 0;
    }

    .p-support__contentItems-Img {
        width: 100%;
    }
}

@media only screen and (width <=500px) {
    .p-guidance__br {
        display: none;
    }

    .p-intro__contentItemDescription {
        font-size: var(--fsz-10px);
    }

    .p-lecture__typeItems {
        font-size: var(--fsz-14px);
    }
}

@media only screen and (width <=425px) {
    #middle_voice .l-container {
        padding-left: 1.75rem;
        padding-right: 1.75rem;
    }

    #middle_voice .p-hero {
        padding: 0;
    }

    .c-title--primary {
        font-size: var(--fsz-24px);
    }

    .c-title--secondary {
        font-size: var(--fsz-20px);
    }

    .c-title--tertiary {
        font-size: var(--fsz-18px);
    }

    .c-tabs {
        margin-top: 2rem;
    }

    .c-card__inner {
        padding: 1rem;
        border-radius: 1.25rem;
    }

    .c-card__title {
        border-radius: 1.25rem;
    }

    .c-title__accentEn {
        font-size: var(--fsz-48px);
        top: -1.5rem;
    }

    .c-title__smallEn {
        margin-bottom: 0.325rem !important;
    }

    .c-tabsLabel {
        width: min(47%, 130px);
        font-size: var(--fsz-13px);
        padding: 0.525rem 0.575rem;
    }

    .c-accent__gradationText {
        font-size: var(--fsz-18px);
    }

    .p-hero {
        padding: 0;
        background-image: url(/child/images/fv-sp.png);
        background-size: cover;
    }

    .p-hero__inner {
        padding-top: 24rem;
    }

    .p-hero__topSmallText {
        font-size: var(--fsz-16px);
    }

    .p-hero__topText {
        font-size: var(--fsz-40px);
        margin-top: 0.5rem;
        padding: 0.1125rem 0.75rem 0.5125rem 0.425rem;
        letter-spacing: 2.5px;
    }

    .p-hero__tag {
        font-size: var(--fsz-14px);
    }

    .p-hero__tagBox {
        margin-left: 0.425rem;
        gap: 0.425rem;
        flex-wrap: wrap;
    }

    .p-hero__bottomText {
        font-size: var(--fsz-16px);
    }

    .p-study-card {
        margin-top: 1rem;
        margin-bottom: 2rem;
        gap: 1rem 0;
    }

    .p-study-bottom__smallText {
        font-size: var(--fsz-14px);
    }

    .p-study__imgBlock {
        width: 85px;
        height: 85px;
    }

    .p-study__speechBubbleText {
        font-size: var(--fsz-16px);
    }

    .p-study__speechBubble {
        padding: 1rem 1.25rem;
        width: min(62%, 200px);
    }

    .p-curriculum__tabContent {
        margin-top: 0.2rem;
    }

    .p-curriculum__tabItems {
        padding: 0.625rem 0.425rem 0.425rem;
        line-height: normal;
    }

    .p-curriculum__tabContentText {
        margin: 1rem 0 2rem !important;
        font-size: var(--fsz-14px);
    }

    .p-curriculum--slider__inner {
        margin-top: 1rem;
        margin-bottom: 3rem;
    }

    .swiper-horizontal>.swiper-pagination-bullets,
    .swiper-pagination-bullets.swiper-pagination-horizontal,
    .swiper-pagination-custom,
    .swiper-pagination-fraction {
        bottom: -2rem !important;
    }

    .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
    .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
        margin: 0 0.5rem !important;
    }

    .p-online__content {
        margin-top: 2rem;
    }

    .p-online__contentImg {
        width: min(100%, 400px);
        margin: 1rem auto 0;
        order: 2;
    }

    .p-online__contentText {
        font-size: var(--fsz-14px);
    }

    .p-online__contentNote {
        font-size: var(--fsz-13px);
    }

    .p-online__bottom {
        margin-top: 1rem;
    }

    .p-intro__content {
        margin-top: 2rem;
    }

    .p-intro__contentList {
        gap: 0.8rem;
    }

    .p-intro__contentItemText {
        font-size: var(--fsz-15px);
    }

    .p-intro__contentItems {
        padding: 0.625rem 0.425rem;
        justify-content: flex-start;
    }

    .p-intro__contentItemImg {
        width: 90px;
        height: 90px;
    }

    .p-feature__content {
        padding-top: 2rem;
    }

    .p-feature__contentDescription {
        font-size: var(--fsz-14px);
    }

    .p-feature__contentPointItems {
        font-size: var(--fsz-14px);
    }

    .p-feature__contentSpeechBubble--text {
        font-size: var(--fsz-13px);
    }

    .p-feature__contentSpeechBubble--imgBlock {
        width: 88px;
    }

    .p-feature__contentSpeechBubble-img {
        top: 1.4rem;
    }

    .p-feature__contentPointList {
        padding: 1.25rem 1rem 1rem;
    }

    .p-support__contentItems {
        padding: 2.25rem 0.5rem 3rem;
    }

    .p-lecture__typeTitle {
        font-size: var(--fsz-14px);
    }

    .p-lecture__typeItems {
        font-size: var(--fsz-13px);
    }

    .p-lecture__contentMessage {
        margin-top: 3rem;
    }

    .p-voice__content {
        margin-top: 2rem;
    }

    .p-voice__itemClass {
        font-size: var(--fsz-14px);
    }

    .p-voice__itemText {
        font-size: var(--fsz-14px);
        margin-top: 1rem;
        line-height: 1.7;
    }

    .p-faq__list {
        margin-top: 1rem;
    }

    .p-course__note {
        font-size: var(--fsz-14px);
    }

    .p-course__tabs {
        margin-top: 1rem;
        margin-bottom: 0rem;
        justify-content: flex-start;
        gap: 0.6rem;
    }

    .p-course__tabLabel {
        font-size: var(--fsz-16px);
    }

    .p-course__infoTel {
        font-size: var(--fsz-22px);
    }

    .p-course__infoMapLink {
        font-size: var(--fsz-20px);
    }

    .p-guidance {
        padding-bottom: 6rem;
    }

    .p-guidance__bgImg {
        width: 68%;
    }

    .swiper-button-prev {
        left: -2rem !important;
        right: auto;
    }

    .swiper-button-next {
        right: -2rem !important;
        left: auto;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        height: 60px;
        width: 16px;
    }

    .p-faq-itemQ__txt {
        font-size: var(--fsz-14px);
    }

    .p-faq-item__a-txt {
        font-size: var(--fsz-14px);
    }

    .p-course__infoTableTitle {
        font-size: var(--fsz-14px);
    }

    .p-course__infoTableDetail {
        font-size: var(--fsz-14px);
    }

    .p-course__tabContentText {
        width: 100%;
        font-size: var(--fsz-14px);
    }
}

@media only screen and (width <=320px) {
    .p-hero__topText {
        font-size: var(--fsz-36px);
        margin-top: 0.5rem;
        padding: 0.1125rem 0.75rem 0.5125rem 0.425rem;
        letter-spacing: 2.5px;
    }

    .p-hero__bottomText {
        font-size: var(--fsz-14px);
    }

    .c-tabsLabel {
        width: min(70.6%, 226px);
    }

    .p-course__tabLabel {
        width: min(47%, 226px);
    }
}

@media only screen and (width <=300px) {
    #middle_voice .l-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    #middle_voice .p-hero {
        padding: 0;
    }

    .p-hero {
        padding: 0;
    }

    .p-hero__topText {
        font-size: var(--fsz-36px);
        margin-top: 0.5rem;
        padding: 0.1125rem 0.75rem 0.5125rem 0.425rem;
        letter-spacing: 2.5px;
    }

    /* .p-hero__bottomText {
        font-size: var(--fsz-15px);
    } */
}

/* TODO 以下はYoutube用のCSS 不要であれば削除してください。
Youtube test */
/* .youtube-content {
    position: relative;
}
.youtube-icon {
    width: 110px;
    height: 65px;
    display: block;
    position: absolute;
    inset: 50% auto auto 50%;
    translate: -50% -50%;
    background: #f00;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.4s all;
}
.youtube-icon::after {
    content: "";
    width: 0;
    height: 0;
    margin-left: 0.2rem;
    border-style: solid;
    border-width: 15px 0 15px 27px;
    border-color: transparent transparent transparent #fff;
    position: absolute;
    inset: 50% auto auto 50%;
    translate: -50% -50%;
}
.modal-youtube {
    margin-inline: auto;
}
.ed-modal {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    z-index: 9999;
}
div#modalOverlay {
    width: 100%;
    height: 100%;
    display: flex;
    cursor: pointer;
}
.modalContent {
    width: 100%;
    max-width: 800px;
    margin: auto;
    position: relative;
}
.ed-closeModal {
    position: absolute;
    top: -50px;
    right: 5px;
    cursor: pointer;
    width: 2.333333rem;
    height: 1.5rem;
    opacity: 0.5;
}
.ed-closeModal::before,
.ed-closeModal::after {
    content: "";
    width: 45px;
    height: 2px;
    background: #fff;
    position: absolute;
    top: 0;
    transform: rotate(45deg);
    transform-origin: top left;
}
.ed-closeModal::before {
    left: 7px;
}
.ed-closeModal::after {
    right: 0;
    transform: rotate(-45deg);
    transform-origin: top right;
}
.youtube {
    width: 100%;
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    filter: drop-shadow(0px 2px 5px #313131);
    animation: fadeIn 1.2s ease 0s 1 normal;
}
.youtube iframe {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}
.modal-youtube:hover .youtube-icon {
    translate: -50% -55%;
    box-shadow: 0 0 0.5rem 0px #333;
}
.modal-youtube:hover img {
    filter: brightness(0.6);
}
@media only screen and (width <= 768px) {
    .youtube-content {
        margin: 4rem 0 2.4rem;
    }
    .youtube-icon {
        width: 76px;
        height: 47.7px;
        border-radius: 5px;
        box-shadow: 0 0 0.5rem 0px #333;
    }
    .youtube-icon::after {
        border-width: 10px 0 10px 18px;
    }
}
@media (hover: none) {
    .modal-youtube:hover .youtube-icon {
        translate: -50% -55%;
        box-shadow: unset;
    }
    .modal-youtube:hover img {
        filter: unset;
    }
} */