@charset "utf-8";

/*背景色・ページ余白・フォントファミリーを設定*/
body {
    /*背景色をBASEカラーにする*/
    /*薄いグレー*/
    /*background-color: #FBF0EC;*/
	/*濃いオレンジ*/
    /*background-color: #EE7D50;*/
    /*文字関連*/
	/*追加候補, "游ゴシック Light"*/
    font-family: Arial, Helvetica, sans-serif;
    /*文字色濃いグレー*/
    color: #333333;
}
/*段落*/
h2 {
	font-size: 24px;
	margin: 0px;
	padding: 0px;
}
h3,h4,h5,h6,p {
	font-size:16px;
	margin:0px;
	padding:0px;
}

/*画像への回り込み設定*/
.imgL {
	float:left;
	margin-right: 8px;
}

/*画像への回り込み解除*/
.clear {
	clear: both;
}

#back_ground {
    width: 1124px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    background-image: url(../images/bg_container.png);
    background-repeat: no-repeat;
}

/*制作中のページの要素全体を設定*/
/*例えば、背景色・表示位置*/
#container {
	height: 2600px;
	/*枠線 濃いオレンジ*/
	/*border:2px solid #EE7D50;*/
    width: 1024px;
    margin-right: 50px;
    margin-bottom: auto;
    margin-left: 50px;
    position: relative;
    top: 50px;
    background:rgba(255,255,255,0.9);
}

/*中見出し*/
#container h2 {
    clear: both;
    padding: 2px;
	margin-top:8px;
    margin-left: 8px;
	margin-right: 8px;
	margin-bottom:2px;
	
	/*色関連*/
    border-top: 1px solid #68666C;
    border-bottom: 1px solid #68666C;
	/*ACCENT濃い目のグレー*/
    border-left: 8px solid #68666C;
	/*青系のグレー*/
    background-color: #D2DDDE;
}
/*小見出し*/
#container h3 {
	font-size:18px;
	margin-top:8px;
	margin-bottom: 4px;
	margin-left: 24px;
}
/*段落*/
#container p {
	width:600px;
	/*上余白*/
	margin-top:8px;
	
	line-height: 1.5em;
	margin-bottom: 8px;
	margin-left:40px;
	margin-right:8px;
}

#container #RT_logo img {
    margin-top: 8px;
    margin-left: 8px;
	margin-bottom:8px;
    float: left;
}

/*パンくずリスト*/
#breadcrumb {
	clear:both;
    font-size: smaller;
    margin-top: 16px;
    /*margin-bottom: 7px;*/
    margin-left: 16px;
}
#breadcrumb ol li{
	display:inline;
}
/*テキストの右側に階層を示す>をつける*/
#bramdcrumb ol li:after {
    content: ">";
    padding-left: 7px;
}
/*最後の項目の>を消す*/
#breadcrumb ol li:last-child:after {
	content: none;
}
/*問い合わせとかの領域*/
#contact_navi {
	width:378px;
    /*高さがなくなる現象の防止*/
    overflow: hidden;
	margin-top: 20px;
    margin-right: 8px;
    /*margin-bottom: 4px;*/
	padding: 0px;
    overflow: auto;
    /* clear: none;*/
    font-size: 0px;
    float: right;
    position: relative;

}

/*問い合わせとかの文字部分*/
#contact_navi ul li {
	width: 116px;
    margin-right: 2px;
    text-align: center;
    font-size: 18px;
    /*横並びにする*/
	/*display: inline-block;*/
	float:left;
    padding-top: 8px;
    padding-bottom: 8px;
	/*ACCENT青系のグレー*/
    background-color: #D2DDDE;
}
#contact_navi ul li a:hover {
    color: #FF0000;
    text-decoration: underline;
    font-weight: bold;
}
/*HOMEとかが並んでる部分の領域*/
#global_navi {
	/*暫定非表示*/
	display:none;
	width:1008px;
	clear: both;
    /*高さがなくなる現象の防止*/
    overflow: hidden;
	/*適度な幅*/
    margin-left: 8px;
    margin-right: 8px;
    /*margin-top: 8px;*/
}

/*ナビの文字領域に関する設定*/
#global_navi ul li {
	
	/*文字ボックスの幅*/
	width: 116px;
    margin-right: 2px;
	/*BASE(70%)のグレー*/
    background-color: #D2DDDE;
	font-size: 18px;
    /*display: inline-block;*/
	float:left;
	/*文字上下の余白*/
    padding-top: 8px;
    padding-bottom: 8px;
    text-align: center;    
}

