@charset "UTF-8";

/* グローバル変数 */
:root {
	--primary-color: #0E9FE7;
	--btn-color: #0E9FE7;
	--btn-color-hover: #2eaded;
	--bg-color: #F2F2F5;
	--mainpict-bg-color: #F2F2F5;
	--bg-bottom-color: #EAEAF0;
	--tx-highlight-color: #fdf9bd;
	--tx-color: #37393E;
	--webfont-family: "";
}

/*PCbg*/
@media screen and (min-width:768px) {
	.m3p_book-present_all-bg {
		background: url() top repeat-x var(--bg-color);
		background-size: auto 349px;
		margin-top: -10px;
	}

	.m3p_book-present_bg {
		margin-bottom: 20px;
		background: url(https://m3-pharmacist-prod.s3.ap-northeast-1.amazonaws.com/uploads/uploaded_image/pharmacist_news/15535/20260401_m2plus_mv-bg_pc.png?1773718794) top no-repeat;
		background-size: 1335px;
	}

	.m3p_book-present_img {
		margin-bottom: -20px;
		padding-top: 20px;
	}

	/*PCメイン画像位置調整*/
	.m3p_book-present_img img {
		margin: 0 0 -45px 0 !important;
	}
}

/*SPbg*/
@media screen and (max-width:767px) {
	.m3p_book-present_all-bg {
		margin-top: -10px;
	}

	/*SPメイン画像位置調整*/
	.m3p_book-present_img img {
		margin: 10px auto -60px !important;
	}
}

/*----------差し替えエリアここまで----------*/

/*common*/

.m3-contents a {
    text-decoration: none !important;
}

.m3-contents .m3p_enquete-present_mainbg,
.m3-contents .m3p_enquete-present_bottom_bg {
	color: var(--tx-color);
}

.m3-list--note li {
	color: #333;
}

.m3-list--ordered {
	text-align: left;
}

.m3p_book-present_bg,
.m3p_book-present_bottom_bg {
	margin: -5px auto 0;
	font-family: 'Noto Sans JP', "Hiragino Kaku Gothic Pro", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
	font-feature-settings: "palt";
}

.m3p_book-present,
.m3p_book-present_bottom {
	max-width: 750px;
	margin: 0 auto;
	padding: 15px 20px 20px;
	font-feature-settings: "palt";
	text-align: justify;
	background-color: var(--bg-color);
}

.m3p_book-present_bottom {
	padding-top: 20px;
	background-color: var(--bg-bottom-color);
}

.m3p_book-present_img {
	width: 100%;
	text-align: center;
}

.m3p_book-present_img img {
	width: 100%;
	max-width: 750px;
	margin: 0;
	image-rendering: -webkit-optimize-contrast;
}

.m3-text--success {
	color: var(--primary-color) !important;
}

.m3p_enquete-present_download {
	padding: 0;
}

.m3p_enquete-present_download img {
	width: 100%;
	margin-top: 8px;
}

/* bg */
.m3p_book-present_bottom_bg {
	background-color: var(--bg-bottom-color);
}

/*marker*/
.m3p_book-present_booklist_highlight {
	background-image: linear-gradient(90deg, var(--tx-highlight-color), var(--tx-highlight-color));
	display: inline;
	position: relative;
	background-repeat: no-repeat;
	background-position: bottom left;
	background-size: 0 40%;
	transition-property: all;
	transition-duration: 0.65s;
	transition-delay: 0s;
	transition-timing-function: ease-in-out;
}

.m3p_book-present_booklist_highlight.m3p_book-present_booklist_marker {
	background-size: 100% 40%;
}

.m3p_book-present_all-bg.m3-text--success {
	color: var(--primary-color);
}

/*button */
.m3p_book-present_button {
	text-align: center;
}

.m3p_book-present_button a {
	background-color: var(--btn-color);
	color: #fff !important;
	display: block;
	line-height: 0.8;
	letter-spacing: 0.1em;
	font-weight: bold;
	padding: 23px 0;
	margin: 30px auto 10px;
	text-align: center;
	border-radius: 15px;
	transition: .4s;
}

.m3p_book-present_button a:hover {
	background-color: var(--btn-color-hover);
	color: #fff !important;
	text-decoration: none;
	transform: translateY(-3px);
}

.m3p_book-present_button a small {
	font-size: 12px;
	font-weight: normal;
}

/* leftdays */
.head-leftdays-pc {
	font-size: 1.2rem;
	font-weight: 700;
	text-align: center;
	font-feature-settings: "palt";
	color: #333;
	line-height: 1;
	padding: 0.7rem 0 0 0;
	margin-bottom: -10px;
}

.head-leftdaystext-pc {
	font-size: 2.0rem;
	margin: 0 0.3rem;
}

.head-leftdays-sp {
	font-size: 1rem;
	font-weight: 700;
	text-align: center;
	font-feature-settings: "palt";
	color: #333;
	line-height: 1;
	padding: 0 0 0 0;
	margin-bottom: -18px;
}

.head-leftdaystext-sp {
	font-size: 1.8rem;
	margin: 0 0.3rem;
}

/* 残り日数色 */
.head-leftdaystext-pc,
.head-leftdaystext-sp {
	color: var(--primary-color);
}

/* webfont */
.m3p_book-present_webfont {
	font-family: var(--webfont-family), sans-serif;
	font-weight: 700;
	font-style: normal;
}

.m3p_book-present_webfont-r {
	font-family: var(--webfont-family), sans-serif;
	font-weight: 400;
	font-style: normal;
}

.m3p_book-present_fadeIn {
	animation: fadeIn 0.8s ease 0s 1 normal;
}

/* present_flow-area */
.m3p_enquete-present_flow-area {
	text-align: center;
}

.m3p_enquete-present_flow-area h3 {
	margin: 0 auto;
}

.m3p_enquete-present_flow-area h4 {
	margin: 0 auto;
}

.m3p_enquete-present_flow-area p {
	text-align: left;
}

.m3p_enquete-present_flow-area img {
	width: auto;
	margin: 10px auto 5px;
}

.m3p_enquete-present_flow-area_left,
.m3p_enquete-present_flow-area_right,
.m3p_enquete-present_flow-area_center {
	background-color: #fff;
}

.m3p_book-present_book h4 {
	color: var(--primary-color);
}

.m3p_book-present_booklist {
	background-color: #fff;
	border-radius: 12px;
	box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.05);
}

