@charset "UTF-8";

/* ==========================================
COMMON
========================================== */


body {
	background-color: #fff;
	color: #48230a;
	font-size: 15px;
	font-family: Verdana, Arial, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	line-height: 1.7;
}


a:link,
a:visited {
	color: #009b72;
	text-decoration: none;
}

a:hover,
a:active {
	color: #02b582;
}

.clearfix:before,
.clearfix:after {
	display: block;
	content: "";
}

.clearfix:after {
	clear: both;
}

.clearfix {
	zoom:1;
}

.inner {
	position: relative;
	overflow: hidden;
	margin: 0 auto;
	width: 940px;
}

/* ==========================================
HEADER
========================================== */
#header{
    height: 100px;
}
#header .logo {
	float: left;
	padding-top: 10px;
	width: 300px;
}

#header .header-info {
	float: right;
	padding-top: 20px;
	width: 600px;
    text-align:right;
}



/* ==========================================
NAV
========================================== */
#nav {
	clear: both;
	border-bottom: 1px solid #fff;
	background: #55f;
    margin-bottom: 10px;
}

#nav ul {
	overflow: hidden;
	list-style: none;
}

#nav li {
	float: left;
	width: 187px;
	border-left: 1px solid #fff;
}

#nav li:last-child {
	width: 186px;
	border-right: 1px solid #fff;
}

#nav li a {
	display: block;
	height: 50px;
	text-align: center;
	line-height: 50px;
}

#nav li a:link,
#nav li a:visited {
	color: #fff;
}

#nav li a:hover,
#nav li a:active {
	background: #44e;
}

/* ==========================================
MESSAGE
========================================== */
#message {
    height: 500px;
	margin-bottom: 10px;
	color: #fff;
	text-align: center;
}

#message .message-box {
	background-color: #fff;
	background-color: rgba(255, 255, 255, 0);
}

#message h2 {
	margin-bottom: 40px;
	padding-top: -500px;  
}

#message p {
	margin-bottom: 30px;
	padding-top: 30px;
	font-size: 20px;
	line-height: 2.5;
}


/*アニメーションの基本設定を共通化してしまう*/
#message .message-box img{
    animation-iteration-count: infinite;
    animation-duration: 20s;
    animation-delay: 1.5s;
    animation-fill-mode: both;
}

/*ノード毎に参照するキーフレーム設定を変える*/
#message .message-box img:nth-of-type(1){
    animation-name: li1;
    position: absolute;
    float: left;
}
#message .message-box img:nth-of-type(2){
    animation-name: li2;
      

}
/*ノード毎のキーフレーム設定*/
@keyframes li1{
    from{opacity: 0}
    20%{opacity: 1;}
    50%{opacity: 0;}
    100%{opacity: 0;}
}
@keyframes li2{
    from{opacity: 0}
    30%{opacity: 0;}
    70%{opacity: 1;}
    100%{opacity: 0;}
}

/* ==========================================
CONTENT
========================================== */
.home #content {
	margin-bottom: 50px;
}

.home #content section {
	float: left;
	margin-right: 40px;
	padding-top: 240px;
	width: 205px;
}

.home #content section:last-child {
	margin-right: 0;
}

#content .company {
	background: url(../images/service-photo1.png) no-repeat;
}

#content .service {
	background: url(../images/service-photo2.png) no-repeat;
}

#content .ir {
	background: url(../images/service-photo3.png) no-repeat;
}

#content .recruit {
	background: url(../images/service-photo4.png) no-repeat;
}

#content h3 {
	margin-bottom: 20px;
	text-align: center;
	font-weight: bold;
	font-size: 18px;
}

#content h3 small {
	display: block;
	font-weight: normal;
	font-size: 12px;
}

/* ==========================================
NEWS
========================================== */
#news {
	margin-bottom: 10px;
}

#news .news-box {
	padding: 10px;
	border: 4px solid #fff;
}

#news h4 {
	padding-bottom: 2px;
	color: #fff;
	text-align: center;
	font-size: 20px;
    background-color: #55e;
}

#news dl {
	padding: 5px;
	background: #fff;
    height: 100px;
    overflow-y: scroll;
}

#news dd {
	margin-top: -1.7em;
	margin-bottom: 5px;
	padding-left: 10em;
}

#news dd:last-child {
	margin-bottom: 0;
}

#news dd a:link,
#news dd a:visited {
	color: #88e;
}

#news dd a:hover,
#news dd a:active {
	color: #44e;
}



/* ==========================================
FOOTER
========================================== */
#footer {
	padding: 10px 0;
	color: #55f;
}

#footer .footer-nav a:link,
#footer .footer-nav a:visited {
	color: #fff;
}

#footer .footer-nav a:hover,
#footer .footer-nav a:active {
	color: #eee;
}

#footer .footer-nav {
	overflow: hidden;
	margin-bottom: 30px;
}

#footer .footer-nav li {
	float: left;
	margin-right: 30px;
}

#footer p {
	text-align: center;
}

/* ==========================================
mail
========================================== */
#formWrap {
    width:700px;
	margin: 0 auto;
	color:#555;
	font-size:90%;
    }
#formWrap h3{
    font-size: 25px
    }
#formWrap p{
    margin: 20px auto;
    }

table.formTable{
	width:100%;
	margin:10px auto;
	border-collapse:collapse;
    }
table.formTable td,table.formTable th{
    border:1px solid #ccc;
    padding:10px;
    }
table.formTable th{
    width:30%;
    font-weight:normal;
    background:#efefef;
    text-align:center;
    }
        
@media screen and (max-width:572px) {
#formWrap {
    width:95%;
    margin:0 auto;
    }
table.formTable th, table.formTable td {
    width:auto;
    display:block;
    }
table.formTable th {
    margin-top:5px;
    border-bottom:0;
    }
input[type="text"], textarea {
    width:80%;
    padding:5px;
    font-size:110%;
    display:block;
    }
    input[type="submit"], input[type="reset"], input[type="button"] {
    display:block;
    width:100%;
    height:40px;
    }
}