@charset "utf-8";

.descWrap{
    letter-spacing:-0.5px;
}
.show-IE{
    display:none;
}
.browser-IE .show-IE{
    display:block;
}

.browser-IE .hide-IE{
    display:none;
}

.red_text_color{
    color:#f00;
    
}
body{
    /*font-family: sans-serif;*/
    margin: 0;
}
.clear{
    clear:both;
}
.image-box{
    max-width:100%;
    display:inline-block;
    vertical-align:bottom;
}
.image-box img{
    display:block;
    width:100%;
}
/*container*/
.container {
    /* display: flex; */
    max-width: 1220px;
    margin: 0 auto;
    /* margin-top: 70px; */
}

.sec-inner{
    padding:0 10px;
}

.desc{
    text-align:center;
    padding:3rem 0;
    line-height: 1.7;
}

header{
    text-align:center;
    background-color: #0057c6;
}


/*table reset*/
.colorTable{
    display:inline-block;
    /* margin-left:100px; */
}
.colorTable table, .colorTable tbody, .colorTable td, .colorTable tr, .colorTable div {
    display: block;
    padding: 0;
}





@media screen and (min-width:1220px){
    .title1 {
        color: #fff;
        background: #2b292a;
        writing-mode: vertical-rl;
        padding: 10px 5px 0;
        box-sizing: border-box;
        width: 60px;
        text-align:left;
        position: relative;
        margin:0 auto;
        margin-bottom: 50px;
    }
    .title1:before {
        content: "";
        display: block;
        position: absolute;
        bottom:-35px;
        left:0;
        right:0;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 35px 30px 0 30px;
        border-color: #2b292a transparent transparent transparent;
    }   
}



.title-box {
    margin: 0 0 15px 0;
    position:relative;
}
.title-box:after{
    content:attr(data-title-number);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 1.5rem;
    font-weight:bold;
    width: 35px;
    height: 35px;
    background-color:#fff;
    border: 4px solid #2b292a;
    border-radius:100%;
    position:absolute;
    top:0;
    bottom: 0;
    left:0;
    margin: auto;
}
.title2 {
    display: inline-block;
    position: relative;
    background-color: #2b292a;
    color: #fff;
    padding: 5px 1px 4px 25px;
    font-size: 90%;
    min-width: 135px;
    margin: 0;
    margin-left: 20px;
}
.title2:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -30px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 30px;
    border-color: transparent transparent transparent #2b292a;
}








.leftBox {
    /*display: flex;*/
    float: left;
    width:50%;
}

.paletteBox .toolBox{
    margin-bottom: 15px;
    display: flex;
}
.paletteBox .toolBox > div + div{
    margin-left:15px;
}






.printPalette{
    width:50px;
    height:50px;
    border:1px solid #000;
    background-color: rgb(0, 149, 240);
    background-size:cover;
    background-position:center;
    border-width:2px !important;
    border-color:transparent !important;
}





.paletteBox {
    /* width: 110px; */
    /* margin-right: 35px; */
    margin-bottom: 30px;
}
#PaletteArea td{
    text-align:center;
}
#PaletteArea td > div,
#PaletteArea td > div > div{
    display:inline-block;
    margin-bottom: 12px;
}

.printPalette,
#PaletteArea td > div > div{
    width: 60px;
    height: 60px;
    background-size:cover;
    background-repeat:no-repeat;
}
#PaletteArea td > div > div,
[data-painting]{
    box-sizing: border-box;
    margin: 0 5px;
    border-width: 4px !important;
    border-color: transparent !important;
    position:relative;
    cursor:pointer;
}
[data-painting="1"]{
    position:relative;
}
#PaletteArea td > div > div[style*="border: 2px solid"]:before,
#PaletteArea td > div > div[style*="border-style: solid"]:before,
[data-painting="1"]:before{
    content:"";
    display:block;
    position:absolute;
    top:0;
    left:0;
    bottom:0;
    right:0;
    margin:auto;
    background-color:#fff;
    width:50%;
    height:50%;
    border-radius:100%;
}
#PaletteArea td > div > div[style*="border: 2px solid"]:after,
#PaletteArea td > div > div[style*="border-style: solid"]:after,
[data-painting="1"]:after{
    content:"";
    display:block;
    position:absolute;
    top:0;
    left:0;
    bottom:0;
    right:0;
    margin:auto;

    width:0.75rem;
    height:0.25rem;
    border-left:1px solid #f00;
    border-bottom:1px solid #f00;
    transform:rotate(-45deg) translate(2px,-2px);
}

