﻿@media(max-width: 768px) {
    html {
        scroll-padding-top: 160px
    }
}

.p-index__inner {
    padding-top: 24px
}

.p-index__container {
    max-width: 480px;
    margin: 0 auto
}

.p-index__main {
    padding: 24px;
    border-radius: 8px;
    background-color: #f5f5f5
}

@media(max-width: 768px) {
    .p-index__main {
        padding: 16px 16px 28px
    }
}

.p-index__main:has(+.p-index__bottom) {
    border-radius: 8px 8px 0 0
}

.p-index__head {
    padding-bottom: 6px
}

.p-index__title {
    color: #30b27f;
    font-size: 1.8rem;
    font-weight: 900
}

.p-index__body {
    padding-top: 10px;
    border-top: 1px solid #ddd
}

.p-index__list {
    display: flex;
    flex-direction: column
}

.p-index__item {
    display: flex;
    align-items: baseline;
    gap: 8px
}

@media(max-width: 768px) {
    .p-index__item {
        font-size: 1.3rem
    }
}

.p-index__item::before {
    content: "";
    position: relative;
    top: -0.2em;
    display: block;
    min-width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #2ac27e
}

.p-index__link {
    display: block;
    width: 100%;
    padding: 6px 0;
    transition: color .24s cubic-bezier(0.16, 1, 0.3, 1)
}

.p-index__bottom {
    width: 100%;
    border-radius: 0 0 10px 10px;
    background-color: #ececec
}

.p-index__toggle {
    display: block;
    width: 100%;
    padding: 10px;
    color: #4099ff;
    font-size: 12px;
    font-weight: 700;
    text-align: center
}

.p-oc__inner {
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 0 16px rgba(0, 0, 0, .08);
    background-color: #fff;
    overflow: hidden
}

@media(max-width: 768px) {
    .p-oc__inner {
        width: 94%;
        margin-inline: auto;
        padding: 0;
        padding-bottom: 32px
    }
}

.p-oc__header {
    display: flex;
    align-items: flex-start;
    gap: 2em
}

@media(max-width: 768px) {
    .p-oc__header {
        flex-direction: column;
        gap: 0
    }
}

.p-oc__thumbnail {
    width: 304px;
    text-align: center
}

@media(max-width: 768px) {
    .p-oc__thumbnail {
        width: 100%
    }
}

.p-oc__thumbnail img {
    display: block;
    width: 100%;
    height: auto
}

.p-oc__image {
    position: relative;
    display: inline-block;
    vertical-align: top;
    overflow: hidden
}

.p-oc__image.is-clickable {
    cursor: pointer
}

@media(max-width: 768px) {
    .p-oc__image {
        display: block
    }
}

.p-oc__image img:not(.p-oc__image-bg) {
    position: relative;
    z-index: 1;
    display: block;
    width: 400px !important;
    max-height: 200px;
    object-fit: contain;
    object-position: center;
    background-color: unset
}

@media(max-width: 768px) {
    .p-oc__image img:not(.p-oc__image-bg) {
        width: 100% !important;
        height: 100%
    }
}

.p-oc__image-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(16px) brightness(70%);
    transform: scale(1.2);
    z-index: 0
}

.p-oc__noImage {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1.618/1;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f5f5f5
}

.p-oc__noImage::after {
    content: "NO IMAGE";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ccc;
    font-size: 2rem;
    font-weight: 900;
    text-align: center
}

.p-oc__info {
    flex: 1
}

@media(max-width: 768px) {
    .p-oc__info {
        padding-top: 12px;
        padding-inline: 4%
    }
}

.p-oc__data {
    display: flex;
    align-items: center;
    gap: .2em;
    font-size: 12px;
    font-weight: 700
}

@media(max-width: 768px) {
    .p-oc__data {
        font-size: 1.2rem
    }
}

.p-oc__hgroup {
    padding: 10px 0 8px
}

