@charset "utf-8";

/*-------------------------------------
css初期化
--------------------------------------*/
* {
	margin: 0;
	padding: 0;
}

body {
	font-family: sans-serif;
	font-size: 100%;
}

div:after {
	content: "";
	display: block;
	clear: both;
}

/*-------------------------------------
タグの基本設定
--------------------------------------*/
body {
	background: rgb(255, 213, 213);
	line-height: 1.6;
	font-size: 81.25%;
	color: #b8b8b8;
}

html {
	overflow-y: scroll;
}

a {
	text-decoration: none;
	outline: none;
	color: #9e9e9e;
}

a:hover{
	text-decoration: underline;
	color: #d4d4d4;
}

a:hover img{
	opacity: 0.80;
}

/*--------------------------------------------------------------------
Container
--------------------------------------------------------------------*/
div#Container {
	width: 944px;
	padding: 10px 0;
	margin: 0 auto;
	background: #181818;
}

/*--------------------------------------------------------------------
h1
--------------------------------------------------------------------*/
h1 {
	padding: 10px 0;
	text-align: center;
}

/*--------------------------------------------------------------------
Contents
--------------------------------------------------------------------*/
div#Contents {
	width: 944px;
	margin: 0 auto;
	padding: 10px 0;
	overflow: hidden;
}

div#Contents:after {
	display: block;
	clear: both;
	height: 0;
	line-height: 0;
	font-size: 0;
}

/*--------------------------------------------------------------------
Nav
--------------------------------------------------------------------*/
nav {
	width: 944px;
	margin: 0 auto;
	position: relative;
}

nav ul li {
	list-style: none;
	width: 236px;
	margin: 0 0 20px 0;
	float: left;
}

nav ul li a img:nth-child(2){
	position: absolute;
	margin-left: -236px;
  transition: opacity 1s;
}

nav ul li a:hover img:nth-child(2){
  opacity: 0;
}


/*--------------------------------------------------------------------
Main
--------------------------------------------------------------------*/
div#Main {
	width: 700px;
	margin: 0 auto;
}

div#Main h2,h3,h4 {
	font-size: 105%;
	font-weight: bold;
	color: #d4c6c6;
	text-align: center;
}

div#Main div#TopImg {
	margin: 5px auto 0 auto;
	text-align: center;
}

div#Main div#PortImg {
	margin: 5px auto 0 auto;
	text-align: center;
}

div#Main p {
	color: #ffb3b3;
	margin-top: 10px;
	text-align: center;
}

div#Main table {
	width: 80%;
	margin: 10px auto 20px auto;
	border-collapse: collapse;
	border: 0 none;
}

div#Main table tr th {
	width: 25%;
	padding: 5px 10px;
	background: rgb(179, 176, 176);
	border: 1px solid #5f5d5d;
	text-align: center;
	vertical-align: top;
	color: #181818;
}

div#Main table tr td {
	width: 75%;
	padding: 5px 10px;
	border: 1px solid #8b8b8b;
	text-align: left;
	vertical-align: top;
}

div#Main table tr td ul {
	padding: 0 0 0 8px;
	margin: 0 0 0 8px;
}

div#Main table tr td ol {
	padding: 0 0 0 8px;
	margin: 0 0 0 8px;
}

/*--------------------------------------------------------------------
pagetop
--------------------------------------------------------------------*/
p.pagetop {
	text-align: center;
}

/*--------------------------------------------------------------------
address
--------------------------------------------------------------------*/
address {
	clear: both;
	text-align: center;
	color: #d1d0cf;
}
 /* スライドする要素 */
 .content {
	width: 300px;
	height: 210px;
  }
  .content:nth-child(1) {
	background-image: url(../img/1.png);
  }
  .content:nth-child(2) {
	background-image: url(../img/2.png);
  }
  .content:nth-child(3) {
	background-image: url(../img/3.png);
  }
  .content:nth-child(4) {
	background-image: url(../img/4.png);
  }
  .content:nth-child(5) {
	background-image: url(../img/5.png);
  }
  .content:nth-child(6) {
	background-image: url(../img/6.png);
  }
  .content:nth-child(7) {
	background-image: url(../img/7.png);
  }
  .content:nth-child(8) {
	background-image: url(../img/8.png);
  }
  .content:nth-child(9) {
	background-image: url(../img/9.png);
  }
  .content:nth-child(10) {
	background-image: url(../img/10.png);
  }
  .content:nth-child(11) {
	background-image: url(../img/11.png);
  } 
   .content:nth-child(12) {
	background-image: url(../img/12.png);
  }
  /* スライドレールの枠 */
  .wrap {
	overflow: hidden;
	display: flex;
	align-items: center;
	height: 300px;
	margin-bottom: 10px;
  }
  /* content4つをまとめたスライドブロック */
  .slideshow {
	display: flex;
	-webkit-animation: loop-slide 20s infinite linear 1s both;
	animation: loop-slide 20s infinite linear 1s both;
  }
  @-webkit-keyframes loop-slide {
	from {
	  transform: translateX(0);
	}
	to {
	  transform: translateX(-100%);
	}
  }
  @keyframes loop-slide {
	from {
	  transform: translateX(0);
	}
	to {
	  transform: translateX(-100%);
	}
  }
  /* ホバー時に動きを止める（パターン2・3）*/
  .slide-paused:hover .slideshow {
	-webkit-animation-play-state: paused;
	animation-play-state: paused;
	* {
		box-sizing: border-box;
		list-style: none;
		padding: 0;
		margin: 0;
	  }
	  body {
		padding: 30px 50px;
	}
  }
  
