@charset 'utf-8';

body,
h1,
h2,
h3,
ul,
p{
	margin: 0;
	padding: 0;
}

li{
	list-style: none;
}

a{
	text-decoration: none;
}

.container{
	width: 1000px;
	margin: 0 auto;
}


/* header */

header{
	border-top: 5px solid #008ED0;
}

.header-top{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
}

.header-tel{
	font-size: 2rem;
	font-weight: bold;
}

nav{
}

nav ul{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

nav ul a{
	display: block;
	color: #333;
	width: 25%;
	padding: 15px 0;
	transition: all .3s 0s ease;
	font-style: italic;
	letter-spacing: 3px;
}

nav ul a:hover{
	background: #008ED0;
	color: #fff;
}

nav ul a li{
	text-align: center;
}

.top-header-image{
	width: 100%;
	height: 500px;
	background: url('../img/005.jpg');
	background-size: cover;
	background-position: center center;
	border-top: 12px solid #3155C6;
	border-bottom: 12px solid #3155C6;
	box-sizing: border-box;
}

/* section */

section{
	padding: 80px 0;
}


section:nth-of-type(even){
	background: #E1FFFD;
}

section > div > h1{
	margin: 30px 0;
	font-style: italic;
	font-size: 3rem;
	letter-spacing: 8px;
	display: inline-block;
	border-bottom: 10px solid #3155C6;
}


/* service */

.service-block{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.service-block > div{
	width: 30%;
	text-align: center;
}

.service-block > div > h2{
	font-size: 1.3rem;
	letter-spacing: 3px;
	margin: 5px 0;
}

.service-block > div > img{
	object-fit: cover;
	max-height: 100%;
	max-width: 100%;
}

.service-block > div > p{
	text-align: left;
}


/* gaiyo */

.gaiyo > div table{
	width: 80%;
	margin: 50px auto 0;
}

.gaiyo > div table tr td{
	padding: 7px 0;
	border-bottom: 1px dotted #555;
}

.gaiyo > div table tr td:nth-of-type(1){
	width: 30%;
	text-align: center;
	font-size: 1.1rem;
}

.gaiyo > div table tr td:nth-of-type(2){
	width: 70%;
	border-left: 1px dotted #555;
	padding-left: 30px;
}


/* recruit */

.recruit > div table{
	border: solid 1px #000;
	border-collapse: collapse;
}

.recruit > div table td{
	border: solid 1px #000;
	padding: 8px 0;
}

.recruit > div table tr td:nth-of-type(1){
	width: 30%;
	text-align: center;
}

.recruit > div table tr td:nth-of-type(2){
	width: 70%;
	padding-left: 30px;
	padding-right: 30px;
}



.flow .flow_contbox ol > li{
	padding: 10px;
    background-color: #3056C6;
    font-size: 16px;
    font-size: 1.6rem;
    font-weight: bold;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin-bottom: 35px;
    text-align: center;
    position: relative;
    color: #fff;
}

.flow .flow_contbox figure ul li{
    margin-top: 10px;
    background-color: #fff;
    border: 1px solid #f6792e;
    color: #1d1e1f;
    padding: 10px;
    margin-bottom: 10px;
    width: 45%;
    margin-left: 2%;
    display: inline-block;
    letter-spacing: normal;
}

.flow .flow_contbox figure ul{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
}

.flow .flow_contbox ol > li:before {
    content: "";
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-top-color: #3056C6;
    display: block;
    position: absolute;
    bottom: -40px;
    right: 47%;
}

.flow .flow_contbox ol > li:last-child::before{
	display: none;
}

.about-detail .about-first{
	display: flex;
	justify-content: space-between;
}

.about-detail .about-first > div:nth-of-type(1){
	width: 30%;
}

.about-detail .about-first > div:nth-of-type(1) img{
	width: 100%;
}

.about-detail .about-first > div:nth-of-type(2){
	width: 65%;
}

.about-detail > div > div{
	margin: 50px 0;
}

.about-detail > div > div h3{
	font-size: 1.8rem;
	letter-spacing: 3px;
	border-bottom: 2px solid #3056C6;
	display: inline-block;
	margin: 10px 0;
}



/* footer */

footer{
	background: #000;
	color: #fff;
	padding: 60px 0;
}

.footer-menu{
	display: flex;
	justify-content: space-around;
	margin: 30px 0 50px 0;
}

.footer-menu > a{
	display: block;
	width: 20%;
	color: #fff;
	text-decoration: underline;
	font-size: 1.3rem;
	font-style: italic;
	letter-spacing: 3px;
}

footer > div > h1{
	font-size: 2rem;
	text-align: left;
	margin: 30px 0;
}

footer > div > p{
	display: block;
	margin: 0 auto;
	text-align: left;
}