@charset "UTF-8";

::-webkit-scrollbar {
  margin-right: 2px;
  width: 12px;
  height: 12px;
}
 
::-webkit-scrollbar-thumb {
  background: #767676;
  border-radius: 6px;
}


::-webkit-scrollbar-track {
  background-color: rgba(135, 135, 135, 0.505);
  border-radius: 65px;
}


/*上の隙間をなくしてる*/
*{
    margin: 0;
    padding: 0;}

/*ページ左上のメインボタン*/
.top-top{
    height: 100px;
    margin-top: 2px;
    margin-left: 25px;
    float: left;}

/*ヘッダー全体*/
header{
    width: 100%;
    height: 110px;
    text-align: center;
    font-family: Arial;}  

/*ヘッダーのメニュー*/
header .top-list{
    line-height: 40px;
    margin-top: 30px;
    float: right;
    margin-right: 35px;
    list-style: none;
    color: #ffffff;}

/*ヘッダーのメニューの色変え(青→白)*/
.t-m{
    color: inherit;
    text-decoration: none;}

/*ヘッダーの開いてるページのメニュー*/
header .top-list-item-1{
    list-style: none;
    display: inline-block;
    margin: 0 3px;
    border-bottom: 2px solid #ffffff;
    position: relative;}

/*ヘッダーの開いてるページ以外のメニュー①*/
header .top-list-item{
    list-style: none;
    display: inline-block;
    margin: 0 3px;
    position: relative;}

/*ヘッダーの開いてるページ以外のメニュー②*/
header .top-list-item::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: #ffffff;
    display: block;
    -webkit-transform-origin: right top;
    -ms-transform-origin: right top;
    transform-origin: right top;
    -webkit-transform: scale(0, 1);
    -ms-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transition: transform 0.4s cubic-bezier(1, 0, 0, 1);
    transition: transform 0.4s cubic-bezier(1, 0, 0, 1)}

/*ヘッダーの開いてるページ以外のメニュー③*/    
header .top-list-item:hover::before {
    -webkit-transform-origin: left top;
    -ms-transform-origin: left top;
    transform-origin: left top;
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1)}

/*SDGS色のバー*/
.sdgs-bar{
    height: 5.5px;
    margin-top: 0px;
    padding: 0;
    width: 100%;
    vertical-align: top;
    position: fixed;
    z-index: 100;}

/*フッター全体*/
footer{
    width: 100%;
    background-color: #f1c21e;
    color: white;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;}

/*フッターのメニューを並べてる*/
    ul.footer-menu li {
    display: inline;
    }

/*フッターのメニューの色変え*/
.f-m{
    color: inherit;
    text-decoration: none;}

/*フッターのメニューと©の隙間*/
footer .footer-spece{
    font-size: 1px;}

/*ホームタイトル*/
.main-title-1{
    font-size: 75px;
    color: #ffffff;
    font-family: 'SimSun','sans-serif';
    bottom: 0;
    text-align: center;
    animation: fadein 4s ease-out forwards;
}

/* ぼかしから出現 */
@keyframes fadein {
    0% {
       opacity: 0
    }
    100% {
       opacity: 1
    }
  }

/*固定背景の設定*/
.cd-fixed-bg {
    position: relative;
    min-height: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 2;
}

/*固定背景1*/
.cd-fixed-bg.main1  {
    background-image: url(../images/gallery_top.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
}

/*固定背景2*/
.cd-fixed-bg.main2  {
    background-image: url(../images/main2-backgraund.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
}

.karamu-share{
    display: inline;
}

.share-icon{
    width: 50px;
}

.title-1{
    font-size: 45px;
    font-family: 'SimSun','sans-serif';
    text-align: center;
}

.title-2{
    font-size: 20px;
    font-family: 'SimSun','sans-serif';
    text-align: center;
}

.title-3{
    font-size: 33px;
    font-family: 'SimSun','sans-serif';
    text-align: center;
}

.title-4{
    font-size: 30px;
    font-family: 'SimSun','sans-serif';
    text-align: center;
}

.title-5{
    font-size: 16px;
    font-family: 'SimSun','sans-serif';
    text-align: center;
}

.title-6{
    font-size: 25px;
    font-family: 'SimSun','sans-serif';
    text-align: center;
}

.title-7{
    font-size: 55px;
    font-family: 'SimSun','sans-serif';
    text-align: center;
    color: #003164;
    text-decoration: none;
}












/*========= ページトップのためのCSS ===============*/
/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	bottom:30px;
	z-index: 100;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(150px);
}

/*　上に上がる動き　*/
#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(150px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/
#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(150px);
  }
}

/*画像の切り替えと動き*/
#page-top a {
    /*aタグの形状*/
	display: block;
	width: 100px;
	height: 100px;
	color: #171717;
    font-weight: bold;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size: 11px;
    /*背景画像の指定*/
	background: url("../images/page-top-before.png") no-repeat center;
	background-size: contain;
}