@media(max-width: 768px) {
    .p-oc__hgroup {
        padding: 4px 0
    }
}

.p-oc__title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4
}

@media(max-width: 768px) {
    .p-oc__title {
        font-size: 16px
    }
}

.p-oc__subTitle {
    font-size: 13px;
    font-weight: 900
}

@media(max-width: 768px) {
    .p-oc__subTitle {
        font-size: 12px
    }
}

.p-oc__tagList {
    display: flex;
    flex-wrap: wrap;
    gap: 4px
}

.p-oc__tagItem {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #28c27f;
    font-size: 12px
}

@media(max-width: 768px) {
    .p-oc__tagItem {
        font-size: 11px
    }
}

.p-oc__body {
    padding-top: 8px
}

@media(max-width: 768px) {
    .p-oc__body {
        padding-top: 6px;
        padding-inline: 4%
    }
}

.p-oc__text {
    width: 100%
}

.p-oc__paragraph {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    font-size: 12px;
    line-height: 1.6;
    text-overflow: ellipsis;
    overflow: hidden;
    transition: max-height .3s ease-in-out;
    max-height: calc(12px * 1.6 * 5)
}

.p-oc__paragraph.is-active {
    -webkit-line-clamp: unset;
    max-height: none !important
}

.p-oc__readMore {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 100%;
    max-width: 380px;
    margin-top: 1.6em;
    margin-inline: auto;
    padding: 6px 0;
    border-radius: 4px;
    background-color: #f5f5f5;
    color: #8f8f8f;
    font-size: 12px;
    font-weight: 900;
    text-align: center
}

@media(max-width: 768px) {
    .p-oc__readMore {
        margin-top: 6px;
        margin-inline: auto
    }
}

.p-oc__readMore::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 8px;
    background-color: #8f8f8f;
    clip-path: polygon(50% 100%, 0% 0%, 100% 0%)
}

.p-oc__readMore:hover {
    color: #8f8f8f;
    text-decoration: none
}

.p-oc__readMore.is-active::after {
    transform: rotate(180deg)
}

.p-oc__bottom {
    margin-top: 30px
}

.p-oc__bottom a {
    display: block
}

@media(max-width: 768px) {
    .p-oc__bottom {
        margin-top: 18px;
        padding-inline: 5.6%
    }
}

.p-oc__cta {
    --hover-press-y: 0px;
    --anim-press-y: 0px;
    --press-y: calc(var(--hover-press-y) + var(--anim-press-y));
    animation: double-click 4s infinite;
    transform-origin: center;
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 316px;
    margin-inline: auto
}

.p-oc__cta::before {
    content: "";
    position: absolute;
    bottom: 72%;
    left: 50%;
    width: 12px;
    height: 8px;
    background-color: #fff82a;
    clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
    transform: translate(-50%, var(--press-y));
    transition: transform .24s;
    z-index: 1
}

.p-oc__cta::after {
    content: "無料&かんたん1分";
    position: absolute;
    bottom: 84%;
    left: 50%;
    display: block;
    width: fit-content;
    padding: 2px 20px;
    border-radius: 200px;
    background-color: #fff82a;
    color: #000;
    font-weight: 700;
    font-size: 11px;
    z-index: 1;
    transform: translate(-50%, var(--press-y));
    transition: transform .24s
}

.p-oc__cta--external::before,
.p-oc__cta--external::after {
    display: none
}

.p-oc__cta:hover {
    --hover-press-y: 4px;
    animation-play-state: paused
}

.p-oc__clickable-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 100%;
    height: 60px;
    padding: 4px 40px 4px 8px;
    box-sizing: border-box;
    border: 1px solid #c9002d;
    border-radius: 8px;
    box-shadow: 0px calc(4px - var(--press-y)) 0px #c9002d;
    background: linear-gradient(#ffa5b9 0%, #ff60a0 40.39%, #ff0057 100%);
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    transition: all .24s;
    transform: translateY(var(--press-y));
    overflow-x: hidden
}

