/*
Theme Name: MYTREX Official Site
Author: Sotsu Medical
Author URI: https://mytrex.jp/hiho-fine-e/megumi/
Description:アンバサダー MEGUMI
Version: 1.0
*/

/* 動画 */
#video-hfbe {
	position: relative;
	width: 100%;
	height: auto;
}
#video-btn,
#video-btn.current,
#video-btn2,
#video-btn2.current {
	cursor: pointer;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background: none;
}
#video-btn::after,
#video-btn2::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,
#video-btn2.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,
	#video-btn2::after {
		width: 7.5vw;
		height: 7.5vw;
		bottom: 2vw;
		right: 2vw;
		top: auto;
		left: auto;
		transform: inherit;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		-webkit-transform: translate(-50%, -50%);
		-ms-transform: translate(-50%, -50%);
	}
	#video-btn.current::after,
	#video-btn2.current::after {
		width: 7.5vw;
		height: 7.5vw;
		bottom: 2vw;
		right: 2vw;
	}
}

@media screen and (min-width: 768px) {
	#video-btn::after,
	#video-btn2::after {
		width: 5.5vw;
		height: 5.5vw;
	}
	#video-btn.current::after,
	#video-btn2.current::after {
		width: 5.5vw;
		height: 5.5vw;
	}
	#video-btn.current::after,
	#video-btn2.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: #fff;
	transition: all .5s;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-top: 8vw;
}

@media screen and (max-width: 767px) {
	.wrapper>main {
		margin-top: 20vw;
	}
}

@media screen and (min-width: 768px) {
	main {
		margin-top: 3vw !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 -------------------------------------------------------------- */

/*** section ***/
@media screen and (max-width: 767px) {
	#pd_c {
		padding: 0% 0 10%;
	}
	#pd_mv {
		background: #ffffff;
		z-index: 1;
	}
}

@media screen and (min-width: 768px) {
	#pd_c {
		padding: 5% 0 5vw;
	}
	#pd_mv {
		padding: 0% 0 0%;
		background: #ffffff;
		z-index: 1;
	}
}

/*** section ***/
/*** b ***/
@media screen and (max-width: 767px) {
	.pd_b_sp {
		padding: 0vw;
	}
	.pd_b_pc {
		display: none;
	}
	.pd_b {
		width: 100%;
	}
	.pd_b img {
		width: 100%;
		height: auto;
	}
}

@media screen and (min-width: 768px) {
	.pd_b_sp {
		display: none;
	}
	.pd_b_pc {
		padding: 0vw;
	}
	.pd_b {
		width: 100%;
	}
	.pd_b img {
		width: 100%;
	}
}

/*** b ***/
/*** c ***/
@media screen and (max-width: 767px) {
	.pd_c_slider {
		padding: 0vw 4vw 4vw;
	}
	.pd_c_box {
		padding: 1vw 1vw;
	}
	.pd_c_ttl_sub {
		padding: 2vw 4vw 3vw;
		font-size: 3.3vw;
		line-height: 1.6;
		letter-spacing: .3vw;
	}
	.pd_c_ttl_sub2 {
		padding: 0 4vw;
		font-size: 5.3vw;
		line-height: 1;
		/* letter-spacing: .5vw; */
	}
	.pd_c_nm4 {
		padding: 2vw 0 5vw;
		font-size: 7.7vw;
		font-weight: 800;
		line-height: 11vw;
		letter-spacing: .3vw;
		border-bottom: 1px solid #000;
		margin: 4vw;
		transform: scale(1, 0.95);
	}
	.pd_c_nm4 sup {
		font-size: 4.5vw;
		vertical-align: top;
		/* font-weight: 100; */
		letter-spacing: -0.1em;
	}
	.pd_c_text {
		padding: 0 4vw 9vw;
		font-size: 3.3vw;
		line-height: 1.92;
		letter-spacing: 0.1em;
	}
	.pd_c_text sup {
		display: inline-block;
		transform: scale(0.7);
	}
	.pd_c_text small {
		text-align: left;
		display: block;
		font-size: 2vw;
		letter-spacing: 0.1vw;
		padding-top: 3vw;
	}
	.pd_c_price1 {
		padding: 0 4vw 3vw;
		font-size: 3.3vw;
		line-height: 1;
		letter-spacing: .1vw;
	}
	.pd_c_price2 {
		padding: 1vw 4vw 4vw;
		font-size: 10vw;
		font-weight: 800;
		line-height: 8vw;
		letter-spacing: 0vw;
	}
	.outofstock_blank {
		padding-bottom: 15% !important;
	}
	.pd_c_price2b {
		font-size: 2.5vw;
		line-height: 2.5vw;
		padding-left: 2vw;
	}
}