#page-top.floatAnime a{
	width: 100px;
	height: 130px;
    /*背景画像の指定*/
	background: url("../images/page-top-after.png") no-repeat center;
	background-size: contain;
    /*アニメーションの指定*/
	animation: floatAnime 2s linear infinite;
	opacity: 0;
}

@keyframes floatAnime {
  0% { transform: translateX(0); opacity: 0; }
  25% { transform: translateX(-6px);opacity: 1; }
  50% { transform: translateX(0) }
  100% { transform: translateX(6px);opacity: 1; }
}

/*Page Topと書かれたテキストの位置*/
#page-top span{
    position: absolute;
    bottom: -20px;
    right: 20px;
	color: #171717;
}
/*検証のためのCSS*/
section{
padding: 500px 0;
}




/*=== 9-1-4 矢印が動いてスクロールを促す  ====*/

/*スクロールダウン全体の場所*/
.scrolldown4{
    /*描画位置※位置は適宜調整してください*/
	position:absolute;
	bottom:2%;
	right:50%;
    /*矢印の動き1秒かけて永遠にループ*/
	animation: arrowmove 1s ease-in-out infinite;
}

/*下からの距離が変化して全体が下→上→下に動く*/
@keyframes arrowmove{
      0%{bottom:2%;}
      50%{bottom:4%;}
     100%{bottom:2%;}
 }

/*Scrollテキストの描写*/
.scrolldown4 span{
    /*描画位置*/
	position: absolute;
	left:-25px;
	bottom:10px;
    /*テキストの形状*/
	color: #eee;
	font-size: 16px;
	letter-spacing: 0.05em;
	/*縦書き設定*/
	-ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

/* 矢印の描写 */
.scrolldown4:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom: 0;
    right: -8.5px;
    /*矢印の形状*/
    width: 1.5px;
    height: 30px;
    background: #eee;
    transform: skewX(-31deg);
}

.scrolldown4:after{
	content:"";
    /*描画位置*/
	position: absolute;
	bottom:0;
	right:0;
    /*矢印の形状*/
	width:1.5px;
	height: 75px;
	background:#eee;
}





/*==================================================
スライダーのためのcss
===================================*/

/*画像の横幅を100%にしてレスポンシブ化*/
.img{
	width: 100%;
	height: auto;
	vertical-align: bottom;/*画像の下にできる余白を削除*/
}

/*メイン画像下に余白をつける*/
.gallery{
    width: 60%;
	margin:0 0 5px 0;
    margin-left: 20%;
}

.gallery li{
list-style:none;
}
/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;/*絶対配置にする*/
	z-index: 3;
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #ccc;/*矢印の色*/
    border-right: 2px solid #ccc;/*矢印の色*/
    height: 25px;
    width: 25px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left:2.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right:2.5%;
    transform: rotate(45deg);
}

/*選択するサムネイル画像の設定*/

.choice-btn li{
	cursor: pointer;
	outline: none;
	background:#333;
    list-style:none;
}

.choice-btn li img{
	opacity: 0.4;/*選択されていないものは透過40%*/
}

.choice-btn li.slick-current img{
	opacity: 1;/*選択されているものは透過しない*/
}

.choice-btn{
    width: 60%;
    margin-left: 20%;
}



/*==================================================
ギャラリーのためのcss
===================================*/

/*＝＝＝並び替えボタンのCSS*/
.sort-btn{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	padding-bottom: 50px;
}

.sort-btn li{
	background:#eee;
list-style:none;
	border-radius:10px;
	cursor: pointer;
	padding: 10px;
	margin:0 10px;
}

.sort-btn li.active{/*ボタンに現在地＝activeというクラス名がついたら背景色を変更*/
	background:#ccc;	
}

/*横幅が480px以下になった際の指定*/
@media only screen and (max-width: 480px) {
.sort-btn{
	justify-content: space-between;
}
	
.sort-btn li{
	width:48%;
	margin:0 0 10px 0;
	text-align:center;
	}	
}

/*＝＝＝Muuriのレイアウトのための調整 */
.grid {
  position: relative;/*並び替えの基準点を指定*/
}

/*各画像の横幅などの設定*/
.item {
  display: block;
  position: absolute;
  width: 33%;/*横並びで3つ表示*/
  z-index: 1;
list-style:none;
}

/*内側のボックスの高さが崩れないように維持*/
.item-content {
  position: relative;
  width: 100%;
  height: 100%;
}

/*画像の横幅を100%にしてレスポンシブ化*/
.grid img{
	width:100%;
	height:auto;
	vertical-align: bottom;/*画像の下にできる余白を削除*/
}

/*横幅が768px以下になった際の指定*/
@media only screen and (max-width: 768px) {
.item {
  width: 49.5%;/*横並びで2つ表示*/
}
}

/*＝＝＝fancyboxサムネイル背景と画像選択時の枠線の指定*/
.fancybox-thumbs {
    background: transparent!important;
}

.fancybox-thumbs__list a:before {
    border: 6px solid #FA999B;
}