@charset "utf-8";

/* アンカーリンク
-------------------------------------------------------------------------*/
.price_nav{
	width: 100%;
	margin: 0 auto 60px;
}
.price_nav ul{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.price_nav ul li{
	width: calc(100%/2 - 30px);
}
.price_nav ul li a{
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
	background: #ade2f9;
	border-radius: 10px;
	font-weight: bold;
	position: relative;
	font-size: 16px;
}
.price_nav ul li a::after{
	content:">";
	position: absolute;
	top:50%;
	transform: translateY(-50%);
	right:10px;
}
.price_nav ul li a:hover{
	transition: all .2s ease-in;
	opacity: 0.6;
}


/*タブデザイン
-------------------------------------------------------------------------*/

/*タブ切り替え全体のスタイル*/
.tabs{
  width: 95%;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  margin: 30px auto;
  box-sizing: border-box;
}

/*タブのスタイル*/
.tab_item,
.tab_item2{
  width: calc(100%/2);
  height: 50px;
  border-bottom: 3px solid #de7d91;
  background-color: #d9d9d9;
  line-height: 50px;
  font-size: 16px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  font-weight: bold;
  transition: all 0.2s ease;
  cursor: pointer;
}
.tab_item:hover,
.tab_item2:hover {
  opacity: 0.75;
}
.tab_item2{
	width: calc(100%/3);
}

/*ラジオボタンを全て消す*/
input[name="tab_item"],
input[name="tab_item2"]{
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 20px 30px;
  clear: both;
  overflow: hidden;
  box-sizing: border-box;
}

/*選択されているタブのコンテンツのみを表示*/
#tab1:checked ~ #tab1_content,
#tab2:checked ~ #tab2_content,
#tab3:checked ~ #tab3_content,
#tab4:checked ~ #tab4_content,
#tab5:checked ~ #tab5_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item,
.tabs input:checked + .tab_item2{
  background-color: #de7d91;
  color: #fff;
}



/*選択フォーム
-------------------------------------------------------------------------*/
.price_wrapp{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 auto;
}
.price_in{
	width: calc(100%/2 - 20px);
}
.tbl_price table tr th,
.tbl_price table tr td{
	padding: 15px;
	box-sizing: border-box;
	font-size: 1.0rem;
}
.tbl_price table tr th{
	text-align: center;
	width: 40%;
}
.tbl_price table tr td select{
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
	font-size: 1.0rem;
}
.price_in button{
	display: block;
	width: 100%;
	padding: 15px;
	text-align: center;
	font-weight: bold;
	font-size: 1.2rem;
	box-sizing: border-box;
	margin: 0 auto 30px;
	background: #de7d91;
	color:#fff;
	border:none;
	border-radius: 10px;
	cursor: pointer;
}
.price_in button:hover{
	transition: all .2s ease-in;
	opacity: 0.6;
}
.result{
	display: block;
	box-sizing: border-box;
	font-size: 1.1rem;
	font-weight: bold;
	text-align: center;
	border:3px solid #ccc;
	padding: 10px;
	line-height: 32px;
	border-radius: 5px;
}
.result span{
	color: red;
	font-size: 1.6rem;
}



/* 施設入所・短期入所の食費・居住費の負担軽減
-------------------------------------------------------------------------*/
.futan_box{
	margin: 0 auto 50px;
}
.futan_box ol{
	list-style-type: none;
	counter-reset: item;
	margin: 0 auto 30px;
	font-size: 0.9rem;
	position: relative;
}
.futan_box ol li{
	margin-bottom: 20px;
	padding-left: 40px;
	display: flex;
	align-items: center;
}
.futan_box ol li::before{
	counter-increment: item;
	content: counter(item);
	display: flex;
	justify-content: center;
	align-items: center;
	background: #f0869c;
	color: #fff;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	position: absolute;
	left: 0;
}

.tbl_price.gendo table{
	margin: 0 auto 30px;
}
.tbl_price.gendo table tr th,
.tbl_price.gendo table tr td{
	width: calc(100%/9);
	font-size: 0.8rem;
	text-align: center;
	vertical-align: middle;
	padding: 10px;
	line-height: 20px;
}
.tbl_price.gendo table tr th{
	background: #ffeaea;
}

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

/*選択フォーム（スマホ）
-------------------------------------------------------------------------*/
.price_wrapp{
	flex-wrap: wrap;
}
.price_in{
	width: 100%;
}
.price_in:nth-of-type(1){
	margin-bottom: 20px;
}


/* 施設入所・短期入所の食費・居住費の負担軽減（スマホ）
-------------------------------------------------------------------------*/
.tbl_price.gendo{
	overflow-x: scroll;
}
.tbl_price.gendo::before{
	content: "※表は横にスクロールします。";
	font-weight: bold;
	color: red;
}
.tbl_price.gendo table{
	width: 850px;
}
.tbl_price.gendo table tr th,
.tbl_price.gendo table tr td{
	width: auto;
}

}