/*******************************************************************************
リッセットCSS
*******************************************************************************/

* {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

a,
button {
  cursor: revert;
}

ol,
ul,
menu,
summary {
  list-style: none;
}

/*******************************************************************************
変数
*******************************************************************************/

:root {
  /* 最大横幅 */
  --container-width: 1000px;

  /* 色 */
  --c-background: #222324;
  --c-black: #000;
  --c-white: #fff;
  --c-border-yellow: #d5bb5d;

  /* イージング */
  --easeInOutCubic: cubic-bezier(0.65, 0, 0.35, 1);
  --easeInOutQuint: cubic-bezier(0.83, 0, 0.17, 1);
}

/*******************************************************************************
ベース
*******************************************************************************/

body {
  font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  background: var(--c-background);
  display: flex;
  justify-content: center;
}

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

iframe {
  border: 0;
}

.elekibrushplus-lp-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto 200px;
  background: #222324;
}

/*******************************************************************************
アニメーション
*******************************************************************************/

/* jsで操作する要素はわかりやすいようにjs-***のプレフィックスをつける */

/* キラッと光らせる */
.shiny {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

/* 疑似要素で平行四辺形の図形を作り、グラーデション透過背景色を横移動させる */
.shiny::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: skewX(-30deg);
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 100%);
}

/*
  販売個数の画像を光らせるアニメーション

  販売個数はページ読み込み後にアニメーションされるため、
  初回はCSSアニメーションで実行し、その後GSAPでループアニメーションを適用

  対応ファイル: common.js
*/
.shiny.--sales::after {
  animation: moveOnceLeftToRight 0.8s var(--easeInOutCubic);
}

@keyframes moveOnceLeftToRight {
  0% {
    transform: translateX(-120%) skewX(-30deg);
  }

  100% {
    transform: translateX(120%) skewX(-30deg);
  }
}

/*
  GSAPで疑似要素をアニメーションさせる方法

  GSAPは疑似要素自体を直接アニメーションできないため、
  CSS変数を更新して動的に制御する
*/
:root {
  --x: -120%;
}

.js-sales-shiny.--sales::after {
  transform: translateX(var(--x)) skewX(-30deg);
}

/*
  クーポン画像を光らせるアニメーション

  クーポン画像は商品画像と一体化しているため、
  空の<div>を重ねてアニメーションを適用
*/
.shiny.--coupon {
  position: absolute;
  top: 1.7vw;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  height: 23vw;
}

.js-shiny.--coupon::after {
  transform: translateX(var(--x)) skewX(-30deg);
}

@media screen and (max-width:1000px) {
  .shiny.--coupon {
    top: 3vw;
    height: 37.7vw;
  }
}

