@charset "utf-8";

/* ######Setting##### */
#wrap{
  position: relative;
  width: 100%;
  height: 100%;
}
#wrap2{
  position: relative;
  width: 100%;
  height: 100%;
}
/* ###### Keyview ##### */
#keyview{
  position: relative;
  width: 100%;
  height: 620px;
  overflow: hidden;
}
#keyview img{
  position: absolute;
  left:50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  width: 100%;
  min-width: 1366px;
  height: auto;
}
#keyview h2{
  position: absolute;
  top:306px;
  left:50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  margin: 0;
  padding: 0;
  color:#124b63;
  font-family: 'Noto Serif JP';
  font-weight:500;
  font-size:48px;
  line-height: 48px;
  white-space: nowrap;
  text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0-1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
}
#keyview p{
  position: absolute;
  top:365px;
  left:50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  margin: 0;
  padding: 0;
  color:#124b63;
  font-family: 'Lato';
  font-weight:900;
  font-size:32px;
  line-height: 32px;
  white-space: nowrap;
  text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0-1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
}
/* ###### pankuzu ##### */
#pankuzu{
  margin: 20px 12px 0;
  width: calc(100% - 24px);
}
#pankuzu ul{
  background:url(/wp-content/themes/BTM/images/icon_pankuzu_home.svg) no-repeat top 0px left 0;
  background-size: 14px;
  width: 100%;
  font-size: 0;
}
#pankuzu ul li{
  position: relative;
  display: inline-flex;
  color:#2b2b2b;
  font-weight: 300;
  font-size:14px;
  line-height: 14px;
  vertical-align: top;
}
#pankuzu ul li::after{
  position:absolute;
  top:7px;
  right: -5px;
  content: "";
  background-color: #2b2b2b;
  width: 12px;
  height: 1px;
}
#pankuzu ul li:last-child::after{
  position:absolute;
  top:0;
  right: 0;
  content: "";
  background-color:inherit;
  width:0;
  height: 0;
}
#pankuzu ul li a{
  display: block;
  padding:0 20px;
  color:#2b2b2b;
  font-weight: 300;
  font-size:14px;
  line-height: 14px;
}
#pankuzu ul li a:hover{
  color:#178ecf;
}
#pankuzu ul li.now_page a{
  color:#178ecf;
}
/* ######contents##### */
.contents{
  margin: 0 auto 0;
  width: 1024px;
}
.contents h3{
  margin: 115px 0 0;
  color:#2b2b2b;
  font-weight: 400;
  font-size:52px;
  line-height: 62px;
  text-align: center;
}
.contents h3 br{
  display: none;
}
.contents p{
  margin: 60px 12px 0;
  color:#2b2b2b;
  font-weight: 300;
  font-size:18px;
  line-height: 28px;
}
#comany_list{
  display: grid;
  grid-template-rows:302px 152px 152px 302px 302px;
  grid-template-columns:510px 490px;
  margin: 60px auto 160px;
}
#comany_list #grid_overview{
  grid-row:1 / 3;
  grid-column: 1 / 2;
  position: relative;
  margin: 0 20px 20px 0;
  width: 490px;
  height: 434px;
  overflow: hidden;
}
#comany_list #grid_overview:hover img{
  transform: scale(1.2,1.2);
  transition: 1s all;
}
#comany_list #grid_ir{
  grid-row:1 / 2;
  grid-column: 2 / 3;
  position: relative;
  margin: 0 20px 20px 0;
  width: 490px;
  height: 282px;
  overflow: hidden;
}
#comany_list #grid_ir:hover img{
  transform: scale(1.2,1.2);
  transition: 1s all;
}
#comany_list #grid_bases{
  grid-row:2 / 4;
  grid-column: 2 / 3;
  position: relative;
  margin: 0 0px 20px;
  width: 490px;
  height: 282px;
  overflow: hidden;
}
#comany_list #grid_bases:hover img{
  transform: scale(1.2,1.2);
  transition: 1s all;
}
#comany_list #grid_philosophy{
  grid-row:3 / 5;
  grid-column: 1 / 2;
  position: relative;
  margin: 0 20px 20px 0;
  width: 490px;
  height: 434px;
  overflow: hidden;
}
#comany_list #grid_philosophy:hover img{
  transform: scale(1.2,1.2);
  transition: 1s all;
}
#comany_list #grid_history{
  grid-row:4 / 5;
  grid-column: 2 / 3;
  position: relative;
  margin: 0 0px 20px;
  width: 490px;
  height: 282px;
  overflow: hidden;
}
#comany_list #grid_history:hover img{
  transform: scale(1.2,1.2);
  transition: 1s all;
}
#comany_list #grid_officer{
  grid-row:5 / 6;
  grid-column: 1 / 2;
  position: relative;
  margin: 0 20px 0px 0;
  width: 490px;
  height: 282px;
  overflow: hidden;
}
#comany_list #grid_officer:hover img{
  transform: scale(1.2,1.2);
  transition: 1s all;
}
#comany_list #grid_ca{
  grid-row:5 / 6;
  grid-column: 2 / 3;
  position: relative;
  margin: 0 0px 20px;
  width: 490px;
  height: 282px;
  overflow: hidden;
}
#comany_list #grid_ca:hover img{
  transform: scale(1.2,1.2);
  transition: 1s all;
}
#comany_list #grid_company{
  grid-row:6 / 7;
  grid-column: 1 / 3;
  position: relative;
  margin: 0;
  width: 100%;
  height: 282px;
  overflow: hidden;
}
#comany_list #grid_company:hover img{
  transform: scale(1.2,1.2);
  transition: 1s all;
}
#comany_list #grid_overview p,
#comany_list #grid_philosophy p{
  margin:0;
  padding:0;
}
#comany_list #grid_overview p a,
#comany_list #grid_philosophy p a{
  display: block;
  position: absolute;
  top:0;
  left: 0;
  width: 490px;
  height: 434px;
  z-index: 50;
}
#comany_list #grid_overview p.ttl_c,
#comany_list #grid_philosophy p.ttl_c{
  position: absolute;
  top:40px;
  left: 24px;
  margin: 0;
  color:#FFF;
  font-weight: 500;
  font-size:28px;
  line-height: 28px;
  text-shadow:1px 1px 0 #696969, -1px -1px 0 #696969,
              -1px 1px 0 #696969, 1px -1px 0 #696969,
              0px 1px 0 #696969,  0-1px 0 #696969,
              -1px 0 0 #696969, 1px 0 0 #696969;
  z-index: 50;
}
#comany_list #grid_overview p span,
#comany_list #grid_philosophy p span{
  position: absolute;
  bottom:24px;
  right: 24px;
  color:#FFF;
  font-family: 'Lato';
  font-weight:400;
  font-size:18px;
  line-height: 18px;
  text-shadow:1px 1px 0 #696969, -1px -1px 0 #696969,
              -1px 1px 0 #696969, 1px -1px 0 #696969,
              0px 1px 0 #696969,  0-1px 0 #696969,
              -1px 0 0 #696969, 1px 0 0 #696969;
  z-index: 50;
}
#comany_list #grid_overview img,
#comany_list #grid_philosophy img{
  width: 490px;
}
#comany_list #grid_ir p,
#comany_list #grid_bases p,
#comany_list #grid_history p,
#comany_list #grid_ca p,
#comany_list #grid_officer p{
  margin:0;
  padding:0;
}

