@charset "utf-8";

html {
    color: #333;
    line-height: 1.5;
    font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    background: url(../img/siteparts/main_bk.gif);
}

.left {
    float: left;
}

.right {
    float: right;
}

.clearfix:after {
    display: block;
    clear: both;
    height: 0px;
    visibility: hidden;
    content: ".";
}

.clearfix {
    min-height: 1px;
}

* html .clearfix {
    height: 1px;
    height: auto;
    overflow: hidden;
}

html, body {
    height: 100%;
}

h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
}

/*-- フッター下付け --*/
div#container {
    position: relative;
    min-height: 100%;
    height: auto !important;
    height: 100%;
}

div#contents {
    position: relative;
    top: 35px;
    padding-bottom: 80px
}

div#footer {
    position: fixed;
    bottom: 0;
}

/*========================================
	ボタンデザイン
========================================*/

button {
    display: block;
    border: none;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    box-shadow: 2px 2px 5px 0px #666;
    -webkit-box-shadow: 2px 2px 5px 0px #666;
    -moz-box-shadow: 2px 2px 5px 0px #666;
    margin-top: 0;
    margin-bottom: 14px;
}

button.super_big {
    height: 50px;
    width: 100%;
    font-size: 24px;
    line-height: 48px;
    font-weight: bold;
    padding: 0 15px;
}

button.big {
    height: 40px;
    min-width: 160px;
    font-size: 18px;
    line-height: 36px;
    font-weight: bold;
    padding: 0 15px;
}

button.big:active,
button.super_big:active {
    margin-top: 3px;
    margin-bottom: 11px;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

button.small {
    height: 30px;
    min-width: 160px;
    font-size: 14px;
    line-height: 24px;
    padding: 0 15px;
    margin-top: 6px;
    margin-bottom: 17px;
}

button.small:active {
    margin-top: 8px;
    margin-bottom: 15px;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

button.blueOff {
    color: #54554a;
    background: #005376;
}

button.blue {
    color: #fff;
    background: #009bda;
}

button.yellow {
    color: #83640e;
    background: #fcc01b;
}

button.green {
    color: #336600;
    background: #66cc00;
}

button.cyan {
    color: #007070;
    background: #00caca;
}

button.orange {
    color: #e74c3c;
    background: #ff6600;
}

button.magenta {
    color: purple;
    background: magenta;
}

button.red {
    color: #fff;
    background: #cc0000;
}

button.left {
    margin-right: 10px;
}

button.right {
    margin-left: 10px;
}

button.center {
    width: 100%;
}

/*========================================
	inputデザイン
========================================*/

/*-- テキストフォーム --*/
input[type=text],
input[type=password],
input[type=email] {
    height: 36px;
    width: 100%;
    border: 3px solid #2c3e50;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    padding: 0 5px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

/*========================================
	枠のデザイン
========================================*/

.form_area {
    max-width: 600px;
    padding: 10px;
    margin: 0 auto;
}

.chat_area {
    padding-top: 15px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    box-shadow: 2px 2px 5px 0px #333;
    -webkit-box-shadow: 2px 2px 5px 0px #333;
    -moz-box-shadow: 2px 2px 5px 0px #333;
}

.edit_area {
    background: #fff;
    border-radius: 0 0 10px 10px;
    -webkit-border-radius: 0 0 10px 10px;
    -moz-border-radius: 0 0 10px 10px;
    padding: 20px 25px 15px;
}

.edit_area.notitle {
    background: #fff;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    padding: 20px 25px 15px;
}

/*========================================
	チャットの画面用スタイル
========================================*/

#contents h3.chat-datetime {
    color: #fff;
    font-size: 14px;
    width: 120px;
    text-align: center;
    background: #666;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    padding: 5px;
    margin: 0 auto;
    clear: both;
}

#contents .message {
    clear: both;
}

#contents .message_area {
    padding: 20px 25px 30px 20px;
    background-color: #fff;
}

#contents .from,
#contents .to {
    padding: 5px;
    margin: 5px;
    clear: both;
}

#contents .from {
    float: left;
}

#contents .to {
    float: right;
}

#contents .from > .message_wrapper span.member_name,
#contents .to > .message_wrapper span.member_name,
#contents .from > .user_icon span.member_name,
#contents .to > .user_icon span.member_name {
    font-size: 90%;
}

#contents .from > .message_wrapper span.time,
#contents .to > .message_wrapper span.time,
#contents .from > .user_icon span.time,
#contents .to > .user_icon span.time {
    font-size: 80%;
}

#contents .from > .message_wrapper {
    float: right;
}

#contents .to > .message_wrapper {
    float: left;
    text-align: right;
}

#contents .from > .user_icon,
#contents .to > .user_icon {
    text-align: center;
}

#contents .from > .user_icon {
    float: left;
    margin-right: 20px;
}

#contents .to > .user_icon {
    float: right;
    margin-left: 20px;
}

#contents .from > .message_wrapper span.member_name {
    margin-left: 5px;
}

#contents .to > .message_wrapper span.member_name {
    margin-right: 10px;
}

.user_icon > img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border: solid 1px #ddd;
}

#contents .from > .message_wrapper > .messageData,
#contents .to > .message_wrapper > .messageData {
    text-align: left;
    padding: 10px 15px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border: solid 1px #ddd;
    position: relative;
}

#contents .to > .message_wrapper > a > .chatimg,
#contents .from > .message_wrapper > a > .chatimg {
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border: solid 1px #ddd;
}

/*========================================
	吹き出し
========================================*/

#contents .from > .message_wrapper > .messageData:after,
#contents .to > .message_wrapper > .messageData:after {
    border-top: 10px solid transparent;
    border-bottom: 12px solid transparent;
    content: '';
    margin-top: -10px;
    position: absolute;
    top: 50%;
}

