/*
Theme Name: MYTREX Official Site
Author: Sotsu Medical
Author URI: https://www.mytrex.jp/hiho-fine-e-pr/
Description:MYTREX PROVE
Version: 1.0
*/

img {
	width: 100%;
	height: auto;
}

#video-01 {
	position: relative;
	width: 100%;
	height: auto;
}
#video-btn, #video-btn.current {
	cursor: pointer;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background: none;
}
#video-btn::after {
	position: absolute;
	content: '';
	display: block;
	background-image: url(/wp-content/themes/mytrex/img/teaser/hfbe/mv_play.png);
	background-size: cover;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	opacity: 1.0;
}
#video-btn.current::after {
	background-image: url(/wp-content/themes/mytrex/img/product/prove/mv_stop.png);
	opacity: 0.1;
	transform: inherit;
	-webkit-transform: inherit;
	-ms-transform: inherit;
	top: auto;
	left: auto;
}
@media screen and (max-width: 767px) {
	#video-btn::after {
		width: 8vw;
		height: 8vw;
		/* bottom: 2vw;
		right: 2vw;
		top: auto;
		left: auto;
		transform: inherit; */
   }
	#video-btn.current::after {
		bottom: 2vw;
		right: 2vw;
   }
}
@media screen and (min-width: 768px) {
	#video-btn::after {
		width: 4vw;
		height: 4vw;
   }
	#video-btn.current::after {
		bottom: 2vw;
		right: 2vw;
   }
}

#header {
   /*はじめの高さを設定*/
	height: 7vw;
	width: 100%;
   /*以下はレイアウトのためのCSS*/
	display: flex;
	justify-content: space-between;
	align-items: center;
}
/*HeightMinというクラス名がついたら高さを小さく、上部固定に*/
#header.HeightMin {
	position: fixed;
	z-index: 999;
   /*最前面へ*/
	height: 0px;
	animation: DownAnime 0.5s forwards;
	margin-top: -7vw !important;
}
@keyframes DownAnime {
	from {
		opacity: 0;
		transform: translateY(-14vw);
   }
	to {
		opacity: 1;
		transform: translateY(0);
   }
}
main {
	height: 100%;
   /*min-height: 100vh;
   */
	padding: 0 0px;
	background-color: none;
	transition: all .5s;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-top: 8vw;
}
@media screen and (max-width: 767px) {
	.wrapper>main {
		margin-top: 0vw;
   }
}
@media screen and (min-width: 768px) {
	main {
		margin-top: 0vw !important;
   }
}
@media screen and (max-width: 767px) {
	.pc {
		display: none !important;
   }
}
@media screen and (min-width: 768px) {
	.sp {
		display: none !important;
   }
}
@media screen and (min-width: 768px) {
	.container {
		padding-right: 0px;
		padding-left: 0px;
		margin-right: auto;
		margin-left: auto;
   }
}
.fs {
	font-family: 'Times New Roman', 'YuMincho', 'Hiragino Mincho ProN', 'Yu Mincho', 'MS PMincho', serif !important;
}
/* pagetop -------------------------------------------------------------- */
@media screen and (max-width: 767px) {
	#pageTop2 {
		position: fixed;
		bottom: 12vw;
		left: 2vw;
		z-index: 10000;
   }
}
@media screen and (min-width: 768px) {
	#pageTop2 {
		position: fixed;
		bottom: 2vw;
		right: 2vw;
		z-index: 10000;
   }
}
#pageTop2 img {
	width: 100%;
}
#pageTop2 a {
	display: block;
	z-index: 999;
	padding: 8px 8px 8px 8px;
	border-radius: 0px;
	width: 35px;
	height: 35px;
	background-color: #231815;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
}
#pageTop2 a:hover {
	text-decoration: none;
	background-color: #ffffff;
}
/* pagetop -------------------------------------------------------------- */

.hfbe_mv {
	position: relative;
}
.hfbe_mv iframe{
	width: 100%;
  height: 28.18vw;
}
@media screen and (max-width: 767px) {
.hfbe_mv iframe{
	height: 56.18vw;
}
}