.p-oc__clickable-button .icon {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    line-height: 1
}

@keyframes double-click {

    0%,
    5%,
    10%,
    15%,
    100% {
        --anim-press-y: 0px
    }

    7.5%,
    12.5% {
        --anim-press-y: 4px
    }
}

.p-oc__clickable-button[data-preview=true] {
    cursor: not-allowed;
    opacity: .6;
    pointer-events: none
}

.p-oc__list-title {
    font-weight: bold;
    text-align: center
}

@media(max-width: 768px) {
    body#opencumpus .l-schoolMain__inner {
        padding-bottom: 24px
    }
}

.p-eventDate__inner {
    padding-top: 16px
}

@media(max-width: 768px) {
    .p-eventDate__inner {
        padding-top: 12px
    }
}

.p-eventDate__head {
    display: flex;
    align-items: center;
    gap: 1.2em
}

.p-eventDate__title {
    position: relative;
    padding-left: 1em;
    font-size: 14px;
    font-weight: 700
}

.p-eventDate__title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 4px;
    height: 100%;
    border-radius: 100vmax;
    background-color: #28c27f
}

.p-eventDate__subTitle {
    font-size: 12px
}

@media(max-width: 768px) {
    .p-eventDate__subTitle {
        font-size: 11px
    }
}

.p-eventDate__body {
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 8px
}

@media(max-width: 768px) {
    .p-eventDate__body {
        display: block
    }
}

.p-eventDate__list {
    display: flex !important;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
    height: 43px;
    min-height: 43px;
    overflow: hidden;
    transition: height .4s cubic-bezier(0.16, 1, 0.3, 1)
}

@media(max-width: 768px) {
    .p-eventDate__list {
        height: auto;
        gap: 4px 2%;
        min-height: 54px
    }
}

@media(max-width: 768px) {
    .p-eventDate__list.collapse {
        height: auto;
        max-height: calc(54px * 1)
    }
}

@media(max-width: 768px) {
    .p-eventDate__list.collapsing {
        height: calc(54px * 1);
        min-height: calc(54px * 1)
    }
}

.p-eventDate__list.collapse.show {
    height: auto
}

@media(max-width: 768px) {
    .p-eventDate__list.collapse.show {
        height: auto;
        max-height: unset
    }
}

.p-eventDate__item {
    position: relative;
    width: 90px;
    border-radius: 6px;
    background-color: #f1f6f3;
    border: 2px solid #0ea368;
    box-shadow: 0 2px 0 #30b27f;
    font-weight: 700;
    margin-bottom: 2px;
    transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer
}

@media(max-width: 768px) {
    .p-eventDate__item {
        display: list-item;
        width: 32%;
        float: unset;
        margin-right: 0;
        padding: 6px 12px 6px 0
    }

    .p-eventDate__item button::after {
        right: -3px
    }
}

@media(max-width: 768px) {
    .p-eventDate__item:nth-child(n+5) {
        display: list-item
    }
}

.p-eventDate__item .number {
    font-size: 19px
}

.p-eventDate__item .string {
    font-size: 12px
}

.p-eventDate__item .string.saturday {
    color: #37abd0
}

.p-eventDate__item .string.sunday {
    color: #fe6e9a
}

.p-eventDate__item:hover {
    transform: translateY(2px);
    box-shadow: none
}

    .p-eventDate__button {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    padding: 4px;
    padding-right: 14px;
    position: relative;
    width: 100%
}

.p-eventDate__button::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%)
}

.p-eventDate__text {
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    transition: all .3s
}

.p-eventDate__text--default {
    top: 0
}

.p-eventDate__text--hover {
    top: -100%
}

.p-eventDate__other {
    margin-top: 16px
}

@media(max-width: 768px) {
    .p-eventDate__other {
        margin-top: 6px
    }
}

.p-eventDate__toggle {
    display: block;
    width: fit-content;
    margin-inline: auto;
    color: #598feb;
    text-decoration: underline
}

