.clearfix:after {
  clear: both;
  display: table;
  content: '';
}

* {
  font-size: 10pt;
}

img {
  width: 100%;
}

.list-title {
  margin: 0;
  background-color: #ddd;
  padding: 5px 5px 9px 5px;
  text-align: center;
}

.list-body {
	list-style: none;
	padding: 0;
}	

.list-body li {
	padding: 3px;
	border-bottom: 1px dotted #ccc;
}

.list-body li:before {
	content: '- ';
}

#body {
  margin: 0 auto;
  width: 960px;
}

#head {
  border: 1px lightgray solid;
  height: 50px;
  box-shadow: 2px 2px 2px #eee;
  margin-right: 5px;
  margin-left: 5px;
}

#title {
  font-weight: bold;
  font-size: 18pt;
  margin: 8px 0 0 10px;
  text-shadow: 2px 2px 2px gray;
}

#intro, #banner, #contents, #foot {
  margin-top: 10px;
}

#intro>div {
  border: 1px lightgray solid;
  float: left;
  width: 228px;
  height: 278px;
  margin-right: 5px;
  margin-left: 5px;
  box-shadow: 2px 2px 2px #eee;
  overflow: hidden;
}

#intro>div>div {
	height: 278px;
	background-color: black;
	color: white;
	padding: 15px;
	overflow: hidden;
	text-align: justify;
	transition: margin-top .5s;
}

#intro>div>div p {
	height: 200px;
	overflow: hidden;
}

#intro>div:hover>div {
	margin-top: -288px;
}	

#intro>div>img {
	transition: opacity .5;
}

#intro>div:hover>img {
	opacity: .25;
}

#banner>div {
  border: 1px lightgray solid;
  float: left;
  margin-right: 5px;
  margin-left: 5px;
  width: 468px;
  height: 156px;
  box-shadow: 2px 2px 2px #eee;
}

#contents-left {
  width: 708px;
  height: 300px;
}

#contents-right {
  width: 228px;
  height: 300px;
}

#contents>div {
  border: 1px lightgray solid;
  float: left;
  margin-right: 5px;
  margin-left: 5px;
  box-shadow: 2px 2px 2px #eee;
}

.news-list {
  width: 312px;
  height: 92px;
  float: left;
  margin: 15px 0 0 15px;
  padding: 10px;
  box-shadow: 1px 1px 2px #eee, -1px 1px 2px #eee, 1px -1px 2px #eee, -1px -1px 2px #eee;
}

.news-list:hover {
  box-shadow: 1px 1px 5px #ccc, -1px 1px 5px #ccc, 1px -1px 5px #ccc, -1px -1px 5px #ccc;
}

.news-thumb {
  width: 92px;
  height: 92px;
  overflow: hidden;
  box-shadow: 1px 1px 1px #f8f8f8, -1px 1px 1px #f8f8f8, 1px -1px 1px #f8f8f8, -1px -1px 1px #f8f8f8;
  float: left;
}

.news-item {
  float: left;
  width: 210px;
  height: 92px;
  margin-left: 10px;
}

.news-title {
  margin: 0;
  border-bottom: 1px dotted #bbb;
  padding-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-contents {
  margin-top: 5px;
  text-align: justify;
  height: 58px;
  overflow: hidden;
}

#foot {
  border: 1px lightgray solid;
  height: 30px;
  box-shadow: 2px 2px 2px #eee;
  margin-right: 5px;
  margin-left: 5px;
}

@media screen and (max-width: 980px) {
  #body {
    width: 760px;
  }

  #intro>div {
    width: 178px;
    height: 250px;
  }

  #banner>div {
    width: 368px;
    height: 100px;
  }

  #contents-left {
    width: 558px;
  }

  #contents-right {
    width: 178px;
  }
}

@media screen and (max-width: 780px) {
  #body {
    width: 560px;
  }

  #intro>div {
    width: 128px;
    height: 200px;
  }

  #banner>div {
    width: 268px;
    height: 100px;
  }

  #contents-left {
    width: 408px;
  }

  #contents-right {
    width: 128px;
  }
  
  .thin-hide {
  display: none;
  }
}

@media screen and (max-width: 580px) {
  #body {
    width: 320px;
  }

  #intro>div {
    width: 148px;
    height: 130px;
  }

  #intro>div:nth-child(3) {
    margin-top: 10px;
  }

  #intro>div:last-child {
    margin-top: 10px;
  }

  #banner>div {
    width: 308px;
    height: 100px;
  }

  #banner>div:last-child {
    margin-top: 10px;
  }

  #contents-left {
    width: 308px;
  }

  #contents-right {
    margin-top: 10px;
    width: 308px;
  } 
  
  .address-hide {
  display: none;
  } 
}