
/* CSS Document */

/*==================================================

top-contents
=================================================*/

.top-image {
	width: 100%;
	position: relative;
	line-height: 0;
	z-index: 6!important;
	overflow: hidden;
	margin: 0 auto;
}
.top-image .txt {
	width: 100%;
	max-width: 1000px;
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	margin: auto;
	-webkit-transform: translateY( -50%); /* Safari用 */
	transform: translateY(-50%);
	z-index: 1;
}
.top-image .txt .catch {
	margin: 0 auto 3%;
	font-size: 2.6em;
	font-weight: 400;
	line-height: 1.8em;;
	text-align: center;
	color: #fff;
}
.top-image .photo {
	width: 100%;
	overflow: hidden;
	max-height: 900px;
}
.top-image #date p{
	color:#FFF;
	text-align:center;
	line-height: 1.4em;
	font-size:6rem;
	font-weight: 700;
	font-family: 'Josefin Sans', sans-serif;
}

.top-image #date #monthName, #year, #dayName{
	letter-spacing:0.1em;
}

.top-image #date p.day{
	font-weight:bold;
}

/* 天気 */
.top-image #weather{
	/*float: left;
	width: 45%;*/
	width:30%;
	max-width: 120px;
	text-align: center;
	margin: 1% auto;
}

.top-image #weather_today{
	text-align:center;
}

.top-image #weather p{
	font-weight: bold;
	text-align:center;
}

.top-image .cominfo{
	position: absolute;
	left: 5%;
	top: 3%;
	background: rgba(255,255,255,0.8);
	line-height: 2.0em;
	font-size: 2.0rem;
	display: inline-block;
	padding: 10px 20px;
	
}

.News {
	background: rgba(3,110,185,0.7);
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
}
.News table th,
.News table td{
	color: #fff;
	font-weight: normal;
	text-align: left;
	padding: 10px;
}
.News table td a{
	font-size: 1.3rem;
	color: #fff;
}
.News table th.title{
	font-size: 2.5rem;
    font-family: 'Noto Serif JP', serif;
}


.Access h2{
	background: #e5e8f1;
}
.Access .Add,
.Access .Mpalink{
	width: 50%;
	padding: 10px;
	
}
.loop_wrap {
  display: flex;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.loop_wrap img {
  width: auto;
	height: 220px;
	max-width: inherit;
}
.loop_wrap img:first-child {
  animation: loop 120s -60s linear infinite;
}

.loop_wrap img:last-child {
  animation: loop2 120s linear infinite;
}

@keyframes loop {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes loop2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}

@media (min-width:1px) and (max-width: 960px) {

.top-image {
	margin: 70px auto 0;
}

.top-image .txt .catch {
	margin: 0 auto 2%;
	font-size: 2.2em;
}
.top-image #date p{
	font-size:5rem;
}.top-image #weather{
	/*float: left;
	width: 45%;*/
	width:30%;
	max-width: 100px;
	text-align: center;
	margin: 5% auto;
}
.top-image .cominfo{
	position: absolute;
	left: 2%;
	top: 2%;
	background: rgba(255,255,255,0.8);
	line-height: 2.0em;
	font-size: 1.6rem;
	display: inline-block;
	padding: 10px 20px;
	
}

}

@media only screen and (min-width:1px) and (max-width: 768px) {


.top-image .txt .catch {
	margin: 0 auto 2%;
	font-size: 2em;
}
.top-image #date p{
	font-size:4rem;
}
.top-image #weather{
	max-width: 80px;
	margin: 2% auto;
}
.top-image .cominfo{
	left: 2%;
	top: 2%;
	font-size: 1.3rem;
	padding: 10px;
	
}
.News {
	background: rgba(3,110,185,0.7);
	position: relative;
	left: inherit;
	bottom: inherit;
	width: 100%;
	padding: 10px;
	line-height: 1.4em;
}
.News table{
	margin: 10px auto;
	}
	.News table td.newslink{
		text-align: right !important;
	}
.Access .Add,
.Access .Mpalink{
	width: 100%;
	padding: 10px;
	
}
	
.loop_wrap {
  height: 150px;
}
}

@media only screen and (min-width:1px) and (max-width: 560px) {
	
.top-image .txt {
	top: 90px;
	-webkit-transform: translateY(0); /* Safari用 */
	transform: translateY(0);
}
.top-image .txt .catch {
	margin: 0 auto 1%;
	font-size: 1.5em;
}
.top-image #date p{
	font-size:3rem;
	line-height: 1.3em;
}
.top-image #weather{
	max-width: 80px;
	text-align: center;
	margin: 1% auto;
}
.News table{
	margin: 10px auto;
	}
	
}
@media screen and (max-width:480px){

	
.top-image .txt {
	top: 50px;
}
.top-image .cominfo{
	position: absolute;
	left: 0%;
	top: 0%;
	background: rgba(255,255,255,0.8);
	line-height: 1.8em;
	font-size: 1.2rem;
	display: inline-block;
	padding: 5px;
	
}
.top-image .txt .catch {
	margin: 0 auto 1%;
	font-size: 1.3em;
}
.top-image #date p{
	font-size:2rem;
	line-height: 1.1em;
}
.top-image #weather{
	max-width: 50px;
	text-align: center;
	margin: 2% auto;
}

.News {
	padding: 5px 10px;
}
.News table{
	margin: 0px auto;
	}
.News table th,
.News table td{
	padding: 5px;
}

.loop_wrap {
  height: 120px;
}	
	
}

