/* 日勤・夜勤の一日 */

.oneday-page {
    background: #FAF8F5;
}

.oneday-hero::before {
    background:
        linear-gradient(180deg, rgba(250, 248, 245, 0.36), rgba(250, 248, 245, 0.94)),
        linear-gradient(90deg, rgba(250, 248, 245, 0.92), rgba(216, 226, 223, 0.38));
}

.oneday-intro {
    display: grid;
    grid-template-columns: minmax(31rem, 0.48fr) minmax(0, 0.52fr);
    gap: clamp(1.4rem, 4vw, 3rem);
    align-items: end;
}

/* PCでは見出しの単語途中で改行されないよう、任意改行を使います。 */
@media (min-width: 1025px) {
    .oneday-intro-heading__keep {
        white-space: nowrap;
    }
}

.oneday-shift-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.oneday-keynotes {
    display: grid;
    grid-template-columns: minmax(12rem, 0.35fr) minmax(0, 0.65fr);
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.oneday-keynotes article {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border: 1px solid rgba(216, 226, 223, 0.86);
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.92);
}

.oneday-keynotes span {
    color: #7A726E;
    font-size: 0.76rem;
    font-weight: 500;
}

.oneday-keynotes strong {
    color: #4A423F;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(1.12rem, 2.6vw, 1.55rem);
    line-height: 1.45;
}

.oneday-keynotes small {
    color: rgba(74, 66, 63, 0.68);
    font-size: 0.78rem;
    line-height: 1.7;
}

.oneday-shift-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.7rem 1.15rem;
    border: 1px solid rgba(159, 189, 181, 0.72);
    border-radius: 9999px;
    background: #FFFFFF;
    color: #4A423F;
    font-size: 0.86rem;
    font-weight: 500;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.oneday-shift-nav a:hover,
.oneday-shift-nav a:focus-visible {
    transform: translateY(-2px);
    border-color: #9FBDB5;
    background: rgba(216, 226, 223, 0.45);
}

/* セクション導入の挿絵 */
.oneday-visual-head {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.52fr) minmax(18rem, 0.48fr);
    gap: clamp(1rem, 4vw, 2.4rem);
    align-items: center;
    margin-bottom: clamp(1.4rem, 4vw, 2.4rem);
    overflow: visible;
}

.oneday-visual-head::before {
    content: "";
    display: none;
    position: absolute;
    z-index: 0;
    width: clamp(4.6rem, 9vw, 7.5rem);
    aspect-ratio: 1;
    background: none;
    opacity: 0;
    pointer-events: none;
}

.oneday-visual-head::before {
    top: -1.6rem;
    right: 1.5rem;
    background-image: none;
    transform: none;
}

.oneday-visual-head--floor {
    grid-template-columns: minmax(18rem, 0.46fr) minmax(0, 0.54fr);
}

.oneday-visual-head--floor::before {
    display: none;
    right: auto;
    left: 1.2rem;
    background-image: none;
}

.oneday-visual-head__text,
.oneday-visual-head__figure {
    position: relative;
    z-index: 1;
}

.oneday-visual-head__text {
    max-width: 45rem;
}

.oneday-visual-head__figure {
    display: grid;
    place-items: center;
    margin: 0;
}

.oneday-visual-head__figure img {
    width: min(100%, 34rem);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 1rem 1.5rem rgba(74, 66, 63, 0.12));
}

.oneday-visual-head--floor .oneday-visual-head__figure {
    order: -1;
}

.oneday-visual-head--floor .oneday-visual-head__figure img {
    width: min(100%, 36rem);
}

/* 職種別カード */
.oneday-role-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.oneday-role-card,
.oneday-floor-card,
.oneday-process-role,
.oneday-weekly-card {
    border: 1px solid rgba(216, 226, 223, 0.86);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 48px -42px rgba(74, 66, 63, 0.42);
}

.oneday-role-card {
    position: relative;
    display: grid;
    gap: 0.75rem;
    padding: clamp(1.15rem, 2.8vw, 1.55rem);
    overflow: hidden;
}

.oneday-role-card::after {
    content: "";
    position: absolute;
    right: -1.1rem;
    bottom: -1.4rem;
    width: 5rem;
    aspect-ratio: 1;
    background: url("../img/flower-parts/flower-05.png") center / contain no-repeat;
    opacity: 0.18;
    pointer-events: none;
}

