@charset "UTF-8";
    
* { 
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}
        
body {
    font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic';
    
    margin: 0;
    padding-bottom: 40px;
    padding-top: 40px;
    min-width: 300px;
    text-align: center;
    font-size: 12px;
    line-height:2em;
    color: black;
    background-image: url(g02_image/body_bg.jpg)
}

img {
    max-width: 100%;:
    height:auto;
}

a {text-decoration: none ;}

/*** ここからプルダウンメニューの設定 ***/
/****メニュー全体****/
#menu{
	/*配置*/
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 100;
}

/****メニュー開閉ボタン****/
#menu div{
	/*デザイン*/
	width: 100px;
	height: 30px;
	background: rgba(41,96,94,1);
	/*配置*/
	overflow: hidden;
	position: absolute; /*左上の場合*/
	top: 0;
	left: 0;
}

#menu .menuopen{
	/*デザイン*/
	color: rgba(255,255,255,1);
	font-size: 16px;
	/*配置*/
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 4px;
	left: 0;
	pointer-events: auto;
}

#menu .menuclose{
	/*デザイン*/
	color: rgba(255,255,255,1);
	font-size: 16px;
	/*配置*/
	display: none;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 4px;
	left: 0;
	pointer-events: auto;
}

/****メニュー一覧****/
#menu ul{
	/*デザイン*/
	width: auto;
	/*配置*/
	overflow: hidden;
	/*左上の場合*/
    padding: 0;
	position: absolute;
	top: 30px;/*#menu divの高さ*/
	left: 0;
}

#menu li{
	/*デザイン*/
    color: #18463e;/*文字色*/
    letter-spacing:0.2em;
    padding: 0.3em 1.8em 0.3em 1.2em;
    text-decoration: none;
    background: -webkit-repeating-linear-gradient(-45deg, #f0fff1, #f0fff1 3px,#f0fff1 3px, #f0fff1 7px);
    background: repeating-linear-gradient(-45deg, #ffffff, #ffffff 3px,#f0fff1 3px, #f0fff1 7px);
    border-left: solid 10px #346e70;/*左線*/
    border-top: solid 1px #346e70;
    border-right: solid 1px #346e70;
    border-bottom: solid 1px #346e70;
    font-weight: bold;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.30);
    border-radius: 0 15px 15px 0;
    margin-top: 10px;
    

	/*配置*/
	pointer-events: auto;
	/*左上・左下の場合*/
	position: relative;
	left: -200%;
}

/****#menu liの数だけずれたタイミングでアニメーション開始****/
#menu li:nth-child(1){
	/*アニメーション*/
	-webkit-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
}

#menu li:nth-child(2){
	/*アニメーション*/
	-webkit-transition: all 0.3s ease 0.05s;
	transition: all 0.3s ease 0.05s;
}

#menu li:nth-child(3){
	/*アニメーション*/
	-webkit-transition: all 0.3s ease 0.1s;
	transition: all 0.3s ease 0.1s;
}

#menu li:nth-child(4){
	/*アニメーション*/
	-webkit-transition: all 0.3s ease 0.15s;
	transition: all 0.3s ease 0.15s;
}

#menu li:nth-child(5){
	/*アニメーション*/
	-webkit-transition: all 0.3s ease 0.2s;
	transition: all 0.3s ease 0.2s;
}

#menu li:nth-child(6){
	/*アニメーション*/
	-webkit-transition: all 0.3s ease 0.2s;
	transition: all 0.3s ease 0.2s;
}

#menu li:nth-child(7){
	/*アニメーション*/
	-webkit-transition: all 0.3s ease 0.2s;
	transition: all 0.3s ease 0.2s;
}

#menu li:nth-child(8){
	/*アニメーション*/
	-webkit-transition: all 0.3s ease 0.2s;
	transition: all 0.3s ease 0.2s;
}

/****メニューオープン時****/
#menu:target .menuopen{
	/*配置*/
	display: none;
}

#menu:target .menuclose{
	/*配置*/
	display: block;
}

#menu:target li{
	/*配置*/
	left: 0;
}

/*** ここまでプルダウンメニューの設定 ***/

#header {
    /* ヘッダー設定 */
    background: white;
    height: 80px;
    position: fixed;
    top:0;
    width: 100%;
    color: white;
    text-align:right;
    border-radius: 40px;
    padding: 0px 10px ;
    z-index: 60;
}

#footer {/* フッター設定 */
    background: #246659;
    bottom: 0;
    height: 40px;
    position: fixed;
    width: 100%;
    color:aliceblue ;
    text-align:center;
    font-size: 8px;
    border: solid 2px white;
    border-radius: 100px;
    z-index: 50;
}