#PaletteArea .colorLabel{
    display:block;
    line-height: 1;
    font-size:90%;
}
#PaletteArea, #CanvasArea {
    margin: 0;
}

/*palette*/
#PaletteArea tbody tr{
    display:flex;
}
.paletteBox .bgColorSelect,
.paletteBox .clearBtn{
    color: #2b292a;
    line-height: 1;
    text-decoration: none;
    font-size: 74%;
    width: 100px;
    border-radius: 15px;
    padding: 5px 0;
    border: 1px solid #2b292a;
    background: #f3f3f3;
    cursor: pointer;
    margin-top:15px;
}
.paletteBox .clearBtn:hover{
    opacity:0.6;
}







/*canvas*/
.canvasTableBox{
    float:left;
    width:50%;
    min-height: 820px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#CanvasArea table tr {
    display: flex;
}

#CanvasArea table {
    border-radius: 10px;
    overflow: hidden;
}

#CanvasArea table td div {
    width: 59px;
    height: 59px;
    background-size:cover;
    background-position:center;
}

#CanvasArea table tr:first-child td div {
    height: 10px!important;
}

#CanvasArea table tr:last-child td div {
    height: 10px!important;
}

#CanvasArea table tr td:first-child div {
    width: 10px!important;
}

#CanvasArea table tr td:last-child div {
    width: 10px!important;
}


#CanvasArea [data-changed="1"]:before{
    content:"";
    display:block;
    border:2px solid #ff8d14;
    height:100%;
    width:100%;
    box-sizing:border-box;
}
#CanvasArea table tr:first-child td:first-child div[data-changed="1"]:before{
    border-radius:10px 0 0 0;
}
#CanvasArea table tr:first-child td:last-child div[data-changed="1"]:before{
    border-radius:0 10px 0 0;
}
#CanvasArea table tr:last-child td:last-child div[data-changed="1"]:before{
    border-radius:0 0 10px 0;
}
#CanvasArea table tr:last-child td:first-child div[data-changed="1"]:before{
    border-radius:0 0 0 10px;
}
/*border*/
#CanvasArea table, #CanvasArea div {
    border-width: 0;
    border-style: solid;
    border-color: #666;
}

#CanvasArea table {
    border-width: 1px;
}

#CanvasArea div {
    border-bottom-width: 1px;
    border-right-width: 1px;
}

#CanvasArea tr:last-child div {
    border-bottom-width: 0;
}

#CanvasArea td:last-child div {
    border-right-width: 0;
}


/*right*/
.rightBottomBox,
.rightBox {
    /* margin-left: 60px; */
    width:100%;
    /* max-width: 500px; */
    float: left;
    margin-top: 50px;
}

.sizeSelect {
    margin-bottom: 40px;
}

.sizeSelect label {
    /* width: 80px; */
    display: inline-block;
    padding: 0px 60px 0 6px;
}

.ptn {
    margin-bottom: 50px;
}

.ptn input {
    display: none;
}

.ptn radio {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: -40px;
}

.ptn {
    display: block;
}
.ptn .title-box{
    margin-bottom: 29px;
}

.sampleRadio {
    cursor: pointer ;
}

.ptn input[type="radio"] {
    display: none;
}

.ptn input[type="radio"]:checked + label:after {
    content: "▲";
    position: absolute;
    display: none;
    color: #0057c6;
    font-size: 20px;
    width: 20px;
    height: 20px;
    bottom: -20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    transition: .2s;
}

.ptn input[type="radio"]:checked + label:after {
    display: block;
}

