
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);

.body_explain {
  margin:0;
  padding:0;
  
  background-image: radial-gradient(at 25% 20%, rgba(79,139,194,0.25) 0%, transparent 50%),
                    radial-gradient(at 75% 30%, rgba(162,210,255,0.3) 0%, transparent 50%),
                    radial-gradient(at 40% 70%, rgba(255,206,250,0.3) 0%, transparent 50%),
                    radial-gradient(at 80% 80%, rgba(79,139,194,0.2) 0%, transparent 50%);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;

  font-family: 'Noto Sans JP', sans-serif;
}

.body_explain .about_space {
  padding-top: 40px;
}

.body_explain .about_space_bottom {
  padding-bottom: 40px;
}

.body_explain .about_line {
  margin-left: auto;
  margin-right: auto;
  border: solid 2px var(--color-main);
  width: 80%;
  text-align: center;
}

.text-explain {
  text-align: center;
  padding-top: 30px;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
}
.text-explain p {
  font-weight: 700;
  font-size: 24px;
  /* color: #363636; */
  color: #4f8bc2;
}

.text-supplement {
  text-align: center;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 13vh;
  width: 60%;
}
.text-supplement p {
  font-weight: 400;
  font-size: 16px;
  color: #363636;
}

.title-in {
  /* margin: 0 0 0 20px; */
  padding: 0;
}
.left .title {
  margin-left: 25px;
  padding: 0;
  font-weight: 700;
  font-size: 22px;
  color: #4f8bc2;
}
.right .title-in {
  /* margin: 0 0 0 20px; */
  padding: 0;
  order: -1;
  text-align: right; /* 右寄せ */
}
.right .title {
  margin-right: 25px;
  padding: 0;
  font-weight: 700;
  font-size: 22px;
  color: #4f8bc2;
}

.text {
  width: 27vw;
  /* padding: 10px; */
  margin-top: 5px;
  font-size: 16px;
  color: #363636;
  text-align: left; /* デフォルトは左寄せ */
}

.left .text {
  order: 1;
  text-align: left; /* 左寄せ */
  /* margin-top: 30px; */
  margin-left: 25px;
}

.right .text {
  order: -1;
  text-align: right; /* 右寄せ */
  margin-right: 25px;
}

.left {
  justify-content: flex-start;
  padding-left: 10vw; /* 左寄せ時に10%のパディング */
}

.right {
  justify-content: flex-end;
  padding-right: 10vw; /* 右寄せ時に10%のパディング */
}




.image-container {
  display: flex;
  flex-direction: column;
  margin-top: 0px;
}

.image-item {
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  height: 52vh;
}

/* .image { */
  /* position: absolute; */
  /* width: 45vw; */
  /* opacity: 0;
  transition: opacity 2s ease-in-out; */
/* } */

.image-container-in {
  width: 45vw;
  /* height: 52vh; */
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fade-image_base {
  position: absolute;
  width: 45vw;
  border-radius: 8px;
  /* border: solid 5px var(--color-main); */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.fade-image1.active {
  opacity: 1;
}

.fade-image2.active {
  opacity: 1;
}

.fade-image3.active {
  opacity: 1;
}

.fade-image4.active {
  opacity: 1;
}

.fade-image5.active {
  opacity: 1;
}

.fade-image6.active {
  opacity: 1;
}

.fade-image7.active {
  opacity: 1;
}

.fade-image8.active {
  opacity: 1;
}

.fade-image9.active {
  opacity: 1;
}

.fade-image10.active {
  opacity: 1;
}

/* スマホ向け (～767px) */
@media (orientation: portrait) and (width <= 767px){
  
  .text-explain p {
    font-size: 16px;
  }
  .text-supplement p {
    font-size: 12px;
  }

  .image-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .image-item {
    /* flex-direction: column; */
    /* height: auto; */
    height: 25vh;
    /* margin: auto; */
  }

  .text-supplement {
    padding-bottom: 1vh;
  }

  .title-in {
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .text {
    width: 35vw;
    font-size: 12px;
  }

  .left .title {
    font-size: 12px;
  }
  .right .title {
    font-size: 12px;
  }
}

/* iPadなどのタブレット向け (768px～1280px) */
@media (orientation: portrait) and (768px <= width <= 1023px){
  
  .text-supplement {
    padding-bottom: 3vh;
  }

  .image-item {
    height: 25vh;
  }

  .text {
    width: 35vw;
  }

  .left .title {
    font-size: 18px;
  }
  .right .title {
    font-size: 18px;
  }
}

/* スマホ向け横向き (～1023px) */
@media (orientation: landscape) and (width <= 1023px){
  
  .text-explain p {
    font-size: 16px;
  }
  .text-supplement p {
    font-size: 12px;
  }

  .image-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .image-item {
    height: 60vh;
  }

  .title-in {
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .text {
    width: 35vw;
    font-size: 12px;
  }

  .left .title {
    font-size: 12px;
  }
  .right .title {
    font-size: 12px;
  }
}

/* ワイドな場合 */
@media (width >= 1921px){

  .image-item {
    height: 65vh;
  }

}

@media (orientation: portrait) and (width <= 1500px) and (height >= 1200px){
  
  .text-supplement {
    padding-bottom: 3vh;
  }

  .image-item {
    height: 20vh;
  }

  .text {
    width: 35vw;
  }

  .left .title {
    font-size: 18px; 
  }
  .right .title {
    font-size: 18px;
  }
}
