@charset "utf-8";
/*layout*/
#moflin .inner {
  width: 90%;
  max-width: 1200px;
  margin-inline: auto;
}
/*font*/
#moflin h3 {
  font-size: min(5vw, 23px);
  line-height: 1.6;
}
#moflin h4 {
  line-height: 1.6;
}
/*--------------------first modal--------------------*/
#first-view-modal {
  background: rgba(0, 0, 0, .8);
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease-out;
}
.is-edit-mode #first-view-modal {
  display: none;
}
#first-view-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}
#first-view-modal .modal-inner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1000px;
}
#first-view-modal-close {
  position: relative;
  top: 0;
  left: calc(100% - 30px);
}
/*mv*/
.movie_youtube {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  position: relative;
}
.movie_youtube_inner {
  padding-top: 56.25%;
  position: relative;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.movie_youtube_inner iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  height: 200%;
}
.bgmovie.mute::after {
  content: "";
  display: block;
  width: 1.5em;
  height: 1.5em;
  background: url(/content/dam/casio/global/moflin/mv_btn-mute-off.svg) no-repeat;
  background-size: contain;
  position: absolute;
  bottom: 10px;
  right: 10px;
}
/*btn*/
.p-mv_btn-mute {
  position: absolute;
  display: inline-block;
  z-index: 2;
  width: 85px;
  aspect-ratio: 1;
  cursor: pointer;
  bottom: 10px;
  right: 10px;
  background: transparent;
}
.p-mv_btn-mute img {
  position: absolute;
  bottom: 0;
  right: 0;
  -webkit-transition: opacity .2s ease-out 0s;
  transition: opacity .2s ease-out 0s
}
.p-mv_btn-mute.is-off .is-off {
  opacity: 1
}
.p-mv_btn-mute.is-off .is-on {
  opacity: 0
}
.p-mv_btn-mute .is-off {
  opacity: 0
}
.p-mv_btn-mute .is-on {
  opacity: 1
}
/*lead*/
#lead {
  width: 90%;
  margin: 80px auto;
  font-weight: 500;
  text-align: center;
}
#lead h2 {
  font-size: min(6.5vw, 40px);
  color: var(--moflin-gray-color);
  font-family: var(--moflin-font-family);
  font-weight: 500;
  letter-spacing: .1em;
  margin-bottom: 40px;
}
#lead p {
  font-size: min(4.0vw, 19px);
}
/*about*/
#about .inner {
  margin: 0 auto min(10vw, 120px);
  text-align: center;
}
#about .about-img {
  margin-bottom: 50px;
  border-radius: 20px;
  overflow: hidden;
  max-width: 700px;
  margin-inline: auto;
}
#about .about-img img {
  display: block;
}
#about .about-txt {
  margin-bottom: 40px;
}
#about .logo {
  width: 90%;
  max-width: 250px;
  margin: 0 auto 36px;
}
/*lineup*/
#lineup {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 120px;
  text-align: center;
}
#lineup-contents {
  margin: 50px 0;
}
#lineup-contents > .aem-Grid {
  display: flex;
  gap: 20px;
  justify-content: center;
}
#lineup-contents > .aem-Grid::before, #lineup-contents > .aem-Grid::after {
  content: none;
  display: none;
}
/*life*/
#life {
  width: 90%;
  max-width: 1500px;
  margin: min(10vw, 100px) auto;
  text-align: center;
}
#life-contents {
  margin: 50px 0;
}
#life-contents > .aem-Grid {
  display: flex;
  flex-wrap: wrap;
  gap: 80px 40px;
  justify-content: center;
}
#life-contents > .aem-Grid > .container {
  width: calc((100% - 80px) / 3);
  min-width: 300px;
}
#life-contents > .aem-Grid::before, #life-contents > .aem-Grid::after {
  content: none;
  display: none;
}
.life__se-thumb img {
  padding: 10px;
  border: solid 1px var(--moflin-light-gray-color);
}
.life__se-txt {
  margin-top: 30px;
}
.life__se-btn {
  max-width: 140px;
  margin: 20px auto;
}
#life .audio-player__title-text {
  display: none;
}
/*heart*/
#heart {
  background-color: var(--moflin-bg-color);
  padding: min(10vw, 100px) 0;
}
.heart-contents {
  background: #ffffff;
}
#heart h3 {
  background: #f6baaf;
  color: #ffffff;
  padding: 4px;
}
.emotion-contents {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
}
#moflin .emotion-contents h4 {
  font-size: min(4.5vw, 30px);
}
.emotion-contents-txt {
  text-align: left;
}
.emotion-contents-txt h4 {
  margin-bottom: 20px;
}
.icon-heart {
  max-width: 38px;
}
/*chara*/
#chara {
  width: 90%;
  max-width: 1200px;
  margin: 100px auto;
  text-align: center;
}
#chara h3 {
  margin-bottom: 16px;
}
#chara .chara-contents {
  max-width: 780px;
  margin: 0 auto;
}
#chara .chara-contents .text {
  margin-top: 30px;
}
#chara .chara-contents .text p {
  font-size: min(4.2vw, 20px);
  font-weight: 500;
}
.cheerful p {
  color: #f19763;
}
.shy p {
  color: #a778ac;
}
.energetic p {
  color: #e07e73;
}
.spoiled p {
  color: #5573b3;
}
#chara .carousel-wrapper button {
  background: transparent;
}
#chara .carousel-wrapper button:hover {
  background: transparent;
}
#chara .dot {
  width: 100px;
  height: 40px;
  position: relative;
}
#chara .dot::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  color: #ffffff;
  width: 100%;
}
#chara .dot:nth-of-type(1)::before {
  content: "陽気";
}
#chara .dot.active:nth-of-type(1) {
  background-color: #f19763;
}
#chara .dot:nth-of-type(2)::before {
  content: "シャイ";
}
#chara .dot.active:nth-of-type(2) {
  background-color: #a778ac;
}
#chara .dot:nth-of-type(3)::before {
  content: "活発";
}
#chara .dot.active:nth-of-type(3) {
  background-color: #e07e73;
}
#chara .dot:nth-of-type(4)::before {
  content: "甘えん坊";
}
#chara .dot.active:nth-of-type(4) {
  background-color: #5573b3;
}
/*Feature*/
#feature {
  text-align: center;
  background-color: var(--moflin-bg-color);
  padding: 70px 0;
}
#feature h3 {
  font-size: min(4.1vw, 20px);
  margin-bottom: 20px;
}
#feature .feat-image-txt p {
  font-size: min(3.9vw, 16px);
}
#feature .btn-lead {
  color: var(--moflin-theme-color);
  font-weight: 700;
  font-size: min(5vw, 28px);
  margin-bottom: 20px;
}
/* 画像を囲む枠線の設定 */
.feat-image {
  width: 90%;
  aspect-ratio: 1;
  border: 10px solid #ffffff;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
}
/* 中の画像の設定 */
.feat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 縦横比を崩さずに枠線内に収める */
}
.feat-image-contents {
  margin: 70px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 70px;
}
.feat-image-items {
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/*evolution*/
#evolution {
  margin: min(5vw, 50px) 0;
}
.evolution-contents {
  text-align: center;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-top: 50px;
}
.theme-img {
  border-radius: 20px;
  overflow: hidden;
  width: 70%;
  margin: 0 auto 30px;
}
.theme-img img {
  display: block;
}
.evolution-item {
  border: solid 2px var(--moflin-theme-color);
  border-radius: 20px;
  overflow: hidden;
}
.evolution-item-title {
  padding: 20px;
  background: var(--moflin-theme-color);
}
.evolution-item-title h3 {
  color: #ffffff;
}
.evolution-item-txt {
  padding: 10px 20px;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.evolution-item-txt p {
  padding: 10px;
}
.evolution-item-txt p:not(:last-child) {
  border-bottom: solid 1px var(--moflin-theme-color);
}
.evolution-item:nth-of-type(1) .evolution-item-title {
  position: relative;
}
.evolution-item:nth-of-type(1) .evolution-item-title::after {
  position: absolute;
  bottom: -30px;
  left: 10px;
  content: "";
  background-image: url(/content/dam/casio/global/moflin/top/img/evolution-moflin1.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 70px;
  aspect-ratio: 1;
}
.evolution-contents img.icon {
  width: 100px;
  margin: 10px;
}
/*news*/
#news h3, #news p, #news a {
  font-size: min(3.5vw, 18px);
}
#news a {
  text-decoration: underline;
}
/*----------------------- pdp -----------------------*/
#moflin #pdp #life-contents > .aem-Grid > .container {
  width: calc((100% - 40px) / 2);
}
#moflin #pdp .emotion-contents {
  display: grid;
  grid-template-columns: 1fr;
}
#moflin #pdp .heart-movie, #moflin #pdp .emotion-shift {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#moflin #pdp .emotion-shift .c-col {
  width: 100%;
}
#moflin #pdp .feat-image-contents {
  margin: 70px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px 10px;
}
@media (max-width: 767px) {
  /*mv*/
  .p-mv_btn-mute {
    width: 10vw;
  }
  /*lineup*/
  #life-contents > .aem-Grid > .container {
    width: 100%;
  }
  #lineup-contents > .aem-Grid > .single-product-panel {
    width: calc((100% - 20px) / 2);
    min-width: auto;
  }
  /*life*/
  #life-contents > .aem-Grid {
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  .emotion-contents {
    display: grid;
    grid-template-columns: 1fr;
  }
  /*evolution*/
  .theme-img {
    width: 100%;
  }
  .evolution-contents {
    grid-template-columns: 1fr;
  }
  .evolution-item-txt {
    min-height: auto;
    display: block;
  }
}