/**
 * 質問・オーダーの相談をするボタン
 */
.area_bizcontact {
	display: none;
}
/**
 * 質問・オーダーの相談をするフォーム
 */

#ec-modal-header_bizcontactform {
	font-size: 16px;
	font-weight: 500;
}
#bizcontactform {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100%;
    height: 100%;
}
#bizcontactform .ec-modal-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
}
#bizcontactform .ec-modal-wrap {
    position: relative;
    border-radius: 2px;
    border: 1px solid #333;
    background-color: #fff;
    width: 90%;
    margin: 20px;
    padding: 40px 5px;
}
#bizcontactform .ec-modal-close {
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 20px;
    height: 30px;
    width: 20px;
}
#bizcontactform .ec-modal-box {
    text-align: center;
}
#bizcontactform .ec-role {
	text-align: left;
	margin-top: 20px;
}
#bizcontactform .bizcontact-attention {
	font-size: 0.8em;
	margin-bottom: 20px;
}
#bizcontactform .bizcontact-title {
	font-size: 1.0em;
	margin-bottom: 1em;
}
#bizcontactform .bizcontact-title span {
	font-size: 1.1em;
}
#bizcontactform textarea + ec-grid2,
#bizcontactmsgform textarea + ec-grid2 {
	margin-top: 10px;
}

#bizcontactmsgform {
	margin-top: 20px;
	padding: 0px 10vw;
	padding-top: 30px;
	width: 100%;
	border-top: 1px dotted #ccc;
}
#bizcontactmsgform textarea,
#bizcontactform textarea {
	width: 100%;
	height: 100px;
	margin-bottom: 10px;
}
#bizcontactmsgform .bizcontact_imgblock,
#bizcontactform .bizcontact_imgblock {
	width: calc(100% - 10px);
	height: 50px;
	margin: 3px 5px;
}
#bizcontactmsgform .bizcontact-add-image,
#bizcontactform .bizcontact-add-image {
	height: 40px;
	margin: 0px 5px;
}
#bizcontactmsgform .progress,
#bizcontactform .progress {
	visibility: hidden;
	width: calc(100% - 10px);
	height: 10px;
	margin: 0px 5px;
}
#bizcontactmsgform .bizcontact-thumb,
#bizcontactform .bizcontact-thumb {
	display: none;
	width: calc(100% - 10px);
	height: 50px;
	margin: 3px 5px;
}
#bizcontactmsgform .bizcontact-thumb img,
#bizcontactform .bizcontact-thumb img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}
#bizcontactmsgform .bizcontact-button-submit,
#bizcontactform .bizcontact-button-submit {
	color: #fff;
}
@media only screen and (min-width: 768px) {
#bizcontactmsgform {
	padding: 0px 20%;
}	
	
	#bizcontactmsgform .ec-modal-wrap,
	#bizcontactform .ec-modal-wrap {
	    padding: 40px 10px;
	    width: 50%;
	    margin: 20px auto;
	}
}
/**
 * 質問・オーダー一覧
 */
