/*
 * キャラメルアルバム画面
 */

 .caramel-album-photolist div.thumbnail {
    position: relative;
    margin-bottom: 3px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: all 0.2s ease-out;
    cursor: pointer;
}

.caramel-album-photolist div.thumbnail img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
    -webkit-touch-callout: none;
}

.caramel-album-photolist div.thumbnail:before {
    content: "";
    display: block;
    padding-top: 75%;
}

.caramel-album-photolist div.thumbnail.output {
    box-shadow: 0px 0px 0px 2px #ec5242;
}

.caramel-album-photolist div.thumbnail.download {
    box-shadow: 0px 0px 0px 2px #4287ed;
}

.caramel-album-photolist div.thumbnail.selected:after {
    position: absolute;
    right: 10px;
    bottom: 10px;
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    background-image: url(../img/ico-check.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.caramel-album-photolist {
    margin-left: 0px;
    margin-right: 0px;
    -webkit-overflow-scrolling: touch;
}

.caramel-album .container {
    padding-left: 7.5px;
    padding-right: 7.5px;
}

.caramel-album .row {
    margin-right: 0px;
    margin-left: 0px;
}

.caramel-album .col-6 {
    padding-left: 7.5px;
}

.scroll-area {
    overflow-y: auto;
}

@media (max-width: 639.98px) {
    .caramel-album-photolist div.thumbnail:after {
        right: 5px;
        bottom: 5px;
    }

    .caramel-album .container {
        padding-left: 2vw;
        padding-right: 2vw;
    }

    .caramel-album-photolist .col-6 {
        padding-left: 2vw;
        padding-right: 2vw;
    }

    .caramel-album-photolist {
        margin-left: 0px;
        margin-right: 0px;
        padding-right: 0px;
    }

    .caramel-album-photolist p {
        margin-bottom: 4vw;
        font-size: 2vw;
    }

    .caramel-album-selectbtn dt {
        font-size: 4vw;
    }
}

.a-link {
    cursor: pointer;
}

/*モーダルの最大表示*/
.modal-dialog-fluid {
    max-width: inherit;
    width: 98%;
    /* margin-left: 15px; */
}

.modal-dialog .caution {
    color: #e60012;
    font-size: 18px;
}

.modal-dialog .custom-control-label {
    font-size: 18px;
}

@media (max-width: 639.98px) {
    .modal-dialog .custom-control-label {
        font-size: 4vw;
    }
}

.modal-dialog .custom-checkbox .custom-control-label::before {
    transform: scale(2);
    position: absolute;
    top: 1.3rem;
}

.modal-dialog .custom-control-label::after {
    transform: scale(2);
    position: absolute;
    top: 1.3rem;
}

.modal-dialog .custom-control-input:checked ~ .custom-control-label::before {
    transform: scale(2);
    position: absolute;
    top: 1.3rem;
}

.modal_img_compared {
    width: 100%;
    -webkit-touch-callout: none;
}

.modal_scroll {
    overflow-y: auto;
    height: 500px;
}

.modal_check {
    font-size: 20px;
}

.modal_check input[type="checkbox"] {
    transform: scale(1.5);
}

#compare_original {
    background-color: #e3f8fc;
}

#compare_charamel {
    background-color: #fdf5e6;
}

#modalCompareCenterTitle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 400;
}

.img_mask {
    border: 1px solid white;
}

/*右クリックで保存＆ドラッグで保存を禁止*/
.pointer_events__none {
    pointer-events: none;
}

.card::before {
    border: none;
}

.nodata-area {
    height: 600px;
    border: 2px dashed #cdcdcd;
    background-color: #f1f1f1;
}

.nodata-area-text {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 16px;
    text-align: left;
    color: #808080;
    padding: 0px 15px;
    margin-top: 20px;
}

.nodata-area-text p.title {
    font-weight: 500;
    font-size: 16px;
}

.nodata-area-text p.sub-title {
    font-weight: 500;
    font-size: 14px;
}

.nodata-area-text p.body {
    font-weight: 300;
    font-size: 14px;
    margin-bottom: 20px;
    padding-left: 1em;
}

.nodata-area-text p {
    margin: 0;
    line-height: 1.8;
}