.oneday-role-card:nth-child(2)::after {
    background-image: url("../img/flower-parts/flower-01.png");
}

.oneday-role-card:nth-child(3)::after {
    background-image: url("../img/flower-parts/flower-02.png");
}

.oneday-role-card__head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.oneday-role-card__head > span {
    width: fit-content;
    color: #66877F;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.oneday-role-card__icon {
    width: clamp(3.6rem, 6vw, 5rem);
    height: auto;
    margin-top: -0.45rem;
    margin-right: -0.3rem;
    display: block;
    background: transparent;
    object-fit: contain;
    transform: rotate(3deg);
    filter: drop-shadow(0 0.6rem 0.8rem rgba(74, 66, 63, 0.11));
}

.oneday-role-card h3,
.oneday-weekly-card h3 {
    position: relative;
    z-index: 1;
    color: #4A423F;
    font-size: 1.08rem;
    line-height: 1.6;
}

.oneday-role-card p {
    position: relative;
    z-index: 1;
    color: rgba(74, 66, 63, 0.74);
    font-size: 0.9rem;
    line-height: 1.9;
}

.oneday-role-card ul,
.oneday-weekly-card ul {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.oneday-role-card li,
.oneday-weekly-card li {
    position: relative;
    padding-left: 1rem;
    color: rgba(74, 66, 63, 0.76);
    font-size: 0.84rem;
    line-height: 1.75;
}

.oneday-role-card li::before,
.oneday-weekly-card li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 9999px;
    background: #C27B75;
}

/* 2F・3F一日の流れ */
.oneday-floor-stack {
    display: grid;
    gap: 1.15rem;
}

.oneday-floor-card {
    position: relative;
    display: grid;
    gap: 1rem;
    padding: clamp(1.1rem, 3vw, 1.5rem);
    overflow: hidden;
}

.oneday-floor-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 0.34rem;
    background: linear-gradient(90deg, #C27B75, #9FBDB5, #E7C36D);
}

.oneday-floor-card::after {
    content: "";
    position: absolute;
    top: 0.35rem;
    right: 0.65rem;
    width: clamp(5.8rem, 9vw, 7.2rem);
    height: clamp(6.8rem, 11vw, 9rem);
    background-image:
        url("../img/garland-parts/water/water-01.png"),
        url("../img/garland-parts/water/water-02.png"),
        url("../img/garland-parts/water/water-03.png");
    background-repeat: no-repeat;
    background-position:
        left top,
        center 0.45rem,
        right top;
    background-size:
        30% auto,
        31% auto,
        29% auto;
    opacity: 0.24;
    pointer-events: none;
    transform-origin: 50% 0;
    animation: onedayWaterGarlandSway 7.2s ease-in-out infinite;
}

@keyframes onedayWaterGarlandSway {
    0%,
    100% {
        transform: rotate(-0.8deg) translateY(0);
    }

    50% {
        transform: rotate(0.9deg) translateY(0.18rem);
    }
}

.oneday-floor-head {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 3.2rem 1fr;
    gap: 0.95rem;
    align-items: start;
}

.oneday-floor-head > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: rgba(216, 226, 223, 0.78);
    color: #66877F;
    font-family: "Noto Serif JP", serif;
    font-size: 1rem;
    font-weight: 600;
}

.oneday-floor-head h3 {
    color: #4A423F;
    font-size: clamp(1.18rem, 2.6vw, 1.55rem);
    line-height: 1.55;
}

.oneday-floor-head p {
    margin-top: 0.25rem;
    color: rgba(74, 66, 63, 0.72);
    font-size: 0.9rem;
    line-height: 1.85;
}

.oneday-floor-notes {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.oneday-floor-notes span {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.7rem;
    border-radius: 9999px;
    background: rgba(245, 228, 228, 0.7);
    color: #7A726E;
    font-size: 0.78rem;
    line-height: 1.4;
}

.oneday-floor-shifts {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
}

.oneday-floor-shift {
    display: grid;
    gap: 0.85rem;
    padding: clamp(0.9rem, 2.4vw, 1.1rem);
    border-radius: 0.5rem;
    background: rgba(250, 248, 245, 0.78);
}

.oneday-floor-shift--night {
    background: rgba(216, 226, 223, 0.36);
}

.oneday-floor-shift__head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.oneday-floor-shift__head > span {
    flex: 0 0 auto;
    width: fit-content;
    padding: 0.26rem 0.7rem 0.3rem;
    border-radius: 9999px;
    background: #F5E4E4;
    color: #C27B75;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.35;
}

.oneday-floor-shift--night .oneday-floor-shift__head > span {
    background: rgba(255, 255, 255, 0.82);
    color: #66877F;
}

.oneday-floor-shift__head h4 {
    color: #4A423F;
    font-size: 1rem;
    line-height: 1.55;
}

.oneday-floor-shift__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.6rem;
}

