@charset "utf-8";


.ws-schedule * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/**
 * スマホ用設定
 */
@media ( width < 768px ) {

    .ws-schedule {
        margin: 0 auto 8.0vw;
        width: 100%;
        max-width: 1600px;
    }

    .ws-schedule .studio-box {
        margin: 0;
        padding: 0;
        width: 100%;
        display: flex;
        align-items: stretch;
        justify-content: space-between;
    }
    .ws-schedule .studio-time {
        width: 60px;
    }
    .ws-schedule .studio-time .time-item {
        margin: 0;
        padding: 2px;
        width: 60px;
        height: 60px;
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        text-align: right;
        background: #aeaaa9;
        border-right: 1px solid #c8c5c6;
        border-bottom: 1px solid #c8c5c6;
    }
    .ws-schedule .studio-time .time-item:first-child {
        height: 30px;
    }
    .ws-schedule .studio-table {
        position: relative;
        width: calc( 100% - 60px );
        overflow-x: auto;
    }
    .ws-schedule .studio-head {
        margin: 0 auto;
        width: max( 100%, calc( 160px * 7 ) );
        height: 30px;
        display: flex;
        align-items: stretch;
        justify-content: space-between;
    }
    .ws-schedule .studio-head .head-item {
        margin: 0;
        padding: 0;
        width: max( calc( 100% / 7 ), calc( 160px * 7 ) );
        height: 30px;
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        background: #aeaaa9;
        border-right: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        display: grid;
        place-items: center;
    }
    .ws-schedule .studio-body {
        margin: 0 auto;
        width: max( 100%, calc( 160px * 7 ) );
        height: 60px;
        display: flex;
        align-items: stretch;
        justify-content: space-between;
    }
    .ws-schedule .studio-body .head-item {
        margin: 0;
        padding: 0;
        width: max( calc( 100% / 7 ), 160px );
        height: 60px;
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        display: grid;
        place-items: center;
    }
    .ws-schedule .studio-body:nth-child(4n+2) .head-item {
        background: #fff;
        border-right: 1px solid #eee;
        border-bottom: 1px dotted #eee;
    }
    .ws-schedule .studio-body:nth-child(4n+3) .head-item {
        background: #fff;
        border-right: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }
    .ws-schedule .studio-body:nth-child(4n+4) .head-item {
        background: #f2f2f2;
        border-right: 1px solid #ddd;
        border-bottom: 1px dotted #ddd;
    }
    .ws-schedule .studio-body:nth-child(4n+5) .head-item {
        background: #f2f2f2;
        border-right: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }
    .ws-schedule .studio-table .item-block {
        position: absolute;
        margin: 0;
        padding: 4px 0 0;
        width: max( calc( 100% / 7 ), 160px );
        overflow: hidden;
    }
    .ws-schedule .studio-table .kids,
    .ws-schedule .studio-table .class_cat01 {
        background: #f3d037;
        border: 1px solid #eacf60;
    }
    .ws-schedule .studio-table .junior,
    .ws-schedule .studio-table .class_cat02 {
        background: #8cca8b;
        border: 1px solid #8fc291;
        background: #f5b2b2;
        border: 1px solid #f5b2b2;
    }
    .ws-schedule .studio-table .adult,
    .ws-schedule .studio-table .class_cat03 {
        background: #5588c9;
        border: 1px solid #5882b7;
    }
    .ws-schedule .studio-table .item-block .name {
        margin: 0 auto;
        padding: 0.2em 0.8em;
        width: max-content;
        max-width: 100%;
        font-size: 12px;
        text-align: center;
        line-height: 1.0;
        background: #fff;
        border-radius: 4.0em;
    }
    .ws-schedule .studio-table .item-block .desc {
        margin: 0.2em auto 0;
        padding: 0;
        width: 100%;
        color: #fff;
        font-size: 12px;
        text-align: center;
        line-height: 1.2;
    }
    .ws-schedule .studio-table .item-block.kids .name,
    .ws-schedule .studio-table .item-block.class_cat01 .name {
        color: #f3d037;
    }
    .ws-schedule .studio-table .item-block.junior .name,
    .ws-schedule .studio-table .item-block.class_cat02 .name {
        color: #8cca8b;
        color: #f5b2b2;
    }
    .ws-schedule .studio-table .item-block.adult .name,
    .ws-schedule .studio-table .item-block.class_cat03 .name {
        color: #5588c9;
    }

    .ws-schedule .studio-table .item-block .btns {
        position: absolute;
        left: 1px;
        bottom: 1px;
        width: calc( 100% - 2px );
        background: #fcedc9;
        margin: 0;
        padding: 0;
        display: flex;
        align-itesm: stretch;
        justify-content: space-between;
    }
    .ws-schedule .studio-table .item-block .btns > :is(div,a) {
        display: block;
        margin: 0;
        padding: 4px 0;
        font-size: 12px;
        color: #5588c9;
        text-align: center;
        line-height: 1.0;
    }
    .ws-schedule .studio-table .item-block .btns > :nth-child(1) {
        width: 60%;
    }
    .ws-schedule .studio-table .item-block .btns > :nth-child(2) {
        width: 40%;
        border-left: 1px solid #f3d037;
    }
    .ws-schedule .studio-table .item-block .btn1 {
        position: absolute;
        left: 1px;
        bottom: 1px;
        width: calc( 100% - 2px );
        display: block;
        background: #fcedc9;
        margin: 0;
        padding: 4px 0;
        font-size: 12px;
        color: #5588c9;
        text-align: center;
        line-height: 1.0;
    }
    .ws-schedule .studio-table .item-block .btn2 {
        position: absolute;
        left: 1px;
        bottom: 1px;
        width: calc( 100% - 2px );
        display: block;
        background: transparent;
        margin: 0;
        padding: 4px 8px 4px 0;
        font-size: 12px;
        color: #fff;
        text-align: right;
        line-height: 1.0;
    }

    .ws-diagnosis {
        position: relative;
        margin: 12.0vw auto;
        padding: 8.0vw 0;
        width: 100%;
        background: #ffc;
        display: grid;
        place-items: center;
        overflow: hidden;
    }
    .ws-diagnosis .ws-diagnosis-box {
        margin: 0 auto;
        width: calc( 100% - 8.0vw );
        opacity: 0.0;
        transform: scaleY( 0.0 );
        transition: opacity 0.3s ease-out, transform 0.01s ease-out 0.3s;
    }
    .ws-diagnosis .ws-diagnosis-box.show {
        opacity: 1.0;
        transform: scaleY( 1.0 );
        transition: opacity 0.3s ease-out, transform 0.01s ease-out;
    }
    .ws-diagnosis .ws-diagnosis-box:nth-child(1),
    .ws-diagnosis .ws-diagnosis-box:nth-child(2),
    .ws-diagnosis .ws-diagnosis-box:nth-child(3),
    .ws-diagnosis .ws-diagnosis-box:nth-child(4) {
        position: absolute;
        top: 50%;
        left: 50%;
        translate: -50% -50%;
    }
    .ws-diagnosis h2 {
        margin: 0 auto 1.0em;
        color: #346bb1;
        font-size: 6.0vw;
        font-weight: 700;
        text-align: center;
    }
    .ws-diagnosis .q-str {
        margin: 1.0em auto 1.0em;
        color: #346bb1;
        font-size: 3.6vw;
        font-weight: 700;
        text-align: center;
        line-height: 1.5;
    }
    .ws-diagnosis .a-list {
        position: relative;
        margin: 4.0vw auto 0;
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: center;
        gap: 4.0vw;
    }
    .ws-diagnosis .a-list input[type="radio"] {
        position: absolute;
        top: 0;
        right: 0;
        width: 1px;
        height: 1px;
        opacity: 0;
    }
    .ws-diagnosis .a-list .answer {
        margin: 0;
        padding: 0.5em 1.0em;
        color: #fff;
        font-size: 3.6vw;
        font-weight: 400;
        background: #999;
        border: 0;
        transition: background 0.3s ease-out;
        cursor: pointer;
    }
    .ws-diagnosis .a-list input[type="radio"]:checked + .answer {
        background: #346bb1;
    }
    .ws-diagnosis .navigations {
        margin: 8.0vw auto 0;
        display: flex;
        align-items: stretch;
        justify-content: space-between;
    }
    .ws-diagnosis .navigations button {
        display: block;
        margin: 0;
        color: #fff;
        font-size: 4.0vw;
        font-weight: 700;
        background: #ebb73d;
        border: 0;
        transition: background 0.3s ease-out, opacity 0.3s ease-out;
        cursor: pointer;
    }
    .ws-diagnosis .navigations button.btn-none {
        opacity: 0;
        cursor: auto;
    }
    .ws-diagnosis .navigations button.btn-next,
    .ws-diagnosis .navigations button.btn-choice,
    .ws-diagnosis .navigations button.btn-final {
        padding: 0.5em 2.5em 0.5em 2.0em;
        clip-path: polygon( 0 0, calc( 100% - 1.0em ) 0, 100% 50%, calc( 100% - 1.0em ) 100%, 0 100% );
    }
    .ws-diagnosis .navigations button.btn-prev {
        padding: 0.5em 2.0em 0.5em 2.5em;
        clip-path: polygon( 1.0em 0, 100% 0, 100% 100%, 1.0em 100%, 0 50% );
    }
    .ws-diagnosis .navigations button:disabled {
        background: #ccc;
        cursor: auto;
    }
    @media ( hover: hover ) {
        .ws-diagnosis .navigations button:disabled:hover {
            opacity: 1.0;
            background: #ccc;
            cursor: auto;
        }
    }

    #ws-log {
        position: relative;
        margin: 8.0vw auto 0;
        padding: 00;
        width: 90%;
        font-size: 2.8vw;
        line-height: 1.5;
    }
}


