@charset "utf-8";
body {
    line-height: 1.5;
}

h2.caption {
    color: #C03432;
    background: #fff;
    padding: 1em;
    font-size: 1.2em;
    margin: 2em auto;
    display: table;
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.1);
}

body.thanks {
    /*background: #C03432;*/
}

body .mainContents .creation-area .nextStep-area .upload-area {
    padding: 113px 0;
    height: auto;
}

body .mainContents .creation-area .nextStep-area .uploader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

body .mainContents .creation-area .nextStep-area .upload-area .uploader-container .frame {
    float: none;
}

body .mainContents .creation-area .nextStep-area .upload-area .uploader-container .btn-upload {
    float: none;
    margin-top: 40px;
}

#crop {
    max-width: 100%;
}

.btn_box {
    display: flex;
    margin-top: 15px;
    max-width: 100%;
}

.edit_btn {
    background: 0;
    border: none;
    background: rgba(255, 255, 255, 0.8);
    width: 44px;
    height: 44px;
    font-size: 18px;
    color: #333;
    border-radius: 5px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.edit_btn:first-child {
    margin-right: auto;
}

.edit_btn:last-child {
    margin-left: auto;
}

[class^="displayOn"] {
    /*position: absolute;*/
    z-index: 100;
}

.displayOn-line1 {
    line-height: 1;
    /*overflow: hidden;*/
    white-space: nowrap;
    /*height: 1em;*/
}

.displayOn-vertical {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}

.thanksPage {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    background: url(../images/bg_step_next.jpg) center no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0;
    background-color: #fff;
}

.imgContainer {
    background: #fff;
    padding: 30px 50px;
    background: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

.msgArea {
    display: table;
    margin: auto;
    background: #fff;
    padding: 2em;
    margin-bottom: 4em;
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.1);
}

.imgContainer ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 4em;
}

.imgContainer ul li {
    display: flex;
    flex-flow: column;
    align-items: center;
}

.imgContainer ul li img {
    max-width: 400px;
    max-height: 400px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
    margin: 10px;
}

#modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

#modalContainer {
    height: 88%;
}

#adModalContainer {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%
}

.ad-list {
}

.ad-item {
    max-width: 800px;
}

#adModalContainer .slick-next, #adModalContainer .slick-prev {
    display: inline-block;
    width: 0;
    height: 0;
    font-size: 0;
    background: none;
    border: none;
    padding: 0;
}

#adModalContainer .slick-next::after, #adModalContainer .slick-prev::after {
    display: inline-block;
    content: "";
    height: 24px;
    position: absolute;
    width: 24px;
    border-top: #fff solid 2px;
    border-right: #fff solid 2px;
    transition: all .3s;
    top: 50%;
    z-index: 1100;
}

#adModalContainer .slick-next::after {
    right: 10%;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

#adModalContainer .slick-prev::after {
    left: 10%;
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
}

#preview {
    display: flex;
    margin: auto;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#preview > div {
    margin: 5px;
}

#modal_footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px;
    height: 100px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.2);
}
#modal_footer > .btnBox {
    display: flex;
    justify-content: center;
    align-items: center;
}

.customBtn {
    color: #f4f4f4;
    background: #1abc9c;
    border-radius: 4px;
    border: 0;
    border-bottom: 2px solid #3a9a95;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 10px 25px;
    cursor: pointer;
    margin: 20px;
}
.customBtn:disabled {
    opacity: 0.5;
}
.close {
    color: #1abc9c;
    border: solid 2px #1abc9c;
    background: #fff;
}

#create {
    background: none;
    border: none;
    cursor: pointer;
}

#create:disabled {
    cursor: not-allowed;
    position: relative;
}

#create:disabled img {
    opacity: 0.5;
}

.notice {
    color: #C03432;
    margin: 0.5em 0;
    display: block;
}

.checkbox {
    display: flex;
    align-items: center;
    margin-left: 0.7%
}

.checkbox input {
    transform: scale(1.4);
    width: 22px;
    height: 44px;
    margin-right: 1em;
}

body.singlePage .mainContents .creation-area {
    background: none !important;
    padding: 0 !important;;
    margin: 0;
}

.evo-pop {
    zoom: 1.5;
    background: #fff;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
    border: solid 1px #eee
}

.evo-cp-wrap {
    width: auto !important;
}

.evo-pointer {
    width: 42px;
    height: 42px;
}

.fontSetting {
    display: flex;
    flex-wrap: wrap;
}

.fontSetting > * {
    margin-right: 1em;
    margin-bottom: 1em;
}

select {
    height: 44px;
    padding: 0.5em;
    font-size: 17px;
    border: 1px solid #000000;
    box-sizing: border-box;
}

#color {
    box-sizing: border-box;
    font-size: 17px;
    border: 1px solid #000000;
    padding: 0.5em;
    margin-right: 0.5em;
    height: 44px;
}

.midashigo {
    font-family: '見出ゴMB31';
}

.midashimin {
    font-family: '見出ミンMA31';
}

.shingo {
    font-family: '新ゴ R';
}

