* {
	box-sizing: border-box;
}
a {
	word-break: break-all;
}

#contents #warning-box {
	margin: 6px 3px;
	border: 6px royalblue double;
	padding: 6px;
	color: royalblue;
}
#contents #warning-box .warning_list {
	border: 3px royalblue dotted;
	margin: 0.5rem 0;
	padding: 1rem;
	border-radius: 1.5rem;
}
.p-group .mod_button {
	margin-top: 1rem;
	margin-bottom: -0.5rem;
}
table.branch_sa {
	width: 100%;
}
table.branch_sa tr td:first-child {
	width: 1.3rem;
}
table.branch_sa tr td:last-child {
	position: relative;
	width: calc(100% - 1.3rem);
}
table.branch_sa tr td:last-child label.flex {
	display: flex;
	text-indent: 0;
	margin-left: 0;
	padding-left: 0;
}
table.branch_sa tr td:last-child label.flex .code_flex {
	width: 2.2rem;
	flex-shrink: 0;
}
table.branch_sa tr td:last-child label.flex .str_flex {
	flex-grow: 1;
	text-align: left;
}
table.branch_ma {
	width: 100%;
}
table.branch_ma tr td:first-child {
	width: 1.3rem;
}
table.branch_ma tr td:last-child {
	position: relative;
	width: calc(100% - 1.3rem);
}
table.branch_ma tr td:last-child label.flex {
	display: flex;
	text-indent: 0;
	margin-left: 0;
	padding-left: 0;
}
table.branch_ma tr td:last-child label.flex .code_flex {
	width: 2.2rem;
}
table.branch_ma tr td:last-child label.flex .str_flex {
	flex-grow: 1;
	text-align: left;
}
table.tbl tbody tr td div.flex {
	display: flex;
}
table.tbl tbody tr td div.flex .code_flex {
	width: 2.2rem;
	flex-shrink: 0;
}
table.tbl tbody tr td div.flex .str_flex {
	flex-grow: 1;
	text-align: left;
}

div.fa2 {
	margin-top: -30px;
}
h2.section {
	border: 5px #0070c0 double !important;
	color: #0070c0 !important;
	background: #fff !important;
	font-weight: normal;
	margin: 30px 0;
	padding: 4px !important;
	font-size: 20px !important;
}
.question,
.question0 {
	margin-bottom: 30px !important;
}
.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;
}
.qtitle_flex.sq {
	background-color: #f0f0f0;
}
.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;
	box-sizing: border-box;
	margin-top: -0.5em;
	margin-left: 0.7em;
*/
	transform: translate(60%, -60%);
	transform-origin: top right;
	font-size: 1em;
}
h3 {
	font-size: 1rem;
}
h3.bb {
	color: #0070c0;
	border-bottom: 1px #0070c0 solid;
	font-weight: normal;
}
h4 {
	font-size: 18px;
	font-weight: normal;
	margin: 0 0 10px;
}
div.param {
	margin-left: 25px;
}
ol {
	margin-left: -25px;
}
ol li {
	list-style-type:none;
	list-style-position:inside;
	counter-increment: cnt;
}
ol li:before {
	display: marker;
	content: "(" counter(cnt) ") ";
}
ul {
	margin-left: -1rem;
}
ul li {
	margin-left: 1rem;
}
.na {
	margin: 15px;
	padding: 10px 15px;
	background-color: #f0f6ff;
	border-radius: 12px;
	border: 2px #66f dashed;
}
#contents #main .qcond {
/*	display: none; */
	padding: 0px 6px;
	color: blue;