.accordion_contents {
    position: relative;
    height: 90vw;
    overflow: hidden;
    transition: 0.4s all;
}
.accordion_contents.active {
    height: auto;
    overflow: visible;
    transition: 0.4s all;
    /* height: var(--max-height); */
}
.accordion_contents::before {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0.5) 15%, rgba(255, 255, 255, 0) 60%);
    z-index: 2;
    transition: 0.4s all;
}
.accordion_contents.active::before {
    display: none;
    transition: 0.4s all;
}
.accordion_btn {
	padding-left: 8vw;
	padding-right: 8vw;
	padding-bottom: 18vw;
}
.accordion_contents.active + .accordion_btn {
	/* background-color: #eef4ff; */
	padding-top: 6vw;
	padding-bottom: 6vw;
}
.more_voice {
	background-color: #f4f4f4;
	border: 1px solid #1a1c1b;
	padding: 1.5vw;
	font-size: 3.8vw;
	letter-spacing: 0.3em;
	color: #1a1c1b;
	text-align: center;
	margin-bottom: 2.5vw;
}
.more_voice .up-down {
	color: #8a8b8b;
}
.accordion_contents.active + .accordion_btn .up-down {
	display: inline-block;
	transform: rotate(180deg);
}
.personal_opinion {
	font-size: 2vw;
	letter-spacing: 0.1em;
	color: #666464;
	text-align: right;
}

@media screen and (max-width: 767px) {
	.splide__arrow--prev {
		left: -8vw !important;
	}

	.splide__arrow--next {
		right: -8vw !important;
	}

	.splide__arrow {
		background: unset !important;
	}

	.splide__pagination {
		bottom: -5vw !important;
	}

	.splide__pagination__page {
		height: 6px;
		margin: 0vw 6px;
		width: 6px;
	}

	.splide__pagination__page.is-active {
		background: #7e7a7a !important;
	}

	.pd_hfbe img {
		width: 100%;
		height: auto;
		vertical-align: bottom;
	}

	.pd_hfbe0 {
		position: fixed;
		bottom: -0.1vw;
		z-index: 888;
	}

	.pd_hfbe0 img {
		width: 100%;
		height: auto;
	}

	.gallery01 {
		position: relative;
		background-color: #f2f2f2;
		padding: 8vw;
	}

	#modal-hfbe1 {
		background-color: rgba(204, 204, 204, 0.42) !important;
	}

	#pd_mv {
		position: relative;
	}

	#modal-hebe1 {
		background-color: rgba(204, 204, 204, 0.42) !important;
	}

	.modal-content {
		/* bottom: 50vw !important; */
		top: 14vw !important;
		position: absolute;
		margin: 0 3vw;
	}

	.fs_cart_add form {
		padding: 0 5vw !important;
	}

	.modal_close {
		padding-bottom: 6vw;
	}
	.pd_hfbe2{
		margin-bottom: 14vw;
	}
	.pd_hfbe3{
		margin-bottom: 14vw;
	}
}