.oneday-floor-shift__time {
    display: inline-flex;
    align-items: center;
    min-height: 1.85rem;
    padding: 0.28rem 0.7rem;
    border-radius: 9999px;
    background: rgba(245, 228, 228, 0.78);
    color: #C27B75;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.35;
}

.oneday-floor-shift--night .oneday-floor-shift__time {
    background: rgba(216, 226, 223, 0.82);
    color: #66877F;
}

.oneday-floor-shift__head p {
    margin-top: 0.15rem;
    color: rgba(74, 66, 63, 0.62);
    font-size: 0.76rem;
    line-height: 1.65;
}

.oneday-process-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.oneday-shared-timeline {
    display: none;
}

.oneday-floor-notes--shift {
    margin-top: 0.1rem;
}

.oneday-process-role {
    padding: 1rem;
}

.oneday-process-role h4,
.oneday-process-role h5 {
    margin-bottom: 0.75rem;
    color: #4A423F;
    font-size: 1rem;
    line-height: 1.6;
}

.oneday-process-list {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.oneday-process-list > li {
    display: grid;
    grid-template-columns: 3.9rem 1fr;
    gap: 0.65rem;
    align-items: start;
    padding: 0.7rem 0;
    border-top: 1px solid rgba(216, 226, 223, 0.68);
}

.oneday-process-list > li:first-child {
    border-top: 0;
    padding-top: 0;
}

.oneday-process-list > li > time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.85rem;
    border-radius: 9999px;
    background: #F5E4E4;
    color: #C27B75;
    font-family: "Noto Serif JP", serif;
    font-size: 0.82rem;
    line-height: 1;
}

.oneday-process-list > li > span {
    color: rgba(74, 66, 63, 0.78);
    font-size: 0.84rem;
    line-height: 1.75;
}

.oneday-process-list > li.has-floor-illustration {
    grid-template-columns: 3.9rem minmax(0, 1fr) clamp(4.4rem, 8vw, 6rem);
    align-items: center;
}

.oneday-floor-shift .oneday-process-list > li {
    grid-template-columns: 5.25rem minmax(0, 1fr);
}

.oneday-floor-shift .oneday-process-list > li.has-floor-illustration {
    grid-template-columns: 5.25rem minmax(0, 1fr) clamp(4.4rem, 8vw, 6rem);
}

.oneday-floor-shift .oneday-process-list > li > time {
    min-width: 5.05rem;
    padding: 0 0.45rem;
    white-space: nowrap;
}

.oneday-floor-shift--night .oneday-process-list > li > time {
    background: rgba(216, 226, 223, 0.82);
    color: #66877F;
}

.oneday-floor-row-illustration {
    width: clamp(4.4rem, 8vw, 6rem);
    max-height: 5.75rem;
    object-fit: contain;
    justify-self: end;
    opacity: 0.82;
    pointer-events: none;
    background: transparent;
    filter: drop-shadow(0 0.45rem 0.7rem rgba(74, 66, 63, 0.11));
}

