@charset "utf-8";

/**
 * Table of Contents
 *
 * 1.0 - Gallery Image
 * 1.0.1 - Gallery Image 768px
 * 2.0 - Message Boss
 * 		2.0.1 - Message Boss 768px
 */
 
 /**
  * 1.0 - Gallery Image
 */
h2.big-title2{
    width: 100%;
    height: auto;
    margin: 0 auto;
    text-align: center;
    margin-top: 40px;
    font-size: 3em;
} 
.gallery-img-style1{
width:100%;
height:auto;
float:left;	
}

.gallery-img-style1 .gl-one-element{
width:22%;
height:auto;
float:left;	
margin-right:3%;
box-sizing:border-box;
}

.gallery-img-style1 .gl-frame-img{
	width:100%;
	height:auto;
	margin-bottom:15px;
	float:left;
}

.gallery-img-style1 .gl-frame-img img{
	width:100%;
	height:auto;
}

.gallery-img-style1 .gl-name{
/*	color:#fff;*/
	font-size:1.6em;
	line-height:160%;
	font-weight:bold;
	width:100%;
	height:auto;
	margin-bottom:10px;
	text-align:center;
	float:left;
}

.gallery-img-style1 .gl-info{
width:100%;
height:auto;	
color:#545454;
font-size:1.3em;
line-height:160%;
text-align:center;
margin-bottom:20px;
float:left;
}

.gallery-img-style1 .gl-btn{
	width:100%;
	height:auto;
	text-align:center;
}


 /**
  * 2.0 - Message Boss
 */
.mesage-boss{
	width:100%;
	height:auto;
	float:left;
	overflow:hidden;
}

.message-img{
	width:25%;
	float:right;
	height:auto;	
	margin-top:20px;
}

.message-img img{
	max-width:198px;
	width:100%;
	height:auto;
	margin:0 auto;
}

.message-info{
	width:70%;
	height:auto;
	float:right;
	margin-right:5%;
	padding-left:45px;
	padding-top:10px;
	box-sizing:border-box;
	background:url(../../img/top/type-anchor.png) no-repeat top left;	
}

.box-newss .news2 p {
    color: #000;
    font-size: 1.0em !important;
    line-height: 160%;
    padding: 15px 10px 10px 0px;
    border-bottom: dotted 1px #666;
    float: left;
    width: 97%;
}
.cnt2 a{
    color: #119A81;
    font-weight: bold;
    font-size: 24px;
    padding-bottom: 5px;
    /* margin-bottom: 10px; */
    display: inline-block;
}
.cnt2 a:hover{
    opacity: 0.7;
}

@media screen and (max-width:768px) {
	
  /**
  * 1.0.1 - Gallery Image 768px
 */
	.gallery-img-style1 .gl-one-element{
		 width:44%;	
		 margin-bottom:10px;
	}
	.gallery-img-style1 :nth-child(3){
		clear: both;
	}
	
	 /**
	  * 2.0.1 - Message Boss 768px
	 */
	.message-img{
		width:100%;
		float:none;	
		margin-top:0px;
		text-align:center;
		margin-bottom:20px;
	}

	.message-info{
		width:100%;
		float:none;
		margin-right:5%;
		padding-right:10px;
	}

	.bg-menu{
		width: 70%;
	    margin-top: 0;
	    border: 0;
	}
	.logo{
	    padding-left: 0px;
	}
	.logo img{
	    margin-top: 4px;
	}	
}


@media screen and (max-width:670px) {
	.cnt2{
		font-size: 15px;
	}
}

@media screen and (max-width:480px) {
	.bg-menu{
	    width: 70%;
	}
	.logo img {
	    margin-top: 5px;
	}
	h2.big-title2{
	    font-size: 2em;
	    letter-spacing: -2px;
	}
	.cnt2{
		text-align: left;
	}
}
/*
.box-newss .news2 p:nth-child(odd) br {
display: none;
}
.box-newss .news2 p:nth-child(odd){
    width: 93%;
    border-bottom: none;
    padding-bottom: 0;
}
.box-newss .news2 p:nth-child(even) {
    width: 93%;
    padding-left: 10px;
    padding-top: 0;
}
}*/

