@charset "utf-8";

.red {
  color: #b32d29;
}
.green {
  color: #a2f001;
}
.orange {
  color: #ff7936;
}

.bg-black {
  background-color: #000;
}
.bg-red {
  background-color: #b32d29;
}
.bg-orange {
  background-color: #ff7936;
}
.bg-green {
  background-color: #a2f001;
}
.bg-yellow {
  background-color: #e6ff05;
}
.bg-grey {
  background-color: #e0e0e0;
}
.bg-pink {
  background-color: #fd8d95;
}
.bg-darkbrown {
  background-color: #2c2827 !important;
}

.fs-60 {
  font-size: 60px;
}

.kaisei {
  font-family: "Kaisei Opti", serif;
  font-weight: 400;
  font-style: normal;
}
.m-plus-2 {
  font-family: "M PLUS 2", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
h1.bg-cream {
  height: 4.5rem;
}
.ec-headerNavSP {
  width: 4.5rem;
  height: 4.5rem;
}
body,
.noto {
  font-size: 16px !important;
  line-height: 1.3;
}
.f-contact-icon {
  padding: 1rem !important;
}

#mv {
  background-image: url(../img/exfit/mv-bg.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#tokuten {
  /*background-image: url(../img/exfit/tokuten-out-bg.png);*/
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
}

#tokuten .button-4,
#seminar .button-4 {
  border: none;
  border-bottom: solid 10px #c3a500;
  border-radius: 5px;
  background-color: #f5ff02;
  background-image: linear-gradient(#ffc905, #f5ff02, #f5ff02);
  transition: 0.3s ease;
}

#tokuten .button-4:hover,
#seminar .button-4:hover {
  transform: translateY(3px);
  border-bottom-width: 2px;
}

#tokuten .offer-content-box {
  background-image: url(../img/exfit/tokuten-out-bg.png);
  background: #f44336;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  max-width: 900px;
  /*border: solid #fff 5px;*/
  /*border-radius: 15px;*/
  margin-top: -140px;
}

#tokuten ul {
  background-image: url(../img/exfit/tokuten-ul-bg.png);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

#tokuten .rounded-circle {
  line-height: 12px;
  height: 140px;
  width: 140px;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  top: 60px;
  left: -10px;
}

#nihonhatsu {
  background-image: url(../img/exfit/mihonhatsu-img.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#about {
  background-image: url(../img/exfit/about-bg.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#about .medal {
  background-image: url(../img/exfit/medal-bg.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#about .ems-img {
  bottom: -60px;
  right: 0;
  align-items: center;
  display: flex;
}
#tsuyomi .tsuyomi-border li {
  border-bottom: dotted 1px #fe7837;
}
#tsuyomi .tsuyomi-border li:last-child {
  border: none;
}
#detail {
  background-image: url(../img/exfit/detail-bg.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background: #a10f21;
}
#detail li {
  /*box-shadow: #999 2px 2px 6px;*/
  border: solid #000 3px;
}
#nayami .title {
  line-height: 1.2;
}
#jishin {
  background-image: url(../img/exfit/jishin-bg.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#jishin .incho-bg {
  background-image: url(../img/exfit/incho-bg.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#seminar {
  background: #a10f21;
}

/* タブボタンのカスタムスタイル */
.product-tabs-header .nav-link {
  color: #6c757d;
  background-color: #e9ecef;
  border: 1px solid #dee2e6;
  padding: 10px 20px;
  font-weight: bold;
  transition: all 0.3s;
}
.product-tabs-header .nav-link.active {
  color: #fff;
  background-color: #fe7837;
  border-color: #fe7837;
  background-image: linear-gradient(#fe7837, #fe9737, #fac14c);
}
.product-tabs-header img {
  max-height: 50px;
}
.product-tab-content {
  border-top: solid #fe7837 5px;
}
.spec-table th {
  width: 40%;
  background-color: #e9ecef;
  font-weight: normal;
}
.spec-table tbody tr:nth-child(odd) {
  background-color: #f8f9fa;
}
#detail .detai-icon {
  padding: 0;
  max-width: 100px;
}
#detail .col-md-2 img {
  object-fit: cover;
  height: 180px;
  width: 100%;
}
#voice li {
  background-color: white;
  background-image: linear-gradient(#4b6377, #121d32, #121d32);
}
#voice .message-box {
  /* background-color: white;
  background-image: linear-gradient(#f7f4e3, #fcfbf5, #fff);
  border: solid #fff 2px;
  box-shadow: #ddd 5px 5px 5px;*/
}
.voice-200 {
  height: 200px;
}
#voice2 .mh-150 {
  min-height: 150px;
}
/*キラッと光るボタン*/
.shine-button {
  background: green;
  background: linear-gradient(0deg, #abf700, #25a20f, #25a20f 100%);
  border: #1c8306 3px solid;
  margin: 1.5em auto;
  text-align: center;
  display: block;
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  max-width: 800px;
  height: 60px;
}
.cv-top a {
  display: block;
  text-decoration: none;
  height: 108px;
  top: 142px;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 999;
  max-width: 800px;
  position: absolute;
  margin: auto;
}

/* リンク自体でボタンを作る場合の追加のスタイル
（ボックス＋その中にリンクのあるボタンの場合には不要）*/
a.shine-button {
  padding: 1em;
  color: greenyellow;
  text-decoration: none;
}
/* ------------------------------------
ボタンの外側にボックス作成
（疑似要素「before」を使う）
------------------------------------*/
.shine-button::before {
  content: "";
  position: absolute;
  display: block;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(135, 235, 63, 0.9));
  /* 背景色は透明から白になるグラデーション */
  width: 50px;
  height: 50px;
  top: -60px;
  left: -60px;
  /* アニメーションの動作指定 */
  animation-name: shine-run;
  animation-delay: 0s;
  animation-duration: 3s;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
}
/* ------------------------------------
アニメーションのタイミングとボックスの
拡大率、角度、透過率の指定
------------------------------------*/
@keyframes shine-run {
  0% {
    transform: scale(0) rotate(50deg);
    opacity: 0;
  }
  40% {
    transform: scale(1) rotate(50deg);
    opacity: 1;
  }
  100% {
    transform: scale(250) rotate(50deg);
    opacity: 0;
  }
}