@media (max-width: 639.98px) {
    .nodata-area {
        height: 100%;
    }

    .nodata-area-text {
        font-size: 3vw;
        padding: 0px 3vw;
        margin-top: 3vw;
    }

    .nodata-area-text p.title {
        font-weight: 500;
        font-size: 3.5vw;
    }

    .nodata-area-text p.sub-title {
        font-weight: 500;
        font-size: 2.5vw;
    }

    .nodata-area-text p.body {
        font-weight: 300;
        font-size: 2.5vw;
        margin-bottom: 3vw;
        padding-left: 1em;
    }
}

.display__none {
    display: none !important;
}

.download-area .no-remain {
    color: #ec5242;
}

/* viewerのcheckアイコン */
.viewer-check {
    color: #fff;
    font-family: "Font Awesome 5 Free";
    font-size: 0.75rem;
    line-height: 2.5rem;
    text-align: center;
}

.viewer-check::before {
    content: "\f058";
}

.viewer-check.selected {
    color: orange;
    font-family: "Font Awesome 5 Free";
    font-size: 0.75rem;
    line-height: 2.5rem;
    text-align: center;
}

.viewer-check.selected::before {
    content: "\f058";
}

.alert_red {
    color: #ec5242;
}

.w_258 {
    width: 258px;
}

.w_m_344 {
    max-width: 344px;
}

.calendar-btn .date label,
.calendar-btn .date span {
    cursor: pointer;
}

.calendar-back {
    background-color: transparent;
    border-color: transparent;
    color: white;
    margin-left: 2.5rem;
}

.page-heading .remain_download {
    font-size: 1.4rem;
}

.page-heading .download_count {
    /* font-size: 14px; */
    color: red;
}

.page-heading .not_download {
    /* font-size: 1.2rem; */
    color: #ec5242;
}

.page-heading .capacity {
    font-size: 1.2rem;
}

.page-heading .capacity.limit_alert {
    color: #ec5242;
}

.page-heading .user_name {
    font-weight: 700;
    font-size: 12px;
}

.calendar-size {
    font-size: 1.33333em;
    line-height: .75em;
    vertical-align: -.0667em;
}

@media (max-width: 1000px) {
    #datepicker_lbl {
        font-size: 1.7rem;
    }

    .calendar-back {
        margin-left: 1em;
    }
}

@media (max-width: 850px) {
    #datepicker_lbl {
        font-size: 16px;
    }

    .calendar-back {
        margin-left: 5px;
    }

    .calendar-size {
        font-size: .75em;
    }
}

@media (max-width: 800px) {
    /* .page-heading .remain_download {
        font-size: 12px;
    }

    .page-heading .download_count {
        font-size: 12px;
    }

    .page-heading .not_download {
        font-size: 10px;
    }

    .page-heading .capacity {
        font-size: 10px;
    } */

    #modalCompareCenterTitle {
        font-size: 20px;
        max-width: 200px;
    }

    #datepicker_lbl {
        font-size: 1.2rem;
    }

    .calendar-back {
        margin-left: 0px;
    }

    .calendar-size {
        font-size: .75em;
    }
}

@media (max-width: 639.98px) {
    .page-heading .h4 {
        font-size: 6vw;
    }

    .page-heading .h4 .ico {
        font-size: 30px;
    }

    .topic-path {
        margin-bottom: 0px;
        font-size: 12px;
    }

    .calendar-btn {
        height: 36px;
    }

    .calendar-btn li a {
        width: 10vw;
        height: 10vw;
    }

    .calendar-btn li:nth-child(1) a:before {
        border-width: 4.5px 6px 4.5px 0;
    }

    .calendar-btn li:nth-child(2) {
        font-size: 3vw;
        font-weight: 400;
        width: calc(100% - 20vw);
    }

    .calendar-btn li:nth-child(3) a:before {
        border-width: 4.5px 0 4.5px 6px;
    }

    .calendar-btn .input-group {
        -webkit-justify-content: center;
        justify-content: center;
    }

    .btn-choice {
        font-size: 3vw;
        padding-left: 4vw;
        padding-right: 4vw;
    }

    .page-heading {
        padding-top: 5px;
    }

    .page-heading .remain_download {
        font-size: 3.4vw;
    }

    .page-heading .download_count {
        font-size: 3.4vw;
    }

    .page-heading .not_download {
        font-size: 3vw;
    }

    .page-heading .capacity {
        font-size: 3vw;
    }

    .modal_check {
        font-size: 4vw;
    }

    #modalCompareCenterTitle {
        font-size: 14px;
    }

    .download-area dl dt {
        font-size: 5vw;
    }

    .guide_sp {
        padding-left: 2vw !important;
        font-size: 3vw;
    }

    #datepicker_lbl {
        font-size: 4vw;
    }

    .calendar-back {
        margin-left: 2vw;
    }

    .calendar-size {
        font-size: 1.1em;
    }
}