/**
  * サイトマップ画像の動作
*/
.imgmove{
  cursor: pointer;
  max-width: 300px;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.imgmove img{
  height: auto;
  transition: transform .6s ease;
}
.imgmove:hover img {
  transform: scale(1.1); /* 拡大 */
}
.imgmove div {
  align-items: center; /* テキストの中央揃え */
  bottom: 0;
  color: #fff; /* テキストの色 */
  display: flex; /* テキストの中央揃え */
  justify-content: center; /* テキストの中央揃え */
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 80%; /* テキストを横幅いっぱいにならないようにする */
  font-size: 1.6em;
  font-weight: bold;
  z-index: 2;
}
/* マスク */
.imgmove::before {
  background: rgba(0, 0, 0, .5); /* マスクの色(黒の50%) */
  bottom: 0;
  content: '';
  height: auto;
  left: 0;
  opacity: 0.5; /* 最初は半透明（非表示） */
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity .6s ease; /* ゆっくりopacityのみへ変化させる */
  width: 100%;
  z-index: 1;
}
.imgmove:hover::before {
  opacity: 1;
}
.imgmove p {
    border: 2px solid #fff;
    line-height: 1.6;
    position: relative;
    width: 70%;
    padding: 15px;
    transition: transform .6s;
}
.imgmove:hover p {
    transform: translateY(-30px);
    border: 0px;
    border-bottom: 2px solid #fff;
    width: 40%;
    padding: 5px;
}
.logomove{
    position: absolute;
    z-index: -1;
    opacity: 0.5;
    width: 150px;
    margin-left: -150px;
    animation-name: anim_sc;
    transform: scale(0.85,0.85);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-duration: 1.5s;
}
@keyframes anim_sc {
  100% {
    transform: scale(1,1);
  }
}
@keyframes slidein {
  0% {
    transform: translateX(120px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
  }
  50%,100% {
    opacity: 0.5;
  }
}

/**
  * top画像の動作
*/
/* 画像を右へスクロール */
.bxslider2 img{
  padding-top: 80px;
  width: 120%;
  animation-name: slidetop;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  animation-direction: alternate;
  animation-duration: 10s;
  overflow: hidden;
}
@keyframes slidetop {
  0% {
    transform: translateX(-150px);
  }
}
/* 画像内テキストを下からフェードイン */
.text_in_bxslider{
  display: block;
  justify-content: center; /* テキストの中央揃え */
  align-items: center; /* テキストの中央揃え */
  color: #fff; /* テキストの色 */
  position: absolute;
  top: 40%;
  left: 30%;
  width: 80%; /* テキストを横幅いっぱいにならないようにする */
  font-size: 3.6em;
  font-weight: bold;
  
  transition: 1s;
  transform: translateY(20px);
}
.text_in_bxslider p{
  opacity: 0;
  line-height: 1.7;
}
.text_in_bxslider p:first-child {
  animation: fadein 1.4s forwards 1s;
}
.text_in_bxslider p:nth-child(2) {
  animation: fadein 1.4s forwards 2s;
}
.text_in_bxslider p:nth-child(3) {
  animation: fadein 1.4s forwards 3s;
}
@keyframes fadein {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@media screen and (max-width:768px) {
  @keyframes slidetop {
    0% {
      transform: translateX(-50px);
    }
  }
  .text_in_bxslider{
    top: 30%;
    font-size: 2.6em;
  }
  .bxslider2 img {
    padding-top: 100px;
  }
}

/* お知らせ欄 */
.news_icon{
    color:#F3A42D;
    border: 1px solid #F3A42D;
    padding: 0px 7px 0px 7px;
    white-space: nowrap;
}
.topix_icon{
    color:#2e8b57;
    border: 1px solid #2e8b57;
    padding: 0px 7px 0px 7px;
    white-space: nowrap;
}
.event_icon{
    color:#1690B9;
    border: 1px solid #1690B9;
    padding: 0px 7px 0px 7px;
    white-space: nowrap;
}
