@charset "UTF-8";

/*============================
loading
============================*/

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20000;
  background: #f25D2f;
  background: linear-gradient(90deg, #f25d2f, #ffa200);
}

.loader,
.loader:after {
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  margin-left: -25px;
  margin-top: -30px;
}

.loader {
  position: relative;
  text-indent: -9999em;
  border-top: 5px solid #ffffff;
  border-right: 5px solid #ffffff;
  border-bottom: 5px solid #dadada;
  border-left: 5px solid #fff;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}


/*============================
.top_img
============================*/

#top p.siteTitle {
  display: none;
}

#top h1.siteTitle {
  display: block;
}

.top_img {
  overflow: hidden;
  width: 100%;
  height: 0;
  padding-top: 63.8461%;
  background: url(../images/home/top_img01.jpg) no-repeat center;
  background-size: cover;
  position: relative;
}

.top_img .inner-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  padding-top: 63.8461%;
}

.top_img .inner {
  position: relative;
}

.catch {
  position: absolute;
  display: block;
  right: 0;
  bottom: 90px;
  z-index: 10;
}

.catch .title {
  color: #fff;
  font-size: 44px;
  line-height: 65px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 7px rgba(130, 130, 130, 0.5);
}

.catch p {
  margin-top: 0;
}

.catch .lead {
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  background: linear-gradient(90deg, #f25d2f, #ffa200);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: none;
  position: relative;
}

.catch .lead::before,
.catch .lead::after {
  position: absolute;
  content: '';
  display: block;
  width: 93px;
  height: 1px;
  background: linear-gradient(90deg, #f25d2f, #ffa200);
  top: 50%;
  left: 0;
}

.catch .lead::after {
  left: auto;
  right: 0;
}

@media only screen and (max-width: 768px) {
  .top_img {
    height: 500px;
    padding: 0;
    background-image: url(../images/home/top_img01_sp.jpg);
  }

  .top_img .inner-bg {
    padding-top: 0;
  }

  .catch {
    bottom: auto;
    right: auto;
    top: 110px;
    left: 0;
  }

  .catch .title {
    font-size: 24px;
    line-height: 40px;
    text-align: left;
  }

  .catch .lead {
    font-size: 16px;
    text-align: left;
  }

  .catch .lead::before,
  .catch .lead::after {
    display: none;
  }

}


/*============================
container
============================*/

.container {
  position: relative;
  width: 100%;
  margin: auto;
}

@media only screen and (max-width: 768px) {
  h2 {
    margin-bottom: 20px;
  }
}


/*============================
service
============================*/

#service {
  counter-reset: num;
}

#service .flex {
  align-items: flex-end;
}

#service a.box {
  display: block;
}

#service a.box:hover {
  opacity: 1;
}

#service a.box:nth-of-type(n+2) {
  margin-top: 100px;
}

#service .photo {
  width: 460px;
  overflow: hidden;
}

#service .photo img {
  width: 100%;
  transition: 0.5s;
}

#service a.box:hover .photo img {
  transform: scale(1.1, 1.1);
}

#service .text {
  width: 550px;
}

#service .text h3 {
  padding: 20px 0 20px 60px;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, #f25d2f, #ffa200) 1;
  position: relative;
  overflow: hidden;
  transition: .5s;
}

#service a.box:hover .text h3 {
  color: #fff;
}

#service a.box .text h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(242, 93, 47, 1) 0%, rgba(255, 162, 0, 1) 100%);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right top;
  transition: transform .5s cubic-bezier(0.8, 0, 0.2, 1);
}

/* hover で左から右へ伸びる */

#service a.box:hover .text h3::before {
  transform: scaleX(1);
  transform-origin: left top;
}

#service .text h3 span::before {
  position: absolute;
  display: block;
  counter-increment: num;
  content: counter(num, decimal-leading-zero);
  background: linear-gradient(90deg, #f25d2f, #ffa200);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-family: "Lora", serif;
  font-size: 24px;
  font-weight: 700;
  top: 20px;
  left: 10px;
}

#service .text h3 span::after {
  position: absolute;
  content: '\f105';
  background: linear-gradient(90deg, #f25d2f, #ffa200);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 18px;
  font-weight: 900;
  top: 20px;
  right: 10px;
}

#service a.box:hover .text h3 span::before,
#service a.box:hover .text h3 span::after {
  color: #fff;
}

