@charset "utf-8";

/* モーダルCSS */
.modalArea {
  display: none;
  position: fixed;
  z-index: 999999; /*サイトによってここの数値は調整 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modalBg {
  width: 100%;
  height: 100%;
  background-color: rgba(130,143,200,0.5);
}

.modalWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
  width: 90%;
  max-width: 600px;
  padding: 50px 50px;
  background-color: #fff;
    border-radius: 40px;
}
.modalWrapper h2 {
    font-size: 26px;
    line-height: 1.8em;
      font-weight: 500;
      color: #828fc8;
      vertical-align: middle;
      font-family: var(--f_kiwi);
    margin-bottom: 10px;
}
.modalWrapper p {
    font-size: 15px;
    font-weight: normal;
    line-height: 1.8em;
}



.closeModal {
  position: absolute;
  top: 0.7rem;
  right: 1rem;
  cursor: pointer;
    font-size: 22px;
    padding: 10px 10px;
    border: 1px solid #CCC;
    border-radius: 50%;
    background-color: #FFFFFF;
    transition: all .3s ease;
}
.closeModal:hover {
     background-color: #FAFAFA;
    transition: all .3s ease;
}

/*-------------------------------------------*/

/* =========================
   お客様の声：自動横スクロール
========================= */
.voice-marquee {
  overflow: hidden;
	width: 96%;
  padding: 60px 0 80px;
	margin: 0px auto;

  /* 端フェード（上品・継ぎ目を隠す） */
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 3%,
    black 97%,
    transparent 100%
  );
}
@media screen and (max-width: 768px) {
	.voice-marquee {
		padding: 4.0vh 0 7.0vh;
	}
}

/* =========================
   横並びトラック（共通）
========================= */
.voice-track {
  display: flex;
  gap: 50px;
  width: max-content;
}

/* =========================
   画像共通設定
========================= */
.voice-track img {
  width: 300px;
  aspect-ratio: 3 / 5;
  object-fit: cover;
  border-radius: 10px;
  transition: transform .3s ease, box-shadow .3s ease;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
	height: auto;
}

/* =========================
   PC：自動スクロール＆hover演出
========================= */
@media (hover: hover) and (pointer: fine) {

  .voice-track {
    animation: voiceScroll 100s linear infinite;
  }

  .voice-track img:hover {
    transform: scale(1.20);
    box-shadow: 0 7px 20px rgba(0,0,0,.22);
  }

  .voice-marquee:hover .voice-track {
    animation-play-state: paused;
  }
}

/* =========================
   無限スクロール（PC専用）
========================= */
@keyframes voiceScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =========================
   スマホ：スワイプ専用（自動OFF）
========================= */
@media (hover: none) and (pointer: coarse) {

  .voice-marquee {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .voice-track {
    animation: none;           /* ← ここが最重要 */
    padding: 0 10vw;
  }

  .voice-track img {
    width: 80vw;
    transform: none !important;
    box-shadow: none !important;
  }
}




@charset "utf-8";
@media screen and (max-width: 768px) {
    .modalWrapper {
      width: 90%;
      max-width: 90%;
      padding: 5.0vh 8.0vw 7.0vh;
        border-radius: 6.0vw;
    }
    
    .modalWrapper h2 {
        font-size: 6.4vw;
        line-height: 1.4em;
        margin-bottom: 1.5vh;
    }
    .modalWrapper p {
        font-size: 4.0vw;
        line-height: 1.7em;
    }

	
    
}