@CHARSET "UTF-8";

#sidebar table {
	margin-top: 10px;
}

#sidebar .block {
	background: #ffebc7;
	margin: 0 0 20px 0;
	padding: 10px 20px;
	overflow: hidden;
}

#sidebar .content {
	overflow: hidden;
}

#sidebar #block-perspective-1 {
	border: solid 3px #bc3c18;
}

#sidebar #block-perspective-1 h2 {
	border-left: solid 10px #bc3c18;
	padding-left: 10px;
	color: #bc3c18;
}

#sidebar #block-custom-facebook {
    text-align: center;
}

footer {
	text-align: center;
	border-top: solid 5px #783e00;
}



#block-integral-node-113 {
	width: 830px;
	border: solid 1px #783e00;
	margin: 0 auto 20px auto;
	padding: 10px 20px 10px 50px;
	overflow: hidden;
	background: url(../image/banner-title.png) no-repeat left center;
}
#block-integral-node-113 h2 {
	display: none;
}

#block-integral-node-113 li {
	margin: 0 10px 0 0;
	list-style-type: none;
	float: left;
}
#block-integral-node-113 li img {
	max-width: 130px;
	padding: 5px;
	border: 1px dotted #b0906e;
}
#block-integral-node-113 li a:hover {
	opacity: 0.7;
}

#links {
	margin: 0;
	padding: 10px 0;
	border-top: none;
	text-align: center;
}
#links * {
	display: inline;
}

#links h1 {
	background: #783e00;
	color: #ffebc7;
	font-size: .9em;
	padding: .2em 1em;
}

#site-title {
	position: absolute;
	left: 0px;
	top: 5px;
	width: 286px;
	height: 80px;
	background: url(../image/tab_logo.png) left bottom no-repeat;
	text-indent: -9999px;
	z-index: 5;
}
.lang-zh-hans #site-title {
	background-image: url(../image/tab_logo_c.png);
}

@media only screen and (-webkit-min-device-pixel-ratio : 2), only screen and (min-device-pixel-ratio : 2) {
	#site-title {
		background-image: url(../image/tab_logo_2x.png);
		background-size: contain;
	}
	.lang-zh-hans #site-title {
		background-image: url(../image/tab_logo_c_2x.png);
		background-size: contain;
	}
}

#sp-menu-button {
	position: absolute;
	right: 10px;
	top: 20px;
	width: 40px;
	height: 40px;
	font-size: 10px;
	background: #783E00;
	font-weight: bold;
	color: #fff;
	border-radius: 7px;
	text-align: center;
	cursor: pointer;
}

#sp-menu-button:before {
	font-size: 24px;
	content: '\f0c9';
	font-family: fontawesome;
	display: block;
	height: 32px;
	margin-top: -10px;
	line-height: 2;
}


figure {
	border: solid 2px #999;
	overflow: hidden;
	padding: 0;
	margin: 0;
	line-height: 0;
}

img {
	margin: 0;

}

#content .tabs {
	margin: 0;
}

.block {
	padding: 20px 0 0 0;
}

.front #content .block {
	border-top: solid 2px #783e00;
	margin: 0 0 3em 0;
	clear: both;
}

#content .block h2,
.front #block-system-main .item-list h3 {
	font-size: 1.3em;
	color: #783e00;
	margin-top : -1.8em;
	padding: 0 1em 0 0;
	overflow: visible;
	background: #fff;
	float: left;
}

#content .block .content {
	clear: both;
}

#content .block .node h2 {
	width: 99%;
	font-size: 1em;
	margin: 10px 0;
}

#content #block-system-main {
	padding: 0;
	border: none;
}


#block-custom-newtopics h2 {
	margin-left: 1em;
	padding: 0 .5em;
}

#block-custom-newtopics .item-list ul {
	clear: both;
}

#block-custom-newtopics {
	padding: 20px;
	border: solid 2px #783e00;
	border-radius: 7px;
	clear: both;
}

#block-custom-newtopics h2 {
	margin-left: 1em;
	padding: 0 .5em;
}

#block-custom-newtopics .item-list ul {
	clear: both;
}


#block-perspective-3 .content h2 {
	border-bottom: dotted 1px #783e00;
}

