@charset "UTF-8";
/* CSS Document */
/* ---------- main ---------- */
.main{
  position: relative;
  width: 100%;
  height: auto;
  margin: 80px auto 0;
}
.main-top-img-ps {
  width: 89%;
  margin: 0 auto;
  position: relative;
}
.main-top-img-ps img {
  width: 100%;
  margin: 10px auto;
  object-fit: cover;
  box-shadow: 0 0 6px #e0e0e0;
}
.main-top-img-pc {
  display: none;
}

@media(min-width:960px){
  .main {
    margin: 100px auto 0;
  }
  .main-top-img-ps {
    display: none;
  }
  .main-top-img-pc {
    display: block;
    width: 89%;
    margin: 0 auto;
    position: relative;
  }
  .main-top-img-pc img {
    width: 100%;
    margin: 40px auto;
    object-fit: cover;
    box-shadow: 0 0 6px #e0e0e0;
  }
}

/* top text */
.main-top-text {
  position: absolute;
  text-align: left;
  top: 40%;
  left: 10%;
}
.main-top-text h2 {
  position: relative;
  padding-top: 20px;
  color: #333333;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.5px;
  font-weight: 600;
  text-shadow: 1px 2px 2px #d5d5d5;
  z-index: 1;
}
.main-top-text h2::before {
  position: absolute;
  bottom: 34px;
  left: 0;
  color: #ececec;
  font-size: 28px;
  line-height: 28px;
  content: attr(data-word);
  pointer-events: none;
  font-weight: 600;
  text-shadow: none;
  z-index: -1;
}
.main-top-text p {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  margin-top: 40px;
}
/* ------------------------
タブレット（例: 768px〜959px）
------------------------ */
@media (min-width: 768px) and (max-width: 959px) {
  .main-top-text {
    top: 45%;
    left: 12%;
  }
  .main-top-text h2 {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: 0;
    text-shadow: 2px 3px 3px #d5d5d5;
  }
  .main-top-text h2::before {
    bottom: 50px;
    font-size: 40px;
    line-height: 40px;
  }
  .main-top-text p {
    font-size: 16px;
    line-height: 22px;
    margin-top: 50px;
  }
}

/* ------------------------
PC（例: 960px〜）
------------------------ */
@media (min-width: 960px) {
  .main-top-text {
    top: 40%;
    left: 10%;
  }
  .main-top-text h2 {
    font-size: 40px;
    line-height: 44px;
    letter-spacing: 2px;
    text-shadow: 2px 3px 4px #ccc;
  }
  .main-top-text h2::before {
    bottom: 50px;
    font-size: 70px;
    line-height: 70px;
    letter-spacing: -2px;
  }
  .main-top-text p {
    font-size: 18px;
    line-height: 26px;
    margin-top: 60px;
  }
}


/* ---------- content ---------- */
.content {
  position: relative;
  width: 89%;
  margin: 60px auto;
}
/* ------------------------
タブレット（例: 768px〜959px）
------------------------ */
@media (min-width: 768px) and (max-width: 959px) {
  .content {
    width: 68%;
  }
}
@media(min-width:960px){
  .content {
    width: 72%;
    margin: 100px auto;
    max-width: 1440px;
  }
}

.content-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
.content-img-1,
.content-img-3,
.content-img-5 {
  width: 45%;
}
.content-img-2,
.content-img-4,
.content-img-6 {
  width: 45%;
  padding-top: 20%;
}
.content-img-1 img,
.content-img-2 img,
.content-img-3 img,
.content-img-4 img,
.content-img-5 img,
.content-img-6 img {
  width: 100%;
  max-width: 300px;
  object-fit: cover;
  padding-bottom: 40px;
  }

@media(min-width:960px){
  .content-flex {
    justify-content: space-between;
  }
  .content-img-1,
  .content-img-2,
  .content-img-3,
  .content-img-4,
  .content-img-5,
  .content-img-6 {
    width: 30%;
    padding-top: 0;
  }
}