/* 
写真アップロード画面
*/
.dropzone-bear-select {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    width: 100%;
    height: 450px;
    background-image: url(../img/bear_select.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.dropzone-bear-upload {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    width: 100%;
    height: 448px;
    background-image: url(../img/UpBear.gif);
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
}

.dropzone-bear-charamel {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    width: 100%;
    height: 448px;
    background-image: url(../img/EraseBear.gif);
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
}

@media (max-width: 639.98px) {
    .dropzone-bear-select {
        height: 200px;
        background-image: url(../img/bear_select_sp.svg);
        background-position: center center;
    }

    .dropzone-bear-upload {
        height: 196px;
        /* background-image: url(../img/bear_upload_sp.svg); */
    }

    .dropzone-bear-charamel {
        height: 196px;
        /* background-image: url(../img/bear_charamel_sp.svg); */
    }
}

@keyframes fadeIn {
    /*animetion-nameで設定した値を書く*/

    0% {
        opacity: 0;
    } /*アニメーション開始時は不透明度0%*/

    100% {
        opacity: 1;
    } /*アニメーション終了時は不透明度100%*/
}

@media (max-width: 639.98px) {
    .dropzone-bear-upload-svg {
        height: 250px;
    }

    .dropzone-bear-charamel-svg {
        height: 250px;
    }
}

.user_none {
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.shadow_none {
    background-color: #f8f5ef;
    padding: 0px;
    margin: 0px;
    margin-top: 0px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.modal-tips {
    max-width: inherit;
    width: 600px;
}

.modal-tips .modal-content {
    border-radius: 10px;
    box-shadow: 0px 0px 30px 30px rgb(0 0 0 / 15%);
    mix-blend-mode: multiply;
    transform: translateY(0px) scale(1.05);
}

.modal-tips .modal-body {
    background-color: #f8f5ee;
    box-shadow: 0px 10px 10px -5px rgb(199 178 153 / 50%);
    border-radius: 10px 10px 0px 0px;
}

.modal-tips .modal-footer {
    background-color: #f8f5ee;
    border-radius: 0px 0px 10px 10px;
}

.modal-tips .modal-footer-container {
    margin-top: 20px;
    margin-bottom: 15px;
}

.modal-tips li.small-ava {
    /* list-style: disc; */
    margin-bottom: 0px;
    font-size: 16px;
    line-height: 24px;
}

.modal-tips li.small {
    margin-bottom: 20px;
    font-size: 12px;
}

.modal-tips li {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 24px;
    text-indent: -1em;
    padding-left: 1em;
}

.modal-tips li:before {
    content: "・";
}

.modal-tips li.small:before {
    content: none;
}

.modal-tips dt {
    float: left;
    /* margin-left: 80px; */
}

.modal-tips dd {
    margin-left: 117px;
    font-size: 30px;
    padding-top: 15px;
}

.modal-tips-bear-header-svg {
    width: 100px;
    height: 100px;
    background-image: url(../img/bear_header.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.modal-tips-bear-footer-svg {
    width: 110px;
    height: 110px;
    background-image: url(../img/how_to/bear.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

@media (max-width: 639.98px) {
    .modal-tips {
        width: 88%;
        margin: 0px auto;
    }

    .modal-tips dd {
        margin-left: 2vw;
        font-size: 5.5vw;
    }

    .modal-tips li,
    .modal-tips li.small-ava {
        font-size: 3.4vw;
        text-align: justify;
        width: 100%;
        line-height: 4.5vw;
    }

    .modal-tips li.small {
        font-size: 2vw;
        text-align: justify;
        width: 100%;
        line-height: 21px;
        text-indent: 0em !important;
        padding-left: 2em !important;
    }

    .modal-tips-bear-header-svg {
        width: 17vw;
        height: 17vw;
    }

    .modal-tips-bear-footer-svg {
        width: 80px;
        height: 80px;
        margin-left: 40px;
    }

    .modal-tips .modal-footer .btn-choice {
        font-size: 4vw;
    }
}

@media (max-width: 375px) {
    .modal-tips-bear-footer-svg {
        display: none;
    }
}

.progress-text .uploading {
    font-size: 30px;
    color: #ec5242;
}

.progress-text .charamelting {
    font-size: 30px;
    color: #55c500;
}

@media (max-width: 639.98px) {
    .progress-text .uploading {
        font-size: 18px;
    }

    .progress-text .charamelting {
        font-size: 18px;
    }
}

@media (max-width: 639.98px) {
    .col-xl,
    .col-xl-auto,
    .col-xl-12,
    .col-xl-11,
    .col-xl-10,
    .col-xl-9,
    .col-xl-8,
    .col-xl-7,
    .col-xl-6,
    .col-xl-5,
    .col-xl-4,
    .col-xl-3,
    .col-xl-2,
    .col-xl-1,
    .col-lg,
    .col-lg-auto,
    .col-lg-12,
    .col-lg-11,
    .col-lg-10,
    .col-lg-9,
    .col-lg-8,
    .col-lg-7,
    .col-lg-6,
    .col-lg-5,
    .col-lg-4,
    .col-lg-3,
    .col-lg-2,
    .col-lg-1,
    .col-md,
    .col-md-auto,
    .col-md-12,
    .col-md-11,
    .col-md-10,
    .col-md-9,
    .col-md-8,
    .col-md-7,
    .col-md-6,
    .col-md-5,
    .col-md-4,
    .col-md-3,
    .col-md-2,
    .col-md-1,
    .col-sm,
    .col-sm-auto,
    .col-sm-12,
    .col-sm-11,
    .col-sm-10,
    .col-sm-9,
    .col-sm-8,
    .col-sm-7,
    .col-sm-6,
    .col-sm-5,
    .col-sm-4,
    .col-sm-3,
    .col-sm-2,
    .col-sm-1,
    .col,
    .col-auto,
    .col-12,
    .col-11,
    .col-10,
    .col-9,
    .col-8,
    .col-7,
    .col-6,
    .col-5,
    .col-4,
    .col-3,
    .col-2,
    .col-1 {
        padding-right: 4vw;
        padding-left: 4vw;
    }
}

.check-zip .custom-control-label {
    font-size: 18px;
}

.check-zip .custom-checkbox .custom-control-label::before {
    transform: scale(2);
    position: absolute;
    top: 1.3rem;
}

.check-zip .custom-control-label::after {
    transform: scale(2);
    position: absolute;
    top: 1.3rem;
}

.check-zip .custom-control-input:checked ~ .custom-control-label::before {
    transform: scale(2);
    position: absolute;
    top: 1.3rem;
}

.check-display .custom-checkbox .custom-control-label::before {
    transform: scale(2);
}

.check-display .custom-control-label::after {
    transform: scale(2);
}

.check-display .custom-control-input:checked ~ .custom-control-label::before {
    transform: scale(2);
}

.check-display .not_download .custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #ec5242;
    background-color: #ec5242;
    transform: scale(2);
}

.check-display .download .custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #4287ed;
    background-color: #4287ed;
    transform: scale(2);
}

.check-display .not_download .active {
    color: #ec5242;
}

.check-display .download .active {
    color: #4287ed;
}

/*
 * 編集画面
 */

#chk_area input[type="radio"] {
    display: none;
}

#chk_area .form-check {
    color: white;
    padding: 5px 15px 0px 15px;
    border-radius: 10px 10px 0px 0px;
    font-size: 20px;
}

#chk_area .form-check.output {
    background-color: #ff9b00;
    margin-left: 20px;
}

#chk_area .form-check.upload {
    background-color: #00c8ff;
}

#chk_area .form-check label {
    cursor: pointer;
}

@media (max-width: 639.98px) {
    #chk_area .form-check {
        font-size: 3vw;
    }

    #chk_area .form-check {
        padding: 5px 5px 0px 5px;
    }

    #chk_area .form-check.output {
        margin-left: 0px;
    }
}

