@charset "UTF-8";

/* デバッグ用 */
/*
.js-previewItem{
    border: 3px solid #ff0000;
    background-color: rgba(255,0,0,0.05);
}
*/

/* 一覧ページ */
.thanksdecoList__sec{
    margin: 4rem 1rem 0 1rem;
}
.typeList__item{
    width: 33.3333%;
    padding: 0 0.25rem;
}
.typeList__label{
    border: 1px solid #ccc;
    display: block;
    border-radius: 10px;
    transition: background-color 0.3s;
}
.typeList__label.is-selected{
    border: 1px solid #FF7500;
    background-color: #ffeae0;
}
.typeList__radioBox{
    border: 1px solid #ccc;
    border-radius: 100px;
    width: 16px;
    height: 16px;
    margin-right: 2px;
    position: relative;
}
.typeList__label.is-selected .typeList__radioBox{
    border: 1px solid #ff7500;
}
.typeList__label.is-selected .typeList__radioBox::before{
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    position: absolute;
    z-index: 2;
    left: calc(50% - 6px);
    top: calc(50% - 6px);
    background-color: #ff7500;
    border-radius: 100px;
    animation: typeList__radioBox 0.3s ease 0s 1 normal;
}
@keyframes typeList__radioBox{
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}
.typeList__img{
    border-radius: 10px 10px 0 0;
}
.typeList__ttl{
    font-size: 1.2rem;
    font-weight: bold;
    padding: 1rem 0;
}
.thanksdecoList__h2{
    font-size: 1.8rem;
    font-weight: bold;
    color: #FF7500;
    margin-bottom: 1rem;
}
.designList__item{
    width: 33.3333%;
    padding: 0 0.25rem;
    margin-bottom: 3rem;
}
.designList__img{
    max-width: calc(33.3333vw - 1rem);
    max-height: calc(33.3333vw - 1rem);
    margin: auto;
}

/* 共通 */
.cardmaker_z-index {
    z-index: 8000;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    outline: none;
    height: 14px;
    width: 100%;
    background: #666;
    border-radius: 10px;
    border: 3px solid #fff;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background-color: #f5f5f5;
    box-shadow: 0 0 2px 1px rgba(155, 155, 155, 0.6);
    border-radius: 30px;
}

.fixArea {
    background-color: #fff;
    box-shadow: 2px 2px 4px 0px rgba(155, 155, 155, 0.6);
}

.cardmaker_previewArea {
    opacity: 0;
    transition: opacity 0.6s;
    transition-delay: 0.4s;
    position: relative;
    z-index: 5;
    overflow: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    background-color: #F5F5F5;
}

.cardmaker_previewArea::-webkit-scrollbar {
    display: none !important;
}

.cardmaker_previewWrap {
    width: 100%;
    height: 100%;
    transform-origin: 0 0;
}

.cardmaker_previewWrap.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}

.cardmaker_previewBox {
    position: absolute;
    box-shadow: 2px 2px 4px 0px rgba(155, 155, 155, 0.6);
    overflow: hidden;
}

.cardmaker_previewCont {
    transform-origin: 50% 50%;
    background-color: #fff;
    position: relative;
    transform-origin: 0 0;
}

.cardmaker_previewCont__printMargin {
    position: absolute;
    z-index: 3;
    left: 0;
    top: 0;
    animation: cardmaker_previewCont__printMargin 5s linear 0s infinite normal;
    display: flex;
    white-space: normal;
}
.previewItem--text__line{
    font-size: 75%;
    /* aiでは72dpiでpx=ptになっているので、*72/96＝*0.75をすることで表示上のサイズを整える */
}

@keyframes cardmaker_previewCont__printMargin {
    0% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.1;
    }
}

.cardmaker_previewTxt {
    position: absolute;
    z-index: 3;
    white-space: nowrap;
    line-height: 1.2;
}
.cardmaker_previewTxt.is-font--Tweedia{
    line-height: 0.8;
}

.cardmaker_previewTxt.previewItem--msg .previewItem--text__line {
    line-height: 1.6;
    position: relative;
}

.cardmaker_previewTxt.previewItem--msg {
    /* white-space: normal; */
}

.cardmaker_previewImg {
    /* position: absolute; */
    z-index: 1;
    white-space: nowrap;
}

.cardmaker_previewcoverImg {
    /* position: absolute; */
    z-index: 10;
}

.js-upimagePreview {
    position: absolute;
    transition: transform 0.3s, top 0.3s, left 0.3s;
    z-index: 4;
}

.preview_dsp_mag{
    max-width: 320px;
    margin: 0 auto;
    display: block;
}

.cardmaker_card-Item {
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
}

.cardmaker_card-Item.is-empty {
    display: none;
}

.cardmaker_card--bgimage {
    position: absolute;
    z-index: 2;
    width: 100%;
}

.cardmaker_bgClr--orange {
    background-color: #FF7500;
    /* z-index: 600; */
    /* position: fixed; */
    width: 100%;
}

.cardmaker_bgClr--orange2 {
    background-color: #FFF0E3;
}

.cardmaker_txtClr--orange {
    color: #FF7500;
}

.cardmaker_btnClr--orange {
    background-color: #FF7500;
    border: 1px solid #FF7500;
    color: #fff;
    font-weight: bold;
    border-radius: 100px!important;
}


.cardmaker_flex {
    display: grid;
    grid-template-columns: 8rem 1fr;
    align-items: center;
    /* padding-left: 2rem; */
    text-align: center;
}

