* {
	margin:0;
	padding:0;
}
 /* ヘッダーの設定 */
header {
    width: 100%; /* 幅いっぱいを指定 */
    height: 50px; /* 高さを50pxに指定 */
    background: #e6e657; /* 背景色にグレーを指定 */
    padding: 20px 50px; /* ヘッダーに上下左右それぞれ余白を指定 */
    box-sizing: border-box; /* padding分を含んで幅を100%にするため */
    top: 0; /* 上下の固定位置を上から0pxにする */
    left: 0; /* 左右の固定位置を左から0pxにする */
    display: flex; /* 中の要素を横並びにする */
    align-items: center; /* 中の要素を上下中央に並べる */
    z-index:10 /* z軸方向の一番上に配置 */
}


main {
    height: 100vw; /* スクロールの演出を見れるようにmainに高さを指定 */
}
/*PCとスマホの違いで見えたり消えたりする*/
/*PCの場合*/
.pc	{ display:inline; }
.sm	{ display:none; }
@media screen and (max-width: 640px) {
/*タブレット、スマホの場合*/
.pc	{ display:none; }
.sm { display:inline; }
}


/* センターにする設定 */
.center {
  text-align: center;
}

/* スマホの時にする設定 （これより小さくなったら）*/
@media (max-width: 576px) {
.sm-center{text-align: center;}
}

/* スマホの時にする設定 (これより大きくなったら)*/
@media (min-width: 576px) {
.br-pc{ display:none; }
}




/* footer */
footer {
  height: 30px;
  padding:10px;
  border-top: 1px solid #ccc;
  color: brown;
  font-size: 12px;
  text-align: center;
}



p {
  font-size: 1em;
  line-height: 2em;
	  
}

.small{font-size: smaller;}

.red{
	color:red;
}
.no-br  { white-space: nowrap;}


.indent{
	margin-left: 2em;
	margin-right: 2em;
  }
@media (max-width: 576px) {
.indent{
	margin-left: 0.5em;
	margin-right: 0.5em;
  }
}

  
.space {
  margin-top: 3em;
}
.space1 {
  margin-top: 1em;
}

 /* リンクの設定 */
a {	
   color: #6091d3; /* リンクの色 */
}

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


 /* リストの設定 */

 
 
#global-nav {
    width: 100%; /* 幅いっぱいを指定 */
    height: 50px; /* 高さを50pxに指定 */
    background: #ffff80;/*背景色*/
    padding: 0px 10px; /* ヘッダーに上下左右それぞれ余白を指定 */
    box-sizing: border-box; /* padding分を含んで幅を100%にするため */
    top: 50px; /* 上下の固定位置を上から50pxにする */
    left: 0; /* 左右の固定位置を左から0pxにする */
    display: flex; /* 中の要素を横並びにする */
    align-items: center; /* 中の要素を上下中央に並べる */
    justify-content: center; /* アイテムを中央に寄せる */
    text-align: center;
    font-size:14px;
    z-index:10 /* z軸方向の一番上に配置 */
}
@media (max-width: 640px) {
#global-nav {font-size:24px;}
}
#global-nav.m_fixed {
	left: 0;
	position: fixed;
	top: 0;
}
 
nav ul li{
      display: inline-block;
      margin: 0px 10px;
    }

nav a{
   text-decoration: none; /* リンクの下線を削除 */
  color: #666666; /* リンクの色 */
}




 /* テーブルの設定 */
table {
  width: 100%;
}
table tr{
  border-bottom: solid 2px white;
}

table tr:last-child{
  border-bottom: none;
}

table th{
  position: relative;
  text-align: left;
  width: 30%;
  background-color: #52c2d0;
  color: white;
  text-align: center;
  padding: 10px 0;
}

table th:after{
  display: block;
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  top:calc(50% - 10px);
  right:-10px;
  border-left: 10px solid #52c2d0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

table td{
  text-align: left;
  text-align: center;
  background-color: #eee;
  padding: 10px 0;
}

table td:nth-of-type(2){
	text-align: left;
}
@media (max-width: 700px) {
    table{
      width: 100%;
      font-size: 0.9em;
      line-height: 1.5em;
    }
    table th,
    table td{
      display: block;
    }
    table th,
    table td{
      border-top: none;    
    }

  }



 /* 見出しの設定 */
h1 {
   margin: 0 auto; padding: 0 ;
   text-align:center;
   font-family: 'Mochiy Pop P One', sans-serif;
    color: #5387A5;
    text-shadow: 2px 2px #fff;
}




h2 {
  /*線の種類（実線） 太さ 色*/
  border-top:solid 3px #999;
  border-bottom: solid 3px #999;
  color: #6a6a6a;
  padding: 0 0.5em;
}

h3 {
  background: #b8e6e6;/*背景色*/
  padding: 0.5em;/*文字まわり（上下左右）の余白*/
  border-radius: 0.5em;/*角丸*/
  margin-top: 3em;
}



h4 {
  position: relative;
  padding: 0.5em;
  background: #a6d3c8;
  color: white;
}

h4::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(149, 158, 155);
}