#block-perspective-3 .item-list li {
	width: 45%;
	float: left;
}



#menu ul {
	position: relative;
	background: #ffebc7;
	padding: 20px;
	margin: 0 0 -3px 0;
	border: solid 3px #c57118;
}

img.arrow {
	display: block;
	position: relative;
	width: 100px;
	height: 13px;
	z-index: 5;
	margin: 0;
	padding: 0;
	overflow: hidden;
}


#images {
	position: relative;
	margin: 0 0 20px 0;
	padding: 0;
	width: 100%;
	height: 200px;
	list-style-type: none;
	overflow: hidden;
}

#images li {
	position: absolute;
	left: 0;
	top: 0;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
}

#images img {
	width: 100%;
	height: 100%;
}

#image-effect {
	display: none;
}

#header .region-header .block {
	padding: 0;
}

#block-locale-language .content ul {
	text-align: right;
	margin: 10px 0;
}

#block-locale-language .content li {
	display: inline;
	list-style-type: none;
	padding: 0;
	margin: 0 5px;
}

.ui-slider {
	display: inline-block;
	width: 100px;
	margin: 0 10px;
}

#kana {
	font-size: 85%;
	color: #fff;
	background: #0052a5;
	text-decoration: none;
	padding: 2px;
	margin: 0 0 0 5px;
}

#topics {
	border: solid 2px #783e00;
	padding: 0 10px 10px 10px;
}

#topics header {
	margin-left: 1em;
	padding-left: 1em;
}

#announce li {
	font-size: .9em;
	float: left;
}

#information {
	border: solid 2px #bc3c18;
	padding: 10px;
	margin: 0;
}

#information h1 {
	border: none;
	border-left: solid 10px #bc3c18;
	color: #bc3c18;
	font-size: 1em;
	margin-bottom: 5px;
	padding-left: 5px;
}

aside small {
	display: block;
	text-align: center;
}

.rd {
	border-radius: 7px;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	behavior: url(./sources/js/PIE.htc);
}
.alert {
	color: #bc3c18;
}

.cfx:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.cfx {
	display: inline-block;
}
* html .cfx {
	height:1%;
}
.cfx {
	display:block;
}


.hide-text {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.inline-block {
	display: -moz-inline-box;
	display: inline-block;
	*display: inline;
	*zoom: 1;
}

.ui-slider-horizontal {
	height: 5px;
}
.ui-slider .ui-slider-handle {
	width: 15px;
	height: 15px;
}
.ui-slider-horizontal .ui-slider-handle {
	top: -6px;
}

.submitted {
	font-size: 0.8em;
	text-align: right;
}


#block-perspective-5 {
	overflow: hidden;
}

#block-perspective-5 li {
	padding: 0;
	margin: 0 0 10px 20px;
	width: 250px;
	float: left;
}

#block-perspective-4 {
	border-top: dotted 1px #783e00;
	margin: 20px 0 20px 0;
	padding: 20px 0 0 0;
	clear: both;
}

#block-perspective-4 .node-topic {
	border: solid 1px #783e00;
	padding: 1em 1em 1em 90px;
	margin: 0 0 1em 0;
	background: url(../image/icon-topic.png) no-repeat left top;
	border-radius: 7px;
	clear: both;
}
#block-perspective-4 .node-parents {
	margin: 0;
	font-size: 85%;
}

#block-perspective-4 .node-parents li {
	display: inline;

	list-style-type: none;
}

.front #content #block-perspective-3 {
}

#maintenance-info {
	width: 400px;
	margin: 100px auto;
	padding: 20px;
	border: solid 3px #bc3c18;
}

#block-system-main .field-name-field-link,
#block-system-main .field-name-field-file {
	border: dotted 1px #bc3c18;
	margin: 20px;
	padding: 20px;
	border-radius: 5px;
}

#block-system-main .field-name-field-link .field-label,
#block-system-main .field-name-field-file .field-label {
	float: left;
	margin-top: -2em;
	background: #fff;
	padding: .1em .5em;
}

#sidebar .field-item p {
	margin: 0;
}

.field {
	clear: both;
}

