/* common */
header img:hover, .mainworks img:hover, .maincompany img:hover {
   opacity: 0.5;
}

/* grobalmenu */
.g-btn {
    background:transparent url(../img/btn.png) no-repeat 0 0;
    display: block;
    width:35px;
    height: 35px;
    position: fixed;
    top:10px;
    right:10px;
    cursor: pointer;
    z-index: 200;
}
.peke {
    background-position: 0 0;
}
.drawr {
    display: none;
    background-color:rgba(51,51,51,0.8);
    position: fixed;
    top: 0px;
    right:0;
    width:100%;
    height:55px !important;
    padding:0;
    z-index: 100;
}

ul#menu {
    width:100%;
    list-style: none;
    text-decoration: none;
    padding: 0;
    margin: 0 0 10px 0;
    text-align: center;
}
#menu li {
    display: inline-block;
}
#menu li a {
    color:#fff;
    display: block;
    padding: 15px;
    text-decoration: none ;
}

/* header */
header {
  margin: 40px 0 20px 0;
}

header .flex {
  display: flex;
  justify-content: space-between;
}

h1.shoyomilogo {
    margin: 0;
}

ul#contact{
    margin: 0;
    padding: 0;
}

.contactus {
    margin: 0;
    padding: 0;
}

.contactus li {
    list-style: none;
    display: inline;
    vertical-align:middle;
}

.contactus li a {
    text-decoration:none;
}

.tel {
  height: 34px;
}

.contact2 {
  height: 36px;
  margin: 0 0 0 20px;
}

/* main */
.mainph {
  background: url(../img/mainph.jpg);
  background-size: cover;
  height: 650px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mainph p {
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 3px #406186;
  font-size: 36px;
  letter-spacing: 5px;
  margin: 0;
}

.mainstrengths, .mainworks {
  margin: 80px 0 80px 0;
}

.mainstrengths h2, .mainservice h2 {
  text-align: center;
  margin: 0px;
}

.mainstrengths .strengths, .mainservice .servicedescription {
  width: 70%;
  margin: 0 auto;
  text-align: justify;
}

/* Service */
.mainservice {
  background: url(../img/servicebg.jpg);
  background-size: cover;
  height: 620px;
  padding: 80px 0 80px 0;
}

.mainservice .flex {
  display: flex;
  justify-content: space-between;
}

.mainservice a {
    color: #333;
    text-decoration: none;
}

.mainservice a:hover {
    text-decoration: none;
    color: #333;
    opacity: 0.7;
}

.service > h2.section-title {
  text-align: center;
  font-weight: bold;
  font-size: 25px;
  color: #004ea2;
  letter-spacing: 2px;
  margin:10px 0 20px 0;
}

.service > .section-title::after {
  content: attr(data-subtitle);
  display: block;
  font-size: 14px;
  font-weight: bold;
  padding: 5px 0 0 0;
  color: #aaa;
}

.service p {
  font-size: 14px;
  text-align: justify;
}

.service {
  width: 260px;
  text-align: center;
  background: #fff;
  box-shadow: 0 0 5px gray
}

section.service {
  padding: 30px 25px 20px 25px;
}

.servicedescription > p {
  margin: 20px 0 20px 0;
}

/* Works */
.mainworks .flex {
  display: flex;
  justify-content: space-between;
}

.mainworks .readmorebtn {
  margin: 40px auto;
  text-align: center;
}

.mainworks .readmorebtn02 p, .maincompany .readmorebtn02 p {
  letter-spacing: 0.1em;
  color: #1254A5;
  background-color: #ffffff;
  padding: 5px 5px;
  border: 1px solid #1254A5;
  width: 250px;
  margin: 40px auto;
}

.mainworks .readmorebtn02 a, .maincompany .readmorebtn02 a {
  text-decoration: none !important;
  text-align: center;
}

.mainworks .readmorebtn02 a:hover, .maincompany .readmorebtn02 a:hover {
  opacity: 0.7;
}

/* Company */
#companyprofile {
  display: block;
  padding-top:110px;
  margin-top:-110px;
}

.maincompany {
  margin: 120px 0 80px 0;
}

.maincompany .flex {
  display: flex;
  justify-content: space-between;
}

.maincompany .companybtn {
  margin: 40px auto 0px;
  text-align: center;
}

.company1 {
  width: 450px;
  text-align: left;
}

.company2 {
  width: 530px;
  text-align: left;
}

.company1 table th, .company2 table th {
  font-size: 14px;
  vertical-align:top;
  padding: 10px 5px;
}

.company1 table td, .company2 table td {
  font-size: 14px;
  padding: 10px 5px;
}

.map {
  width: 1000px;
  height: 500px;
  margin: 0 auto;
  padding: 0;
}

/* workscontents */
figure.workscontents {
  position: relative;
  overflow: hidden;
  margin: 10px;
  min-width: 230px;
  max-width: 300px;
  max-height: 240px;
  width: 100%;
  color: #ffffff;
  text-align: center;
}
figure.workscontents * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
figure.workscontents img {
  opacity: 1;
  width: 100%;
}
figure.workscontents:after,
figure.workscontents:before {
  background: #444444;
  width: 200%;
  height: 200%;
  position: absolute;
  content: '';
  opacity: 0.5;
  -webkit-transition: all 0.55s ease-in-out;
  transition: all 0.55s ease-in-out;
  z-index: 1;
}
figure.workscontents:after {
  top: 0;
  left: 0;
  -webkit-transform: skew(-45deg) translateX(-150%);
  transform: skew(-45deg) translateX(-150%);
}
figure.workscontents:before {
  right: 0;
  bottom: 0;
  -webkit-transform: skew(-45deg) translateX(150%);
  transform: skew(-45deg) translateX(150%);
}
figure.workscontents figcaption {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 2;
}
figure.workscontents h3,
figure.workscontents p {
  margin: 0;
  width: 100%;
  opacity: 0;
}
figure.workscontents h3 {
  padding: 0 30px;
  font-weight: 400;
  text-transform: uppercase;
}
figure.workscontents p {
  padding: 0 50px;
  font-size: 0.8em;
  font-weight: 500;
}
figure.workscontents a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 2;
}
figure.workscontents:hover img,
figure.workscontents.hover img {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}
figure.workscontents:hover:after,
figure.workscontents.hover:after {
  -webkit-transform: skew(-45deg) translateX(-50%);
  transform: skew(-45deg) translateX(-50%);
}
figure.workscontents:hover:before,
figure.workscontents.hover:before {
  -webkit-transform: skew(-45deg) translateX(50%);
  transform: skew(-45deg) translateX(50%);
}
figure.workscontents:hover figcaption h3,
figure.workscontents.hover figcaption h3,
figure.workscontents:hover figcaption p,
figure.workscontents.hover figcaption p {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
figure.workscontents:hover figcaption h3,
figure.workscontents.hover figcaption h3 {
  opacity: 1;
}
figure.workscontents:hover figcaption p,
figure.workscontents.hover figcaption p {
  opacity: 0.7;
}
