@charset "UTF-8";

html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    color: #222222;
    background-color: #444444;
    font-size: 16px;
    overflow: hidden;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -o-text-size-adjust: 100%;
}

input:disabled {
    opacity: 0.3;
}

select:disabled {
    opacity: 0.3;
}

button {
    background: none;
    border-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

.font {
    font-family: Anton, "Rounded Mplus 1c", "Courier New", Courier, monospace;
}

.font-japanese {
    font-family: "Rounded Mplus 1c", "Courier New", Courier, monospace;
}

.center {
    text-align: center;
}

.hidden {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    height: 100px;
    overflow: hidden;
    visibility: hidden;
}

.footer {
    position: absolute;
    bottom: 50px;
    right: 18px;
    text-align: right;
    font-size: 12px;
    color: #FAFAFA;
}

.footer a {
    text-decoration: underline;
    color: #FFFFFF;
}

.roundrect-icon {
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}

.roundrect-button {
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.sns-share-button {
    display: inline-block;
    padding: 8px;
}

.contents {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 85%;
    height: calc(100% - 50px);
    overflow: hidden;
}

.contents-with-control {
    width: 84%;
    min-width: calc(100% - 160px);
    max-width: calc(100% - 60px);
}

.control {
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 32px;
    width: 16%;
    min-width: 60px;
    max-width: 160px;
    height: 100%;
    overflow: hidden;
    visibility: hidden;
    -webkit-box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.4);
    box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.4);
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.control .control-button {
    display: block;
    margin: 4px 1px 4px 1px;
    width: calc(100% - 2px);
    height: 48px;
    font-size: 20px;
    text-align: center;
    border-style: none;
    background-color: #AAAAAA;
    color: #FFFFFF;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.control .control-button:disabled {
    opacity: 0.3;
}

.control .control-button-major {
    background-color: #33CC00;
}

@media(max-height: 500px) {
    .control .control-button {
        font-size: 16px;
        height: 32px;
    }
}

@media(max-height: 370px) {
    .control .control-button {
        height: 24px;
    }
}

@media(max-width: 640px) {
    .control .control-button {
        font-size: 14px;
    }
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    padding-bottom: 40px;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.background-shadow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    pointer-events: none;
    -webkit-box-shadow: 0px -2px 3px rgba(0, 0, 0, 0.5) inset;
    -moz-box-shadow: 0px -2px 3px rgba(0, 0, 0, 0.5) inset;
    box-shadow: 0px -2px 3px rgba(0, 0, 0, 0.5) inset;
}

.foreground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #444444;
}

.canvas-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    height: 620px;
    height: 100%;
    max-height: 620px;
}

@media(max-width: 558px) {
    .canvas-frame {
        max-height: 111vw;
    }
}

.main-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 620px;
    background-color: #F9F9F9;
}

.transparent-canvas {
    background-color: transparent;
    pointer-events: none;
}

.window {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4);
}

.window-inner {
    display: inline-block;
    margin: 10px;
    width: 96%;
    width: calc(100% - 20px);
    max-width: 600px;
    background-color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.95);
    font-size: 20px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
}

.window-title {
    margin-top: 14px;
    margin-bottom: 14px;
    font-size: 22px;
    line-height: 26px;
}

.window-subtitle {
    margin-top: 6px;
    margin-bottom: 6px;
    padding-top: 6px;
    font-size: 18px;
    line-height: 20px;
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: #DDDDDD;
}

.window-close-button {
    margin-top: 5px;
    margin-bottom: 5px;
    width: 200px;
    max-width: 40%;
    height: 40px;
    font-size: 20px;
    border-style: none;
    background-color: #AAAAAA;
    color: #FFFFFF;
}

.sharewindow-url {
    margin-top: 6px;
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 20px;
    color: #AAAAAA;
    word-wrap: break-word;
}

.sharewindow-qrcode {
    display: inline-block;
    width: 120px;
    height: 120px;
}

.panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding-bottom: 6px;
    background-color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.95);
    visibility: hidden;
    font-size: 20px;
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
}