/*	font-size: 0.85rem; */
	font-weight: normal;
	height: auto;
	text-align: left;
	margin: 0 auto !important;
}
.description0 {
	margin-bottom: 30px;
}
.qtype {
	font-size: 0.8rem;
}

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

	#header {
		height: 54px;
		background: #fff url(../images/header.png) no-repeat top center;
		margin: 10px 0 20px 0;
	}

	h1.enqname {
		margin: 0 0 30px;
/*		background: #23b8bc; */
		padding: 20px;
/*		color: #fff; */
	}
	.hline {
		width: 700px;
		margin: 20px auto 10px;
		padding: 10px;
		background: #187c7e;
		font-weight: bold;
		color: #fff;
		text-align: center;
	}
	.tbl_matrix label {
		padding: 0.5rem !important;
	}
	div.flex {
		margin: 0 auto;
		display: flex;
	}
	div.line {
		width: 1rem;
		margin: 0 0.05rem;
	}
	div.flex.lines2 {
		width: 2.2rem;
	}
	div.flex.lines3 {
		width: 3.3rem;
	}
	div.flex.lines4 {
		width: 4.4rem;
	}
	.matrix_box {
		text-align: center;
	}
	#tbl-F th {
		width: 150px;
		max-width: 150px;
	}
	#F1 {
		width: 20rem;
	}
	#F2-1,
	#F2-2 {
		width: 10rem;
	}
	#F3_118sonota {
		width: calc(100% - 2rem);
	}
	.rows2 {
		float:left;
		width: 430px;
	}
	.rows3 {
		float:left;
		width: 285px;
	}
	textarea.otext {
		width: 500px;
	}

}

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

	#header {
		height: 0;
		padding-top: 21.05%;
		background: #fff url(../images/header2.png) 0 0 no-repeat;
		margin: 0 0 20px 0;
		background-size: contain;
	}

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

	.enqname_pre {
		font-size: 0.85rem !important;
	}
	h1.enqname {
		margin: 0 0 20px;
/*		background: #23b8bc; */
		padding: 15px;
/:		color: #fff; */
		font-size: 1.4rem;
	}
	.hline {
		max-width: 700px;
		margin: 20px auto 10px;
		padding: 10px;
		background: #187c7e;
		font-weight: bold;
		color: #fff;
		text-align: center;
	}
	textarea:not(.otext):not(.otext2),
	textarea:not(.otext_no_delete):not(.otext2) {
		box-sizing: border-box;
		width: 100% !important;
	}
	.matrix_box label {
		display: flex;
		padding: 0.2rem;
	}
	.matrix_box label .btn_flex {
		display: block;
		width: 1.4rem;
	}
	.matrix_box label .sp {
		flex-grow: 1;
		text-align: left;
		display: flex !important;
	}
	.matrix_box label .sp .code_flex {
		display: inline-block;
		margin-top: 0.05rem;
		width: 2.2rem;
		flex-shrink: 0;
	}
	.matrix_box label .sp .str_flex {
		display: inline-block;
		flex-grow: 1;
		margin-top: 0.05rem;
		text-align: left;
	}
	.tbl_matrix tbody tr td:nth-child(2) {
		margin-top: 0.5rem !important;
	}
	.tbl_matrix tbody tr td:last-child {
		margin-bottom: 1.5rem !important;
	}
	#F1 {
		width: calc(100% - 4px);
	}
	#F2-1,
	#F2-2 {
		width: calc(100% - 5rem);
	}
}

div.caution {
	background: none !important;
	border: 0 !important;
}

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: 1.2rem !important;
	margin-right: 0.8rem !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: brown !important;
	font-size: 0.85rem;
}
.required {
	color: red;
	font-weight: bold;
}
ol li {
	margin-bottom: 10px;
}
div.sel {
	text-align: center;
	margin: 20px 0;
}
.btn_agree,
.btn_disagree {
	width: 18rem;
}
/*
.section {
	font-size: 1.1rem;
	background: gold;
	line-height: 1.2rem;
	padding: 12px 0;
}
.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 10px !important;
	padding: 12px 0;
	font-weight: normal;
	font-size: 1.1rem !important;
	text-align: left !important;
	text-decoration: underline;
}

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

.qsec3 {
/*	font-weight: bold; */
	margin: 10px 0;
	padding: 10px;
/*	border: 1px #33f dashed; */
	border-radius: 14px;
	background: linen;
}
.file_thumb {
	width :170px;
}
.sa_clear {
	display: none;
}
/*
.code {
	display: none !important;
}
*/
.btn_s {
	margin: 2px !important;
	font-size: 0.9rem !important;
	padding: 3px 8px !important;
	border-radius: 10px !important;
}
/*
.num {
	text-align: center;
}
*/
.enqname_sub {
	display: none;
	font-weight:normal;
	padding-top:0;
	margin-top:-30px;
	line-height:110%;
}
.hide {
	display: none
}
.branch_post {
	color: #666 !important;
	font-size: 0.9rem;
}
.indent1 {
	text-indent: -1em !important;
	margin-left: 1em !important;
}
.indent2 {
	text-indent: -2em !important;
	margin-left: 2em !important;
}
.indent3 {
	text-indent: -3em !important;
	margin-left: 3em !important;
}
#tbl-F > tbody > tr:nth-child(2) > td > div > table.branch_ma > tbody > tr > td > label {
	text-indent: -2.5rem;
	padding-left: 2.5rem;
}
#tbl-F > tbody > tr:nth-child(2) > td > div > table.branch_ma > tbody > tr > td > label > span.code {
	width: 1.8rem !important;
}
#description0-Q1-18-1,
#description0-Q1-18-2,
#description0-Q1-19-1,
#description0-Q1-19-2,
#description0-Q1-20-1-1,
#description0-Q1-20-2-1 {
	font-weight: bold;
	margin-bottom: 10px !important;
}
#question-Q2-5-1 table.branch_ma tr:nth-child(7) {
	display: none
}
#demo_navi {
	height: 34px;
}
#demo_navi a:hover {
	background: orange;
}
/*
.qcond {
	display: inline-block;
	font-size: 0.85rem;
	padding: 0.2rem;
	background: #f0f0f0;
	color: #333 !important;
}
*/