.manipulation{
    touch-action: manipulation;
}

.add_processing_area {
    user-select: none;
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer */
    -khtml-user-select: none; /* KHTML browsers (e.g. Konqueror) */
    -webkit-user-select: none; /* Chrome, Safari, and Opera */
    -webkit-touch-callout: none; /* Disable Android and iOS callouts*/
}

.canvas_area {
    width: 100%;
    height: 800px;
    /* background-color: #fff2cc; */
}

.canvas-wrapper {
    position: relative;
}

.canvas-wrapper canvas {
    position: absolute;
    top: 0;
    left: 0;
}

.button_area {
    width: 100%;
    height: auto;
    /* margin: 30px 0px; */
    border-radius: 10px;
    box-shadow: 0px 0px 10px 10px rgb(0 0 0 / 15%);
    mix-blend-mode: multiply;
    padding-top: 10px;
}

/* .button_area .col_p2 {
    padding-right: 2px;
    padding-left: 10px;
} */

.button_area .left_area {
    padding-right: 5px;
    padding-left: 10px;
}

.button_area .center_area {
    padding-right: 5px;
    padding-left: 5px;
}

.button_area .right_area {
    padding-right: 10px;
    padding-left: 5px;
}


@media (max-width: 576.98px) {
    .button_area .col_p0 {
        padding-right: 2vw;
        padding-left: 0vw;
    }

    .button_area .left_area {
        padding-right: 1vw;
        padding-left: 2vw;
    }

    .button_area .center_area {
        padding-right: 2vw;
        padding-left: 1vw;
    }

    .button_area .right_area {
        padding-right: 2vw;
        padding-left: 2vw;
    }
}

