@charset "utf-8";

/*--------------------------------------------------------------
/pub/●●●/ アクネケア エッセンス トライアルセット
素材は幅520pxのカンプから切り出し。位置指定は 520px 基準の px 値を % に換算している
リンクのホバー・開閉の動き・フッターは現状LP（/pub/acgjl/index_lis_sp.html）に合わせている
--------------------------------------------------------------*/

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

div#template {
	max-width: 520px;
	margin: 0 auto;
	background-color: #fff;
	text-align: center;
}

@media (min-width: 521px) {
	div#template {
		box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 54px 0px;
	}
}

.lp {
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
	color: #3e3a39;
}

.lp img {
	display: block;
	width: 100%;
	height: auto;
}

/* リンクのホバー（下線を消して薄くする）
-------------------------------------------------------------- */
#template a {
	transition: all 0.3s;
}

#template a:hover {
	opacity: 0.7;
	text-decoration: none;
}

/* PC では電話番号をリンクにしない */
@media (min-width: 521px) {
	#template a[href^="tel:"] {
		pointer-events: none;
		cursor: default;
	}
}

/* 画像の上に重ねるボタン・リンク
-------------------------------------------------------------- */
.cta,
.hotspot_wrap {
	position: relative;
}

.cta_btn,
.hotspot {
	position: absolute;
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: transparent;
	font-size: 0;
	overflow: hidden;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
	transition: background-color 0.3s;
}

/* basic.css の a:link / a:visited（色・下線）より優先させる */
a.hotspot:link,
a.hotspot:visited,
a.hotspot:hover {
	color: transparent;
	text-decoration: none;
}

/* 透明なボタンなので、白を30%重ねて下の画像を opacity: .7 相当に見せる */
.cta_btn:hover,
#template .hotspot:hover {
	background-color: rgba(255, 255, 255, 0.3);
	opacity: 1;
}

.cta_btn:focus-visible,
.hotspot:focus-visible {
	outline: 3px solid #ffb400;
	outline-offset: 2px;
}

/* 購入ボタン（今すぐお試し / ファンケル会員の方はこちら）*/
.cta_btn--new {
	left: calc(40 / 520 * 100%);
	width: calc(440 / 520 * 100%);
}

.cta_btn--member {
	left: calc(78 / 520 * 100%);
	width: calc(364 / 520 * 100%);
}

.cta--1 .cta_btn--new {
	top: calc(1012 / 1608 * 100%);
	height: calc(117 / 1608 * 100%);
}

.cta--1 .cta_btn--member {
	top: calc(1141 / 1608 * 100%);
	height: calc(87 / 1608 * 100%);
}

.cta--2 .cta_btn--new {
	top: calc(1038 / 1635 * 100%);
	height: calc(117 / 1635 * 100%);
}

.cta--2 .cta_btn--member {
	top: calc(1167 / 1635 * 100%);
	height: calc(87 / 1635 * 100%);
}

.cta--3 .cta_btn--new {
	top: calc(1015 / 1605 * 100%);
	height: calc(117 / 1605 * 100%);
}

.cta--3 .cta_btn--member {
	top: calc(1144 / 1605 * 100%);
	height: calc(87 / 1605 * 100%);
}

/* SKIN PATCH / SKIN MATE */
.hotspot--patch,
.hotspot--mate {
	left: calc(44 / 520 * 100%);
	width: calc(432 / 520 * 100%);
}

.hotspot--patch {
	top: calc(150 / 350 * 100%);
	height: calc(120 / 350 * 100%);
}

.hotspot--mate {
	top: calc(456 / 641 * 100%);
	height: calc(120 / 641 * 100%);
}

/* 美容相談室（電話・メールフォーム・チャット）*/
.hotspot--tel,
.hotspot--mail,
.hotspot--chat {
	border-radius: 4px;
}

.hotspot--tel {
	left: calc(105 / 520 * 100%);
	top: calc(110 / 688 * 100%);
	width: calc(310 / 520 * 100%);
	height: calc(46 / 688 * 100%);
}

.hotspot--mail {
	left: calc(103 / 520 * 100%);
	top: calc(258 / 688 * 100%);
	width: calc(314 / 520 * 100%);
	height: calc(48 / 688 * 100%);
}

.hotspot--chat {
	left: calc(74 / 520 * 100%);
	top: calc(482 / 688 * 100%);
	width: calc(372 / 520 * 100%);
	height: calc(46 / 688 * 100%);
}

/* アコーディオン（開閉は js/function.js の slideDown / slideUp）
-------------------------------------------------------------- */
.js-accordion_body {
	display: none;
}

/* よくあるご質問
-------------------------------------------------------------- */
.faq {
	padding: calc(14 / 520 * 100%) calc(35 / 520 * 100%) 0;
	text-align: left;
}