.p-eventDate__count .number {
    font-size: 16px
}

.p-latestOc {
    padding-top: 20px
}

.p-latestOc__inner {
    align-items: center;
    border: 2px solid #ff206b;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 360px;
    overflow: hidden;
    width: 94%
}

.p-latestOc__header {
    background-color: #fff0f5;
    display: flex;
    padding: 6px 0;
    width: 100%
}

.p-latestOc__header-title {
    color: #ff206b;
    font-weight: bold;
    text-align: center;
    width: 100%
}

.p-latestOc__body {
    background-color: #fff;
    padding: 12px 12px 16px;
    width: 100%
}

.p-latestOc__body .p-oc__bottom {
    margin-top: 20px
}

.p-latestOc__title {
    font-weight: bold;
    font-size: 1.6rem
}

.p-latestOc__date-row {
    font-weight: bold
}

.p-latestOc__date {
    font-size: 2.2rem
}

.p-latestOc__dayofweek.saturday {
    color: #37abd0
}

.p-latestOc__dayofweek.sunday {
    color: #ff2b2d
}

.p-latestOc__time {
    font-size: 2.2rem
}

.p-oc-count {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
    background-color: #f9f9f9
}

@media(max-width: 768px) {
    .p-oc-count {
        width: 94%;
        margin-inline: auto;
        font-size: 1.6rem
    }
}

.p-oc-count__number {
    font-size: 2.6rem
}

@media(max-width: 768px) {
    .p-oc-count__number {
        font-size: 2.4rem
    }
}

.p-oc-count__text {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #b9b9b9;
    padding-block: 35px;
    margin-bottom: 30px
}

@media(max-width: 768px) {
    .p-oc-count__text {
        padding-top: 0;
        padding-bottom: 30px
    }
}

.p-pagination .page-link {
    font-size: 14px;
    color: #28c27f;
    border: 1px solid #8ecba4;
    border-radius: 3px;
    margin-left: 3px;
    font-weight: bold
}

.p-pagination .page-link-prev,
.p-pagination .page-link-next {
    border: none
}

.p-pagination .page-link:hover {
    background-color: #cdefe0;
    border-color: #8ecba4
}

.p-pagination .page-link-prev:hover,
.p-pagination .page-link-next:hover {
    background-color: unset;
    text-decoration: underline
}

.p-pagination .page-link i {
    vertical-align: .1rem
}

.p-pagination .page-item.active .page-link {
    background-color: #28c27f;
    border: 1px solid #8ecba4
}

@media(max-width: 768px) {
    .main .l-schoolMain__articles {
        padding-top: 20px;
        gap: 20px
    }
}

.p-oc-search {
    padding: 35px 0 0;
    background: #f9f9f9
}

.p-oc-search__inner {
    max-width: 315px;
    width: 100%;
    margin-inline: auto;
    position: relative;
    cursor: pointer
}

.p-oc-search__accordion {
    border: 1px solid #000;
    border-radius: 10px;
    overflow: hidden
}

.p-oc-search__accordion-title {
    position: relative;
    padding: 12px;
    font-size: 1.5rem;
    background: #fff
}

.p-oc-search__accordion-title::after {
    content: "";
    border-style: solid;
    border-right: 5px solid rgba(0, 0, 0, 0);
    border-left: 5px solid rgba(0, 0, 0, 0);
    border-top: 7px solid #8cce5d;
    border-bottom: 0;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none
}

.p-oc-search__accordion-content {
    border-top: 1px solid #000;
    display: none
}

.p-oc-search__accordion-item {
    position: relative
}

.p-oc-search__accordion-item input[type=checkbox] {
    position: absolute;
    visibility: hidden
}

.p-oc-search__accordion-item input[type=checkbox]:checked+label::after {
    opacity: 1
}

.p-oc-search__accordion-item input[type=checkbox]+label {
    padding: 10px 15px;
    font-size: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px
}

