@charset "utf-8";

/* common style */

/* neotune */
.header_image.neotune .image {
	background: url(../images/neotune/img-header.jpg);
	-webkit-background-size: cover;
	background-size: cover;
	background-position: center;
}

/* Team */
#page-team .kv-block {
	text-align: center;
}
#page-team .kv-block img {
	max-width: 700px;
	width: auto;
	width: 700px;
}
#page-team .black-box {
	display: block;
    background: rgba(0,0,0,0.75);
    width: 70%;
    /*position: absolute;*/
    z-index: 1;
    padding: 1.5em;
    text-align: left;
    color: #fff;
    letter-spacing: .1em;
    line-height: 1.5;
    font-size: 1.125rem;
    font-weight:400;
}
#page-team .black-box.right {

}
#page-team .image-pic.f-left {
	width: 40%;
	text-align: left;
}
#page-team .image-pic.f-right {
	width: 50%;
	text-align: right;
}
#page-team .image-pic img {
	width: 100%;
}
#page-team .drivers-box {
	padding: 30px 0;
}
#page-team .drivers-pic {
	width: 100%;
	margin: 0 auto;
	padding: 0 25px;
}
#page-team .drivers-pic li {
}
.text.structure h4 {
	margin-bottom: .5em;
}
.text.structure li {
	margin-bottom: .5em;
	display: flex;
	justify-content: flex-start;
}
.text.structure li span:first-child {
	width: 11em;
	position: relative;
}
.text.structure li span:first-child::after {
	content:'：';
	position: absolute;
	right: 0;
}
#page-team h3.under-line {
	border-bottom: 2px solid #8c8c8c;
	color: #3B3E00;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: .1em;
    line-height: 1.3;
    padding-bottom: .3em;
}
#page-team h4 {
	font-weight: 700;
}
#page-team h3.under-yellow {
	width: 100%;
	font-size: 1.375rem;
	text-align: center;
	padding-bottom: 1em;
	background: url(/images/common/img_yellow_r.png) no-repeat;
	background-size:contain;
	background-position: center bottom;
}
#page-team .mail a {
    border: 1px solid #ccc;
    color: #787878 !important;
    padding: 1em;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    display: block;
    margin: 3em auto;
    }
#page-team a .linktext {
	color: #787878 !important;
	padding-top: .5em;
}
@media screen and (max-width: 481px) {
	#page-team .kv-block img {
		width: 80%;
	}
	#page-team .black-box {
		width: 100%;
		font-size: .875rem;
	}
	#page-team .image-pic.f-right {
		width: 90%;
	}
	#page-team .image-pic.f-left {
		width: 80%;
		margin-top: 20px;	
	}
	#page-team .drivers-box {
	    padding: 20px;
	    width: 90%;
	    margin: 0 auto;
	}
	#page-team h3.under-yellow {
		font-size: 1.125rem;
		line-height: 1.5rem;
	}
}

/* Drivers */
#page-drivers h3,
#page-race h3,
#page-machine h3.y-line  {
	font-size: 1.875rem;
    width: 100%;
    border-bottom: 2px solid #8c8c8c;
    color: #3B3E00;
    text-align: center;
    font-weight: 300;
    letter-spacing: .1em;
    line-height: 1.3;
    padding-bottom: .3em;
	position: relative;
	margin-top: 3em;
	margin-bottom: 0;
}
#page-drivers h3::after,
#page-race h3::after,
#page-machine h3.y-line::after {
	content: url(/images/common/img_yellow_r.png);
	position: absolute;
	bottom: -.8em;
	right: 0;
}
#page-drivers .wrap_1000 .inner {
	min-height: 300px;
	height: auto !important;
	height: 300px;
	position: relative;
}

#page-drivers .black-box {
	display: flex;
    justify-content: center;
    align-items: top;
    height: 6em;
    background: rgba(0,0,0,0.75);
    width: 79.6%;
    position: absolute;
    z-index: -1;
    padding-top: 1.5em;
    color: #fff;
    letter-spacing: .1em;
    font-size: 1.125rem;
    font-weight: 400;
}
#page-drivers .black-box {
    left: 0;
    top: -4em;
}