@media screen and (min-width: 768px) {
	.splide__arrow--prev {
		left: -7vw !important;
	}

	.splide__arrow--next {
		right: -7vw !important;
	}

	.splide__arrow {
		background: unset !important;
	}

	.splide__pagination {
		bottom: -2.2vw !important;
	}

	.splide__pagination__page {
		height: 6px;
		margin: 0vw 6px;
		width: 6px;
	}

	.splide__pagination__page.is-active {
		background: #7e7a7a !important;
	}

	.pd_hfbe img {
		width: 100%;
		height: auto;
		vertical-align: bottom;
	}

	.pd_hfbe0 {
		position: fixed;
		bottom: 0vw;
		z-index: 888;
		width: 50vw;
	}

	.pd_hfbe0 img {
		width: 100%;
		height: auto;
	}

	.gallery01 {
		position: relative;
		background-color: #f2f2f2;
		padding: calc(8vw * 0.5);
	}

	#modal-hfbe1 {
		background-color: rgba(204, 204, 204, 0.42) !important;
	}

	#btn-close-modal {
		padding: 0.8vw 1vw;
		margin: 0vw auto;
	}

	.modal-content {
		/* bottom: 10vw !important; */
		top: 3vw !important;
		position: absolute;
		margin: 0vw 0vw;
		width: 50vw;
		right: 25%;
	}

	.modal_close {
		padding: 1.5vw 0vw 4vw;
	}

	.accordion_contents {
		height: calc(33vw * 1.5);
	}
	.accordion_btn {
		padding-left: calc(8vw * 0.5);
		padding-right: calc(8vw * 0.5);
		padding-bottom: calc(18vw * 0.5);
	}
	.accordion_contents.active + .accordion_btn {
		padding-top: calc(6vw * 0.5);
		padding-bottom: calc(6vw * 0.5);
	}
	.more_voice {
		padding: calc(1.5vw * 0.5);
		font-size: calc(3.8vw * 0.5);
		margin-bottom: calc(2.5vw * 0.5);
	}
	.personal_opinion {
		font-size: calc(2vw * 0.5);
	}
	.pd_hfbe2{
		margin-bottom: 6vw;
	}
	.pd_hfbe3{
		margin-bottom: 6vw;
	}
}

/* 特典枠追加 */
.privilege {
	margin-top: -7vw !important;
}
.privilege_ttl {
	position: relative;
}
.privilege_heading {
	font-size: 5.8vw;
	letter-spacing: 0.1em;
	text-align: center;
	color: #001d4c;
	position: absolute;
	left: 0;
	top: 4.5vw;
	right: 0;
	margin: auto;
}
.privilege_list {
	background: url("/wp-content/themes/mytrex/img/product/hfbe_pr/pr_hfbe_00_bg.png") no-repeat left top;
	background-size: cover;
	counter-reset: number 0;
	padding-bottom: 4vw;
}
.privilege_list_bg {
	background-color: #ffffff;
	border: 1px solid #e2a754;
	margin-left: 4vw;
	margin-right: 4vw;
	padding: 6vw 6.5vw 6vw 0;
}
.privilege_list_bg {
	background-color: #ffffff;
	border: 1px solid #e2a754;
	margin-left: 4vw;
	margin-right: 4vw;
	padding: 6vw 6.5vw 6vw 0;
}
.privilege_data {
	font-size: 4.25vw;
}
.privilege_data1 {
	margin-top: -6vw !important;
}
.privilege_data:not(:first-child) {
	margin-left: 6.5vw;
	display: flex;
	align-items:center;
	/* width: 100%; */
	background-color: #f7f8f8;
	margin-bottom: 1.5vw;
}
.privilege_data small {
	display: contents;
	font-size: 2.1vw;
	vertical-align: bottom;
}
.privilege_bnr {
	padding-left: 6.5vw;
}
.privilege_bnr_ttl {
	text-align: center;
	font-size: 4.25vw;
	/* letter-spacing: 0.095em; */
	color: #001d4c;
	margin-bottom: 1vw;
}
.privilege_bnr_ttl span:nth-of-type(1) {
	transform: rotate(90deg);
    display: inline-block;
	position: relative;
	top: -0.3vw;
}
.privilege_bnr_ttl span:nth-of-type(2) {
	transform: rotate(180deg);
    display: inline-block;
	position: relative;
	top: -0.5vw;
}
.privilege_bnr_coupon {
	background-color: #001d4c;
	color: #ffffff;
	padding: 2.5vw;
}
.privilege_bnr_img {
	margin-bottom: 2vw;
}
.privilege_bnr_time {
	font-size: 4vw;
	letter-spacing: 0.033em;
	text-align: center;
	padding: 0.8vw;
	border: 1px solid #ffffff;
}
.privilege_bnr_time .year {
	font-size: 3vw;
}
.privilege_bnr_time .day {
	display: inline-block;
	margin-left: 0.5vw;
	margin-right: 0.5vw;
	background: #fff;
	border-radius: 50%;
	width: 4vw;
	height: 4vw;
	font-size: 3vw;
	text-align: center;
	line-height: 4vw;
	color: #001d4c;
	top: -0.5vw;
    position: relative;
}
.privilege_bnr_time .end {
	font-size: 3vw;
}
.privilege_list .privilege_num {
	display: grid;
	position: relative;
	background-color: #8091c4;
	font-size: 2vw;
	color: #fff;
	text-align: center;
	padding: 1vw;
	width: 8vw;
	height: 8vw;
	margin-right: 3vw;
}
.privilege_list .privilege_num:after {
	font-family: 'Times New Roman','YuMincho','Hiragino Mincho ProN','Yu Mincho','MS PMincho',serif !important;
	font-size: 4vw;
}
.privilege_list .privilege_num:after {
    counter-increment: number;
    content: counter(number);
	/* content: "特典\A" counter(number); */
	white-space: pre;
}

