/*
Theme Name: kitanakagusuku-rouren
Author: Mitsunori Tsuhako
Description:  okirouren Child Theme
Template: okirouren
Version:1.0
*/

@import url('../okirouren/style.css');


/************************* ヘッダーエリア *************************/

.header-home { /* 沖老連ホームへ戻るボタン */
	float: left;
	margin: 21px 0 0 10px;
}
@media only screen and (max-width:400px) {
	.header-home {
		float: right;
		margin: 0 5px 0 0;
	} 
}

.header-home a {
	font-size: 0.85em;
	width: 9em;
	font-weight: bold;
	padding: 0.3em 0.92em 0.35em 0.5em;
	margin: 0;
	border-radius: 10px;
	box-shadow: inset -2px -2px 2px #5b1214;
	background-color: #cd363a;
	text-decoration: none;
	color: #ffffff;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 1);
}
.header-home a:hover {
	background-color: #fc1a02;
}
.genericon-home { font-size: 1.4em; color: #ffffff; text-shadow: 0 1px 1px rgba(0, 0, 0, 1); }


/************************* 地区老連タイトル ************************/

.rouren-title-area {
	clear: both;
	width: 100%;
	border-bottom: 1px solid #cc6600;
	background: #ffcc00;
	margin: 30px 0 0 0;
}
@media only screen and (max-width: 1024px) {
	.rouren-title-area { padding: 0 10px; }
}
.rouren-title {
	width: 100%;
	max-width: 1050px;
	padding: 10px 0;
	margin: 0 auto;
}
.rouren-title-name {
	font-size: 2em;
	font-weight: bold;
    	color: #660000;
	width: 50%;
	float: left;
}
@media only screen and (max-width: 1024px) {
	.rouren-title-name { font-size: 1.6em; }
}
@media only screen and (max-width: 736px) {
	.rouren-title-name {
		font-size: 1.3em;
		width: 100%;
	}
}
.rouren-title-address {
	font-size: 1em;
	color: #330000;
	width: 50%;
	float: left;
}
@media only screen and (max-width: 736px) {
	.rouren-title-address { width: 100%; }
}

.rouren-title-address dt,
.rouren-title-address dd {
	float: left;
}

.rouren-title-address dt {
	font-size: 0.8em;
	font-weight: bold;
	color: #aa0000;
}
.ttl-tel,
.ttl-fax,
.ttl-mail {
	clear: left;
}

/************************* global menu グローバルメニュー *************************/

.gmenu {
	width: 100%;
	background-color: #e07000;
}
#menu-global-menu {
	margin: 0 auto;
}
#menu-global-menu li {
	width: 25%;
}
@media only screen and (max-width: 1024px) {
	#menu-global-menu li {
		width: 50%;
	}
}
@media only screen and (max-width: 400px) {
	#menu-global-menu li {
		width: 100%;
	}
}


/* 住所非表示処理 */
dl.rouren-title-address dt.ttl-address,
dl.rouren-title-address dt.ttl-address + dd {
    display: none;
	display: none;
}
.address-hidden {
	display: none;
}

/************************* フッター *************************/

.menu-footer-menu01-container,
.menu-footer-menu02-container {
	width: 50%;
	float: left;
}
@media only screen and (max-width:400px) { /* スマホ・タブレット対応 */
	.menu-footer-menu01-container,
	.menu-footer-menu02-container {
		width: 100%;
	}
}

/*.iframe-pdf-small */
.iframe-pdf-s {
  width: 100%;
  height: 250px;
}
/*.iframe-pdf-medium */
.iframe-pdf-m {
  	width: 100%;
  	height: 300px;
	margin: 0 auto 20px;
	border: 1px solid #aaa;
}
@media screen and (min-width: 800px) {
  .iframe-pdf-s { height: 500px; }
  .iframe-pdf-m { height: 800px; }
}