@charset 'utf-8';

* {
	box-sizing: border-box;
}
html {
	display: none;
	font-size: 17px;
	line-height: 1.3rem;
	-webkit-text-size-adjust: 100%;
}
.smaller {
	font-size: 0.8rem !important;
}
ruby {
	white-space: nowrap;
}
ruby > rt,
ruby > rp {
	display: none;
}
ruby[data-ruby] {
	position:relative;
}
ruby[data-ruby]::before {
	content: attr(data-ruby);
	position: absolute;
	left: -2em;
	top: -1.5em;
	right: -2em;
	text-align: center;
	font-size: .6em;
	text-indent: 0;
}

rt {
	font-size: 0.7rem;
}
td.diagonal {
	background-image: linear-gradient(to left top, transparent calc(50% - 0.4px), #666 50%, #666 calc(50% + 0.4px), transparent calc(50% + 1px)) !important;
}

.font_size_sw {
	float: right;
	font-size: 16px;
	margin-right: 30px;
	padding: 4px;
	width: 260px;
	border-radius: 16px;
	border: 4px #ccc double;
}
.font_size_sw span {
	cursor: pointer;
	display: inline-block;
	line-height: 1em;
	margin: 1px;
	padding: 6px;
	background: linen;
}
.font_size_sw span.sel {
	background: #79c397;
}
.font_size_sw span:hover {
	background: #cedd4d;
}
.font_size_sw span.set_size_s {
	font-size: 13px;
}
.font_size_sw span.set_size_m {
	font-size: 17px;
}
.font_size_sw span.set_size_l {
	font-size: 21px;
}

#Q_dsp {
	color: #33f;
}
.clear {
	clear: both;
}
.border0 {
	border: 0;
}
.description {
	border:1px pink solid;
	background-color:#fee;
	padding:6px;
	margin:10px;
	font-weight:bold;
}
.qcond .description {
	margin: 10px 0;
	border: 2px #666 dashed;
/*	background-color: #ffcabf; */
	background-color: #bfe4ff;
	color: #000;
}
.sample,
.example {
/*	display: inline-block; */
	border: 1px #666 solid;
	padding: 4px;
	margin: 4px 0;
	font-weight:normal;
}
.tbl_ffc {
	border: 1px #666 solid;
	padding: 3px;
	background-color:#ffc;
}
.tbl_fcc {
	border: 1px #666 solid;
	padding: 3px;
	background-color:#fcc;
}
table.tbl {
	padding: 0;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
}
table.tbl > thead > tr > th,
table.tbl > tbody > tr > th,
table.tbl > thead > tr > td,
table.tbl > tbody > tr > td {
	border: 1px #666 solid;
	padding: 3px;
}
table.tbl > thead > tr > th,
table.tbl > tbody > tr > th {
	background-color: #cede4a;
	font-weight: normal;
}
table.branch_sa,
table.branch_ma {
	font-size: 1rem;
/*	line-height: 1.3rem; */
	line-height: 1.5rem;
}
table.branch_sa td,
table.branch_ma td {
/*	padding: 2px; */
	vertical-align: top;
}
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%; */
}

.bg_ff0 {
	background-color:#ff0;
}
.bg_ffc {
	background-color:#ffc;
}
.bg_fcc {
	background-color:#fcc;
}
.bg_fff {
	background-color:#fff;
}
.bg_wheat {
	background-color:wheat;
}
tr.even td {
	background-color: #ffc;
}
.direction {
	border: 1px brown dashed;
	margin: 4px 0;
	padding: 6px;
	font-size: 0.8rem;
/*	font-weight: bold; */
	color: brown;
}

.caution {
	color: #006ebc;
	font-size: 0.9rem;
}
.caution .bq {
	color: green;
	border: 1px green dashed;
	margin: 5px 15px;
	padding: 5px;
}
span.code {
/*	display: none; */
	display: inline-block;
	text-align: right;
	width: 1.6rem;
	margin-right: 4px;
}
.privacy_mark {
	font-size: 0.7rem;
	color: #666;
	line-height: 1.1rem;
}
#contents,th,td {
	line-height: 1.6rem;
}
#contents #main .qsec {
	text-align: left;
	font-size: 1.2rem;
	padding: 0.8rem 0.2rem;
	border-radius: 0;
}
.vertical-rl {
	writing-mode: vertical-rl;
	margin-left: auto;
	margin-right: auto;
}
.tcy {
	text-combine-upright: all;
	-webkit-text-combine: horizontal;
}
.double_r {
	border-right: 3px #000 double !important;
}

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

	.sp,
	.sp_block,
	.sp_iblock,
	.sp_tbl,
	.sp_item {
		display: none !important;
	}
	.pc {
		display: inline !important;
	}
	.pc_block {
		display: block !important;
	}
	.pc_iblock {
		display: inline-block !important;
	}
	.pc_tbl {
		display: "" !important;
	}
	.pc_table_cell {
		display: table-cell !important;
	}
	.c_pc,
	.pc_c {
		text-align: center;
	}

	h1 {
		font-size: 1.75rem;
		text-align: center;
		margin: 30px 0;
	}
	ruby[data-ruby]::before {
		left: -2em;
		top: -1.6em;
		right: -2em;
/*		font-size: .55em; */
	}

	#contents #header {
		margin: 40px 0 50px;
	}
	#contents #header #main_title {
		font-size: 1.5rem;
	}
	#contents #header #sub_title {
		display: none;
		font-size: 1.3rem;
	}
	#contents #header #errmsg {