.shine-button.amazon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.shine-button.amazon button {
  background: none;
  border: none;
}
.shine-button.amazon a {
  background: none;
  border: none;
}

/* FAQアコーディオンのカスタムスタイル */
.accordion-item {
  border: none;
  margin-bottom: 10px;
  border-radius: 8px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.accordion-button {
  font-weight: bold;
  color: #333;
  border-radius: 8px !important;
}
.accordion-item .accordion-button {
  font-size: 16px;
}
.accordion-button:not(.collapsed) {
  background-color: #ffffde;
  color: #fe7837;
  box-shadow: none;
}

#interview .youtube,
#seminar .youtube {
  aspect-ratio: 16 / 9;
}
#interview .youtube iframe,
#seminar .youtube iframe {
  width: 100%;
  height: 100%;
}

.js-fade {
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition: opacity 1s, visibility 1s, transform 1s;
}

.inview {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}
#detail .object-fit img {
  object-fit: cover;
  height: 180px;
  width: 100%;
}
.takami {
  border-bottom: solid #fff 3px;
  border-top: solid #fff 3px;
}
/* スライダーのラッパー（装飾用） */
.slick-slide {
  /* 画像同士の隙間を作りたい場合 */
  padding: 0 10px;
}

/* 画像のスタイル（パターンB） */
.marquee-img {
  width: 100%;
  min-width: 180px;
  height: auto; /* ★高さを固定（必要に応じて変更してください） */
  /*object-fit: cover;*/ /* 枠いっぱいにトリミング */
  border-radius: 8px; /* 角丸にしたい場合（任意） */
}

@media screen and (min-width: 768px) {
  .w-900 {
    max-width: 900px;
  }
  .fs-md-60 {
    font-size: 60px !important;
  }
  .fs-md-70 {
    font-size: 70px !important;
  }
  #nayami {
    background-image: url(../img/exfit/nayami-right-img.png);
    background-position: left;
    background-size: contain;
    background-repeat: no-repeat;
  }
  #about .ems-img {
    bottom: 80px;
  }
  #tokuten .offer-content-box {
    margin-top: -80px;
  }
  .accordion-item .accordion-button {
    font-size: 20px;
  }
  /*キラッと光るボタン*/
  .shine-button {
    height: 108px;
  }
  .cv-top a {
    top: 20px;
  }
  .product-tabs-header img {
    max-height: 70px;
  }
  #detail h4,
  #detail p {
    margin-left: 140px;
  }
  #detail .detai-icon {
    position: absolute;
    top: 70px;
    left: -22px;
    padding: 0;
    max-width: 150px;
  }
  #detail .col-md-2 img {
    object-fit: cover;
    height: 180px;
    width: 100%;
  }
  #detail .object-fit img {
    object-fit: cover;
    height: 250px;
    width: 100%;
  }

  /* 画像のスタイル（パターンB） */
  .marquee-img {
    min-width: 300px;
  }
}

.fake-player {
  position: relative;
  width: 100%;
  /* 16:9のアスペクト比を維持 */
  padding-bottom: 56.25%;
  height: 0;
  cursor: pointer;
  overflow: hidden;
}

.fake-player img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}

.fake-player:hover img {
  /* ホバー時に画像を少し暗くしてクリックを促す */
  opacity: 0.8;
}

.fake-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- 再生ボタンのスタイル --- */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 65px;
  background-color: rgba(255, 0, 0, 0.8); /* YouTube風の赤 */
  border-radius: 12px;
  z-index: 10;
}

.play-button::before {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 35px;
  color: #fff;
  line-height: 1;
}