@media screen and (max-width: 767px) {
	.wrapper main {
		margin-top: 0vw !important;
	}
.privilege_heading2 {
	font-size: 4.3vw;
	letter-spacing: 0.1em;
	text-align: center;
	color: #DA596D;
	position: absolute;
	left: 0;
	top: 4.5vw;
	right: 0;
	margin: auto;
}
.privilege_heading2a{
	position: absolute;
    margin: 0 auto;
    margin-top: 0;
    top: 11vw;
    display: table;
    width: 100%;
    text-align: center;
    color: #da596d;
    font-size: 9.5vw;
    letter-spacing: -.2vw !important;
    padding-top: .7vw;
}
	.privilege_list{
		padding-top: 8vw;
	}
}
@media screen and (min-width: 768px) {
	.wrapper main {
		margin-top: 0vw !important;
	}

	.privilege {
		margin-top: calc(-7vw * 0.5) !important;
	}
	.privilege_heading {
		font-size: calc(5.8vw * 0.5);
		top: calc(4.5vw * 0.5);
	}
.privilege_heading2 {
	font-size: 5.8vw;
	letter-spacing: 0.1em;
	text-align: center;
	color: #DA596D;
	position: absolute;
	left: 0;
	top: 4.5vw;
	right: 0;
	margin: auto;
}

	.privilege_heading2 {
		font-size: calc(4.0vw*0.5);
		top: calc(4.5vw * 0.5);
	}
.privilege_heading2a{
position: absolute;
  margin: 0 auto;
    margin-top: 0px;
  top: 5vw;
  display: table;
  width: 100%;
  text-align: center;
  color: #DA596D;
  font-size: 5vw;
  letter-spacing: -0.2vw !important;
  padding-top: 0.7vw;
}
	.privilege_list {
		padding-bottom: calc(4vw * 0.5);
	}
	.privilege_list_bg {
		margin-left: calc(4vw * 0.5);
		margin-right: calc(4vw * 0.5);
		padding: calc(6vw * 0.5) calc(6.5vw * 0.5) calc(6vw * 0.5) 0;
	}
	.privilege_list_bg2 {
		margin: 0 auto;
		padding: 4vw 3vw 0vw;
	}
	.privilege_data {
		font-size: calc(4.25vw * 0.5);
	}
	.privilege_data1 {
		margin-top: calc(-6vw * 0.5) !important;
	}
	.privilege_data:not(:first-child) {
		margin-left: calc(6.5vw * 0.5);
		margin-bottom: calc(1.5vw * 0.5);
	}
	.privilege_data small {
		font-size: calc(2.1vw * 0.5);
	}
	.privilege_bnr {
		padding-left: calc(6.5vw * 0.5);
	}
	.privilege_bnr_ttl {
		font-size: calc(4.25vw * 0.5);
		margin-bottom: calc(1vw * 0.5);
	}
	.privilege_bnr_ttl span:nth-of-type(1) {
		top: calc(-0.3vw * 0.5);
	}
	.privilege_bnr_ttl span:nth-of-type(2) {
		top: calc(-0.5vw * 0.5);
	}
	.privilege_bnr_coupon {
		padding: calc(2.5vw * 0.5);
	}
	.privilege_bnr_img {
		margin-bottom: calc(42w * 0.5);
	}
	.privilege_bnr_time {
		font-size: calc(4vw * 0.5);
		padding: calc(0.8vw * 0.5);
	}
	.privilege_bnr_time .year {
		font-size: calc(3vw * 0.5);
	}
	.privilege_bnr_time .day {
		margin-left: calc(0.5vw * 0.5);
		margin-right: calc(0.5vw * 0.5);
		width: calc(4vw * 0.5);
		height: calc(4vw * 0.5);
		font-size: calc(3vw * 0.5);
		line-height: calc(4vw * 0.5);
		top: calc(-0.5vw * 0.5);
	}
	.privilege_bnr_time .end {
		font-size: calc(3vw * 0.5);
	}
	.privilege_list .privilege_num {
		font-size: calc(2vw * 0.5);
		padding: calc(1vw * 0.5);
		width: calc(8vw * 0.5);
		height: calc(8vw * 0.5);
		margin-right: calc(3vw * 0.5);
	}
	.privilege_list .privilege_num:after {
		font-size: calc(4vw * 0.5);
	}

	.splide__arrow--prev {
		left: -3.5vw !important;
	}
	.splide__arrow--next {
		right: -3.5vw !important;
	}
	.pd_hfbe4_b {
		bottom: 18.3vw;
    	left: 0.15vw;
	}
}