/*
  文字画像を光らせるアニメーション

  文字画像はクーポン画像とは異なり、四角形ではないため、
  同じ画像をマスクとして使用し、光らせる処理を適用

  対象クラス:
  .up-190percent__mask
  .crown__mask
*/
.js-190percent-shiny::after,
.js-crown-shiny::after {
  transform: translateX(var(--x)) skewX(-30deg);
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

/* 要素のフェードイン */
.js-fadeIn {
  transform: translateY(20px);
  opacity: 0;
}

/* CTAボタン 揺らす */
.js-cta-btn {
  display: inline-block;
}

/* 要素のズームイン */
.js-zoomIn {
  transform: scale(0.75);
  opacity: 0;
}

/*******************************************************************************
販売個数
*******************************************************************************/

.sales-quantity {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sales-quantity__num {
  position: absolute;
  width: 100%;
}

/* 横移動のアニメーション */
.sales-quantity__num {
  opacity: 0;
  transform: translateX(-20px);
  animation: moveNum 0.6s ease both;
}

@keyframes moveNum {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/*******************************************************************************
FV
*******************************************************************************/

.fv-copy-box {
  position: relative;
}

.fv-copy {
  position: absolute;
  top: calc(-23 / 136 * 100%);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.fv-copy__txt,
.fv-copy__arrow {
  position: absolute;
  top: 0;
}

.fv-copy__txt {
  z-index: 1;
}

.fv-copy__arrow {
  top: 43px;
  left: -10px;
}

@media screen and (max-width:1000px) {
  .fv-copy__arrow {
    top: 4vw;
    left: -1.2vw;
  }
}

.fv-movie-wrapper {
  position: relative;
}

.fv-scalp-serum {
  position: absolute;
  z-index: 1;
  width: calc(180 / 1000 * 100%);
  top: calc(129 / 1069 * 100%);
  right: calc(107 / 1000 * 100%);
}

.fv-movie {
  position: absolute;
  top: calc(480 / 1069 * 100%);
  left: 0;
  /* width: calc(795 / 1000 * 100%); */
  width: calc(740 / 1000 * 100%);
  height: auto;
  vertical-align: bottom;
}

.fv-movie__txt1,
.fv-movie__txt2 {
  opacity: 0;
  transform: translateX(-20px);
  animation: moveNum 0.6s ease both;
}

.fv-movie__txt1 {
  position: absolute;
  top: calc(32 / 1069 * 100%);
  left: calc(43 / 1000 * 100%);
  width: calc(500 / 1000 * 100%);
  animation-delay: .2s;
}

.fv-movie__txt2 {
  position: absolute;
  top: calc((45 / 1069 * 100%) * -1);
  left: calc(33 / 1000 * 100%);
  width: calc(956 / 1000 * 100%);
  mix-blend-mode: screen;
  animation-delay: .25s;
}

.fv-sasaki {
  position: relative;
}

.fv-sasaki__190percent {
  position: absolute;
  top: calc((230 / 1564 * 100%) * -1);
  right: 0;
  width: calc(363 / 1000 * 100%);
  transform: translateY(20px);
  animation: movePercent 0.6s ease both;
  animation-delay: .5s;
}

@keyframes movePercent {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.js-copy-txt {
  opacity: 0;
  transform: translate(-20px, 20px);
}

.js-copy-arrow {
  opacity: 0;
  transform: translate(0, 46%) scale(0.5);
}

/*******************************************************************************
オファー, CTAボタン
*******************************************************************************/

.offer-box {
  position: relative;
  /*
    ボタンの揺れがビューポートの横幅を超えるため、画面全体が揺れる
    それの解消
  */
  overflow-x: hidden;
}

.cta-box {
  position: relative;
}

.cta-btn {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 96%;
}

.cta-alert {
  position: absolute;
  bottom: 18vw;
  left: 27.5%;
  font-size: 1.8vw;
  width: auto;
  line-height: 1.2;
  letter-spacing: 0.10em;
}

@media screen and (min-width:1000px) {
  .cta-alert {
    bottom: 178px;
    font-size: 18px;
  }
}

.cta-alert a {
  color: #666;
  text-decoration: none;
}

.chatform-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 5;
}

.chatform-btn-img {
  display: block;
  max-width: 360px;
}

.chatform-btn-n {
  display: none;
  position: fixed;
  bottom: -5px;
  z-index: 5;
}

.chatform-btn-img-n {
  display: block;
  width: 100%;
  max-width: 850px;
}

/*******************************************************************************
Before, After
*******************************************************************************/

.before-after-title {
  position: relative;
  display: flex;
  justify-content: center;
}

.before-after-title__txt {
  position: absolute;
  top: 25%;
  width: 83%;
}

.before-after-box {
  position: relative;
}

.before-after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
}

.before-after.--1 {
  top: 25.5%;
}

.before-after.--2 {
  top: 27.7%;
}

.before-after.--3 {
  top: 24.1%;
}

.before-after__before {
  position: absolute;
  overflow: hidden;
  width: 100%;
}

/*******************************************************************************
頭皮が健やかだと印象に差が！
*******************************************************************************/

.hihu-movie {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/*******************************************************************************
75冠
*******************************************************************************/

.crown {
  position: relative;
}

.crown__txt {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(20px);
  opacity: 0;
}

/* 光らせる文字画像と同じ画像を用いてマスクさせる */
.crown__mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mask-image: url('https://d2w53g1q050m78.cloudfront.net/brightejp/uploads/_lp/elekibrushplus/01/img/pt_2_05_text.webp');
  mask-size: 100% auto;
  mask-repeat: no-repeat;
  mask-position: left top;
  /* 文字なので、より光っているのがわかりやすく */
  mix-blend-mode: plus-lighter;
}

.crown-list {
  position: relative;
}

.js-crown-list {
  position: absolute;
  opacity: 0;
  transform: translateY(20px);
}

/*
  位置とサイズの計算 (Photoshopのスライスエリア基準)

  - `top`: スライスエリアの上端から画像の上端までの距離を、スライスエリアの高さで割った割合
  - `left`: スライスエリアの左端から画像の左端までの距離を、スライスエリアの横幅で割った割合
  - `width`: 該当画像の幅をスライスエリアの横幅で割った割合
*/
.crown-list__1 {
  top: 0;
  left: calc(73 / 1000 * 100%);
  width: calc(175 / 1000 * 100%);
}

.crown-list__2 {
  top: calc(4 / 933 * 100%);
  left: calc(295 / 1000 * 100%);
  width: calc(158 / 1000 * 100%);
}

.crown-list__3 {
  top: calc(14 / 933 * 100%);
  left: calc(501 / 1000 * 100%);
  width: calc(230 / 1000 * 100%);
}

.crown-list__4 {
  top: calc(11 / 933 * 100%);
  left: calc(770 / 1000 * 100%);
  width: calc(144 / 1000 * 100%);
}

.crown-list__5 {
  top: calc(296 / 933 * 100%);
  left: calc(41 / 1000 * 100%);
  width: calc(226 / 1000 * 100%);
}

.crown-list__6 {
  top: calc(291 / 933 * 100%);
  left: calc(299 / 1000 * 100%);
  width: calc(154 / 1000 * 100%);
}

.crown-list__7 {
  top: calc(304 / 933 * 100%);
  left: calc(499 / 1000 * 100%);
  width: calc(234 / 1000 * 100%);
}

.crown-list__8 {
  top: calc(337 / 933 * 100%);
  left: calc(752 / 1000 * 100%);
  width: calc(179 / 1000 * 100%);
}

.crown-list__9 {
  top: calc(632 / 933 * 100%);
  left: calc(177 / 1000 * 100%);
  width: calc(200 / 1000 * 100%);
}

.crown-list__10 {
  top: calc(602 / 933 * 100%);
  left: calc(422 / 1000 * 100%);
  width: calc(156 / 1000 * 100%);
}

.crown-list__11 {
  top: calc(600 / 933 * 100%);
  left: calc(632 / 1000 * 100%);
  width: calc(157 / 1000 * 100%);
}

/*******************************************************************************
掲載一覧
*******************************************************************************/

.award-scroll-section {
  position: relative;
}

.award-scroll {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 406px;
  overflow-y: scroll;
  width: 94%;
  margin: 0 auto;
}

.award-list {
  position: relative;
  left: 0;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  padding: 24px 0;
}

.award-list::before,
.award-list::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--c-border-yellow);
}

/* 縦線と横幅の同期 */
:root {
  --id-width: 12%;
  --date-width: 23%;
}

.award-list::before {
  left: var(--id-width);
}

.award-list::after {
  right: var(--date-width);
}

.award-list__item {
  display: flex;
  font-size: 18px;
  line-height: 1.4;
}

.award-list__item span:first-child {
  width: var(--id-width);
  padding-left: 5%;
}

.award-list__item span:nth-child(2) {
  width: 65%;
  padding: 0 3%;
  border-right: 1px solid var(--c-black);
}

.award-list__item span:last-child {
  width: var(--date-width);
  padding: 0 3%;
}

@media screen and (max-width:1000px) {
  .award-scroll {
    height: 41vw;
  }

  .award-list {
    row-gap: 1vw;
    padding: 3vw 0;
  }

  .award-list__item {
    font-size: 3vw;
  }
}

.best-ever {
  position: relative;
}

.best-ever__product {
  position: absolute;
  top: 0;
  left: 0;
}

/*******************************************************************************
発毛促進
*******************************************************************************/

.hair-growth {
  position: relative;
}

.touhi-movie {
  position: absolute;
  top: -2vw;
  left: 50%;
  height: auto;
  transform: translateX(-50%);
  width: calc(880 / 1000 * 100%);
  vertical-align: bottom;
}

/*******************************************************************************
190%にUP
*******************************************************************************/

.up-190percent {
  position: relative;
}

.up-190percent__txt {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(20px);
  opacity: 0;
}

/* 光らせる文字画像と同じ画像を用いてマスクさせる */
.up-190percent__mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mask-image: url('https://d2w53g1q050m78.cloudfront.net/brightejp/uploads/_lp/elekibrushplus/01/img/pt_3_03_text.webp');
  mask-size: 100% auto;
  mask-repeat: no-repeat;
  mask-position: left top;
  /* 文字なので、より光っているのがわかりやすく */
  mix-blend-mode: plus-lighter;
}

