@charset "UTF-8";
/*
Theme Name: サワムラガク足立 お客様の声
Author: あそびラボ
*/

main {
  padding: 0 0 150px;
  font-size: 17px;
}

/*=======================================================
h1
=======================================================*/
.h1_wrapper h1::before {
  content: "";
  background: url("../images/common/hagumi.svg") no-repeat;
  width: 66px;
  height: 102px;
  display: block;
  position: absolute;
  left: 312px;
  top: -10px;
}
@media screen and (max-width: 750px) {
  .h1_wrapper h1::before {
    left: 131px;
    top: 0;
  }
}
/*=======================================================
共通部分 一覧・詳細
=======================================================*/
/*在住・年代・性別*/
main .profile {
  font-size: 20px;
  font-weight: bold;
}
main .profile span {
  font-size: 19px;
  font-weight: normal;
  display: block;
}
/*教習時間*/
main .time {
  font-weight: bold;
  display: flex;
  align-items: center;
  position: absolute;
  top: 32px;
  right: 50px;
}
main .time dt {
  width: 134px;
  height: 34px;
  margin: 0 12px 0 0;
  padding: 3px 0 0 30px;
  background:
    url("../images/voice/icon_car.svg") center left 13px / 25px 20px no-repeat,
    #33b666;
  border-radius: 10px;
  color: #fffbf4;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}
main .el_nodata {
  text-align: center;
}
@media screen and (max-width: 750px) {
  /*在住・年代・性別*/
  main .profile {
    font-size: 28px;
  }
  main .profile span {
    font-size: 22px;
    margin-top: 10px;
  }
  /*教習時間*/
  main .time dt {
    width: 170px;
    height: 46px;
    padding: 0 0 0 30px;
  }
  main .time dt,
  main .time dd {
    font-size: 24px;
  }
}
/*=======================================================
投稿一覧
=======================================================*/
main .inner h2 {
  margin: 0 0 30px;
  text-align: center;
}
.archive #post {
  width: 1020px;
  margin: 0 auto 50px;
}
.archive #post > a > li {
  width: 100%;
  min-height: 285px;
  margin: 0 0 25px;
  padding: 31px 20px 30px 365px;
  background:
    url("../images/voice/hagumi_shadow.svg") bottom -14px right 20px / 110px 178px no-repeat,
    #fffbf4;
  border: 2px solid #3c2a10;
  border-radius: 10px;
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}
.archive #post > a:hover li {
  opacity: 0.7;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
/*在住・年代・性別*/
.archive .profile {
  width: 100%;
  margin: 0 0 15px;
  padding: 0 290px 15px 0;
  border-bottom: 2px solid #3c2a10;
  order: 1;
}
.archive .profile span {
  display: block;
  margin-top: 10px;
}
/*テキスト*/
.archive #post .txt {
  line-height: 1.7;
  height: 140px;
  order: 2;
}
/*画像*/
.archive #post > a > li > p:last-of-type {
  width: 310px;
  height: 210px;
  border-radius: 10px;
  text-align: center;
  position: absolute;
  top: 35px;
  left: 25px;
  overflow: hidden;
}
.archive #post > a > li > p:last-of-type:not(.noimg) img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.archive #post .noimg {
  padding: 24px 0 0;
  background: #f3ddcf;
}
.archive #post .noimg img {
  width: 108px;
  height: 171px;
}
@media screen and (max-width: 750px) {
  main .inner h2 {
    line-height: 1.4;
    font-size: 28px;
  }
  .archive #post {
    width: 690px;
  }
  .archive #post > a > li {
    min-height: 287px;
    padding: 30px 20px 30px;
    background:
      url(../images/voice/hagumi_shadow.svg) bottom -14px right 20px / 80px 129px no-repeat,
      #fffbf4;
  }
  /*在住・年代・性別*/
  .archive .profile {
    width: 100%;
    margin: 0 0 20px;
    padding: 0 335px 20px 0;
    line-height: 1.2;
    letter-spacing: 0;
    order: 1;
  }
  /*教習時間*/
  .archive .time {
    top: 39px;
    right: 25px;
  }
  .archive .time dt,
  .archive .time dd {
    font-size: 22px;
  }
  /*テキスト*/
  .archive #post .txt {
    width: 435px;
    height: auto;
    margin: 0;
    padding: 5px 0 0 25px;
    font-size: 28px;
    line-height: 1.5;
    order: 3;
  }
  /*画像*/
  .archive #post > a > li > p:last-of-type {
    width: 200px;
    height: 135px;
    top: auto;
    position: relative;
    left: auto;
    order: 2;
  }
  .archive #post .noimg {
    padding: 20px 0 0;
  }
  .archive #post .noimg img {
    width: 63px;
    height: 100px;
  }
}

/*=======================================================
投稿詳細
=======================================================*/
.single #post-table section {
  padding: 23px 30px 30px;
}
/*在住・年代・性別*/
.single .profile {
  width: 630px;
  margin: 0 0 30px;
  padding: 0 0 15px 0;
  border-bottom: 2px solid #3c2a10;
}
/*時間*/
.single .time {
  top: 37px;
  right: 35px;
}
/*サムネイル画像*/
.single section .img {
  margin: 0 0 40px;
  text-align: center;
}
.single section .img img {
  border: 2px solid #3c2a10;
  border-radius: 10px;
}
/***サイド***/
.single #post-table aside .box h2 {
  background:
    url("../images/voice/icon_cloud.svg") center left 20px / 28px 23px no-repeat,
    #3c2a10;
}
.single #post-table aside .box li {
  position: relative;
  margin: 0 0 25px 20px;
  line-height: 1.5;
}
.single #post-table aside .box li::before {
  content: "・";
  position: absolute;
  left: -20px;
}
@media screen and (max-width: 750px) {
  .single #post-table section {
    padding: 30px 20px 30px;
    display: flex;
    flex-wrap: wrap;
  }
  /*在住・年代・性別*/
  .single .profile {
    width: 646px;
    margin: 0 0 30px;
    padding: 0 345px 15px 0;
  }
  /*時間*/
  .single .time {
    top: 45px;
    right: 25px;
  }
  /*サムネイル画像*/
  .single section .img {
    width: 100%;
    margin: 0 0 30px;
  }
  .single section .img img {
    width: 100%;
  }
  /***サイド***/
  .single #post-table aside .box h2 {
    background:
      url("../images/voice/icon_cloud.svg") center left 20px / 32px 26px no-repeat,
      #3c2a10;
  }
  .single #post-table aside .box li {
    margin: 0 0 35px 20px;
    font-size: 28px;
  }
  .single #post-table aside .box li::before {
    left: -30px;
  }
}