#comany_list #grid_ir p a,
#comany_list #grid_bases p a,
#comany_list #grid_history p a,
#comany_list #grid_ca p a,
#comany_list #grid_officer p a{
  display: block;
  position: absolute;
  top:0;
  left: 0;
  width: 490px;
  height: 282px;
  z-index: 50;
}
#comany_list #grid_ir p.ttl_c,
#comany_list #grid_bases p.ttl_c,
#comany_list #grid_history p.ttl_c,
#comany_list #grid_ca p.ttl_c,
#comany_list #grid_officer p.ttl_c{
  position: absolute;
  top:40px;
  left: 24px;
  margin: 0;
  color:#FFF;
  font-weight: 500;
  font-size:28px;
  line-height: 28px;
  text-shadow:1px 1px 0 #696969, -1px -1px 0 #696969,
  -1px 1px 0 #696969, 1px -1px 0 #696969,
  0px 1px 0 #696969,  0-1px 0 #696969,
  -1px 0 0 #696969, 1px 0 0 #696969;
  z-index: 50;
}
#comany_list #grid_ir p span,
#comany_list #grid_bases p span,
#comany_list #grid_history p span,
#comany_list #grid_ca p span,
#comany_list #grid_officer p span{
  position: absolute;
  bottom:24px;
  right: 24px;
  color:#FFF;
  font-family: 'Lato';
  font-weight:400;
  font-size:18px;
  line-height: 18px;
  text-shadow:1px 1px 0 #696969, -1px -1px 0 #696969,
              -1px 1px 0 #696969, 1px -1px 0 #696969,
              0px 1px 0 #696969,  0-1px 0 #696969,
              -1px 0 0 #696969, 1px 0 0 #696969;
  z-index: 50;
}
#comany_list #grid_ir img,
#comany_list #grid_bases img,
#comany_list #grid_history img,
#comany_list #grid_ca img,
#comany_list #grid_officer img{
  width: 490px;
}
#comany_list #grid_company p{
  margin:0;
  padding:0;
}
#comany_list #grid_company p a{
  display: block;
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 282px;
  /*
  width: 490px;
  height: 434px;
  */
  z-index: 50;
}
#comany_list #grid_company p.ttl_c{
  position: absolute;
  top:40px;
  left: 24px;
  margin: 0;
  color:#FFF;
  font-weight: 500;
  font-size:28px;
  line-height: 28px;
  z-index: 50;
}
#comany_list #grid_company p span{
  position: absolute;
  bottom:24px;
  right: 24px;
  color:#FFF;
  font-family: 'Lato';
  font-weight:400;
  font-size:18px;
  line-height: 18px;
  text-shadow:1px 1px 0 #696969, -1px -1px 0 #696969,
              -1px 1px 0 #696969, 1px -1px 0 #696969,
              0px 1px 0 #696969,  0-1px 0 #696969,
              -1px 0 0 #696969, 1px 0 0 #696969;
  z-index: 50;
}
#comany_list #grid_company img{
  width: 100%;
}
