/*================================================
 *  ドラッグストア・薬局向けソリューション　CSS設定
 ================================================*/

/*================================================
  タブレット設定
  ================================================*/

.pagetop {
	bottom: 250px;
}

.breadcrumbs {
	padding: 20px 10px;
}

.content {
	width: 100%;
	margin: 0 auto;
	padding: 10px;
}

.link {
	color: #005d96;
	font-size: 20px;
	border: 1px solid #005d96;
	border-radius: 30px;
	display: inherit;
	padding: 10px;
	width: 100%;
}

.link:hover {
	opacity: 0.7;
	background: #eafbff;
}

.link_box {
	width: 94%;
	max-width: 670px;
	margin: 0 auto 30px;
}

.btm_btn03 {
	display: block;
	text-align: center;
	width: 100%;
	padding: 2.0rem 0;
	position: relative;
	z-index: 1;
	background-color: #fff;
	border: 1px solid #176D92;
}

.btm_btn03 a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-indent: -999px;
	z-index: 2;
	/* 必要であればリンク要素の重なりのベース順序指定 */

}

/*tabの全体枠*/
.tab {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	max-width: 1004px;
	margin: 0 auto 30px;
}

/*inputを非表示にする*/
.input {
	position: absolute;
	opacity: 0;
}

/*tabボタン部分*/
.tab-label {
	width: calc(100% / 3);
	border-right: 2px solid #fff;
	position: relative;
	padding: 20px;
	background: linear-gradient(to bottom, rgba(237, 237, 237, 1) 0%, rgba(252, 252, 252, 1) 100%);
	cursor: pointer;
	font-weight: bold;
	font-size: 1.4rem;
	color: #000;
	margin-bottom: 0;
	text-align: center;
	transition: background 0.1s, color 0.1s;
	border-radius: 0.5rem 0.5rem 0 0;
}

.tab-label:after {
	content: '';
	background: url(/product/business/images/arrow_bottom.svg);
	width: 8px;
	height: 8px;
	position: absolute;
	right: 10px;
	margin-top: -10px;
}

.tab-label:nth-of-type(3) {
	border-right: 0;
}

.tab-label:after {
	content: '';
	background: url(/product/business/images/arrow_bottom.svg);
	width: 8px;
	height: 8px;
	position: absolute;
	margin-top: -10px;
}

.tab-label:hover {
	background: #d8d8d8;
}

.tab-label:active {
	background: #ccc;
}

.input:checked + .tab-label {
	background: #7FBE25;
	color: #fff;
	text-align: center;
}

.tab-label span {
	display: block;
	height: 1.4rem;
}

.after_logo:after {
	content: '';
	display: inline-block;
	width: 80px;
	height: 20px;
	vertical-align: middle;
	background: url(/product/business/images/jtfs_logo.svg);
	background-size: 80px 20px;
	margin-left: 10px;
}

/*tabの本文エリア*/
.tab-panel {
	display: none;
	padding-top: 20px;
	background: #fff;
	width: 100%;
	order: 99;
}

.tab_border {
	border-top: 3px solid #7FBE25;
	width: 100%;
}

.input:checked + .tab-label + .tab-panel {
	display: block;
	border-top: 3px solid #7FBE25;
}

/*tabの本文エリア*/
.tab-panel {
	display: none;
	padding-top: 20px;
	background: #fff;
	width: 100%;
}

.tab_border {
	border-top: 3px solid #7FBE25;
	width: 100%;
}

.input:checked + .tab-label + .tab-panel {
	display: block;
	border-top: 3px solid #7FBE25;
}


.function_box {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px 10px;
	margin: 0 auto 30px;
}

.function_box > a {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1.6rem;
	font-weight: bold;
	text-align: center;
	line-height: 1.5;
	background: #389a6d;
	padding: 10px;
	position: relative;
	transition: .3s;
}

.function_box > a:hover {
	opacity: 0.3;
}

.function_box > a::after {
	font-family: "Font Awesome 5 Free";
	content: "\f107";
	font-weight: 900;
	margin: 0 0 0 10px;
}


/*
.function {
	display: flex;
	justify-content: space-around;
}

.function a {
	width: calc(95%/3);
	background: #389a6d;
	color: #fff;
	font-size: 17px;
	font-weight: 400;
	padding: 20px 0;
	text-align: center;
	position: relative;
	cursor: pointer;
}

.function a:hover {

	opacity: .7;
}
*/

.small {

	vertical-align: super;
	display: contents !importnat;
}


.new2::before {
	position: absolute;
	content: "NEW";
	padding: 6px 15px;
	background: white;
	color: #aa0007;
	border: 2px solid #aa0007;
	border-radius: 5px;
	font-weight: 700;
	top: -30%;
	left: -2%;
}

#nsips .new2::before {
	top: 0%;
	left: 24%;
	font-size: 15px;
}

.line {
	height: 1px;
	border: none;
	background: #e3e3e3;
	margin: 0 0 10px 0;
}

.text_annotation {
	font-size: 1.1rem;
}

/*その他
 ---------------------------------------------------------------------------*/
.u-mb-20 {
	margin: 0 0 20px 0;
}



/*================================================
  section hero
  ================================================*/

section {
	width: 100%;
	padding: 0;
	margin: 0 auto;
}