.p-oc-search__accordion-item input[type=checkbox]+label::after {
    content: "";
    width: 6px;
    height: 11px;
    position: absolute;
    border-right: 1px solid #0084ce;
    border-bottom: 1px solid #0084ce;
    left: 19px;
    top: calc(50% - 2px);
    transform: rotate(45deg) translateY(-50%);
    transform-origin: center top;
    opacity: 0;
    transition: opacity .3s
}

.p-oc-search__accordion-item input[type=checkbox]+label::before {
    content: "";
    border: 1px solid #000;
    border-radius: 3px;
    width: 15px;
    aspect-ratio: 1/1;
    background: #fff;
    flex-shrink: 0
}

.p-oc-search__button {
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 25px
}

.p-oc-search__button button {
    max-width: 270px;
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    text-align: center;
    min-height: 50px;
    border-radius: 100px;
    border: 2px solid #000;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0px 4px 0px #000;
    transition: box-shadow .3s, transform .3s
}

.p-oc-search__button button:hover {
    box-shadow: 0px 0px 0px #000;
    transform: translateY(2px)
}

.c-modal__schedule-items .p-eventDate__item {
    width: 32% !important
}

.c-modal__schedule-items .p-eventDate__item:nth-child(n+15) {
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important
}

.c-modal__schedule-items .p-eventDate__item {
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    width: 32% !important
}

.c-modal__schedule-items {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important
}

@media(max-width: 768px) {
.c-modal__schedule-items .p-eventDate__button {
    flex-direction: column;
    padding: 0 4px;
    gap: 0
    }
}

/* 案B: 日時の行。Noto Sans JP を先頭にし、読み込めないときはサイト同梱の NotoSansJP-Custom を使う */
.p-ocSchedule {
    margin-top: 18px;
    font-family: "Noto Sans JP", "NotoSansJP-Custom", "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif
}

.p-ocSchedule button,
.p-ocSchedule a {
    font-family: inherit
}

.p-ocSchedule__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    margin-bottom: 10px
}

.p-ocSchedule__title {
    margin: 0;
    padding-left: 8px;
    border-left: 4px solid #28c27f;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3
}

.p-ocSchedule__badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: #fff82a;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap
}

.p-ocSchedule__hint {
    flex-basis: 100%;
    margin: 0;
    padding-left: 12px;
    color: #555;
    font-size: 12px
}

.p-ocSchedule__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
    margin: 0 0 0 12px;
    padding: 0;
    list-style: none
}

.p-ocSchedule__row,
.p-ocSchedule__program {
    position: relative;
    display: flex;
    align-items: stretch;
    min-width: 0;
    min-height: 52px;
    border: 1.5px solid #363535;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 3px 0 #363535
}

.p-ocSchedule__program {
    border: 0;
    border-radius: 0;
    box-shadow: none
}

.p-ocSchedule__row[hidden],
.p-ocSchedule__program[hidden],
.p-ocSchedule__programs[hidden] {
    display: none !important
}

.p-ocSchedule__link {
    position: absolute;
    z-index: 1;
    inset: 0;
    border-radius: 6px
}

.p-ocSchedule__main {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 6px 2px 6px 10px
}

.p-ocSchedule__line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 4px;
    min-width: 0
}

.p-ocSchedule__date {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .01em
}

.p-ocSchedule__wday {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #555;
    color: #fff;
    font-size: 11px;
    font-weight: 700
}

.p-ocSchedule__wday.saturday {
    background: #37abd0
}

.p-ocSchedule__wday.sunday {
    background: #fe6e9a
}

.p-ocSchedule__time {
    margin-left: 2px;
    font-size: 14px;
    font-weight: 700
}

.p-ocSchedule__sub {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 3px;
    color: #444;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2
}

.p-ocSchedule__detailForm {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: stretch
}

.p-ocSchedule__detail {
    /* PC幅では親formが display:contents になり、form側の z-index が消える */
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 100%;
    padding: 0 2px;
    border: 0;
    background: transparent;
    cursor: pointer
}

