@charset "utf-8";
.bg01::before {
  max-width: 1276px;
  background-image: url('/company/images/company-head-img.png');
}

.subttl {
  padding-bottom: 5%;
}

/**********************************************/
/*                   トップ                    */
/**********************************************/

.top #main .subttl {
  margin-top: 0;
}

.top #main .floatL,
.top #main .floatR {
  width: 50%;
  text-align: center;
}

.top #main .floatL img,
.top #main .floatR img {
  width: 90%;
}

.top #main dl dd {
  margin-top: 1em;
  margin-left: -1em;
}

.top #main h2 {
  margin-bottom: 0;
}

.top #main p {
  margin-bottom: 2em;
  text-align: center;
}

/**********************************************/
/*                 メッセージ                  */
/**********************************************/
.message .contents01 .subttl {
  background-image: url('/company/images/company-message-subttl.jpg');
  margin-top: 0;
}

.message #man p {
  margin-bottom: 2em;
}

.message .floatBox p {
  float: right;
  width: 50%;
  box-sizing: border-box;
}

.message .floatBox p.img {
  float: left;
  padding-right: 20px;
  margin-top: -2%;
}

.message .sign {
  float: right;
  max-width: 327px;
}

.message #navGroup ul li {
  display: inline-block;
  vertical-align: middle;
  width: 30%;
}

/**********************************************/
/*                 会社概要                  */
/**********************************************/
.about .contents01 .subttl {
  background-image: url('/company/images/company-about-subttl01.jpg');
  margin-top: 0;
}

.about .contents02 .subttl {
  background-image: url('/company/images/company-about-subttl02.jpg');
}

.about .contents03 .subttl {
  background-image: url('/company/images/company-about-subttl03.jpg');
}

.about #cm .subttl {
  background-image: url('/company/images/company-about-ttl-cm.jpg');
}

.about #character .subttl {
  background-image: url('/company/images/company-about-ttl-character.jpg');
}

.about table {
  border-collapse: collapse;
  width: 100%;
}

.about table tr th,
.about table tr td {
  padding: 1em 2em;
  font-weight: normal;
}

.about .gaiyo tr:first-child {
  border-top: 1px solid #d6d0c7;
  border-bottom: 1px solid #d6d0c7;
}

.about .gaiyo tr {
  border-bottom: 1px solid #d6d0c7;
}

.about .gaiyo tr th{
  background: #fdf6ec;
}

.about .enkaku tr:nth-child(odd) {
  background:#fdf6ec;
}

.about .enkaku tr th {
  width: 5em;
}

.about .map {
  width: 50%;
  height: 320px;
  overflow: hidden;
  float: left;
  position: relative;
}

.about .map iframe{
  margin-top: -320px;
  width: 100%;
}

.about .map .corner {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 0;
  left: 0;
  background: url('/company/images/company-about-corner.png');
  background-position: left top;
  background-repeat: no-repeat;
}

.about .map .corner.idx02 {
  top: 0;
  left: auto;
  right: -1px;
  background-position: right top;
}

.about .map .corner.idx03 {
  top: auto;
  left: 0;
  bottom: 0;
  background-position: left bottom;
}

.about .map .corner.idx04 {
  top: auto;
  left: auto;
  right: -1px;
  bottom: 0;
  background-position: right bottom;
}

.about #main .address {
  margin-left: 10%;
  float: left;
  margin-top: 50px;
  width: 40%;
  box-sizing: border-box;
}

.about .youtube {
  position: relative;
  max-width: 100%;
  padding-top: 56.25%;
}

.about .youtube:not(:last-child) {
    margin-bottom: 15px;
}

.about .youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.about .character {
  text-align-last: center;
}

.about .character .name {
  display: block;
  padding-top: 20px;
  text-align: center;
  font-size: 1.6rem;
}

.about #navGroup .inline {
  display: inline-block;
  vertical-align: middle;
  padding-left: 7%;
  width: 49%;
  box-sizing: border-box;
}

.about #navGroup .inline:last-of-type {
  padding-right: 7%;
}

.about #main .address p {
  margin: .5em 0;
}

.about br.sp {
  display: none;
}

.about .pt-15percent {
  padding-top: 15%;
}

.about .clear-both {
  clear: both;
}

/**********************************************/
/*                 工場                  */
/**********************************************/

.factory .contents01 .subttl {
  background-image: url('/company/images/company-factory-subttl.jpg');
  margin-top: 0;
}

.factory .photos h2 {
  margin-top: 10%;
  margin-bottom: 7%;
}

.factory .flex-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-50 {
  margin-bottom: 50px;
}

.mb-80 {
  margin-bottom: 80px;
}

/**********************************************/
/*                   media                    */
/**********************************************/

@media screen and (max-width: 999px){
  #company:not(.top) .floatBox .img {
    margin-top: 1em;
  }
}

@media screen and (max-width: 640px){
  .subttl {
    padding-bottom: 8.98%;
  }

  /**********************************************/
  /*                   トップ                    */
  /**********************************************/
  .top #main .floatL,
  .top #main .floatR {
    width: 100%;
  }

  .top #main .floatL img,
  .top #main .floatR img {
    width: 90%;
  }

  .top #main dl dd {
    font-size: .9em;
    margin-left: 0;
  }


  /**********************************************/
  /*                 メッセージ                  */
  /**********************************************/
  #company:not(.top) .floatBox p {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
  }

  #company:not(.top) .floatBox p.img {
    text-align: center;
  }

  #company:not(.top) .floatBox p.img img {
    width: 100%;
    max-width: 425px;
  }

  .message #navGroup {
    padding: 7% 2% 7% 4%;
    text-align: left;
  }

  .message #navGroup ul {
    margin: 0 auto;
  }

  .message #navGroup ul li {
    width: 49%;
  }

  /**********************************************/
  /*                 会社概要                  */
  /**********************************************/
  .about #main section {
    margin-bottom: 5%;
  }

  .about table tr th,
  .about table tr td {
    padding: 1em .5em;
    text-align: left;
  }

  .about table tr th {
    width: 5em;
  }

  .about br.sp {
    display: inline-block;
  }
  .about .map {
    width: 100%;
    float: none;
  }

  .about #main .address {
    margin-left: 10%;
    float: left;
    margin-top: 20px;
    width: 100%;
  }

  .about #navGroup .inline {
    display: block;
    text-align: center;
    padding: 0 5%;
    width: 100%;
  }
  .about #navGroup .inline:first-of-type img {
    max-width: 60%;
  }
}