@charset "UTF-8";

/* 特長
========================================================================== */

.txt-bg--type01 {background-color: #26a08f;}
.txt-bg--type02 {background-color: #ed7978;}
.txt-bg--type03 {background-color: #0079c3;}

.box-flow {
	text-align: center;
}
.box-flow__q {
	font-size: 1.6rem;
	padding: 10px;
	margin: 10px auto 0;
	border: 2px solid #ccc;
	border-radius: 10px;
}
.box-flow__ans {
	display: flex;
	gap: 0 10px;
	font-weight: bold;
}
.box-flow__ans > div {
	width: 100%;
}
.box-flow__ans > div p:first-child{
	position: relative;
	display: inline-block;
	line-height: 1.2;
	padding: 10px 20px 5px;
	margin: 0 0 25px;
	background-color: #b3b3b3;
}
.box-flow__ans > div p:first-child::before{
	position: absolute;
	content: '';
	display: block;
	width: 0;
	height: 0;
	bottom: -30px;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	border-top: 25px solid #b3b3b3;
	border-left: 65px solid transparent;
	border-right: 65px solid transparent;
	z-index: -10;
}
.box-flow__ans > div p:last-child{
	display: block;
	font-size: 1.6rem;
	padding: 10px;
	background-color: #e6e6e6;
	border-radius: 10px;
}

.box-flow__ans > div:first-child p:first-child{
	color: #fff;
	background-color: #e62600;
}
.box-flow__ans > div:first-child p:first-child::before {
	border-top: 25px solid #e62600;
}
.box-flow__ans > div:first-child p:last-child{
	color: #fff;
	background-color: #ee4b2b;
}

@media screen and (min-width: 768px){
	.box-flow__ans {
		gap: 0 20px;
	}
	.box-flow__q,
	.box-flow__ans > div p:last-child {
		font-size: 1.8rem;
		padding: 15px 20px;
	}
}

/* 区分料率適用特約 */
.sec-type03 .ttl-bg {
	color: #0079c3;
	background-color: #ecf2fa;
}
.sec-type03 .ttl-bold {
	color: #0079c3;
}
.sec-type03 .ttl-square::before {
	color: #0079c3;
}

.box-flow__q-list li{
	text-align: left;
	padding-top: 10px;
	margin-top: 10px;
	border-top: 1px dashed #ccc;
}
.q-list__ttl{
	color: #0079c3;
	font-weight: bold;
	margin-bottom: 10px;
}
.q-list__ttl .txt-bg{
	background-color: #0079c3;
}
.q-list__txt {
	font-size: 1.4rem;
}
@media screen and (min-width: 768px) {
.box-flow__q-list li{
	display: flex;
	padding-top: 15px;
	margin-top: 15px;
}
.q-list__ttl {
	width: 200px;
}
.q-list__txt {
		font-size: 1.6rem;
		margin-top: 5px;
	}
}


/* BMI */
.tbl-bmi th {
	font-weight: bold;
	background-color: #e6e6e6;
	width: 20%;
}
.tbl-bmi td:nth-child(odd) {
	background-color: #f7f7f7;
}
@media screen and (max-width:767px) {
	.tbl-bmi {
		display: block;
		overflow: scroll;
		border-left: 1px solid #ccc;
	}
	.tbl-bmi tr th:first-of-type {
		position: sticky;
		top: 0;
		left: 0;
		border-left: none;
		box-shadow: 4px 0 6px -2px rgb(0 0 0 / 10%);
		z-index: 10;
	}
	.tbl-bmi tr th:first-of-type::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		border-right: 1px solid #ccc;
	}
	.tbl-bmi tr th:first-of-type {
		min-width: 100px;
	}
	.tbl-bmi tr td:first-of-type {
		border-left: none;
	}
}


/* 保障内容・保険料例
========================================================================== */
.tbl-main,
.tbl-opt {
	border-top: none;
}
.tbl-main thead th,
.tbl-opt thead th,
.tbl-price thead th {
	color: #fff;
	font-weight: bold;
	border-top: 1px solid #ccc;
}
@media screen and (min-width: 768px) {
	.tbl-main thead tr:first-child th span,
	.tbl-opt thead tr:first-child th span,
	.tbl-price thead tr:first-child th span {
		font-size: 1.8rem;
	}
}

.th--plan01 {background-color: #26a08f;}
.th--plan02 {background-color: #ed7978;}
.th--plan03 {background-color: #0079c3;}

.tbl-price thead .th--plan01_sub {color: #26a08f;}
.tbl-price thead .th--plan02_sub {color: #ed7978;}
.tbl-price thead .th--plan03_sub {color: #0079c3;}

.th--age {background-color: #666666;}
.th--sex {background-color: #808080;}

.tbl-main thead .th--none,
.tbl-opt thead .th--none {
	border-top: none;
	border-left: none;
}

.td--off {color: #999!important; background-color: #fafafa;}


/* 基本保障（主契約）
-------------------------------------------------------------------------- */
.tbl-main tbody th {
	position: relative;
	font-weight: bold;
	text-align: left;
}
@media screen and (min-width: 768px) {
	.tbl-main tbody th {
		font-size: 1.8rem;
	}
}

.tbl-main .th--main01 {
	color: #0d9986;
	background-color: #e3f2ef;
}
.tbl-main .th--main02 {
	color: #eb5c59;
	background-color: #fce8e5;
}
.tbl-main .th--main03 {
	color: #0079c3;
	background-color: #ecf2fa;
}
.tbl-main tr:has(.th--main01) td .price {color: #0d9986;}
.tbl-main tr:has(.th--main02) td .price{color: #eb5c59;}
.tbl-main tr:has(.th--main03) td .price {color: #0079c3;}
.tbl-main tr:has(.th--main01) td .txt-bg {color: #0d9986; border: 1px solid #26a08f;}
.tbl-main tr:has(.th--main02) td .txt-bg{color: #eb5c59; border: 1px solid #ed7978;}
.tbl-main tr:has(.th--main03) td .txt-bg {color: #0079c3; border: 1px solid #0079c3;}

.tbl-main .th--main01 .q-icon {background-color: #26a08f;}
.tbl-main .th--main02 .q-icon {background-color: #ed7978;}
.tbl-main .th--main03 .q-icon {background-color: #0079c3;}
#modal-main01 .ttl-bg {color: #fff; background-color: #26a08f;}
#modal-main02 .ttl-bg {color: #fff; background-color: #ed7978;}
#modal-main03 .ttl-bg {color: #fff; background-color: #0079c3;}
#modal-main03 .ttl-bold {color: #0079c3;}

.tbl-main .txt-bg {
	margin: 0;
	background-color: #fff;
}

@media screen and (max-width: 767px) {
	.tbl-main thead th {
		display: none;
	}
	.tbl-main tbody th,
	.tbl-main tbody td {
		border-top: 1px solid #ccc;
	}
	.gan_tate .select-plan {
		padding: 0;
		margin: 10px auto 15px;
	}
	.gan_tate .select-plan li {
		border: 1px solid #ccc;
		border-radius: 10px;
		overflow: hidden;
	}
	.gan_tate .select-plan li a {
		position: relative;
		font-size: 1.5rem;
		padding: 34px 8px 8px;
	}
	.gan_tate .select-plan li a::before{
		content: "";
		display: block;
		position: absolute;
		top: 8px;
		left: 50%;
		transform: translateX(-50%);
		width: 18px;
		height: 18px;
		background-color: #f2f2f2;
		border: 1px solid #999999;
		border-radius: 50%;
		-webkit-box-shadow: 0 6px 1px -4px rgba(0,0,0,0.2) inset;
		-moz-box-shadow: 0 6px 1px -4px rgba(0,0,0,0.2) inset;
		box-shadow: 0 6px 1px -4px rgba(0,0,0,0.2) inset;
	}
	.gan_tate .select-plan li.select-plan__on::before{
		border: none;
	}
	.gan_tate .select-plan li.select-plan__on::after{
		content: "";
		display: block;
		position: absolute;
		top: 13px;
		left: 50%;
		transform: translateX(-50%);
		width: 8px;
		height: 8px;
		background: #515050;
		border-radius: 50%;
	}

	.gan_tate .select-plan .select-plan__on{
		border: none;
	}
	.gan_tate .select-plan .select-plan__on a {
		color: #fff;
	}
	.gan_tate .select-plan .select-plan__on a#plan1,
	.gan_tate .select-plan li.select-plan__on:has(#plan1)::after {background: #26a08f !important;}
	.gan_tate .select-plan .select-plan__on a#plan2,
	.gan_tate .select-plan li.select-plan__on:has(#plan2)::after {background: #ed7978 !important;}
	.gan_tate .select-plan .select-plan__on a#plan3,
	.gan_tate .select-plan li.select-plan__on:has(#plan3)::after {background: #0079c3 !important;}
}


/* 付加できるオプション（特則・特約）
-------------------------------------------------------------------------- */
.tbl-opt tbody th {
	color: #fff;
	text-align: left;
	background-color: #666;
}
@media screen and (min-width: 768px) {
	.tbl-opt tbody th {
		font-size: 1.6rem;
	}
}

.tbl-opt td:nth-child(2) {color: #26a08f;}
.tbl-opt td:nth-child(3) {color: #ed7978;}
.tbl-opt td:nth-child(4) {color: #0079c3;}

@media screen and (max-width: 767px) {
	.tbl-opt th,
	.tbl-opt td {
		padding: 10px 5px;
	}
}


/* 保険料例
-------------------------------------------------------------------------- */
.tbl-price thead .th--age {
	color: #333;
	background-color: #fff;
}
.tbl-price tbody th {
	color: #fff;
}
.tbl-price tbody tr:nth-child(odd) td {
	background-color: #fafafa;
}

@media screen and (max-width:767px) {
	.tbl-price {
		position: relative;
		overflow: scroll;
		display: block;
		border-top: none;
		border-left: 1px solid #cccccc;
		border-right: 1px solid #cccccc;
	}
	.tbl-price th,
	.tbl-price td {
		border-right: 1px solid #cccccc;
		border-left: none;
	}
	/*スクロール画像表示*/
	.tbl-price:not(.scrolled)::after {
		content: " ";
		position: absolute;
		top: 80px;
		left: 0;
		right: 0;
		display: block;
		width: 140px;
		height: 120px;
		margin: auto;
		background-image: url('../../img/common/img_tbl-arrow.svg');
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
		opacity: 0.6;
		z-index: 100;
	}
	/*---画像表示なし---*/
	.tbl-price.no-arrow::after {
		content: none!important;
	}

	.tbl-price thead .th--age,
	.tbl-price tbody .th--age,
	.tbl-price tbody .th--sex {
		position: sticky;
		position: -webkit-sticky;
		top: 0;
		left: 0;
		border-left: none;
		border-right: none;
	}
	.tbl-price thead .th--age::before,
	.tbl-price tbody .th--age::before,
	.tbl-price tbody .th--sex::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		border-right: 1px solid #ccc;
	}
	.tbl-price .col1, .tbl-price .col2 {
		width: 60px;
		min-width: 60px;
	}
	.tbl-price thead .th--age {
		width: 120px;
		min-width: 120px;
	}
	.tbl-price tbody .th--sex {left: 60px;}
	.tbl-price thead th:last-of-type, .tbl-price tbody td:last-of-type {border-right: none;}
	.tbl-price td {
		width: 80px;
		min-width: 80px;
	}
}