@charset "utf-8";

/* 選ばれる理由 */
.select .lead {
  line-height: 2.5;
  padding: 3% 6% 3% 6%;
}

.select .content {
  line-height: 2;
}

.content_1 div,
.content_2 div {
  height: 100%;
  width: 50%;
}

.content_1 .text,
.content_2 .text {
  font-size: 1.5rem;
  height: 100%;
  max-height: 360px;
  z-index: 1;
}

.content_1 .text p,
.content_2 .text p{
  margin:0;
}

.content_1 .img,
.content_2 .img {
  z-index: 2;
}

/* 画像_左寄せ */
.content_1 .text {
  left: 47%;
  padding: 4% 4% 4% 9%;
  position: absolute;
  top: 8%;
}

.content_1 {
  display: flex;
  height: 30vw;
  margin-top: 8%;
  max-height:360px;
  position: relative;
}

.content_1 .img {
  margin-left: 3%;
}

/* 画像_右寄せ */
.content_2 .text {
  margin-left: 3%;
  padding: 4% 9% 4% 4%;
}

.content_2 {
  display: flex;
  height: 30vw;
  margin-top: 13%;
  max-height:360px;
  position: relative;
}

.content_2 .img {
  left: 47%;
  position: absolute;
  top: -8%;
}

/* ==========================================================================
  レスポンシブ対応用メディアクエリー
   ========================================================================== */
/* 文字サイズ調整 */
@media only screen and (max-width: 1100px) {
  .content_1 .text,
  .content_2 .text {
    font-size: 1.4vw;
  }
}

/* タブレット横, PC */
@media only screen and (max-width: 792px) {
  .content_1 .text,
  .content_2 .text {
    font-size: 1.2rem;
  }

  .content_1,
  .content_2 {
    flex-wrap: wrap;
    height: auto;
    justify-content: center;
    margin-top: 0;
    max-height:none;
    position: static;
  }

  .content_1 .img,
  .content_2 .text {
    margin-left: 0;
  }

  .content_1 .text,
  .content_2 .img {
    position: static;
  }

  .content_1 .text,
  .content_2 .text {
    height: auto;
    order: 2;
    padding:3%;
    width: 70%;
  }

  .content_1 .img,
  .content_2 .img {
    order: 1;
    width: 70%;
  }
}