@charset "UTF-8";

/* TOP css
========================================================================= */

/* TOP header
------------------------------------------------------------ */
#headerIn {
	max-width: 1240px;
	width: 100%;
	padding: 20px 20px 0;
	margin: 0 auto;
}

#header #headerIn .header-logo a:after {
	content: "樂敦製藥中文網站";
	width: 100%;
	color: #0059af;
	font-weight: bold;
	position: absolute;
	top: 10px;
	right: -10px;
	/* left: calc(0% + 10px); */
	font-size: 14px;
}

#headerLinks {
	position: relative;
}

#headerLinks .sub_nav {
	display: flex;
	position: absolute;
	top: 15px;
	right: 0;
}

#headerIn #headerLinks li.hlLanguage,
#headerIn #headerLinks li.hlCorporate {
	margin: 0;
	padding: 0 15px;
	font-size: 1.2rem;
	line-height: 1.2;
}

#headerIn #headerLinks li:last-child {
	border-left: 1px solid rgba(13, 93, 170, 0.3);
}

#headerIn #headerLinks li a {
	padding: 0 16px 0 22px;
	position: relative;
}

#headerLinks li.hlLanguage a::before,
#headerLinks li.hlCorporate a::before {
	content: "";
	display: block;
	position: absolute;
	transform: translateY(-50%);
	left: 0;
	top: 50%;
}

#headerLinks li a:hover::before,
#headerLinks li a:hover::after {
	opacity: 0.7;
}

#headerLinks li.hlLanguage a::before {
	width: 16px;
	height: 17px;
	background: url(../img/header_icon01.svg) no-repeat center/100%;
}

#headerLinks li.hlCorporate a::before {
	width: 18px;
	height: 20px;
	background: url(../img/header_icon02.svg) no-repeat center/100%;
}

#headerIn #headerLinks li a[target="_blank"]:after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 8px;
	height: 7px;
	margin-top: -3px;
	background: url(../img/header_icon03.svg) no-repeat center/100%;
}

#headerIn #ch_ngav {
	max-width: 1000px;
	width: 100%;
	padding: 15px 0;
	margin: 0 auto;
	font-weight: bold;
}

#headerIn #ch_ngav .gnav.sp,
#headerIn #ch_ngav p,
br.sp {
	display: none;
}

#headerIn #ch_ngav .gnav ul {
	display: flex;
	justify-content: space-between;
	font-size: 17px;
}

#headerIn #ch_ngav .gnav ul li {
	border-right: 1px solid #0d5daa;
	width: 25%;
	line-height: 1;
}

#headerIn #ch_ngav .gnav ul li:last-child {
	border-right: none;
}

#headerIn #ch_ngav .gnav ul li a {
	display: block;
	color: #0d5daa;
	text-align: center;
}

#headerIn #ch_ngav .gnav ul li a:hover {
	text-decoration: none;
	opacity: .7;
}


/* KV スライド
------------------------------------------------------------ */
.home-mv-inner {
	max-width: 1200px;
	width: 100%;
	/* margin-bottom: 40px; スライド時*/
	margin-bottom: 0;
}

/* スライドarrow */
.swiper-button-prev,
.swiper-button-next {
	display: block;
}


/* カテゴリーエリア
------------------------------------------------------------ */
.home-prod-title {
	font-weight: 700;
}

.categcards_flex * {
	box-sizing: border-box;
}

.categcards_flex {
	background: #fff;
	display: flex;
	margin-bottom: 50px;
}

.categcards_flex li {
	width: calc(100%/4);
	height: 300px;
}

.categcards_flex li:not(:last-child) {
	border-right: 1px solid #00396e;
}

.categcards_flex li a {
	display: block;
	width: 100%;
	height: 100%;
	padding: 20px;
	position: relative;
	overflow: hidden;
}

