
* {
	box-sizing: border-box;
}

#footer {
	display: none;
}
.enqname {
	display: none;
}

/* SAMAの選択肢文字列のインデント調整 flex使用 */
label.sama {
	display: block;
	display: flex;
	text-indent: 0 !important;
	padding-left: 0 !important;
}
label.sama > span.code {
	flex: 0 0 2.5rem;
	width: 2.5rem;
/*	display: block;
	display: inline-block; */
	text-align: right !important;
	margin-right: 0 !important;
	white-space: pre;
}
label.sama > span.str {
	flex: 1;
}
table.branch_sa {
	width: 100%;
}
table.branch_sa tr td:first-child {
	width: 1.3rem;
}
table.branch_sa tr td:last-child {
	width: calc(100% - 1.3rem);
}
table.branch_ma {
	width: 100%;
}
table.branch_ma tr td:first-child {
	width: 1.3rem;
}
table.branch_ma tr td:last-child {
	width: calc(100% - 1.3rem);
}
.ostr {
	display: inline-block;
	margin-left: 2.5rem;
}
.ostr2 {
	display: inline-block;
	margin-left: 2.5rem;
	white-space: nowrap;
}

.qtitle_flex {
	background-color: #def;
	padding: 5px;
	margin: 5px 0;
	font-size: 16px;
	display: flex;
}
.qtitle2_flex {
	background-color: #f0f6ff;
	padding: 5px;
	margin:5px 0;
	display: flex;
}
.qnum_flex {
	flex: 0 1 auto;
	padding-right: 1rem;
	white-space: nowrap;
}
.qstr_flex {
	flex: 1 1 auto;
}
.ten {
	display: inline-block;
	width: 1em;
	height: 1em;
	overflow: hidden;
	margin-top: -0.9em;
	margin-left: 0.9em;
}

@media screen and (min-width: 1124px) {

	h1.enqname {
		margin: 0 0 30px;
/*		background: #23b8bc; */
		padding: 20px;
/*		color: #fff; */
	}
	.enq_name_dsp_sub {
		font-size: 1.2rem;
		font-weight: normal;
	}
	.hline {
		width: 700px;
		margin: 20px auto 10px;
		padding: 10px;
		background: #187c7e;
		font-weight: bold;
		color: #fff;
		text-align: center;
	}

	h1.enqname {
		width: 1000px;
		margin: 10px auto 30px;
		background-image: url(../img/bg.png);
		background-repeat: no-repeat;
	}
	h1.enqname img {
		height: 4rem;
		width: auto;
	}
	table > thead > tr > th.code_v {
		line-height: 1em;
		vertical-align: top !important;
		text-align: center !important;;
		font-weight: bold;
	}
	label.matrix {
		padding: 0.8em;
	}
	.tbl thead th div.line2 {
		display: inline-block;
		text-align: center;
		width: 1rem;
	}

	.tbl > thead > tr > th:has(> div.line1) {
		display: flex; /* 子要素を横方向に並べる */
		align-items: flex-start; /* 上辺に揃える */
		justify-content: center; /* 横方向の中央寄せ */
	}
	.tbl > thead > tr > th > div.line1,
	.tbl > thead > tr > th > div.line2 {
		float: left;
		text-align: center;
		width: 1.1rem;
	}
	.tbl > thead > tr > th > div.line2 {
		margin-left: 0.4rem;
	}

	#tbl-Q10-1 thead tr:first-child th:first-child,
	#tbl-Q10-2 thead tr:first-child th:first-child {
		width: 14em;
	}
	td.cross {
		position: relative;
	}
	td.diagonal {
		background-image: linear-gradient(to left top, transparent calc(50% - 0.5px), #666 50%, #666 calc(50% + 0.5px), transparent calc(50% + 1px)) !important;
	}
	label.matrix .btn_radio,
	label.matrix .btn_checkbox {
		margin-right: 0;
	}
}

@media screen and (max-width: 1123px) {

	.tbl_sp tbody tr td:first-child {
		background: #f0f8ff !important;
	}
	table.tbl:not(.tbl_sp) tbody tr td:first-child {
		background-color: #fff !important;
	}

	h1.enqname {
		margin: 10px 10px 20px 10px;
/*		background: #fff; */
		padding: 15px;
/*		color: #fff; */
		font-size: 1.4rem;
	}
	.enq_name_dsp_sub {
		font-size: 1rem;
		font-weight: normal;
	}
	.hline {
		max-width: 700px;
		margin: 20px auto 10px;
		padding: 10px;
		background: #187c7e;
		font-weight: bold;
		color: #fff;
		text-align: center;
	}

	h1.enqname img:not(:first-child) {
		height: 4rem;
		margin-bottom: 0.5rem;
		width: auto;
	}
	h1.enqname img:nth-child(2) {
		margin-right: 1rem;
	}
	h1.enqname img:first-child {
		height: 4rem;
		margin-top: 0.5rem;
		margin-right: 2rem;
	}
	label.matrix .code {
		margin-left: 0rem;
		margin-right: 1rem !important;
		width: 1.5rem !important;
		text-align: right;
	}

}