.field-type-image {
	display: table;
	text-align: center;
	line-height: center;
	background: #efefef;
	padding: 15px 0 0 0;
}

.field-type-image .field-item {
	display: table-cell;
	vertical-align: middle;
	float: left;
	width: 260px;
	margin: 0 13px 10px 13px;
}

.field-type-link-field .field-items .field-item {
	margin-left: 2px;
	padding-left: 18px;
	background: url(../image/icon-link.png) no-repeat left center;
}

#block-integral-node-181,
#block-integral-node-172,
#block-integral-node-114 {
	background: #ffebc7;
	padding: 10px 0;
	text-align: center;
	position: relative;
}

#block-integral-node-181 h2,
#block-integral-node-172 h2,
#block-integral-node-114 h2 {
	display: none;
}
#block-integral-node-181 .content ul,
#block-integral-node-172 .content ul,
#block-integral-node-114 .content ul {
	margin: 0 auto;
	vertical-align: middle;
}

#block-integral-node-181 .content li,
#block-integral-node-172 .content li,
#block-integral-node-114 .content li {
	list-style-type: none;
	display: inline-block;
	margin: 0 1em;
	vertical-align: middle;
}


#block-integral-node-181 .content li img,
#block-integral-node-172 .content li img,
#block-integral-node-114 .content li img {
	vertical-align: middle;
}

#block-integral-node-114, 
#block-integral-node-172, 
#block-integral-node-181 {
	border-radius: 0;
}

/* ++150821 外国語ブログ欄 */
#block-integral-node-315 h2 {
	margin-bottom: 10px;
}
#block-integral-node-315 .field-item p {
	margin-bottom: .55em;
	margin-left: 2px;
}
#block-integral-node-315 .field-item li {
	width: 45%;
	float: left;
	line-height: 1.8;
}


/** 団体 **/

.node-group .submitted,
.node-group .field-name-field-kana {
	display: none;
}

.item-list .groups-term-tabs {
    margin: 0 0 1em 0;
	padding: 0 0 1em 0;
    border-bottom: dotted 2px #783e00;
}

.node-type-group .item-list .groups-term-tabs {
	border: none;
	padding: 0;
}

.item-list .groups-term-tabs li {
    list-style: none;
    display: inline-block;
    margin: 0 0 .3em 0;
    padding: 0;
}

.groups-term-tabs a {
	display: block;
	padding: .4em 1em;
	background: #ffebc7;
	text-align: center;
    border-radius: .2em;
	text-decoration: none;
}

.groups-term-tabs a:hover,
.groups-term-tabs a.active-tab {
	background: #783e00;
	color: #fff;
}


.groups-node-list .group-purpose {
	font-size: .8em;
	overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.group-detail td:first-child {
    width: 10em;
    font-weight: bold;
    text-align: right;
    background: #783e00;
    color: #fff;
}

@media print and (max-width: 350px), screen and (max-width: 350px) {
	#site-title {
		width: 100%;
		height: 80px;
		background-image: url(../image/sp_logo.png);
		z-index: 0;
	}
	.lang-zh-hans #site-title {
		background-image: url(../image/sp_logo_c.png);
	}

}
@media print and (min-width: 350px) and (max-width: 679px), 
screen and (min-width: 350px) and (max-width: 679px) {

	#header {
		border-bottom: solid 4px #783e00;
	}

	#sp-menu-button {
		width: 50px;
		height: 50px;
		font-size: 12px;
	}
	#sp-menu-button:before {
		font-size: 28px;
		height: 40px;
	}
	#sp-menu-button.open:before {
		content: '\f00d';
	}
}

