@charset "utf-8";
/*============================================================
スマホ、タブレット用CSS
============================================================*/

/* ヘッダー、フッター */
#header {
	max-width: 980px;
	margin: 0px auto;
}
#header .pull-right {
	position: relative;
	height: 60px;
}
#header .pull-right SPAN.gMenu {
	display: none;
}
#header-bar {
	border-bottom: solid 3px #c64233;
	background-color: #F7F7F7;
	width: 100%;
	margin-top: 10px;
}
#nav-drawer {
	position: relative;
}
.nav-unshown {
	display:none;
}
#nav-open {
	display: inline-block;
	width: 30px;
	height: 22px;
	vertical-align: middle;
	margin: 10px 10px 0 0;
}
#nav-open span, #nav-open span:before, #nav-open span:after {
	position: absolute;
	height: 3px;
	width: 25px;
	border-radius: 3px;
	background: #555;
	display: block;
	content: '';
	cursor: pointer;
}
#nav-open span:before {
	bottom: -8px;
}
#nav-open span:after {
	bottom: -16px;
}
#nav-close {
	display: none;
	position: fixed;
	z-index: 99;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: black;
	opacity: 0;
	transition: .3s ease-in-out;
}
#nav-content {
	overflow: auto;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 80%;
	max-width: 300px;
	height: 100%;
	background-color: #e6e3de;
	transition: .3s ease-in-out;
	-webkit-transform: translateX(-105%);
	transform: translateX(-105%);
	padding: 0 10px 10px;
}
#nav-content LI {
	margin: 0 auto;
	padding: 0;
	display: block;
}
#nav-content LI A {
	display: block;
	padding: .5em 10px;
    margin: 10px auto;
	background-color: #fff;
}
#nav-content HR {
	margin: 5px 0;
	border-top: 3px solid #ffffff;
}
#nav-input:checked ~ #nav-close {
	display: block;
	opacity: .5;
}
#nav-input:checked ~ #nav-content {
	-webkit-transform: translateX(0%);
	transform: translateX(0%);
	box-shadow: 6px 0 25px rgba(0,0,0,.15);
}
#header-bar > DIV {
	width: 100%;
	margin: 0 auto;
}
#header-bar .pull-left H1 {
	margin: 10px;
	font-size: 140%; 
}
#header-bar .pull-right {
	display: none;
}
FOOTER {
	padding: 30px 0px;
	margin: 0 10px 40px;
}
.back2Top {
	cursor: pointer;
	position:fixed;
	right: 4px;
	bottom: 14px;
	width: 42px;
	height: 42px;
}
.link-line {
	display: none;
}

/* メインコンテンツ */
#top-contents, 
#support-contents, 
#history-detail, 
#company-name-list, 
#company-name-detail {
	max-width: 980px;
	margin: 0px auto;
}

