@import url("https://fonts.googleapis.com/css?family=Roboto|Open+Sans");
@font-face {
font-family: 'えり字';
src: url('../font/えり字/えり字.otf') format('opentype');
}
/* Core Styles */
body {
  margin: 0;
  font-family: "Futura", "筑紫A丸ゴシック";
  background: #FBFFFF;
  color: #000;
  line-height: 1.5;
  text-align: left;
  letter-spacing: 0.25em;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#top {
  flex: 1;
}
footer {
  background-color: #D6EFEF;
  padding-top: 10px;
  padding-bottom:10px;
  color: #E85414;
  font-size: 12px;
  margin-top: auto;
}
footer .col-lg-1 {
  margin: 5px 0;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 1em 0;
}

p {
  margin: 0;
  padding: 0.5em 0;
}

.sub_nav {
  padding: 5px 0px;
  font-size: 0.825em;
  color: #E85414;
}

/* navbar */
.navbar {
  padding-top: 0;
  padding-bottom: 0;
  background: url(../img/AdobeStock_452813489.jpeg) no-repeat center;
  background-size: cover;
  overflow:hidden;
}
.navbar-brand {
  height: 6em;
  width: 856px;
  background: #E85414 url(../img/D17AC2D6-CBBA-4104-BA3C-6E363C64AD08.png)  no-repeat center center;
  background-size: contain;
  text-indent:100%;
  white-space:nowrap;
  overflow:hidden;
}
.navbar-brand_side1 {
  height: 6em;
  width: calc((100% - 856px) / 8 * 3);
  background: rgba(232,84,20,0.6);
  font-size: 20px;
}
.navbar-brand_side2 {
  height: 6em;
  width: calc((100% - 856px) / 8);
  background: rgba(232,84,20,0.3);
  font-size: 20px;
}
li.nav-item {
  height: 4em;
  font-family: Futura;
  font-weight: bold;
}
li.nav-item a {
  height: 4em;
  font-family: Futura;
  font-weight: bold;
}
.txt-nav1{
  color: #E85414;
}
.nav-item a:hover {
  color: #E85414;
  text-decoration: underline 2px #E85414; 
}
.nav-item a:active {
  color: #E85414;
  background: #FBFFFF;
}
.dropdown:hover > .dropdown-menu {
  display: block;
}
.gnav {
  flex-direction: column;
}
.navbar-light .navbar-toggler {
  position: absolute;
  right: 10px;
  top: 10px;
}

/* top */
.top_message {
  position: absolute;
  top: 25%;
  left: 50%;
  color:#FFF;
  font-size:28px;
}

/* section container */
.index-img {
  display: block;
  width: 2em;
  height: auto;
  line-height: 0.5em;
  margin-right:5px;
}
.h2index {
  width: 100%;
  color: #E85414;
  font-size: 28px;
  font-style: italic;
  padding-top:10px;
  margin-bottom:25px;
  line-height: 0.6em;
}

/* recruit */
.recruit_message {
  font-size: 24px;
}

/* news */
.news_line {
  border-bottom: solid 1px #D6EFEF;
  margin-left: 2em;
  line-height: 2em;
}

/* about company */
dl.list_tbl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
dl.list_tbl dt {
  text-align: right;
  width: 8em;
  position: relative;
}
dl.list_tbl dd {
  padding-left: 1em;
  width: calc(100% - 8em);
  font-size: 100%;
}

