.section-top-mystory {
    padding-top: 60px;
    padding-bottom: 100px;
    background-color: #F5F5F5;
}

.top-mystory-content {
    position: relative;
}

.section-top-mystory .top-mystory-content .mystory-content-title {
    font-family: "Zen Kaku Gothic", sans-serif;
    color: #2F1B00;
    margin: 0 auto;
    max-width: 605px;
}

.section-top-mystory .top-mystory-content h3 {
    font-family: "Zen Kaku Gothic", sans-serif;
    color: #2F1B00;
    margin: 0 auto;
    max-width: 605px;
}

.section-top-mystory .top-mystory-content .mystory-content-title img {
    width: 100%;
    margin-bottom: 14px;
}

.section-top-mystory .top-mystory-content .mystory-content-title p {
    text-align: center;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 900;
    font-size: 3.0rem;
    line-height: 44px;
    letter-spacing: 0%;
}

@media (max-width: 768px) {
    .section-top-mystory {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .section-top-mystory .top-mystory-content .mystory-content-title {
        max-width: 336px;
    }

    .section-top-mystory .top-mystory-content .mystory-content-title img {
        margin-bottom: 24px;
    }

    .section-top-mystory .top-mystory-content .mystory-content-title p {
        font-size: 2.2rem;
        line-height: 31.86px;
    }
}

/* 私がアクションを起こした理由 - splide-action-mystory */

.splide-action-mystory {
    position: relative;
    margin-top: calc(60px - 30px);
}

.slider-default .splide__pagination {
    position: relative;
    background-image: linear-gradient(90deg, #3dc8c2, #ced800 30%, #ffae44 74%, #ea7200);
    width: fit-content;
    height: 10px;
    border-radius: 5px;
    margin: 60px auto;
    line-height: 1;
    padding: 0;
}

.slider-default .splide__pagination li {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 10px;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.slider-default .splide__pagination li .splide__pagination__page {
    position: relative;
    width: 100%;
    height: 100%;
    vertical-align: top;
    padding: 0;
    margin: 0;
    border-radius: 0;
    background-color: transparent;
}

.slider-default .splide__pagination li .splide__pagination__page.is-active {
    background-color: rgba(255, 255, 255, 0.5647058824);
}

.slider-default .slick-prev,
.slider-default .slick-next {
    display: none !important;
}

.slider-default h1 {
    text-align: start !important;
}

.splide-action-mystory .splide__slide {
    position: relative;
    z-index: 1;
}

.splide-action-mystory .card-design-mystory {
    display: flex;
    width: 616px;
}

.splide-action-mystory .splide__slide-card .overlay,
.slider-action-mystory .card-design .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #00000080;
    border-radius: 20px;
}

.percentage-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: #2F1B004D;
    z-index: 1;
}

.percentage-line {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(270deg, #FC2403 0%, #FC6203 50%, #FCA103 100%);
    width: 0%;
    transition: width 3s ease-in-out, background-color 4s linear;
    z-index: 2;
}

.percentage-line.animate {
    width: 100%;
    background: linear-gradient(270deg, #FC2403 0%, #FC6203 50%, #FCA103 100%);
}

.splide-action-mystory .card-design-mystory .default-top {
    width: 320px;
    height: 350px;
    box-shadow: -4px 4px 20px 0px #0000000A, -4px -4px 20px 0px #0000000A, 4px 4px 20px 0px #0000000A;
    border-radius: 20px 0 0 20px;
}

.splide-action-mystory .card-design-mystory .default-top img {
    width: 320px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
}

.splide-action-mystory .card-design-mystory .default-bottom {
    position: relative;
    border-radius: 0 20px 20px 0;
    overflow: hidden;
    background-color: #FFF;
    height: 350px;
    width: calc(100% - 320px);
    box-shadow: -4px 4px 20px 0px #0000000A, -4px -4px 20px 0px #0000000A, 4px 4px 20px 0px #0000000A;
}

.default-bottom .default-bottom-title {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.default-bottom .default-bottom-title .mystory-card-title {
    font-weight: 900;
    font-size: 2.4rem;
    line-height: 100%;
    letter-spacing: 0%;
}

.default-bottom .default-bottom-title .default-bottom-title-top {
    position: relative;
    font-family: "Zen Kaku Gothic", sans-serif;
    color: #2F1B00;
    font-weight: 900;
    font-size: 2.4rem;
    line-height: 34.75px;
    letter-spacing: 0% !important;
    padding: 0 40px;
    margin-bottom: 0;
}

.default-bottom .default-bottom-title .default-bottom-title-top .double-quotation-left,
.default-bottom .default-bottom-title .default-bottom-title-top .double-quotation-right {
    position: absolute;
}

.default-bottom .default-bottom-title .default-bottom-title-top .double-quotation-left {
    top: -18px;
    left: 20px;
}

.default-bottom .default-bottom-title .default-bottom-title-top .double-quotation-right {
    bottom: -5px;
    right: 20px;
}

.default-bottom .default-bottom-title .default-bottom-title-bottom {
    color: #2F1B00;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    text-align: left;
    padding: 0 40px;
}

.splide-action-mystory .default-bottom .card-parts {
    width: 100%;
    max-width: 236px;
    height: 41px;
    position: absolute;
    bottom: 20px;
    left: 30px;
}

.splide-action-mystory .default-bottom .card-parts-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.splide-action-mystory .default-bottom .page-number p {
    font-family: "Bebas Neue", sans-serif;
    color: #2F1B0066;
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 21.6px;
    letter-spacing: 5%;
    margin-bottom: 0;
}

.splide-action-mystory .default-bottom .page-number span {
    font-size: 3.4rem;
    line-height: 40.8px;
}

.splide-action-mystory .card-arrow-wrap {
    position: absolute;
    bottom: 25px;
    left: calc(50% + 215px);
    display: flex;
    gap: 10px;
}

.splide-action-mystory .default-bottom .splide-action-card-arrow {
    width: 30px;
    height: 30px;
}

.splide-action-mystory .default-bottom .splide-action-card-arrow img {
    width: 100%;
}

@media (max-width: 768px) {

    .section-top-mystory .top-mystory-content .mystory-content-title {
        max-width: 336px;
    }

    .section-top-mystory .top-mystory-content .mystory-content-title img {
        margin-bottom: 24px;
    }

    .section-top-mystory .top-mystory-content .mystory-content-title p {
        font-size: 2.2rem;
        line-height: 31.86px;
    }

    .splide-action-mystory {
        margin-top: 38.37px;
    }

    .default-top {
        height: 125px;
    }

    .default-top p.default-name {
        font-size: 14px;
        bottom: 36px;
    }

    .default-bottom {
        height: 175px;
        background-size: 280px 230px;
    }

    .default-bottom h1 {
        font-size: 23px;
    }

    .default-bottom h1 span {
        padding: 0px 5px;
    }

    .slider-default .splide__pagination {
        height: 5px;
        margin: 30px auto;
    }

    .slider-default .splide__pagination li {
        width: 30px;
        height: 5px;
    }

    .splide-action-mystory .card-design-mystory {
        flex-direction: column;
        width: 270px;
    }

    .splide-action-mystory .card-design-mystory .default-top {
        width: 325px;
        height: 270px;
        border-radius: 20px 20px 0 0;
    }

    .splide-action-mystory .card-design-mystory .default-top img {
        width: 325px;
        height: 270px;
        border-radius: 20px 20px 0 0;
    }

    .splide-action-mystory .card-design-mystory .default-bottom {
        width: 325px;
        height: 194px;
        border-radius: 0 0 20px 20px;
    }

    .default-bottom .default-bottom-title {
        position: absolute;
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
    }


    .default-bottom .default-bottom-title .mystory-card-title {
        font-size: 2.0rem;
    }

    .default-bottom .default-bottom-title .title-pc {
        display: none;
    }

    .default-bottom .default-bottom-title .default-bottom-title-top {
        font-size: 2.0rem;
        line-height: 28.96px;
        padding: 0 25px;
    }

    .default-bottom .default-bottom-title .default-bottom-title-top::before,
    .default-bottom .default-bottom-title .default-bottom-title-top::after {
        content: '';
        width: 16px;
        height: 43px;
        position: absolute;
    }

    .default-bottom .default-bottom-title .default-bottom-title-top::before {
        background: url(../../images/top/about-carousel/card-doublequotation-left.svg) no-repeat;
        top: -12px;
        left: 16px;
    }

    .default-bottom .default-bottom-title .default-bottom-title-top::after {
        background: url(../../images/top/about-carousel/card-doublequotation-right.svg) no-repeat;
        right: 16px;
    }

    .default-bottom .default-bottom-title .default-bottom-title-bottom {
        font-size: 13px;
        padding: 0 25px;
        margin: 1rem 0;
    }

    .default-bottom .default-bottom-title .default-bottom-title-bottom .pc-br {
        display: none;
    }

    .splide-action-mystory .default-bottom .card-parts {
        max-width: 275px;
        bottom: 12px;
        left: 25px;
    }

    .splide-action-mystory .card-arrow-wrap {
        bottom: 20px;
        left: calc(50% + 68px);
    }
}


@media (min-width: 768px) {
    .default-bottom .default-bottom-title .title-sp {
        display: none;
    }
}


/* 東明館高校の調整 */
@media (max-width: 768px) {
    .tomei-slide-card .default-bottom-title-top {
        padding: 0 18px !important;
    }

    .tomei-slide-card .default-bottom-title-bottom {
        padding: 0 18px !important;
    }
}

@media (min-width: 768px) {
    .tomei-slide-card .default-bottom-title-top {
        padding: 0 28px !important;
    }

    .tomei-slide-card .default-bottom-title-bottom {
        padding: 0 28px !important;
    }
}

/* 私がアクションを起こした理由 popup - slider-action-mystory */

.slider-action-mystory .card-design {
    position: relative;
    overflow-y: scroll;
    width: 800px;
    height: 580px;
    border-radius: 20px;
    padding: 50px;
    background-color: #F9F9F9;
}

.card-design-default {
    width: 315px;
    margin: 80px 25px 0 25px;
}

.card-design-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.card-design-top .card-design-top-title h3 {
    font-family: "Zen Kaku Gothic New", sans-serif;
    color: #2F1B00;
    font-weight: 900;
    font-size: 3.0rem;
    line-height: 43.44px;
    letter-spacing: 0%;
    margin-bottom: 20px;
}

.card-design-top .card-design-top-title p {
    color: #2F1B00;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 24px;
    letter-spacing: 0%;
}

.card-design-top .card-design-top-img img {
    width: 260px;
    height: 194px;
    object-fit: cover;
    border-radius: 5px;
}

.card-design-middle {
    margin-bottom: 30px;
}

.card-design-middle h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "Zen Kaku Gothic New", sans-serif;
    color: #2F1B00;
    font-weight: 900;
    font-size: 1.8rem;
    line-height: 26.06px;
    letter-spacing: 0%;
    margin-bottom: 30px;
}

.card-design-middle h2::after {
    width: 53%;
    content: "";
    border: 1px solid #00000026;
}

.card-design-middle .card-design-middle-text p {
    color: #2F1B00;
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 26px;
    letter-spacing: 0%;
    margin-bottom: 18px;
}

.card-design-bottom a {
    text-decoration: none;
}

.card-design-bottom h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #F24677;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 19.2px;
    letter-spacing: 0%;
    margin-bottom: 30px;
}

.card-design-bottom h2 a {
    color: rgb(242, 70, 119);
}

.card-design-bottom h2 img {
    width: 18px;
}

.card-design-bottom h2 .action-black {
    visibility: hidden;
}

.card-design-bottom-mov-left .mov-left-item {
    display: flex;
    gap: 15px;
}

.card-design-bottom-mov {
    display: flex;
    justify-content: space-between;
}

.card-design-bottom-mov .card-design-bottom-mov-right img {
    object-fit: cover;
    width: 190px;
    height: 128px;
    border-radius: 10px 0 0 10px;
    box-shadow: -4px 4px 20px 0px #0000000A, -4px -4px 20px 0px #0000000A, 4px 4px 20px 0px #0000000A;
}

.card-design-bottom-mov-left {
    width: 100%;
    background-color: #FFFFFF;
    padding: 20px 30px;
    border-radius: 0 10px 10px 0;
    box-shadow: 4px 4px 20px 0px #0000000A, 4px -4px 20px 0px #0000000A, -4px 4px 20px 0px #0000000A;
}

.card-design-bottom-mov-left h3 {
    color: #2F1B00;
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 26px;
    letter-spacing: 0%;
    margin-bottom: 10px;
}

.mov-left-item-people,
.mov-left-item-support {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mov-left-item-people p,
.mov-left-item-support p {
    color: #2F1B00;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 16.8px;
    letter-spacing: 0%;
    margin-bottom: 0;
}

.mov-left-item-people p span,
.mov-left-item-support p span {
    color: #2F1B00;
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 26px;
    letter-spacing: 0%;
    margin-left: 5px;
}

.mov-left-item-people img,
.mov-left-item-support img {
    width: 25px;
    height: 25px;
}

.slider-action-all {
    position: absolute;
    top: 0;
    opacity: 0;
    z-index: -1;
    width: 100%;

}

.slider-action-all.is_active {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    z-index: 300;
    opacity: 1;
}

.action-black.is_active {
    visibility: visible;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #000;
    opacity: 0.7;
    z-index: 200;
}

.slider-action-close {
    position: absolute;
    bottom: -60px;
    left: calc(50% - 40px);
    z-index: 100;
    color: #F9F9F9;
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 26px;
    letter-spacing: 0%;
}

.slider-action-close button {
    color: #F9F9F9;
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 26px;
    letter-spacing: 0%;
}

@media (max-width: 768px) {
    .slider-action-all.is_active {
        top: 156px;
    }

    .slider-action-mystory .card-design {
        width: 335px;
        height: 434px;
        padding: 20px 20px 30px 20px;
    }

    .card-design-top {
        display: flex;
        flex-direction: column;
        justify-content: left;
        align-items: normal;
    }

    .card-design-top .card-design-top-title {
        order: 1;
    }

    .card-design-top .card-design-top-img {
        order: 2;
    }

    .card-design-top .card-design-top-title h3 {
        font-size: 2.0rem;
        margin-bottom: 10px;
        line-height: 3.0rem;
    }

    .card-design-top .card-design-top-title p {
        font-size: 1.4rem;
    }

    .card-design-top .card-design-top-img img {
        width: 100%;
        border-radius: 3px;
    }

    .card-design-middle h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .card-design-middle h2::after {
        display: none;
    }

    .card-design-middle .card-design-middle-text p {
        font-size: 1.6rem;
        line-height: 24px;
    }

    .card-design-bottom-mov {
        gap: 10px;
        background-color: #FFFFFF;
        border-radius: 10px;
        padding: 15px 10px;
    }

    .card-design-bottom-mov .card-design-bottom-mov-right img {
        box-shadow: none;
        border-radius: 5px;
        width: 95px;
        height: 63px;
    }

    .card-design-bottom-mov-left {
        background-color: #FFFFFF;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .card-design-bottom-mov-left .mov-left-item {
        flex-direction: column;
        gap: 0;
    }

    .card-design-bottom-mov-left h3 {
        font-size: 1.4rem;
        font-weight: 700;
        line-height: 22px;
        margin-bottom: 8px;
    }

    .card-design-bottom h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .mov-left-item-people p,
    .mov-left-item-support p {
        font-size: 1.2rem;
    }

    .mov-left-item-people p span,
    .mov-left-item-support p span {
        font-size: 1.4rem;
    }

    .mov-left-item-people img,
    .mov-left-item-support img {
        width: 20px;
        height: 20px;
    }

    .slider-action-mystory .splide__arrows {
        display: none;
    }
}
