
@CHARSET "windows-31j";

@font-face {
  font-family: 'NotoSansJP';
  src: url('../res/PlemolJPHS-Text.ttf') format('truetype');
}

* {
	margin: 0;
	padding: 0;
	-webkit-touch-callout: none;
}

body {
  font-family: 'NotoSansJP', Arial, sans-serif;
  margin: 1em;
  padding: 1em;
  background-color: #000;
	background-image: url('../images/bg_home1.jpg');
	background-repeat: no-repeat;
	background-position-x: center;
  background-attachment: fixed;
  background-size: 1024px;
	color: #f8f9fa;
}

.offset-space {
  position: fixed;
  height: 80px;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
}

canvas {
  outline: none;
}

.game-bg {
  font-family: 'NotoSansJP', Arial, sans-serif;
	margin: 8px;
	background-color: #19100b;
	background-image: none;
	color: #f8f9fa;
}

/*header設定*/
#header{
    position: relative;
    height: 100vh;
} 

.header-area {
  position: fixed;
  width: 1024px;
  height: 48px;
  top: 0;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 1000;
}

#game-area {
    position: fixed;
    z-index: 1;
    top: 0;
    right:0;
    left:0;
    bottom:0;
    overflow: hidden;
}

.line-bc {
/*  padding: 20px 10px; */
  /* max-width: 450px; */
  margin: 15px auto;
  text-align: right;
  font-size: 14px;
  color: #000;
  /* background: #7da4cd; */
}

.text-lightgreen {
  color: #6bf86f !important;
}

.text-skyblue {
  color: #81ddf9 !important;
}

.text-wolf {
  color: #ff3e17 !important;
  text-shadow: 3px 3px 5px #000000;
}

.text-grave {
  color: #7a7a7a !important;
  text-shadow: 3px 3px 5px #000000;
}

.text-black {
  color: #030303 !important;
}


img.rect {
  position: relative;
  left: 0;
}

/*
div.chara {
  width: 74px; 
  height: 94px; 
  border: none; 
  position: relative;
  display: inline-block;
}
*/

div.center {
  text-align: center;
}

div.news {
  width: 660px;
  height: 120px;
  background-image: url("../images/news_board.png");
	background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 24px;
  overflow: visible;
  position: relative;
}

div.board {
  width: 673px;
  height: 183px;
  background-image: url("../images/board_ex.png");
	background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 60px 32px;
  overflow: visible;
  position: relative;
}

div.board h6 {
  position: absolute;
  top: 12px;
  left: 48px;
  font-size: 1.5em;
  font-style: italic;
  /*color: #2af00b;*/
  text-shadow: #FC0 1px 0 10px;
}

#myTab {
  border: none;
}

#myTabContent {
  margin: 16px 0;
}

div.chara {
  width: 418px;
  height: 508px;
  position: absolute;
  right: -60px;
  top: 280px;
	background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("../images/claris1.png");
  z-index: 100;
}

.nav-pills .nav-link {
  padding: 0px 0px;
}

button.chara {
  width: 74px; 
  height: 94px; 
  border: none; 
  position: relative;
}

span.chara {
  display: inline-block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  white-space: nowrap;
  text-shadow:1px 1px 0 #000, -1px -1px 0 #000,
              -1px 1px 0 #000, 1px -1px 0 #000,
              0px 1px 0 #000,  0-1px 0 #000,
              -1px 0 0 #000, 1px 0 0 #000;
}

.common-title {
  text-align: left;
  /*
  border-top: 1.5px solid #e6de00;
  */
  border-bottom: 1px solid #e6de00;
  /*
  background-color: rgba(0, 0, 0, 0.6);
  */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 30%, rgba(154, 148, 1, 0.25) 100%);
  /* margin: 0px 0px 8px; */
  margin: 1em;

  /* padding: 8px 0px 8px; */
}

.common-title span {
  color: #e6de00;
}

.btn-login {
  background: url('../images/button_login.png') no-repeat;
  width: 136px;
  height: 56px;
  border: none;
}

.btn-new {
  background: url('../images/button_new.png') no-repeat;
  width: 134px;
  height: 54px;
  border: none;
}

