@charset "UTF-8";

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

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20000;
  background-color: #0f2664;
}

.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 #fff;
  border-right: 5px solid #fff;
  border-bottom: 5px solid #fff;
  border-left: 5px solid #efca08;
  -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);
  }
}

/*============================
トップ共通
============================*/

.lead {
  margin-bottom: 30px;
  font-size: 32px;
  line-height: 48px;
}

article .inner p:nth-of-type(-n+2) {
  margin-top: 0;
}

@media only screen and (max-width: 768px) {

  .lead {
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 30px;
  }
}


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

.top_img {
  width: 100%;
  height: 520px;
  position: relative;
}

#slider {
  margin-top: 280px;
  overflow: hidden;
  width: 100%;
  height: 520px;
  background-color: #fff;
  position: relative;
}

.top_img h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 75px;
  z-index: 10;
  position: absolute;
  top: -115px;
}

@media only screen and (max-width: 980px) {
  .top_img {
    width: 100%;
    height: 240px;
    position: relative;
  }

  #slider {
    margin-top: 190px;
    overflow: hidden;
    width: 100%;
    height: 240px;
    background-color: #fff;
    position: relative;
  }

  .top_img h1 {
    font-size: 22px;
    line-height: 33px;
  }
}


/*============================
見出し
============================*/

h2 {
  margin-bottom: 30px;
  font-size: 14px;
  line-height: 1;
  color: #d00000;
}

h2 span.eng {
  display: block;
  margin-bottom: 15px;
  font-size: 45px;
  color: #0f2664;
}

@media only screen and (max-width: 768px) {

  h2 {
    margin-bottom: 20px;
    font-size: 13px;
  }

  h2 span.eng {
    margin-bottom: 10px;
    font-size: 30px;
  }
}


/*============================
.link
============================*/

.link {
  margin-top: 30px;
}

@media only screen and (max-width: 768px) {

  .link {
    margin-top: 20px;
  }
}


/*============================
.intro
============================*/

.intro {
  padding: 50px 0;
  background-color: #0f2664;
}

.intro p {
  margin-bottom: 0;
  text-align: center;
  color: #fff;
  font-size: 20px;
  line-height: 36px;
  font-weight: 500;
}

@media only screen and (max-width: 768px) {

  .intro {
    padding: 40px 0;
  }

  .intro p {
    font-size: 16px;
    line-height: 32px;
  }
}

/*============================
blog(wp)
============================*/

#blog {
  padding: 80px 0 60px;
  background-color: #f6f6f6;
}

#blog .flex {
  align-items: flex-start;
}

#blog .box {
  padding: 30px 40px;
  width: 890px;
  background-color: #fff;
  border-radius: 5px;
}

#blog .box a {
  padding-bottom: 20px;
  margin-bottom: 20px;
  justify-content: flex-start;
}

#blog .box a:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
}

#blog .box a:hover {
  opacity: 0.8;
}

#blog .box a p {
  margin-top: 0;
  transition: .5s;
  font-size: 15px;
}

#blog .box a:hover p {
  color: #032582;
}

#blog .inner .box a p.date {
  margin-right: 20px;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
}

#blog .inner .box a p.cat {
  margin-right: 20px;
  padding: 6px;
  width: 150px;
  display: inline-block;
  background-color: #0f2664;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  border-radius: 50px;
}

#blog .inner .box a p:last-of-type {
  width: 520px;
}

#blog .inner .box a:not(:last-child) {
  border-bottom: 1px solid #f6f6f6;
}

#blog .link {
  margin-top: 20px;
}

@media only screen and (max-width: 768px) {

  #blog {
    padding: 40px 0 30px;
  }

  #blog .box {
    padding: 30px 20px;
    width: 100%;
  }

  #blog .box a {
    padding-bottom: 15px;
    margin-bottom: 15px;
  }

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

  #blog .box a:hover p {
    color: #111;
  }

  #blog .inner .box a p.date {
    margin-right: 10px;
  }

  #blog .inner .box a p.cat {
    font-size: 12px;
    width: auto;
    padding: 5px 7px;
  }

  #blog .inner .box a p:last-of-type {
    width: 100%;
  }

  #blog .link {
    margin-top: 10px;
  }
}


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