@media (min-width: 768px) {
    .oneday-floor-shift .oneday-process-grid--cards {
        display: none;
    }

    .oneday-shared-timeline {
        position: relative;
        z-index: 1;
        display: grid;
        gap: 0.65rem;
    }

    .oneday-shared-timeline__head,
    .oneday-shared-timeline__row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) clamp(6.6rem, 12vw, 8rem) minmax(0, 1fr);
        gap: clamp(0.55rem, 1.6vw, 0.95rem);
        align-items: stretch;
    }

    .oneday-shared-timeline__head {
        align-items: center;
        padding: 0 0.15rem;
    }

    .oneday-shared-timeline__role,
    .oneday-shared-timeline__clock {
        color: rgba(74, 66, 63, 0.72);
        font-size: 0.82rem;
        font-weight: 600;
        line-height: 1.5;
    }

    .oneday-shared-timeline__role--left {
        text-align: right;
    }

    .oneday-shared-timeline__role--right {
        text-align: left;
    }

    .oneday-shared-timeline__clock {
        justify-self: center;
        padding: 0.22rem 0.65rem;
        border-radius: 9999px;
        background: rgba(250, 248, 245, 0.86);
        color: rgba(194, 123, 117, 0.86);
        font-size: 0.72rem;
        letter-spacing: 0.08em;
    }

    .oneday-floor-shift--night .oneday-shared-timeline__clock {
        color: #66877F;
    }

    .oneday-shared-timeline__rows {
        position: relative;
        display: grid;
        gap: 0.5rem;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .oneday-shared-timeline__rows::before {
        content: "";
        position: absolute;
        top: 0.5rem;
        bottom: 0.5rem;
        left: 50%;
        width: 2px;
        border-radius: 9999px;
        background: linear-gradient(180deg, rgba(235, 203, 204, 0.15), rgba(194, 123, 117, 0.45), rgba(235, 203, 204, 0.15));
        transform: translateX(-50%);
        pointer-events: none;
    }

    .oneday-floor-shift--night .oneday-shared-timeline__rows::before {
        background: linear-gradient(180deg, rgba(216, 226, 223, 0.2), rgba(102, 135, 127, 0.48), rgba(216, 226, 223, 0.2));
    }

    .oneday-shared-timeline__row {
        position: relative;
        z-index: 1;
        align-items: center;
    }

    .oneday-shared-timeline__cell {
        display: grid;
        gap: 0.4rem;
        align-content: center;
        min-height: 3.5rem;
        padding: 0.62rem 0.72rem;
        border: 1px solid rgba(216, 226, 223, 0.72);
        border-radius: 0.7rem;
        background: rgba(255, 255, 255, 0.74);
    }

    .oneday-shared-timeline__cell--left {
        text-align: right;
    }

    .oneday-shared-timeline__cell.is-empty {
        min-height: 2.4rem;
        border-color: transparent;
        background: transparent;
    }

    .oneday-shared-timeline__item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.55rem;
        color: rgba(74, 66, 63, 0.78);
        font-size: 0.82rem;
        line-height: 1.7;
    }

    .oneday-shared-timeline__cell--left .oneday-shared-timeline__item {
        flex-direction: row-reverse;
    }

    .oneday-shared-timeline__item span {
        min-width: 0;
    }

    .oneday-shared-timeline__icon {
        flex: 0 0 auto;
        width: clamp(2.65rem, 5vw, 3.6rem);
        max-height: 3.35rem;
        object-fit: contain;
        opacity: 0.82;
        background: transparent;
        filter: drop-shadow(0 0.38rem 0.62rem rgba(74, 66, 63, 0.1));
    }

    .oneday-shared-timeline__time {
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        justify-self: center;
        align-self: center;
        min-width: min(100%, 7.35rem);
        min-height: 2rem;
        padding: 0.18rem 0.6rem;
        border: 3px solid rgba(250, 248, 245, 0.92);
        border-radius: 9999px;
        background: #F5E4E4;
        color: #C27B75;
        font-family: "Noto Serif JP", serif;
        font-size: 0.78rem;
        line-height: 1;
        white-space: nowrap;
    }

    .oneday-floor-shift--night .oneday-shared-timeline__time {
        background: rgba(216, 226, 223, 0.94);
        color: #66877F;
    }
}

.oneday-shift-head,
.oneday-team-head {
    max-width: 45rem;
    margin-bottom: 1.5rem;
}

.oneday-layout {
    display: grid;
    grid-template-columns: minmax(18rem, 0.38fr) minmax(0, 0.62fr);
    gap: clamp(1.25rem, 4vw, 2.5rem);
    align-items: start;
}

.oneday-layout--reverse {
    grid-template-columns: minmax(0, 0.62fr) minmax(18rem, 0.38fr);
}

.oneday-shift-aside {
    position: sticky;
    top: 6.5rem;
    display: grid;
    gap: 0.95rem;
}

.oneday-spot-figure {
    display: grid;
    place-items: center;
    margin: 0;
    padding: clamp(0.2rem, 1.2vw, 0.5rem);
    overflow: visible;
    border: 0;
    background: transparent;
}

.oneday-spot-figure img {
    width: min(100%, 30rem);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 1rem 1.6rem rgba(74, 66, 63, 0.13));
}

