@charset "UTF-8";
.livepaint-mainview {
  background-image: url("../img/livepaint.JPG");
  height: 400px;
  object-fit: cover;
  background-size: cover;
  background-position: top;
  position: relative;
  top: 6vw;
}
.main-title {
  color: #fff;
  font-size: 6.0rem;
  position: absolute;
  top: 180px;
  justify-content: center;
  width: 100%;
  text-align: center;
}
.main-subtitle {
  color: #fff;
  font-size: 1.8rem;
  position: absolute;
  top: 270px;
  width: 100%;
  text-align: center;
}
.section-livepaint {
  padding: 200px 0;
  margin: 0 auto;
}
.section-livepaint h2 {
  font-size: 1.8rem;
  margin: 0 auto 30px;
  line-height: 2.0;
  width: 80%;
}
.section-livepaint-discription {
  display: flex;
  margin: 0 auto;
  width: 80%;
}
.section-livepaint-discription h2 {
  display: block;
  font-size: 2.4rem;
  line-height: 1.3;
  padding: 30px 30px;
  text-align: center;
  border: 1px solid #000000;
  width: 20%;
}
.section-livepaint-discription span {
  color: #D62925;
  font-size: 1.6rem;
}
.section-livepaint-text {
  font-size: 1.8rem;
  padding: 30px 20px;
  line-height: 2.0;
 
}
.garelly {
  margin: 50px auto;
  width: 80vw;
  text-align: center;
}
.garelly::after{
display: block;
content:"";
width: 18vw;
}
.garelly ul {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  justify-content: space-between;
}
.garelly img {
  width: 18vw;
  height: 18vw;
  margin: 50px;
  object-fit: cover;
}
.zoomOutText { /*背景色とテキストの基点となる位置を定義*/
  position: relative;
}
.zoomOutText span.mask {
  position: relative;
  transition: .3s ease-in-out; /*移り変わる速さを変更したい場合はこの数値を変更*/
  display: block; /*画像をくくるspanタグをブロック要素にする*/
  line-height: 0; /*行の高さを0にする*/
  overflow: hidden; /*拡大してはみ出る要素を隠す*/
}
.zoomOutText:hover span.mask::before { /*hoverした時の変化*/
  content: "";
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  background: rgba(0, 0, 0, 0.5); /*背景色*/
}
.zoomOutText img {
  transform: scale(1.2);
  filter: blur(0);
  transition: .3s ease-in-out; /*移り変わる速さを変更したい場合はこの数値を変更*/
}
.zoomOutText:hover img { /*hoverした時の変化*/
  transform: scale(1); /*縮小の値を変更したい場合はこの数値を変更*/
  filter: blur(2px); /*ぼかし具合を変更したい場合はこの数値を変更*/
}
.zoomOutText span.cap {
  opacity: 0;
  transition: .5s ease-in-out; /*移り変わる速さを変更したい場合はこの数値を変更*/
  position: absolute;
  z-index: 3; /*テキストを前面に出す*/
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff; /*テキストの色を変えたい場合はここを修正*/
  line-height: 1.5; /*行の高さを1.5にする*/
}
.zoomOutText:hover span.cap { /*hoverした時の変化*/
  opacity: 1;
}
@media(max-width:600px) {
  .section-livepaint {
    width: 80%;
    padding: 100px 0;
  }
  .section-livepaint-discription h2 {
    width: 80%;
  }
  .section-livepaint-discription {
    display: block;
  }
  .garelly img {
    width: 60vw;
    height: 60vw;
    margin: 30px;
  }
	.garelly ul{
		justify-content: space-around;
	}
}