.img-btn-b {
  background: url('../images/button_blue.png') no-repeat;
  background-size: 100% 100%;
  border: none;
  color: #f0f0f0 !important;
}

.img-btn-b2 {
  background: url('../images/image_button_b2.png') no-repeat;
  width: 66px;
  height: 36px;
  border: none;
  color: #f0f0f0 !important;
}

.img-btn-b3 {
  background: url('../images/image_button_b3.png') no-repeat;
  width: 96px;
  height: 36px;
  border: none;
  color: #f0f0f0 !important;
}

.img-btn-b4 {
  background: url('../images/image_button_b4.png') no-repeat;
  width: 126px;
  height: 36px;
  border: none;
  color: #f0f0f0 !important;
}

.img-btn-g {
  background: url('../images/button_green.png') no-repeat;
  background-size: 100% 100%;
  border: none;
  color: #f0f0f0 !important;
}

.img-btn-g2 {
  background: url('../images/image_button_g2.png') no-repeat;
  width: 66px;
  height: 36px;
  border: none;
  color: #f0f0f0 !important;
}

.img-btn-g3 {
  background: url('../images/image_button_g3.png') no-repeat;
  width: 96px;
  height: 36px;
  border: none;
  color: #f0f0f0 !important;
}

.img-btn-g4 {
  background: url('../images/image_button_g4.png') no-repeat;
  width: 126px;
  height: 36px;
  border: none;
  color: #f0f0f0 !important;
}

.img-btn-r {
  background: url('../images/button_red.png') no-repeat;
  background-size: 100% 100%;
  border: none;
  color: #f0f0f0 !important;
}

.img-btn-r2 {
  background: url('../images/image_button_r2.png') no-repeat;
  width: 66px;
  height: 36px;
  border: none;
  color: #f0f0f0 !important;
}

.img-btn-r3 {
  background: url('../images/image_button_r3.png') no-repeat;
  width: 96px;
  height: 36px;
  border: none;
  color: #f0f0f0 !important;
}

.img-btn-r4 {
  background: url('../images/image_button_r4.png') no-repeat;
  width: 126px;
  height: 36px;
  border: none;
  color: #f0f0f0 !important;
}

.img-btn-y {
  background: url('../images/button_yellow.png') no-repeat;
  background-size: 100% 100%;
  border: none;
  color: #010101 !important;
}

.img-btn-s {
  background: url('../images/button_skyblue.png') no-repeat;
  background-size: 100% 100%;
  border: none;
  color: #010101 !important;
}

.img-btn-s2 {
  background: url('../images/image_button_s2.png') no-repeat;
  width: 66px;
  height: 36px;
  border: none;
  color: #010101 !important;
}

.img-btn-s3 {
  background: url('../images/image_button_s3.png') no-repeat;
  width: 96px;
  height: 36px;
  border: none;
  color: #010101 !important;
}

.img-btn-s4 {
  background: url('../images/image_button_s4.png') no-repeat;
  width: 126px;
  height: 36px;
  border: none;
  color: #010101 !important;
}

.img-btn-d {
  background: url('../images/button_disable.png') no-repeat;
  background-size: 100% 100%;
  border: none;
  color: #747406 !important;
}

.img-btn-d2 {
  background: url('../images/image_button_d2.png') no-repeat;
  width: 66px;
  height: 36px;
  border: none;
  color: #747406 !important;
}

.img-btn-d3 {
  background: url('../images/image_button_d3.png') no-repeat;
  width: 96px;
  height: 36px;
  border: none;
  color: #747406 !important;
}

.img-btn-d4 {
  background: url('../images/image_button_d4.png') no-repeat;
  width: 126px;
  height: 36px;
  border: none;
  color: #747406 !important;
}

.img-btn-logo {
  background: url('../images/logo_button.png') no-repeat;
  background-size: 100% 100%;
  border: none;
}

.img-btn {
  padding: 0;
  border: none;
  background: none;  
  width: 36px;
}

.img-btn img {
  display: block;
  width: 100%;
  height: auto;
}

td.no-wrap {
  white-space: nowrap;
}

a {
  color:#81ddf9;
}