@media only screen and (max-width: 768px) {
  #service .flex {
    align-items: flex-start;
  }

  #service a.box:nth-of-type(n+2) {
    margin-top: 40px;
  }

  #service a.box:nth-of-type(2) .flex {
    flex-direction: column-reverse;
  }

  #service .photo {
    width: 100%;
  }

  #service a.box:hover .photo img {
    transform: scale(1, 1);
  }

  #service .text {
    width: 100%;
  }

  #service .text h3 {
    padding: 20px 0 20px 50px;
    margin-bottom: 10px;
    font-size: 16px;
  }

  #service a.box:hover .text h3 {
    color: #222;
  }

  #service a.box .text h3::before {
    background: #fff;
  }

  #service a.box:hover .text h3::before {
    transform-origin: none;
  }

  #service .text h3 span::before {
    font-size: 18px;
  }

  #service .text h3 span::after {
    font-size: 16px;
  }

  #service a.box:hover .text h3 span::before,
  #service a.box:hover .text h3 span::after {
    background: linear-gradient(90deg, #f25d2f, #ffa200);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
  }
}


/*============================
#works
============================*/

#works {
  background-color: #f5f5f5;
}

#works p {
  margin-bottom: 40px;
}

#works a.box:hover {
  opacity: 1;
}

#works a.box .photo {
  width: 480px;
  overflow: hidden;
}

#works a.box .photo img {
  width: 100%;
  transition: 0.5s;
}

#works a.box:hover .photo img {
  transform: scale(1.1, 1.1);
}

#works h3 {
  padding: 20px 0 20px 20px;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, #f25d2f, #ffa200) 1;
  position: relative;
  overflow: hidden;
  transition: .5s;
  z-index: 0;
}

#works a.box:hover h3 {
  color: #fff;
}

#works a.box h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(242, 93, 47, 1) 0%, rgba(255, 162, 0, 1) 100%);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right top;
  transition: transform .5s cubic-bezier(0.8, 0, 0.2, 1);
}

/* hover で左から右へ伸びる */

#works a.box:hover h3::before {
  transform: scaleX(1);
  transform-origin: left top;
}

#works h3 span::after {
  position: absolute;
  content: '\f105';
  background: linear-gradient(90deg, #f25d2f, #ffa200);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 18px;
  font-weight: 900;
  left: auto;
  right: 10px;
}

#works a.box:hover h3 span::after {
  color: #fff;
}

@media only screen and (max-width: 768px) {
  #works p {
    margin-bottom: 30px;
  }

  #works a.box .photo {
    width: 100%;
  }

  #works a.box:hover .photo img {
    transform: scale(1, 1);
  }

  #works h3 {
    padding: 20px 0 20px 10px;
    margin-bottom: 40px;
    font-size: 16px;
  }

  #works a:last-of-type h3 {
    margin-bottom: 0;
  }

  #works a.box:hover h3 {
    color: #222;
  }

  #works a.box h3::before {
    background: transparent;
  }

  #works a.box:hover h3 span::after {
    background: linear-gradient(90deg, #f25d2f, #ffa200);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
  }
}


/*============================
#company
============================*/

#company {
  background: url(../images/home/company/bg.jpg) no-repeat center bottom;
  background-size: cover;
}

#company .box {
  padding: 80px 60px;
  background-color: rgba(255, 255, 255, 0.95);
}

#company .box .text {
  padding-bottom: 60px;
  margin-bottom: 60px;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, #f25d2f, #ffa200) 1;
}

@media only screen and (max-width: 768px) {
  #company {
    background-image: url(../images/home/company/bg_sp.jpg);
    background-size: cover;
  }

  #company .box {
    padding: 7% 5%;
    background-color: rgba(255, 255, 255, 0.95);
  }

  #company .box .text {
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
}


/*============================
recruit
============================*/

#recruit .flex {
  align-items: flex-end;
  counter-reset: num;
}

#recruit .text {
  width: 450px;
  overflow: hidden;
}

#recruit .text h3 {
  margin: 40px 0 20px;
  font-size: 18px;
  font-weight: 500;
  background: linear-gradient(90deg, #f25d2f, #ffa200);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  position: relative;
}

#recruit .text h3::before {
  position: absolute;
  content: '';
  display: block;
  width: 350px;
  height: 1px;
  background: linear-gradient(90deg, #f25d2f, #ffa200);
  top: 50%;
  left: 100px;
}

#recruit .text table tr {
  background-color: #f5f5f5;
}

#recruit .text table ol li {
  position: relative;
  padding-left: 20px;
}

#recruit .text table ol li::before {
  position: absolute;
  counter-increment: num;
  content: counter(num)'.';
  display: block;
  font-family: "Lora", serif;
  font-size: 16px;
  background: linear-gradient(90deg, #f25d2f, #ffa200);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  top: 0;
  left: 0;
}

#recruit img {
  width: 550px;
}

@media only screen and (max-width: 768px) {
  #recruit .text {
    width: 100%;
  }

  #recruit .text h3::before {
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #f25d2f, #ffa200);
    top: 50%;
    left: 100px;
  }

  #recruit img {
    margin-top: 10px;
    padding-top: 71.6417%;
    display: block;
    height: 0;
    width: 100%;
    background: url(../images/home/recruit/01_sp.png)no-repeat left bottom;
    background-size: 100%;
  }
