@charset "utf-8";

/* （ホバー）セピアからカラー */
.sepia img{
	filter: sepia(100%);
	transition: .3s ease-in-out;
}

.sepia a:hover img{
	filter:sepia(0);
}
/* （ホバー）モノクロからカラー */
.grayscale img{
  filter: grayscale(90%);
  transition: .6s ease-in-out;
}

.grayscale a:hover img{
  filter:grayscale(0);
}

/* （ホバー）半透明へ */
.button {
    position: relative;
    border-radius: 4px;
    color: #FFF;
    line-height: 18px;
    -webkit-transition: none;
    transition: none;
}
.button:hover {
	opacity: 0.8;
}
.button:active {
  box-shadow: none;
}

a.start{
   display: block;
   margin-top:-0px;
   padding-top:0px;
}

/* （ホバー）ズームイン */

.zoomIn img{
	transform: scale(1);
	transition: .5s ease-in-out;
}

.zoomIn a:hover img{
	transform: scale(1.2);
}

/* （ホバー）ズームアウト */

.zoomOut img{
	transform: scale(1);
	transition: .5s ease-in-out;
}

.zoomOut a:hover img{
	transform: scale(0.9);
}

/* （ホバー）ズームサイズ調整 */
.mask{
    display: block;
    line-height: 0;
    overflow: hidden;
}

.mask-in{
    display: block;
    line-height: 0;
    overflow:visible;
}

a.anchor{
    display: block;
    padding-top: 30px;
    margin-top: -30px;
}

/* ページトップボタン設定 */

#page-top a{
  display: flex;
  justify-content:center;
  align-items:center;
  background:#111D89;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,1.00);  
  width: 48px;
  height: 36px;
  color: #fff;
  text-align: center;
  text-transform: uppercase; 
  text-decoration: none;
  font-size:0.8rem;
  transition:all 0.5s;
}

#page-top a:hover{
  background: #F89E81;
}

/* 右下に固定 */

#page-top {
  position: fixed;
  right: 10px;
  bottom:10px;
  z-index: 2;
  opacity: 0;
  transform: translateY(100px);
}

/* Up-Move */
#page-top.UpMove{
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }
  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/* Down-Nove */
#page-top.DownMove{
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
    opacity: 1;
  transform: translateY(0);
  }
  to {
    opacity: 1;
  transform: translateY(100px);
  }
}


/* ナビメニュー */

nav{
	text-align: left;
}

/* 横並び */
nav ul{
	list-style: none;
	display: flex;
	justify-content: center;
	white-space: nowrap;
	margin-right: 20px;

}

/* 2階層目以降は横並び禁止 */
nav ul ul{
	display: block;
}

/* 下階層指定 */
nav ul li{
	position: relative;
}

/* ナビゲーションのリンク設定 */
nav ul li a{
	display: block;
	text-decoration: none;
	color: #FFFFFF;
	font-weight: 600;
	padding: 12px 20px;
	transition:all .3s;
}

nav ul li li a{
	padding: 10px 30px;
}

nav ul li a:hover{
	color:#fff;	
}

@media screen and (max-width:1279px) {
nav ul li a{
	padding: 16px;
}
nav ul li li a{
	padding: 10px 10px;
}
}

/* 矢印 2nd */
nav ul li.has-child::before{
	content:'';
	position: absolute;
	left: 2%;
	top: 22px;
	width: 8px;
	height: 8px;
	border-top: 2px solid #A1D1FF;
    border-right:2px solid #FFFFFF;
    transform: rotate(135deg);
}

/* 矢印 3rd */
nav ul ul li.has-child::before{
	content:'';
	position: absolute;
	left:80%;
	top:20px;
	width:6px;
	height:6px;
	border-top: 2px solid #eee;
    border-right:2px solid #eee;
    transform: rotate(45deg);
}

@media screen and (max-width:1280px) {
nav ul li.has-child::before{
    left:0;
}
}

@media screen and (max-width:768px) {
nav ul li.has-child::before{
	border-top: 2px solid #fff;
    border-right:2px solid #fff;
}
}

@media screen and (max-width:768px) {
nav ul ul li.has-child::before{
	border-top: 2px solid #fff;
    border-right:2px solid #fff;
}
}

/* 2階層以下共通設定 */

nav li.has-child ul{
	position: absolute;
	left:0;
	top:56px;
	z-index: 4;
	background:rgba(112,158,196,0.88);
	width:200px;
	visibility: hidden;
	opacity: 0;
	transition: all .6s;
}

/* hover表示 */
nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}