.ptn input[type="radio"] + label {
    position: relative;
    width: calc((100% / 3) * 1 - 0.01px);
    padding: 0px 15px;
    margin-bottom: 40px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
}
.ptn input[type="radio"] + label .imageWrap{
    position:relative;
    margin:0 auto;
}
.ptn input[type="radio"] + label.sample1Wrap .imageWrap{
    width:calc((100% / 10) * 7);
    padding-top:calc((100% / 10) * 14);
}
.ptn input[type="radio"] + label.sample2Wrap .imageWrap{
    width:calc((100% / 10) * 8);
    padding-top:calc((100% / 10) * 14);
}
.ptn input[type="radio"] + label.sample3Wrap .imageWrap{
    width:calc((100% / 10) * 9);
    padding-top:calc((100% / 10) * 13);
}
.ptn input[type="radio"] + label.sample4Wrap .imageWrap{
    width:calc((100% / 10) * 9);
    padding-top: calc((100% / 10) * 14);
}
.ptn input[type="radio"] + label.sample5Wrap .imageWrap{
    width:calc((100% / 10) * 9);
    padding-top:calc((100% / 10) * 14);
}
.ptn input[type="radio"] + label.sample6Wrap .imageWrap{
    width:calc((100% / 10) * 9);
    padding-top: calc((100% / 10) * 15);
}
.ptn input[type="radio"] + label.sample7Wrap .imageWrap{
    width:calc((100% / 10) * 9);
    padding-top:calc((100% / 10) * 15);
}

.ptn input[type="radio"] + label .imageWrap img{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}
.ptn input[type="radio"] + label{

}
#detailArea {
    background-color: #f3f3f3;
    border-radius: 5px;
    padding: 20px 25px;
    box-sizing: border-box;
    max-width: 500px;
    margin: 0 auto;
}
#tableWrp{
    margin-bottom:1rem;
}

#tableWrp p{
    margin:0;
}

#detailArea .sizeTitle, #detailArea .pricetitle {
    font-weight: bold;
    /* font-size: 94%; */
}

#detailArea .sizeTitle {
    /* margin-bottom: 0px; */
}

#detailArea .pricetitle {
    /* margin-top: 8px; */
    color: #1F1F89;
}

#detailArea .sizeTitle > span {
    /* padding-right: 65px; */
    font-weight: normal;
}

#detailArea .pricetitle > span {
    /* padding-right: 81px; */
    font-weight: normal;
}

#detailArea table {
    font-size: 94%;
    margin-bottom: 1rem;
    font-weight: normal;
    border-collapse: collapse;
    border-spacing: 0;
}

#detailArea tr:nth-of-type(1) th:nth-child(1) {
        width: 80px;
    }
    #detailArea tr:nth-of-type(1) th:nth-child(2) {
        width: 80px;
    }
    #detailArea tr:nth-of-type(1) th:nth-child(3) {
        width: 80px;
    }
    #detailArea tr:nth-of-type(1) th:nth-child(4) {
        width: 80px;
    }
    #detailArea tr:nth-of-type(1) th:nth-child(5) {
        width: 110px;
    }
#detailArea th,#detailArea td {
    text-align: left;
    padding: 5px 2px;
    border-bottom: 1px solid #c5c5c5;
}

#detailArea th {
    /* padding-right: 15px; */
    font-size: 94%;
    font-weight: normal;
}

#detailArea td {
    line-height: 1;
    padding-top: 10px;
    padding-bottom: 8px;
    font-weight: bold;
}
#detailArea tr th ~ th,
#detailArea tr th ~ td{
    text-align:center;    
}

#detailArea th.tabelTitle {
    font-size: 94%;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 8px;
    line-height: 1;
}

#detailArea #sum th,
#detailArea #sum td{
    /* padding-top:25px; */
    border:none;
}

#detailArea .detailBtns{
    display:flex;
    justify-content: center;
}
#detailArea .sty-btn {
    cursor:pointer;
    background: #8c8c8c;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    display: block;
    margin: 15px;
    width: 140px;
    border-radius: 6px;
    line-height: 1;
    padding: 8px 0 5px;
    transition: .4s;
    text-align: center;
    font-size: 1rem;
    outline:none;
}
#detailArea .sty-btn:hover {
    opacity: .6;
}

.sty-btn[style="pointer-events:none;"]{
    opacity: .4;
}