#company .inner {
  position: relative;
}

#company .inner::before {
  position: absolute;
  display: block;
  content: '';
  top: 0;
  left: -260px;
  width: 560px;
  height: 495px;
  background: url(../images/home/company/01.png)no-repeat center center;
  background-size: 100%;
  border-radius: 5px;
}

#company .text {
  margin-left: auto;
  width: 670px;
}

@media only screen and (max-width: 980px) {

  #company .inner::before {
    display: none;
  }

  #company img {
    width: 100%;
    margin: 0 0 30px -30px;
  }

  #company .text {
    margin: 0;
    width: 100%;
  }
}


/*============================
#about
============================*/

#about {
  background-color: #0f2664;
  color: #fff;
  text-align: center;
  counter-reset: no;
}

#about ul {
  margin-top: 40px;
  align-items: stretch;
}

#about ul li {
  padding: 30px 0;
  background-color: #fff;
  color: #111;
  width: 500px;
  border-radius: 5px;
  position: relative;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  box-shadow: -1px 2px 10px 0 rgba(11, 33, 92, 0.8);
  align-content: center;
}

#about ul li span {
  display: inline-block;
}

#about ul li span.eng {
  letter-spacing: 0.02em;
  display: inline-block;
}

#about ul li span.min {
  color: #111;
  line-height: 1;
}

#about ul li::before {
  position: absolute;
  display: block;
  counter-increment: no;
  content: '/ 'counter(no, decimal-leading-zero);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: #0f2664;
  font-family: "Zalando Sans SemiExpanded", sans-serif;
  bottom: 15px;
  right: 15px;
}

#about ul li:nth-of-type(2)::before {
  color: #efca08;
}

#about ul li:nth-of-type(3)::before {
  color: #d00000;
}

#about dl {
  margin-top: 40px;
  padding: 60px 50px;
  background-color: #fff;
  color: #111;
  border-radius: 5px;
  box-shadow: -1px 2px 10px 0 rgba(11, 33, 92, 0.8);
}

#about dl dt {
  margin: 0 0 25px 0;
  padding: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #0f2664;
  position: relative;
  z-index: 10;
}

#about dl dt::before {
  position: absolute;
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background-color: #0f2664;
  top: 50%;
  z-index: -1;
}

#about dl dt span {
  display: inline-block;
  padding: 0 20px;
  background-color: #fff;
}

#about dl dd:last-of-type {
  margin-top: 30px;
}

#about dl dd:last-of-type img {
  width: 100%;
}

@media only screen and (max-width: 768px) {

  #about ul {
    margin-top: 20px;
  }

  #about ul li {
    padding: 30px 0;
    background-color: #fff;
    color: #111;
    width: 100%;
    border-radius: 5px;
    position: relative;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
  }

  #about ul li:nth-of-type(n+2) {
    margin-top: 15px;
  }

  #about ul li::before {
    bottom: 10px;
    right: 10px;
  }

  #about dl {
    margin-top: 15px;
    padding: 30px 20px;
  }

  #about dl dt {
    margin-bottom: 15px;
    font-size: 18px;
  }

  #about dl dt span {
    padding: 0 10px;
  }

  #about dl dd:last-of-type {
    margin-top: 20px;
  }

  #about dl dd:last-of-type img {
    padding-top: 60.4477%;
    display: block;
    overflow: hidden;
    height: 0;
    width: 100%;
    background: url(../images/home/about/license_sp.png) no-repeat left center;
    -webkit-background-size: 100%;
    background-size: 100%;
  }
}


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

#service {
  counter-reset: no;
  padding-bottom: 70px;
}

#service h2 {
  padding-left: 20px;
  font-size: 24px;
  color: #0f2664;
  position: relative;
}


#service h2::before {
  display: block;
  content: '';
  position: absolute;
  width: 3px;
  height: 22px;
  background-color: #d00000;
  top: 2px;
  left: 0;
}

#service .details {
  margin-top: 30px;
}

#service .details dl {
  width: 245px;
  position: relative;
}