.btn-chrmlt_orange {
    color: #212529;
    background-color: #ff9b00;
    border-color: #ff9b00;
    padding: 10px 30px;
    color: #fff !important;
    box-shadow: 0px 3px 0px 0px #d9d9d9;
    transition: all 0.2s ease-out;
}

.btn-chrmlt_orange:hover {
    color: #212529;
    background-color: #ff9b00;
    border-color: #ff9b00;
}

.btn-chrmlt_orange:focus,
.btn-chrmlt_orange.focus {
    color: #212529;
    background-color: #ff9b00;
    border-color: #ff9b00;
    box-shadow: 0 0 0 0.2rem rgba(18, 182, 207, 0.5);
}

.btn-chrmlt_orange.disabled,
.btn-chrmlt_orange:disabled {
    color: #212529;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-chrmlt_orange:not(:disabled):not(.disabled):active,
.btn-chrmlt_orange:not(:disabled):not(.disabled).active,
.show > .btn-chrmlt_orange.dropdown-toggle {
    color: #fff;
    background-color: #d27400;
    border-color: #d27400;
}

.btn-chrmlt_orange:not(:disabled):not(.disabled):active:focus,
.btn-chrmlt_orange:not(:disabled):not(.disabled).active:focus,
.show > .btn-chrmlt_orange.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(18, 182, 207, 0.5);
}

.btn-chrmlt_orange:hover {
    box-shadow: 0px 0px 0px 0px #d9d9d9;
    -webkit-transform: translate(0, 3px);
    transform: translate(0, 3px);
}

.canvas_area .move {
    cursor: pointer;
}

.canvas_area .top_right {
    cursor: nw-resize;
}

.canvas_area .top_center {
    cursor: n-resize;
}

.canvas_area .top_left {
    cursor: ne-resize;
}

.canvas_area .right {
    cursor: e-resize;
}

.canvas_area .left {
    cursor: w-resize;
}

.canvas_area .bottom_right {
    cursor: sw-resize;
}

.canvas_area .bottom_center {
    cursor: s-resize;
}

.canvas_area .bottom_left {
    cursor: se-resize;
}

#canvas_card {
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
    position: relative;
}

#canvas_card.output {
    border: 15px solid #ff9b00;
}

#canvas_card.upload {
    border: 15px solid #00c8ff;
}

/* .charamelt_btn {
    background-color: #fff2cc;
    color: black !important;
    border-width: 4px;
    border-color: #FF9B00;
} */

.btn-edit {
    background-color: #ff9b00;
    border-color: #ff9b00;
    padding: 5px 10px;
    color: #fff !important;
    transition: all 0.2s ease-out;
    line-height: 30px;
    border-radius: 10px;
    width: 100%;
    margin-bottom: 10px;
    text-align: left;
}

.btn.light_blue {
    background-color: #00c8ff;
    border-color: #00c8ff;
}

.btn.brown {
    background-color: #d27400;
    border-color: #d27400;
}

/* 緑色 */
.btn.green {
    background-color: #8cc63f;
    border-color: #8cc63f;
}

.btn.green:hover {
    background-color: #8cc63f;
    border-color: #8cc63f;
}

.btn.green:focus,
.btn.green.focus {
    background-color: #8cc63f;
    border-color: #8cc63f;
}

.btn.green:not(:disabled):not(.disabled):active,
.btn.green:not(:disabled):not(.disabled).active,
.show > .btn.green.dropdown-toggle {
    color: #fff;
    background-color: #8cc63f;
    border-color: #8cc63f;
}

