@charset "utf-8";

#pagehead {
	background-size: 100% auto;
	padding: 80px 0;
}
.transport {
	background: url(../images/bg1.jpg) no-repeat center;
}
.overseas {
	background: url(../images/bg2.jpg) no-repeat center;
}
.company {
	background: url(../images/bg5.jpg) no-repeat center;
}
.rules {
	background: url(../images/bg4.jpg) no-repeat center;
}
.group {
	background: url(../images/bg6.jpg) no-repeat center;
}
#pagehead h1 {
	font-weight: bold;
	color: #fff;
	font-size: 45px;
	text-align: center;
	letter-spacing: 0.1em;
	width: 1080px;
	margin: 0 auto;
	text-shadow: 0 0 8px rgba(0,0,0,0.5);
}
.contents h2 {
	color: #0069B2;
	font-weight: bold;
	margin-bottom: 1em;
	padding-left: .5em;
	border-left: 5px solid #0069B2;
}
.contents h2 span {
	display: inline-block;
	font-family: 'Roboto', sans-serif;
	font-size:18px;
	color: #999;
	margin-left: 2em;
}
.contents h3 {
	border-bottom: 1px solid #000;
	font-size:1.2em;
	padding-bottom: .25em;
	line-height: 1.75;
	margin-top: .75em;
	margin-bottom: .75em;
}
.contents h3 span {
	display: inline-block;
	background: #000;
	color: #fff;
	padding: 0 .5em;
	margin-right: .5em;
}
.contents h4 {
	font-size:1.05em;
	font-weight: bold;
	margin-bottom: .5em;
}
.step {
	margin-bottom: 30px;
}
.faq {
	margin-bottom: 20px;
}
table {
	width:100%;
	border-collapse:collapse;
	margin-bottom:1em;
}
table.info {
	margin-bottom: 2em;
}
table.info th,
table.info td {
	border: 1px solid #ddd;
	padding: 8px;
}
table.info th {
	background: #f6f6f6;
	text-align: center;
}
table.info td a {
	display: inline-block;
}
.contents img {
	max-width: 100%;
}
.contents ol {
	margin-left: 0;
	padding-left: 1.5em;
	list-style: decimal;
}
.contents ol li {
	margin-bottom: .75em;
}
dl.profile {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 20px;
}
dl.profile dt {
	width: 17%;
	border:4px solid #FFF;
	background: #E6E6E6;
	padding: 8px;
	box-sizing: border-box;
}
dl.profile dd {
	width: 83%;
	border:4px solid #FFF;
	background: #F2F2F2;
	padding: .5em 1em;
	box-sizing: border-box;
}

.btn2 a {
	display: inline-block;
	color: #0069B2;
	border: 1px solid #0069B2;
	padding: .5em 3em .5em 3em;
	position: relative;
	margin-right: 1em;
}
.btn2 a:after {
	font-family: FontAwesome;
	content:"\f101";
	position: absolute;
	right: .75em;
}
.btn2 a:hover {
	background: #0069B2;
	color: #fff;
	text-decoration: none;
}

.link {
	text-align: center;
	margin-bottom: 60px;
}
.link a {
    background: #E50012;
    color: #fff;
    display: inline-block;
    padding: 3px 3em 3px 3px;
    transition: all 0.25s;
    margin: 0 10px 20px;
	line-height: 40px;
}
.link a:hover {
    text-decoration: none;
    background: #90000D;
}
.link a:after {
    font-family: "FontAwesome";
    content:"\f08e";
    position: absolute;
    right: 10px;
}
.link img {
	width: 90px;
	margin-right: 15px;
	display: inline-block;
}

