@charset "UTF-8";

/*基本構造
----------------------------------------------------*/
*	{
	margin: 0;
	padding: 0;
	font-size: 12px;
	line-height: 18px;
	color: #323232;
}

body	{
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	background-image:url(../img/bg.gif);
	background-position:top center;
	background-repeat:repeat-x;
	background-color:#860000;
	background-size:auto 654px;
	text-align: center;
	padding-bottom: 20px;
}

a:link,a:visited	{
	text-decoration: none;
}
a:hover	{
	text-decoration: none;
}

img	{
	border: none;
}

#index td#contents	{
	vertical-align: bottom;
	padding-bottom: 40px;
}

#wrapper	{
	width: 690px;
	margin:0 auto;
}
.cont {
	width:100%;
}
.logo	{
	width:298px;
	float:left;
}

.main {
	width:392px;
	float:right;
}
.flag {
	width:98px;
	margin-top:291px;
}

.nav {
	margin-top: 110px;
}
.nav ul {
	width:100%;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}
.nav li {
	position:relative;
	width:25%;
	padding-top:14px;
}
.nav li a {
	display:inline-block;
	width:100%;
	color:#fff;
	font-size:10px;
	font-size:1rem;/* =10px */
	line-height:12px;
	line-height:1.2rem;/* =12px */
	font-weight:normal;
	letter-spacing:0.2em;
	border-right:1px solid #fff;
}
.nav li:last-child a {
	border-right:none;
}
.nav li a:hover:before {
	content:"▼";
	color:#fff;
	position:absolute;
	top:0;
	left:20%;
}
.nav li:nth-child(3) a:hover:before {
	left:28%;
}
.nav li:nth-child(4) a:hover:before {
	left:30%;
}

.info {
	min-height:473px;
	text-align:left;
}

.sp {
	display:none;
}

@media screen and ( max-width:414px ) {
	body	{
		background-size:auto 89%;
	}
	
	#wrapper {
		width:100%;
		margin:0 auto;
	}
	.logo {
		width:50%;
		margin:0 auto;
		float: none;
	}
	.main {
		width:90%;
		margin:0 auto;
		float: none;
	}
	.flag {
		width:20%;
		margin:8% auto 0 auto;
	}
	
	.nav {
		margin-top: 60px;
	}
	.nav ul {
		width:50%;
		margin:0 auto;
		display: -webkit-block;
		display: block;
	}
	.nav li {
		position:relative;
		width:100%;
		padding-top:14px;
	}
	.nav li a {
		display:inline-block;
		width:100%;
		color:#fff;
		font-size:16px;
		font-size:1.6rem;/* =16px */
		line-height:24px;
		line-height:2.4rem;/* =24px */
		font-weight:normal;
		letter-spacing:0.2em;
		border-right:none;
		border-bottom:1px solid #fff;
	}
	.nav li:last-child a {
		border-right:none;
	}
	.nav li a:hover:before {
		content:"▼";
		color:#fff;
		position:absolute;
		top:0;
		left:20%;
	}
	.nav li:nth-child(3) a:hover:before {
		left:28%;
	}
	.nav li:nth-child(4) a:hover:before {
		left:30%;
	}

	.info {
		min-height: inherit;
	}
	
	.pc {
		display:none;
	}
	.sp {
		display:block;
	}
}

@media screen and ( max-width:320px ) {
	/* iPhone5以前 */
	body	{
		background-size:auto 106%;
	}
}


/*プロフィール
----------------------------------------------------*/
#profile .flag {
	display:none;
}

#profile .info h2 {
	font-size:12px;
	font-size:1.2rem;/* =12px */
	line-height:16px;
	line-height:1.6rem;/* =16px */
	font-weight:normal;
	margin:90px 0 10px 0;
}
#profile .info h3 {
	font-size:12px;
	font-size:1.2rem;/* =12px */
	line-height:16px;
	line-height:1.6rem;/* =16px */
	font-weight:normal;
	margin:10px 0;
}
#profile .info th {
	width:22%;
}
#profile .info th,
#profile .info td {
	font-size: 12px;
	line-height: 18px;
	font-weight:normal;
	text-align:left;
	vertical-align:top;
	color: #323232;
}
#profile .info p {
	padding-left: 1em;
	text-indent: -1em;
}

#profile .nav {
	margin-top: 20px;
}

@media screen and ( max-width:414px ) {
	#profile .flag {
		display:block;
		width:20%;
		margin:7.9% auto 0 auto;
	}
	
	#profile .info h2 {
		color:#fff;
		font-size:16px;
		font-size:1.6rem;/* =16px */
		line-height:24px;
		line-height:2.4rem;/* =24px */
		font-weight:normal;
		margin:40px 0 10px 0;
	}
	#profile .info h3 {
		color:#fff;
		font-size:16px;
		font-size:1.6rem;/* =16px */
		line-height:24px;
		line-height:2.4rem;/* =24px */
		font-weight:normal;
		margin:10px 0;
	}
	#profile .info th {
		width:26%;
	}
	#profile .info th,
	#profile .info td,
	#profile .info p {
		color:#fff;
	}
	
	#profile .nav {
		margin-top: 40px;
	}
}


/*サンプル
----------------------------------------------------*/
#sample .flag {
	display:none;
}

#sample .info h2 {
	color:#999;
	font-size:12px;
	font-size:1.2rem;/* =12px */
	line-height:16px;
	line-height:1.6rem;/* =16px */
	font-weight:bold;
	margin:90px 0 10px 0;
}

.sample a {
	display:inline-block;
	width:98%;
	margin-bottom: 10px;
	padding: 5px 1%;
	border: 1px solid #c0c0c0;
	background: #fff;
}
.sample a ul {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	font-size:12px;
	font-size:1.2rem;/* =12px */
	line-height:16px;
	line-height:1.6rem;/* =16px */
	font-weight:normal;
}
.sample a li:first-child {
	width:30%;
}
.sample a li:last-child {
	width:66%;
}

#sample .nav {
	margin-top: 20px;
}

@media screen and ( max-width:414px ) {
	#sample .flag {
		display:block;
		width:20%;
		margin:7.9% auto 0 auto;
	}
	
	#sample .info h2 {
		color:#fff;
		font-size:16px;
		font-size:1.6rem;/* =16px */
		line-height:24px;
		line-height:2.4rem;/* =24px */
		font-weight:normal;
		margin:40px 0 10px 0;
	}
}


/*スタッフ
----------------------------------------------------*/
#staff .info h2 {
	color:#999;
	font-size:12px;
	font-size:1.2rem;/* =12px */
	line-height:16px;
	line-height:1.6rem;/* =16px */
	font-weight:bold;
	margin:90px 0 10px 0;
}

.staff {
	width:98%;
	min-height:80px;
	margin-bottom: 10px;
	padding: 5px 1%;
	border: 1px solid #c0c0c0;
	background: #fff;
}

.staff ul {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	font-size:12px;
	font-size:1.2rem;/* =12px */
	line-height:16px;
	line-height:1.6rem;/* =16px */
	font-weight:normal;
}
.staff li:first-child {
	width:30%;
}
.staff li:last-child {
	width:66%;
}

#staff .nav {
	margin-top: 20px;
}

@media screen and ( max-width:414px ) {
	#staff .info h2 {
		margin:60px 0 10px 0;
	}
}