/*******************************************************************************
瞬間リフトアップ（Total care）
*******************************************************************************/

.care-copy-box {
  position: relative;
}

.care-copy {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.js-care-copy-txt,
.js-care-copy-arrow {
  position: absolute;
  top: 0;
}

.care-copy__txt {
  z-index: 1;
}

.js-care-copy-txt {
  opacity: 0;
  transform: translate(0, 20px);
}

.js-care-copy-arrow {
  opacity: 0;
  transform: translate(14%, 17%) scale(0.5);
}

/*******************************************************************************
全身リフト（Total care）
*******************************************************************************/

.total-care {
  position: relative;
}

.total-care_list {
  position: absolute;
  top: 0;
  left: 0;
}

.js-total-care-list {
  opacity: 0;
  transform: translateY(20px);
}

/*******************************************************************************
TVCM
*******************************************************************************/

.cm-movie {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

/*******************************************************************************
数多くの雑誌
*******************************************************************************/

.magazine {
  padding: 40px 0 80px;
  background: var(--c-white);
}

.magazine .swiper {
  width: 100%;
  aspect-ratio: 1/0.32;
}

/* ライブラリの方でイージングが設定されているので初期値に戻す */
.magazine .swiper-wrapper {
  transition-timing-function: linear;
}

@media screen and (max-width:1000px) {
  .magazine {
    padding: 6vw 0 9vw;
  }
}

/*******************************************************************************
SCALP, FACE, BODYケア
*******************************************************************************/

.care-box {
  position: relative;
}

.care-movie {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 54%;
  display: block;
}

.care-movie.--reverse {
  left: auto;
  right: 0;
}

/*******************************************************************************
Function 01 ~ 03
*******************************************************************************/

.function-movie {
  width: 100%;
  height: auto;
  display: block;
}

/*******************************************************************************
User Voice
*******************************************************************************/

.uvoice {
  padding: 0 5%;
  max-width: 500px;
  margin: 0 auto;
}

.uvoice .swiper {
  width: 100%;
  padding-bottom: 40px;
}

.uvoice-mv {
  position: absolute;
  width: 97.5%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.uvoice .swiper-slide {
  position: relative;
}

.uvoice .swiper-pagination-bullet {
  background: var(--c-white);
  opacity: 0.5;
  width: 7px;
  height: 7px;
}

.uvoice .swiper-pagination-bullet-active {
  opacity: 1;
}

.uvoice .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.uvoice .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 14px;
}

/*******************************************************************************
FAQ
*******************************************************************************/

.faq-box {
  color: var(--c-white);
  text-align: left;
}

.faq-title {
  background: var(--c-black);
  font-size: 30px;
  padding: 30px 0;
  text-align: center;
}

.faq-content {
  margin: 50px auto;
  width: 85%;
  max-width: 850px;
  text-align: left !important;
}

.faq-content-text {
  margin-bottom: 40px;
}

.faq-content-q {
  font-size: 28px;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-white);
  cursor: pointer;
}

.faq-content-q:hover {
  opacity: 0.6;
}

.faq-content-a {
  font-size: 22px;
  padding: 20px 0;
  display: none;
}

@media screen and (max-width:700px) {
  .faq-title {
    font-size: 24px;
  }

  .faq-content-q {
    font-size: 16px;
  }

  .faq-content-a {
    font-size: 14px;
  }
}

/*******************************************************************************
SPEC
*******************************************************************************/

.spec-box,
.spec-box table {
  color: var(--c-white);
  text-align: left;
}

.spec-title {
  background: var(--c-black);
  font-size: 30px;
  padding: 30px 0;
  text-align: left;
  cursor: pointer;
}

.spec-title:hover {
  opacity: 0.6;
}

.spec-title p {
  width: 85%;
  max-width: 850px;
  margin: 0 auto;
  display: flex;
}

.spec-title-jp {
  font-size: 16px;
  padding: 12px 20px;
  width: 80%;
}

.spec-title-plus {
  font-size: 30px;
  text-align: right;
  width: 20%;
}

.spec-caution-content {
  display: none;
}

.spec-content {
  margin: 50px auto;
  width: 75%;
  max-width: 750px;
  text-align: left;
  font-size: 22px;
}

.spec-content tr td {
  width: 50px;
  padding: 15px 0;
}

.caution-content {
  margin: 50px auto 0 auto;
  width: 75%;
  max-width: 750px;
  text-align: left;
  font-size: 22px;
  line-height: 2.2em;
  padding-bottom: 50px;
}

@media screen and (max-width:700px) {
  .spec-title {
    font-size: 24px;
  }

  .spec-title-jp {
    font-size: 12px;
    padding: 10px 20px;
  }

  .spec-content {
    font-size: 14px;
    width: 85%;
  }

  .caution-content {
    font-size: 14px;
    width: 85%;
  }
}

/*******************************************************************************
返金保証の位置調整（CTAボタンの上）
*******************************************************************************/

.refund {
  position: relative;
}

.refund .cta-alert {
  bottom: 10.3vw;
}

@media (min-width: 1000px) {
  .refund .cta-alert {
    bottom: 105px;
  }
}

/*******************************************************************************
ローディング画面
*******************************************************************************/

.lp-loading {
  position: fixed;
  z-index: calc(9999999999 + 1);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

/* 非表示クラス */
.lp-loading.is-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lp-loading__img {
  width: min(100%, 500px);
}

@media (max-width:1000px) {
  .lp-loading__img {
    padding: 0 5%;
    box-sizing: border-box;
  }
}