.qbranch_post,
div.caution {
	background: none !important;
	border: 0 !important;
	color: #333 !important;
	font-size: 0.85em;
}

span.datetime {
	font-size: 0.72rem !important;
}

.font_size_sw {
	display: none;
}

.btn_order {
	display: inline-block;
/*	border: 2px #999 solid; */
	border-radius: 12px;
	margin: 4px;
	padding: 4px 8px;
	background: lightblue;
	cursor: pointer;
	width: calc(100% - 26px);
}
.btn_order:hover {
	background: #edc;
}
.btn_order_clear {
	display: inline-block;
/*	border: 2px #999 solid; */
	border-radius: 12px;
	margin: 4px;
	padding: 4px 8px;
	background: #ddd;
	cursor: pointer;
}
.btn_order:hover,
.btn_order_clear:hover {
	background: #eee;
}


.code {
	width: 2rem !important;
	margin-right: 0 !important;
/*
	display: none !important;
*/
}

.info table {
	margin: 20px auto 0;
	font-size: 0.9rem;
}
.info table td {
	font-size: 0.9rem;
}
.annotation {
	margin: 20px auto;
	font-size: 0.9rem;
	max-width: 600px;
}
/*
img {
	max-width: 100%;
}
.btn_save,
.btn_prev {
	display: none !important;
}
*/

#Q1-no_available_area {
	text-align: center;
}

.caution {
	color: red !important;
	font-size: 1rem;
}
ol li {
	margin-bottom: 10px;
}
div.sel {
	text-align: center;
	margin: 20px 0;
}
.btn_agree,
.btn_disagree {
	width: 18rem;
}
.section {
	font-size: 1.2rem;
/*	background: gold; */
	line-height: 1.2rem;
	padding: 0.5rem;
	background: #369;
	color: #fff;
/*	border-bottom: 6px #369 double; */
	text-align: left !important;
}
/*
.qsec2 {
	color: #0070c0;
	text-align: center;
	margin: 30px 0;
	border: 5px #0070c0 double;
	padding: 4px;
	font-weight: normal;
	font-size: 20px;
}
.qsec2 {
	text-align: center;
	margin: 30px 0;
	border: 1px #999 solid;
	border-radius: 16px;
	padding: 12px;
	font-weight: normal;
	font-size: 1rem !important;
	text-align: left !important;
}
*/
.qsec2 {
	margin: 30px 0;
	font-weight: bold;
	font-size: 1.2rem !important;
	text-align: left !important;
}

input[type=number] {
	text-align: center;
}
.caution_after_section {
	margin-bottom: 20px;
	color: #000 !important;
}

.qsec3 {
	font-weight: bold;
}
.file_thumb {
	width :170px;
}
.sa_clear {
	display: none;
}
.caution {
	font-size: 0.85rem;
}
.indent1 {
	text-indent: -1rem;
	margin-left: 1rem;
}
#question-Q4-1 .qtitle,
#question-Q4-2 .qtitle,
#question-Q4-3 .qtitle,
#question-Q4-4 .qtitle,
#question-Q5-1 .qtitle,
#question-Q5-2 .qtitle,
#question-Q5-3 .qtitle,
#question-Q5-4 .qtitle {
	background-color: #f6f6f6 !important;
}
.btn_save {
	display: none;
}
#navi37 .end_message {
	display: block;
}

table.tbl0 {
/*	width: 99%; */
	border-collapse: collapse;
	border: 6px #fff solid;
}
table.tbl0 th {
	padding: 4px;
	border: 6px #fff solid;
	background-color: #bbe3f9;
	font-weight: normal;
	text-align: left;
/*	width: 40%; */
}
table.tbl0 td {
	padding: 4px;
	border: 6px #fff solid;
/*	width: 60%; */
}
span.code {
	font-weight: bold;
}
.box {
	display: inline-block;
	margin: 0 0.1rem;
	width: 3rem;
	border: 1px #666 solid;
}
.qbranch_post {
	margin-top: 1.5rem;
}