/* ボックスの設定 */
.box1 {
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    border: solid 3px #000000;
}
.box1 p {
    margin: 0; 
    padding: 0;
}

.box2 {
    padding: 2em 1em;
    margin: 30px auto;
    width: 80%;
    font-weight: bold;
    color: gray;/*文字色*/
    background: #FFF;
    border: solid 3px #999;/*線*/
    border-radius: 10px;/*角の丸み*/
}
.box2 p {
    margin: 0 1em; 
    padding: 0;
}
@media (max-width: 576px) {
.box2{width: 100%;
padding: 1em 0;
 margin: 30px 0;
    border: solid 0px #000;/*線*/
    border-radius: 0px;/*角の丸み*/
}
.box2 p {
 font-size: 0.9em;
  line-height: 1.5;
  text-align:left;			/* 文字揃え */
}
}

.box3 {
    padding: 2em 1em;
    margin: 30px auto;
    width: 70%;
    font-weight: bold;
    color: gray;/*文字色*/
    background: #FFF;
    border: solid 0px #000;/*線*/
    border-radius: 10px;/*角の丸み*/
    text-align:left;			/* 文字揃え */
}
.box3 p {
    margin: 1em; 
    padding: 1em;
}
@media (max-width: 576px) {
.box3{width: 100%;
padding: 1em 0;
 margin: 30px 0;
    border: solid 0px #000;/*線*/
    border-radius: 0px;/*角の丸み*/
}
.box3 p {
 font-size: 0.9em;
  line-height: 1.5;
}
}

.box4{
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #5d627b;
    background: white;
    border-top: solid 5px #5d627b;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.box4 p {
    margin: 0; 
    padding: 0;
    text-align: right;
}


 /* ボタンの設定 */
.btn-square {
  display: inline-block;
  padding: 0.5em 1em;
  text-decoration: none;
  background: #668ad8;/*ボタン色*/
  color: #FFF;
  border-bottom: solid 4px #627295;
  border-radius: 3px;
}
.btn-square:hover {
  /*ボタンホバーした時*/
  opacity: 0.5;
}

.btn-square:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(4px);
  transform: translateY(4px);/*下に動く*/
  border-bottom: none;/*線を消す*/
}

.shadow {
  text-shadow: 1px 1px 2px silver;
  /*文字を太字にするとよりそれらしくなります*/
  font-weight: bold;
}


.btn-flat-border {
  display: inline-block;
  padding: 0.3em 1em;
  text-decoration: none;
  color: #526666;
  border: solid 2px #b8e6e6;
  border-radius: 3px;
  transition: .4s;
  margin:0.5em;
}

.btn-flat-border:hover {
  background: #67c5ff;
  color: white;
}



.btn-flat-logo {
  position: relative;
  display: inline-block;
  font-weight: bold;
  padding: 0.25em 0.5em;
  text-decoration: none;
  color: #FFF;
  background: #00bcd4;
  transition: .4s;
}

.btn-flat-logo:hover {
  background: #1ec7bb;
}

 
.btn-social-long-twitter {
  color: #FFF;/*文字・アイコン色*/
  border-radius: 7px;/*角丸に*/
  display: inline-block;
  height: 50px;/*高さ*/
  width: 190px;/*幅*/
  text-align: center;/*中身を中央寄せ*/
  font-size: 25px;/*文字のサイズ*/
  line-height: 50px;/*高さと合わせる*/
  background: #1da1f3;
  overflow: hidden;/*はみ出た部分を隠す*/
  text-decoration:none;/*下線は消す*/
}

.btn-social-long-twitter .fa-twitter {
  text-shadow: 2px 2px 0px #4287d6;
  font-size: 30px;
}

.btn-social-long-twitter span {
  display:inline-block;
  transition: .5s;
}

.btn-social-long-twitter:hover span {
  -webkit-transform: rotateX(360deg);
  transform: rotateX(360deg);
}