/* 濃い緑色 */
.btn.dark_green {
    background-color: #649632;
    border-color: #649632;
}

.btn.dark_green:hover {
    background-color: #649632;
    border-color: #649632;
}

.btn.dark_green:focus,
.btn.dark_green.focus {
    background-color: #649632;
    border-color: #649632;
}

.btn.dark_green:not(:disabled):not(.disabled):active,
.btn.dark_green:not(:disabled):not(.disabled).active,
.show > .btn.dark_green.dropdown-toggle {
    color: #fff;
    background-color: #649632;
    border-color: #649632;
}

.btn-edit.disabled,
.btn-edit:disabled {
    color: #212529;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-edit .btn_img {
    margin-right: 5px;
}

.btn-edit:hover {
    box-shadow: 0px 0px 0px 0px #d9d9d9;
    -webkit-transform: translate(0, 3px);
    transform: translate(0, 3px);
}

@media (max-width: 1090px) {
    .button_area .btn-edit {
        padding: 5px 5px;
        width: 100%;
        margin-bottom: 10px;
        /* font-size: 12px; */
        height: 77px;
    }
}

@media (max-width: 800px) {
    .button_area .btn-edit {
        padding: 5px 5px;
        width: 100%;
        margin-bottom: 10px;
        /* font-size: 12px; */
        height: 77px;
    }
}

@media (max-width: 639.98px) {
    .button_area .btn-edit {
        padding: 5px 5px;
        line-height: 20px;
        margin-bottom: 10px;
        font-size: 10px;
        height: 70px;
    }

    .add_processing_btn_area .btn-edit {
        line-height: 20px;
    }

    .btn-edit .btn_img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 576.98px) {
    .button_area .btn-edit {
        height: 52px;
    }

    #result_area .btn-edit .btn_img {
        width: 4vw;
        height: 4vw;
    }
}

/**
** zoom
*/
.btn-zoom {
    background-color: white;
    width: 24px;
    border-radius: 0px;
    border: none;
    padding: 0px;
    box-shadow: none;
    padding: 5px 0px;
}

.btn-zoom:hover {
    background-color: white;
    border: none;
}

.btn-zoom:focus,
.btn-zoom.focus {
    background-color: white;
    border: none;
    box-shadow: 0 0 0 0.2rem rgba(18, 182, 207, 0.5);
}

.btn-zoom.disabled,
.btn-zoom:disabled {
    background-color: white;
    border: none;
}

.btn-zoom:not(:disabled):not(.disabled):active,
.btn-zoom:not(:disabled):not(.disabled).active,
.show > .btn-zoom.dropdown-toggle {
    background-color: white;
    border: none;
}

.btn-zoom:not(:disabled):not(.disabled):active:focus,
.btn-zoom:not(:disabled):not(.disabled).active:focus,
.show > .btn-zoom.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(18, 182, 207, 0.5);
}

.btn-zoom:hover {
    box-shadow: 0px 0px 0px 0px #d9d9d9;
    -webkit-transform: translate(0, 3px);
    transform: translate(0, 3px);
}

.btn-zoom .btn_img {
    width: 24px;
    height: 24px;
}

@media (max-width: 639.98px) {
    .btn-zoom {
        width: 22px;
    }

    .btn-zoom .btn_img {
        width: 22px;
        height: 22px;
    }
}

.contain {
    object-fit: contain;
    width: 100%;
    height: 100%;
    background-color: #ccc;
    border: 1px solid #ccc;
}

#result_area {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

#result_area .btn-edit {
    width: 180px;
    padding: 10px 0px;
    box-shadow: 0px 4px rgb(0 0 0 / 40%);
    text-align: center;
    height: 52px;
}

.add_processing_btn_area {
    margin-top: 30px;
    margin-bottom: 50px;
    padding: 0;
}

.add_processing_btn_area .btn-edit {
    width: 180px;
    padding: 10px 0px;
    box-shadow: 0px 4px rgb(0 0 0 / 40%);
    text-align: center;
    height: 52px;
}

@media (max-width: 639.98px) {
    #result_area .btn-edit {
        width: 20vw;
        line-height: 4vw;
    }

    #result_area .btn-edit {
        /* padding: 5px 5px; */
        /* line-height: 20px; */
        /* margin-bottom: 10px; */
        font-size: 10px;
        height: 40px;
    }

    .add_processing_btn_area .btn-edit {
        width: 120px;
        height: 42px;
        font-size: 10px;
    }
}

