@charset "utf-8";
body {
  background-color: #EFEFEF;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
  margin: auto;
  max-width: 1440px;
  background-image: url(img/back_00.png);
  background-repeat: repeat;
  text-align: left;
}
/*========= レイアウトのためのCSS ===============*/
h1 {
  font-size: 2rem;
  text-align: center;
  text-transform: uppercase;
  padding: 20px;
  display: flex;
  background-repeat: no-repeat;
  background-image: url(img/header.jpg);
  background-position: right 0%;
  background-size: cover;
}
#header h1 div {
  max-height: 100%;
  width: auto;
  display: block;
}
.logo {
  max-height: 100%;
  width: auto;
  padding-left: 60px;
  float: left;
  clear: both;
  background-color: rgba(255, 255, 255, 0.50);
}
#topics_news {
  margin-top: 230px;
}
h2 {
  font-size: 1.2rem;
  text-align: center;
  margin: 0 0 30px 0;
}
p {
  margin-top: 20px;
}
small {
  background: #333;
  color: #fff;
  display: block;
  text-align: center;
  padding: 20px;
}
section {
  padding: 30px;
}
section:nth-child(2n) {
  background: #f3f3f3;
}
.greet_contents {
  padding: 30px;
  display: flex;
  width: 100%;
}
.greet_contents img {
  padding: 20px;
  max-width: 100%;
  max-height: 100%;
}
.company_detail {
    max-width: 1000px;
    margin-left: 150px;
    padding: 20px;
    margin-right: 80px;
}

.company_detail tbody th {
    padding: 10px;
    margin: 10px 5px;
    border-left: 3px solid rgba(164, 164, 164, 1.00);
    display: block;
}
.company_detail tbody td {
    margin: 5px;
    padding: 10px 20px;
}
.company_work {
    max-width: 1000px;
    margin-left: 150px;
    padding: 20px;
    margin-right: 80px;
}
.company_work ul li {
    padding: 10px;
    list-style-type: square;
}


/*========= ドロップダウンのためのCSS ===============*/
/*==ナビゲーション全体の設定*/
nav {
  background: #333;
  color: #fff;
  text-align: center;
}
/*ナビゲーションを横並びに*/
nav ul {
  /*2階層目の基点にするためrelativeを指定*/
  position: relative;
  list-style: none;
  display: flex;
  justify-content: center;
  margin-bottom: 200px;
}
/*2階層目以降は横並びにしない*/
nav ul ul {
  display: block;
  margin-top: 0px;
}
/*ナビゲーションのリンク設定*/
nav ul li a {
  /*矢印の基点にするためrelativeを指定*/
  position: relative;
  display: block;
  text-decoration: none;
  color: #999;
  padding: 20px 45px;
  transition: all .3s;
}
nav ul li li a {
  padding: 20px;
}
nav ul li a:hover {
  color: #fff;
}
/*==矢印の設定*/
/*2階層目を持つliの矢印の設定*/
nav ul li.has-child > a::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 25px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #999;
  border-right: 2px solid #999;
  transform: rotate(135deg);
}
/*==2階層目以降の画像設定*/
nav ul li.has-child img {
  max-width: 100%;
  height: auto;
  transition: all .5s;
  vertical-align: bottom;
}
/*hoverしたら画像拡大*/
nav ul li.has-child img:hover {
  transform: scale(1.2);
}
nav ul li.has-child dt {
  overflow: hidden;
  height: 20vh;
  margin: 0 0 20px 0;
}
/*== 2層目の設定 */
nav li.has-child ul {
    /*絶対配置で位置を指定*/
    position: absolute;
    left: 5%;
    top: 58px;
    z-index: 4;
    /*子要素を横並びに*/
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: rgba(156,156,156,0.82);
    width: 85%;
    /*はじめは非表示*/
    visibility: hidden;
    opacity: 0;
    /*アニメーション設定*/
    transition: all .3s;
    border-radius: 10px / 10px;
}
/*hoverしたら表示*/
nav li.has-child:hover > ul {
  visibility: visible;
  opacity: 1;
}
/*各ナビゲーション横幅*/
nav li.has-child ul li {
    margin: auto;
    width: 20%;
}
/*ナビゲーションaタグの形状*/
nav li.has-child ul li a {
  color: #fff;
}
nav li.has-child ul li a:hover, nav li.has-child ul li a:active {
  background-color: #CFCFCF;
  border-radius: 10px;
}
/*==================================================
スライダーのためのcss
===================================*/
/* Slider */
.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.slick-list:focus {
  outline: none;
}
.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}
.slick-slider .slick-track, .slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.slick-track:before, .slick-track:after {
  display: table;
  content: '';
}
.slick-track:after {
  clear: both;
}
.slick-loading .slick-track {
  visibility: hidden;
}
.slick-slide {
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
  text-align: center;
  text-decoration: none;
}
[dir='rtl'] .slick-slide {
  float: right;
}
.slick-slide img {
  display: block;
}
.slick-slide.slick-loading img {
  display: none;
}
.slick-slide.dragging img {
  pointer-events: none;
}
.slick-initialized .slick-slide {
  display: block;
}
.slick-loading .slick-slide {
  visibility: hidden;
}
.slick-vertical .slick-slide {
  display: block;
  height: auto;
  border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
  display: none;
}
.slider { /*横幅94%で左右に余白を持たせて中央寄せ*/
  width: 94%;
  margin: 0 auto;
}
.slider img {
  width: 100%; /*スライダー内の画像を横幅100%に*/
  height: auto;
}
/*slickのJSで書かれるタグ内、スライド左右の余白調整*/
.slider .slick-slide {
  margin: 0 10px;
}
.slider .slick-slide > a {
  text-decoration: none;
  color: #000000;
  font-style: oblique;
  font-weight: bold;
  font-size: 100%;
}
/*矢印の設定*/
/*戻る、次へ矢印の位置*/
.slick-prev, .slick-next {
  position: absolute; /*絶対配置にする*/
  top: 42%;
  cursor: pointer; /*マウスカーソルを指マークに*/
  outline: none; /*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #666; /*矢印の色*/
  border-right: 2px solid #666; /*矢印の色*/
  height: 15px;
  width: 15px;
}
.slick-prev { /*戻る矢印の位置と形状*/
  left: -1.5%;
  transform: rotate(-135deg);
}
.slick-next { /*次へ矢印の位置と形状*/
  right: -1.5%;
  transform: rotate(45deg);
}
/*ドットナビゲーションの設定*/
.slick-dots {
  text-align: center;
  margin: 20px 0 0 0;
}
.slick-dots li {
  display: inline-block;
  margin: 0 5px;
}
.slick-dots button {
  color: transparent;
  outline: none;
  width: 8px; /*ドットボタンのサイズ*/
  height: 8px; /*ドットボタンのサイズ*/
  display: block;
  border-radius: 50%;
  background: #ccc; /*ドットボタンの色*/
}
.slick-dots .slick-active button {
  background: #333; /*ドットボタンの現在地表示の色*/
}
@media screen and (max-width:1200px) {
  nav ul li.has-child dt {
    height: 12vh;
  }
  nav ul {
    margin-bottom: 130px;
  }
  .logo {
    padding-left: 10px;
  }
  #topics_news {
    margin-top: 120px;
  }
    .company_detail tbody th {
   
    margin: 10px 5px;
}
}

