@charset "UTF-8";
/*医療保険比較ページ*/

#s-navi{z-index:10}

/*ヘルプ*/

button {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  outline: none;
  border-radius: 0;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  z-index: 11;
}

.modal-window {
  display: none;
  position: fixed;
  top:50%;
  left: 50%;
  transform: translate(-50%, -50%);
 	width: 70vw;
  max-height: 600px;
  max-width: 600px;
  background-color: #fff;
  border-radius: 5px;
  z-index: 11;
  padding: 0 2rem 20px;
  overflow:scroll;
}
.button-close {
  position: absolute;
  top: 15px;
  right: 0;
  transform: translate(-50%, -50%);
  cursor: pointer;
}
.button-open {
  margin: 0 auto;
  cursor: pointer;
}

/**/

/*スクロールバーの軌道*/
.mainbox table a[target=_blank]:not([href*=insweb]) {
    position: inherit;
}

.comparison.result::-webkit-scrollbar-track {
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
}

/*スクロールバーの動く部分*/
.comparison.result::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 50, .5);
  border-radius: 10px;
  box-shadow:0 0 0 1px rgba(255, 255, 255, .3);
}


/* sticky table */
.post .comparison.result{
	overflow-x:auto;
	max-width:1080px;
  max-height:2340px;
	/*position:relative;*/
	z-index:0;
	border:1px solid #ccc;
}
.post .comparison.result::before{
	content:'';
	position:absolute;
	width:2px;
	height:100%;
	left:-1px;
	top:0;
	background:#ccc;
	z-index:0;
}
/*横*/
.post .comparison.result table thead th:first-child,
.post .comparison.result table tbody th:first-child{
	position: -webkit-sticky;
	position: sticky;
	left: 0;
	z-index:0;
}
/*縦*/
.post .comparison.result table tbody tr:first-child td,
.post .comparison.result table tbody tr:first-child th{
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 0;
}
.post .comparison.result table tbody tr:first-child th{
	z-index: 1;
}

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

.post .comparison.result table{
	margin:0;
	/*transform: translateX(-1px);*/
}
.post .comparison.result table th{
	width:100px;
    min-width: 100px;
    max-width: 140px;
	box-sizing: border-box;
	/*left: -1px;*/
}
.post .comparison.result table td{
	min-width: 100px;
	box-sizing: border-box;
}
.post .comparison.result table tbody th.rowspan {
    min-width: 30px;
    left: 108px;
}
.post .comparison.result table tbody th.rowspan::before {

}

.post .comparison.result table thead th,
.post .comparison.result table tbody th{
	font-weight: normal!important;
    background: #dff4ff!important;
    font-size: 13px;
	text-align:left;
}

.post .comparison.result table tbody td{
	line-height:1.4;
	background:#fff;
}
.post .comparison.result table tbody tr:nth-child(even) td {
    background: #f9f9f9;
}
.post .comparison.result > table > tbody > td:nth-of-type(1){
	border-left:1px solid #ccc!important;
}

.post .comparison.result table tr.company-name td{
	font-size:16px;
  font-weight:bold;
}
.post .comparison.result table tr.company-name img{
	display:block;
	margin:auto;
}

.post .comparison.result table tr.Interlocking th,
.post .comparison.result table tr.Interlocking td,
.post .comparison.result table tr.Interlocking + tr th,
.post .comparison.result table tr.Interlocking + tr td{
	border-bottom-style:dotted;
}
.post .comparison.result table tr.Interlocking + tr th,
.post .comparison.result table tr.Interlocking + tr + tr th{
	text-indent:1.5em;
}
.comparison.result table p{
	font-size:14px!important;
}

	
/* 文字色 */
.comparison.result .txtRed{
	color:#ff97a8;
	line-height:1;
	font-weight:bold;
	font-size:1.5rem;
	font-family: 'Hiragino Kaku Gothic ProN';
}
.comparison.result strong.txtRed{
	color:#ff3758;
}

.comparison.result .txtGreen{
	color:#8fe080;
	line-height:1;
	font-size:2rem;
	font-family: 'Hiragino Kaku Gothic ProN';
}
.comparison.result .txtLarge{
	font-size:125%;
}

/*ボタン*/
.app-btn a{
	display:block;
	padding:10px;
	color:#fff;
	background: rgb(227,45,75);
	background: linear-gradient(0deg, rgba(227,45,75,1) 0%, rgba(237,53,83,1) 50%, rgba(255,77,106,1) 100%);
	border:1px solid #c02a43;
	border-radius:5px;
	box-shadow:0 2px 0 #c02a43;
	white-space:nowrap;
	font-size:.5rem;
	font-family: 'Hiragino Kaku Gothic ProN';
}
.app-btn a:hover{
	color:#fff!important;
}
.app-btn a strong{
	font-size:1rem;
}

.app-btn:nth-of-type(2) a{
  margin-top: 5px;
    background: #97d2f1;
    background: linear-gradient(0deg,#6db0d3 0%,#79c2e9 50%,#97d2f1 100%);
    border: 1px solid #54a3cd;
    box-shadow: 0 3px 0 #3183af;
}

.call{
  display:flex;
  align-items: flex-start;
	max-width:640px;
  margin:0 auto 20px;
  padding:20px;
  border-radius:5px;
}
.call img{
	width: 7vw;
  max-width: 60px;
  min-width:30px;
  margin: 0 10px 10px 0;
}
.call dt{
	font-size: 21px}

/*--RANKING--*/
#ranking{
padding:10px;
background:#ecf8ff;
}

.flexbox {
display: flex;
}

.tab-area {
 width: 100%;
 margin: auto;
 flex-wrap: wrap;
 display: flex;
}
.tab-label {
 width: calc(100%/2);
 height: 50px;
 background-color: #f2f2f2;
 line-height: 50px;
 font-size: 15px;
 text-align: center;
 display: block;
 float: left;
 order: -1;
  border-radius:10px 10px 0 0;
  border-bottom:1px solid #419fea;
}
input[name^="tab-name"] {
 display: none;
}
input:checked + [class^="tab-label"] {
 color: aliceblue;
 font-weight: bold;
 font-size: 20px;
 background-color: #419fea;
}
.tab-content {
 display: none;
 width:100%;
}
input:checked + [class^="tab-label"] + .tab-content {
 display: block;
}
details summary {
  display:flex;
  margin-bottom: 5px;
  padding: 5px 0px 5px 10px;   
 list-style: none;
 cursor: pointer;
 color: #00297c;
 font-weight: bold;
 font-size: 16px;
 background: #ecf8ff;
 border-radius: 5px;
}
details summary.content::-webkit-details-marker {
 display: none;
}
details summary:before {
  display: flex;
  align-items: center;
  margin-right: 5px;
  content: "\f0fe";
  font-family: FontAwesome;
}
details[open] summary:before {
  content: "\f146";
  font-family: FontAwesome;
}

/* -360px
---------------------------------------------------------------*/
@media print, screen and (max-width: 359px){
.modal-window {
  max-height: 440px;}
}
/* -599px
---------------------------------------------------------------*/
@media print, screen and (max-width: 599px){
.call dt{
	font-size:calc(1.125rem + ((1vw - 3.2px) * 1.0714));}
}
/* 600px-
---------------------------------------------------------------*/
@media print, screen and (min-width: 640px){
.call {
  align-items: center;}
}

/* 960px-
---------------------------------------------------------------*/
@media print, screen and (min-width: 960px){

}