@charset "UTF-8";

/* 
	2023.4.22		.dis-pcなどを修正
	2023.10.26	タブレット
							.navbar-nav .open .dropdown-menu {
								position: static;
*/

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

.skip {
	position: relative;
	text-align: center;
	width: 100%;
	margin: 0;
}

.skip a {
	height: 0;
	width: 0;
	font-size: 0.1%;
	line-height: 0.1;
	position: absolute;
	top: -500px;
	left: 0;
	z-index: 9999;
	padding: 4px 0;
	overflow: hidden;
}

.skip a:active,
.skip a:focus {
	display: block;
	height: auto;
	width: 100%;
	margin: 0 auto;
	font-size: 100%;
	left: 0;
	right: 0;
	top: 0;
	line-height: 1.5;
}

.skip_none {
	display: none;
	height: 0;
	width: 0;
}

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

#bottom ul {
	list-style-type: none;
}

#bottom ul li::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f111";
	display: inline-block;
	font-size: 0.5em;
}

#bottom ul .mei-1 {
	list-style: none;
	padding: 0;
	margin-left: 1em;
	font-size: 1em;
}

#page-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	cursor: pointer;
	z-index: 5;
}

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

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

	.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: flex-end;
	}

	.navbar-nav li {
		flex-direction: row;
		margin-right: auto;
	}

	.navbar-inverse .navbar-nav {
		margin-top: 105px;
		margin-left: 0px;
	}

	.navbar-inverse .navbar-brand {
		padding-top: 5px;
		padding-right: 10px;
		padding-bottom: 0px;
		padding-left: 0px;
		font-size: 3em;
		line-height: 2;
		margin-right: 650px;
	}

	.navbar-inverse .navbar-brand img {
		width: 100%;
		height: auto;
	}

	.navbar .tel {
		font-size: 1em;
		line-height: 1;
		float: left;
		text-align: right;
		margin-right: 0;
		margin-bottom: 0px;
	}

	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) {
  .navbar-nav > li.dis-tbsp {
    display: block !important;
  }
	
	.navbar-nav .open .dropdown-menu {
		position: static;
		float: none;
		width: auto;
		margin-top: 0;
	}

	.navbar-inverse .navbar-brand img {
		height: auto;
		margin-top: 0px;
	}

	.navbar-collapse {
		overflow-y: auto;
		max-height: 100vh;
	}
	
	#title {
		margin-top: 53px;
	}

	#title h2 {
		margin-top: 5px;
		margin-bottom: 25px;
		font-size: 2.6em;
		font-weight: 300;
	}

	.navbar-inverse .navbar-brand img {
		max-width: 180px;
		height: auto;
		margin-top: 0px;
		margin-left: 0px;
		margin-right: 0px;
	}

	.navbar-toggle {
		position: relative;
		float: left;
		margin-top: 20px;
		text-align: right;
	}

	.navbar .tel {
		font-size: 1em;
		line-height: 1;
		text-align: right;
		margin-right: 25px;
		margin-bottom: 35px;
	}
}

	/*  SP	*/
@media screen and (max-width:767px) {
  .navbar-nav > li.dis-tbsp,.navbar-nav > li.dis-sp {
    display: block !important;
  }
	
	.navbar-brand {
		float: left;
		padding: 15px 0px;
		font-size: 1.8em;
		line-height: 20px;
	}

	.navbar-inverse .navbar-brand img {
		max-width: 180px;
		height: auto;
		margin-top: 0px;
		margin-left: 0px;
		margin-right: 0px;
	}

	.navbar-toggle {
		position: relative;
		float: left;
		margin-top: 25px;
		text-align: right;
	}

	.navbar-collapse {
		overflow-y: auto;
		max-height: 100vh;
	}

	.navbar-inverse .navbar-nav {
		margin-top: 30px;
	}

	.navbar .tel {
		font-size: 1em;
		line-height: 1;
		text-align: right;
		margin-right: 25px;
		margin-bottom: 40px;
	}
}

.navbar-toggle {
	position: relative;
	text-align: right;
}