/**
 * PC用設定
 */
@media ( width >= 768px ) {

    .ws-schedule {
        margin: 0 auto 80px;
        width: 100%;
        max-width: 1600px;
    }

    .ws-schedule .studio-box {
        margin: 0;
        padding: 0;
        width: 100%;
        display: flex;
        align-items: stretch;
        justify-content: space-between;
    }
    .ws-schedule .studio-time {
        width: 80px;
    }
    .ws-schedule .studio-time .time-item {
        margin: 0;
        padding: 2px;
        width: 80px;
        height: 60px;
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        text-align: right;
        background: #aeaaa9;
        border-right: 1px solid #c8c5c6;
        border-bottom: 1px solid #c8c5c6;
    }
    .ws-schedule .studio-time .time-item:first-child {
        height: 30px;
    }
    .ws-schedule .studio-table {
        position: relative;
        width: calc( 100% - 80px );
        overflow-x: auto;
    }
    .ws-schedule .studio-head {
        margin: 0 auto;
        width: max( 100%, calc( 160px * 7 ) );
        height: 30px;
        display: flex;
        align-items: stretch;
        justify-content: space-between;
    }
    .ws-schedule .studio-head .head-item {
        margin: 0;
        padding: 0;
        width: max( calc( 100% / 7 ), calc( 160px * 7 ) );
        height: 30px;
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        background: #aeaaa9;
        border-right: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        display: grid;
        place-items: center;
    }
    .ws-schedule .studio-body {
        margin: 0 auto;
        width: max( 100%, calc( 160px * 7 ) );
        height: 60px;
        display: flex;
        align-items: stretch;
        justify-content: space-between;
    }
    .ws-schedule .studio-body .head-item {
        margin: 0;
        padding: 0;
        width: max( calc( 100% / 7 ), 160px );
        height: 60px;
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        display: grid;
        place-items: center;
    }
    .ws-schedule .studio-body:nth-child(4n+2) .head-item {
        background: #fff;
        border-right: 1px solid #eee;
        border-bottom: 1px dotted #eee;
    }
    .ws-schedule .studio-body:nth-child(4n+3) .head-item {
        background: #fff;
        border-right: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }
    .ws-schedule .studio-body:nth-child(4n+4) .head-item {
        background: #f2f2f2;
        border-right: 1px solid #ddd;
        border-bottom: 1px dotted #ddd;
    }
    .ws-schedule .studio-body:nth-child(4n+5) .head-item {
        background: #f2f2f2;
        border-right: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }
    .ws-schedule .studio-table .item-block {
        position: absolute;
        margin: 0;
        padding: 4px 0 0;
        width: max( calc( 100% / 7 ), 160px );
        overflow: hidden;
    }
    .ws-schedule .studio-table .kids,
    .ws-schedule .studio-table .class_cat01 {
        background: #f3d037;
        border: 1px solid #eacf60;
    }
    .ws-schedule .studio-table .junior,
    .ws-schedule .studio-table .class_cat02 {
        background: #8cca8b;
        border: 1px solid #8fc291;
        background: #f5b2b2;
        border: 1px solid #f5b2b2;
    }
    .ws-schedule .studio-table .adult,
    .ws-schedule .studio-table .class_cat03 {
        background: #5588c9;
        border: 1px solid #5882b7;
    }
    .ws-schedule .studio-table .item-block .name {
        margin: 0 auto;
        padding: 0.2em 0.8em;
        width: max-content;
        max-width: 100%;
        font-size: 12px;
        text-align: center;
        line-height: 1.0;
        background: #fff;
        border-radius: 4.0em;
    }
    .ws-schedule .studio-table .item-block .desc {
        margin: 0.2em auto 0;
        padding: 0;
        width: 100%;
        color: #fff;
        font-size: 12px;
        text-align: center;
        line-height: 1.2;
    }
    .ws-schedule .studio-table .item-block.kids .name,
    .ws-schedule .studio-table .item-block.class_cat01 .name {
        color: #f3d037;
    }
    .ws-schedule .studio-table .item-block.junior .name,
    .ws-schedule .studio-table .item-block.class_cat02 .name {
        color: #8cca8b;
        color: #f5b2b2;
    }
    .ws-schedule .studio-table .item-block.adult .name,
    .ws-schedule .studio-table .item-block.class_cat03 .name {
        color: #5588c9;
    }

    .ws-schedule .studio-table .item-block .btns {
        position: absolute;
        left: 1px;
        bottom: 1px;
        width: calc( 100% - 2px );
        background: #fcedc9;
        margin: 0;
        padding: 0;
        display: flex;
        align-itesm: stretch;
        justify-content: space-between;
    }
    .ws-schedule .studio-table .item-block .btns > :is(div,a) {
        display: block;
        margin: 0;
        padding: 4px 0;
        font-size: 12px;
        color: #5588c9;
        text-align: center;
        line-height: 1.0;
    }
    .ws-schedule .studio-table .item-block .btns > :nth-child(1) {
        width: 60%;
    }
    .ws-schedule .studio-table .item-block .btns > :nth-child(2) {
        width: 40%;
        border-left: 1px solid #f3d037;
    }
    .ws-schedule .studio-table .item-block .btn1 {
        position: absolute;
        left: 1px;
        bottom: 1px;
        display: block;
        width: calc( 100% - 2px );
        background: #fcedc9;
        margin: 0;
        padding: 4px 0;
        font-size: 12px;
        color: #5588c9;
        text-align: center;
        line-height: 1.0;
    }
    .ws-schedule .studio-table .item-block .btn2 {
        position: absolute;
        left: 1px;
        bottom: 1px;
        width: calc( 100% - 2px );
        display: block;
        background: transparent;
        margin: 0;
        padding: 4px 8px 4px 0;
        font-size: 12px;
        color: #fff;
        text-align: right;
        line-height: 1.0;
    }

    .ws-diagnosis {
        position: relative;
        margin: 80px auto;
        padding: 40px 0;
        width: 100%;
        max-width: 800px;
        background: #ffc;
        display: grid;
        place-items: center;
        overflow: hidden;
    }
    .ws-diagnosis .ws-diagnosis-box {
        margin: 0 auto;
        width: calc( 100% - 80px );
        opacity: 0.0;
        transform: scaleY( 0.0 );
        transition: opacity 0.3s ease-out, transform 0.01s ease-out 0.3s;
    }
    .ws-diagnosis .ws-diagnosis-box.show {
        opacity: 1.0;
        transform: scaleY( 1.0 );
        transition: opacity 0.3s ease-out, transform 0.01s ease-out;
    }
    .ws-diagnosis .ws-diagnosis-box:nth-child(1),
    .ws-diagnosis .ws-diagnosis-box:nth-child(2),
    .ws-diagnosis .ws-diagnosis-box:nth-child(3),
    .ws-diagnosis .ws-diagnosis-box:nth-child(4) {
        position: absolute;
        top: 50%;
        left: 50%;
        translate: -50% -50%;
    }
    .ws-diagnosis h2 {
        margin: 0 auto 1.0em;
        color: #346bb1;
        font-size: 40px;
        font-weight: 700;
        text-align: center;
    }
    .ws-diagnosis .q-str {
        margin: 1.0em auto 1.0em;
        color: #346bb1;
        font-size: 18px;
        font-weight: 700;
        text-align: center;
        line-height: 1.5;
    }
    .ws-diagnosis .a-list {
        position: relative;
        margin: 20px auto 0;
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: center;
        gap: 20px;
    }
    .ws-diagnosis .a-list input[type="radio"] {
        position: absolute;
        top: 0;
        right: 0;
        width: 1px;
        height: 1px;
        opacity: 0;
    }
    .ws-diagnosis .a-list .answer {
        margin: 0;
        padding: 0.5em 1.0em;
        color: #fff;
        font-size: 18px;
        font-weight: 400;
        background: #999;
        border: 0;
        transition: background 0.3s ease-out;
        cursor: pointer;
    }
    .ws-diagnosis .a-list input[type="radio"]:checked + .answer {
        background: #346bb1;
    }
    .ws-diagnosis .navigations {
        margin: 40px auto 0;
        display: flex;
        align-items: stretch;
        justify-content: space-between;
    }
    .ws-diagnosis .navigations button {
        display: block;
        margin: 0;
        color: #fff;
        font-size: 20px;
        font-weight: 700;
        background: #ebb73d;
        border: 0;
        transition: background 0.3s ease-out, opacity 0.3s ease-out;
        cursor: pointer;
    }
    .ws-diagnosis .navigations button.btn-none {
        opacity: 0;
        cursor: auto;
    }
    .ws-diagnosis .navigations button.btn-next,
    .ws-diagnosis .navigations button.btn-choice,
    .ws-diagnosis .navigations button.btn-final {
        padding: 0.5em 2.5em 0.5em 2.0em;
        clip-path: polygon( 0 0, calc( 100% - 1.0em ) 0, 100% 50%, calc( 100% - 1.0em ) 100%, 0 100% );
    }
    .ws-diagnosis .navigations button.btn-prev {
        padding: 0.5em 2.0em 0.5em 2.5em;
        clip-path: polygon( 1.0em 0, 100% 0, 100% 100%, 1.0em 100%, 0 50% );
    }
    .ws-diagnosis .navigations button:disabled {
        background: #ccc;
        cursor: auto;
    }
    @media ( hover: hover ) {
        .ws-diagnosis .navigations button:disabled:hover {
            opacity: 1.0;
            background: #ccc;
            cursor: auto;
        }
    }

    #ws-log {
        position: relative;
        margin: 40px auto 0;
        padding: 00;
        width: 100%;
        max-width: 800px;
        font-size: 14px;
        line-height: 1.5;
    }
}


@keyframes anim-scroll-right {
    0%   { opacity: 1.0; transform: translateX( 0 ); }
    50%  { opacity: 0.2; transform: translateX( -20% ); }
    100% { opacity: 1.0; transform: translateX( 0 ); }
}