h3 {
  position: relative;
    color: #18463e;
  padding: 0.25em 1em;
  border-top: solid 2px #245a48;
  border-bottom: solid 2px #245a48;
    margin:3% 15%;
}
h3:before, h3:after {
  content: '';
  position: absolute;
  top: -7px;
  width: 2px;
  height: -webkit-calc(100% + 14px);
  height: calc(100% + 14px);
  background-color: #245a48;
}
h3:before {
  left: 7px;
}
h3:after {
  right: 7px;
}



h4 {
  position: relative;
    color: #21462b;
  padding: 0.25em 10em;
    text-align: center
}
h4:after {
  content: "";
  display: block;
  height: 4px;
  background: -webkit-linear-gradient(to right, rgb(67,167,114), transparent);
  background: linear-gradient(to right, rgb(67,167,114), transparent);
}

#content {
    width: 100%; 
    height: auto;
    position: absolute;
    top: 80px; /* ヘッダー部分の高さを除く */
    bottom: 40px; /* フッター部分の高さを除く */
    left: 0px; /* メニュー部分の幅を除く */
    background-image: url(g02_image/content_bg.png);
    background-position: right bottom; 
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
    z-index: 1;
}



.top {
    position: absolute;
    z-index: 10;
}


table {
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(255,255,255,0.7);
    border-collapse: collapse;
    line-height: 1.7;
}

table td {
    border: dotted 0.2em #33968a;
    padding: 4px 20px;
    color: #033181;
}

table caption {
    border: dotted 0.2em #33968a;
    padding: 4px 20px;
    background-color: #33968a;
    color: white;
}

.waku1 { /* 枠：点線、内枠：白透明、余白：上下少し小さめ */
    display: inline-block;
    font-size: 12px;
    line-height:2;
    text-align: left;
    color: #18463e;
    border: dotted 0.2em #3e8082;
    border-radius: 30px;
    margin:0 auto;
    height: auto;
    padding: 1% 3% 1% 3%;
    background-color: rgba(255,255,255,0.7);
    }

.waku2 { /* 枠：実線、内枠：白透明、余白：上下少し小さめ */
    display: inline-block;
    font-size: 12px;
    line-height:2;
    text-align: left;
    color: #21462b;
    border: solid 0.2em #4bb596;
    border-radius: 30px;
    margin:0 auto;
    height: auto;
    padding: 1% 3% 1% 3%;
    background-color: rgba(255,255,255,0.7);
    }

.waku3 { /* 枠：実線白、内枠：緑に白文字、余白：上下少し小さめ */
    display: inline-block;
    font-size: 12px;
    line-height:2;
    text-align: left;
    color: white;
    border: solid 0.15em white;
    border-radius: 20px;
    margin:0 auto;
    height: auto;
    padding: 1% 3% 1% 3%;
    background-color:rgba(0,80,68,0.7);
    }

.waku4 { /* 空白用枠、スマホ用 */
    display: inline-block;
    font-size: 12px;
    line-height:2;
    text-align: center;
    margin:0 auto;
    height: auto;
    padding: 0%;
    }


.gallery_gazou { /* ゲーム画像 */
    width: 80%;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.gallery_still {
    width: 80%;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    
}

.game_01 {
    font-size: 11px;
    text-align: left;
    padding: 5px 5px 5px 20px;
    float: left;
    width: 340px;
    height: auto;
    background: #ffe5bc;
    border: dotted 2px #ff7878;
    border-radius: 20px;
    margin:10px 10px 10px 0;

}


@media (max-width: 900px){ /* PCサイズ設定用 */
    .news, .twitter {
    width: 280px;
}

.twitter_link {

    width: 240px;
    height: 400px;
    margin: auto;
    overflow-y: scroll;
    overflow-x: hidden;
}
    
}

@media (max-width: 640px){ /* スマホ用設定*/
 
    img { float : none ; }
    
    p { font-size: 80%;
        line-height:1.5em;
    } 
    
    h3 { font-size: 12px;}
    
    .gazou{
        width: 90%;
    }
    

    .sirowaku{/* 空白用枠、スマホ用 */
    font-size: 80%;
    line-height:1.5em;
    text-align:center;
    margin:0 auto;
    height: auto;
    padding: 3%;
    }


    table {
    color: #710d0f;
    font-size: 10px;
    text-align: center;
    width: auto;
    height: auto;
    margin: auto;
    }

 
}