.categcards_flex li a::before {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	width: 24%;
	height: 100%;
	background: -webkit-gradient(linear, left top, right top, from(#edf6ff), to(rgba(255, 255, 255, 0)));
	background: linear-gradient(to right, #edf6ff 0%, rgba(255, 255, 255, 0) 100%);
	content: "";
}

.categcards_flex li a span {
	display: inline-block;
	position: relative;
	z-index: 2;
	padding-right: 25px;
	font-weight: 500;
	font-size: 1.8rem;
	line-height: 1.4;
}

.categcards_flex li a span::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	width: 12px;
	height: 7px;
	margin-top: -3px;
	background: url(/-/Media/com/ch/common/img/icon_arrow_blue.svg) no-repeat;
	background-size: 12px 7px;
	-webkit-transform: rotate(-90deg);
	transform: rotate(-90deg);
}

.categcards_flex li a::after {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	content: "";
}

.categcards_flex li:nth-child(1) a::after {
	background-image: url(../img/top/img_eyecare.png);
	background-repeat: no-repeat;
	background-position: right 10px bottom -20px;
}

.categcards_flex li:nth-child(2) a::after {
	background-image: url(../img/top/img_topical.png);
	background-repeat: no-repeat;
	background-position: right 20px bottom -20px;
}

.categcards_flex li:nth-child(3) a::after {
	background-image: url(../img/top/img_skincare.png);
	background-repeat: no-repeat;
	background-size: 100px auto;
	background-position: right 40px bottom -26px;
}

.categcards_flex li:nth-child(4) a::after {
	background-image: url(../img/top/img_oral03.jpg);
	background-repeat: no-repeat;
	background-size: 250px auto;
	background-position: right -5px bottom 0px;
}

.categcards_flex li a:hover {
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
}

.categcards_flex li a:hover::after {
	opacity: .7;
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
}


/* コラム一覧
------------------------------------------------------------ */
.home-learnmore-inner {
	max-width: 1200px;
	width: 100%;
}

.home-learnmore-title {
	margin-bottom: 20px;
}

.home-learnmore::after {
	display: none;
}

.news {
	max-width: 800px;
	width: 100%;
}

#wrapper {
	min-width: auto;
}

/* ニュース一覧
------------------------------------------------------------ */
.home-news-title {
	margin-bottom: 20px;
}

.news-item>a {
	display: flex;
}

.news-item time {
	flex-shrink: 0;
	width: 12em;
}

.news-item p {
	font-weight: 500;
}

.brand-section {
	display: none;
}

/*============================= BREAK POINT ===============================
Tablet Layout
=============================== BREAK POINT =============================*/
@media screen and (max-width: 768px) {

	/* カテゴリーエリア
	------------------------------------------------------------ */
	.categcards_flex {
		flex-wrap: wrap;
	}

	.categcards_flex li {
		width: calc(100%/2);
	}

	.categcards_flex li:nth-child(1) {
		border-bottom: 1px solid #00396e;
	}

	.categcards_flex li:nth-child(2) {
		border-right: none;
		border-bottom: 1px solid #00396e;
	}

	/* ニュース一覧
	------------------------------------------------------------ */
	.news {
		border-top: 1px solid #0058ab;
	}
}

/*============================= BREAK POINT ===============================
SP Layout
=============================== BREAK POINT =============================*/
@media screen and (max-width: 480px) {

	/* TOP header
	------------------------------------------------------------ */
	#header {
		padding: 0 15px;
	}

	#header #headerIn {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0;
	}

	#header #headerIn .header-logo {
		height: auto;
		margin: 0;
	}

	#header #headerIn .header-logo>a {
		width: 86px;
	}

	#header #headerIn .header-logo a:after,
	#header #ch_ngav .gnav:nth-of-type(1) ul li:last-child {
		display: none;
	}

	#header #ch_ngav {
		max-width: 185px;
		width: 100%;
		margin: 0 0 0 auto;
	}

	#header #ch_ngav .nav_wrap {
		display: flex;
		justify-content: space-between;
	}

	#header #ch_ngav .gnav.sp,
	#header #ch_ngav p,
	br.sp {
		display: block;
	}

	#header #ch_ngav p {
		display: inline-block;
	}

	#header #ch_ngav .gnav div {
		display: none;
		background: #fff;
		width: 100vw;
		box-sizing: border-box;
		position: absolute;
		top: 70px;
		left: 50%;
		transform: translateX(-50%);
	}

	#header #ch_ngav p.close+div {
		z-index: 8000;
	}

	#header #ch_ngav .gnav ul {
		flex-wrap: wrap;
		font-size: 14px;
	}

	#headerIn #ch_ngav .gnav ul li {
		width: 32%;
		margin-bottom: 10px;
		border: none;
	}

	#header #ch_ngav .gnav ul li a {
		background-color: #fff;
		border: 1px solid #0058ab;
		color: #0058ab;
		line-height: 1.2;
		padding: 12px 10px;
	}

	#header #ch_ngav .gnav:nth-of-type(2) ul li a {
		padding: 12px 10px;
	}

	#header #ch_ngav p.close_btn {
		width: 100%;
		border: none;
		line-height: 1;
		height: auto;
	}

	#header #ch_ngav .gnav ul li a:hover {
		opacity: 1;
	}

	/* カテゴリーエリア
	------------------------------------------------------------ */
	.categcards_flex {
		flex-wrap: wrap;
	}

	.categcards_flex li {
		width: calc(100%/2);
		height: 150px;
	}

	.categcards_flex li:nth-child(1) {
		border-bottom: 1px solid #00396e;
	}

	.categcards_flex li:nth-child(2) {
		border-right: none;
		border-bottom: 1px solid #00396e;
	}

	.categcards_flex li a {
		padding: 10px;
	}

	.categcards_flex li a span {
		display: inline-block;
		font-size: 1.4rem;
	}

	.categcards_flex li:nth-child(1) a::after {
		display: block;
		background-size: 105px auto !important;
		background-position: right -10px bottom -30px;
	}

	.categcards_flex li:nth-child(2) a::after {
		display: block;
		background-size: 110px auto !important;
		background-position: right -10px bottom -15px;
	}

	.categcards_flex li:nth-child(3) a::after {
		display: block;
		background-size: 56px auto !important;
		background-position: right -3px bottom -20px;
	}

	.categcards_flex li:nth-child(4) a::after {
		display: block;
		background-size: 130px auto !important;
		background-position: right 0px bottom 0px;
	}

	/* ニュース一覧
	------------------------------------------------------------ */
	.news-item>a {
		display: block;
	}

	.news-item time {
		width: auto;
	}
}