@charset "UTF-8";
/*
Theme Name: サワムラガク足立 教材動画・教材PDF
Author: あそびラボ
*/

/*=======================================================
h1
=======================================================*/
.h1_wrapper {
  background-color: #f4f1df;
}
.h1_wrapper h1 {
  padding: 0 0 0 80px;
}
.h1_wrapper h1::before {
  content: "";
  background: url(../images/top/teacher_hagumi.svg) no-repeat;
  background-size: contain;
  width: 67px;
  height: 108px;
  display: block;
  position: absolute;
  left: 386px;
  top: -17px;
}
.h1_wrapper.pdf h1::before {
  left: 356px;
}
@media screen and (max-width: 750px) {
  .h1_wrapper h1::before {
    left: 216px;
    top: -10px;
  }
  .h1_wrapper.pdf h1::before {
    left: 176px;
  }
}
/*=======================================================
動画・PDFリスト
=======================================================*/
main .list {
  padding: 0 0 150px;
}
main ul {
  display: flex;
  width: 1020px;
  margin: 0 auto;
  flex-wrap: wrap;
}
main ul li {
  width: 323px;
  margin: 0 25px 40px 0;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
}
main ul li:nth-of-type(3n) {
  margin: 0 0 40px;
}
main ul li h2 {
  order: 2;
  width: 100%;
  font-weight: bold;
  font-size: 19px;
  line-height: 1.3;
}
/*PDF*/
main ul li.pdf {
  width: 100%;
  margin: 0 0 40px;
}
.pdf h2 {
  order: 1;
  background: #3c2a10;
  color: #fff;
  font-weight: bold;
  border-radius: 10px;
  padding: 14px 20px 10px;
  margin: 0 0 20px;
  font-size: 22px;
}
.pdf div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  order: 2;
  width: 100%;
  line-height: 1.6;
}
.pdf div > div {
  width: 295px;
  height: 109px;
  right: 37px;
  bottom: 25px;
  border: 3px solid #33b666;
  border-radius: 14px;
  padding: 2px;
}
.pdf div > div a {
  flex-shrink: 0;
  position: relative;
  width: 285px;
  height: 99px;
  background: #33b666;
  border-radius: 10px;
  display: block;
  color: #fff;
  font-weight: bold;
  text-align: right;
  font-size: 22px;
  line-height: 1.45;
  padding: 32px 31px 0 0;
}
.pdf div > div a::before {
  content: "";
  display: block;
  background: url(../images/common/driver_hagumi.svg) no-repeat;
  background-size: contain;
  width: 104px;
  height: 85px;
  position: absolute;
  left: 20px;
  top: 10px;
}
/*動画*/
.movie p {
  order: 3;
  margin: 10px 0 0;
  line-height: 1.3;
}
.movie div {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 0 0 20px;
}
.movie div iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  margin: 0 0 20px;
}
main ul:first-of-type {
  margin: 0 auto 60px;
  justify-content: center;
  width: 1020px;
}
main ul:first-of-type li {
  margin: 0;
  width: initial;
}
main ul:first-of-type li a {
  width: 200px;
  display: block;
  margin: 0 20px;
  background: #fff;
  color: #3c2a10;
  text-align: center;
  padding: 10px 10px 7px;
  border-radius: 10px;
  font-weight: bold;
  border: 3px solid #3c2a10;
}
@media screen and (max-width: 750px) {
  main ul {
    width: initial;
    margin: 0 40px;
    display: block;
  }
  main ul li {
    width: initial;
    margin: 0 0 60px;
  }
  main ul li h2 {
    font-size: 28px;
  }
  .movie p {
    font-size: 26px;
    line-height: 1.4;
  }
  main ul:first-of-type {
    width: initial;
    display: flex;
  }
  main ul:first-of-type li a {
    width: 250px;
    padding: 20px 10px 18px;
  }
  .pdf h2 {
    line-height: 1.4;
    font-size: 28px;
  }
  .pdf div {
    display: block;
  }
  .pdf div p {
    margin: 0 0 30px;
  }
  .pdf div > div {
    width: 365px;
    height: 120px;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    margin: 0 auto;
  }
  .pdf div > div a {
    width: 355px;
    height: 110px;
    font-size: 28px;
    padding: 38px 31px 0 0;
  }
}
