
* {
    box-sizing: border-box;
}

html, body {
    font-family: "Helvetica Neue",
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        Meiryo,
        Arial,
        sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 14px;
    color: #333;
}
a {
    color: #333;
}

button {
    background-color: #eee;
    border: solid 1px #888;
    border-radius: 8px;
}

.text-center {
    text-align: center;
}

.w-break {
    word-wrap: break-word;
    white-space: normal;
    word-break: break-word;
}

.mt-01 { margin-top: 1px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-xl { margin-top: 25px !important; }

/* .container-wrap {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 5px;
    background-color: #f0f0f0;
    border-radius: 8px;
    box-sizing: border-box;
} */
#canvasRoot {
    margin: 40px 0 0 0;
    padding: 0 5px;
    /* padding: 10px 10px 10px 10px; */
    width: 100%;
    max-width: 760px;
    display: inline-block;
    text-align: center;
}

#headerImageWrap {
    font-size: 0;
    line-height: 0;
}
#headerImage {
    width: 100%;
    aspect-ratio: 1200/630;
    object-fit: cover;
    background-color: #fff;
}


#appNameLabel {
    margin-top: 18px;
    padding: 0 50px;
    font-size: 28px;
    line-height: 40px;
    font-weight: bold;
}
#appResultTextLabel {
    margin-top: 15px;
    font-weight: bold;
    font-size: 16px;
}
#appResultText {
    margin-top: 20px;
    /* margin-top: 5px; */
    padding: 20px 15px;
    font-size: 28px;
    line-height: 1.4;
    background-color: #fff;
    border: solid 2px #666;
    border-radius: 0px;
}
.rondom_type_label {
    margin-top: 3px;
    font-size: 13px;
    line-height: 17px;
}
#appDescriptionLabel {
    font-size: 14px;
    font-weight: bold;
}
#appDescription {
    margin: 5px 60px 0 60px;
    padding: 20px 10px;
    font-size: 16px;
    line-height: 24px;
    background-color: #fcfcfc;
    border: solid 6px #f2f2f2;
    border-radius: 8px;
}
@media screen and (max-width: 1000px) {
    #appNameLabel {
        padding: 0 10px;
        font-size: 22px;
        line-height: 34px;
    }
    #appDescription {
        margin: 5px 0 0 0;
        font-size: 14px;
        line-height: 24px;
    }
}



#canvasMainWrap {
    margin-top: 30px;
}

#canvasWrap {
    margin: 0;
    padding: 10px 15px 30px 15px;
    background-color: #fff;
    /* border-radius: 0 0 12px 12px; */
    border-radius: 0 0 12px 12px;
    text-align: center;
}

.main-canvas-wrap {
    width: 100%;
    max-width: 540px;
    /* background-color: #fee; */
    display: inline-block;
    vertical-align: top;
}
#canvas {
    width: 100%;
    max-width: 500px;
    height: auto;
    border: 1px solid #333;
}

.controls {
    width: 100%;
    max-width: 360px;
    /* background-color: #eef; */
    text-align: left;

    display: inline-block;
    vertical-align: top;
}

@media screen and (max-width: 1000px) {
    .controls {
        max-width: 540px;
    }
}

.control-desc-label {
    text-align: left;
    font-size: 14px;
    margin-bottom: 4px;
    padding: 3px 0 3px 6px;
    border-left: solid #333 8px;
}


button, select, input[type="file"] {
    margin: 2px;
    padding: 5px 10px;
}

#resizeSlider {
    width: 200px;
}

.drop-area {
    border: 2px dashed #ccc;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    margin: 10px auto 20px auto;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.drop-area.dragover {
    background-color: #e1e1e1;
    border-color: #999;
}

#overlayControls {
    text-align: left;
}
.overlay-select-label {
    margin-top: 4px;
    padding-left: 2px;
    font-size: 10px;
    background-color: #f2f2f2;
}
.overlay-select {
    width: calc(100% - 100px);
    display: inline-block;
    vertical-align: middle;
}
.overlay-select-delete {
    width: 60px;
    height: 29px;
    display: inline-block;
    vertical-align: middle;
    font-size: 12px;
    padding: 0;
}



.ad-section {
    margin-top: 30px;
    margin-left: -15px;
    margin-right: -15px;
}




.canvas-enter-button {
    display: inline-block;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
    background-color: #ff7b00;
    color: white;
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}
.canvas-enter-button:hover {
    background-color: #e26d00;
}
.canvas-enter-button-mini {
    margin-top: 20px;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 10px;
}
.canvas-enter-button-big {
    padding: 10px 30px 10px 30px;
    font-size: 24px;
    border-radius: 12px;
}
.other-pages-label {
    margin: 30px -10px 0 -10px;
    padding: 10px 5px;
    width: calc(100% + 20px);
    background-color: #eee;
    font-size: 22px;
    line-height: 28px;
    font-weight: bold;
    border-left: solid 15px #ccc;
    border-right: solid 15px #ccc;
}
.other-pages-label img {
    width: auto;
    height: 30px;
    vertical-align: middle;
}

.other-pages-label span {
    vertical-align: middle;
}
.other-pages {
    margin-top: 30px;
}






.footer {
    margin: 10px 0;
    font-size: 16px;
    text-align: center;
}
.footer-inner {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px 15px;
    width: calc(100% - 10px);
    max-width: 750px;
    display: inline-block;
    text-align: center;
    border-radius: 12px;
}
.footer-powered-by {
    margin-top: 5px;
    font-size: 12px;
}