#page-drivers .inner-gray {
	display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    background: #E8E8E8;
    padding: 30px;
    min-height: 100%;
    height: auto;
    width: 95%;
    margin-left: 5%;
    /*position: absolute;
    left: 5%;
    top: 0;
    z-index: 2;*/
}
#page-drivers .inner-gray .pic {
	margin-right: 30px;
	width: 190px;
	text-align: left;
}
#page-drivers .inner-gray .pic img {
	width: 100%;
	height: auto;
}
#page-drivers .inner-gray .profile .driver {
    font-size: 1.5rem;
    color: #5c5c5c;
    font-weight: 700;
    margin-bottom: .5em;
}
#page-drivers .inner-gray .profile .name span:first-child {
	font-size: 1.5rem;
	display: inline-block;
	margin-right: 1em;
}
#page-drivers .inner-gray .profile .name span:last-child {
	font-size: 1.5rem;
	font-weight: 100;
	letter-spacing: .1em;
}
#page-drivers .inner-gray .profile h5 {
	margin: 1em 0 1em;
}

@media screen and (max-width: 481px) {
	#page-drivers h3,
	#page-race h3,
	#page-machine h3.y-line {
		margin-top: 1.5em;
		font-size: 1.5rem;
	}
	#page-drivers h3::after,
	#page-race h3::after,
	#page-machine h3.y-line::after {
		width: 100%;
		bottom: -.9em;
	}
	#page-drivers .black-box {
		width: 96%;
		font-size: 1rem;
	}
	#page-drivers .wrap_1000 > section {
		margin-top: 6em;
	}
	#page-drivers .inner-gray {
		flex-wrap: wrap;
		padding: 20px;
	}
	#page-drivers .inner-gray .pic {
		margin: 0 0 1em;
		width: 50%;
	}
	#page-drivers .inner-gray .profile .name span:first-child,
	#page-drivers .name span {
		display: block;
		width: 100%;
		margin-bottom: .5em;
	}
}

/* Race Schedule */
#page-race ul.type2 {
	font-weight: 700;
}
#page-race ul.type2 li {
	margin-bottom: 2em;
	line-height: 1.5;
}
#page-race ul.nomark {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}
#page-race ul.nomark li {
	font-size: 1rem;
	font-weight: 400;
	margin: .5em 2em .5em 0;
	width: 13em;
}
#page-race ul.nomark li span {
	display: inline-block;
	margin-right: 0em;
}
@media screen and (max-width: 481px) {
}

/* Machine */
#page-machine .inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#page-machine .inner .pic:first-child {
	width: 36%;
}
#page-machine .inner .pic:last-child {
	width: 64%;
}
#page-machine img {
	width: 100%;
}
#page-machine h3.under-line {
	border-bottom: 2px solid #8c8c8c;
	color: #3B3E00;
    text-align: center;
    font-size: 1.875rem;
    font-weight: 400;
    letter-spacing: .1em;
    line-height: 1.3;
    padding-bottom: .3em;
}

#page-machine .item ul {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}
#page-machine .item ul li {
	width: calc((100% - 3%) / 4);
	margin-right: 1%;
	margin-bottom: 2em;
}
#page-machine .item ul li:nth-child(4n) {
	margin-right: 0;
}
#page-machine .item img {
	width: 100%;
}
#page-machine .item ul li span {
	display: block;
	padding: .5em 0;
}
#page-machine .item ul li a {
	text-decoration: none;
	font-size: 0.875rem;
	line-height: 1.3;
}


@media screen and (max-width: 481px) {
	#page-machine .inner {
		flex-wrap: wrap;
	}
	#page-machine .inner .pic:first-child {
		width: 98%;
	}
	#page-machine .inner .pic:last-child {
		width: 98%;
	}
	#page-machine h3.under-line {
		font-size: 1.5rem;
	}
	#page-machine .item ul {
		justify-content: space-between;
	}
	#page-machine .item ul li {
		width: calc((100% - 4%) / 2);
		margin-right: 0;
		margin-bottom: 2em;
	}
}