/*==768px以下の形状*/
@media screen and (max-width:768px) {
  nav ul {
    display: block;
    margin-bottom: 0px;
  }
  nav li.has-child ul {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    visibility: visible; /*JSで制御するため一旦表示*/
    opacity: 1; /*JSで制御するため一旦表示*/
    display: none; /*JSのslidetoggleで表示させるため非表示に*/
    transition: none; /*JSで制御するためCSSのアニメーションを切る*/
  }
  nav li.has-child ul li {
    width: 100%;
    text-align: left;
  }
  nav li.has-child ul li dl {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  nav li.has-child ul li dt {
    width: 30%;
    height: auto;
    margin: 0;
  }
  nav li.has-child ul li dd {
    width: 64%;
  }
  nav ul li a {
    padding: 8px 20px;
    border-bottom: 1px solid #ccc;
  }
  nav ul li li a {
    padding: 0;
  }
  /*矢印の位置と向き*/
  nav ul li.has-child > a::before {
    top: 17px;
    left: 20px;
    transform: rotate(135deg);
  }
  nav ul li.has-child.active > a::before {
    transform: rotate(-45deg);
  }
  main {
    padding: 0;
  }
  #header h1 {
    max-height: 120px;
    width: auto;
    height: auto;
  }
  .logo {
    max-height: 100%;
  }
  #topics_news {
    margin-top: 80px;
  }
  .greet_contents {
    display: block;
    margin: 0;
    padding: 0;
    max-width: 100%;
  }
  .greet_contents img {
    padding: 2px;
    width: 100%;
    height: auto;
  }
  .company_detail {
    max-width: 100%;
    margin: 0;
    border: none;
    padding: 0;
    display: block;
  }
  .company_detail tbody th {
    padding: 0 px;
    width: 100%;
    display: block;
    border-left: 2px double rgba(130, 130, 130, 1.00);
    border-bottom: 2px double rgba(130, 130, 130, 1.00);
  }
  .company_detail tbody td {
    padding: 0 px;
    width: 100%;
    display: block;
    margin-bottom: 20px;
  }
.company_work {
    display: block;
    width: 100%;
    margin-left: 10px;
  }
}