.faq_item {
	background: #c4f0eb;
	border-radius: 10px;
}

.faq_item + .faq_item {
	margin-top: calc(27 / 450 * 100%);
}

/* Q・A とも、デザイン（520px幅）の 文字18px・行送り28px を基準に em で指定して画面幅に合わせて縮める */
.faq_q,
.faq_a {
	font-size: clamp(12px, calc(18 / 520 * 100vw), 18px);
	line-height: calc(28 / 18);
}

.faq_q {
	position: relative;
	display: flex;
	width: 100%;
	margin: 0;
	padding: calc(25em / 18) calc(52em / 18) calc(25em / 18) calc(19em / 18);
	border: 0;
	background: none;
	color: #3e3a39;
	font-family: inherit;
	font-weight: bold;
	text-align: left;
	cursor: pointer;
	transition: padding-bottom 0.4s;
}

.faq_q[aria-expanded="true"] {
	padding-bottom: calc(21em / 18);
}

/* 開閉の矢印（閉: ∨ / 開: ∧）*/
.faq_q::after {
	content: "";
	position: absolute;
	top: 50%;
	right: calc(25em / 18);
	width: 0.62em;
	height: 0.62em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-75%) rotate(45deg);
	transition: transform 0.2s;
}

.faq_q[aria-expanded="true"]::after {
	transform: translateY(-25%) rotate(-135deg);
}

/* 右の余白はデザインの 73px（本文は1行18文字）*/
.faq_a_inner {
	display: flex;
	padding: 0 calc(73em / 18) calc(24em / 18) calc(19em / 18);
}

/* basic.css の div, p { line-height: 1.4 } を打ち消して .faq_a の値に揃える */
.faq_a_inner,
.faq_a .faq_text {
	line-height: inherit;
}

.faq_mark {
	flex: none;
	width: calc(30em / 18);
	font-weight: bold;
}

.faq_a em {
	color: #ff4111;
}

/* 美容相談室
-------------------------------------------------------------- */
/* 閉じているときはボタンの下に余白を取る（カンプの閉じた状態に合わせる）。開くと余白を詰める */
.consult {
	padding-bottom: calc(79 / 520 * 100%);
	background: #f2f2f2;
	transition: padding-bottom 0.4s;
}

.consult.is-open {
	padding-bottom: 0;
}

.consult_toggle {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
	.faq_q,
	.faq_q::after,
	.consult {
		transition: none;
	}
}

/* フッター（現状LPの .guide に合わせる）
-------------------------------------------------------------- */
.lp_footer {
	padding-top: calc(60 / 640 * 100%);
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "游ゴシック Medium", YuGothic, YuGothicM, "メイリオ", Meiryo, sans-serif;
	font-size: 3.75vw;
	line-height: 1.4;
	color: #262626;
}

@media (min-width: 521px) {
	.lp_footer {
		font-size: 19.5px;
	}
}

.lp_footer_guide {
	width: calc(315 / 640 * 100%);
	margin: 0 auto calc(40 / 640 * 100%);
}

.lp_footer_guide a,
.lp_footer_guide a:link,
.lp_footer_guide a:visited,
.lp_footer_guide a:hover {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 315 / 76;
	padding-right: 0.8em;
	border: 2px solid #000;
	background: #fff;
	color: #000;
	font-size: 1.25em;
	font-weight: bold;
	text-decoration: none;
}

.lp_footer_guide a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 9%;
	border-top: 0.32em solid transparent;
	border-bottom: 0.32em solid transparent;
	border-left: 0.5em solid #000;
	transform: translateY(-50%);
}

.lp_footer_link {
	margin-bottom: 1em;
}

.lp_footer_link a,
.lp_footer_link a:link,
.lp_footer_link a:visited,
.lp_footer_link a:hover,
.lp_footer_pagetop a,
.lp_footer_pagetop a:link,
.lp_footer_pagetop a:visited,
.lp_footer_pagetop a:hover {
	color: #30b7ab;
}

/* 注記は化粧品の注釈ルール（デバイス文字14px）に合わせる */
.lp_footer_notes {
	margin: 0 calc(30 / 640 * 100%);
	text-align: left;
	font-size: 14px;
	line-height: 1.4;
	letter-spacing: 0.05em;
}

.lp_footer_notes li {
	padding-left: 1em;
	text-indent: -1em;
}

.lp_footer_pagetop {
	margin: 1.5em calc(20 / 640 * 100%);
	text-align: right;
}

/* コピーライト（共通フッターの幅930px固定を解除し、画像の右端にある文字だけを中央に表示）*/
div.footer930 {
	width: auto;
	max-width: 520px;
	margin: 0 auto;
	padding: 14px 0;
	text-align: center;
}

div.footer930 img {
	width: 150px;
	height: 19px;
	object-fit: none;
	object-position: 100% 50%;
}