.p-ocSchedule__detail span {
    display: inline-block;
    padding: 6px 7px;
    border: 1px solid #bdbdbd;
    border-radius: 4px;
    background: #fff;
    color: #555;
    font-size: 12px;
    font-weight: 700;
    line-height: 1
}

.p-ocSchedule__apply {
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 0 10px 0 4px;
    color: #ff0057;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap
}

.p-ocSchedule__arrow {
    font-size: 9px
}

.p-ocSchedule__row--group {
    display: block
}

.p-ocSchedule__groupToggle {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 52px;
    padding: 0 12px;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left
}

.p-ocSchedule__groupToggle .p-ocSchedule__line {
    flex: 1
}

.p-ocSchedule__count {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #333;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap
}

.p-ocSchedule__chev {
    font-size: 10px;
    transition: transform .2s
}

.p-ocSchedule__groupToggle[aria-expanded="true"] .p-ocSchedule__chev {
    transform: rotate(180deg)
}

.p-ocSchedule__programs {
    margin: 0;
    padding: 0;
    border-top: 1px dashed #bbb;
    list-style: none
}

.p-ocSchedule__program + .p-ocSchedule__program {
    border-top: 1px solid #ececec
}

.p-ocSchedule__programName {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 8px 4px 8px 14px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45
}

.p-ocSchedule__programTime {
    margin-bottom: 1px;
    color: #555;
    font-size: 12px
}

.p-ocSchedule__more {
    display: block;
    min-height: 40px;
    margin: 4px auto 0;
    padding: 0 12px;
    border: 0;
    background: none;
    color: #598feb;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer
}

@media (min-width: 769px) {
    .p-ocSchedule__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 14px 16px
    }

    .p-ocSchedule__row:not(.p-ocSchedule__row--group) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        grid-template-rows: minmax(32px, auto) auto;
        align-items: center;
        align-content: start;
        padding: 12px 0 12px 12px
    }

    .p-ocSchedule__row:not(.p-ocSchedule__row--group) .p-ocSchedule__main,
    .p-ocSchedule__row:not(.p-ocSchedule__row--group) .p-ocSchedule__detailForm {
        display: contents
    }

    .p-ocSchedule__row:not(.p-ocSchedule__row--group) .p-ocSchedule__line {
        grid-column: 1;
        grid-row: 1
    }

    .p-ocSchedule__row:not(.p-ocSchedule__row--group) .p-ocSchedule__detail {
        grid-column: 2;
        grid-row: 1;
        height: 32px
    }

    .p-ocSchedule__row:not(.p-ocSchedule__row--group) .p-ocSchedule__apply {
        grid-column: 3;
        grid-row: 1;
        height: 32px
    }

    .p-ocSchedule__row:not(.p-ocSchedule__row--group) .p-ocSchedule__sub {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 4px;
        padding-right: 12px
    }

    .p-ocSchedule__row--group.is-open {
        grid-column: 1 / -1
    }

    .p-ocSchedule__row:not(.p-ocSchedule__row--group):hover,
    .p-ocSchedule__program:hover,
    .p-ocSchedule__groupToggle:hover {
        background: #f7f9ff
    }

    .p-ocSchedule__date {
        font-size: 18px
    }
}

/* OC一覧を見終わるまで閲覧中を出さない。他ページには js-ocListEnd が無い */
body:has(.js-ocListEnd) .l-stats:not(.is-oc-list-passed) {
    visibility: hidden;
    pointer-events: none
}

@media (min-width: 769px) {
    body:has(.js-cv-oc-document.is-active) .l-stats.is-oc-list-passed {
        transform: translateY(-120px)
    }

    body:has(.l-cv--application.js-cv-oc-document.is-active:not(.is-banner-closed)) .l-stats.is-oc-list-passed {
        transform: translateY(-240px)
    }
}