@media print and (max-width: 679px), screen and (max-width: 679px) {
	
	#block-perspective-2 {
		display: none;
	}
	
	#block-custom-fontsize, 
	#block-locale-language .content ul {
		text-align: center;
	}
	
	#block-locale-language li {
		display: inline;
	}
	
	.sp-menu {
		display: none;
		padding-bottom: 2em;
	}
	
	.open .sp-menu {
		display: block;
	}
	
	#header .region-header {
		position: fixed;
		width: 100%;
		height: 100vh;
		top: 80px;
		background: rgba(120, 62, 0, 0.95);
		z-index: 10;
		color: #fff;
		padding: 1em 0 60px 0;
		overflow:	hidden;
	}

	#header .region-header.open {
		display: block;
	}
	
	.region-header a {
		color: #fff;
	}

	.sp-menu li br {
		display: none;
	}

	.sp-menu li.depth-1 > a {
		font-weight: bold;
	}

	.sp-menu li {
		margin: 0;
		list-style: none;
	}
	.sp-menu a {
		display: inline-block;
		padding: .6em 0;
		width: 100%;
		text-decoration: none;
	}

	.sp-menu .depth-1 > a {
		font-size: 1.2em;
		padding: 0;
	}

	.sp-menu .depth-1 .item-list {
		padding-left: 100px;
		margin-bottom: 1.5em;
	}

	.sp-menu .depth-1 .item-list a {
		padding-left: 1em;
		border-bottom: dotted 1px #ddd;

	}
}

