@charset "utf-8";


/*============================
#message
============================*/

#message {
  padding-bottom: 100px;
}

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

#message img {
  width: 350px;
}

#message .text {
  width: 660px;
}

#message .text p.lead {
  padding: 20px 30px;
  background: #f7f7f7;
  border-radius: 5px;
}

#message .text p:nth-of-type(5) {
  margin-top: 30px;
}

#message p.name {
  text-align: right;
  font-size: 18px;
  font-weight: 600;
}

#message p.name span {
  font-size: 18px;
  display: block;
}

#philosophy {
  padding: 100px 0;
  background-color: #0f2664;
  counter-reset: no;
}

#philosophy .inner .flex {
  padding-bottom: 0;
}

#philosophy img {
  margin: auto;
  width: 698px;
}

#philosophy dl {
  margin-top: 40px;
  padding: 30px;
  width: 330px;
  background-color: #fff;
  border-radius: 5px;
  font-weight: 600;
  position: relative;
  box-shadow: 0px 2px 10px 0px rgba(11, 33, 92, 0.7);
}

#philosophy 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: #0f2664;
  font-family: "Zalando Sans SemiExpanded", sans-serif;
  bottom: 15px;
  right: 15px;
}

#philosophy dl:nth-of-type(2)::before {
  color: #efca08;
}

#philosophy dl:nth-of-type(3)::before {
  color: #d00000;
}

#philosophy dl dt {
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1;
}

#philosophy dl dt .eng {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  color: #0f2664;
}

#philosophy dl:nth-of-type(2) dt .eng {
  color: #efca08;
}

#philosophy dl:nth-of-type(3) dt .eng {
  color: #d00000;
}

#philosophy dl dd {
  font-size: 18px;
  line-height: 26px;
}

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

  #message {
    padding-bottom: 60px;
  }

  #message img {
    padding-top: 56.8164%;
    display: block;
    overflow: hidden;
    height: 0;
    width: 100%;
    background: url(../images/01_sp.png) no-repeat left center;
    -webkit-background-size: 100%;
    background-size: 100%;
    margin-bottom: 30px;
  }

  #message .text {
    width: 100%;
  }

  #message .text p.lead {
    padding: 15px 20px;
  }

  #message p.name,
  #message p.name span {
    font-size: 16px;
  }

  #philosophy {
    padding: 60px 0;
  }

  #philosophy img {
    width: 100%;
  }

  #philosophy dl {
    margin-top: 20px;
    padding: 20px;
    width: 100%;
  }

  #philosophy dl:first-of-type {
    margin-top: 30px;
  }

  #philosophy dl::before {
    bottom: 10px;
    right: 10px;
  }

  #philosophy dl dt {
    margin-bottom: 10px;
  }

  #philosophy dl dt .eng {
    font-size: 22px;
  }

  #philosophy dl dd {
    font-size: 18px;
    line-height: 26px;
  }
}


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

#company table .min-info {
  display: block;
}

#company table a.google {
  margin: 0;
  text-transform: uppercase;
}

#company .map {
  margin-top: 15px;
  width: 100%;
  height: 300px;
}

#company .map iframe {
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

#company img {
  margin-top: 20px;
  width: 100%;
}

#company .inner > p.min-info {
  margin-top: 5px;
  float: right;
}

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

  #company {
    padding-bottom: 80px;
  }

  #company .map {
    height: 150px;
  }

  #company img {
    margin-top: 15px;
  }

  #company .inner > p.min-info {
    float: left;
  }

}
