﻿* {
    margin: 0px;
    padding: 0px;
}

body {
    background-image: url("/image/h_bg.png");
}

.header {
    padding-bottom: 20px;
}

    .header > div:first-child {
        height: 84px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

        .header > div:first-child > div:first-child {
            color: black;
            font-size: 20px;
        }

        .header > div:first-child > div:last-child {
            margin-top: 4px;
            font-size: 14px;
            color: #63584e;
            margin-top:6px;
        }

    .header > div:last-child {
    }

@font-face {
    font-family: 'cc';
    src: url('fonts/cc.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

#gc {
    display: flex;
    overflow-y: scroll;
    font-family: 'cc', sans-serif;
}

    #gc > div {
        width: 75px;
        height: 120px;
        flex-shrink: 0;
        position: relative;
    }

        #gc > div.select {
            background-image: url("/image/p3.png");
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
        }

            #gc > div.select > div:last-child {
                background-image: url("/image/p2.png");
            }

        #gc > div > div:first-child {
            position: absolute;
            top: 4px;
            left: 2px;
            writing-mode: vertical-lr;
            font-size: 14px;
        }

        #gc > div > div:last-child {
            width: 100%;
            height: 100%;
            background-image: url("/image/p1.png");
            background-repeat: no-repeat;
            background-position: center;
            display: flex;
            justify-content: center;
        }

            #gc > div > div:last-child > div {
                width: 18px;
                text-align: right;
                margin-top: 28px;
                margin-right: -10px;
                font-size:20px;
            }

#data {
    width: 100%;
    /*overflow-y: scroll;*/
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.product {
    width: 50%;
    height: calc((100vw - 64px) / 2 / 9 * 16);
    display: flex;
    padding: 16px;
    box-sizing: border-box;
}

    .product > div {
        width: 100%;
        height: 100%;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        position: relative;
    }

        .product > div > div:first-child {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: flex-end;
        }

            .product > div > div:first-child > div {
                padding-top: 15px;
                padding-right: 15px;
                width: 18px;
                color: white;
            }

            .product > div > div:first-child img {
                width: 24px;
                height: 24px;
                padding-top: 15px;
                margin-right: 6px;
            }

        .product > div > div:last-child {
            position: absolute;
            top: 0px;
            left: 0px;
            width: 100%;
            height: 100%;
        }

            .product > div > div:last-child > div {
                width: 15px;
                height: 15px;
            }

                .product > div > div:last-child > div:nth-child(1) {
                    position: absolute;
                    top: 0px;
                    left: 0px;
                    transform: rotate(-90deg);
                    background-image: url("/image/p4.png");
                }

                .product > div > div:last-child > div:nth-child(2) {
                    position: absolute;
                    top: 0px;
                    right: 0px;
                    background-image: url("/image/p4.png");
                }

                .product > div > div:last-child > div:nth-child(3) {
                    position: absolute;
                    bottom: 0px;
                    left: 0px;
                    transform: rotate(180deg);
                    background-image: url("/image/p4.png");
                }

                .product > div > div:last-child > div:nth-child(4) {
                    position: absolute;
                    bottom: 0px;
                    right: 0px;
                    transform: rotate(90deg);
                    background-image: url("/image/p4.png");
                }
