/* pickup1 */

#pickup1 {
  background: #ecf3aa;
  background-image: linear-gradient(#ecf3aaf1, #ecf3aaf1),
      url(../img/noise.png);
  background-repeat: repeat;
  background-size: 300px;
  position: relative;
}
.pickup1 {
  margin: 80px auto 0;
  padding: 160px 0 18vh;
  max-width: 1400px;
}


.pickup1 .mv_list {
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: flex-start;
	z-index: 1;
	position: relative;
  margin: 0 auto;
}
.pickup1 .mv_list  li:first-child {
	width: 50%;
}
.pickup1 .mv_list  li:nth-child(2) {
	width: 40%;
}

.pickup1 .mv_list  li img {
	width: 100%;
	height: auto;
}
.pickup1 h2 {
  font-size: 32px;
  text-align: center;
  color: #25448e;
  padding: 70px 0;
    font-size: clamp(22px, 2.5vw, 32px);
}
.pickup1 .feature_list {
  display: flex;
  width: 100%;
  max-width: 1340px;
  justify-content: space-between;
  align-items: self-start;
  flex-wrap: wrap;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}
.pickup1 .feature_list li {
  width: 49.5%;
  margin-bottom: 1%;
}
.pickup1 .feature_list img {
  width: 100%;
  height: auto;
}

#pickup1 .cloud {
    position: absolute;
    bottom: -90px;/*modYD -10px*/
    z-index: 0;
}
#pickup1 .cloud  img {
    width: 100%;
    height: auto;
}
@media screen and (max-width: 1460px) {
.pickup1 {
  margin: 130px 0 0;
  padding: 160px 30px 180px;
}  
}
@media screen and (max-width: 768px) {
.pickup1 {
  margin: 75px 0 0;
  padding: 30px 15px 50px;
}
.pickup1 .mv_list {
flex-wrap: wrap;
flex-direction: column-reverse;
}
.pickup1 .mv_list  li:first-child {
	width: 100%;
}
.pickup1 .mv_list  li:nth-child(2) {
	width: 100%;
  text-align: center;
}
.pickup1 .mv_list  li:nth-child(2) img {
  width: 70%;

}
.pickup1 h2 {
    text-align: center;
    color: #25448e;
    padding: 20px 0;
    font-size: 16px;
}
.pickup1 .feature_list {
  flex-wrap: wrap;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}
.pickup1 .feature_list li {
  width: 100%;
  margin-bottom: 1%;
}
.pickup1 .feature_list img {
  width: 100%;
  height: auto;
}
#pickup1 .cloud {
    bottom: -40px;/*modYD -10px*/
}

}

.pp1 {
  position: absolute;
  right: 4vw;
  top: 15vh;
}
.pp1 img {
  width: 7vw;
  height: auto
}
.pp2 {
  position: absolute;
  left: 2vw;
  bottom: 30vh;
  z-index: 1;
}
.pp2 img {
  width: 8vw;
  height: auto
}

@media screen and (max-width: 768px) {
.pp1 {
  position: absolute;
  right: 4vw;
  top: 5vh;
}
.pp1 img {
  width: 13vw;
  height: auto
}
.pp2 {
  position: absolute;
  left: 2vw;
  bottom: 30vh;
  z-index: 1;
}
.pp2 img {
  width: 11vw;
  height: auto
}

}
/* area1 */
#pickup1_area1 {background: #fff;padding: 0 0 300px;position: relative;}
.pickup1_area1 {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.pickup1_area1 h2 {
  margin: 0 auto;
  text-align: center;
}
.pickup1_area1 h2 img {
  height: auto;
  width: 100%;
  max-width: 43%;
}
.pickup1_area1 .details {
  margin: 40px auto;
  position: relative;
  z-index: 2;
}
.pickup1_area1 .details img {
  width: 100%;
  height: auto;
}

#pickup1_area1 .cloud {
    position: absolute;
    bottom: -10px;
    z-index: 0;
}
#pickup1_area1 .cloud img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 1920px) {
.pickup1_area1 h2 img {
  height: auto;
  width: 100%;
  max-width: 840px;
}
}
@media screen and (max-width: 1460px) {
.pickup1_area1 {
  width: 100%;
  padding: 0 30px;

} 
.pickup1_area1 h2 img {
  height: auto;
  width: 100%;
  max-width: 640px;
}
}

@media screen and (max-width: 768px) {
#pickup1_area1 {
    background: #fff;
    padding: 0 0 50px;
    position: relative;
}
    .pickup1_area1 {
        width: 100%;
        padding: 0 15px;
    }
    .pickup1_area1 h2 img {
        height: 100px;
        width: auto;
        max-width: 100%;
    }
}