#contents .from > .message_wrapper > .messageData:after {
    border-right: 12px solid gold;
    left: -12px;
    top: 50%;
}

#contents .to > .message_wrapper > .messageData:after {
    border-left: 12px solid lightgreen;
    right: -12px;
    top: 50%;
}

#contents .from > .message_wrapper > .messageData,
#contents .to > .message_wrapper > .messageData,
#contents .from > .message_wrapper > a > img.chatimg,
#contents .to > .message_wrapper > a > img.chatimg {
    box-shadow: 0 5px 3px #999;
}

#contents .from > .message_wrapper > .messageData {
    background: gold;
}

#contents .to > .message_wrapper > .messageData {
    background: lightgreen;
}

/*========================================
	発言入力エリア
========================================*/
#contents > .chat_title {
    position: fixed;
    width: 100%;
    /*top: 45px;*/
    top: 0px;
    /*padding-top: 20px;*/
    padding-top: 0px;
    background: url(../img/siteparts/main_bk.gif);
    z-index: 100;
}

#contents > h2 {

    top: 80px;
    width: 100%;
}

.chat_input_area {
    position: fixed;
    bottom: 0px;
    background: #eee;
    width: 100%;
    padding: 0 10px;
}

.chat_input_area > .chat_text_input {
    width: 85%;
}

.chat_input_area > .chat_btn {
    width: 80px;
    position: absolute;
    right: 30px;
    bottom: 0;
}

.chat_input_area > .chat_btn > button {
    font-size: 18px;
    font-weight: bold;
    height: 40px;
    line-height: 36px;
    min-width: 80px;
    padding: 0 15px;
}

.btn_area {
    vertical-align: bottom;
    padding-top: 10px;
}

.checkbox_area {
    margin-bottom: 6px;
}

#grid_area {
    padding: 10px 0;
}

/*========================================
	見出し/文字のデザイン
========================================*/

h2 {
    height: 50px;
    color: #fff;
    font-size: 24px;
    font-weight: normal;
    line-height: 48px;
    text-align: center;
    background: #2c3e50;
    border-radius: 10px 10px 0 0;
    -webkit-border-radius: 10px 10px 0 0;
    -moz-border-radius: 10px 10px 0 0;
    margin: 0;
}

span.input_title {
    display: block;
    width: 100px;
    font-size: 18px;
    text-align: right;
}

span.input_title:after {
    content: "：";
}

/*========================================
	フォーム内テーブルのデザイン
========================================*/

.edit_area table {
    width: 100%;
}

.edit_area table th,
.edit_area table td {
    padding: 15px 0 0;
}

.edit_area table th {
    vertical-align: text-top;
    line-height: 36px;
}

.edit_area table tr {
    border-bottom: 1px solid #ccc;
}

.edit_area table tr:last-child {
    border-bottom: none;
}

/*========================================
	ヘッダー部分
========================================*/

div#header {
    width: 100%;
    height: 45px;
    background: #222;
    margin-bottom: 50px;
    position: fixed;
    z-index: 100;
}

div#header .black_line_title {
    max-width: 800px;
    color: #fff;
    padding: 0 20px;
    margin: 0 auto;
    position: relative;
}

div#header h1 {
    display: inline-block;
    font-size: 24px;
    padding: 0;
    margin: 0;
    padding-top: 4px;
}

div#header h1 span {
    font-size: 12px;
    font-weight: normal;
    padding-left: 5px;
}

div#header a.title_button {
    display: inline-block;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    padding: 0;
    margin: 0;
    padding-top: 4px;

}

div#header a.title_button:hover {
    color: #96c6da;
}

div#header a.title_button:active {
    color: #009bda;
}

div#header a.title_button span {
    font-size: 12px;
    font-weight: normal;
    padding-left: 5px;
}

div#header a.logout_button {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    position: absolute;
    right: 20px;
    /*right: 80px;*/
    top: 12px;
}

div#header a.logout_button:hover {
    color: #96c6da;
}

div#header a.logout_button:active {
    color: #009bda;
}

div#header a.help_button {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    position: absolute;
    right: 130px;
    top: 12px;
}

div#header a.help_button:hover {
    color: #96c6da;
}

div#header a.help_button:active {
    color: #009bda;
}

#page_reload {
    filter: alpha(opacity=43);
    z-index: 101;
    position: fixed;
    top: 5px;
    right: 15px;

}

/*========================================
	フッター部分
========================================*/

div#footer {
    width: 100%;
    background: #222;
    margin: 0;
    padding: 0;
    padding: 10px 0;
    margin-top: 50px;
    text-align: center;
}

div#footer span {
    color: #fff;
    font-size: 14px;
}

/*========================================
	ブラウザ幅でのデザイン変更
========================================*/

@media screen and (max-width: 768px) {
    .chat_input_area > .chat_text_input {
        width: 80%;
    }
}

@media screen and (max-width: 500px) {
    .qrcode_area {
        position: static;
        text-align: center;
        margin-left: 0px;
    }

    button {
        width: 100%;
    }

    div#header {
        margin-bottom: 10px;
    }

    .member .edit_area .add_list button.delete_button {
        width: 36px;
    }
}

@media screen and (max-width: 480px) {
    .chat_input_area > .chat_text_input {
        width: 70%;
    }
}

/*=============================================
    ローディング用
=============================================*/
#loading {
    display: none;
    width: 220px;
    height: 60px;
    line-height: 60px;
    margin: -68px 0 0 -68px;
    padding: 0 20px;
    background: #333;
    color: #fff;
    border-radius: 15px;
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 10;
}

.fadeout {
    z-index: 1;
    opacity: 0.9;
}