/* pd_hfbe */
.pr_hfbe_ani {
	position: relative;
}
.pr_hfbe_ani > picture {
	position: relative;
	z-index: 2;
}
.pr_hfbe_ani01 {
	width: 100%;
	position: absolute;
	left: 0;
	top: 5vw;
	z-index: 1;
}
.pr_hfbe_ani02 {
	width: 100%;
	position: absolute;
	left: 0;
	top: 5vw;
	z-index: 1;
}
.pr_hfbe_ani03 {
	width: 50vw;
	position: absolute;
	right: 0;
	top: 48vw;
	z-index: 2;
}
.pd_hfbe3a {
	width: 86.6vw;
	position: absolute;
	left: 5vw;
	top: 67vw;
	z-index: 2;
}
.pr_hfbe_ani04 {
	width: 92.5vw;
  position: absolute;
  left: 0;
  right: 0;
  top: 39.9vw;
  z-index: 2;
  margin: auto;
}
.pr_hfbe_ani05 {
	width: 92.5vw;
  position: absolute;
  left: 0;
  right: 0;
  top: 54.3vw;
  z-index: 2;
  margin: auto;
}
.pr_hfbe_ani06 {
	width: 87vw;
  position: absolute;
  left: 0;
  right: 0;
  top: 50.4vw;
  z-index: 2;
  margin: auto;
}

@media screen and (max-width: 767px) {}
@media screen and (min-width: 768px) {
	.pr_hfbe_ani01 {
		top: calc(5vw * 0.5);
	}
	.pr_hfbe_ani02 {
		top: calc(5vw * 0.5);
	}
	.pr_hfbe_ani03 {
		width: calc(50vw * 0.5);
		top: calc(48vw * 0.5);
	}
	.pd_hfbe3a {
		width: calc(87.1vw * 0.5);
    left: calc(5vw * 0.5);
    top: calc(66vw * 0.5);
	}
	.pr_hfbe_ani04 {
		width: calc(92.5vw * 0.5);
		top: calc(40.1vw * 0.5);
	}
	.pr_hfbe_ani05 {
		width: calc(92.6vw * 0.5);
		top: calc(54.3vw * 0.5);
	}
	.pr_hfbe_ani06 {
		width: calc(87.6vw * 0.5);
		top: calc(50.3vw * 0.5);
	}
}