.bizcontact-table {
	border-collapse: separate;
	border-spacing: 0px 2px;
	border-top: 1px solid #999;
}
.bizcontact-table, .bizcontact-table * {
	box-sizing: border-box;
}
/* 項目 */
.bizcontact-table thead tr {
	font-size: 12px;
}
/* 一行 */
.bizcontact-row { cursor: pointer; }
.bizcontact-row td { border-top: 1px solid #999; border-bottom: 1px solid #999; background-color: #fff; vertical-align: middle; }
.table>tbody>tr.bizcontact-row>td { vertical-align: middle;font-size: 14px;}
.table>tbody>tr.bizcontact-row>td:nth-of-type(1) {width: 66px;}
.table>tbody>tr.bizcontact-row>td:nth-of-type(n + 3) {width: 15%;}

.bizcontact-row td:first-child { border-left: 1px solid #999; }
.bizcontact-row td:last-child { border-right: 1px solid #999; }
/* 一行：新規受付 */
.bizcontact-row.bizcontactstatus-new td { border-top: 1px solid #ffba00; border-bottom: 1px solid #ffba00; background-color: #fff9e9; }
.bizcontact-row.bizcontactstatus-new td:first-child { border-left: 1px solid #ffba00; }
.bizcontact-row.bizcontactstatus-new td:last-child { border-right: 1px solid #ffba00; }
/* 対応状況 */
.bizcontact-row .bizcontactstatus-new { /* 対応状況：新規受付 */
	display: inline-block;
	width: 100px;
	padding: 2px 5px;
	text-align: center;
	border: 1px solid #ffba00;
	background-color: #fff9e9;
}
.bizcontact-row .bizcontactstatus-progress { /* 対応状況：商談中 */
	display: inline-block;
	width: 100px;
	padding: 2px 5px;
	text-align: center;
	border: 1px solid #9c9;
	background-color: #cfc;
}
.bizcontact-row .bizcontactstatus-close { /* 対応状況：対応済 */
	display: inline-block;
	width: 100px;
	padding: 2px 5px;
	text-align: center;
	border: 1px solid #999;
	background-color: #ccc;
}
.bizcontact-row .bizcontactstatus-hold { /* 対応状況：保留 */
	display: inline-block;
	width: 100px;
	padding: 2px 5px;
	text-align: center;
	border: 1px solid #99c;
	background-color: #ccf;
}
.bizcontact-row .bizcontactstatus-ignore { /* 対応状況：対応しない */
	display: inline-block;
	width: 100px;
	padding: 2px 5px;
	text-align: center;
	border: 1px solid #666;
	background-color: #999;
}
@media only screen and (min-width: 768px) {
/* 項目 */
.bizcontact-table thead tr {
	font-size: 15px;
}
.table>tbody>tr.bizcontact-row>td {font-size: 15px; }
.table>tbody>tr.bizcontact-row>td:nth-of-type(1),
.table>tbody>tr.bizcontact-row>td:nth-of-type(n + 3) {width:auto;}
}
/**
 * 質問・オーダー詳細
 */
.bizcontact-history-title {
	border-bottom: 1px dotted #ccc;
	padding-bottom: 16px;
}
.bizcontact-history-title > a {
	text-decoration: underline;
	color: #808080;
}
.bizcontact-history-body {
	width: 100%;
	margin-top: 20px;
}
/* ボックス */
.bizcontact-history-box {
	width: 70%;
	border: 1px solid #ccc;
	padding: 10px 20px;
	margin: 10px;
	position: relative;
}
/* ボックス内画像 */
.bizcontact-history-box img {
    cursor: pointer;
	max-width: 100px;
}
/* ユーザー(ショップ)名テキスト */
.bizcontact-history-box-username {
	margin-bottom: 0.5em;
}
/* 質問・回答テキスト */
.bizcontact-history-box-message {
}
/* 質問・回答日 */
.bizcontact-history-box-date {
	text-align: right;
	color: #808080;
	font-size: 14px;
	font-family: 'Roboto', sans-serif;
}
/* ショップ側ボックス */
.bizcontact-history-box.member {
	margin-left: 10px;
	margin-right: auto;
	background: #f4f4f4;
	border-radius: 2px;
}
.bizcontact-history-box.member:before, .bizcontact-history-box.member:after { content: ""; position: absolute; bottom: 0; top: 0; width: 0; height: 0; margin: auto; }
.bizcontact-history-box.member:before { top: 28px; left: -24px; margin-top: -12px; border: 12px solid transparent; border-right: 12px solid #f4f4f4; z-index: 2; }
.bizcontact-history-box.member:after { top: 28px; left: -28px; margin-top: -14px; border: 14px solid transparent; border-right: 14px solid #ccc; z-index: 1; }

/* ユーザー側ボックス */
.bizcontact-history-box.customer {
	margin-left: auto;
	margin-right: 10px;
	background: #fff;
	border-radius: 2px;	
}
.bizcontact-history-box.customer:before, .bizcontact-history-box.customer:after { content: ""; position: absolute; bottom: 0; top: 0; width: 0; height: 0; margin: auto; }
.bizcontact-history-box.customer:before { top: 28px; right: -24px; margin-top: -12px; border: 12px solid transparent; border-left: 12px solid #fff; z-index: 2; }
.bizcontact-history-box.customer:after { top: 28px; right: -28px; margin-top: -14px; border: 14px solid transparent; border-left: 14px solid #ccc; z-index: 1; }

/**
 * 画像拡大モーダル
 */
#bizcontact_img_modal .ec-modal-box {
	max-height: 80%;
}
#bizcontact_img_modal .ec-role {
	max-height: 80%;
}
#bizcontact_img_modal .ec-role img {
	width: auto;
	height: auto;
    max-width: 80%;
    max-height: 80%;
}

/**
 * 質問・オーダー一覧(フロント:表示件数)
 */
#page_ueach_biz_contact_mypage_bizcontact .ec-mypageRole .ec-mypagenavRole__counter {
	display: inline-block;
    margin-bottom: 0;
    width: 100%;
}
#page_ueach_biz_contact_mypage_bizcontact .ec-mypageRole .ec-mypagenavRole__actions {
	display: inline-block;
    width: 100%;
    text-align: right;
}
@media only screen and (min-width: 768px) {
	#page_ueach_biz_contact_mypage_bizcontact .ec-mypageRole .ec-mypagenavRole__counter {
	    width: calc(50% - 5px);
	}
	#page_ueach_biz_contact_mypage_bizcontact .ec-mypageRole .ec-mypagenavRole__actions {
	    width: calc(50% - 5px);
	}
}

/**
 * 質問・オーダー詳細(管理画面)
 */
#page_ueach_biz_contact_admin_biz_contact_detail .bizcontact-card {
	padding: 20px;
}