@charset "UTF-8";
/*スマホ用設定----------------------------------------------------*/
body {
	min-width: 320px;
	font: normal 500 16px/1.2em "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
	color: #333;
	background-color: #ffffff;
}
a {text-decoration: none}

h1 {
	background-image: url(../images/h1.png);
	background-repeat: no-repeat;
	font: normal bold 18px/1.1 Meiryo, sans-serif;
	color: #444;
	text-indent: 24px;
	animation: fadeInUp 1s ease 0s 1 normal;
}
.ffcc00 {color: #ffcc00}

img {
  max-width: 100%;
  height: auto;
}
hr {color: #999}
.clear { clear: both;}

header {
	width: 100%;
	height: 50px;
	margin: 0 auto;
  }
.logo {
	width: 200px;
	height: 40px;
	margin: 0 auto;
	padding-top: 5px;
}

#menu {display: none;}

.topimage {
	position: relative;
	width: 100%;
}
.topimage img { width: 100%;}
.topimage p {
	position: absolute;
	color: #ffffff;
	font-weight: bold;
	font-size: 1.3em;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	margin: 0;
	padding: 0;
}

#content {
	padding: 0 10px;
	overflow: hidden;
}

.lead {
	line-height: 1.5em;
	text-align: center;
}

.toplist {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	list-style-type: none;
}
.toplist li {
	float: left;
	width: 300px;
	height: auto;
	padding-right: 30px;
}
.toplist li:last-child{padding-right: 0}
.toplisttitle{
	font-size: 18px;
	text-align: center;
}

.scroll{
    opacity: 0; //不透明度0%
    transform: translate3d(0, 100%, 0);
    transition: all 1.5s ease;
}

.scroll.active{
    opacity: 1; //不透明度100%
    transform: translate3d(0, 0, 0);
}

#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 80%;
}
#page-top a {
    background: #749ac2;
    text-decoration: none;
    color: #fff;
    width: 30px;
    height: 30px;
    padding: 10px 5px 0;
    text-align: center;
    display: block;
    border-radius: 50%;
}
#page-top a:hover {
    text-decoration: none;
    opacity: 0.7;
}

footer {
	clear: both;
	padding: 30px 0;
	color: #666;
	text-align: center;
	font-size: 12px;
}

/*sub page----------------------------------------------------*/

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 25%, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.works {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	list-style-type: none;
}
.works li{
	float: left;
	width: 280px;
	height: 240px;
	padding: 10px;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	line-height: 1.0em;
	margin: 0 10px 10px 0;
}
.works li img{
	position: relative;
	width: 280px;
	height: 206px;
}
.works1 {
	position: relative;
	color: #34588e;
	font-size: 14px;
}
.works2 {
	position: relative;
	color: #9f9f9f;
	font-size: 12px;
}

/* for table */
table.form {
	border: 1px solid #7777bb;
	border-collapse: collapse;
	margin-top: 1em;
}
table.form th, table.form td {
	text-align: left;
	border: 1px solid #7777bb;
	padding: 8px;
	font-weight: normal;
}
table.form th {
	white-space: nowrap;
	background: #cccce6;
}
table.form td {
	background: #f0f0f0;
}

/* for title */
strong.ttl {
	text-align: left;
	border-left: solid 4px #cc0000;
	display: block;
	padding: 2px 5px;
	margin-top: 2em;
}

/* for message */
p.msg {
	color: #dd0000;
	margin: 2em;
}
span.msg {
	color: #dd0000;
}

/* for back-button */
form.back {
	margin-top: 2em;
}

/*media Queries（PC用設定）----------------------------------------------------*/
@media only screen and (min-width: 960px) {
header {
	width: 960px;
	height: 60px;
	margin: 0 auto;
  }
.logo {
	float: left;
	margin: 0;
	padding: 20px 0 0 0;
  }
#menu {
	float: left;
	display: block;
	width: 700px;
	padding-top: 15px;
	list-style-type: none;
}
#menu li{
	float: left;
	padding-right: 10px;
	font-size: 15px;
}
#menu li a {
	color: #666;
	width: 100px;
	padding: 1px 6px;
	transition: .4s;}

#menu li a:hover {
	color: #FFF;
	background-color: #749ac2;
	padding: 1px 6px;
	border-radius: 4px}

.slicknav_menu {display: none;}

#content {
	width: 960px;
	margin: 0 auto;
	padding: 0;
    min-height: 480px;
	clear: both;
}
.topimage {
	width: 960px;
	height: 340px;
	margin: 0 auto;
	clear: both;
}
.topimage img {
	width: 960px;
	height: 340px;
	border-radius: 4px
}
.topimage p {font-size: 2em;}


/*sub page----------------------------------------------------*/

.works {width: 960px}
.works li a:hover{opacity: 0.5;}
