.tab_wrap2,
.tab_wrap {
	margin: 0 auto;
	width: calc(100% - 30px);
	max-width: 1000px;
	padding-top: 70px;
}
.tab_wrap input[type="radio"] {
	display: none;
}

.tab_area {
	font-size: 0;
	margin: 0 10px;
}

.tab_area label {
	width: 430px;
	margin: 0 20px;
	display: inline-block;
	padding: 12px 0;
	color: #15becd;
	background: url(../img/tab-btn.png) no-repeat center bottom;
	background-color: #dbf0f2;
	background-repeat: no-repeat;
	position: relative;
	text-align: right;
	font-size: 35px;
	font-weight: bold;
	letter-spacing: 2px;
	cursor: pointer;
	transition: ease 0.2s opacity;
}
@media screen and (max-width: 1040px) {
.tab_area label {
	font-size: 20px;
}
}
.tab_area label:hover {
	opacity: 0.8;
}

/*.panel_area {
	background: #fff;
}*/
.tab_panel {
	width: 100%;
	padding: 0;
	display: none;
}

.tab_panel p {
	font-size: 14px;
	letter-spacing: 1px;
	text-align: center;
}

.tab_area label::before {
	content: "";
	display: inline-block;
	width: 120px;
	height: 120px;
	position: absolute;
	left: -15px;
	top: -35px;
	background-size: contain;
}

.tab_area label.tab1_label::before {
	background-image: url('../img/thumbnail_unitbath.png');
}

.tab_area label.tab2_label::before {
	background-image: url('../img/thumbnail_oldbath.png');
}

span.min-txt {
	font-size: 70%;
}

.tab_area label span {
	padding-right: 30px;
}

.tab_area label.tab2_label span {
	padding-right: 70px;
}

#tab1:checked~.tab_area .tab1_label {
	background: #15becd;
	color: #fff;
}

#tab1:checked~.panel_area #panel1 {
	display: block;
}

#tab2:checked~.tab_area .tab2_label {
	background: #15becd;
	color: #fff;
}

#tab2:checked~.panel_area #panel2 {
	display: block;
}

.zen-maru-gothic-bold {
	font-family: "Zen Maru Gothic", serif;
	font-weight: 700;
	font-style: normal;
}

.tab_area {
	display: flex;
	justify-content: center;
}

.tab_area label {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: right;
}

span.ch-none.click-txt {
	display: block;
	width: 100%;
	font-size: 70%;
	text-align: center;
	padding-right: unset;
	line-height: 1;
}

#tab1:checked~.tab_area .tab1_label .ch-none,
#tab2:checked~.tab_area .tab2_label .ch-none,
#tab3:checked~.tab_area2 .tab3_label .ch-none,
#tab4:checked~.tab_area2 .tab4_label .ch-none{
	display: none;
}

span.min-txt {
	margin-bottom: -15px;
}

.tab_area .tab1_label span.ch-none.click-txt,
.tab_area2 .tab3_label span.ch-none.click-txt{
	padding-left: 7%;
}

.tab_area .tab2_label span.ch-none.click-txt,
.tab_area2 .tab4_label span.ch-none.click-txt {
    padding: unset;
    padding-left: 23%;
}





.tab_wrap2 {
	width: 100%;
	max-width: 1000px;
	margin: 0px auto;
	background: #fff;
}
.tab_wrap2 .select_msg {
	margin: 0 0 25px;
	font-size: 18px;
	font-weight: 500;
}
.tab_wrap2 input[type="radio"] {
	display: none;
}

.tab_area2 {
	margin: 0 0 60px;
	justify-content: center;
	display: grid;
	grid-template-columns: repeat(auto-fit, 230px);
	gap: 10px 14px;
}

.tab_area2 label {
	display: grid;
	grid-template-columns: 68px auto;
	gap: 10px;
	align-items: center;
	justify-content: left;
	padding: 10px;
	background: #E1F8FA;
	cursor: pointer;
	transition: ease 0.2s opacity;
}
.tab_area2 label:hover {
	opacity: 0.8;
}
.tab_area2 label img {
	width: 100%;
	max-width: 68px;
	max-height: 68px;
	border-radius: 50%;
	object-fit: cover;
}
.tab_area2 label span {
	font-size: 18px;
	font-weight: 700;
	color: #15BECD;
}
.tab_area2 label:first-child {
	grid-template-columns: 1fr;
	justify-content: center;
}

.tab_panel2 {
	width: 100%;
	padding: 0;
	display: none;
}