.panel select {
    /* デフォルトの効果を無効にする ここから */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* デフォルトの効果を無効にする ここまで */
    margin: 5px 0px 5px 10px;
    padding-left: 10px;
    width: 300px;
    height: 48px;
    font-size: 20px;
    line-height: 48px;
    text-align: left;
    border-style: solid;
    border-width: 1px;
    border-color: #DDDDDD;
}

.panel .stage-link-button {
    display: inline-block;
    margin: 5px 0px 5px 10px;
    padding: 0px 4px 0px 4px;
    min-width: 60px;
    max-width: 120px;
    height: 42px;
    font-size: 20px;
    text-align: center;
    line-height: 42px;
    text-decoration: none;
    color: #33CC00;
    background: none;
    border-style: solid;
    border-width: 1px;
    border-color: #33CC00;
    overflow: hidden;
    text-overflow: ellipsis;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    border-radius: 30px;
}

.panel input {
    /* デフォルトの効果を無効にする ここから */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* デフォルトの効果を無効にする ここまで */
    margin: 5px 10px 5px 2px;
    font-size: 20px;
    text-align: center;
    border-style: solid;
    border-width: 1px;
    border-color: #DDDDDD;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.panel .short-input {
    width: 48px;
}

.panel .long-input {
    width: 180px;
}

.panel-square-button {
    margin: 5px 0px 5px 10px;
    width: 200px;
    max-width: 40%;
    height: 40px;
    font-size: 20px;
    border-style: none;
    background-color: #AAAAAA;
    color: #FFFFFF;
}

.panel-button-colored {
    background-color: #33CC00;
}

.panel-inputlabel {
    margin-left: 10px;
    margin-right: 2px;
}

.panel-nonelabel {
    margin-left: 10px;
    margin-right: 2px;
    color: #AAAAAA;
}

.panel-title {
    margin: 14px 0px 14px 10px;
    font-size: 26px;
    line-height: 32px;
}

.panel-subtitle {
    margin: 6px 0px 0px 10px;
    font-size: 20px;
    line-height: 30px;
}

.panel-drop-area {
    position: relative;
    height: 140px;
}

.panel-drop-area:after {
    content: "ここにファイルをドロップしてください";
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    border-style: dotted;
    border-width: 4px;
    border-color: #AAAAAA;
    color: #AAAAAA;
    text-align: center;
    line-height: 110px;
    font-size: 20px;
    overflow: hidden;
}

.panel-choosesavedata-button {
    margin: 5px 0px 5px 10px;
    width: 50px;
    height: 50px;
    font-size: 20px;
    color: #F9F9F9;
    border-style: none;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    border-radius: 30px;
}

.panel-choosesavedata-button:disabled {
    opacity: 0.3;
}

.panel-choosesavedata-button-exist {
    background-color: #33CC00;
}

.panel-choosesavedata-button-none {
    background-color: #AAAAAA;
}

.responsive-ad-outer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    overflow: hidden;
}

.responsive-ad {
    width: 320px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
}

@media(min-width: 375px) {
    .responsive-ad {
        width: 375px;
        height: 50px;
    }
    .contents {
        height: calc(100% - 50px);
    }
    .footer {
        bottom: 50px;
    }
}

@media(min-width: 468px) and (min-height: 680px) {
    .responsive-ad-outer {
        height: 60px;
    }
    .responsive-ad {
        width: 468px;
        height: 60px;
    }
    .contents {
        height: calc(100% - 60px);
    }
    .footer {
        bottom: 60px;
    }
}

@media(min-width: 728px) and (min-height: 710px) {
    .responsive-ad-outer {
        height: 90px;
    }
    .responsive-ad {
        width: 728px;
        height: 90px;
    }
    .contents {
        height: calc(100% - 90px);
    }
    .footer {
        bottom: 90px;
    }
}

@media(max-width: 1025px) {
    .pconly {
        visibility: hidden;
        position: absolute;
    }
}

@media(max-height: 500px) {
    .highonly {
        visibility: hidden;
        position: absolute;
    }
}

@media(max-height: 400px) {
    .portraitonly {
        visibility: hidden;
        position: absolute;
    }
}

@media(min-height: 401px) {
    .landscapeonly {
        visibility: hidden;
        position: absolute;
    }
}