.gmap {
	width: 100%;
	height: 400px;
}
.slider {
	padding: 0 0 20px;
}
.slider ul li img {
	max-width: 100%;
	width: 100%;
}
.slider ul li a:hover {
	opacity: 0.8;
}
#profile table {
    margin-bottom: 40px;
    border: 1px solid #ddd;
    border-collapse: collapse;
}
#profile table th {
    background: #eee;
    border: 1px solid #ddd;
    padding: 8px;
}
#profile table td {
    border: 1px solid #ddd;
    padding: 8px;
}
table.links th,
table.links td {
	padding: 5px;
	border-bottom: 1px solid #ddd;
}
table.links td a {
	color: #0069B2;
}
table.mailform {
	margin-bottom: 20px;
	border-top: 2px solid #DDD;
}
table.mailform th,
table.mailform td {
	padding: 3px;
}
table.mailform th {
	width: 25%;
	line-height: 200%;
	font-weight: normal;
	text-align: left;
	border-bottom: 2px solid #DDD;
	padding: 8px;
	vertical-align: middle;
}
table.mailform thead th {
	font-size:1.2em;
	font-weight: bold;
	width: auto;
	border-top: none;
	background: #000;
	color: #fff;
	border-bottom: none;
}
table.mailform th span {
	font-weight: bold;
	color: #F00;
}
table.mailform td {
	text-align: left;
	line-height: 200%;
	border-bottom: 2px solid #DDD;
	padding: 8px;      
}
table.mailform td strong {
	font-weight: normal;
	color: #F00;
}
table.mailform td input,table.mailform td textarea {
	font-size: 15px;
	margin: 8px 5px;
	padding: 5px;
}

.form-style input[type="checkbox"] {
	margin: 0 0.5em;
}
.form-style input[type="text"],
.form-style textarea {
	font-size: 15px;
	border: 1px solid #999;
	border-radius: 4px;
	background: #EEE;
	margin: 1%;
	padding: 0.5%;
}
.form-style input:focus,.form-style textarea:focus {
	background: #eaf6fd;
}
.form-style select {
	border: 1px solid #CCC;
	margin: 5px 0;
}
.formwidth-ss {
	width: 5%;
}
.formwidth-s {
	width: 15%;
}
.formwidth-ms {
	width: 25%;
}
.formwidth-m {
	width: 45%;
}
.formwidth-l {
	width: 80%;
}
.regi-buttun {
	text-align: center;
	margin: 3% 0 0;
}

.entry-area {
	width: 500px;
	margin: 5% auto;
	padding-bottom: 40px;
}
.r-button1 {
	-webkit-appearance: none;
	cursor: pointer;
	color: #FFF;
	text-align: center;
	background: #E50012;
	border: none;
	padding: 2% 80px;
}
.r-button2 {
	-webkit-appearance: none;
	color: #FFF;
	cursor: pointer;
	text-align: center;
	background: #b5b5b5;
	border: none;
	padding: 2% 80px;
}
.r-button1:hover {
	 background: #90000D;
}
.r-button2:hover {
	background: #999;
}

.button-rd {
	-webkit-appearance: none;
	cursor: pointer;
}
.button-gr {
	-webkit-appearance: none;
	cursor: pointer;
}
.button-rd {
	width: 47%;
	display: block;
	float: left;
	text-align: center;
	color: #FFF;
	background: #0069B2;
	border: none;
	padding: 2.5% 0;
}
.button-rd:hover {
	opacity: 0.8;
}
.button-rd-n {
	float: none;
	margin: 0 auto;
}
.button-gr {
	width: 47%;
	display: block;
	float: right;
	text-align: center;
	color: #FFF;
	background: #b5b5b5;
	border: none;
	padding: 2.5% 0;
}
.button-gr:hover {
	opacity: 0.8;
}

[class^="button"] {

	/* animation */

	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}


.tab{
	overflow:hidden;
	margin-bottom: 1em;
}
.tab li{
	padding:8px 0;
	width: 50%;
	float:left;
	cursor: pointer;
	text-align: center;
    background:#e9e9e9;
	color: #000;
	transition-duration: .3s;
}
.tab li:hover {
    background:#000;
	color: #fff;
}
.tab li.select{
	background:#0069B2;
	color: #fff;
}
#rules ol,
#rules ul{
	font-size: 1em;
	margin-left: 1em;
	margin-bottom:2em;
	padding-bottom: 0;
}
#rules ol ol {
	margin-bottom: 1em;
}
#rules strong {
	font-size: .1em;
	margin-left: 1em;
}
#rules ol.kakko {
	margin-left: 0;
}
#rules ol.kakko li {
	list-style-type: none;
	counter-increment: cnt;
}
#rules ol.katakana li {
	list-style-type: katakana;
	margin-left: 1em;
}