/* メインコンテンツ - トップページ */
#top-contents H2 {
	margin-top: 30px;
}
#top-contents .companyname-lead {
	clear: both;
	margin: 30px 15px 5px;
}
#top-contents .companyname-published {
	text-align: right;
	margin: 0px 15px 10px;
}
#top-contents .companyname-info {
	margin: 0px 15px;
}
#top-contents .sum {
	width: 100%;
	margin: 10px auto;
	border: 1px solid #ccc;
	box-shadow: 0px 0px 7px #ccc;
	overflow: hidden;
}
#top-contents .sum P {
	float: none;
	width: auto;
	background-color: #84786c;
	color: #ffffff;
	padding: 7px 10px;
	margin: 5px 5px 5px;
	text-align: center;
	line-height: 160%;
}
#top-contents .sum P SPAN {
	font-size:80%;
}
#top-contents .sum TABLE {
	margin: 0 5px 5px;
	padding: 0px;
	border: 1px solid #b5bfb7;
	border-spacing: 0;
	border-collapse : collapse ;
}
#top-contents .sum TABLE TH {
	text-align: center;
	padding: 7px;
	border: 1px solid #b5bfb7;
	vertical-align: middle;
	font-weight: lighter;
}
#top-contents .sum TH:nth-child(1) {
	width: 34%;
}
#top-contents .sum TH:nth-child(2) {
	width: 21%;
}
#top-contents .sum TH:nth-child(3) {
	width: 21%;
}
#top-contents .sum TH:nth-child(4) {
	width: 24%;
}
#top-contents .sum TABLE TH.total {
	color: #ffffff;
	background-color: #84786c;
}
#top-contents .sum TABLE TD {
	padding: 5px;
	border: 1px solid #b5bfb7;
	white-space: normal;
	word-break: break-all;
	vertical-align: middle;
	background-color: #ebeae6;
	text-align: center;
	color: #000000;
}
#top-contents .sum .top-cn-link {
	text-align: right;
	margin-bottom: 10px;
}
#top-contents .sum .top-cn-link A {
	background-image: url(../img/arr_008.png);
	background-repeat: no-repeat;
	background-position: left center;
	padding: 2px 10px 0 15px;
}
#top-contents .category-navi {
	margin: 10px auto 10px auto;
	padding: 0 10px 0 10px;
	border: 1px solid #ccc;
	box-shadow: 0px 0px 7px #ccc;
	border-radius: 5px;
}
#top-contents .category-navi .root-category {
	background-image: url(../img/h4_eiichi01.gif);
	background-repeat: no-repeat;
	background-position: left center;
	font-size: 115%;
	padding: 2px 0 0 15px;
	font-weight: bold;
}
#top-contents .category-navi UL {
	list-style-type: none;
	margin: 0 0 15px 20px;
}
#top-contents .category-navi UL LI {
	display: inline-block;
	background-image: url(../img/arr_eiichi_companyname.gif);
	background-repeat: no-repeat;
	background-position: left center;
	padding: 2px 18px 0 10px;
	margin: 5px 0;
}
#top-contents .category-navi .notes {
	margin: 15px 0 15px 5px;
	line-height: 180%;
}
#top-contents .category-navi .notes SPAN {
	padding: 1px 3px;
	margin: 0 3px;
}
#top-contents .category-navi .notes SPAN.total {
	background-color: #84786c;
	color:#FFF;
}
#top-contents TABLE.history-list {
	width: 97%;
	margin: 10px auto 20px auto;
	border: 1px solid #b5bfb7;
	border-spacing: 0;
	border-collapse: collapse;
	line-height: 150%;
	table-layout: fixed;
}
#top-contents .history-list TH {
	text-align: center;
	padding: 7px 5px 7px 5px;
	background-color: #84786c;
	color: #ffffff;
	vertical-align: middle;
	font-weight: lighter;
	font-size: 90%;
	line-height: 120%;
	height: 58px;
}
#top-contents .history-list TH:nth-child(1) {
	width: 19%;
}
#top-contents .history-list TH:nth-child(2) {
	border-left: 1px solid #ffffff;
	width: 30%;
}
#top-contents .history-list TH:nth-child(3) {
	border-left: 1px solid #ffffff;
	width: 7%;
	background-color: #EE5F00;
}
#top-contents .history-list TH:nth-child(4) {
	border-left: 1px solid #ffffff;
	width: 7%;
	color: black;
	background-color: #F8B500;
}
#top-contents .history-list TH:nth-child(5) {
	border-left: 1px solid #ffffff;
	width: 7%;
	color: black;
	background-color: #04C1F6;
}
#top-contents .history-list TH:nth-child(6) {
	border-left: 1px solid #ffffff;
	width: 5%;
	color: #ffffff;
	background-color: #84786c;
}
#top-contents .history-list TH:nth-child(7) {
	border-left: 1px solid #ffffff;
	width: 18%;
}
#top-contents .history-list TD {
	padding: 5px 5px 5px 5px;
	white-space: normal;
	vertical-align: middle;
	line-height: 160%;
	border-top: 1px solid #ffffff;
}
#top-contents .history-list TBODY TR:nth-child(odd) {
	background-color: #ebeae6;
}
#top-contents .history-list TBODY TR:nth-child(even) {
	background-color: #f3f2f0;
}
#top-contents .history-list TD:nth-child(1) {
	padding: 11px 10px 10px 18px;
	background-image: url(../img/arr_008.png);
	background-repeat: no-repeat;
	background-position: 2% center;
}
#top-contents .history-list TD:nth-child(2) {
	border-left: 1px solid #ffffff;
	font-size: 85%;
}
#top-contents .history-list TD:nth-child(3) {
	border-left: 1px solid #ffffff;
	font-size: 100%;
	text-align: right;
}
#top-contents .history-list TD:nth-child(4) {
	border-left: 1px solid #ffffff;
	text-align: right;
}
#top-contents .history-list TD:nth-child(5) {
	border-left: 1px solid #ffffff;
	text-align: right;
}
#top-contents .history-list TD:nth-child(6) {
	border-left: 1px solid #ffffff;
	text-align: right;
}
#top-contents .history-list TD:nth-child(7) {
	border-left: 1px solid #ffffff;
}
#top-contents .history-list TD:nth-child(7) SPAN {
	display: block;
}
#top-contents .history-list TD:nth-child(7) SPAN A {
	background-image: url(../img/arr_013.png);
	background-repeat: no-repeat;
	background-position: right center;
	padding: 2px 15px 0 0;
	font-size: 82%;
}