.m3p_book-present_booklist h1 {
	padding-top: 20px !important;
	text-align: center;
}

.m3p_book-present_site_left,
.m3p_book-present_site_right {
	padding: 10px 20px 10px;
	border-radius: 20px;
	background-color: #fff;
	box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.05);
}

.m3p_book-present .m3-heading--3xlarge {
	padding: 20px 0 10px
}

/* present_flow-area */
.m3p_book-present_appinfo {
	padding: 0 15px 20px;
	margin: 20px 0 5px;
	border-top: 1px solid #aaa;
}

.m3p_book-present_appinfo .m3-list {
	list-style-position: inside;
	margin-top: 5px;
}

/* fadeIn */
@keyframes fadeIn {
	0% {
		opacity: 0;
		transform: translateY(10px);
	}

	100% {
		opacity: 1;
	}
}

/* flow_fadeIn */

.fadeUp {
	animation-name: fadeUpAnime;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;
	opacity: 0;
}

@keyframes fadeUpAnime {
	from {
		opacity: 0;
		transform: translateY(15px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media screen and (min-width:768px) {
	.m3p_book-present {
		margin-top: -24px !important;
	}

	.m3p_book-present_download {
		padding: 0 10%;
	}

	.m3p_book-present_detail {
		display: flex;
		justify-content: space-between;
	}

	.m3p_book-present_book {
		width: 100%;
		padding: 16px 28px 12px;
		margin-top: 10px;
		background-color: #FFF;
		border-radius: 12px;
		box-shadow: 0px 2px 10px 0px rgba(90, 49, 78, 0.1) !important;
	}

	.m3p_book-present_book h1 {
		margin: 0 0 16px;
		font-size: 1.8em;
		padding: 0 0 10px;
		border-bottom: 1px solid #EAEAF0;
	}

	.m3p_book-present_book h1 small {
		font-size: 0.5em;
	}

	.m3p_book-present_book h3 {
		margin: 0 0 -12px;
		font-size: 1.2em;
		color: var(--primary-color);
	}

	.m3p_book-present_book h4 {
		margin: 5px 0 0;
	}

	.m3p_book-present_book-items {
		display: flex;
		justify-content: space-between;
		gap: 20px;
	}

	.m3p_book-present_book-item {
		flex: 1;
		text-align: left;
	}

	.m3p_book-present_bookimg {
		width: 43% !important;
		float: left;
		padding-top: 10px;
		padding-right: 30px;
	}

	.m3p_book-present_booklist {
		padding: 10px 25px 10px 15px;
		margin-top: 40px;
	}

	.m3p_book-present_booklist_detail {
		border-bottom: #eee 1px dashed;
		display: flex;
	}

	.m3p_book-present_booklist_attention {
		float: right;
		color: #999;
		font-size: 11px;
		font-weight: normal;
		padding: 20px 10px 0 0;
	}

	.m3p_book-present_booklist_detail .m3p_book-present_booklist_detail_line {
		border-left: #eee 1px dashed;
	}

	.m3p_book-present_booklist_detail-top h3 {
		margin-top: 0 !important;
	}

	.m3p_book-present_booklist_detail-top img {
		margin-top: -25px;
	}

	.m3p_book-present_booklist img {
		padding: 25px 10% 10px 15%;
		width: 75%;
	}

	.m3p_book-present_booklist .m3p_book-present_ribbon {
		width: 60%;
		margin: -55px auto 5px 5%;
	}

	.m3p_book-present_booklist h3,
	.m3p_book-present_booklist p {
		padding-right: 15px;
	}

	.m3p_book-present_booklist h3 {
		margin: 25px auto 10px;
	}

	.m3p_book-present_booklist p {
		margin-top: 0px;
	}

	.m3p_book-present_site {
		margin: 40px auto;
	}

	.m3p_book-present_button a {
		max-width: 58%;
		font-size: 2.1em;
	}

	.m3p_book-present_br-sp {
		display: none;
	}

	.m3p_enquete-present_flow-area {
		margin: 10px auto 35px;
	}

	.m3p_enquete-present_flow-area img {
		height: 100px;
	}

	.m3p_enquete-present_flow-area_left,
	.m3p_enquete-present_flow-area_right,
	.m3p_enquete-present_flow-area_center {
		height: 280px;
		padding: 20px !important;
		border-radius: 12px;
		box-shadow: 0px 2px 10px 0px rgba(90, 49, 78, 0.1);
	}

	.m3p_enquete-present_flow-area p {
		margin-top: 2px;
	}

	.m3p_enquete-present_download {
		padding: 0 18% 20px;
	}
}

@media screen and (max-width:767px) {
	.m3p_book-present_picture p.m3-text-center {
		margin-top: -20px;
		padding-bottom: 15px;
	}

	.m3p_book-present_picture.m3p_book-present_button {
		padding: 0 15px;
	}

	.m3p_book-present_detail {
		display: flex;
		flex-direction: column;
	}

	.m3p_book-present_book {
		width: auto;
		padding: 24px 20px 5px;
		background-color: #FFF;
		border-radius: 12px;
		box-shadow: 0px 2px 10px 0px rgba(90, 49, 78, 0.1) !important;
	}

	.m3p_book-present_book {
		text-align: center;
	}

	.m3p_book-present_book h1 {
		margin: 0 0 16px;
		font-size: 1.8em;
		padding: 0 0 16px;
		border-bottom: 1px solid #EAEAF0;
		line-height: 0.8;
		text-align: left;
	}

	.m3p_book-present_book h1 small {
		font-size: 0.5em;
	}

	.m3p_book-present_book h3 {
		margin: 0 0 -12px;
		font-size: 1.2em;
		color: var(--primary-color);
		text-align: left;
	}

	.m3p_book-present_book h4 {
		margin: 15px 0 0;
	}

	.m3p_book-present_book p {
		text-align: left;
	}

	.m3p_book-present_book-items {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.m3p_book-present_book-item {
		width: 100%;
	}

	.m3p_book-present_bookimg {
		width: 45% !important;
		text-align: center;
		margin: 0 auto;
	}

	.m3p_book-present_booklist {
		margin-top: 40px;
	}

	.m3p_book-present_booklist h1 {
		margin: -50px auto -25px;
	}

	.m3p_book-present_booklist h1 small {
		color: #999;
		font-size: 11px;
		font-weight: normal;
	}

	.m3p_book-present_booklist h3,
	.m3p_book-present_booklist p {
		padding-right: 15px;
	}

	.m3p_book-present_booklist h3 {
		margin: 25px auto 10px;
	}

	.m3p_book-present_booklist p {
		margin-top: 0px;
	}

	.m3p_book-present_booklist img {
		padding: 25px 10% 0;
		width: 80%;
	}

	.m3p_book-present_booklist .m3p_book-present_ribbon {
		width: 80%;
		margin: -50px auto -10px;
	}

	.m3p_book-present_booklist_detail .m3-span-6 {
		padding-bottom: 15px;
		border-bottom: #eee 1px solid;
	}

	.m3p_book-present_site {
		margin: 20px auto 25px;
	}

	.m3p_book-present_site h3 {
		margin: 5px auto -5px;
	}

	.m3p_book-present_site_right {
		margin-bottom: 10px;
	}

	.m3p_book-present_button a {
		max-width: 95%;
		font-size: 1.7em;
		line-height: 90%;
	}

	.m3p_book-present_br-pc {
		display: none;
	}

	.m3p_enquete-present_flow-area {
		padding: 0;
		margin: 10px auto 30px;
	}

	.m3p_enquete-present_flow-area img {
		height: 85px;
		float: right;
		margin-top: -4%;
		margin-left: 10px;
	}

	.m3p_enquete-present_flow-area h4,
	.m3p_enquete-present_flow-area h3 {
		text-align: left;
	}

	.m3p_enquete-present_flow-area h3 {
		font-size: 0.9em;
		margin-bottom: 3px;
	}

	.m3p_enquete-present_flow-area h4 {
		margin-bottom: -8px;
		font-size: 1.5em;
	}

	.m3p_enquete-present_flow-area_center {
		margin: 20px 0;
	}

	.m3p_enquete-present_flow-area_left,
	.m3p_enquete-present_flow-area_right,
	.m3p_enquete-present_flow-area_center {
		padding: 15px 20px 5px !important;
		border-radius: 10px;
		box-shadow: 0px 2px 10px 0px rgba(90, 49, 78, 0.1);
	}
}