@charset "utf-8";

/* --- Ver 0.0 --- */

html,body.bg-tlred{
	height: 100%;
}

.bg-tlred{
	background-color: #c81808
}

.w100pc_box{
	position: relative;
	height: 100%;
	width: 100%;
}

.box{
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform : translate(-50%,-50%);
	transform : translate(-50%,-50%);
}

@media screen and (max-width:800px){

	#logo{
		width: 100%;
	}

}

/* --- Ver 1.0 --- */

body {
    font-family: ArialMT, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", メイリオ, sans-serif;
    font-size: 16px;
    line-height: 1;
    background-color: #F0F0F0;
}

b {
    font-weight: 600;
}

#wrapper{
	width: 1200px;
	height: auto;
	margin: 0 auto;
	background-color: #FFFFFF;
	border: solid 1px #000000;/*後で消す*/
}

a:hover{
	background-color: #F0F0F0;
}

@media screen and (max-width:800px){

	#wrapper{
		width: 100%;
		height: auto;
		margin: 0 auto;
		background-color: #FFFFFF;
		border: solid 1px #000000;/*後で消す*/

	}

}

#h-box{
    box-sizing: border-box;
	width: 100%;
	height: 30px;
	text-align: right;
	padding-top: 8px;
}

#h-nav{
	font-size: 12px;
	color: #434343;
}

#h-nav_blog{
}

#h1-box{
	position: relative;
	width: 100%;
	height: 300px;
	background-color: #c81808;
}

#h1-logo{
	width: 35%;
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform : translate(-50%,-50%);
	transform : translate(-50%,-50%);
}

#main-box{
	text-align: center;
	width: 100%;
	height: auto;
	background-color: #FFFFFF;
}

.main-nav {
	width: 1006px;
	margin: 0 auto;
}

.main-nav_item {
    box-sizing: border-box;
	width: 250px;
	height: 30px;
	background-color: #a0a0a0;
	padding-top: 7px;
	font-size: 18px;
	text-align: center;
	color: #FFFFFF;
	float: left;
	transition: all 0.2s ease;
}

.main-nav_item:hover {
	opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="main-nav_item"] {
	display: none;
}

/*タブ切り替えの中身のスタイル*/
.main-nav_content {
	display: none;
    box-sizing: border-box;
	width: 1006px;
	height: 300px;
	border: 2px solid #c81808;
	background-color: #FFFFFF;
	color: 434343;
	text-align: left;
	line-height: 1.5;
	padding: 60px;
	clear: both;
	overflow: hidden;
}

#writing_content {
	height: 380px;
}

/*選択されているタブのコンテンツのみを表示*/
#tl:checked ~ #tl_content,
#web:checked ~ #web_content,
#dtp:checked ~ #dtp_content,
#writing:checked ~ #writing_content {
	display: block;
}

/*選択されているタブのスタイルを変える*/
.main-nav input:checked + .main-nav_item {
	background-color: #c81808;
}

#writing_content_text{
	float: left;
	width: 45%;
}

#writing_content_twitter{
	float: right;
	width: 50%;
	margin-top: -60px
}

@media screen and (max-width:800px){

	#h1-box{
		position: relative;
		width: 100%;
		height: 150px;
		background-color: #c81808;
	}

	.main-nav {
		width: 90%;
		margin: 0 auto;
	}

	.main-nav_item {
	    box-sizing: border-box;
		width: 100%;
		height: 30px;
		margin-left: 0px;
		background-color: #a0a0a0;
		padding-top: 7px;
		font-size: 18px;
		text-align: center;
		color: #FFFFFF;
		float: both;
		transition: all 0.2s ease;
	}

	/*タブ切り替えの中身のスタイル*/
	.main-nav_content {
		display: none;
	    box-sizing: border-box;
		width: 100%;
		height: 520px;
		border: 2px solid #c81808;
		background-color: #FFFFFF;
		color: 434343;
		text-align: left;
		line-height: 1.5;
		padding: 30px;
		clear: both;
		overflow: hidden;
	}

	#writing_content {
		height: 600px;
	}

	#writing_content_text{
		float: none;
		width: 100%;
	}

	#writing_content_twitter{
		float: none;
		width: 100%;
		margin-top: 20px;
	}

}