#service .details dl::before {
  position: absolute;
  display: block;
  counter-increment: no;
  content: '/ 'counter(no, decimal-leading-zero);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: #bdd6ef;
  font-family: "Zalando Sans SemiExpanded", sans-serif;
  bottom: 15px;
  right: 15px;
}

#service .details dl dt {
  padding: 15px 0;
  background-color: #0f2664;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  border-radius: 5px 5px 0 0;
}

#service .details dl dd {
  padding: 50px 0 45px;
  background-color: #f7faff;
}

#service .details dl dd img {
  width: 100%;
}

@media only screen and (max-width: 768px) {

  #service {
    padding-bottom: 40px;
  }

  #service h2 {
    padding-left: 20px;
    font-size: 18px;
  }

  #service h2::before {
    height: 18px;
  }

  #service .details {
    margin-top: 20px;
  }

  #service .details dl {
    width: 49%;
  }

  #service .details dl::before {
    bottom: 10px;
    right: 10px;
  }

  #service .details dl:nth-of-type(n+3) {
    margin-top: 15px;
  }

  #service .details dl dt {
    font-size: 13px;
    font-weight: 600;
  }

  #service .details dl dd {
    padding: 40px 0 35px;
  }
}


/*============================
#construction
============================*/

#construction {
  padding-top: 0;
}

#construction .inner {
  position: relative;
}

#construction .inner::before {
  position: absolute;
  display: block;
  content: '';
  top: 0;
  right: -250px;
  width: 720px;
  height: 495px;
  background: url(../images/home/for-construction/01.png) no-repeat center center;
  background-size: 100%;
  border-radius: 5px;
}

#construction h2 {
  padding-top: 30px;
}

#construction .link {
  display: flex;
  justify-content: flex-start;
}

@media only screen and (max-width: 980px) {

  #construction h2 {
    padding-top: 0;
  }

  #construction .inner::before {
    display: none;
  }

  #construction img {
    width: 100%;
    margin: 0 0px 30px -30px;
  }

  #construction .link {
    justify-content: flex-end;
  }
}


/*============================
#case-study（wp）
============================*/

#case-study {
  background-color: #f7f7f7;
}

#case-study .post {
  width: 700px;
  justify-content: space-between;
}

#case-study .box {
  display: block;
  width: 340px;
  position: relative;
  box-shadow: 0px 0px 20px 10px rgba(238, 238, 238, 0.5);
  border-radius: 5px;
}

#case-study .box .cat {
  position: absolute;
  padding: 6px 20px;
  background-color: #0f2664;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.04em;
  border-radius: 50px;
  top: 15px;
  right: 15px;
  z-index: 10;
}

#case-study .box .photo {
  width: 340px;
  height: 270px;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
}

#case-study .box .photo .img,
#case-study .box .photo img {
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100%;
  -webkit-background-size: cover;
  background-size: cover;
  transition: .5s ease;
}

#case-study .box:hover {
  opacity: 0.7;
}

#case-study .box:hover .photo .img,
#case-study .box:hover .photo img {
  transform: scale(1.1, 1.1);
}

#case-study .box h3 {
  padding: 20px 15px;
  background-color: #fff;
  color: #032582;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  border-radius: 0 0 5px 5px;
}

#case-study .link {
  display: flex;
  justify-content: flex-start;
}

@media only screen and (max-width: 768px) {

  #case-study .post {
    width: 100%;
  }

  #case-study a.box {
    margin-top: 20px;
    width: 100%;
  }

  #case-study .box .cat {
    padding: 6px 15px;
    font-size: 12px;
    top: 10px;
    right: 10px;
  }

  #case-study .box .photo {
    width: 100%;
    height: 280px;
  }

  #case-study .box:hover {
    opacity: 1;
  }

  #case-study .box:hover .photo .img,
  #case-study .box:hover .photo img {
    transform: scale(1);
  }

  #case-study .box .text {
    padding: 80px 15px 15px 15px;
  }

  #case-study .box h3 {
    padding: 15px;
    font-size: 15px;
  }

  #case-study .link {
    justify-content: flex-end;
  }
}


/*============================
#faq
============================*/

#faq {
  padding-bottom: 70px;
}

#faq .inner > .flex {
  align-items: flex-start;
}

#faq .qaContainer {
  width: 890px;
}