.message_title {
  display: block;
  color: #FFF;
  font-weight: bold;
  background: linear-gradient(150deg, #E85414 55%, #FF931E 100%);
  text-decoration: none;
  text-align: left;
  padding: 0.5em;
  margin-left: 1.5em;
  border: 1.5px solid #FFF;
  width: calc(100% - 3em);
}
.message_massage {
  text-align: center;
  line-height: 2.5em;
  padding-bottom: 20px;
}

/* Contents_fadein */
.fadeInLeft {
  animation-name: fadeleft;
  animation-duration: 2s;
}
@keyframes fadeleft {
  from {
    opacity: 0;
    transform: translateX(-1%);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

/* GoogleMaps*/
iframe {
  width: 100%;
  aspect-ratio: 16/9;
}

/* button */
.btn {
  display: inline-block;
  background: #fff;
  color: #000;
  text-decoration: none;
  padding: 0.5em 1em;
  border: 1px solid #666;
  margin: 1em 0;
}
.btn:hover {
  background-color: rgba(255,0,0,0.2);
}
.list-group-item2 {
  padding: 5px 0;
}

.link_box {
  display: block;
  color: #FFF;
  font-size: 24px;
  font-weight: bold;
  background: linear-gradient(135deg, #E85414 55%, #FF931E 100%); 
  text-decoration: none;
  text-align: center;
  padding-bottom: 1em;
  margin: 0;
}
.link_box:hover {
  color: #FFF;
  background-color: rgba(25,25,25,0.5);
}

.link_btn {
  display: block;
  color: #FFF;
  font-size: 24px;
  font-weight: bold;
  background: linear-gradient(150deg, #E85414, #FF931E); 
  text-decoration: none;
  text-align: center;
  padding: 1em;
  margin: 5% 0 0;
  border: 1.5px solid #FFF;
  border-radius: 10px;
}
.link_btn:hover {
  color: #FFF;
  background-color: rgba(25,25,25,0.5);
}

/* linktext */
a {
  color: #E85414;
  text-decoration: none;
}
a:hover {
  color: #FF931E;
  text-decoration: underline;
}
footer a {
  color: #E85414;
  text-decoration: none;
  line-height: 2em;
}
footer a:hover {
  color: #F95414;
  text-decoration: underline;
}

/* Media Query */
@media screen and (min-width:992px) {
  #top{
    padding-top: 11.5em;
  }
  li.nav-item a {
    text-align: left;
    width:  calc(856px / 5);
  }
  li.nav-item:hover {
    text-decoration: underline 2px;
    color: #E85414;
  }
  .txt-nav1 {
    text-align: center;
    display: block;
    height: 3em;
    padding:0.5em;
  }
  .txt-nav1::after {
    content: "\A" ;
    white-space: pre ;
  }
  .sub_nav {
    margin: 20px 0;
  }
  .security_adjustment {
    margin-left: 1em;
  }
  .recruit_adjustment {
    margin-top: 1.5em;
  }
  .recruit_adjustment_contents {
    padding-left: 2.5em;
    padding-top: 1em;
  }
  .pc-size {
    display: block;
    padding-top: 0.2em;
    text-align: center;
    font-size: 100px;
  }
  .phone-size {
    display: none;
  }
}

@media screen and (max-width:991px) {
  body {
    font-size: 14px;
  }
  .navbar-brand {
    height: 4em;
  }
  #top{
    padding-top: 5.5em;
  }
  .top_message {
    position: absolute;
    top: 25%;
    left: 50%;
    color:#FFF;
    font-size:12px;
  }
  li.nav-item {
    border-bottom: 1px solid #eaeaea;
    height: 2.5em;
  }
  li.nav-item a {
    height: 2.5em;
  }
  .contents_main {
    margin: 0 2em;
  }
  .navbar-brand_side1 {
    display: none;
  }
  .navbar-brand_side2 {
    display: none;
  }
  .sub_nav {
    margin: 20px 0;
  }
  .index-img {
    width: 1.5em;
    height: auto;
    line-height: 0.5em;
    margin-right:3px;
  }
  .h2index {
    font-size: 20px;
    padding-top:3px;
    margin-bottom:10px;
    line-height: 1.1em;
  }
  .message_title {
    margin-left: 0em;
    width: 100%;
  }
  dl.list_tbl {
    font-size: 12px;
  }
  .link_box {
    font-size: 16px;
    margin-bottom: 1em;
  }
  .link_btn {
    font-size: 16px;
  }
  .recruit_message {
    font-size: 16px;
  }
  .news_line {
    font-size: 12px;    
  }
  .recruit_adjustment {
    margin-top: 0.5em;
  }
  .recruit_adjustment_contents {
    padding-left: 1.5em;
    padding-top: 0.5em;
  }
  .pc-size {
    display: none;
  }
  .phone-size {
    display: block;
    padding-top: 0.2em;
    text-align: center;
    font-size: 70px;
  }
  .footer_center {
    text-align: center;
  }
}

/* Pagetop button */
#page-top a {
  display: flex;
  justify-content:center;
  align-items:center;
  background: rgba(232,84,22,1.0);
  border-radius: 50%;
  border:solid 1px #FBFFFF;
  width: 60px;
  height: 60px;
  color: #fff;
  text-align: center;
  text-transform: uppercase; 
  text-decoration: none;
  font-size:0.6rem;
  transition:all 1s;
}
#page-top a:hover{
  background: rgba(120,120,120,0.5);
}
/* リンクを右下に固定 */
#page-top {
  position: fixed;
  right: 10px;
  bottom:10px;
  z-index: 2;
  opacity: 0; /* はじめは非表示 */
  transform: translateY(100px); /* 100pxスクロールで表示 */
}
/* 上に上がる動き */
#page-top.UpMove {
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 下に下がる動き */
#page-top.DownMove {
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(100px);
  }
}

/* モーダルのスタイル */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.8);
}
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 1000px;
}
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}