@charset "UTF-8";
.section-top {
  position: relative;
  color: #fff;
}
.section-top p {
  position: absolute;
  bottom: 0px;
  right: 5px;
  font-size: 1.1rem;
}
.section-top__main-image img {
  width: 75%;
  height: 350px;
  object-fit: cover;
  margin-left: auto;
}
.slick-outer {
  position: relative;
}
.slick-content {
  position: absolute;
  left: 10%;
  bottom: -6%;
  opacity: 0;
  width: 50px;
  transition: 0.8s ease-in;
}
.slick-content img {
  height: 350px;
}
.slick-current .slick-content {
  opacity: 1;
  transition-delay: .5s;
}
@media(min-width:850px) {
  #tops img {
    width: 250px;
  }
  .toggle {
    width: 50px;
    height: 40px;
  }
  .toggle__span {
    height: 3px;
    width: 100%;
    background-color: #333;
    position: absolute;
    transition: 0.4s;
  }
  .toggle__span:nth-child(1) {
    top: 10px;
  }
  .toggle__span:nth-child(2) {
    top: 25px;
  }
  .toggle__span:nth-child(3) {
    top: 40px;
  }
  .section-top {
    margin-left: 25px;
    display: flex;
  }
  .slick-content {
    position: absolute;
    left: 30%;
    bottom: -20%;
    opacity: 0;
    transition: 0.8s ease-in;
    transform: rotate(90deg);
  }
  .slick-content img {
    height: 55vw;
    background-color: rgba(255, 255, 255, 0.3);
  }
  .section-top__main-image img {
    width: 75%;
    height: 75vh;
    object-fit: cover;
    margin-left: auto;
  }
  .section-top p {
    position: absolute;
    bottom: 5px;
    right: 25px;
    font-size: 1.6rem;
  }
}
/* MAIN */
.main h2 {
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.8rem;
  background: transparent; /*背景透明に*/
  border-left: solid 2px #333; /*左線*/
  margin: 30px 25px 60px;
  padding-left: 15px;
  animation: SlideIn 1.6s;
}
@media(min-width:850px) {
  .main h2 {
    font-size: 1.6rem;
    line-height: 4rem;
    padding-left: 30px;
    margin: 60px 100px 60px;
  }
}
/* WORKS */
.works {
  height: 200px;
  padding: 30px 30px;
  background-image: url("../images/top/works.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-bottom: 60px;
}
#works h2 {
  text-align: left;
  background: transparent; /*背景透明に*/
  border-left: solid 30px #333; /*左線*/
  line-height: 2px;
  margin: 30px 25px 30px;
  padding-left: 15px;
  font-size: 2.4rem;
}
.works table {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 0px;
  margin-left: auto;
  margin-right: auto;
}
.works table th {
  padding-right: 30px;
  padding-bottom: 10px;
}
.works table td {
  padding-top: 0px;
  vertical-align: top;
}
a.btn-style-link {
  display: inline-block;
  padding: 2px 10px 0;
  text-decoration: none;
  border: 1px;
  background: #333;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.8rem;
  box-shadow: 0px 2px 4px #333;
  transition: box-shadow .3s;
}
a.btn-style-link:hover {
  box-shadow: 0px 4px 8px #333;
  background: #330066;
  color: #e6ff00;
  opacity: 1;
}
@media(min-width:850px) {
  .works {
    height: 400px;
    padding: 110px 30px 60px;
  }
  #works h2 {
    margin: 30px 100px 30px;
    font-size: 2.4rem;
  }
  .works img {
    width: auto;
    height: 30px;
  }
  .works table th {
    padding-right: 60px;
    padding-bottom: 15px;
  }
  a.btn-style-link {
    padding: 0px 10px;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 3rem;
  }
}
/* ABOUT */
.about h2 {
  text-align: left;
  background: transparent; /*背景透明に*/
  border-left: solid 30px #333; /*左線*/
  line-height: 2px;
  margin: 30px 25px 30px;
  padding-left: 15px;
}
.about table {
  display: block;
  text-align: left;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 0px 25px 60px 25px;
  width: 100%;
  margin: 0 auto;
}
.about table th {
  width: 35%;
  font-weight: 600;
}
*, *:before, *:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}
html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%; /*rem算出をしやすくするために*/
}
.btn, a.btn, button.btn {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
}
a.btn-flat {
  overflow: hidden;
  padding: 0.2rem 0.5rem 0.2rem 1.5rem;
  color: #fff;
  border-radius: 0;
  background: #333;
}
a.btn-flat span {
  position: relative;
}
a.btn-flat:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  -webkit-transform: translateX(-96%);
  transform: translateX(-96%);
  background: #e6ff00;
}
a.btn-flat:hover:before {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}
a.btn-flat:hover {
  color: black;
}
@media(min-width:850px) {
  .about h2 {
    line-height: 2px;
    margin: 30px 100px 30px;
    padding-left: 15px;
  }
  .about table {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 3rem;
    padding: 0px 100px 60px 100px;
    border-collapse: separate;
    border-spacing: 5px 10px;
    width: 100%;
    margin: 0 auto;
  }
  .about table th {
    width: 20%;
  }
}
/* CONTACT */
.contact h2 {
  text-align: left;
  background: transparent; /*背景透明に*/
  border-left: solid 30px #333; /*左線*/
  line-height: 2px;
  margin: 30px 25px 30px;
  padding-left: 15px;
}
@media(min-width:850px) {
  .contact h2 {
    margin: 30px 100px 30px;
    padding-left: 15px;
  }
}