.jun {
    font-family: 'じゅん 201';
}

.marufolk {
    font-family: '丸フォーク R';
}

.ryumin {
    font-family: 'リュウミン M-KL';
}

.marugofuto {
    font-family: '新丸ゴ 太ライン';
}

.reisho {
    font-family: '隷書101';
}

.cinemaletter {
    font-family: 'シネマレター';
}

.msplus {
    font-family: 'M PLUS 1p', sans-serif;
}

.msplus1c {
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.hannari {
    font-family: 'Hannari', "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", 'Sawarabi Mincho', serif;;
    font-weight: 300;
}

.kokoro {
    font-family: 'Kokoro', "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;;
    font-weight: 100;
}

.KosugiMaru {
    font-family: 'Kosugi Maru', sans-serif;
}
.NotoSerifSC {
    font-family: 'Noto Serif SC', serif;
}
.sawarabiM {
    font-family: 'Sawarabi Mincho', serif;
}
.sawarabiG {
    font-family: 'Sawarabi Gothic', sans-serif;
}
.notosans {
    font-family: 'Noto Sans JP', sans-serif;
}

#sampleText:before, #sampleText:after {
    font-size: 200%;
    font-family: "ＭＳ Ｐゴシック", sans-serif;
    color: #999;
    position: absolute;

}

#sampleText:before {
    content: '”';
    left: 4px;
    top: 6px;
    line-height: 1;
}

#sampleText:after {
    content: '“';
    line-height: 0;
    right: 4px;
    bottom: 0;
}

#sampleText {
    display: table;
    position: relative;
    background: #fff;
    padding: 25px;
    font-size: 25px;
    border: solid 1px #aaa;
    box-sizing: border-box;
}

.text_link {
    color: #0080c0;
    text-decoration: underline;
}

.warning {
    color: #C03432;
}

.contentFooter {
    margin: 20px auto 0;
    text-align: center;
    padding: 40px 10px;
    background: rgba(255, 255, 255, 0.7);
}

#finalConfirm > span {
    display: block;
    margin: 1em 0;
}

#finalConfirm > span:first-child {
    margin-bottom: 2em;
}

body.singlePage .mainContents .creation-area .nextStep-area {
    padding: 0;
}

body.singlePage .mainContents .creation-area .nextStep-area .text-info-area {
    padding: 35px 0 0;
}

body.singlePage .mainContents .creation-area .nextStep-area .text-info-area .input-area .form-header {
    margin-bottom: 35px;
}

.leadText {
    line-height: 1.5;
    text-align: center;
    margin-bottom: 3em;
}

.leadText h4 {
    font-size: 1.75em;
    font-family: Helvetica, Arial;
    font-weight: 300;
    position: relative;
    display: table;
    margin: auto;
}

.leadText h4:before, .leadText h4:after {
    content: '';
    top: 50%;
    width: 2em;
    height: 1px;
    background: #000;
    position: absolute;
    display: block;
    left: -2.5em;
}

.leadText h4:after {
    right: -2.5em;
    left: auto;
}

.leadText p {
    margin: 1em 0;
}

.required:after {
    content: '必須';
    display: block;
    background: red;
    color: white;
    font-size: small;
    text-align: center;
    padding: 0.2em;
    width: 3em;
    box-sizing: border-box;
    border-radius: 2px;
    border: solid 1px orangered;
}

#term {
    height: 150px;
    overflow-y: scroll;
    padding: 1.5em 1em;
    margin: 10px 0;
    border: 1px solid #000000;
    font-size: 12px;
    line-height: 1.4em;
    background: #fff;
}

#term::-webkit-scrollbar {
    background: #ccc;
    width: 10px;
}

#term::-webkit-scrollbar-thumb {
    background: #aaa;
}

#term h2, #term h3 {
    text-align: center;
}

#term h3 {
    margin: 1em 0;
}

#term dt {
    margin-bottom: 0.5em;
}

#term dd {
    margin-bottom: 1em;
}

#term ol {
    margin: 0.5em 0;
}

#term dd > ol {
    padding-left: 0.5em;
}

#term dd ol ol {
    padding-left: 1em;
}

#term ol li {
    margin: 0.4em 0;
}

body .mainContents .creation-area .nextStep-area .text-info-area .input-area .input-list .input-body .text-area, body .mainContents .creation-area .nextStep-area .text-info-area .input-area .input-list .input-body .text-box {
    padding-right: 4em;
    line-height: 1.4em;
    font-family: "Osaka", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.counter {
    position: relative;
}

.limit {
    position: absolute;
    right: 1em;
    top: 0;
    bottom: 0;
    margin: auto;
    vertical-align: middle;
    display: flex;
    color: #777;
    align-items: center;
}

textarea + .limit {
    padding-bottom: 1em;
    align-items: flex-end;
}

#btnBox {
    margin-top: 15px;
    text-align: center;
}

#btnBox > * {
    padding: 10px;
    font-size: 24px;
    margin: 5px;
    border-radius: 5px;
    background: #fff;
    width: 44px;
    height: 44px;
    box-sizing: border-box;
    display: inline-block;
    border: solid 1px #ddd;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2);
    color: #333;
}