@media screen and (min-width: 768px) {
	.pd_c_slider {
		padding: 0vw 8vw;
	}
	.pd_c_box {
		padding: 1vw 1vw;
	}
	.pd_c_ttl_sub {
		padding: 0vw 0vw 0vw;
		font-size: 0.9vw;
		letter-spacing: 0.09em;
	}
	.pd_c_ttl_sub2 {
		padding: 1vw 0vw 1vw;
		font-size: 1.4vw;
		letter-spacing: -0.01em;
	}
	.pd_c_nm4 {
		padding: 0vw 0vw 2vw;
		font-size: 2vw;
		font-weight: 800;
		line-height: 1.4;
		letter-spacing: 0.07em;
		border-bottom: 1px solid #3c3c3c;
		margin-bottom: 2vw;
	}
	.pd_c_nm4 sup {
		font-size: 1.3vw;
	}
	.pd_c_text {
		font-size: 0.9vw;
		line-height: 1.7;
		letter-spacing: .025em;
	}
	.pd_c_text small {
		padding: 1vw 0 0;
		font-size: .9vw;
		line-height: 1.5vw;
		letter-spacing: .05vw;
	}
	.pd_c_price1 {
		padding: 0;
		font-size: 1.3vw;
		line-height: 2vw;
		letter-spacing: .1vw;
	}
	.pd_c_price2 {
		padding: 0vw 0vw 0vw;
		font-size: 3vw;
		font-weight: 800;
		line-height: 4vw;
		letter-spacing: 0.1vw;
	}
	.pd_c_price2b {
		font-size: 1.2vw;
		line-height: 4vw;
	}
}

/*** c ***/

/*** btm ***/
#cartin_sp {
	position: fixed;
	bottom: 0px;
	right: 0px;
	background: #d9e5dade;
	padding: 0px 0px 0px;
	height: 10vw;
}

.mytrex_buy {
	width: 100%;
}

@media screen and (max-width: 767px) {
	.mytrex_buy_item {
		float: left;
		font-size: 3vw;
		font-weight: 800;
		line-height: 4vw;
		color: #231815;
		padding: 1vw 3vw 1vw 3vw;
		letter-spacing: 0.1vw;
		min-width: 30vw;
	}
	.mytrex_buy {
		padding: 0 12vw;
	}
}

@media screen and (min-width: 768px) {
	.mytrex_buy {
		padding: 0 1vw;
	}
}

/*** btm ***/

/***          cmn          ***/
.pd_wrap {
	color: #1a1a1a;
}

@media screen and (max-width: 767px) {
	.col-xs-1,
	.col-sm-1,
	.col-md-1,
	.col-lg-1 {
		min-height: 0;
	}
	.full-width,
	.sp-full-width {
		display: block;
		margin: 0 calc(50% - 50vw);
	}
	.pd_wrap img {
		width: 100%;
		display: block;
		vertical-align: bottom;
	}
	.pd_b {
		margin-bottom: 13vw;
	}
}

@media screen and (min-width: 768px) {
	.pd_wrap img {
		width: 100%;
		display: block;
		vertical-align: bottom;
	}
	.full-width {
		display: block;
		margin: 0 calc(50% - 50vw);
	}
}
/***          cmn          ***/


