/* main.css ==============================================*/
@import url(https://fonts.googleapis.com/earlyaccess/cwtexyen.css);
@font-face {
  font-family: LetsBeGlyphs;
  src: url("../font/LetsBeGlyphs.woff2") format("woff2"), url("../font/LetsBeGlyphs.woff") format("woff");
}
/*Variable*/
/*Mixin*/
.early-classroom {
  width: 750px;
  margin: 0 auto;
  background: url(../images/early-classroom-bg.png);
  padding-bottom: 10%;
  overflow: hidden;
}
.early-classroom * {
  margin: 0;
  padding: 0;
  line-height: 1.1;
  list-style-type: none;
  box-sizing: border-box;
}
.early-classroom header {
  height: 343px;
  position: relative;
}
.early-classroom .logo-fisherprice {
  background: url(../images/logo-fisherprice.svg) no-repeat center;
  background-size: 100%;
  position: absolute;
  text-indent: -9999px;
  width: 218px;
  height: 116px;
  top: 13.8%;
  left: 8.8%;
}
.early-classroom .sub {
  position: absolute;
  top: 24%;
  left: 39.9%;
}
.early-classroom .sub p {
  font-family: "cwTeXYen";
  font-size: 25px;
  font-weight: bold;
  color: #fff;
}
.early-classroom h1 {
  background: url(../images/early-classroom-h1.svg) no-repeat center;
  background-size: 100%;
  position: absolute;
  text-indent: -9999px;
  width: 448px;
  height: 132px;
  top: 45.5%;
  left: 9.3%;
}
.early-classroom .label {
  background: url(../images/early-classroom-label.svg) no-repeat center;
  background-size: 100%;
  position: absolute;
  text-indent: -9999px;
  width: 132px;
  height: 140px;
  top: 15.1%;
  left: 72.4%;
  animation: ec_header_label_swing 1s infinite alternate;
  transform-origin: 0 100%;
}
@keyframes ec_header_label_swing {
  0% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(5deg);
  }
}
.early-classroom .icon-lkbk {
  background: url(../images/logo-lkbk.svg) no-repeat center;
  background-size: 100%;
  position: absolute;
  text-indent: -9999px;
  width: 130px;
  height: 102px;
  top: 61.6%;
  left: 74.2%;
}

.ec-chapter-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: -15px;
}
.ec-chapter-list li {
  width: 73%;
  border: 7px solid #0779c1;
  margin: 1.2% 1.5% 4% 1.5%;
  position: relative;
  font-family: "cwTeXYen";
  padding: 18px;
  background: #fff;
  transition: 0.2s;
}
.ec-chapter-list li:hover {
  background: rgba(255, 255, 255, 0.5);
}
.ec-chapter-list li:hover [class^=pd-] {
  transform: scale(1.1);
}
.ec-chapter-list .title {
  display: flex;
  align-items: center;
  padding-bottom: 10px;
}
.ec-chapter-list .age {
  min-width: 110px;
  width: 110px;
  height: 110px;
  background: #f6a900;
  color: #fff;
  border-radius: 500px;
  font-family: "LetsBeGlyphs";
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 38px;
  margin-right: 12px;
}
.ec-chapter-list h2 {
  color: #74005d;
  font-size: 39px;
  width: 120%;
  min-width: 120%;
  font-family: "LetsBeGlyphs", "cwTeXYen";
  letter-spacing: -2px;
}
.ec-chapter-list p {
  font-size: 37px;
  font-weight: bold;
}
.ec-chapter-list .color-red {
  color: #e94609;
}
.ec-chapter-list [class^=pd-] {
  position: absolute;
  z-index: 1;
  transition: 0.5s;
}
.ec-chapter-list .pd-3 {
  left: -18%;
  top: 46%;
}
.ec-chapter-list .pd-4 {
  left: 77%;
  top: -15%;
}
.ec-chapter-list .pd-5 {
  left: 19%;
  top: 52%;
}
.ec-chapter-list .pd-6 {
  left: 19%;
  top: 63%;
}
.ec-chapter-list .pd-7 {
  left: -22%;
  top: 65%;
}
.ec-chapter-list .pd-8 {
  top: -4%;
  left: 81%;
}
.ec-chapter-list .pd-10 {
  top: 70%;
  left: 2%;
}
.ec-chapter-list a {
  position: relative;
  float: right;
  margin-top: 5%;
  margin-bottom: 4%;
}
.ec-chapter-list a span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  line-height: 1.7;
  text-align: center;
  color: #fff;
  font-size: 34px;
  text-decoration: none;
}
.ec-chapter-list a:hover span {
  color: #fff;
}
.ec-chapter-list a:hover svg path {
  fill: #0779c1;
}
.ec-chapter-list svg {
  width: 176px;
  height: 70px;
}
.ec-chapter-list svg path {
  fill: #E94709;
  transition: 0.2s;
}