@charset "utf-8";

#commu-dialog {
    position: relative;
    height: 400px;
    width: 640px;
    color: #808080;
    border-color: #50C6D5;
    font-size: 12px;
}

#commu-dialog-header {
    position: absolute;
    top: 0;
    left: 0;
    height: 48px;
    width: inherit;
}
#commu-dialog-inner-header {
    position: relative;
    height: inherit;
    width: inherit;
}
#commu-dialog-inner-header img {
    position: absolute;
    top: 0;
    left: 0;
    height: 48px;
    width: 48px;
}
#commu-dialog-message-area {
    position: absolute;
    top: 0;
    right: 0;
    height: inherit;
    width: 584px;
}
[id^="commu-dialog-fukidashi"] {
    height: inherit;
    line-height: 48px;
    background-repeat: no-repeat;
    font-size: 17px;
    color: #50C6D5;
    cursor: default;
    float: left;
}
#commu-dialog-fukidashi-left {
    background-image: url('/static/img/common/fukidashi_left.svg');
    width: 37px;
}
#commu-dialog-fukidashi-center {
    background-image: url('/static/img/common/fukidashi_center.svg');
    background-repeat: repeat-x;
    width: 510px;
}
#commu-dialog-fukidashi-center img.emoji {
    position: relative;
    height: 17px;
    width: 17px;
    margin-top: -4px;
}

#commu-dialog-fukidashi-right {
    background-image: url('/static/img/common/fukidashi_right.svg');
    width: 37px;
}

#commu-dialog-content {
    position: absolute;
    top: 64px;
    left: 0;
    height: 232px;
    width: inherit;
    background: #FFFFFF;
    border-radius: 3px;
}
#commu-dialog-inner-content {
    position: relative;
    height: inherit;
    width: inherit;
}

#commu-dialog-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 88px;
    width: inherit;
}
#commu-dialog-inner-footer {
    position: relative;
    height: inherit;
    width: inherit;
}
#commu-dialog-button-area {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    min-height: 40px;
    max-height: 46px;
    width: inherit;
    text-align: center;
    font-size: 0;
}
#commu-dialog-button-area commu-dialog-button {
    display: inherit;
    margin-right: 16px;
}
#commu-dialog-button-area commu-dialog-button:last-child {
    margin-right: 0;
}

#commu-dialog-input-area {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 40px;
    width: inherit;
    background: #FFFFFF;
    border: 1px solid #50C6D5;
    border-radius: 3px;
}
#commu-dialog-inner-input-area {
    position: relative;
    height: inherit;
    width: inherit;
}
#commu-dialog-comment-input {
    position: absolute;
    top: 0;
    left: 0;
    height: calc(100% - 2px);
    width: calc(100% - 41px);
    border: none;
    border-radius: 2px 0 0 2px;
    padding: 0 8px;
}
#commu-dialog-comment-input::placeholder {
    color: #DDDDDD;
}
#commu-dialog-submit-button {
    position: absolute;
    top: 0;
    right: 2px;
    height: calc(100% - 2px);
    width: 39px;
    border-radius: 0 2px 2px 0;
    background: #DDDDDD;
    padding: 0;
    font-size: 40px;
}

#commu-dialog .submit-invalid {
    -moz-animation: InvalidSubmitButton 0.3s ease-in 0s forwards; /* Firefox */
    -webkit-animation: InvalidSubmitButton 0.3s ease-in 0s forwards; /* Safari and Chrome */
    -ms-animation: InvalidSubmitButton 0.3s ease-in 0s forwards; /* IE10 */
    -o-animation: InvalidSubmitButton 0.3s ease-in 0s forwards; /* Opera */
    animation: InvalidSubmitButton 0.3s ease-in 0s forwards;
}

#commu-dialog .submit-valid {
    -moz-animation: ValidSubmitButton 0.3s ease-in 0s forwards; /* Firefox */
    -webkit-animation: ValidSubmitButton 0.3s ease-in 0s forwards; /* Safari and Chrome */
    -ms-animation: ValidSubmitButton 0.3s ease-in 0s forwards; /* IE10 */
    -o-animation: ValidSubmitButton 0.3s ease-in 0s forwards; /* Opera */
    animation: ValidSubmitButton 0.3s ease-in 0s forwards;
}

#commu-dialog-close {
    position: absolute;
    top: -21px;
    right: -18px;
    text-align: center;
    color: #FFFFFF;
}
#commu-dialog-close:hover {
    cursor: pointer;
}
#commu-dialog-close i {
    font-size: 17px;
}

#commu-dialog button:hover {
    opacity: 1.0;
    transition: all .4s;
}