.btn-twitter-follow {
  text-decoration: none;
  background-image: linear-gradient(#fff,#f5f8fa);
  border: 1px solid #e6ecf0;
  border-radius: 4px;
  color: #393e42;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 14px;
  position: relative;
 }

.btn-twitter-follow i {
  color: #1da1f3;
}

.btn-twitter-follow:hover {
  background-color: #e6ecf0;
  background-image: linear-gradient(#fff,#e6ecf0);
  border-color: #e6ecf0;
}



.game-button {
  display      : inline-block;
  border-radius: 50%;                  /* 角丸 */
  box-shadow   : 6px 6px 3px #666666;  /* 影の設定 */
  cursor       : pointer;              /* カーソル形状 */
  transition   : .3s;                  /* なめらか変化 */
  width:150px;
}
.game-button:hover {
  box-shadow   : none;                 /* 影の設定 */
  border-radius: 0;                    /* 角丸 */
}

.game-button1 {
  display      : inline-block;
  border-radius: 10%;                  /* 角丸 */
  box-shadow   : 6px 6px 3px #666666;  /* 影の設定 */
  cursor       : pointer;              /* カーソル形状 */
  transition   : .3s;                  /* なめらか変化 */
  vertical-align: middle; 
}


.game-button1:hover {
  box-shadow   : none;                 /* 影の設定 */
  border-radius: 0;                    /* 角丸 */
}
@media (max-width : 320px) {
  	.game-button1 {
 		  width:100%;
  	}
  }

.game-button2 {
object-position:50% 50%;
width:200px; height:100px;
	object-fit:none;
  display      : inline-block;
  border-radius: 5%;                   /* 角丸 */
  box-shadow   : 3px 3px 3px #666666;  /* 影の設定 */
  cursor       : pointer;              /* カーソル形状 */
  transition   : .3s;                  /* なめらか変化 */
  vertical-align: middle; 
}
.game-button2:hover {
  box-shadow   : none;                 /* 影の設定 */
  transform    : scale(1.1,1.1);       /* 拡大 */
}


.gallery-button1 {
object-position:50% 20%;
width:200px; height:100px;
	object-fit:none;
  display      : inline-block;
  border-radius: 5%;                   /* 角丸 */
  box-shadow   : 3px 3px 3px #666666;  /* 影の設定 */
  cursor       : pointer;              /* カーソル形状 */
  transition   : .3s;                  /* なめらか変化 */
}
.gallery-button1:hover {
  box-shadow   : none;                 /* 影の設定 */
  transform    : scale(1.1,1.1);       /* 拡大 */
}


/***追従するトップへ戻るボタン***/
#page-top {
    position: fixed;
    right: 10px;
    bottom: 10px;
    font-size: 24px;
    line-height: 1.2rem;
    background: #fff;
    color: #737373;
    padding: 10px;
    border: solid 1px;
    border-radius: 50%;
    box-shadow: 0 2px 10px -6px rgba(0,0,0,.5), 0 3px 10px -4px rgba(0,0,0,.2);
}
/***トップへ戻るボタンここまで***/


.my-skyblue {color: skyblue}
.my-pink {color: pink}




/* スライダー */
    .slider{
        width:70%;
        margin:0 auto;
    }
    .slider img{
        width:100%;
    }
    .slider .slick-slide{
        height:auto!important;
    }
    .slider .slick-arrow{
        z-index:2!important;
    }
    .slider .slick-next{
        right:0!important;
    }
    .slider .slick-prev{
        left:0!important;
    }

.slick-dots li button:before{
	font-size:20px!important;
}

.thumbnail-slider li {
  width: 31% !important;
  margin:5px;
}

.thumbnail-slider .slick-track {
  transform: unset !important;
  width:100% !important;
}

.main-slider {
  list-style: none;
}

.thumbnail-slider {
  list-style: none;
}

.thumbnail-slider {
  margin-top: 20px;
}

.main-slider img,
.thumbnail-slider img{
  width: 100%;
}

.main-slider li img {
  border-radius: 20px;
}

.thumbnail-slider li img {
  border-radius: 10px;
}

.chara_container {
  width:70%;
  margin: 40px auto;
}



/* 無限スライダー */
.slider-8 .slick-slide {
  position: relative;
  overflow: hidden;
}
.slider-8 .slick-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 576px) {
.slider-8 .slick-slide {width: 320px;}
}

/* イメージレスポンシブ */
.resizeimage {
   max-width: 973px; /* 最大幅 */
   margin:auto;
}
.resizeimage img {width: 100%; }

/* タブ切り替え */
.tab-area {
  cursor: pointer;/* カーソルポインターに */
  color: #666666;
}
.tab.active {
background-color: rgba(255, 255, 255, 0.51);
color: #5d5d5d;
padding: 0 5px;
}
.panel {
  display: none;
  text-align: center;
}
.panel.active {
  display: block;
}

/* YouTubeのフレームをセンターにする */
@media screen and (min-width: 768px) {
  .item-iframe {
    display: block;
    margin: 0 auto;
    max-width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .item-movie {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
  }
  .item-movie iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
  }
}

/* メニューリンクをホバーしたら色を帰る */
ul.gnav-navi-1 li:hover{
background-color: rgba(255, 255, 255, 0.51);
color: #5d5d5d;
padding: 0 5px;
}