.front-page {
  position: relative;
}

.front-page::after {
  position: absolute;
  content: "";
  display: table;
  width: 100%;
  height: 1px;
  right: 0;
  left: 0;
  top: 550px;
  background-color: #E1007F;
  -webkit-transform: skewY(-10deg);
  transform: skewY(-10deg);
  z-index: 0;
}

@media all and (-ms-high-contrast: none) {
  *::-ms-backdrop,
  .front-page {
    position: static;
  }
  /* IE11 */
}

.main-content {
  position: relative;
  padding-top: 192px;
  padding-left: 6.72727%;
  padding-right: 6.72727%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  background: #FFF;
  z-index: 200;
  overflow: hidden;
}

.main-content::after {
  position: absolute;
  content: "";
  display: table;
  width: 100%;
  height: 1px;
  right: 0;
  left: 0;
  top: 550px;
  background-color: #E1007F;
  -webkit-transform: skewY(-10deg);
  transform: skewY(-10deg);
  z-index: 0;
}

.main-content .main-logo {
  margin-bottom: 34px;
  width: 404px;
}

.main-content .main-msg {
  margin-bottom: 30px;
}

.main-content .main-msg p {
  font-size: 22px;
  color: #E1007F;
  font-family: 'Font';
}

_::-webkit-full-page-media,
_:future,
:root .main-content::after {
  display: inherit;
}

/* safari */
#slider {
  position: fixed;
  width: calc(946/1100 * 100%);
  height: 100vh;
  margin: 0 auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  top: 0;
  left: calc((74/1100)*100%);
  z-index: 1;
}

.sld_fade {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  display: none;
}

#sld1 {
  background: url("/images/top/main01.jpg") no-repeat;
  background-size: cover;
  background-position: center center;
}

#sld2 {
  background: url("/images/top/main02.jpg") no-repeat;
  background-size: cover;
  background-position: center center;
}

#sld3 {
  background: url("/images/top/main03.jpg") no-repeat;
  background-size: cover;
  background-position: center center;
}

.section-img {
  max-height: calc(700 / 2000 *100vw);
}

.section-img .works-img {
  max-height: calc(700 / 2000 *100vw);
  -webkit-transform: translateX(50%);
          transform: translateX(50%);
}

.section-img .works-img a {
  height: 100%;
}

.section-img:nth-child(odd) {
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.section-img:first-of-type {
  position: relative;
}

.section-img:first-of-type::before {
  position: absolute;
  content: '';
  display: table;
  width: 100%;
  height: 1px;
  right: 0;
  left: 0;
  background-color: #E1007F;
  -webkit-transform: skewY(10deg);
          transform: skewY(10deg);
  margin-top: -50px;
}

.section-img:nth-of-type(3n) {
  position: relative;
}

.section-img:nth-of-type(3n)::before {
  position: absolute;
  content: '';
  display: table;
  width: 100%;
  height: 1px;
  right: 0;
  left: 0;
  background-color: #E1007F;
  -webkit-transform: skewY(-10deg);
          transform: skewY(-10deg);
  margin-top: -20px;
}

.section-img:nth-of-type(4n) {
  position: relative;
}

.section-img:nth-of-type(4n)::after {
  position: absolute;
  content: '';
  display: table;
  width: 100%;
  height: 1px;
  right: 0;
  left: 0;
  background-color: #E1007F;
  -webkit-transform: skewY(10deg);
          transform: skewY(10deg);
  margin-top: 220px;
}

.section-img:nth-child(odd) .works-img {
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.section-img:nth-child(even) .works-img {
  -webkit-transform: translateX(50%);
          transform: translateX(50%);
}

.section-img:nth-child(odd) .fadein.works-img {
  -webkit-transform: translateX(0);
          transform: translateX(0);
  opacity: 1;
}

.section-img:nth-child(even) .fadein.works-img {
  -webkit-transform: translateX(0);
          transform: translateX(0);
  opacity: 1;
}

.works-wrap {
  position: absolute;
  top: 40%;
  height: 100vh;
  position: relative;
  z-index: 300;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 calc((90/1100)*100%);
}

.works-wrap > div .title a {
  color: #E1007F;
}

.works-wrap > div ul a {
  color: #fff;
}

.mainArea {
  position: relative;
  background: #FFF;
  z-index: 100;
  padding: 180px 0;
}

footer {
  position: relative;
  background: #FFF;
  z-index: 300;
}

footer .copyright {
  margin: 0;
  padding-top: 67px;
  padding-bottom: 107px;
}

@media (max-width: 1024px) {
  .front-page,
  .main-content {
    background-position: top 380px center;
  }
}

@media (max-width: 768px) {
  .main-wrap {
    padding: 0;
  }
  .section-img:first-of-type::before {
    margin-top: -110px;
  }
  .section-img:nth-of-type(3n)::before {
    margin-top: -50px;
  }
  .section-img:nth-of-type(4n)::after {
    margin-top: 60px;
  }
}

@media (max-width: 450px) {
  .front-page,
  .main-content {
    background-position: top 380px center;
  }
  .main-content {
    padding: 0 2.32558%;
    background-image: none;
  }
  .main-content .main-logo {
    margin-top: 192px;
    width: 88.37209%;
  }
  .main-content .main-msg p {
    font-size: 16px;
  }
  #slider {
    width: 100%;
    left: 0;
  }
  .works-wrap .title {
    font-size: 28px;
  }
  .works-wrap ul li {
    font-size: 16px;
  }
  .section-img {
    max-height: calc(250 / 450 *100vw);
  }
  .section-img .works-img {
    max-height: calc(250 / 450 *100vw);
    -webkit-transform: translateX(50%);
            transform: translateX(50%);
  }
  .section-img .works-img a {
    height: 100%;
  }
  .section-img:first-of-type {
    padding-top: 0;
  }
  .section-img:first-of-type::before {
    margin-top: -30px;
  }
  .section-img:nth-child(odd) .works-img {
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
  .section-img:nth-child(even) .works-img {
    -webkit-transform: translateX(50%);
            transform: translateX(50%);
  }
  .section-img:nth-of-type(4n)::after {
    margin-top: -10px;
  }
  .mainArea {
    padding: 90px 0 0;
  }
}