/*		width: 800px; */
	}
	#contents #main .qtype {
		white-space: nowrap;
	}
	.btn {
		-webkit-appearance: none;
		display: inline-block;
		margin: 5px;
		cursor: pointer;
		border: 3px #999 solid;
		border-radius: 0.85rem;
		padding: 4px 20px;
		background-color: #f0f0f0;
		min-width: 120px;
	}
	.btn:hover {
		border: 3px #666 solid;
		background-color: #ffd;
	}
	/* 傍点 */
	.bouten {
		background: top left / 1em .5em repeat-x radial-gradient(circle, black .1em, rgba(0,0,0,0) .15em);
		padding-top: .2em;
	}
	#contents #main .btn:active {
		border: 3px #f33 solid;
	}
	#contents #main .btn_finish {
		border-color: #eb6012 !important;
		background-color: #fff9b0;
		color: #eb6012;
		font-weight: bold;
		margin: 30px 0 0;
	}
	#contents #main .btn_finish:hover,
	#contents #main .btn_finish:active {
		background-color: #fff000;
	}
	#contents #main .btn.btn_chg_stat {
		-webkit-appearance: none;
		display: inline-block;
		margin: 5px;
		cursor: pointer;
		border: 3px #bf9000 solid;
		border-radius: 10px;
		padding: 4px 20px;
		background-color: #ffd966;
		min-width: 120px;
	}
	#contents #main .btn.btn_chg_stat:hover {
		border: 3px gold solid;
		background-color: #ffd;
	}
	#contents #main .btn.btn_chg_stat:active {
		border: 3px gold solid;
		background-color: #ffd;
	}

	#contents #main .progress_bar_area {
		margin: 5px 0 25px 820px;
		width: calc(210px + 4.5rem);
		height: 14px;
	}
	#contents #main .progress_bar {
		float: left;
		width: 200px;
		height: 14px;
	}
	#contents #main .progress_bar_dsp {
		float: right;
		text-align: right;
		color: #006ebc;
		width: 4.5rem;
		height: 14px;
		line-height: 1.1em;
	/*	padding-top: 3px; */
	}

	label {
		display: inline-block;
		padding: 0.25rem 0.6rem;
	}
	input[type=text].otext {
		width: 600px;
	}
	input[type=text].otext2 {
		width: 500px;
	}

	#navi {
		text-align: center;
	}

	table.tbl:not(.no_hilight) > tbody > tr:nth-child(2n-1) {
		background: #dfe1e2;
	}
	#privacy {
		 width: 100px;
		 float: right;
	}

	.th_line1 {
		float: right;
		margin-left: 0em;
		margin-right: 0.2em;
		width: 1rem;
	}
	.th_line2 {
		float: left;
		margin-left: 0.2em;
		margin-right: 0em;
		width: 1em;
	}
	.th_line {
		float: left;
		width: 1em;
	}

	.tbl-Q24 > tbody > tr > th {
		width: 240px;
	}
	#Q24-1-1,
	#Q24-2-1,
	#Q24-3-1,
	#Q24-4-1,
	#Q24-1-2,
	#Q24-2-2,
	#Q24-3-2,
	#Q24-4-2 {
		width: 30rem;
	}
	#tbl-Q24-1 > tbody > tr:nth-child(7) > th:first-child,
	#tbl-Q24-2 > tbody > tr:nth-child(7) > th:first-child,
	#tbl-Q24-3 > tbody > tr:nth-child(7) > th:first-child,
	#tbl-Q24-4 > tbody > tr:nth-child(7) > th:first-child {
		width: 1rem !important;
	}
	#tbl-Q24-1 > tbody > tr:nth-child(7) > th:nth-child(2),
	#tbl-Q24-2 > tbody > tr:nth-child(7) > th:nth-child(2),
	#tbl-Q24-3 > tbody > tr:nth-child(7) > th:nth-child(2),
	#tbl-Q24-4 > tbody > tr:nth-child(7) > th:nth-child(2) {
		min-width: 13.5rem !important;
	}

	#Q24-1-9_9sonota,
	#Q24-2-9_9sonota,
	#Q24-3-9_9sonota,
	#Q24-4-9_9sonota {
		width: c30rem;
	}
	.tbl-Q24 > tbody > tr > td {
		background: #fff !important;
	}

	#G2-1,#G2-2 {
		width: 40rem;
	}

	.modal_dialog {
		display: none;
		width: 700px;
		color: #03ae7a;
		font-weight: bold;
		margin:1.5em auto 0;
		padding:10px 20px;
		border: 8px #03ae7a double;
		background-color: #fff9b0;
		z-index:2;
		position:fixed;
	}

	.nowrap_pc {
		white-space: nowrap;
	}
	#tbl_recommend {
		margin-left: 1rem;
		margin-right: 1rem;
	}
	#tbl_recommend .list {
		white-space: nowrap;
		margin-right: 1rem;
	}
	.cols2 {
		width: 54rem;
		max-width: 1100px;
		margin: 0 auto;
		display: flex;
	}
	.cols2 > .col {
		flex: 1;
	}

}

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

	input[type=text],
	input[type=password],
	input[type=number],
	input[type=email],
	input[type=tel],
	select,
	textarea {
		font-size: 1.15rem;
	}
	.sp {
		display: inline !important;
	}
	.sp_iblock {
		display: inline-block !important;
	}
	.sp_block {
		display: block !important;
	}
	.sp_tbl {
		display: "" !important;
	}
	.sp_item {
		display: inline-block !important;
		border-radius: 4px;
		margin-right: 2px;
		padding: 2px 4px;
		font-size: 0.85rem;
		line-height: 1.3rem;
		background-color: #f0f0f0;
		text-align: center;
/*		border: 1px #999 solid; */
	}
	.pc,
	.pc_block,
	.pc_iblock,
	.pc_tbl,
	.pc_table_cell {
		display: none;
	}

	.form {
		max-width: 99vw;
	}

	.font_size_sw {
		display: none;
	}
	/* 傍点 */
	.bouten {
		background: top left / 1em .5em repeat-x radial-gradient(circle, black .1em, rgba(0,0,0,0) .15em);
		padding-top: .3em;
	}
	#question-Q22 .qtitle .qnum,
	#question-Q22 .qtitle .qstr,
	#question-Q23-1 .qtitle .qnum,
	#question-Q23-1 .qtitle .qstr {
		line-height: 1.6rem !important;
	}


	table.tbl {
		max-width: calc(100% - 2px);
	}

	table.tbl_sp {
		width: 98%;
		border: 0 !important;
	}
	table.tbl_sp > thead {
		display: none;
	}
	table.tbl_sp > tbody > tr > th,
	table.tbl_sp > tbody > tr > td {
		display: block;
		border: 0 !important;
		padding-top: 0;
		padding-bottom: 0;
	}
	table.tbl:not(.tbl_sp):not(.no_hilight) > tbody > tr:nth-child(2n-1) {
		background: #dfe1e2;
	}

	h1 {
		font-size: 1.4rem;
		text-align: center;
		margin: 30px 4px 10px;
	}
	h2,
	h3 {
		margin-left: 4px;
		margin-right: 4px;
	}

	#contents {
		margin: 2px;
	}
	#contents #header {
		margin: 10px 0;
	}
	#contents #header #main_title {
	}
	#contents #header #sub_title {
		display: none;
		font-size: 1.1rem;
	}
	#contents #header #guide {
		font-size: 0.7rem;
	}
	#contents #errmsg ul {
		padding-left: 20px;
	}

	#contents #main {
		margin: 20px 0 0;
	}

	.btn {
		-webkit-appearance: none;
		font-size: 1rem;
		display: inline-block;
		margin: 3px;
		cursor: pointer;
		border: 3px #999 solid;
		border-radius: 0.85rem;
		padding: 4px 10px;
		background-color: #f0f0f0;
	}
	#contents #main .btn_finish {
		border-color: #eb6012 !important;
		background-color: #fff9b0;
		color: #eb6012;
		font-weight: bold;
	}
	#contents #main .btn_finish:hover,
	#contents #main .btn_finish:active {
		background-color: #fff000;
	}
	#contents #main .progress_bar_area {
		margin: 5px 0 15px;
		margin-left: calc(100% - 160px - 4.5rem);
		width: calc(160px + 4.5rem);
		height: 14px;
	}
	#contents #main .progress_bar {
		float: left;
		width: 150px;
		height: 14px;
	}
	#contents #main .progress_bar_dsp {
		float: right;
		text-align: right;
		color: cornflowerblue;
		width: 4.5rem;
		height: 14px;
		line-height: 1.1em;
	/*	padding-top: 3px; */
	}

	select {
		max-width: calc(100% - 5px);
	}
	input[type=text].otext,
	textarea.otext,
	textarea.otext2 {
		width: calc(100% - 2em);
	}
	input[type=text].otext2 {
		margin-left: 1em;
		width: calc(100% - 3em);
	}
	.btn {
		color: #000;
	}
	label {
		display: inline-block;
		padding: 2px;
	}
	table.tbl > thead > tr > th {
		min-width: 1.7rem;
		font-size: 0.9rem;
		line-height: 1em;
	}
	table.tbl > tbody > tr > td:last-child {
		margin-bottom: 10px;
	}
	#privacy {
		 display: block;
		 width: 100px;
	}

	.th_lines_w2 {
		min-width: 2.2em !important;
	}
	.th_line1 {
		float: right;
		font-size: 0.9rem;
		width: 1em;
		line-height: 1em;
	}
	.th_line2 {
		margin: 0em;
		float: left;
		font-size: 0.9rem;
		width: 1em;
		line-height: 1em;
	}
	.th_line {
		margin: 0em;
		float: left;
		font-size: 0.85rem;
		width: 1em;
		line-height: 1em;
	}

	/* ルビが上罫線と重なってしまう問題を解消 */
	#tbl-Q3 tbody tr:nth-child(3) td:first-child .indent_kana,
	#tbl-Q16 tbody tr:nth-child(3) td:first-child .indent_kana,
	#tbl-Q16 tbody tr:nth-child(5) td:first-child .indent_kana,
	#tbl-Q23-2 tbody tr:nth-child(11) td:first-child .indent_kana,
	#tbl-Q24 tbody tr:nth-child(6) td:first-child .indent_kana,
	#tbl-Q24 tbody tr:nth-child(7) td:first-child .indent_kana {
		padding-top: 0.3rem;
	}

	#Q24-1-1,
	#Q24-1-2,
	#Q24-2-1,
	#Q24-2-2,
	#Q24-3-1,
	#Q24-3-2,
	#Q24-4-1,
	#Q24-4-2 {
		box-sizing: border-box;
		width: calc(100% - 6px);
	}
	#G2-1,#G2-2 {
		width: calc(100% - 6px);
	}

	#contents #main table.tbl tbody tr:nth-child(2n) td:first-child {
		background: transparent;
	}

	.cols2 {
		margin: 0 3rem;
	}

}
#footer {
	display: none;
}
#contents #main .question {
	margin-bottom: 2rem;
}
#contents #main .qsec2 {
	text-align: left;
	font-size: 1rem;
}

