@charset "UTF-8";
/* CSS Document */

/*-------------------------------------------------------
↓ #message
-------------------------------------------------------*/
#message .box-top {
  height: auto;
  margin-right: 3em;
  position: relative;
}
#message .box-top img {
  width: 75%;
  height: auto;
  float: left;
}
#message .box-top p {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 30px 0 30px 50px;
  background-color: #fff;
  font-size: 1.6em;
  letter-spacing: 0.05em;
}
#message .box-bottom {
  background-image: url(../img/about/pattern.jpg);
  background-size: 8px 8px;
  background-position: center;
  padding: 40px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
#message .box-bottom p {
  max-width: 730px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  margin-bottom: 15px;
}
#message .box-bottom p:last-child {
  margin-bottom: 0;
}
#message .box-bottom .name {
  text-align: right;
  line-height: 1.6em;
}
#message .box-bottom .name span {
  font-family: "游明朝体", "Yu Mincho", YuMincho, serif;
  font-size: 1.6em;
  letter-spacing: 0.1em;
  display: inline-block;
  padding-top: 10px;
}

@media screen and (max-width: 900px) {
  .pc-900 {
    display: none;
  }
  #message .box-top {
    margin-right: 0;
    background-color: #000;
  }
  #message .box-top img {
    width: 100%;
    height: auto;
    float: none;
  }
  #message .box-top p {
    padding: 15px 30px 15px 30px;
    font-size: 1.2em;
    position: static;
    margin: 0 auto;
    background-color: #000;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
  }
  #message .box-bottom {
    padding: 30px;
  }
}
@media screen and (max-width: 480px) {
  #message .box-bottom {
    margin: 0 auto;
    padding: 20px 20px;
  }
  #message .box-bottom p {
    margin-bottom: 8px;
  }
}

/*-------------------------------------------------------
↓ #company
-------------------------------------------------------*/
#company .flex-box {
  display: flex;
  align-items: center;
  margin-bottom: 70px;
}
#company .left-box {
  width: 50%;
  padding-right: 30px;
  box-sizing: border-box;
}
#company .left-box table {
  width: 100%;
  line-height: 1.6em;
}
#company .left-box table tr {
  border-bottom: 1px solid #eee;
}
#company .left-box table th {
  width: 80px;
  text-align: right;
}
#company .left-box table td {
  padding: 10px 0 10px 30px;
  box-sizing: border-box;
}
#company .right-box {
  width: 50%;
}
#company .right-box .gmap {
  height: 100%;
}
.company-img-wrap {
  /* background-image: url(../img/about/quality_box_01.png),
    url(../img/about/quality_box_02.png), url(../img/about/quality_box_03.png),
    url(../img/about/quality_box_04.png);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-position: top left, top right, bottom left, bottom right;
  background-size: 30px;
  padding: 30px; */
  max-width: 730px;
  margin-left: auto;
  margin-right: auto;
}
.company-img-wrap img {
  max-width: 100%;
}
.company-img-pc {
  display: block;
}
.company-img-sp {
  display: none;
}
@media screen and (max-width: 900px) {
  #company .flex-box {
    flex-direction: column;
  }
  #company .left-box {
    width: 100%;
    padding-right: 0;
    margin-bottom: 30px;
  }
  #company .right-box {
    width: 100%;
    height: 300px;
  }
  /* #company .company-img-wrap {
    padding: 15px;
  } */
  .company-img-pc {
    display: none;
  }
  .company-img-sp {
    display: block;
  }
}
@media screen and (max-width: 640px) {
  #company .left-box table th {
    width: 65px;
  }
  #company .flex-box {
    margin-bottom: 30px;
  }
  #company .left-box table td {
    padding: 5px 0 5px 20px;
  }
  #company .right-box {
    height: 200px;
  }
}
