@charset "utf-8";

.modal-scene {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    overflow-x: visible;
    width: 680px;
}

#scene-container .modal-scene .modal-contents-inner {
    padding: 40px 60px;
}
#scene-container .modal-scene .modal-scene-ttl {
    line-height: 132%; 
    margin-bottom: 0
}
.modal-scene .modal-close {
    top: -30px;
    right: 10px;
}

.modal-scene * {
    box-sizing: border-box;
}

.or_select-tip, .select-scene-button, .textarea-box textarea {
    background-color: #f4f4f4;
}

/* #scene-container .modal-done .modal-contents-inner {
    padding: 40px 0 !important;
} */

.or_select-tip:hover, .select-scene-button:hover, .textarea-box textarea:focus {
    background-color: #eee
}
.modal-contents-inner .modal-button,.sircle-button {
    background-color: #946b39;
}
.or_select-ti:hover, .select-scene-button label:hover, #scene-container .modal-contents-inner .modal-button:hover, .textarea-tip_name:hover,.sircle-button:hover,.modal-back:hover {
    cursor: pointer;
}
.textarea-tip_name, .modal-button.light-button {
    color: #946b39
}
.check-tip_scene_name, .button-microcopy {
    color: #888
}
.show textarea {
    color: #3e3e3e;
}
#scene-container .modal-button:hover, .textarea-tip_name:hover,.sircle-button:hover {
    opacity: .8;
    transition: .2s;
}
/* ----------------------------------------------------------------------------
 or modal
---------------------------------------------------------------------------- */
.or_select-scene-box li a {
    display: block;
}
.or_select-scene-box {
    display: flex;
    justify-content: space-around;
    padding: 40px 40px 0;
}
.or_select-scene-box .icon-smile {
    width: 60px;
    line-height: 100%;
    vertical-align: bottom;
}
.or_select-tip {
    border-radius: 50%;
    padding: 24px;
}

/* ----------------------------------------------------------------------------
 and modal
---------------------------------------------------------------------------- */
.and_select-scene-box {
    justify-content: center;
    padding: 40px 0 0 8px;
    flex-wrap: wrap;
}
.and_select-scene-box li {
    margin: 0 8px 8px 0
}
.and_select-scene-box input[type="checkbox"], .textarea-box input[type="checkbox"] {
    display: none;
}
.and_select-scene-box .check-tip:checked + .check-tip_scene_name {
    background-color: #888;
    color: #fff;
}
.and_select-scene-box .check-tip_scene_name {
    display: block;
    padding: 16px 24px;
    font-size: 16px;
    line-height: 100%;
}
.select-scene-button {
    border-radius: 24px;
    overflow: hidden
}
.modal-button_box {
    position: relative;
    margin: 40px auto 0;
    display: flex;
}
.modal-button_box:after {
    content: "\e904";
    color: #fff;
    font-family: icomoon;
    font-size: 28px;
    display: inline-block;
    padding-left: 5px;
    position: absolute;
    line-height: 18px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit- transform: translate(-50%, -50%);
    pointer-events: none;
}
.last_select_box .modal-button_box:after {
    content: ""
}
#scene-container .modal-button{
    display: block;
    padding: 14px;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    border: none;
    margin: 40px 20px 0;
    line-height: 1em;
    width: auto;
    font-size: 15px;
    font-weight: 300;
}
.sircle-button {
    display: block;
    padding: 14px;
    color: #fff;
    text-align: center;
    border-radius: 50%;
    border: none;
    line-height: 1em;
    width: 72px;
    height: 72px;
    margin: 0 auto 0;
    font-size: 16px;
}
.textarea-box {
    text-align: center;
    margin-top: 16px
}
.textarea-tip_name {
    text-align: center;
    font-size: 16px
}
.textarea-box .show {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
}
.textarea-box input[type="checkbox"]:checked ~ .show {
    height: auto;
    opacity: 1;
    margin-top: 16px;
}
.show textarea {
    width: 544px;
    padding: 16px;
    border-radius: 4px;
    font-size: 16px;
    border: 0;
}
.show textarea:focus {
    outline: 0
}
.modal-back{
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    padding: 20px 0 0 20px;
}
/* ----------------------------------------------------------------------------
 done modal
---------------------------------------------------------------------------- */
/* #scene-container .modal-done .modal-contents-inner {
    padding: 40px 0
} */
.modal-contents-inner .light-button {
    background-color: #fff;
}
.button-microcopy {
    text-align: center;
    margin: 20px 0 0;
    font-size: 12px;
    line-height: 120%;
}
.modal-button + .button-microcopy{
    margin-bottom: 0
}
.modal-done .modal-scene-ttl, .modal-done .modal-done_message, .modal-done .done-box {
    padding-left: 40px;
    padding-right: 40px
}
.modal-done_message {
    margin-top: 20px;
    text-align: center;
    color: #888;
    font-size: 14px
}
.post_figure-box {
    /* padding: 40px 120px;
    margin: 40px 0; */
    padding: 10px 120px;
    margin: 23px 0;
}

.modal-scene .modal-scene-ttl {
    font-size: 19px;
    font-weight: 500;
    text-align: center;
    margin: 22px 0;
}

.graph-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    position: relative;
    margin-bottom: 20px;
}

.scene-post_figure-box {
    background-color: #ffffff !important;
}

#scene-container .modal-done .modal-contents-inner {
    padding: 20px 0;
}

#scene-container .modal-done .post_figure-box {
    background: none;
    padding: 10px 20px;
}

#scene-container .modal-done .scene_graph_area .chart-shopdetail-card-position {
    background: #f9f9f9;
    border-radius: 8px;
}

#scene-container .modal-done .scene_graph_area .chart-shopdetail-card-position + .chart-shopdetail-card-position {
    margin-top: 10px;
}
/* ----------------------------------------------------------------------------
 thankyou
---------------------------------------------------------------------------- */

.thankyou_img {
    width: 32px;
    margin: 40px auto 0;
    line-height: 100%;
}
.jingle {
    animation: jingle 2s ease-out .8s 1;
    -webkit-animation: jingle 2s ease-out .8s 1;
}
@-webkit-keyframes jingle {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
    10%, 20%, 30% {
        -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -4deg);
        transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -4deg);
    }
    50%, 70%, 90% {
        -webkit-transform: scale3d(1.2, 1.2, 1.2) rotate3d(0, 0, 1, 4deg);
        transform: scale3d(1.2, 1.2, 1.2) rotate3d(0, 0, 1, 4deg);
    }
    40%, 60%, 80% {
        -webkit-transform: scale3d(1.2, 1.2, 1.2) rotate3d(0, 0, 1, -4deg);
        transform: scale3d(1.2, 1.2, 1.2) rotate3d(0, 0, 1, -4deg);
    }
    to {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}
@keyframes jingle {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
    10%, 20%, 30% {
        -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -4deg);
        transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -4deg);
    }
    50%, 70%, 90% {
        -webkit-transform: scale3d(1.2, 1.2, 1.2) rotate3d(0, 0, 1, 4deg);
        transform: scale3d(1.2, 1.2, 1.2) rotate3d(0, 0, 1, 4deg);
    }
    40%, 60%, 80% {
        -webkit-transform: scale3d(1.2, 1.2, 1.2) rotate3d(0, 0, 1, -4deg);
        transform: scale3d(1.2, 1.2, 1.2) rotate3d(0, 0, 1, -4deg);
    }
    to {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}
/* Twitter link */
.modal-done_message_tweet {
    margin-top: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 500
}
.modal-done_message_gaiyo {
    margin-top: 4px;
    text-align: center;
    font-size: 12px
}
