
/* tag style */

label { cursor: pointer; }

/* input */
.input_text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6em;
    padding: 8px 15px;
    margin-bottom: 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    /* -webkit-box-shadow: 0 2px 2px 0 #ececec inset;
    -moz-box-shadow: 0 2px 2px 0 #ececec inset;
    box-shadow: 0 2px 2px 0 #ececec inset; */
    border: solid 1px #ced4da;
}

.input_select {
    font-size: 16px;
    font-weight: 400;
    padding: 8px 15px;
    /* height: 2.4em; */
    margin-bottom: 0;
    border: solid 1px #ced4da;
    
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.input_select option { 
    font-size: 16px;
    font-weight: 400;
    padding: 8px 15px;
}
.input_textarea {
    font-size: 16px;
    font-weight: 400;
	line-height: 1.8em;
	padding: 8px 15px;
	height: 10em;
	margin-bottom: 0;
	
	border-top: solid 1px #cdcdcd;
	border-right: solid 1px #eee;
	border-bottom: solid 1px #eee;
	border-left: solid 1px #eee;
	
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}
/* spview */
@media screen and (max-width:767px) {
	
	.input_text{
		width:100% !important;
	}
	.input_select {
        padding: 8px 8px;
    }
	.input_textarea {
		width:100% !important;
	}
}

.input_text:hover,
.input_textarea:hover{
	background:#eee;
}

.input_text:focus,
.input_select:focus,
.input_textarea:focus {
	background:#fff;
	border:solid 1px #FCE865;
	outline:none;
}


.textarea_w24 {
	width: 100%;
	height:8em !important;
}


/* label set checkbox & radio button */
.input_label { font-size: 16px; }
.input_label input[type=checkbox],
.input_label input[type=radio]{
	margin-right:0.5em;
}

.table_form_skill_label {
    white-space: nowrap;
}

/* error style */
.input_text.err,
.input_select.err,
.input_textarea.err,
.input_text.err:focus,
.input_select.err:focus,
.input_textarea.err:focus{
	background:#EFE3E3;
	border:solid 1px #f73b1e;
	outline:none;
}


.non_activ > img,
.non_activ > p,
.non_activ > a,
input.non_activ { opacity: 0.6; }


/* --------------------------------------------------- */
/* table_form */
.table_form {
	width: 100%;
	color: #434343;
	border-top: solid 1px #ced4da;
	margin-bottom: 40px;
	margin-top: 0;
}

.table_form th,
.table_form td {
	padding: 20px 15px;
	vertical-align: top;
	border-bottom: solid 1px #ced4da;
}
.table_form th {
	text-align: left;
	background: #f8f9fa;
    white-space: nowrap;
	position: relative;
}
.table_form th .table_form_item {
    font-size: 15px;
	display: inline-block;
	vertical-align: middle;
}
.table_form th .form_mark {
	display: inline-block;
	vertical-align: middle;
	margin-left: 8px;
}
.table_form td {
    font-size: 16px;
    font-weight: 400;
	background: #FFF;
	padding-top: 20px;
	padding-bottom: 20px;
}

/* フォーム入力欄と下部テキストの間隔を確保 */
.table_form td > input[type="text"],
.table_form td > input[type="email"],
.table_form td > input[type="tel"],
.table_form td > input[type="password"],
.table_form td > select,
.table_form td > textarea {
	margin-bottom: 0;
}

.table_form td > .input_text,
.table_form td > .input_select,
.table_form td > .input_textarea {
	margin-bottom: 0;
}

/* spview */
@media screen and (max-width:767px) {
	
	.table_form {
		display:block;
		width:auto;
		border-top:none;
		border-right:none;
		margin-bottom:2em;
	}
	
	.table_form thead,
	.table_form tbody,
	.table_form tr,
	.table_form th,
	.table_form td {
		display:block;
		width:auto;
	}
	
	.table_form tr { margin-bottom:0; }
	.table_form tr:last-child { margin-bottom:0; }
	
	.table_form th,
	.table_form td {
        border-left: 1px solid var(--border-color);
        border-right: 1px solid var(--border-color);
		border-bottom:none;
	}
	.table_form th {
        padding: 10px 10px;
        border-top: 1px solid var(--border-color);
        /* background: none; */
        display: block;
	}
	.table_form th .table_form_item,
	.table_form th .form_mark {
		display: inline-block;
		vertical-align: middle;
	}
	.table_form td { padding: 10px 10px; }
    .table_form tr:last-of-type td { border-bottom: 1px solid var(--border-color); }
}

/* --------------------------------------------------- */
/* table_form_skill */

.table_form_skill {
	width: 100%;
	color: #434343;
	border-top: 1px solid #ced4da;
	border-right: 1px solid #ced4da;
	margin-bottom:2em;
}

.table_form_skill th,
.table_form_skill td {
    font-size: 16px;
	padding: 0.5em 1em;
	vertical-align:middle;
	border-left: 1px solid #ced4da;
	border-bottom: 1px solid #ced4da;
}

.table_form_skill th {
	text-align: left;
	background: #f8f9fa;
}
.table_form_skill td { text-align:center; }

.table_form_skill thead th {
	background: #fff5e6;
	text-align:center;
}

.table_form_skill td .reset_radio {
    padding: 0.3rem 1rem;
    font-size: 15px;
    box-shadow: none;
}

.table_form_skill td label {
    white-space: nowrap;
}
.table_form_skill td label input[type="radio"] {
    margin-right: 0.25em;
}
.table_form_skill td .table_form_skill_label {
    font-size: 15px;
}
/* spview */
@media screen and (max-width:767px) {
    
    .table_form_skill th,
    .table_form_skill td {
        font-size: clamp(12px, 3.25vw, 14px);
    }
    .table_form_skill td .table_form_skill_label {
        font-size: clamp(12px, 3.25vw, 14px);
    }

    .table_form_skill td .reset_radio {
        font-size: 12px;
        padding: 5px 1em;
    }
}


/* --------------------------------------------------- */
/* .form_item_shikaku */
.form_item_shikaku {}
.form_item_shikaku label {
    font-size: 15px;
}
.form_item_shikaku li {
    padding: 0 0.5em 0.5em 0;
}


/* --------------------------------------------------- */

.table_form_item {
	padding: 0 7px 0 0;
	display: inline-block;
	margin-right: 0;
	vertical-align: middle;
}

.form_mark {
	display: inline-block;
    color: #fff;
    border-radius: 3px;
    padding: 2px 6px;
    background: #ff4d4f;
    font-weight: bold;
    font-size: 11px;
    margin-left: 8px;
    vertical-align: middle;
    line-height: 1.6;
}

/* badge-required スタイル（新フォーム用） */
.badge-required {
	display: inline-block;
	color: #fff;
	border-radius: 3px;
	padding: 2px 6px;
	background: #ff4d4f;
	font-weight: bold;
	font-size: 11px;
	margin-left: 8px;
	vertical-align: middle;
	line-height: 1.4;
}

/* spview */
@media screen and (max-width:767px) {
	.table_form_item {
		display: inline-block;
	}
	
	.form_mark {
		padding: 0px 5px;
		display: inline-block;
	}
}

/* --------------------------------------------------- */

.table_form .note_links,
.table_form .note_error,
.table_form .note_text {
	font-size: 13px;
	margin-top: 8px;
	margin-bottom: 0;
	vertical-align: middle;
	display: block;
}

.note_text { 
	color: #6c757d; 
	margin-top: 8px !important;
	margin-bottom: 0;
	line-height: 1.6;
	font-size: 13px;
}
span.note_text { 
	display: block;
	margin-top: 12px;
}

/* フォームテーブルの改善 */
.detail-table.form-table th {
	position: relative;
	padding-right: 20px;
	white-space: nowrap;
}

.detail-table.form-table th .badge-required,
.detail-table.form-table th .form_mark {
	position: relative;
	margin-left: 8px;
}

.detail-table.form-table td {
	padding-top: 20px;
	padding-bottom: 20px;
}

.detail-table.form-table input[type="text"],
.detail-table.form-table input[type="email"],
.detail-table.form-table input[type="tel"],
.detail-table.form-table input[type="password"],
.detail-table.form-table select,
.detail-table.form-table textarea {
	margin-top: 0;
	margin-bottom: 0;
}

.detail-table.form-table .error-text {
	margin-top: 8px;
	margin-bottom: 0;
	color: #ff4d4f;
	font-size: 14px;
}

.detail-table.form-table .note-text {
	margin-top: 8px;
	margin-bottom: 0;
}

/* note style error */
.note_error { 
	color: #ff4d4f;
	margin-top: 8px !important;
	margin-bottom: 0;
	display: flex !important;
	align-items: baseline;
	font-size: 14px!important;
}

.err_link { color: #fff; }

/* spview */
@media screen and (max-width:767px) {
	
	.note_links,
	.note_error,
	.note_text {
		font-size:72%;
		display:inline-block;
	}
    
    .detail-table.form-table td {
        padding: 10px 0;
    }
}

/* --------------------------------------------------- */

.form_item_ul:before,
.form_item_ul:after { content: " "; display: table; }
.form_item_ul:after { clear: both; }

.form_item_ul { margin:0 -0.5em; }

.form_item_ul li {
	width:50%;
	padding:0 0.5em 0.5em;
	float:left;
}

.form_item_ul.col2 li { width:50%; }
.form_item_ul.col3 li { width:33.33%; }
.form_item_ul.col4 li { width:25%; }
.form_item_ul.col5 li { width:20%; }
.form_item_ul.col6 li { width:16.66%; }
.form_item_ul.col7 li { width:14.28%; }
.form_item_ul.col8 li { width:12.5%; }

.form_item_ul li input,
.form_item_ul li img { vertical-align:middle; }

.form_item_ul .disabled { color:#9d9d9d; }


/* spview */
@media screen and (max-width:767px) {
	
	.form_item_ul li { width:100%; }
	.form_item_ul.col2 li { width:100%; }
	.form_item_ul.col3 li { width:50%; }
	.form_item_ul.col4 li { width:33.33%; }
	.form_item_ul.col5 li { width:33.33%; }
	.form_item_ul.col6 li { width:33.33%; }
	.form_item_ul.col7 li { width:25%; }
	.form_item_ul.col8 li { width:25%; }
}

/* --------------------------------------------------- */

.form_style_iframe {
	overflow: auto;
	height: 200px;
	border: 1px solid #e2e2e2;
	padding: 25px 15px;
	background: #fff;
}

.form_style_iframe::-webkit-scrollbar { height: 5px; }
.form_style_iframe::-webkit-scrollbar-track { border-radius:5px; background: #e2e2e2; }
.form_style_iframe::-webkit-scrollbar-thumb { border-radius:5px; background: #959595; }

/* --------------------------------------------------- */

.oubo_message {}

.oubo_message_log {

	border-top: solid 1px #d2d6de;
	border-right: solid 1px #d2d6de;
	border-bottom: none;
	border-left: solid 1px #d2d6de;

	padding: 1em 1em 2em;
	/*overflow-y: scroll;*/
	/*height: 26em;*/
	
	background: #eee;
}
.oubo_message_log_nomsg {
	color: #bbb;
}

.oubo_message_log_msg {
	
	padding: 1em;
	border: solid 1px #d2d6de;
	background: #fff;
	margin-bottom: 1em;
	-webkit-border-radius: 1em;
	-moz-border-radius: 1em;
	border-radius: 1em;
	box-shadow:0px 0px 4px 0px rgba(0,0,0,0.11);
	-moz-box-shadow:0px 0px 4px 0px rgba(0,0,0,0.11);
	-webkit-box-shadow:0px 0px 4px 0px rgba(0,0,0,0.11);
	position: relative;
}

.oubo_message_log_msg:first-child {
	margin-top: 1em;
}

.oubo_message_log_msg:before,
.oubo_message_log_msg:after {
	
	content: '';
	display: block;
	position: absolute;
	bottom: 1.5em;
	
	border-width: 0.5em 1em;
	border-style: solid;
}

.oubo_message_log_he {
	margin-right: 2em;
	margin-left: 1em;
	background: #f0f6ed;
}
.oubo_message_log_me {
	margin-left: 2em;
	margin-right: 1em;
}

.oubo_message_log_he:before {
	left: -2em;
	border-color: transparent #d2d6de transparent transparent;
	z-index: 10;
}
.oubo_message_log_he:after {
	left: -2em;
	margin-left: 2px;
	border-color: transparent #f0f6ed transparent transparent;
	z-index: 11;
}

.oubo_message_log_me:before {
	right: -2em;
	border-color: transparent transparent transparent #d2d6de;
	z-index: 10;
}
.oubo_message_log_me:after {
	right: -2em;
	margin-right: 2px;
	border-color: transparent transparent transparent #fff;
	z-index: 11;
}


.oubo_message_log_msg_info {
	display: table;
	border-collapse: collapse;
	width: 100%;
	color: #999;
	margin-bottom: 1.5em;
}
.oubo_message_log_msg_info > span {
	display: table-cell;
	font-size: 85%;
	vertical-align: middle;
}
@media screen and (max-width: 767px) {
	.oubo_message_log_msg_info {
		display: block;
		width: auto;
	}
	.oubo_message_log_msg_info > span {
		display: block;
		width: auto;
		text-align: left;
	}
	.oubo_message_log_msg_date {
		margin-top: 0.5em;
	}
}

.oubo_message_log_msg_no {
	margin-right: 1em;
	vertical-align: middle;
}

.oubo_message_log_msg_name {
	
	-webkit-border-radius: 1em;
	-moz-border-radius: 1em;
	border-radius: 1em;
	padding: 0.1em 0.5em;
	vertical-align: middle;
	background: #f4f4f4;
	line-height: 1;
}
.oubo_message_log_he .oubo_message_log_msg_name {
	background: #fff;
}

.oubo_message_log_msg_date {
	width: 20em;
	text-align: right;
}

.oubo_message_log_msg_title {
	font-weight: bold;
	margin-bottom: 0.5em;
}
.oubo_message_log_msg_body {}


.oubo_message_input_title {
	
	border-top: solid 1px #d2d6de;
	border-right: solid 1px #d2d6de;
	border-bottom: none;
	border-left: solid 1px #d2d6de;
}
.oubo_message_input_body {
	
	border: solid 1px #d2d6de;
}

.oubo_message_input_title input[type='text']{
	border: none;
	padding: 0.5em;
	vertical-align: bottom;
}
.oubo_message_input_body textarea {
	border: none;
	padding: 0.5em;
	vertical-align: bottom;
	height: 4em !important;
}
.oubo_message_input_submit {
	background: #d2d6de;
	text-align: center;
}
.oubo_message_input_submit .btn {
	
	display: block;
	width: 100%;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	
	padding-top: 1em;
	padding-bottom: 1em;
}


/* 
* input type="number" *
*/
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* フォーム下部のエリアのスタイル */
.agreement-area {
	margin-top: 30px;
	margin-bottom: 20px;
	padding-top: 0!important;
	border-top: none!important;
}
.submit-area {
	margin-top: 30px;
	margin-bottom: 40px;
	padding-top: 0;
}
@media screen and (max-width:767px) {
    .submit-area {
        padding: 0 0;
        margin: 30px auto 0;
    }
}
