

.navigator {
    position: relative;
}
.navigator h1 {
    font-size: 2.4rem;
    font-weight: 700;
} 
.navigator .control {
    position: absolute;
    right: 0;
    bottom: 50%;
    -webkit-transform: translateY(50%);
	-moz-transform: translateY(50%);
	-ms-transform: translateY(50%);
	-o-transform: translateY(50%);
	transform: translateY(50%);
}
.navigator .control select {
    font-size: 1rem;
    background: #333333;
    color: #ffffff;
    padding: 4px 12px;
    margin-left: 2px;
}


.class-list {
    margin-top: 64px;
}
.class-list .class {
    width: calc(calc(100% / 3) - 16px);
    display: inline-block;
    vertical-align: top;
    margin-left: 24px;
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
.class-list .class:nth-child(3n-2) {
    margin-left: 0;
}

.class-list .class .head {
    padding: 8px 16px;
    background: #333333;
    color: #ffffff;
    position: relative;
}
.class-list .class .head p {
    font-size: 0.9rem;
}
.class-list .class .head p.can-apply {
    font-weight: 700;
    position: absolute;
    right: 16px;
    bottom: 50%;
    -webkit-transform: translateY(50%);
	-moz-transform: translateY(50%);
	-ms-transform: translateY(50%);
	-o-transform: translateY(50%);
	transform: translateY(50%);
}
.class-list .class .head p.can-apply.Y {
    color: #26c99b;
}
.class-list .class .head p.can-apply.N {
    color: #ff847c;
}

.class-list .class .image {
    height: 240px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}
.class-list .class .image .over {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    padding: 8px 16px;
    text-align: right;
}

.class-list .class h5 {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 8px 16px;
}
.class-list .class > h6 {
    font-size: 1rem;
    font-weight: 900;
    text-align: right;
    padding: 0 16px 8px 16px;
    color: #ff847c;
}




















.detail .head {
    position: relative;
}

.detail .head h1 {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    font-size: 3rem;
    font-weight: 700;
    padding-right: 16px;
}

.detail .head .thumb-wrapper {
    display: inline-block;
    vertical-align: top;
    width: 50%;
}
.detail .head .thumb-wrapper img {
    width: 100%;
    height: auto;
}




















.detail .head .apply-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
}
.detail .head .apply-wrapper .contents {
    display: inline-block;
    vertical-align: middle;
}
.detail .head .apply-wrapper .contents > div {
    margin-top: 8px;
}
.detail .head .apply-wrapper .contents > div:first-child {
    margin-top: 0;
}
.detail .head .apply-wrapper .contents > div:last-child {
    margin-top: 16px;
}
.detail .head .apply-wrapper .contents > div .input-box {
    display: inline-block;
    vertical-align: bottom;
    margin-left: 2px;
}
.detail .head .apply-wrapper .contents > div .input-box:first-child {
    margin-left: 0;
}
.detail .head .apply-wrapper .contents > div .input-box.none {
    display: none;
}
.detail .head .apply-wrapper .contents > div .input-box p {
    font-size: 1rem;
    margin-bottom: 2px;
    padding-left: 4px;
}
.detail .head .apply-wrapper .contents > div .input-box select {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 4px 8px;
    background: #333333;
    color: #ffffff;
}
.detail .head .apply-wrapper .contents > div .input-box input {
    font-size: 1.2rem;
    font-weight: 500;
    width: 50px;
    padding: 4px 2px;
    text-align: center;
    background: #333333;
    color: #ffffff;
}
.detail .head .apply-wrapper .contents > div .input-box h5 {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 4px 8px;
    background: #eeeeee;
}
.detail .head .apply-wrapper .contents > div button {
    width: 100%;
    font-size: 1.6rem;
    font-weight: 700;
    padding: 12px 0;
    background: #333333;
    color: #ffffff;
}
.detail .head .apply-wrapper .contents > div .input-box select.disabled,
.detail .head .apply-wrapper .contents > div .input-box input.disabled,
.detail .head .apply-wrapper .contents > div button.disabled {
    opacity: 1;
    background: #eeeeee;
    color: #888888;
}