.come-from_right-to-left_animation {
    -moz-animation: ComeFromRightToLeft 0.5s ease-in 0s 1 normal; /* Firefox */
    -webkit-animation: ComeFromRightToLeft 0.5s ease-in 0s 1 normal; /* Safari and Chrome */
    -ms-animation: ComeFromRightToLeft 0.5s ease-in 0s 1 normal; /* IE10 */
    -o-animation: ComeFromRightToLeft 0.5s ease-in 0s 1 normal; /* Opera */
    animation: ComeFromRightToLeft 0.5s ease-in 0s 1 normal;
}

.go-from_right-to-left_animation {
    -moz-animation: GoFromRightToLeft 0.5s ease-out 0s 1 normal; /* Firefox */
    -webkit-animation: GoFromRightToLeft 0.5s ease-out 0s 1 normal; /* Safari and Chrome */
    -ms-animation: GoFromRightToLeft 0.5s ease-out 0s 1 normal; /* IE10 */
    -o-animation: GoFromRightToLeft 0.5s ease-out 0s 1 normal; /* Opera */
    animation: GoFromRightToLeft 0.5s ease-out 0s 1 normal;
}

.raise_animation {
    -moz-animation: Raise 0.5s ease-in 0s 1 normal; /* Firefox */
    -webkit-animation: Raise 0.5s ease-in 0s 1 normal; /* Safari and Chrome */
    -ms-animation: Raise 0.5s ease-in 0s 1 normal; /* IE10 */
    -o-animation: Raise 0.5s ease-in 0s 1 normal; /* Opera */
    animation: Raise 0.5s ease-in 0s 1 normal;
}

@-webkit-keyframes Raise { /* Chrome, Safari */
    0% {
        opacity: 0;/* 透明 */
        transform: translateY(20px);
    }
    80% {
        opacity: 0.5;/* 半透明 */
        transform: translateY(10px);
    }
    100% {
        opacity: 1;/* 不透明 */
        transform: translateX(0);
    }
}
@-moz-keyframes Raise { /* FF */
    0% {
        opacity: 0;/* 透明 */
        transform: translateY(20px);
    }
    80% {
        opacity: 0.5;/* 半透明 */
        transform: translateY(10px);
    }
    100% {
        opacity: 1;/* 不透明 */
        transform: translateX(0);
    }
}
@-ms-keyframes Raise { /* IE10 */
    0% {
        opacity: 0;/* 透明 */
        transform: translateY(20px);
    }
    80% {
        opacity: 0.5;/* 半透明 */
        transform: translateY(10px);
    }
    100% {
        opacity: 1;/* 不透明 */
        transform: translateX(0);
    }
}
@-o-keyframes Raise { /* Opera */
    0% {
        opacity: 0;/* 透明 */
        transform: translateY(20px);
    }
    80% {
        opacity: 0.5;/* 半透明 */
        transform: translateY(10px);
    }
    100% {
        opacity: 1;/* 不透明 */
        transform: translateX(0);
    }
}
@keyframes Raise {
    0% {
        opacity: 0;/* 透明 */
        transform: translateY(20px);
    }
    80% {
        opacity: 0.5;/* 半透明 */
        transform: translateY(10px);
    }
    100% {
        opacity: 1;/* 不透明 */
        transform: translateX(0);
    }
}

/* Animation : 非表示の要素を画面右側から中央に表示するアニメーション */
@-webkit-keyframes ComeFromRightToLeft { /* Chrome, Safari */
    0% {
        opacity: 0;/* 透明 */
        transform: translateX(1280px);  /* X軸方向に640px * 2 = 1280px */
    }
    100% {
        opacity: 1;/* 不透明 */
        transform: translateX(0);
    }
}
@-moz-keyframes ComeFromRightToLeft { /* FF */
    0% {
        opacity: 0;/* 透明 */
        transform: translateX(1280px);  /* X軸方向に640px * 2 = 1280px */
    }
    100% {
        opacity: 1;/* 不透明 */
        transform: translateX(0);
    }
}
@-ms-keyframes ComeFromRightToLeft { /* IE10 */
    0% {
        opacity: 0;/* 透明 */
        transform: translateX(1280px);  /* X軸方向に640px * 2 = 1280px */
    }
    100% {
        opacity: 1;/* 不透明 */
        transform: translateX(0);
    }
}
@-o-keyframes ComeFromRightToLeft { /* Opera */
    0% {
        opacity: 0;/* 透明 */
        transform: translateX(1280px);  /* X軸方向に640px * 2 = 1280px */
    }
    100% {
        opacity: 1;/* 不透明 */
        transform: translateX(0);
    }
}
@keyframes ComeFromRightToLeft {
    0% {
        opacity: 0;/* 透明 */
        transform: translateX(1280px);  /* X軸方向に640px * 2 = 1280px */
    }
    100% {
        opacity: 1;/* 不透明 */
        transform: translateX(0);
    }
}