.cardmaker_txtClr--gray {
    color: #707070;
}

.cardmaker_bottomline {
    border-bottom: solid 1px #707070;
}

.cardmaker_inputarea {
    border: 1px solid #ccc;
    height: 40px;
    line-height: 40px;
    background-color: #fff;
    color: #000;
}

.cardmaker_messageform_adjustment {
    background-color: #E4E4E4;
    border: 1px solid #707070;
    border-bottom: none;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem 0;
    width: 100%;
}

.cardmaker_messageform_btn {
    filter: drop-shadow(0px 2px 3px rgba(100, 100, 100, 0.6));
}

.cardmaker_messageform_btn.is-selected{
    background-color: #ff6000;
}
.cardmaker_messageform_btn.is-selected>img{
    opacity: 0.5;
}

.cardmaker_messageform {
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #707070;
    height: auto;
    min-height: 12rem;
    text-align: left;
    font-size: 1.4rem;
    font-weight: normal!important;
}

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

.cardmaker_messageform.is-right {
    text-align: right;
}

.cardmaker_messageform.is-big {
    font-size: 1.6rem;
}

.cardmaker_messageform.is-small {
    font-size: 1.2rem;
}

.cardmaker_cursor_grid {
    display: grid;
    grid-template-columns: 65px 65px 65px;
    grid-template-rows: 25px 35px 25px;
    justify-content: center;
}

.cardmaker_cursor_grid2 {
    display: grid;
    grid-template-columns: 70px 70px;
    grid-template-rows: 35px 35px;
    justify-content: center;
}

.cardmaker_cursor_grid--top {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    justify-self: end;
}

.cardmaker_cursor_grid--left {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    justify-self: end;
}

.cardmaker_cursor_grid--right {
    grid-row: 2 / 3;
    grid-column: 3/4;
    justify-self: end;
}

.cardmaker_cursor_grid--bottom {
    grid-row: 3 / 4;
    grid-column: 2/3;
    justify-self: end;
}

.cardmaker_cursor_grid--turnR {
    grid-row: 3 / 3;
    grid-column: 1 / 2;
}

.cardmaker_cursor_grid--turnL {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
}

.cardmaker_cursor_grid--zoom {
    grid-row: 1 / 3;
    grid-column: 2 / 3;
}

.cardmaker_cursor_grid--shrink {
    grid-row: 3 / 4;
    grid-column: 2 / 3;
}

.cardmaker_O_hidden {
    overflow: hidden;
}

.cardmaker_cursorBtn-size {
    width: 48%;
}

/* 共通ここまで */

/* モーダル */
.cardmaker_overlay {
    display: none;
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
}

.cardmaker_msgList {
    display: none;
    background-color: #fff;
    border-radius: 5px;
    width: 90vw;
    max-height: 80vh !important;
    z-index: 1000;
    margin: auto;
    position: relative;
    overflow-y: auto;
}

.cardmaker_overlay.is-open,
.cardmaker_msgList.is-open,
.js-cardmaker__msgList--close.is-open {
    display: block;
}

.cardmaker_msgList--border {
    border-bottom: 1px solid #FF7500;
}
.cardmaker__msgList{
    width: 1300px;
}
.cardmaker_msgList--tab {
    overflow: scroll;
}

.js-cardmaker__msgCate {
    color: #FF7500;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
    padding: 0.25rem 0.5rem;
    transition: background-color 0.3s;
}

.js-cardmaker__msgCate.is-selected {
    color: #fff;
    background-color: #FF7500;
    border-radius: 20px;
}

.js-cardmaker__msgList--Modal {
    display: block;
    width: 33px;
    height: 33px;
    border-radius: 5px;
    position: absolute;
    top: 4px;
    right: 10px;
    z-index: 12000;
}

.js-cardmaker__msgList--Modal::before {
    position: relative;
    display: block;
    content: '';
    border-top: 4px solid #fff;
    transform: rotate(45deg);
    top: calc(50% - 5px);
    left: calc(50% - 21px);
    width: 33px;
    height: 33px;
    z-index: 1100;
}

.js-cardmaker__msgList--Modal::after {
    position: relative;
    display: block;
    content: '';
    border-top: 4px solid #fff;
    transform: rotate(-45deg);
    top: calc(50% - 42px);
    left: calc(50% - -1px);
    width: 33px;
    height: 33px;
    z-index: 1100;
}

.cardmaker_screen {
    width: 100%;
    height: 100vh;
    display: flex;
    -webkit-justify-content: center;
    -webkit-box-align: center;
    justify-content: center;
    -ms-flex-pack: center;
    align-items: center;
}

.thanksdeco_comment{
    margin-bottom: 2rem;
}

.js-msgCate__iwai_all,
.js-msgCate__baby,
.js-msgCate__marry,
.js-msgCate__uchiiwai_all,
.js-msgCate__uchiiwai_baby,
.js-msgCate__uchiiwai_marry {
    display: none;
}

.js-msgCate__iwai_all.is-active,
.js-msgCate__baby.is-active,
.js-msgCate__marry.is-active,
.js-msgCate__uchiiwai_all.is-active,
.js-msgCate__uchiiwai_baby.is-active,
.js-msgCate__uchiiwai_marry.is-active {
    display: block;
}

.msgList_Select-btn {
    transform: scale(1.2);
}

.cardmaker_borClr--orange {
    border-color: #FF7500;
}



/* -----
   作成完了画面
   ----- */
.mainCont{
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
}
.completion__previewImg{
    max-width: 400px;
    margin: 0 auto;
}