#rules ol.kakko li::before {
	content: "(" counter(cnt) ") ";
}
#rules ul {
	margin-left: 1.5em;
}
#rules ul li {
	list-style-type: disc;
}
.office {
    padding: 20px 0;
    position: relative;
    border-top:1px solid #ddd;
    border-bottom:1px solid #ddd;
    margin-top: -1px;
}
.office .photo {
    width: 200px;
    float: left;
}
.office .photo img {
    max-width: 100%;
}
.office .info {
    margin-left: 240px;
	margin-bottom: 10px;
}
.office .info h3 {
    font-weight: bold;
	margin-bottom: .5em;
}
.office .map {
    float: right;
    z-index: 1;
}
.office .map a {
    background: #E50012;
    color: #FFF;
    padding: 5px 12px;
    border-radius: 6px;
    transition: all 0.1s;
}
.office .map a:hover {
    text-decoration: none;
    background: #880022;
}
#news dl {
    border-bottom: 1px solid #ddd;
}
#news dl:after {
	content: ".";
	height: 0;
	clear: both;
	display: block;
	visibility: hidden;
}
#news dl dt {
	float:left;
	width:8em !important;
	padding:12px 0;
}
#news dl dd {
	margin-left:8em !important;
	padding:12px 0;
}
#news dl dd a {
    display: block;
    position: relative;
    padding-right: 25px;
}
#news dl dd a:after {
    font-family: "FontAwesome";
    content:"\f105";
    position: absolute;
    right: 10px;
    top: 0;
}
#news h1 {
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.date {
    text-align: right;
}

.vanning {
	display: flex;
	justify-content: center;
	border-left: 1px dotted #ccc;
}
.vanning li {
	border-right: 1px dotted #ccc;
	padding: 0 15px; 
}
@media (max-width: 767px) {
	#pagehead {
		background-size: 100% auto;
		padding: 40px 0;
		width: 100%;
	}
	#pagehead h1 {
		font-size: 30px;
		width: 100% !important;
	}
	.contents h2 {
		font-size: 1.7rem;
	}
	.contents h3 {
		font-size: 1.4rem;
	}
	dl.profile {
		display: block;
	}
	dl.profile dt {
		width: auto;
		border:2px solid #FFF;
		background: #E6E6E6;
		padding: .25em .5em;
		box-sizing: border-box;
	}
	dl.profile dd {
		width: auto;
		border:2px solid #FFF;
		background: #F2F2F2;
		padding: .25em .5em;
		box-sizing: border-box;
	}
	.staff-content{
		display: flex;
		justify-content: space-between;
		margin-bottom: 2em;
	}
	.staff-content .photo {
		width: 22%;
	}
	.staff-content .prof {
		width: 75%;
	}
	.report-content ul {
		display: block;
	}
	.report-content ul li {
		width: auto;
		margin: 0 1% 25px;
	}

	.news-content {
		margin-bottom: 20px;
	}
	.news-content dl {
		display: block;
	}
	.news-content dl dt {
		padding: .25em .25em 0;
	}
	.news-content dl dd {
		padding: .25em  .25em .5em;
		margin-left: 0;
	}
	.link a {
		background: #E50012;
		color: #fff;
		display: block;
		padding: 2px 2em 2px 2px;
		line-height: 30px;
		text-align: left;
		white-space: nowrap;
		overflow: hidden;
		font-size: 12px;
	}
	.link a:after {
		right: 5px;
	}
	.link img {
		width: 70px;
		margin-right: 10px;
		display: inline-block;
	}
	table.mailform th {
		display: block;
		width: 100%;
		letter-spacing: 0;
		border: none;
		background: #ececec;
		text-align: center;
		border: none;
		padding: 10px 0;
	}
	table.mailform td {
		display: block;
		width: 100%;
		letter-spacing: 0;
		border: none;
		padding: 10px 0;
	}
	table.mailform td input,table.mailform td textarea {
		font-size: 100%;
		margin: 8px 5px;
		padding: 5px;
	}

	.entry-area {
		width: 90%;
	}
	.button-rd,.button-gr {
		width: 80%;
		display: block;
		float: none;
		margin: 0 auto;
	}
	.button-gr {
		float: none;
		margin-top: 3%;
	}
	.tab{
		overflow:hidden;
	}
	.tab li{
		width: 50%;
		border-left: 1px solid #fff;
		margin-right: -1px;
		border-bottom: 1px solid #fff;
		line-height: 1.5;
		font-size: 13px;
	}
    .office {
        padding: 10px 0;
    }
    .office .photo {
        width: 25%;
        float: left;
    }
    .office .info {
        margin-left:28%;
        font-size: 12px;
    }
    .office .info h3 {
        font-weight: bold;
        font-size: 14px;
    }
    .office .map a {
        padding: 3px 8px;
    }
	.vanning li {
		border-right: 1px dotted #ccc;
		padding: 0; 
	}
}
