@charset "UTF-8";
#company_message #company_message_ph {
  float: right;
  margin-left: 34px;
  margin-bottom: 30px;
}

#company_message #company_message_ph img {
  width: 260px;
  height: auto;
}

#company_message #signature {
  text-align: right;
  font-weight: bold;
  font-size: 18px;
  margin-top: 28px;
}

@media only screen and (max-width: 767px) {
  /*スマホのみ*/
  #company_message #company_message_ph {
    margin-left: 14px;
    margin-bottom: 10px;
  }
  #company_message #company_message_ph img {
    width: 100px;
  }
  #company #company_message_box p {
    font-size: 13px;
  }
  #company_message #signature {
    font-size: 13px;
    margin-top: 20px;
  }
}

#company_outline_content {
  display: table;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
}

#company_outline_content dl,
#company_outline_content dt,
#company_outline_content dd {
  border: 1px solid #cccccc;
}

#company_outline_content dl {
  display: table-row;
}

#company_outline_content dt,
#company_outline_content dd {
  display: table-cell;
  padding: 18px;
}

#company_outline_content dt {
  background-color: #f3f3f3;
  font-weight: normal;
  text-align: left;
  width: 200px;
  vertical-align: middle;
}

@media only screen and (max-width: 767px) {
  /*スマホのみ*/
  #company_outline_content dl,
  #company_outline_content dt,
  #company_outline_content dd {
    display: block;
    border: none;
  }
  #company_outline_content dt,
  #company_outline_content dd {
    padding: 8px 10px;
    font-size: 13px;
  }
  #company_outline_content dt {
    background-color: #e8e8e8;
    width: auto;
  }
  #company_outline_content dd {
    background-color: #f4f4f4;
    margin-bottom: 3px;
  }
}

#company_history_content {
  display: table;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
}

#company_history_content dl {
  display: table-row;
}

#company_history_content dt,
#company_history_content dd {
  display: table-cell;
  padding: 18px;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
}

#company_history_content dt {
  background-color: #f3f3f3;
  font-weight: normal;
  text-align: center;
  width: 200px;
  vertical-align: middle;
}

@media only screen and (max-width: 767px) {
  /*スマホのみ*/
  #company_history_content {
    border: 1px solid #cccccc;
  }
  #company_history_content,
  #company_history_content dl,
  #company_history_content dt,
  #company_history_content dd {
    display: block;
  }
  #company_history_content dt,
  #company_history_content dd {
    font-size: 13px;
    border: none;
  }
  #company_history_content dt {
    width: auto;
    padding: 8px 10px;
    text-align: left;
  }
  #company_history_content dd {
    padding: 10px 10px;
  }
}

#company_gallery ul {
  margin-left: -5px;
  margin-top: -5px;
}

#company_gallery ul li,
#company_gallery ul li figure {
  width: 172px;
  height: 172px;
}

#company_gallery ul li {
  float: left;
  margin-left: 5px;
  margin-top: 5px;
}

#company_gallery ul li figure {
  position: relative;
  overflow: hidden;
  background-color: #f5f5f5;
}

#company_gallery ul li a {
  text-decoration: none;
}

#company_gallery ul li a figure:after {
  position: absolute;
  font-family: icon_set_v1 !important;
  speak: none !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  content: '\e8de';
  font-size: 18px;
  color: #fff;
  right: 5px;
  bottom: 7px;
  opacity: 0.75;
  -ms-filter: "alpha(opacity=65)";
  zoom: 1;
  z-index: 2;
}

#company_gallery ul li a figure img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 100%;
  height: auto;
}

@media print, screen and (min-width: 768px) {
  /*PCのみ*/
  #company_gallery ul li a figure img {
    transition: 0.2s ease-in-out;
  }
  #company_gallery ul li a:hover figure img {
    transform: scale(1.2, 1.2);
  }
}

#company_gallery ul li a:hover img {
  opacity: 1;
}

#company_gallery ul li figcaption {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, .6);
  transition: .3s;
  opacity: 1;
}

#company_gallery ul li figure:hover figcaption {
  top: 0;
  left: 0;
}

#company_gallery ul li figcaption div {
  position: absolute;
  left: -100%;
  width: 172px;
  transition: .3s;
  top: 0;
  display: table;
  height: 172px;
  text-align: center;
}

#company_gallery ul li figure:hover figcaption div {
  left: 0;
  transition-delay: .2s;
}

#company_gallery ul li figcaption div p {
  font-size: 12px;
  color: #ffffff;
  display: table-cell;
  vertical-align: middle;
  padding: 0 14px;
  text-align: center;
}

@media only screen and (max-width: 767px) {
  /*スマホのみ*/
  #company_gallery ul {
    margin-left: 0;
    margin-top: 0;
  }
  #company_gallery ul li {
    position: relative;
    width: 25%;
    height: auto;
    margin-left: 0;
    margin-top: 0;
  }
  #company_gallery ul li:before {
    content: "";
    display: block;
    padding-top: 100%;
  }
  #company_gallery ul li a,
  #company_gallery ul li figure {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  #company_gallery ul li a figure:after {
    font-size: 16px;
    right: 4px;
    bottom: 6px;
  }
  #company_gallery ul li a figure img {
    width: 100%;
  }
  #company_gallery ul li a figcaption {
    display: none;
  }
}


/*ライトボックス*/

.sl-overlay {
  opacity: 1;
}

.sl-wrapper .sl-image .sl-caption {
  padding: 10px 0 0 0;
  color: #000;
  background-color: transparent;
  opacity: 1;
  position: absolute;
  font-size: 14px;
}


/*アクセスマップ*/

#company #company_map {
  margin-top: -51px;
  padding-top: 51px;
}

#company #googlemap {
  position: relative;
  padding-top: 70%;
  height: 0;
  overflow: hidden;
}

#company #googlemap * {
  max-width: none;
}

#company #googlemap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media only screen and (max-width: 767px) {
  /*スマホのみ*/
  #company #googlemap {
    height: 400px !important;
  }
}