@media screen and (max-width:1219px){
    .title1 br{
        display:none;
    }
    .title1 {
        display: inline-block;
        position: relative;
        background-color: #2b292a;
        color: #fff;
        padding: 4px 15px;
        font-size: 90%;
        /* width: 170px; */
        margin: 0;
    }
    .title1:before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        right: -30px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 15px 0 15px 30px;
        border-color: transparent transparent transparent #2b292a;
    }



    .container{
        display:flex;
        flex-wrap:wrap;
        max-width: 455px;
    }
    .leftBox{
        order:2;
        width: auto;
        max-width:100%;
        float: none;
        display: block;
        margin-bottom: 50px;
    }

    .leftBox .paletteBox{
        width:100%;
        display:flex;
        flex-wrap: wrap;
    }
    .leftBox .paletteBox .title-box{
        width:100%;
    }
    .leftBox .paletteBox .toolBox{
        width:100%;
        display:flex;
        margin-bottom:20px;
    }
    .leftBox .paletteBox .toolBox > div{
        margin-right:20px;
    }
    .paletteBox .clearBtn{
        margin:0;  
    }

    .leftBox tr{
        display:flex;
    }

    .backgroundColorSelect{
        width:100%;
    }

    .paletteBox{
        margin-bottom: 20px;
    }


    .canvasTableBox{
        width:auto;
        float:none;
        min-height:calc((100vw - 46px) / 15);
    }
    #CanvasArea table td div{
        width:calc((459px - 46px) / 7);
        height:calc((459px - 46px) / 7);
    }



    .rightBox{
        order:1;
        max-width:100%;
        margin-left:0;
        float: none;
    }

    .ptn .title-box{
        margin-bottom:20px;
    }
    .rightBottomBox{
        order:3;
        max-width:100%;
        margin-left:0;
        float: none;
    }

    #detailArea{
        padding:20px 10px;
    }
    #detailArea th{
        font-size: 94%;
    }
    #detailArea tr:nth-of-type(1) th:nth-child(1) {
        width: 75px;
    }
    #detailArea tr:nth-of-type(1) th:nth-child(2) {
        width: 70px;
    }
    #detailArea tr:nth-of-type(1) th:nth-child(3) {
        width: 70px;
    }
    #detailArea tr:nth-of-type(1) th:nth-child(4) {
        width: 75px;
    }
    #detailArea tr:nth-of-type(1) th:nth-child(5) {
        width: 105px;
    }
}

@media screen and (max-width:459px){
    #CanvasArea table td div{
        width:calc((100vw - 46px) / 8);
        height:calc((100vw - 46px) / 8);
    }
    .printPalette,
    #PaletteArea td > div > div{
        width:calc((100vw - 46px) / 8);
        height:calc((100vw - 46px) / 8);
    }
    #detailArea{
        padding: 20px 5px;
    }

    #detailArea th.tabelTitle {
        font-size: 70%;
        padding-right: 5px;
    }
    #detailArea td{
        font-size: 90%;
    }
     #detailArea th{
        font-size: 80%;
    }
    #detailArea tr:nth-of-type(1) th:nth-child(1) {
        width: 16%;
    }
    #detailArea tr:nth-of-type(1) th:nth-child(2) {
        width: 11%;
    }
    #detailArea tr:nth-of-type(1) th:nth-child(3) {
        width: 15%;
    }
    #detailArea tr:nth-of-type(1) th:nth-child(4) {
        width: 15%;
    }
    #detailArea tr:nth-of-type(1) th:nth-child(5) {
        width: 20%;
    }
}



footer{
    background-color: #0057c6;
    color:#fff;
    text-align:center;
    margin-top:100px;
}



.size-block{
    display:flex;
    align-items:center;
    margin: 2rem 0;
}
.size-block > span{
    font-size:1.3rem;    
}
.size-block > :not(:first-child){
    margin-left:0.5rem
}

.size-wrap{
    display:flex;
    width:5rem;
    height:2.5rem;
    border:1px solid #000;
    position:relative;
}
.size-wrap input{
    border:none;
    outline:none;
    padding:0;
    width:100%;
    height:100%;
    padding:0 0.5rem;
    font-size:1.2rem
}

.size-btn{
    position:absolute;
    right:0;
    width:2rem;
    height:50%;
    background-color:#f2f2f2;
    display:flex;
    align-items:center;
    justify-content:center;

    transition:background-color 0.2s ease;
}
.size-btn:hover{
    background-color:#ddd;
}

.up-btn{
    top:0;
}
.up-btn:before{
    content:"";
    display:block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0.4rem 0.5rem 0.4rem;
    border-color: transparent transparent #333 transparent;
}
.down-btn{
    bottom:0;
}
.down-btn:before{
    content:"";
    display:block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.5rem 0.4rem 0 0.4rem;
    border-color: #333 transparent transparent transparent;
}

.color_print-text{
    letter-spacing: -0.5px;
}