.drug_hero_bg {
	width: 100%;
	background: url("/product/business/images/drug_bg2.png") 0 20% no-repeat;
	background-size: cover;
	color: #fff;
	padding: 0;
	position: relative;
}

.drug_hero {
	text-align: center;
	height: 300px;
	display: flex;
}

.drug_hero_box {
	width: 100%;
	text-align: center;
	align-self: center;
}


.drug_hero h1 {
	font-size: 4.0rem;
	font-weight: 500;
	margin-bottom: 1.5rem;
}

.drug_hero span {
	display: block;
	font-size: 1.4rem;
}

.ap_anc_bnr_layout {
	display: flex;
	justify-content: space-between;
}

.ap_bnr {
	width: 49%;
	border: 1px solid #ccc;
	padding: 1.0rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.ap_bnr a {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	text-indent: -999px;
}

.ap_bnr_box p {
	font-size: 1.2rem;
	color: #666;
}

/* .ap_bnr_box img {
   max-height: 30px;
 } */

.appos01.appos02 {
	width: 100%;
	margin: 0 auto;
	padding-top: 3.0rem;
}

.type_bcpos {
	border: 1px solid #00863C;
	border-radius: 15px;
	padding: 0.8rem;
	background-color: #fff;
	max-width: 150px;
	margin: 2.0rem auto 0;
	color: #00863C;
}

.type_hdpos {
	border: 1px solid #7FBE25;
	border-radius: 15px;
	padding: 0.8rem;
	background-color: #fff;
	max-width: 150px;
	margin: 2.0rem auto 0;
	color: #7FBE25;
}

.receipt img {
	max-width: 250px;
	margin: 0 auto;
}


.appos01 h2 {
	text-align: center;
	font-size: 3.0rem;
	color: #7FBE25;
}

.appos02 h2 {
	text-align: center;
	font-size: 3.0rem;
	color: #7FBE25;
	margin-top: 3.0rem;
}

.appos01 h3 {
	text-align: center;
	font-size: 3.0rem;
	color: #000;
}

.appos01 .hdpos_register h3 {
	text-align: center;
	font-size: 2.0rem;
	color: #7FBE25;
	margin-bottom: 20px;
}

.appos01 h4 {
	text-align: center;
	color: #000;
}

.appos01 h5 {
	color: #7FBE25;
	font-size: 1.6rem;
	font-weight: bold;
}

.appos01 span {
	text-align: center;
	font-size: 1.2rem;
	/*
display: block;
*/
}

.appos02 span {
	text-align: center;
	font-size: 1.2rem;
	color: #666;
	display: block;
}

.bnr_layout {
	display: flex;
}

.bnr_box {
	flex-basis: 130px;
}

.bnr_box:last-child {
	margin-left: 2.0rem;
}

.mmtyle {
	width: 100% !important;
	padding: 2.0rem !important;
	border: 2px solid #B1C73E;
	color: #B1C73E;
	margin-top: 3.0rem;
}

/*************************************************************************************/
/*Sp Layout*/
/*************************************************************************************/


@media screen and (max-width:767px) {
	.pagetop {
		bottom: 90px;
	}

	.foot {
		padding-bottom: 80px;
	}

	.breadcrumbs {
		padding: 20px;
	}

	.tab-label {
		width: 100%;
		border-right: none;
	}

	.rt_bnr_box p {
		font-size: 1.2rem;
	}

	.drug_hero {
		height: 200px;
	}

	drug_hero_bg {
		width: 100%;
		background: url("/product/business/images/drug_bg.jpg") 50% 20% no-repeat;
	}

	.drug_hero h1 {
		font-size: 2.6rem;
	}

	.stat_hero {
		height: 200px;
	}

	.stat_hero h1 {
		font-size: 2.6rem;
	}

	.function_box {
		max-width: 400px;
		grid-template-columns: repeat(1, 1fr);
	}

	#nsips .new2::before {
		top: -40%;
		left: 34%;
		font-size: 15px;

	}

	#nsips img {
		padding: 0 50px;
	}

	.appos01 h3 {
		font-size: 2.0rem;
		line-height: 2.4rem;
		margin-top: 3.0rem;
		text-align: left;
	}

	.g_checklist ul {
		margin-left: 0.5rem;
		margin-top: 1.0rem;
	}

	.g_checklist ul li {
		padding-bottom: 5px;
		line-height: 2rem;
		text-indent: -2.4rem;
		padding-left: 2rem;
	}

	.appos01 h2 {
		font-size: 2.0rem;
	}

	.interlock h4 {
		font-size: 2.0rem;
	}

	.regi h6 {
		margin-top: 1.6rem;
	}

	.dflist p {
		margin-top: 2.0rem;
		line-height: 2.4rem;
	}

	.taxfree_layout h4 {
		font-size: 2.0rem;
	}

	.taxfree_layout h4:after {
		font-size: 1.2rem;
		padding: 0.5rem 1.0rem;
		margin-left: 1.0rem;
		position: absolute;
		top: 10%;
	}

	.taxfree_layout span {
		margin-top: 0.6rem;
		margin-bottom: 2.0rem;
	}

	.link {
		font-size: 1.4rem;
	}

}

@media print {
	.tab-label {
		width: calc(100% / 3);
		border-right: 2px solid #fff;
		position: relative;
	}

	.tab-panel {
		order: 99;
	}

	.tab-label:nth-of-type(3) {
		border-right: 0;
	}
}
