@charset "UTF-8";

.top .navbar-inverse .navbar-nav .dropdown-menu {
  border: 1px solid #e74c3c;
}

#info_top {
  width: 50px;
  height: 150px;
  position: fixed;
  right: 0;
  bottom: 100px;
}

#info_top a {
  position: relative;
  display: block;
  width: 55px;
  height: 128px;
  text-decoration: none;
}

#info_top a::before {
  font-size: 1.8em;
  color: #000;
  background: transparent;
  position: absolute;
  width: 50px;
  height: 50px;
  top: 0px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

#info_top a::after {
  content: "事業一覧";
  white-space: pre;
  writing-mode: vertical-rl;
  font-size: 2em;
  color: #fff;
  background-color: #d51100;
  border-radius: 20%;
  position: absolute;
  top: 10px;
  bottom: 0px;
  right: 5px;
  left: 10px;
}

#nav-skiplink {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  overflow: hidden;
}

.navbar-inverse .navbar-nav .dropdown .btn {
  text-align: left;
}

.ruby_flag .logo,
.lg-ruby {
  display: none;
}
.logo,
.ruby_flag .lg-ruby {
  display: block;
}

/* タブレットからnavbar-toggle  */
@media (max-width: 1200px) {
  .navbar-header {
    float: none;
    height: 135px;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .navbar-collapse.collapse {
    display: none !important;
  }

  .navbar-nav {
    float: none !important;
    margin: 7.5px -15px;
  }

  .navbar-nav > li {
    float: none;
  }

  .navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .navbar-text {
    float: none;
    margin: 15px 0;
  }

  .navbar-collapse.collapse.in {
    display: block!important;
    margin-bottom: 100vh;
  }

  .collapsing {
    overflow: hidden!important;
  }

  .navbar-inverse .navbar-nav .dropdown-menu {
    width: 100%;
  }
}

/*　PC	*/
@media screen and (min-width: 1200px) {
	header ul {
		display: flex;
		justify-content: center;
	}
  
  .navbar>.container .navbar-brand {
    margin-left: 45px;
  }

  .navbar-inverse .navbar-brand {
		padding: 5px 10px 0px 0px;
    font-size: 3em;
    line-height: 2;
  }
  
  .navbar #menu-button {
    position: absolute;
    top: 1%;
    left: 50%;
    font-size: 1.2em;
    line-height: 1;
    text-align: right;
  }

  .navbar .tel {
    position: absolute;
    top: 5px;
    margin-left: 70%;
    font-size: 1em;
    line-height: 1;
    text-align: right;
  }

  .navbar-inverse .navbar-nav {
    margin-top: 85px;
    margin-bottom: 0;
  }

  a:focus {
    outline: dotted 1px #555 !important;
  }

  header a:focus {
    outline: dotted 0px #555 !important;
  }
}

/*　TB	*/
@media screen and (min-width: 768px) and (max-width: 1200px) {
	#bottom ul li.mb-tb {
		margin-bottom: 2em;
	}

  #slider,
  #title {
    margin-top: 56px;
  }

  #title h2 {
    margin-top: 35px;
    margin-bottom: 25px;
    font-size: 2.6em;
    font-weight: 300;
  }
  
	.navbar-nav .open .dropdown-menu {
		position: static;
		float: none;
		width: auto;
		margin-top: 0;
	}

  .navbar-nav > li.dis-tbsp,.navbar-nav > li.dis-sp {
    display: block !important;
  }

	.navbar-collapsea {
		height: 100%;
	}
  
	.navbar-collapse.collapse {
		overflow: auto !important;
	}

  .navbar-toggle {
    position: absolute;
    top: 92px;
    left: 75px;
  }
  
  .navbar #menu-button {
    position: absolute;
    top: 70%;
    left: 50%;
    font-size: 1.2em;
    line-height: 1;
    text-align: right;
  }

  .navbar .tel {
    position: absolute;
    top: 5px;
    margin-left: 70%;
    font-size: 1em;
    line-height: 1;
    text-align: right;
  }
}

/*　SP	*/
@media screen and (max-width: 767px) {
  .navbar-nav > li.dis-tbsp,.navbar-nav > li.dis-sp {
    display: block !important;
  }

	.navbar-collapse{
		height: 100%;
	}
  
	.navbar-collapse.collapse {
		overflow: auto !important;
	}

  .navbar-brand {
    float: left;
    padding: 5px 0px;
    font-size: 1.8em;
    line-height: 20px;
  }

  .navbar-inverse .navbar-brand img {
    max-width: 250px;
    height: auto;
    margin: 0;
  }

  .navbar-toggle {
    position: absolute;
    top: 80px;
    left: 20px;
  }

  #slider,
  #title {
    margin-top: 56px;
  }

  #title h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1.6em;
    font-weight: 300;
  }

  .navbar #menu-button {
    position: absolute;
    top: 70%;
    left: 50%;
    font-size: 1.2em;
    line-height: 1;
    text-align: right;
  }

  .navbar .tel {
    position: absolute;
    top: 2%;
    left: 68%;
    font-size: 0.8em;
    line-height: 1;
    text-align: right;
  }
}