.oneday-spot-figure--shift {
    min-height: clamp(13rem, 28vw, 23rem);
}

.oneday-spot-figure--shift img {
    width: min(100%, 34rem);
}

.oneday-spot-figure--night {
    background: transparent;
}

.oneday-spot-figure--weekly {
    align-self: start;
}

.oneday-spot-figure--weekly-secondary img {
    width: min(100%, 27rem);
}

.oneday-shift-process-grid {
    display: grid;
    gap: 1rem;
}

.oneday-process-role--shift {
    display: grid;
    gap: 0.9rem;
    padding: clamp(1rem, 2.6vw, 1.3rem);
}

.oneday-process-role__head {
    display: grid;
    gap: 0.35rem;
}

.oneday-process-role__head > span {
    width: fit-content;
    padding: 0.22rem 0.62rem 0.26rem;
    border-radius: 9999px;
    background: rgba(216, 226, 223, 0.76);
    color: #66877F;
    font-size: 0.72rem;
    font-weight: 600;
}

.oneday-process-role__head h4 {
    margin-bottom: 0;
}

.oneday-process-role__head p {
    color: rgba(74, 66, 63, 0.74);
    font-size: 0.84rem;
    line-height: 1.75;
}

.oneday-process-list--detail > li {
    grid-template-columns: 5.15rem 1fr;
    gap: 0.85rem;
}

.oneday-process-list--detail > li.has-illustration {
    position: relative;
    min-height: 5.6rem;
    padding-right: clamp(4.8rem, 8vw, 6.8rem);
}

.oneday-process-illustration {
    position: absolute;
    top: 50%;
    right: 0.2rem;
    width: clamp(4rem, 7vw, 5.8rem);
    height: auto;
    transform: translateY(-50%) rotate(-2deg);
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 0.6rem 0.9rem rgba(74, 66, 63, 0.12));
    background: transparent;
}

.oneday-process-list--detail > li.has-illustration:nth-child(even) .oneday-process-illustration {
    transform: translateY(-50%) rotate(2deg);
}

.oneday-process-list--detail ul {
    display: grid;
    gap: 0.38rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.oneday-process-list--detail ul li {
    position: relative;
    padding-left: 0.95rem;
    color: rgba(74, 66, 63, 0.78);
    font-size: 0.84rem;
    line-height: 1.7;
}

.oneday-process-list--detail ul li::before {
    content: "";
    position: absolute;
    top: 0.73em;
    left: 0;
    width: 0.32rem;
    height: 0.32rem;
    border-radius: 9999px;
    background: #C27B75;
}

.oneday-process-list--night > li > time {
    background: rgba(216, 226, 223, 0.78);
    color: #66877F;
}

.oneday-process-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.oneday-process-notes span {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding: 0.35rem 0.68rem;
    border-radius: 9999px;
    background: rgba(250, 248, 245, 0.94);
    color: #7A726E;
    font-size: 0.76rem;
    line-height: 1.4;
}

.oneday-section-note {
    margin-top: 0.9rem;
    color: rgba(74, 66, 63, 0.64);
    font-size: 0.78rem;
    line-height: 1.8;
}

.oneday-team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.oneday-team-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.58fr) minmax(16rem, 0.42fr);
    gap: clamp(1rem, 4vw, 2.2rem);
    align-items: center;
    margin-bottom: 1.5rem;
}

.oneday-team-intro .oneday-team-head {
    margin-bottom: 0;
}

.oneday-team-figure {
    display: grid;
    place-items: center;
    margin: 0;
    overflow: visible;
}

.oneday-team-figure img {
    width: min(100%, 28rem);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 1rem 1.5rem rgba(74, 66, 63, 0.13));
}

.oneday-team-card {
    padding: clamp(1.25rem, 3vw, 1.8rem);
}

.oneday-team-card > span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 0.8rem;
    padding: 0.26rem 0.72rem 0.3rem;
    border-radius: 9999px;
    background: #F5E4E4;
    color: #C27B75;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
}

.oneday-team-card h3 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.25rem, 3vw, 1.7rem);
    line-height: 1.6;
}

.oneday-team-card p {
    margin-bottom: 1rem;
}

.oneday-team-card dl {
    display: grid;
    gap: 0.65rem;
    margin: 0;
}