.chara_s {
  position: relative;
  width: 75px;
  height: 75px;
  margin: 4px;
  display: inline-block;
}

.chara_d, .chara_h {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.2s;
}

.chara_h {
  opacity: 0;
}

.chara_s:hover .chara_d {
  opacity: 0;
}

.chara_s:hover .chara_h {
  opacity: 1;
}

#my-modal {
  display: none;
  place-items: center;
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.8); 
  z-index: 100;
}

.chara_popup {
  position: relative;
  /*
  background-color: rgba(0, 0, 64, 1.0);
	background-image: url('../images/chara_frame.png');
	background-repeat: no-repeat;
  */
	background: none;
  width: 720px;
  height: 440px;
}

.chara_image_area {
  position: absolute; 
	background-image: url('../images/chara/chara_frame_back.png');
	background-repeat: no-repeat;
  top: 32px;
  left: 32px;
  width: 336px;
  height: 403px;
}


#chara_image {
  position: absolute; 
  width: 300px;
  height: 367px;
  top: 18px;
  left: 18px;
  z-index: 1;
}

.chara_name_en_area {
  position: absolute; 
  display: flex;
  justify-content: center;
  align-items: end;
  width: 100%;
  height: 100%;
}

#chara_image_area_front {
  position: absolute; 
  display: flex;
  justify-content: center;
  align-items: center;
  width: 340px;
  height: 407px;
  z-index: 3;
}

#chara_name_en {
  height: auto;
  z-index: 6;
};

.chara_name_area {
  position: absolute; 
  width: 336px;
  bottom: -32px;
  left: 0px;
  text-align: center;
  z-index: 5;
}

#chara_image_area_front {
  position: absolute; 
	background-repeat: no-repeat;
  top: -2px;
  left: -2px;
  width: 340px;
  height: 407px;
  z-index: 3;
}

#chara_jp {
  font-size: 2.0em;
  font-style: italic;
  text-shadow: #FC0 1px 0 10px;
}

.chara_text_area {
  position: absolute; 
  top: 80px;
  left: 400px;
  width: 300px;
  height: 400px;
}

#chara-list {
  background-color: rgba(0, 0, 0, 0.5);
  margin: 0;
	padding: 8px;
  border-radius: 10px;
}

.story_area {
  background-color: rgba(0, 0, 0, 0.65);
  margin: 0;
	padding: 8px;
}

.news_area {
  background-color: rgba(0, 0, 0, 0.65);
  margin: 0;
	padding: 8px;
  position: relative;
  border-radius: 10px;
}

.news_area p {
  margin-bottom: 2px;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  background-color: transparent;
}

.nav-link .tab1 {
  background-image: url("../images/button_news1.png");
  width: 114px;
  height: 41px;
}

.nav-link.active .tab1 {
  background-image: url("../images/button_news2.png");
  width: 114px;
  height: 41px;
}

.nav-link .tab2 {
  background-image: url("../images/button_chara1.png");
  width: 114px;
  height: 41px;
}

.nav-link.active .tab2 {
  background-image: url("../images/button_chara2.png");
  width: 114px;
  height: 41px;
}

.nav-link .tab3 {
  background-image: url("../images/button_story1.png");
  width: 114px;
  height: 41px;
}

.nav-link.active .tab3 {
  background-image: url("../images/button_story2.png");
  width: 114px;
  height: 41px;
}

table, td, th {
	border: 1px #fff solid;
	margin: 4px;
  padding: 4px;
}

th {
  text-align: center;
}

div.help {
  background-color: rgba(0, 0, 0, 0.65);
  margin: 4px;
	padding: 4px;
  border-radius: 10px;
}

div.help h6 {
  font-size: 1.5em;
  font-style: italic;
  text-shadow: #FC0 1px 0 10px;
  margin-top: 1em;
}

div.help h5 {
  font-size: 1.2em;
  margin-top: 1em;
}

span.red {
  color: red;
}

span.green {
  color: rgb(1, 237, 1);
}

span.blue {
  color: blue
}

span.yellow {
  color: yellow;
}

td.yellow {
  color: yellow;
}

td.red {
  color: red;
}

img.gameflow {
  height: 360px;
}