.en #top-contents .sum TABLE.top-cn-count {
	table-layout: fixed;
}
.en #top-contents .category {
	margin-bottom: 10px;
}
.en #top-contents .category .sub-category:after {
	content: ';';
	margin-right: 5px;
}
.en #top-contents .category .sub-category:last-child:after {
	content: none;
	margin-right: 0px;
}
.en #top-contents .history-list TH:nth-child(1) {
	width: 19%;
}
.en #top-contents .history-list TH:nth-child(2) {
	border-left: 1px solid #ffffff;
	width: 7%;
	background-color: #EE5F00;
}
.en #top-contents .history-list TH:nth-child(3) {
	border-left: 1px solid #ffffff;
	width: 7%;
	color: black;
	background-color: #F8B500;
}
.en #top-contents .history-list TH:nth-child(4) {
	border-left: 1px solid #ffffff;
	width: 7%;
	color: black;
	background-color: #04C1F6;
}
.en #top-contents .history-list TH:nth-child(5) {
	border-left: 1px solid #ffffff;
	width: 5%;
	color: #ffffff;
	background-color: #84786c;
}
.en #top-contents .history-list TD {
	padding: 5px 5px 5px 5px;
	white-space: normal;
	vertical-align: middle;
	line-height: 160%;
	border-top: 1px solid #ffffff;
}
.en #top-contents .history-list TBODY TR:nth-child(odd) {
	background-color: #ebeae6;
}
.en #top-contents .history-list TBODY TR:nth-child(even) {
	background-color: #f3f2f0;
}
.en #top-contents .history-list TD:nth-child(1) {
	padding: 11px 10px 10px 18px;
	background-image: url(../img/arr_008.png);
	background-repeat: no-repeat;
	background-position: 2% center;
}
.en #top-contents .history-list TD:nth-child(2) {
	border-left: 1px solid #ffffff;
	font-size: 100%;
	text-align: right;
}
.en #top-contents .history-list TD:nth-child(3) {
	border-left: 1px solid #ffffff;
	text-align: right;
}
.en #top-contents .history-list TD:nth-child(4) {
	border-left: 1px solid #ffffff;
	text-align: right;
}
.en #top-contents .history-list TD:nth-child(5) {
	border-left: 1px solid #ffffff;
	text-align: right;
}

/* メインコンテンツ - 変遷図詳細ページ */
#history-detail .description {
	text-indent: 1em;
}
#history-detail #name-change-chart {
	margin: 10px;
	padding: 10px;
	border: 1px solid #cccccc;
}
#history-detail #name-change-chart IMG {
	width: 740px;
	margin: 0px auto;
}
#history-detail #names .comment IMG {
	vertical-align: baseline;
	width: 16px;
    margin-right: 2px;
}
#history-detail #names .cnList {
	background-image: url(../img/arr_eiichi_companyname.gif);
	background-repeat: no-repeat;
	background-position: left center;
	padding: 2px 18px 0 10px;
}