/* ナビゲーションaタグ形状 */
nav li.has-child ul li a{
	color: #FFF;
	font-weight: 200;

	border-bottom:solid 2px rgba(255,255,255,0.4);
}
/* 最下層下線なし */
nav li.has-child ul li:last-child a{
	border-bottom:none;
}

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active{
	background:rgba(255,255,255,0.2);
}

/*3階層目の位置*/
nav li.has-child ul ul{
	top:0;
	left:182px;
	background:#C8ACB6;
}

nav li.has-child ul ul li a:hover,
nav li.has-child ul ul li a:active{
	background:#C598A8;
}

@media screen and (max-width:768px){
	nav{
		padding: 0;
	}
	
	nav ul{
		display: block;
	}
	
	nav li.has-child ul,
	nav li.has-child ul ul{
  	position: relative;
	left:0;
	top:0;
	width:80%;
	visibility:visible;
	opacity:1;
	display: none;
	transition:none;
}

nav ul li a{
	border-bottom:1px solid #fff;
}

/*矢印の位置と向き*/

nav ul li.has-child::before{
	left:25px;	
}

nav ul ul li.has-child::before{
    transform: rotate(135deg);
	left:25px;
}
    
nav ul li.has-child.active::before{
    transform: rotate(-45deg);
}

}

/* ナビクリック表示 */
@media screen and (max-width:768px) {
#g-nav{
    position:fixed;
    z-index: 1999;
	top: -120%;
    left: 0;
	width: 100%;
    height: 100vh;
	background:rgba(0,0,0,0.8);
	transition: all 1.2s;
}

#g-nav.panelactive{
    top: 0;
}

/* 縦スクロール */
#g-nav.panelactive #g-nav-list{
    position: fixed;
    z-index: 1999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
}

/*　ナビ　*/
#g-nav ul {
    width: 90%;
    margin: 100px auto 0 auto;
}
    
#g-nav ul ul{
    width: 100%;
    margin: 0;
}
 
/* プルダウン */
#g-nav ul li.has-child ul{
  	position: relative;
	left:0;
	top:0;
	width:100%;
	visibility: visible;
	opacity: 1;
	display: none;
	transition: none;
    transform: none;
}

/* リストレイアウト */
#g-nav li{
	list-style: none;
    text-align: center; 
}

#g-nav li a{
	color: #fff;
	text-decoration: none;
	padding: 10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}
}

/* 3本線回転 */
.g-nav-openbtn{
    display: none;
}
 
@media screen and (max-width:768px) {
.g-nav-openbtn{
    display: block;
	position:fixed;
    z-index: 9999;
	top: 10px;
	right: 10px;
	cursor: pointer;
    width: 50px;
    height: 50px;
}

/*ボタン内側*/

.g-nav-openbtn .openbtn-area{
    transition: all .6s;
}

.g-nav-openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background: #0078FF;
  	width: 60%;
  }


.g-nav-openbtn span:nth-of-type(1) {
	top:15px;	
}

.g-nav-openbtn span:nth-of-type(2) {
	top:23px;
}

.g-nav-openbtn span:nth-of-type(3) {
	top:31px;
}

/* 回転× */
.g-nav-openbtn.active .openbtn-area{
	transform: rotateY(-360deg);
}

.g-nav-openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-135deg);
    width: 30%;
}

.g-nav-openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.g-nav-openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(135deg);
    width: 30%;
}
}

/* ナビリンク装飾（下線）*/
.nav01c li a{
	position: relative;
}

.nav01c li.current a,
.nav01c li a:hover{
	color: #FFAA69;
}

.nav01c li a::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 25%;
    width: 50%;
    height: 1px;
    background:#FFEBA8;
    transition: all .3s;
    transform: scale(0, 1);
    transform-origin: left top;
}

.nav01c li li a::after {
    display: none;
}

/* hover設定 */
.nav01c li.current a::after,
.nav01c li a:hover::after {
    transform: scale(1, 1);
}
@media screen and (max-width:768px) {
.nav01c li a::after {
    display: none;
}  
}

/* スライダー */
#sl-show {
    width: 100%;
    height: 68vh;
	padding: 0%;
	margin: 0;
	z-index: 1;
}

@media screen and (max-width:768px) {
#sl-show {
    display: none;
}  
}

/* スライダーsp */
#sp-show {
    width: 100%;
    height: 100vh;
	z-index: 1;
}

@media screen and (min-width:769px) {
#sp-show {
    display: none;
}  
}

/* RSS */

#message a{
	font-size: 2.8rem;
	line-height: 2rem;
	margin: 3% 0%;
}

