@media screen and (min-width: 801px) {
    .sp {
        display: none !important;
    }

    .top-banner img {
        width: 100%;
    }

    .top-header-bottom {
        margin-top: -18.125vw;
    }

    .top-header-bottom img {
        width: 100%;
    }

    .top-header-welcome {
        justify-content: center;
        display: flex;
        margin-top: -21rem;
    }

    .top-header-welcome img {
        width: calc(119.3rem + 3.6rem);
        height: calc(16.3rem + 3.8rem);
    }

    .top-story-frame {
        position: relative;
        margin: 10.6rem auto 0;
        width: calc(102.2rem + 27rem);
        height: calc(156.6rem + 5.6rem);
    }

    .top-story-frame .story-content {
        position: absolute;
        top: 29.7rem;
        left: 50%;
        transform: translate(-50%, 0);
        width: 90%;
        display: flex;
        flex-direction: column;
        gap: 10rem;
        font-family: var(--font-family-zen-kurenaido);
        font-size: 2.8rem;
        color: var(--color-text);
        text-align: center;
        line-height: 5.5rem;
        margin: 0;
    }

    .top-story-frame .story-content p {
        margin: 0;
    }

    .top-system-frame {
        justify-content: center;
        display: flex;
        margin-top: 9.7rem;
        width: calc(119.3rem + 11.1rem);
        margin-inline: auto;
    }

    .top-system-image {
        width: calc(119.3rem + 11.1rem);
        height: calc(124rem + 11.1rem);
    }

    .top-news-frame {
        margin-top: 12.7rem;
    }

    .top-news-title {
        position: absolute;
        margin-top: -6.1rem;
        left: 50%;
        transform: translateX(-50%);
        justify-self: center;
        display: flex;
    }

    .top-news-title img {
        width: calc(50.2rem + 9rem);
        height: calc(11.6rem + 11.6rem);
    }

    .top-news-list {
        background-image: url(../../images/front-page/top_news_base.webp);
        width: calc(119.3rem + 11rem);
        height: calc(63rem + 11rem);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        display: flex;
        justify-content: center;
        justify-self: center;
        margin: 0 auto;
    }

    .top-news-list-container {
        width: 106.742rem;
        height: 48.7rem;
        display: flex;
        flex-direction: row;
        margin-top: 15.3rem;
    }

    .top-news-item {
        flex: 1;
        display: flex;
        justify-content: center;
        margin-top: 2.1rem;
    }

    .top-news-item a {
        width: 29.7rem;
    }

    .top-news-item-schedule {
        height: 3rem;
        font-size: 2.3rem;
        line-height: 3rem;
        font-weight: 600;
        color: var(--color-text);
        text-align: center;
    }

    .top-news-item-thumb {
        margin-top: 2.9rem;
    }

    .top-news-item-thumb img {
        width: 29.7rem;
        height: 21rem;
        object-fit: cover;
    }

    .top-news-item-title {
        font-size: 3.6rem;
        color: var(--color-text);
        margin-top: 3.1rem;
        text-overflow: ellipsis;
        overflow: hidden;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }

    .top-news-divider {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .top-news-divider img {
        width: 0.721rem;
        height: 48.7rem;
    }

    .top-news-line-container {
        width: 100%;
        height: 100%;
        display: flex;
    }

    .top-news-line-left {
        margin-top: calc(11.3rem + 3.7rem);
        margin-left: calc(39.76rem + 4.8rem);
    }

    .top-news-line-right {
        margin: calc(11.3rem + 3.7rem) calc(39.76rem + 4.8rem) 0 auto;
    }

    .top-news-line-left img, .top-news-line-right img {
        width: 0.721rem;
        height: 48.7rem;
    }

    .top-news-more {
        justify-content: center;
        display: flex;
        margin-top: -1.85rem;
    }

    .top-news-more img {
        width: calc(45rem + 9.6rem);
        height: calc(9.1rem + 9.5rem);
    }

    .top-cast-recruit-frame {
        justify-content: center;
        display: flex;
        margin-top: 7.95rem;
        gap: 2.5rem;
    }

    .top-cast-button a, .top-recruit-button a {
        width: 58.6rem;
        height: 60.6rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .top-cast-button img, .top-recruit-button img {
        width: calc(58.6rem + 10rem);
        height: calc(60.6rem + 8.8rem);
        pointer-events: none;
        position: absolute;
    }

    .top-sns-frame {
        justify-content: center;
        display: flex;
        flex-direction: column;
        margin-top: 16.9rem;
    }

    .top-sns-title {
        align-self: center;
    }

    .top-sns-title img {
        width: calc(50.2rem + 9rem);
        height: calc(11.6rem + 11.6rem);
    }

    .top-sns-list {
        display: flex;
        gap: 3.3rem;
        justify-content: center;
        margin-top: -5rem;
    }

    .top-sns-base {
        background-image: url(../../images/front-page/top_sns_base.webp);
        width: calc(27.39rem + 10.61rem);
        height: calc(27.39rem + 10.61rem);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        display: flex;
        justify-self: center;
        align-items: center;
        justify-content: center;
        margin-left: -5.305rem;
        margin-right: -5.305rem;
    }

    .top-sns-img {
        object-fit: contain;
        width: 21rem;
        height: 21rem;
    }

    .top-access-frame {
        margin-top: 16.2rem;
        position: relative;
    }

    .top-access-title {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        margin-top: -6.6rem;
        z-index: 2;
    }

    .top-access-title img {
        width: calc(56rem + 3.2rem);
        height: calc(11.6rem + 12.6rem);
    }

    .top-access-content {
        width: calc(119.3rem + 11rem);
        height: 80.2rem;
        margin: 0 auto;
        background-image: url(../../images/front-page/top_access_base.webp);
        background-size: 100% 100%;
        background-repeat: no-repeat;
        display: flex;
        gap: 6.6rem;
        padding: 18.9rem 0 0 11.7rem;
    }

    .top-access-info {
        color: var(--color-text);
        font-family: var(--font-family-noto-sans-jp);
    }

    .top-access-address {
        font-size: 3.2rem;
        line-height: 4.7rem;
        overflow-wrap: normal;
        word-break: keep-all;
    }

    .top-access-phone {
        margin-top: 3.5rem;
        display: inline-flex;
        align-items: center;
        gap: 0.77rem;
        font-size: 3.8rem;
        line-height: 1;
    }

    .top-access-phone-icon {
        display: inline-flex;
    }

    .top-access-phone-icon img {
        width: 4.4rem;
        height: 3.2rem;
    }

    .top-access-hours {
        width: 52.8rem;
        height: 24rem;
        margin-top: 4.1rem;
        margin-left: 1.1rem;
        border: 0.4rem solid #bd9b17;
        font-family: var(--font-family-noto-sans-jp);
        color: var(--color-text);
        font-size: 2.4rem;
        line-height: 1;
    }

    .top-access-hours-title {
        margin-top: 3.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2.1rem;
        font-size: 3.2rem;
    }

    .top-access-hours-star {
        width: 2.5rem;
        height: 2.9rem;
    }

    .top-access-hours-grid {
        margin: 2.7rem 6.1rem 0;
        display: flex;
        flex-direction: column;
    }

    .top-access-hours-main {
        display: grid;
        grid-template-columns: max-content max-content;
        column-gap: 2.9rem;
        row-gap: 1.8rem;
    }

    .top-access-hours-row-holiday {
        display: grid;
        grid-template-columns: max-content max-content;
        column-gap: 2.3rem;
        margin-top: 1.8rem;
    }

    .top-access-map {
        width: 44.8rem;
        height: 49.5rem;
        border: 0.4rem solid #bd9b17;
        background-color: #999999;
    }

    .top-access-map-embed {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }

    .top-group-frame {
        position: relative;
        margin-top: 12.7rem;
    }

    .top-group-title {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        margin-top: -7.8rem;
        z-index: 2;
    }

    .top-group-title img {
        width: calc(56rem + 3.2rem);
        height: calc(11.6rem + 12.6rem);
    }

    .top-group-content {
        width: calc(119.3rem + 11rem);
        height: calc(151.7rem - 23.9rem);
        margin: 0 auto;
        background-image: url(../../images/front-page/top_group_base.webp);
        background-size: 100% 100%;
    }

    .top-group-list {
        position: absolute;
        top: calc(13.5rem + 5.5rem);
        left: 50%;
        transform: translateX(-50%);
        display: grid;
        grid-template-columns: repeat(2, 51rem);
        column-gap: 2.8rem;
        row-gap: 3.1rem;
    }

    .top-group-card {
        width: 51rem;
        height: 30.3rem;
    }

    .top-group-card > a {
        position: relative;
        display: block;
    }

    .top-group-card-image {
        width: 51rem;
        height: 30.3rem;
        display: block;
        object-fit: cover;
    }

    .top-group-card-name {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 4.6rem;
        background-color: rgba(111, 68, 163, 0.75);
        color: #ffffff;
        font-family: var(--font-family-noto-sans-jp);
        font-size: 2.5rem;
        line-height: 4.6rem;
        text-align: center;
    }

    .top-group-card > a:hover .top-group-card-name {
        background-color: rgba(111, 34, 163, 0.75);;
    }

    .site-footer {
        margin-top: 22.4rem;
    }
}

@media screen and (max-width: 800px) {
    .pc {
        display: none !important;
    }

    .top-banner img {
        object-fit: cover;
    }

    .top-header-bottom {
        margin-top: -18.125vw;
    }

    .top-header-welcome {
        justify-content: center;
        display: flex;
        margin-top: -8.5rem;
    }

    .top-header-welcome img {
        width: calc(64.2rem + 1.94rem);
        height: calc(8.77167rem + 2.04rem);
    }

    main#contents {
        width: 100%;
        margin: 2rem auto 0;
        position: relative;
        display: block;
    }



    .top-story-frame {
        position: relative;
        margin: auto 0;
        width: calc(75.57897rem + 3.82103rem);
        height: calc(118.2rem + 7.3rem);
    }

    .top-story-frame .story-content {
        position: absolute;
        top: 22.4rem;
        left: 50%;
        transform: translate(-50%, 0);
        width: 76%;
        display: flex;
        flex-direction: column;
        gap: 5.4rem;
        font-family: var(--font-family-zen-kurenaido);
        font-size: 2.5rem;
        color: var(--color-text);
        text-align: center;
        line-height: 4.4rem;
        letter-spacing: -0.1rem;
        margin: 0;
    }

    .top-story-frame .story-content p {
        margin: 0;
    }

    .top-system-frame {
        justify-content: center;
        display: flex;
        margin-top: calc(12.2rem - 3.63rem - 4.6rem);
    }

    .top-system-frame img {
        width: calc(59.65rem + 9.15rem);
        height: calc(74.9rem + 9.2rem);
    }

    .top-news-frame {
        margin-top: 5.5rem;
    }

    .top-news-title {
        position: absolute;
        margin-top: -1.1rem;
        left: 50%;
        transform: translateX(-50%);
        justify-self: center;
        display: flex;
    }

    .top-news-title img {
        width: calc(25.1rem + 4.5rem);
        height: calc(5.8rem + 5.8rem);
    }

    .top-news-list {
        background-image: url(../../images/front-page/sp/top_news_base_sp.webp);
        width: calc(59.85rem + 8.95rem);
        height: calc(57.5rem + 9.1rem);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        display: flex;
        justify-content: center;
        justify-self: center;
        margin: 0 auto;
    }

    .top-news-list-container {
        width: 59.85rem;
        height: 57.5rem;
        display: flex;
        justify-content: center;
        flex-direction: row;
        margin-top: 4.5rem;
    }

    .top-news-item {
        display: flex;
        justify-content: center;
        margin-top: 6.3rem;
        text-align: center;
        width: 51rem;
    }

    .top-news-item-schedule {
        font-size: 2.5rem;
        font-weight: 600;
        color: var(--color-text);
        text-align: center;
    }

    .top-news-item-schedule-star {
        width: 1.55968rem;
        height: 1.8rem;
        margin: 0 1rem;
    }

    .top-news-divider {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .top-news-divider img {
        width: 50.73901rem;
        height: 0.25rem;
    }

    .top-news-item-thumb {
        margin-top: 2.6rem;
    }

    .top-news-item-thumb img {
        width: 50.5rem;
        height: 28.40625rem;
        object-fit: cover;
    }

    .top-news-item-title {
        font-size: 2.5rem;
        color: var(--color-text);
        margin-top: 1.3rem;
        text-overflow: ellipsis;
        overflow: hidden;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }

    .top-news-more {
        justify-content: center;
        display: flex;
        margin-top: -3.26rem;
    }

    .top-news-more img {
        width: calc(36rem + 7.68rem);
        height: calc(7.2rem + 7.52rem);
    }

    .top-cast-recruit-frame {
        justify-content: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 6.74rem;
        gap: 7.2rem;
    }

    .top-cast-button a, .top-recruit-button a {
        width: 46.7rem;
        height: 46.7rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .top-cast-button img, .top-recruit-button img {
        width: calc(46.7rem + 7.97rem);
        height: calc(46.7rem + 7.01rem);
        pointer-events: none;
        position: absolute;
    }

    .top-sns-frame {
        justify-content: center;
        display: flex;
        flex-direction: column;
        margin-top: 8.1rem;
    }

    .top-sns-title {
        align-self: center;
    }

    .top-sns-title img {
        width: calc(25.1rem + 4.5rem);
        height: calc(5.8rem + 5.8rem);
    }

    .top-sns-list {
        display: grid;
        grid-template-columns: repeat(2, 23.15rem);
        grid-template-rows: repeat(2, 23.15rem);
        gap: 2.8rem;
        justify-content: center;
        margin-top: 2.4rem;
    }

    .top-sns-base {
        background-image: url(../../images/front-page/top_sns_base.webp);
        width: calc(23.15rem + 9.05rem);
        height: calc(23.15rem + 8.95rem);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        display: flex;
        justify-self: center;
        align-items: center;
        justify-content: center;
        margin: -4.525rem;
    }

    .top-sns-img {
        object-fit: contain;
        width: 17rem;
        height: 17rem;
    }

    .top-access-frame {
        margin-top: 10.0rem;
        position: relative;
    }

    .top-access-title {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        margin-top: -1.1rem;
        z-index: 2;
    }

    .top-access-title img {
        width: calc(25.1rem + 4.5rem);
        height: calc(5.8rem + 5.8rem);
    }

    .top-access-content {
        width: calc(59.85rem + 8.95rem);
        height: calc(99.4rem + 9.5rem);
        margin: 0 auto;
        background-image: url(../../images/front-page/sp/top_access_base_sp.webp);
        background-size: 100% 100%;
        background-repeat: no-repeat;
        display: flex;
        flex-direction: column-reverse;
        justify-content: flex-end;
        gap: 3.2rem;
        padding: 11rem 11.9rem 0;
    }

    .top-access-info {
        color: var(--color-text);
        font-family: var(--font-family-noto-sans-jp);
        text-align: center;
    }

    .top-access-address {
        font-size: 2.4rem;
        line-height: 3.8rem;
        overflow-wrap: normal;
        word-break: keep-all;
    }

    .top-access-phone {
        margin-top: 1rem;
        display: inline-flex;
        align-items: center;
        gap: 1.1rem;
        font-size: 3.2rem;
        line-height: 1;
        padding-right: 4.91rem;
    }

    .top-access-phone-icon {
        display: inline-flex;
    }

    .top-access-phone-icon img {
        width: 3.81rem;
        height: 2.77rem;
    }

    .top-access-hours {
        width: 45rem;
        height: 17.3rem;
        margin-top: 3.2rem;
        border: 0.4rem solid #bd9b17;
        font-family: var(--font-family-noto-sans-jp);
        color: var(--color-text);
        font-size: 2rem;
        line-height: 1;
    }

    .top-access-hours-title {
        margin-top: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.8rem;
        font-size: 2.7rem;
    }

    .top-access-hours-star {
        width: 2.13rem;
        height: 2.47rem;
    }

    .top-access-hours-grid {
        margin: 2.2rem 6.1rem 0;
        display: flex;
        flex-direction: column;
    }

    .top-access-hours-main {
        display: grid;
        grid-template-columns: max-content max-content;
        column-gap: 2.9rem;
        row-gap: 1rem;
    }

    .top-access-hours-row-holiday {
        display: grid;
        grid-template-columns: max-content max-content;
        column-gap: 2.3rem;
        margin-top: 1rem;
    }

    .top-access-map {
        width: 45rem;
        height: 48.2rem;
        border: 0.4rem solid #bd9b17;
        background-color: #999999;
    }

    .top-access-map-embed {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }

    .top-group-frame {
        position: relative;
        margin-top: 4.3rem;
    }

    .top-group-title {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        margin-top: -1.1rem;
        z-index: 2;
    }

    .top-group-title img {
        width: calc(25.1rem + 4.5rem);
        height: calc(5.8rem + 5.8rem);
    }

    .top-group-content {
        width: calc(59.85rem + 9.05rem);
        height: calc(197.504rem + 9.096rem);
        margin: 0 auto;
        background-image: url(../../images/front-page/sp/top_group_base_sp.webp);
        background-size: 100% 100%;
    }

    .top-group-list {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        align-items: center;
        padding-top: 11.5rem;
    }

    .top-group-card {
        width: 50.17rem;
        height: 29.91rem;
    }

    .top-group-card > a {
        position: relative;
        display: block;
    }

    .top-group-card-image {
        width: 50.17rem;
        height: 29.91rem;
        display: block;
        object-fit: cover;
    }

    .top-group-card-name {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 4rem;
        background-color: rgba(111, 68, 163, 0.75);
        color: #ffffff;
        font-family: var(--font-family-noto-sans-jp);
        font-size: 2.6rem;
        line-height: 4rem;
        text-align: center;
    }

    .top-group-card > a:hover .top-group-card-name {
        background-color: rgba(111, 34, 163, 0.75);;
    }

    .site-footer {
        margin-top: 3rem;
    }
}