#tab3:checked~.tab_area2 .tab3_label,
#tab4:checked~.tab_area2 .tab4_label,
#tab5:checked~.tab_area2 .tab5_label,
#tab6:checked~.tab_area2 .tab6_label,
#tab7:checked~.tab_area2 .tab7_label,
#tab8:checked~.tab_area2 .tab8_label,
#tab9:checked~.tab_area2 .tab9_label,
#tab10:checked~.tab_area2 .tab10_label {
	background: #15becd;
}
#tab3:checked~.tab_area2 .tab3_label span,
#tab4:checked~.tab_area2 .tab4_label span,
#tab5:checked~.tab_area2 .tab5_label span,
#tab6:checked~.tab_area2 .tab6_label span,
#tab7:checked~.tab_area2 .tab7_label span,
#tab8:checked~.tab_area2 .tab8_label span,
#tab9:checked~.tab_area2 .tab9_label span,
#tab10:checked~.tab_area2 .tab10_label span {
	color: #fff;
}

#tab3:checked~.panel_area2 #panel3,
#tab4:checked~.panel_area2 #panel4,
#tab5:checked~.panel_area2 #panel5,
#tab6:checked~.panel_area2 #panel6,
#tab7:checked~.panel_area2 #panel7,
#tab8:checked~.panel_area2 #panel8,
#tab9:checked~.panel_area2 #panel9,
#tab10:checked~.panel_area2 #panel10 {
	display: block;
	position: relative;
	width: 100%;
	padding: 100px 0;
	border-top: 3px solid #15BECD;
	border-bottom: 3px solid #15BECD;
	background: url(../img/kira01.png) no-repeat left 0.5vw / 100px,
			url(../img/kira02.png) no-repeat right 0.5vw / 100px,
			url(../img/kira03.png) no-repeat left calc(100% - 0.5vw) / 100px,
			url(../img/kira04.png) no-repeat right calc(100% - 0.5vw) / 100px,
			url(../img/bk_work.jpg) repeat left top / contain;
}
.panel_area2 p {
	font-size: 18px;
	font-weight: 500;
	text-align: left;
	padding: 0 1em;
}
.panel_area2 .beforeafter {
	margin-top: 100px;
}
span.ch-none.click-txt {
	display: block;
	width: 100%;
	font-size: 70%;
	text-align: center;
	padding-right: unset;
	line-height: 1;
}

#tab3:checked~.tab_area2 .tab3_label .ch-none,
#tab4:checked~.tab_area2 .tab4_label .ch-none{
	display: none;
}

span.min-txt {
	margin-bottom: -15px;
}

.tab_area2 .tab3_label span.ch-none.click-txt{
	padding-left: 7%;
}

.tab_area2 .tab4_label span.ch-none.click-txt {
    padding: unset;
    padding-left: 23%;
}
.tab_wrap-btn {
	cursor: pointer;
	background: #14becd;
	font-weight: bold;
	margin-top: 2em;
}
.tab_wrap-btn a {
	display: block;
	color: #fff;
	font-size: 1.2em;
	position: relative;
	padding: 0.5em 0;
}
.tab_wrap-btn a::before {
	content: "";
	position: absolute;
	width: 8px;
	height: 14px;
	background: url("../img/arrow_white.svg") no-repeat center center/contain;
	right: 20px;
	top: 52%;
	transform: translateY(-50%)rotate(-90deg);
}
.tab_wrap-btn a:hover {
	opacity: 0.7;
	text-decoration: none;
}
@media screen and (max-width: 1040px) {
.tab_wrap2 {
	padding-top: 30px;
}
.tab_area2 {
	margin: 0 0 30px;
	grid-template-columns: 1fr 1fr;
	gap: 10px 10px;
}
.tab_wrap2 .select_msg {
	margin: 0 0 20px;
	font-size: 13px;
	text-align: left;
}
#tab3:checked~.panel_area2 #panel3,
#tab4:checked~.panel_area2 #panel4,
#tab5:checked~.panel_area2 #panel5,
#tab6:checked~.panel_area2 #panel6,
#tab7:checked~.panel_area2 #panel7,
#tab8:checked~.panel_area2 #panel8,
#tab9:checked~.panel_area2 #panel9,
#tab10:checked~.panel_area2 #panel10 {
	padding: 60px 0;
	background: url(../img/kira01.png) no-repeat left 0.5vw / 50px,
			url(../img/kira02.png) no-repeat right 0.5vw / 50px,
			url(../img/kira03.png) no-repeat left calc(100% - 0.5vw) / 50px,
			url(../img/kira04.png) no-repeat right calc(100% - 0.5vw) / 50px,
			url(../img/bk_work.jpg) repeat left top / contain;
}
.panel_area2 p {
	font-size: 14px;
}
.panel_area2 .beforeafter {
	margin-top: 130px;
}
.tab_area2 label {
	grid-template-columns: 38px auto;
	padding: 6px;
}
.tab_area2 label img {
	max-width: 38px;
	max-height: 38px;
}
.tab_area2 label span {
	font-size: 14px;
	text-align: left;
	line-height: 1.4;
}
.tab_area2 label:first-child span {
	text-align: center;
}
}