/* Animation : 表示中の要素を画面中央から左側に除外するアニメーション */
@-webkit-keyframes GoFromRightToLeft { /* Chrome, Safari */
    0% {
        opacity: 1;/* 不透明 */
        transform: translateX(0);
    }
    100% {
        opacity: 0;/* 透明 */
        transform: translateX(-1280px); /* X軸方向に (640px * 2) * -1 = -1280px */
    }
}
@-moz-keyframes GoFromRightToLeft { /* FF */
    0% {
        opacity: 1;/* 不透明 */
        transform: translateX(0);
    }
    100% {
        opacity: 0;/* 透明 */
        transform: translateX(-1280px); /* X軸方向に (640px * 2) * -1 = -1280px */
    }
}
@-ms-keyframes GoFromRightToLeft { /* IE10 */
    0% {
        opacity: 1;/* 不透明 */
        transform: translateX(0);
    }
    100% {
        opacity: 0;/* 透明 */
        transform: translateX(-1280px); /* X軸方向に (640px * 2) * -1 = -1280px */
    }
}
@-o-keyframes GoFromRightToLeft { /* Opera */
    0% {
        opacity: 1;/* 不透明 */
        transform: translateX(0);
    }
    100% {
        opacity: 0;/* 透明 */
        transform: translateX(-1280px); /* X軸方向に (640px * 2) * -1 = -1280px */
    }
}
@keyframes GoFromRightToLeft {
    0% {
        opacity: 1;/* 不透明 */
        transform: translateX(0);
    }
    100% {
        opacity: 0;/* 透明 */
        transform: translateX(-1280px); /* X軸方向に (640px * 2) * -1 = -1280px */
    }
}

@-webkit-keyframes ValidSubmitButton { /* Chrome, Safari */
    0% {
        opacity: 1;/* 不透明 */
        background: #DDDDDD;
    }
    100% {
        opacity: 1;/* 不透明 */
        background: #50C6D5;
    }
}
@-moz-keyframes ValidSubmitButton { /* FF */
    0% {
        opacity: 1;/* 不透明 */
        background: #DDDDDD;
    }
    100% {
        opacity: 1;/* 不透明 */
        background: #50C6D5;
    }
}
@-ms-keyframes ValidSubmitButton { /* IE10 */
    0% {
        opacity: 1;/* 不透明 */
        background: #DDDDDD;
    }
    100% {
        opacity: 1;/* 不透明 */
        background: #50C6D5;
    }
}
@-o-keyframes ValidSubmitButton { /* Opera */
    0% {
        opacity: 1;/* 不透明 */
        background: #DDDDDD;
    }
    100% {
        opacity: 1;/* 不透明 */
        background: #50C6D5;
    }
}
@keyframes ValidSubmitButton {
    0% {
        opacity: 1;/* 不透明 */
        background: #DDDDDD;
    }
    100% {
        opacity: 1;/* 不透明 */
        background: #50C6D5;
    }
}

@-webkit-keyframes InvalidSubmitButton { /* Chrome, Safari */
    0% {
        opacity: 1;/* 不透明 */
        background: #50C6D5;
    }
    100% {
        opacity: 1;/* 不透明 */
        background: #DDDDDD;
    }
}
@-moz-keyframes InvalidSubmitButton { /* FF */
    0% {
        opacity: 1;/* 不透明 */
        background: #50C6D5;
    }
    100% {
        opacity: 1;/* 不透明 */
        background: #DDDDDD;
    }
}
@-ms-keyframes InvalidSubmitButton { /* IE10 */
    0% {
        opacity: 1;/* 不透明 */
        background: #50C6D5;
    }
    100% {
        opacity: 1;/* 不透明 */
        background: #DDDDDD;
    }
}
@-o-keyframes InvalidSubmitButton { /* Opera */
    0% {
        opacity: 1;/* 不透明 */
        background: #50C6D5;
    }
    100% {
        opacity: 1;/* 不透明 */
        background: #DDDDDD;
    }
}
@keyframes InvalidSubmitButton {
    0% {
        opacity: 1;/* 不透明 */
        background: #50C6D5;
    }
    100% {
        opacity: 1;/* 不透明 */
        background: #DDDDDD;
    }
}