@charset 'UTF-8';
@import 'mixins';


.page-sort {
    min-height: 100vh;
    padding: 0 px2rem(25);
    @mixin border {
        border: 1px solid #dedede;
        border-radius:  5px;
    }
    h2 {
        line-height: px2rem(160);
        color: #f3493d;
        text-align: center;
        font-size: px2rem(38);
    }

    .row {
        width: 100%;
        @include clearfix;
        margin: px2rem(34) 0;
    }
    .key {
        width: px2rem(170);
        font-size: px2rem(32);
        font-weight: bold;
        float: left;
        line-height: px2rem(65);
    }
    .select {
        width: px2rem(520);
        line-height: px2rem(65);
        text-indent: 1em;
        float: right;
        @include border;
        font-size: px2rem(26);
        color: #666;
        position: relative;
        p {
            &.label {
                @include ellipsis;
                height: px2rem(65);
            }
            width: px2rem(452);
        
        }
        select {
            opacity: 0;
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
        }
        .reason-list {
            position: absolute;
            width: 100%;
            padding: 0 px2rem(12);
            top: px2rem(85);
            background: #666;
            border-radius: 5px;
            z-index: 10;
            animation: show 0.2s ease;
            &:before {
                content:"";
                display: block;
                position: absolute;
                @include triangle-up(px2rem(15), #666);
                top: -px2rem(28);
                right: px2rem(20);
                
            }
            .list-wrap {
                max-height: px2rem(600);
                overflow-y: scroll;
            }
            
            p {
                text-indent: 0;
                margin-left: 1em;
                padding: px2rem(20) 0;
                line-height: px2rem(35);
                font-size: px2rem(26);
                color:#fff;
                border-bottom:1px solid #999;
                &:last-child {
                    border: none;
                }
            }
        }
    }
    .icon-down:after {
        content: "";
        position: absolute;
        width: px2rem(20);
        height: px2rem(12);
        background: url(../../img/icon-down.png) no-repeat;
        background-size: 100% 100%;
        right: px2rem(25);
        top: 50%;
        transform: translateY(-50%);
    }
    textarea {
        margin-top: px2rem(60);
        resize: none;
        width: 100%;
        height: px2rem(300);
        @include border; 
        font-size: px2rem(26);
        padding: px2rem(20);
        line-height: px2rem(50);
    }
    .submit {
        position: fixed;
        width: 100%;
        bottom: 0;
        left: 0;
        background: #ff2b68;
        color: #fff;
        font-size: px2rem(40);
        font-weight: bold;
        line-height: px2rem(80);
        letter-spacing: px2rem(20);
        &:active {
            background-color: #e6275d;
        }
    }
}