@charset "utf-8";

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

コスメ・美容商品のご紹介ページスタイル

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

@media print, screen and (min-width: 768px) {

/* ▼カテゴリータイトル部分PC */
#categorytitle {
	border: solid 1px #008092;
	width: 1100px;
	padding: 30px 0 30px 20px;
	box-sizing: border-box;
	margin: 0 auto 20px auto;
	background: url("../new_img/cosme_page.jpg") right no-repeat;
	background-size: contain;
}

#categorytitle p {
	font-size: 32px; font-size: 3.2rem;
	font-feature-settings: "palt" 1;
	font-weight: bold;
	color: #008092;
	margin-bottom: 8px;
}

#categorytitle h1 {
	font-size: 21px; font-size: 2.1rem;
	font-feature-settings: "palt" 1;
	font-weight: bold;
	color: #008092;
}

/* ▼コンテンツ部分PC */
#cosmelist {padding-bottom: 50px;}

.accordion {
	width: 100%;
	background-color: #fff;
	border-radius: 20px;
	margin-bottom: 40px;
}

.accordion summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	color: #fff;
	background: #008092;
	padding: 5px 70px 5px 30px;
	font-size: 26px; font-size: 2.6rem;
	font-feature-settings: "palt" 1;
	font-weight: bold;
	line-height: 1.8;
	cursor: pointer;
}

.accordion summary::-webkit-details-marker {display: none;}

.accordion summary::before,
.accordion summary::after {
	width: 5px;
	height: 30px;
	background-color: #fff;
	content: '';
}

.accordion summary::before {
	position: absolute;
	right: 40px;
	rotate: 90deg;
}

.accordion summary::after {
	position: absolute;
	right: 40px;
	transition: rotate .3s;
}

.accordion[open] summary::after {rotate: 90deg;}

.accordion > div {
	transform: translateY(-10px);
	opacity: 0;
	margin: 0;
}

.accordion[open] > div {
	transform: none;
	opacity: 1;
}

.itembox {
	display: flex;
	flex-wrap: wrap;
	border-bottom: solid 1px #008092;
	padding: 25px 20px;
}

.itembox h2 {
	color: #008092;
	font-weight: bold;
	width: 100%;
	font-size: 24px; font-size: 2.4rem;
	font-feature-settings: "palt" 1;
	line-height: 1.6;
	margin-bottom: 5px;
}

.itembox p {
	font-size: 20px; font-size: 2.0rem;
	font-feature-settings: "palt" 1;
	line-height: 1.6;
	color: #727171;
}

.itembox p:first-of-type {margin-right: 30px;}

.zeikomi {
	color: #f00;
	width: 1100px;
	margin: 0 auto 20px auto;
	text-align: right;
	font-size: 18px; font-size: 1.8rem;
	font-feature-settings: "palt" 1;
	line-height: 1.6;
}

}

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

/* ▼カテゴリータイトル部分SP */
#categorytitle {
	border: solid 1px #008092;
	width: 94%;
	padding: 7vw 0 4vw 3%;
	box-sizing: border-box;
	margin: 0 auto 2.5vw auto;
	background: url("../new_img/cosme_page_sp.jpg") right no-repeat;
	background-size: contain;
}

#categorytitle p {
	font-size: 6.5vw;
	font-feature-settings: "palt" 1;
	font-weight: bold;
	color: #008092;
	margin-bottom: 2vw;
}

#categorytitle h1 {
	font-size: 4vw;
	font-feature-settings: "palt" 1;
	font-weight: bold;
	color: #008092;
}

/* ▼コンテンツ部分SP */
#cosmelist {padding-bottom: 8vw;}

.accordion {
	width: 100%;
	background-color: #fff;
	border-radius: 2vw;
	margin-bottom: 8vw;
}

.accordion summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	color: #fff;
	background: #008092;
	padding: 2vw 12vw 2vw 4vw;
	font-size: 4.5vw;
	font-feature-settings: "palt" 1;
	font-weight: bold;
	line-height: 1.5;
	cursor: pointer;
}

.accordion summary::-webkit-details-marker {display: none;}

.accordion summary::before,
.accordion summary::after {
	width: 1vw;
	height: 4vw;
	background-color: #fff;
	content: '';
}

.accordion summary::before {
	position: absolute;
	right: 6vw;
	rotate: 90deg;
}

.accordion summary::after {
	position: absolute;
	right: 6vw;
	transition: rotate .3s;
}

.accordion[open] summary::after {rotate: 90deg;}

.accordion > div {
	transform: translateY(-10px);
	opacity: 0;
	margin: 0;
}

.accordion[open] > div {
	transform: none;
	opacity: 1;
}

.itembox {
	display: block;
	border-bottom: solid 1px #008092;
	padding: 3vw 1vw;
}

.itembox h2 {
	color: #008092;
	font-weight: bold;
	font-size: 4vw;
	font-feature-settings: "palt" 1;
	line-height: 1.6;
	margin-bottom: 1vw;
}

.itembox p {
	font-size: 3.6vw;
	font-feature-settings: "palt" 1;
	line-height: 1.6;
	color: #727171;
}

.zeikomi {
	color: #f00;
	width: 94%;
	margin: 0 auto 2.5vw auto;
	text-align: right;
	font-size: 3.6vw;
	font-feature-settings: "palt" 1;
	line-height: 1.6;
}

}