@media screen and (max-width: 767px) {
  .pd_b {
    margin-bottom: 0;
  }

  .interview_list {
    background-color: #dee7ed;
  }
  .interview_list picture:not(:last-child) {
    display: block;
    margin-bottom: 6.5vw;
  }
  .interview_list picture:nth-child(1),
  .interview_list picture:nth-child(4) {
    margin-bottom: 2.5vw;
  }

  .special_mv {
    background-color: #dee7ed;
    padding-top: 13vw;
  }
  .special_mv_ttl {
    text-align: center;
    font-size: 5.3vw;
    letter-spacing: 0.04em;
    margin-bottom: 5.0vw;
  }

  .profile {
    background-color: #dee7ed;
    padding-top: 9vw;
    padding-bottom: 9vw;
  }
  .profile_box {
    display: flex;
    flex-direction: row-reverse;
    background-color: #fff;
  }
  .profile_img {
    width: 44vw;
  }
  .profile_img img {
    object-fit: cover;
    height: 100%;
  }
  .profile_text {
    width: calc(100% - 44vw);
    padding: 5vw 6.5vw;
  }
  .profile_text1 {
    font-size: 5.0vw;
    letter-spacing: 0.14em;
    margin-bottom: 3vw;
  }
  .profile_text2 {
    font-size: 2.5vw;
    letter-spacing: 0.06em;
    line-height: 1.7;
  }

  .pd_c_ttl {
    background-color: #808080;
    padding: 3vw 0;
    color: #fff;
    font-size: 3.7vw;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 10vw;
  }

  .pd_c_link a {
    display: block;
    background-color: #21110d;
    padding: 2.5vw;
    color: #fff;
    font-size: 3.7vw;
    letter-spacing: 0.1em;
    text-align: center;
  }
  .pd_c_box .pd_c_price2 {
    padding-bottom: 8vw;
  }

  .making_mv_player {
    position: relative;
    line-height: 0;
  }
  .special_mv_player {
    position: relative;
    line-height: 0;
  }
}
@media screen and (min-width: 768px) {
  .making_mv {
    position: relative;
  }
  .making_mv_player {
    line-height: 0;
  }
  .making_mv_player {
    position: absolute;
    left: 0;
    right: 0;
    top: 14vw;
    width: 74vw;
    margin: auto;
  }

  .interview_list {
    background-color: #dee7ed;
  }
  .interview_list picture:not(:last-child) {
    display: block;
    margin-bottom: 4vw;
  }
  .special_mv {
    background-color: #dee7ed;
    padding-top: 9vw;
  }
  .special_mv_ttl {
    text-align: center;
    font-size: 1.8vw;
    letter-spacing: 0.04em;
    margin-bottom: 2.0vw;
  }
  .special_mv_player {
    position: relative;
    line-height: 0;
  }

  .profile {
    background-color: #dee7ed;
    padding-top: 5vw;
    padding-bottom: 5vw;
  }
  .profile_box {
    display: flex;
    width: 61vw;
    margin: auto;
    background-color: #fff;
  }
  .profile_img {
    width: 20vw;
  }
  .profile_img img {
    object-fit: cover;
    height: 100%;
  }
  .profile_text {
    width: calc(100% - 20vw);
    padding: 2vw 2.5vw;
  }
  .profile_text1 {
    font-size: 1.9vw;
    letter-spacing: 0.14em;
    padding-bottom: 1vw;
    border-bottom: 1px solid #000;
    margin-bottom: 1vw;
  }
  .profile_text2 {
    font-size: 1.0vw;
    letter-spacing: 0.02em;
    line-height: 1.75;
  }

  .pd_c_ttl {
    background-color: #808080;
    padding: 1vw 0;
    color: #fff;
    font-size: 1.4vw;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 4.5vw;
  }
  .pd_c_slider {
    padding: 0 4vw 0 2vw;
  }
  .pd_c_link a {
    display: block;
    /* width: 26vw; */
    background-color: #21110d;
    padding: 0.5vw;
    color: #fff;
    font-size: 1.3vw;
    letter-spacing: 0.06em;
    text-align: center;
  }
}