.pp3 {
  position: absolute;
  right: 4vw;
  top: 0;
}
.pp3 img {
  width: 13vw;
  height: auto
}
.pp4 {
  position: absolute;
  left: 2vw;
  bottom: 25vh;
  z-index: 1;
}
.pp4 img {
  width: 8vw;
  height: auto
}


@media screen and (max-width: 768px) {
.pp3 {
  position: absolute;
  right: 4vw;
  top: 0;
}
.pp3 img {
  width: 16vw;
  height: auto
}
.pp4 {
  position: absolute;
  left: 2vw;
  bottom: 8vh;
  z-index: 1;
}
.pp4 img {
  width: 11vw;
  height: auto
}
}


/* pickup1_araa2 */

#pickup1_area2 {background-color: rgb(249 237 243 / 100%);background-image: url(../img/bg_star.svg);background-repeat: no-repeat;background-size: contain;padding: 0 0 300px;position: relative;}
.pickup1_area2 {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.pickup1_area2 h2 {
  margin: 0 auto;
  text-align: center;
}
.pickup1_area2 h2 img {
  height: auto;
  width: 100%;
  max-width: 565px;
}
.pickup1_area2 .details {
  margin: 40px auto;
  position: relative;
  z-index: 2;
}
.pickup1_area2 .details img {
  width: 100%;
  height: auto;
}

#pickup1_area2 .cloud {
    position: absolute;
    bottom: -90px;/*modYD -10px*/
    z-index: 0;
}
#pickup1_area2 .cloud img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 1920px) {
.pickup1_area2 h2 img {
  height: auto;
  width: 100%;
  max-width: 564px;
}
}
@media screen and (max-width: 1460px) {
.pickup1_area2 {
  width: 100%;
  padding: 0 30px;
} 
.pickup1_area2 h2 img {
  height: auto;
  width: 100%;
  max-width: 460px;
}
}


@media screen and (max-width: 768px) {
    .pickup1_area2 h2 img {
        height: 110px;
        width: auto;
        max-width: 100%;
}
#pickup1_area2 {
    background-color: rgb(249 237 243 / 100%);
    background-image: url(../img/bg_star.svg);
    background-repeat: no-repeat;
    background-size: contain;
    padding: 0 0 30px;
    position: relative;
} 
.pickup1_area2 .details {
    margin: 20px auto 60px;
    position: relative;
    z-index: 2;
} 
.pickup1_area2 {
        width: 100%;
        padding: 0 15px;
    }
#pickup1_area2 .cloud {
    bottom: -10px;/*modYD -10px*/
}
}

/* messages */
/*　画像版
#messages {
  background: #f7d2d5;
  background-image: linear-gradient(#f7d2d5f1, #f7d2d5f1),
      url(../img/noise.png);
  background-repeat: repeat;
  background-size: 300px;
  padding: 50px 0 130px;
  position: relative;
}
.messages .messages_list {
  display: flex;
  width: 100%;
  max-width: 1370px;
  margin: 0 auto;
  align-items: self-end;
  padding-top: 10px;
}
.messages .messages_list li img {
  width: 100%;
  height: auto;
}
.messages .messages_list li:first-child {
  width: 26%;
  margin-right: 5%;
}
.messages .messages_list li:last-child {
  width: 69%;
}

@media screen and (max-width: 768px) {
#messages {
  background: #f7d2d5;
  padding: 0 15px 40px;
}
}
*/
/* messages */
#messages {
  background: #f7d2d5;
  background-image: linear-gradient(#f7d2d5f1, #f7d2d5f1),
      url(../img/noise.png);
  background-repeat: repeat;
  background-size: 300px;
  padding: 50px 0 130px;
  position: relative;
}

.messages .messages_list {
  display: flex;
  width: 100%;
  max-width: 1370px;
  margin: 0 auto;
  align-items: self-end;
  padding-top: 10px;
}

.messages .messages_list li img {
  width: 100%;
  height: auto;
}

.messages .messages_list li:first-child {
  width: 26%;
  margin-right: 5%;
}

/* テキストを重ねるための変更 */
.messages .messages_list li:last-child {
  width: 69%;
  position: relative; /* テキストを重ねるために追加 */
}

.message_text {
  position: absolute;
  top: 50%; /* 枠画像の中央に配置 */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; /* テキストボックス幅 */
  text-align: left;
  font-size: 32px;
  color: #25448e;
  line-height: 1.6;
  z-index: 2; /* 画像より前面に表示 */
}

/* 画像をテキストの下に配置 */
.messages .messages_list li:last-child img {
  display: block;
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  #messages {
    background: #f7d2d5;
    padding: 0 15px 40px;
  }
  
  .message_text {
    font-size: 0.75rem;
    width: 90%;
  }
}