.detail .line {
    border-top: 2px solid #eeeeee;
    margin-top: 64px;
    margin-bottom: 64px;
}


.detail .image-list {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
}
.detail .image-list img {
    width: 100%;
    height: auto;
}
























.floating-apply {
    z-index: 999;
    position: fixed;
    right: 32px;
    bottom: 64px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    padding-left: 32px;
}

.floating-apply .input-box {
    display: inline-block;
    vertical-align: middle;
    margin-right: 2px;
}
.floating-apply .input-box.cnt {
    margin-right: 0;
}
.floating-apply .input-box p {
    font-size: 1rem;
    margin-bottom: 2px;
    padding-left: 4px;
}
.floating-apply .input-box select {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 4px 8px;
    background: #333333;
    color: #ffffff;
}
.floating-apply .input-box input {
    font-size: 1.2rem;
    font-weight: 500;
    width: 50px;
    padding: 4px 2px;
    text-align: center;
    background: #333333;
    color: #ffffff;
}
.floating-apply .input-box h5 {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 4px 8px;
    background: #eeeeee;
}
.floating-apply button {
    vertical-align: middle;
    background: #333333;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    padding: 16px 32px;
    margin-left: 32px;
}
.floating-apply .input-box select.disabled,
.floating-apply .input-box input.disabled,
.floating-apply button.disabled {
    opacity: 1;
    background: #eeeeee;
    color: #888888;
}






















@media (max-width: 1000px) {
    .class-list {
        margin-top: 48px;
    }
    .class-list .class {
        width: calc(calc(100% / 3) - 8px);
        margin-left: 12px;
        margin-bottom: 12px;
    }
    .class-list .class:nth-child(3n-2) {
        margin-left: 0;
    }
    .class-list .class .image {
        height: 200px;
    }

    .detail .line {
        margin-top: 48px;
        margin-bottom: 48px;
    }
    .detail .head h1 {
        display: block;
        width: 100%;
        padding-right: 0;
    }
    .detail .head .thumb-wrapper {
        margin-top: 16px;
    }
    .detail .head .apply-wrapper {
        left: inherit;
        right: 0;
    }
}


@media (max-width: 800px) {
    .class-list .class {
        width: calc(calc(100% / 3) - 4px);
        margin-left: 6px;
        margin-bottom: 6px;
    }
    .class-list .class:nth-child(3n-2) {
        margin-left: 0;
    }
    .class-list .class .image {
        height: 160px;
    }

    .floating-apply {
        right: 16px;
        bottom: 32px;
        padding-left: 16px;
    }
}


@media (max-width: 600px) {
    .class-list {
        margin-top: 32px;
    }
    .class-list .class {
        width: calc(calc(100% / 2) - 3px);
        margin-left: 6px !important;
        margin-bottom: 6px !important;
    }
    .class-list .class:nth-child(2n-1) {
        margin-left: 0 !important;
    }
    .class-list .class .image {
        height: 200px;
    }

    .detail .line {
        margin-top: 32px;
        margin-bottom: 32px;
    }
    .detail .head .thumb-wrapper {
        display: block;
        width: 100%;
    }
    .detail .head .apply-wrapper {
        margin-top: 16px;
        position: inherit;
        bottom: inherit;
        right: inherit;
        text-align: center;
    }
    .detail .head .apply-wrapper .contents > div .input-box p {
        text-align: left;
    }

    .floating-apply {
        display: none;
    }
}


@media (max-width: 400px) {
    .class-list .class {
        width: 100%;
        margin-left: 0 !important;
        margin-bottom: 16px !important;
    }
    .class-list .class .image {
        height: 220px;
    }
}