#prof-box{
	box-sizing: border-box;
	text-align: center;
	width: 100%;
	height: auto;
	background-color: #FFFFFF;
}

#prof-area{
	width: 1006px;
	height: 300px;
	margin: 0 auto;
	padding-top: 20px;
	background-color: #c9c9c9;
}

#prof-title_box{
	width: 1006px;
	height: 30px;
	margin: 0 auto;
}

#prof-title_bar{
	float: left;
	width: 5px;
	height: 30px;
	background-color: #434343;
}

#prof-title_text{
	box-sizing: border-box;
	float: left;
	width: 295px;
	height: 30px;
	padding-top: 7px;
	padding-left: 5px;
	font-size: 18px;
	text-align: left;
	color: #434343;
	background-color: #FFFFFF;
}

#prof-title_text02{
	box-sizing: border-box;
	float: left;
	width: 666px;
	height: 30px;
	padding-top: 7px;
	padding-left: 40px;
	font-size: 18px;
	text-align: left;
	color: #434343;
}

#prof-detail_box{
	box-sizing: border-box;
	padding-top: 35px;
	padding-bottom: 35px;
	width: 1006px;
	height: 180px;
	margin: 0 auto;
}

#prof-detail_image{
	box-sizing: border-box;
	float: left;
	margin-left: 40px;
	width: 260px;
	height: 180px;
	background-color: #FFFFFF;
}

#prof-detail_text{
	box-sizing: border-box;
	float: left;
	margin-top: -5px;
	margin-left: 40px;
	margin-right: 30px; 
	width: 636px;
	height: 180px;
	font-size: 12px;
	text-align: left;
	line-height: 1.98;
	color: #434343;
}

#f-box{
    box-sizing: border-box;
	width: 100%;
	height: 30px;
	text-align: center;
	padding-top: 10px;
	background-color: #434343;
}

#f-text{
	font-size: 12px;
	color: #FFFFFF;
}

@media screen and (max-width:800px){

#prof-area{
	width: 100%;
	height: 630px;
	margin: 0 auto;
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: #c9c9c9;
}

#prof-title_box{
	width: 100%;
	height: auto;
	margin: 0 auto;
}

#prof-title_bar{
	float: left;
	width: 5px;
	height: 30px;
	background-color: #434343;
}

#prof-title_text{
	box-sizing: border-box;
	float: left;
	width: 80%;
	height: 30px;
	padding-top: 7px;
	padding-left: 5px;
	font-size: 18px;
	text-align: left;
	color: #434343;
	background-color: #FFFFFF;
}

#prof-title_text02{
	box-sizing: border-box;
	float: right;
	width: 100%;
	height: 30px;
	padding-top: 20px;
	padding-right: 0px;
	padding-left: 0px;
	font-size: 18px;
	text-align: center;
	color: #434343;
}

#prof-detail_box{
	text-align: center;
	box-sizing: border-box;
	padding-top: 20px;
	padding-bottom: 35px;
	width: 100%;
	height: auto;
	margin: 0 auto;
}

#prof-detail_image{
	box-sizing: border-box;
	float: none;
	margin: 0 auto;
	width: 260px;
	height: 180px;
	background-color: #FFFFFF;
}

#prof-detail_text{
	box-sizing: border-box;
	float: none;
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px; 
	padding-top: 20px;
	padding-left: 30px;
	padding-right: 30px;
	width: 100%;
	height: auto;
	font-size: 12px;
	text-align: left;
	line-height: 1.98;
	color: #434343;
}

#f-box{
    box-sizing: border-box;
	width: 100%;
	height: 30px;
	text-align: center;
	padding-top: 10px;
	background-color: #434343;
}

#f-text{
	font-size: 12px;
	color: #FFFFFF;
}

}