@charset "utf-8";

/* 全体
---------------------------------------------------------------------------*/
.mainimg {
  width: 100%;
  position: relative;
  padding: 5vw;
  background-image: url("../images/fv-bg.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
}
.mainimg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(rgba(255, 255, 255, 0.95)),
    color-stop(50%, rgba(255, 255, 255, 0.85)),
    color-stop(70%, rgba(255, 255, 255, 0.3)),
    color-stop(85%, rgba(255, 255, 255, 0))
  );
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0.3) 70%,
    rgba(255, 255, 255, 0) 85%
  );
}

@media (min-width: 768px) {
  .mainimg::before {
    background: -webkit-gradient(
      linear,
      left top,
      right top,
      from(rgba(255, 255, 255, 0.95)),
      color-stop(35%, rgba(255, 255, 255, 0.85)),
      color-stop(60%, rgba(255, 255, 255, 0.3)),
      color-stop(80%, rgba(255, 255, 255, 0))
    );
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.85) 35%,
      rgba(255, 255, 255, 0.3) 60%,
      rgba(255, 255, 255, 0) 80%
    );
  }
}

/* 1枚表示ブロック */
.mainimg .main-visual {
  width: 100%;
  position: absolute;
  inset: 0;
}
.mainimg .main-visual.img1 {
  position: relative;
  width: 100%;
  height: auto;
  margin: var(--headerH) auto 0;
}
.mainimg .main-visual_row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 5vw;
  width: 100%;
  flex-direction: column;
}
@media (min-width: 1000px) {
  .mainimg .main-visual_row {
    flex-direction: row;
  }
}

/* 画像 */
.mainimg .main-visual_img {
  width: clamp(20rem, 13.714rem + 26.61vw, 35rem);
  z-index: 10;
}
.mainimg .main-visual_img img {
  width: 100%;
  height: auto;
  display: block;
}

/* コメント */
.mainimg .wrap {
  cursor: auto;
  margin-left: 0;
}
.mainimg .comment {
  font-size: clamp(1.2rem, 0.865rem + 1.42vw, 2rem);
  z-index: 10;
  color: var(--primary-color);
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mainimg .comment .ttl {
  margin: 0 0 clamp(1rem, 0.581rem + 1.77vw, 2rem);
  font-size: clamp(3rem, 2.162rem + 3.55vw, 5rem);
}
.mainimg .comment .sub-ttl {
  color: var(--secondary-color);
  font-weight: 500;
  font-size: clamp(1rem, 0.874rem + 0.53vw, 1.3rem);
  line-height: 1.6;
  display: block;
}

/*改行設定
----------------------*/
/* スマホ用<br> */
@media screen and (max-width: 1000px) {
  .br-sp_main-visual {
    display: block;
  }
  .br-tb_main-visual {
    display: none;
  }
  .br-pc_main-visual {
    display: none;
  }
}
/* tablet 縦用<br> */
@media only screen and (min-width: 1001px) and (max-width: 1023px) {
  .br-sp_main-visual {
    display: none;
  }
  .br-tb_main-visual {
    display: block;
  }
  .br-pc_main-visual {
    display: none;
  }
}
/* pc用<br> */
@media screen and (min-width: 1024px) {
  .br-sp_main-visual {
    display: none;
  }
  .br-tb_main-visual {
    display: none;
  }
  .br-pc_main-visual {
    display: block;
  }
}