#contents #main .qtitle {
	margin: 4px 0;
	padding: 8px;
	border: 0;
	background: #fff9b0;
}
.qtitle_flex {
	display: flex;
	flex-direction: row;
	margin: 4px 0;
	padding: 8px;
	border: 0;
	background: #fff9b0;
	overflow: hidden;
}
.qtitle_flex .qnum_flex {
	flex: 0 1 auto;
	white-space: nowrap;
	margin-right: 1rem;
}
.qtitle_flex .qstr_flex {
	flex: 1 1 auto;
}
label > span.code,
label > span.sp > span.code {
	font-weight: bold;
	display: inline-block;
	margin-right: 1rem;
}

table.tbl td.arrow_right {
	border-left-style: dotted;
}

table.tbl td:has(+ td.arrow_right) {
	border-right-style: dotted;
}

table.tbl:has(th.arrow_down) thead tr:not(:last-child) > th:not([rowspan]) {
	border-bottom-style: dotted;
}

table.tbl:has(th.arrow_down) thead tr:not(:first-child) > th:not([rowspan]) {
	border-top-style: dotted;
}
#contents #main #question-Q20-1 .qtitle,
#contents #main #question-Q20-2 .qtitle {
	background: transparent;
}

img.btn_radio,
img.btn_checkbox {
	margin-right: 0;
}
.asterisk {
	font-size: 0.7rem;
}
div.caution {
	color: #000;
}
#error-box {
	background-color: #fff9b0;
	margin: 20px auto 20px;
	border: 6px #eb6012 double;
	padding: 10px;
	color: #eb6012;
	text-align: left;
	font-weight: bold;
}
#error-box ul li {
	margin-left: 0.7rem;
}
#tbl-Q17 thead tr:nth-child(2) th:last-child {
	min-width: 3.6rem;
}
.qsec2 > div {
	margin: 0.2rem;
	padding: 0.4rem;
	border: 1px #000 solid;
}

.qbranch_post {
	margin-top: 0.6rem;
	color: #666;
	font-size: 0.95rem;
}