/*グローバルナビのリストの行頭文字を消す*/
#global_navi ul {
	list-style:none;
	margin:0px;
	padding:0px;
}

#footer {
	text-align: right;
	margin: 0px;
	padding: 0px;
	border-top: 2px solid #68666c;
	clear: both;
}

/*global_naviのリンクをポイントしたときに色を変える*/
#global_navi ul li a:hover {
    color: #FF0000;
    text-decoration: underline;
    font-weight: bold;
}

#btn_linecolor {
    border-bottom: 1px solid #68666C;
	/*ACCENT濃い目のグレー*/
    border-left: 8px solid #68666C;
	border-top-style: none;
    border-right-style: none;
}


/*会社情報*/
/*文字関連*/

#about_office #identification img {
	width: 50%;
	height: auto;
}

/*BOX関連*/
#about_office {
	display: flex;
	/*background-color:#FFFFFF;*/
	/*width: 500px;*/
    margin: 16px;
}
#about_office #identification {
	margin-right: 8px;
}

#about_office #identification p {
	width: 450px;
	font-size: 18px;
	padding: 0px;
	margin-top: 4px;
	margin-right: 0px;
	margin-left: 28px;
	margin-bottom: 0px;
	text-align: justify;
	text-decoration: none;
}

/*フッターナビの設定*/
/*子要素が2列になるようにする*/
#foot_navi {
	clear:both;
    display: flex;
	/*子要素を中央揃えにする*/
    justify-content: center;
    margin-left: 2px;
    border-top: 2px solid #68666c;
	margin-top: 4px;
	margin-bottom: 4px;
}

/*左子要素の幅を固定する*/
.menu-left {
	flex:1 1 auto;
	margin-left:4px;
	margin-right: 8px;
	font-size: 16px;
}
.menu-center, .menu-right {
	/*暫定非表示*/
	display:none;
	flex:0 0 200px;
	margin-left: 4px;
	margin-right: 4px;
	margin-top:4px;
	font-size: 16px;
}

#foot_navi ul li a:hover {
	color: #FF0000;
	text-decoration: underline;
	font-weight: bold;
}
/******************************************/
/********以降スマホ画面用の設定を記述***********/
/******************************************/
/*スマホ幅のときに電話発信*/
@media (min-width: 766px)
{ a[href*="tel:"] 
	{ 
		pointer-events: none;
		cursor: default;
		text-decoration: none;
	} 
}
@media screen and (max-width:767px) {
	
	#container {
		height: 2800px;
	}
	/*ホームなどがあるナビを2列にする*/
	.menu-center,.margin-right {
		float: left;
		flex:0 0 250px;
		margin-left:16px;
		margin-right:96px;
	}
	/*画像幅の調整し要素の幅を100％にする*/
	img { 
		max-width:100%;
		height:auto;
	}
	/*各要素の幅を100％にする*/	#back_ground,#container,#contact_navi,#global_navi,#foot_navi #about_office {
		width:100%;
	}
	
	#about_office {
		display:block;		
	}
	#about_office #office_map {
		width: 50%;
	}
	#about_office #identification {
		position:static;
		max-width:100%;
		height:auto;
		padding:0.5%;
	}
	/*左子要素を縦並びにする*/
	#foot_navi {
		display:block;
	}
	
	#about_office img,#RT_logo {
		width:75%;
		height:auto;
		margin-right:auto;
		margin-left:auto;
	}
	
	/*お問合せとかを非表示*/
	/*横幅の中央にくるようにして、適当なマージンを設定せよ*/
	#contact_navi {
		width:90%;
		margin: 4px;
		display:none;
	}
	
	#container {
		background-color:#FFFFFF;
		margin:0px;
		position: static;
	}
	#container h1,h2,h3,h4,h5,h6 {
		font-size:16px;
	}
	#container p {
		width: auto;
		margin-right:24px;
		font-size:12px;
	}
	/*グローバルナビを2列の縦並びにする*/
	#global_navi ul li {
		width: 49%;
		padding: 0.5px;
		margin: 0px;
		box-sizing: border-box;
		font-size: 16px;
	}
	#global_navi ul li a {
		margin:0px;
	}
	#about_office #office_map iframe {
		width:325px;
		margin:auto;
	}
	#about_office #identification p {
		width: auto;
		margin-left: 8px;
	}
}