.btn_img {
    width: 30px;
    height: 30px;
}

.btn-mask {
    line-height: 30px;
    width: auto;
    padding: 5px 5px;
    cursor: pointer;
}

.btn-mask.disabled {
    pointer-events: none;
}

.btn-mask.smile-white  {
    transform: scale(1.6);
}

.mask_img {
    width: 40px;
    min-width: 40px;
    height: auto;
    vertical-align: top;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.stamp_tool_header {
    background-color: #ff9b00;
    width: 120px;
    color: white;
    padding: 0px 0px 0px 10px;
    border-radius: 5px 5px 0px 0px;
    font-size: 14px;
    text-align: left;
}

.stamp_tool_area {
    border: 3px solid #ff9b00;
    width: 100%;
    max-width: 100%;
    position: relative;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 10px;
    padding: 5px 0px;
}

.stamp_tool_header.disabled {
    background-color: #a0a6ab;
}

.stamp_tool_area.disabled {
    border-color: #a0a6ab;
}

@media (max-width: 1090px) {
    .stamp_tool_area {
        justify-content: start;
    }

    .btn-mask {
        width: 20%;
        flex: 0 0 20%;
    }

    .mask_img {
        width: 50px;
        min-width: 50px;
    }
}

@media (max-width: 900px) {
    .stamp_tool_area::after {
        display: block;
        content:"";
        width: 50px;
    }
}

@media (max-width: 639.98px) {
    .mask_img {
        width: 40px;
        min-width: 40px;
    }

    .stamp_tool_header {
        width: 100%;
        text-align: center;
        font-size: 3vw;
        padding: 0px;
    }

    .stamp_tool_area::after {
        display: none;
        content:"";
        width: 0px;
    }
}

@media (max-width: 576.98px) {
    .mask_img {
        width: 50px;
        min-width: 50px;
    }
}

.canvas_area_zm {
    width: 100%;
    height: 800px;
    /* background-color: #fff2cc; */
}

/*
* 無料お試し期間中
*/
.logged-in-header-meta dl.trial {
    margin: 0 auto;
    padding: 0px;
    border-radius: 5px;
    background: none;
    width: 100%;
    max-width: 500px;
}

.logged-in-header-meta dl.trial dt,
.logged-in-header-meta dl.trial dd {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.logged-in-header-meta dl.trial dt {
    font-weight: 400;
    float: left;
    margin-right: 30px;
    font-weight: 400;
    color: white;
}

.logged-in-header-meta dl.trial dt .text_normal {
    font-size: 16px;
}

.logged-in-header-meta dl.trial dt .text_small {
    font-size: 12px;
}

.logged-in-header-meta dl.trial dt .day_num {
    font-size: 16px;
    font-weight: 500;
}

.logged-in-header-meta dl.trial dd a.btn-input_account_info {
    position: relative;
    width: 190px;
    height: auto;
    margin: 0;
    padding: 0px 10px;
    border-radius: 20px;
    background-color: #fff;
    color: #ff9b00;
}

.logged-in-header-meta dl.trial dd a.btn-input_account_info:before {
    content: none;
}

@media (max-width: 1060px) {
    .logged-in-header-meta dl.trial dt,
    .logged-in-header-meta dl.trial dd {
        float: right;
        margin-right: 30px;
    }

    .logged-in-header-meta dl.trial {
        max-width: 300px;
    }
}

@media (max-width: 850px) {
    .logged-in-header-meta dl.trial dt,
    .logged-in-header-meta dl.trial dd {
        float: right;
        margin-right: 30px;
        font-size: 14px;
    }

    .logged-in-header-meta dl.trial dt .text_normal,
    .logged-in-header-meta dl.trial dt .day_num,
    .logged-in-header-meta dl.trial dd a.btn {
        font-size: 10px;
    }

    .logged-in-header-meta dl.trial dt .text_small {
        font-size: 10px;
    }
}

@media (max-width: 639.98px) {
    .logged-in-header-meta dl.trial {
        width: 300px;
        max-width: 300px;
        display: block;
        padding-right: 30px;
    }
}

@media (max-width: 380.98px) {
    .logged-in-header-meta dl.trial {
        padding-right: 0px;
    }

    .logged-in-header-meta dl.trial dt,
    .logged-in-header-meta dl.trial dd {
        float: right;
        margin-right: 70px;
        font-size: 3vw;
    }

    .logged-in-header-meta dl.trial dt .text_normal,
    .logged-in-header-meta dl.trial dt .day_num,
    .logged-in-header-meta dl.trial dd a.btn {
        font-size: 3vw;
    }

    .logged-in-header-meta dl.trial dt .text_small {
        font-size: 2.5vw;
    }

    .logged-in-header-meta dl.trial dd a.btn-input_account_info {
        width: 150px;
        padding: 0px;
    }
}

@media (max-width: 320.98px) {
    .logged-in-header-meta dl.trial dt,
    .logged-in-header-meta dl.trial dd {
        float: right;
        margin-right: 50px;
        font-size: 1vw;
    }

    .logged-in-header-meta dl.trial dt .text_normal,
    .logged-in-header-meta dl.trial dt .day_num,
    .logged-in-header-meta dl.trial dd a.btn,
    .logged-in-header-meta dl.trial dt .text_small {
        font-size: 1vw;
    }

    .logged-in-header-meta dl.trial dd a.btn-input_account_info {
        width: 120px;
        padding: 0px;
    }
}

/************************** LP */
.pc {
    display: none;
}

@media all and (min-width: 640px) {
    .sp {
        display: none;
    }
    .pc {
        display: block;
    }
}

/************************** HEADER 640 */
@media all and (min-width: 640px) {
    .trial-month {
        position: fixed;
        display: block;
        height: 240px;
        width: 240px;
        /* bottom: -300px; */
        right: 2rem;
        z-index: 20;
        opacity: 0;
        margin-bottom: 120px;
    }
    .trial-month.view {
        animation: kurukuru ease-out 1.3s;
        bottom: 2rem;
        opacity: 1;
    }
    @keyframes kurukuru {
        0% {
            transform: rotateY(0) translateY(40px);
            opacity: 0;
        }
        100% {
            transform: rotateY(360deg) translateY(0);
            opacity: 1;
        }
    }

    .trial-month.view.active {
        -webkit-transition: all ease-out 400ms;
        transition: all ease-out 400ms;
        opacity: 0;
        visibility: hidden;
    }

    .animation-pc {
        animation: bound-frame linear 3s;
        animation-iteration-count: infinite;
        transform-origin: 50% 50%;
        animation-fill-mode: forwards; /*when the spec is finished*/
        -webkit-animation: bound-frame linear 3s;
        -webkit-animation-iteration-count: infinite;
        -webkit-transform-origin: 50% 50%;
        -webkit-animation-fill-mode: forwards; /*Chrome 16+, Safari 4+*/
        -moz-animation: bound-frame linear 3s;
        -moz-animation-iteration-count: infinite;
        -moz-transform-origin: 50% 50%;
        -moz-animation-fill-mode: forwards; /*FF 5+*/
        animation-delay: 5s;
        -webkit-animation-delay: 5s;
        -moz-animation-delay: 5s;
    }

    @keyframes bound-frame {
        0% {
            transform: rotate(0deg);
        }
        7% {
            transform: rotate(13deg);
        }
        15% {
            transform: rotate(-8deg);
        }
        23% {
            transform: rotate(5deg);
        }
        35% {
            transform: rotate(-3deg);
        }
        45% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(0deg);
        }
    }
}

.trial-banner {
    background-size: 100%;
    width: 100%;
    height: 80px;
    /* position: fixed; */
    bottom: -100px;
    z-index: 12;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
    /* background-color:#dfcfc1; */
    opacity: 0;
}
.trial-banner.view {
    animation: kurukuru-sp 1.75s ease-out;
    bottom: 0;
    opacity: 1;
    -webkit-transition-delay: -3.5s;
    -moz-transition-delay: -3.5s;
}
@keyframes kurukuru-sp {
    0% {
        transform: rotateY(0) translateY(100px);
        opacity: 0;
    }
    100% {
        transform: rotateY(360deg) translateY(0);
        opacity: 1;
    }
}

.animation-sp {
    animation: jelly-frame 3s ease-out infinite;
    opacity: 1;
    -webkit-transition-delay: 0;
    -moz-transition-delay: 0;
}
@keyframes jelly-frame {
    0%,
    20%,
    30%,
    40%,
    60%,
    80% {
        transform: scale(1);
    }
    70%,
    90% {
        transform: scale(0.95);
    }
}

.trial-banner img {
    width: 100vw;
    /* margin-top: -6px; */
}

.trial-banner.active {
    opacity: 0;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
}