#btnBox > * > i {
    display: block;
}

.snsBox {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 4em;
}

.snsBox > * {
    margin: 10px;
}

.inputGroup {
    display: flex;
    align-items: center;
}

.inputGroup > * {
    height: 55px;
}

.tategaki {
    display: flex;
    flex-direction: column;
    width: 1em;
}

.tategaki > * {
    display: flex;
    line-height: 1;
    justify-content: center;
    align-items: center;
}

.sokuon {
    margin-top: -.1em;
    margin-left: 0.15em;
    margin-bottom: 0.1em;
}

.touten {
    margin-top: -.4em;
    margin-left: 1.1em;
    margin-bottom: 0.5em;
}

.alphabet {
    transform: rotate(90deg);
    line-height: 1;
}

.rotate-90 {
    transform: rotate(-90deg);
}

.rotate90 {
    transform: rotate(90deg);
}

#modalContainer {
    touch-action: none;
}

#size {
    width: 60px
}
#name {
    width: calc(100% - 66px);
}

#imgBtnBox {
    display: flex;
    justify-content: center;
    align-items: center;
}

body .mainContents .creation-area .header-step#makeStep2 {
    margin-bottom: 0;
}

.upload-area {
    z-index: 2;
    position: relative;
}

body .mainContents .creation-area .nextStep-area .upload-area .uploader-container {
    overflow: visible;
}

#whenUploadedImg {
    display: table;
    text-align: center;
}

#whenUploadedImg span {
    font-size: smaller;
    display: block;
    margin-top: 0.25em;
}

#adArea {
    display: flex;
    justify-content: center;
    align-items: center;
}

#adArea .adItem {
    margin: 60px 0 20px;
}

#adArea .adItem img {
    max-width: 300px;
    width: auto !important;;
    height: auto !important;
}

@media screen and (max-width: 768px) {
    body .mainContents .creation-area .nextStep-area .upload-area .uploader-container {
        width: auto;
    }

    #modal {
        touch-action: pan-y;
    }
    #preview {
        overflow-y: scroll;
        display: block;
    }

    #preview > * {
        overflow: hidden;
        pointer-events: none;

    }
    #preview > div {
        display: table;
        margin: 10px auto;
    }

    body .mainContents .creation-area .nextStep-area, body .mainContents .creation-area .nextStep-area .text-info-area, body .mainContents .creation-area .nextStep-area .text-info-area .input-area, body .mainContents .creation-area .nextStep-area .upload-area, body .mainContents .creation-area .nextStep-area .text-info-area .btn-make, body .mainContents .creation-area .nextStep-area .text-info-area .btn-original, body .mainContents .creation-area .template-list, body .mainContents .creation-area .template-list.slick-slider .slick-list {
        width: auto;
    }

    body .mainContents .creation-area .nextStep-area .text-info-area .btn-make, body .mainContents .creation-area .nextStep-area .text-info-area .btn-original {
        margin: 0 10px;
    }

    body .mainContents .creation-area .nextStep-area .upload-area .uploader-container {
        /*margin: 0 30px;*/
    }

    body .mainContents .creation-area .nextStep-area .text-info-area .input-area {
        margin: 0 20px;
    }

    .required {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .required:after {
        margin-left: 0.5em;
        font-size: x-small;
    }

    body .mainContents .creation-area .nextStep-area .text-info-area .input-area .input-list .input-body .text-box, body .mainContents .creation-area .nextStep-area .text-info-area .input-area .input-list .input-body .text-area {
        font-size: 17px !important;
    }

    #whenUploadedImg > * {
        margin: 3px;
    }

    #imgBtnBox {
        display: flex;
        justify-content: center;
        align-items: center;
        position: sticky;
        position: -webkit-sticky;
        bottom: 0;
        width: 100%;
        background: #fff;
        padding: 10px 0;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    body .mainContents .example-area .example-list {
        display: flex;
        flex-wrap: wrap;
        box-sizing: border-box;
        max-width: 800px;
        width: auto;
        justify-content: center;
    }

    body .mainContents .example-area .example-list .example-item:nth-of-type(odd) {
        margin: 5px;
    }

    body .mainContents .example-area .example-list .example-item {
        width: calc(50% - 10px);
        box-sizing: border-box;
        margin: 5px;
    }

    body .mainContents .example-area .example-list .example-item .title {
        box-sizing: border-box;
        font-size: 0.8em;
    }

    .imgContainer {
        padding: 20px 10px;
    }

    .leadText {
        margin-bottom: 1.5em;
    }

    .leadText h4 {
        font-size: 1em;
    }

    .leadText p {
        font-size: .8em;
    }

    .imgContainer ul li img {
        width: 90%;
        max-width: none;
        max-height: none;
    }
    body .mainContents .creation-area .nextStep-area .text-info-area .input-area .input-list .input-body label .radio-btn + label {
        margin: 0;
        margin-right: .5rem;
    }
}