/* メインコンテンツ - 会社名・団体名リストページ */
#company-name-list .company-name-search  {
	background-color: #F7F7F7;
	border: solid 1px #d7d7d7;
	padding-top: 10px;
	margin-bottom: 20px;

}
#company-name-list .company-name-search #basic-search .btn {
	margin-top: 5px;
}
#company-name-list .company-name-search #advanced-search {
	display: inline-block;
	width: 100%;
	margin: 10px 0px 10px;
}

/*
#company-name-list .company-name-search .search-block {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}
#company-name-list .company-name-search .keyword-form {
	width: 47.7477477%;
	padding-right: 15px;
	padding-left: 15px;
}
#company-name-list .company-name-search .button-area {
	width: 47.7477477%;
	padding-right: 15px;
	padding-left: 15px;
}

#company-name-list .company-name-search .form-group {
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
}
#company-name-list .company-name-search .form-control {
	height: 20px;
}
#company-name-list .company-name-search .button-area {
	padding-top: 25px;
}
*/
#company-name-list .company-name-search .btn-primary {
	background-color: #de5a53;
	border-color: #c64233;
}
#company-name-list .pagination > LI > A,
#company-name-list .pagination > LI > SPAN {
	padding: 5px 10px;
}
#company-name-list .query {
	font-size: 110%;
	font-weight: bold;
	margin-bottom: 10px;
}
#company-name-list .paging .pull-left {
	padding-bottom: 10px;
}
#company-name-list #kanaIndex {
	margin-top: 20px;
}
#company-name-list #eiichiRelevanceIndex {
	margin-top: 20px;
}
#company-name-list TH A:after {
    font-family: 'Glyphicons Halflings';
	content: "\e155";
	margin-left: 5px;
	position: absolute;
	opacity: 0.25;
}
#company-name-list TH A.desc:after {
    font-family: 'Glyphicons Halflings';
	content: "\e156";
	margin-left: 5px;
	position: absolute;
	opacity: 1;
}
#company-name-list TH A.asc:after {
    font-family: 'Glyphicons Halflings';
	content: "\e155";
	margin-left: 5px;
	position: absolute;
	opacity: 1;
}
#company-name-list .cnameKana {
	font-size: 85%;
	padding-top: 0px;
	padding-left: 3px;
	color: #666666;
}

#company-name-list .tableCompanyNames {
	table-layout: fixed;
}
#company-name-list .tableCompanyNames TH:nth-child(1) {
	width: 5%;
}
#company-name-list .tableCompanyNames TH:nth-child(2) {
	width: 5%;
}
#company-name-list .tableCompanyNames TH:nth-child(3) {
	width: 50%;
}
#company-name-list .tableCompanyNames TH:nth-child(4) {
	width: 15%;
}
#company-name-list .tableCompanyNames TH:nth-child(5) {
	width: 25%;
}

/* メインコンテンツ - 会社名・団体名詳細ページ */
#company-name-detail .headerCompanyName {
	background-color: #84786c;
	color: #ffffff;
}
#company-name-detail .published {
	text-align: right;
}
#company-name-detail UL.histories {
	margin: 10px 0px 30px;
	padding: 0px 10px;
}
#company-name-detail UL.histories LI {
	font-weight: bold;
	font-size: 100%;
	background-image: url(../img/arr_008.png);
	background-repeat: no-repeat;
	background-position: left center;
	padding: 2px 10px 0 15px;
	margin-right: 20px;
}
#company-name-detail TH {
	background-color: #ebeae6;
}
#company-name-detail TABLE TD SPAN.header {
	font-weight: bold;
}
#company-name-detail TABLE TH,
#company-name-detail TABLE TD {
	display: block;
	overflow: scroll;
}

/* サポートコンテンツ - 変遷図・典拠資料の見方ページ */
#support-contents .contents A {
	text-decoration: underline;
	color: #5353e5;
}