.oneday-team-card dl div {
    display: grid;
    grid-template-columns: minmax(6rem, 0.34fr) 1fr;
    gap: 0.75rem;
    align-items: center;
    padding: 0.8rem 0.9rem;
    border-radius: 0.6rem;
    background: rgba(250, 248, 245, 0.82);
}

.oneday-team-card dt {
    color: #7A726E;
    font-size: 0.78rem;
    font-weight: 500;
}

.oneday-team-card dd {
    color: #4A423F;
    font-weight: 500;
}

/* 週間業務 */
.oneday-weekly-layout {
    display: grid;
    grid-template-columns: minmax(17rem, 0.34fr) minmax(0, 0.66fr);
    gap: 1rem;
    align-items: start;
}

.oneday-weekly-figures {
    display: grid;
    gap: clamp(0.75rem, 2.5vw, 1.15rem);
    align-self: start;
}

.oneday-weekly-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.oneday-weekly-layout .oneday-weekly-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.oneday-weekly-card {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 0.85rem;
    padding: 1rem;
}

.oneday-weekly-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 9999px;
    background: #F5E4E4;
    color: #C27B75;
    font-family: "Noto Serif JP", serif;
    font-size: 0.92rem;
}

.oneday-weekly-card h3 {
    margin-bottom: 0.35rem;
}

@media (max-width: 1024px) {
    .oneday-intro-heading__pc-break {
        display: none;
    }

    .oneday-intro,
    .oneday-keynotes,
    .oneday-visual-head,
    .oneday-visual-head--floor,
    .oneday-layout,
    .oneday-layout--reverse,
    .oneday-weekly-layout {
        grid-template-columns: 1fr;
    }

    .oneday-role-grid,
    .oneday-process-grid,
    .oneday-weekly-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oneday-team-intro {
        grid-template-columns: 1fr;
    }

    .oneday-weekly-figures {
        margin-bottom: 0.75rem;
    }

    .oneday-shift-aside {
        position: static;
    }

    .oneday-visual-head--floor .oneday-visual-head__figure {
        order: 0;
    }
}

@media (max-width: 767px) {
    .oneday-shift-nav,
    .oneday-role-grid,
    .oneday-process-grid,
    .oneday-team-grid,
    .oneday-weekly-grid,
    .oneday-weekly-layout .oneday-weekly-grid {
        grid-template-columns: 1fr;
    }

    .oneday-shift-nav {
        display: grid;
    }

    .oneday-visual-head {
        gap: 0.6rem;
        margin-bottom: 1.4rem;
    }

    .oneday-visual-head::before {
        top: auto;
        right: 0.2rem;
        bottom: 0.2rem;
        width: 4.8rem;
    }

    .oneday-visual-head__figure img {
        width: min(100%, 25rem);
    }

    .oneday-spot-figure--weekly-secondary img,
    .oneday-team-figure img {
        width: min(100%, 21rem);
    }

    .oneday-team-card dl div,
    .oneday-process-list > li {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .oneday-process-list > li.has-floor-illustration {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 0.65rem;
        row-gap: 0.45rem;
        align-items: center;
    }

    .oneday-process-list > li.has-floor-illustration > time {
        grid-column: 1;
        grid-row: 1;
    }

    .oneday-process-list > li.has-floor-illustration > span {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .oneday-floor-row-illustration {
        grid-column: 2;
        grid-row: 1;
        width: 5rem;
        min-width: 5rem;
        max-height: 4.85rem;
    }

    .oneday-weekly-card {
        grid-template-columns: 2.8rem 1fr;
    }

    .oneday-floor-head {
        grid-template-columns: 1fr;
    }

    .oneday-floor-shift__head {
        display: grid;
        gap: 0.45rem;
    }

    .oneday-floor-head > span {
        width: fit-content;
        min-width: 3rem;
        padding: 0 0.75rem;
    }

    .oneday-process-list > li > time {
        width: fit-content;
        min-width: 3.9rem;
        padding: 0 0.75rem;
    }

    .oneday-process-list--detail > li.has-illustration {
        min-height: 4.8rem;
        padding-right: 5.1rem;
    }

    .oneday-process-illustration {
        position: absolute;
        top: 0.9rem;
        right: 0.15rem;
        width: 4.35rem;
        transform: rotate(-2deg);
    }

    .oneday-process-list--detail > li.has-illustration:nth-child(even) .oneday-process-illustration {
        transform: rotate(2deg);
    }
}