@media print and (min-width: 680px), screen and (min-width: 680px) {
	
	.sp-menu {
		display: none;
	}
	
	#header {
		border-bottom: 4px solid #783e00;
	}

	#images li {
		width: 50%;
	}
	#images li.odd {
		left: 0px;
		right: auto;
	}
	#images li.even {
		right: 0px;
		left: auto;
	}

	#image-effect {
		display: block;
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 200px;
		margin: 0;
		padding: 0;
		background: url(../image/image-fade.png) no-repeat center;
	}

	#sp-meun, #sp-menu-button {
		display: none;
	}


	#featured #block-perspective-2 {
		border: none;
		margin: 0;
		padding: 0;
	}

	#block-perspective-2 ul {
		margin: 0;
		padding: 0;
	}

	#block-perspective-2 li.depth-1 {
		list-style-type: none;
		float: left;
		position: relative;
		z-index: 15;
		display: block;
		width: 33.3333%;
		height: 80px;
		margin: 0;
		padding: 0;
		font-size: 16px;
		font-weight: bold;
		text-decoration: none;
	}

	#block-perspective-2 li.depth-1,first {
		padding: 0 6px 0 0;
	}

	#block-perspective-2 li.depth-1 {
		padding: 0 3px;
	}

	#block-perspective-2 li.depth-1.last {
		padding: 0 0 0 6px;
	}



	#block-perspective-2 li.depth-1 > a {
		text-decoration: none;
		display: block;
		width: 100%;
		height: 100%;
		padding: 14px 0 10px 60px;
		margin: 0;
		border: solid 3px #783e00;
		border-radius: 7px;
		background: #fff2db;
		background: -moz-linear-gradient(top, #fff2db 0%, #ffeac8 100%);
		background: -webkit-linear-gradient(top, #fff2db 0%,#ffeac8 100%);
		background: linear-gradient(to bottom, #fff2db 0%,#ffeac8 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff2db', endColorstr='#ffeac8',GradientType=0 );
		background-position: left top;
	}

	.lang-en #block-perspective-2 li.depth-1 > a {
		letter-spacing: 0px;
		line-height: 1;
		padding: 5px 0 5px 60px;
		font-size: 14px;
	}

	.lang-en #block-perspective-2 li.first a {
		padding: 15px 0 15px 60px;
	}
	.lang-en #block-perspective-2 li.last a {
		padding: 30px 0 25px 60px;
	}

	.lang-en #block-perspective-2 li.depth-1 li a,
	.lang-en #block-perspective-2 li.first li a,
	.lang-en #block-perspective-2 li.last li a {
		padding: 0;
	}
	.lang-en #block-perspective-2 li.depth-1 > a:before {
		font-size: 3.2em;
		top: 20px;
	}
	.lang-en #block-perspective-2 li.depth-1:first-child > a:before {
		top: 30px;
	}
	.lang-en #block-perspective-2 li.depth-1:last-child > a:before {
		top: 30px;
		font-size: 3em;
	}

	#block-perspective-2 li.popup-active a {
		background-position: left bottom;
		border-color: #c57118;
	}

	#block-perspective-2 li.depth-1 .item-list {
		display: none;
		position: absolute;
		list-style-type: disc;
		width: 400px;
		z-index: 10;
		padding: 10px 0;
	}

	#block-perspective-2 li.depth-1 .item-list:before {
		content: '';
		position: absolute;
		border: 9px solid transparent;
	}
	#block-perspective-2 li.depth-1 .item-list.popup-left-top:before {
		border-top: solid 10px #C57118;
		left: 20px;
		bottom: -9px;
	}
	#block-perspective-2 li.depth-1 .item-list.popup-left-bottom:before {
		border-bottom: solid 10px #c57118;
		left: 20px;
		top: -9px;
	}
	#block-perspective-2 li.depth-1 .item-list.popup-right-top:before {
		border-top: solid 10px #c57118;
		right: 20px;
		bottom: -9px;
	}
	#block-perspective-2 li.depth-1 .item-list.popup-right-bottom:before {
		border-bottom: solid 10px #c57118;
		right: 20px;
		top: -9px;
	}
	#block-perspective-2 li.depth-1 .item-list:after {
		content: '';
		position: absolute;
		border: 9px solid transparent;
	}
	#block-perspective-2 li.depth-1 .item-list.popup-left-top:after {
		border-top: solid 10px #ffebc7;
		left: 20px;
		bottom: -5px;
	}
	#block-perspective-2 li.depth-1 .item-list.popup-left-bottom:after {
		border-bottom: solid 10px #ffebc7;
		left: 20px;
		top: -5px;
	}
	#block-perspective-2 li.depth-1 .item-list.popup-right-top:after {
		border-top: solid 10px #ffebc7;
		right: 20px;
		bottom: -5px;
	}
	#block-perspective-2 li.depth-1 .item-list.popup-right-bottom:after {
		border-bottom: solid 10px #ffebc7;
		right: 20px;
		top: -5px;
	}

	#block-perspective-2 li.depth-1 .item-list:after {

	}

	#block-perspective-2 li.popup-active .item-list {
		display: block;
	}

	#block-perspective-2 li.depth-1 .bottom {
		padding: 10px 0 0 0;
		background: url(../image/icon-arrow-u.png) no-repeat left top;
	}

	#block-perspective-2 li.depth-1 ul {
		border: solid 3px #c57118;
		color: #c57118;
		background: #ffebc7;
		border-radius: 7px;
		padding: 20px;
		font-size: .9em;
	}

	#block-perspective-2 li.popup-active .item-list  {
		display: block;
	}

	#block-perspective-2 li.depth-1 > a:before {
		content: '';
		font-family: 'FontAwesome';
		position: absolute;
		left: 0;
		top: 0;
		width: 60px;
		text-align: center;
		bottom: 0;
		margin: auto;
	}

	#block-perspective-2 li.depth-1.first > a:before {
		content: '\f0eb';
		font-size: 3em;
		height: 80px;
		left: 5px;
	}

	#block-perspective-2 li.depth-1 > a:before {
		content: '\f007';
		font-size: 2.5em;
		height: 70px;
		left: 5px;
	}

	#block-perspective-2 li.depth-1.last > a:before {
		content: '\f08a';
		font-size: 2.5em;
		height: 70px;
		left: 7px;
	}

	#block-perspective-2 ul.depth-1 li li,
	#block-perspective-2 ul.depth-1 li li.first,
	#block-perspective-2 ul.depth-1 li li.last {
		background: transparent;
	}

	#block-perspective-2 rt {
		letter-spacing: -1.5px;
	}

}

@media print and (min-width: 960px), screen and (min-width: 960px) {

	#header {
		border-bottom: solid 5px #783e00;
	}

	#site-title {
		width: 490px;
		height: 84px;
		background-image: url(../image/logo.png);
		top: 1px;
	}
	.lang-zh-hans #site-title {
		background-image: url(../image/logo_c.png);
	}

	@media only screen and (-webkit-min-device-pixel-ratio : 2), only screen and (min-device-pixel-ratio : 2) {
		#site-title {
			background-image: url(../image/logo_2x.png);
			background-size: contain;
		}
		.lang-zh-hans #site-title {
			background-image: url(../image/logo_c_2x.png);
			background-size: contain;
		}
	}
}