@charset "UTF-8";
html{
  min-width: 250px;
  font-family: 'Lato', 'Noto Sans JP', '游ゴシック Medium', '游ゴシック体', 'Yu Gothic Medium', YuGothic, 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}
body{
  min-height:100vh;
  max-width:100%;
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}

/* 背景固定 */
.fixed-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* それぞれのページの背景 */
/* めんどくさかったらHTMLに書いても良い */
#top{
  background-image:url('img/bg-top.jpg');
}
#info{
  background-image:url('img/bg-info.jpg');
}
#work{
  background-image:url('img/bg-work.jpg');
}
#link{
  background-image:url('img/bg-link.jpg');
}
#contact{
  background-image:url('img/bg-contact.jpg');
}
#recruit{
  background-image:url('img/bg-recruit.jpg');
}

/* ロゴ */
#top-logo-pc{
  display: block;
  position: absolute;
  top:0;
  right:10%;
  max-width: 220px;
}
#top-logo-mobile{
  display: block;
  position: relative;
  top:5px;
  right:5%;
  max-width: 160px;
  max-height: 90px; /* これしないとiOSでバグる */
}



/* ハンバーガーメニューボタン */
.navbar-toggler {
  position: fixed;
  padding: 1rem 1rem;
  background-color: #E0E43F;
  border: 1px solid transparent;
  border-radius: 0px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.navbar-toggler[aria-expanded="true"] {
  box-shadow: none;
}
.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}
.menu-trigger:focus{
  outline:none;
}
.icon-anchor {
  position: relative;
  width: 35px;
  height: 25px;
}
.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #6E6E6E;
  border-radius: 2px;
}
.menu-trigger span:nth-of-type(1) {
  top: 0;
}
.menu-trigger span:nth-of-type(2) {
  top: 11px;
}
.menu-trigger span:nth-of-type(3) {
  bottom: 0;
}
.navbar-toggler[aria-expanded="true"] span:nth-of-type(1) {
  -webkit-transform: translateY(12px) rotate(-45deg);
  transform: translateY(12px) rotate(-45deg);
}
.navbar-toggler[aria-expanded="true"] span:nth-of-type(2) {
  opacity: 0;
}
.navbar-toggler[aria-expanded="true"] span:nth-of-type(3) {
  -webkit-transform: translateY(-9px) rotate(45deg);
  transform: translateY(-9px) rotate(45deg);
}
.green-background{
  background-color:#E0E43F;
}
/* メニューボタン　ここまで */

/* メニューの各アイコン sm未満は非表示*/
.nav-item-icon{
  display: none;
}

/* メニューのアドレスの部分 */
.nav-contact{
  position: absolute;
  left:10%;
}
p.nav-address{
  letter-spacing: 0.1rem;
  color: #2E2E2E;
  font-size: 0.8rem;
}
p.nav-tellnum{
  color: #2E2E2E;
  font-size: 1.5rem;
}

/* コンテンツの白い箱 */
.white-box{
  background-color: rgba(255,255,255,0.8);
  margin-top:3rem;
  margin-bottom:3rem;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

/* ページのタイトルの黄色の棒 */
.section-title{
  position: relative;
  /* display: inline-block; */
  margin-top:4rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  margin-left: auto !important;
  margin-right: auto !important;
}
.section-title:before, .section-title:after {
  border-top: 3px solid #E0E43F;
  content: "";
  flex-grow: 1;
}
.section-title:before {
  margin-right: 1rem;
}
.section-title:after {
  margin-left: 1rem;
}

/* 表 */
.table{
  border:1px solid #242424;
  margin-top:1rem;
}
.table > thead > tr > th{
  border:1px solid #242424;
}
.table > tbody > tr > td{
  border-style: solid dotted;
  border-width: 1px;
  border-color: #242424;
}

/* 改行されたくないとき */
.inline-item{
  display: inline-block;
}

/* フッター */
footer{
  background-color:rgba(0,0,0,0.6);
  font-size:0.7rem;
  color:#FFFFFF;
  padding-top:1rem;
  padding-bottom:2rem;
  margin-top: auto;
  letter-spacing:0.1rem
}
footer a{
  color: #FFFFFF !important;
}


/* sm */
@media (min-width: 576px) {
  .navbar-light{
    /* bg-light */
    background-color:#f8f9fa !important;  
  }
  nav{
    border-bottom: solid 8px #E0E43F;
  }
  .nav-item{
    padding-right: 2rem;
    padding-left: 2rem;
    font-size: 0.8rem;
    margin-right: 0.8rem;
    margin-left: 0.8rem;
  }
  .nav-item-icon{
    display: inline-block;
  }
  .nav-item-name, .nav-item-top{
    margin-top:0.3rem;
  }
  .navbar-light .navbar-nav .nav-link{
    color:#2E2E2E;
  }
  .navbar-light .navbar-nav .nav-link:hover{
    color:#28a745;
  }
  .navbar-light .navbar-nav .nav-link:hover .nav-item-top{
    color:#17a2b8;
  }
  .navbar-light .navbar-nav .nav-link:hover .nav-item-icon{
    transform: scale(1.2);
    transition-duration: 0.3s;
  }
}
/* md */
@media (min-width: 768px) {
  .white-box{
    padding-left: 4rem;
    padding-right:4rem;
  }
  .table{
    margin-top:3rem;
  }
  #top-logo-pc{
    display: block;
    position: absolute;
    top:0;
    right:10%;
    max-width: 220px;
  }
}
/* lg */
@media (min-width: 992px) { }
/* xl */
@media (min-width: 1200px) {}