html, body{
    height: 100%;
}
body{
    word-break: break-all;
}

/*ヘッダー*/
#app_name{
    color: #0004ff;
    font-weight: bold;
}

#app_top_nav{
    padding: 2px 10px;
}
.nav_icon_box{
    font-size: 9px;
    text-align: center;
    width: 50px;
    font-weight: bold;
    text-shadow: 
    white 2px 0px,  white -2px 0px,
    white 0px -2px, white 0px 2px,
    white 2px 2px , white -2px 2px,
    white 2px -2px, white -2px -2px,
    white 1px 2px,  white -1px 2px,
    white 1px -2px, white -1px -2px,
    white 2px 1px,  white -2px 1px,
    white 2px -1px, white -2px -1px;
}
.nav_icon_box i{
    font-size: 20px;
}
.nav_icon_box a{
    display: block;
}
.nav_icon_box a:link, .nav_icon_box a:visited, .nav_icon_box a:hover, .nav_icon_box a:active {
    color: #444;
    text-decoration: none;
}

#new_notification_count .show{
    position: absolute;
    top:0;
    right: 6px;
    background-color: #ff3300;
    color: #fff;
    border-radius: 3px;
    padding: 0 6px;
    font-weight: bold;
    text-shadow: none;
}


/* 未ログイン時レイアウト */
#welcome_top_container{
    width: 100%;
    max-height: 700px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
#welcome_top_container:before{
    content: "";
    display: block;
    padding-top: 70%;
}
#top_title_icon{
    animation: top_title_fadeIn 2s ease 0s 1 normal;
    -webkit-animation: top_title_fadeIn 2s ease 0s 1 normal;
    position: absolute;
    left: 0;
    right: 0;
    margin-right: auto;
    margin-left: auto;
    width: 70%;
    max-width: 600px;
    height: auto;
    top: 0;
}
@keyframes top_title_fadeIn {
    0% {opacity: 0; top: 30px;}
    100% {opacity: 1;}
}
@-webkit-keyframes top_title_fadeIn {
    0% {opacity: 0; top: 30px;}
    100% {opacity: 1;}
}

footer{
    position: sticky;
    top: 100vh;
}

/*メインコンテンツレイアウト*/
#loading_mask{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 4000;
    background-color: #f8fafc;
    display:none;
}
#loading_mask div{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

#top_msg_area{
    margin: 5px;
    padding: 5px;
    border: 1px solid #ccc;
    display: none;
}

#command_area_mobile{
    margin: auto;
    padding: 5px 5px 51px 5px;
    background-color: #fff;
    border-top: solid 5px #65ace4;
    border-right: solid 5px #65ace4;
    border-left: solid 5px #65ace4;
    z-index: 4;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    opacity: 0;
    transform: translateY(100%);
    overflow-y: scroll;
    height: 710px;
}

.command_area .command_title{
    font-size: 16px;
    margin-top: 10px;
}
#command_list_box{
    display: none;
}
.command_area .command_btn, #top_buttons .command_btn, #top_leader_buttons .command_btn{
    width: 95px;
    padding: 10px 0;
    display: inline-block;
    font-size: 12px;
    border: 1px solid #666;
    background-color: #65ace4;
    color: #fff;
    margin: 1px;
    position: relative;
}
.command_area .command_btn .notification, #top_buttons .command_btn .notification, #top_leader_buttons .command_btn .notification{
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 14px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 10px;
    background-color: #ff3300;
    text-align: center;
    color: #fff;
    font-weight: bold;
}
.command_area .btn_disabled, #top_buttons .btn_disabled, #top_leader_buttons .btn_disabled{
    background-color: #ccc;
    color: #999;
}
.command_area .command_btn i{
    margin-right: 5px;
}

#game_area{
    overflow-y:scroll;
    overflow-x:hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
#game_area::-webkit-scrollbar {
    display:none;
}
#game_area, #tubuyaki_area, .top_notification_box{
    /* margin: 5px 5px 46px 5px; */
    margin: 5px;
    background-color: #fff;
}
#tubuyaki_area{
    margin-bottom: 46px;
}

.top_notification_box{
    border: 3px solid #ff3300;
}

.common_background{
    min-height: 200px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 0;
    margin: -5px;
    padding: 5px;
}
.common_background:before{
    content: '';
    background: inherit;
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: -1;
}

.game_select_container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.game_select_container .game_select_box{
    width: 300px;
    padding: 5px 0;
}
.game_select_container .game_select_box .game_select_btn{
    background-color: rgba(255,255,255,0.8);
    margin: 10px 0;
    padding: 5px;
}
.game_select_container .game_select_box .game_select_btn .title, .game_select_container .game_select_box .game_select_btn .disable_title{
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}
.game_select_container .game_select_box .game_select_btn .title{
    color: #3490dc;
}
.game_select_container .game_select_box .game_select_btn .disable_title{
    color: #6c757d;
}
.game_select_container .game_select_box .page_area, .pagenation_content_page_area{
    margin: 10px 0;
    height: 35px;
    position: relative;
}
.game_select_container .game_select_box .page_area .prev, .game_select_container .game_select_box .page_area .next, .pagenation_content_page_area .prev, .pagenation_content_page_area .next{
    position: absolute;
    width: 60px;
    padding: 2px;
    font-weight: bold;
    text-align: center;
    background-color: rgba(255,255,255,0.8);
}
.game_select_container .game_select_box .page_area .prev, .pagenation_content_page_area .prev{
    top: 0;
    left: 0;
}
.game_select_container .game_select_box .page_area .next, .pagenation_content_page_area .next{
    top: 0;
    right: 0;
}

/* コントローラーページ */
#master_controller_area .card{
    margin: 10px 0;
}
#master_controller_area .item_title{
    color: #65ace4;
}
#master_controller_area .item_title:hover{
    cursor: pointer;
}
#master_controller_area .control_input{
    display: none;
}

/*スマホフッターメニュー*/
#mobile_nav_area{
    padding-top: 5px;
    background-color: rgba(0, 0, 0, 0.2);
    text-shadow: 
    white 2px 0px,  white -2px 0px,
    white 0px -2px, white 0px 2px,
    white 2px 2px , white -2px 2px,
    white 2px -2px, white -2px -2px,
    white 1px 2px,  white -1px 2px,
    white 1px -2px, white -1px -2px,
    white 2px 1px,  white -2px 1px,
    white 2px -1px, white -2px -1px;
}
#mobile_nav_area .col{
    padding: 0 5px;
}
#mobile_nav_area .mobile_nav_btn{
    font-size: 12px;
    text-align: center;
    color: #3490dc;
}
#mobile_nav_area .mobile_nav_btn i{
    font-size: 22px;
}
#mobile_nav_area .new_arrivals, #command_area_pc .new_arrivals{
    color: #ffa07a;
}
#mobile_nav_area .new_arrivals i, #command_area_pc .new_arrivals i{
    color: #ffa07a;
    margin: 0 2px;
}

/* ダイアログ */
#dialog_loading{
    text-align: center;
    margin: 0 auto;
}


/* 記録ページ */
.record_page_title{
    background-color:#1CB3AC;
    color:#fff;
    position: relative;
    padding: 10px;
}
.record_page_title .nav-tabs .nav-link{
    color: #fff;
}
.record_page_title .nav-tabs .nav-link.active{
    color: #fff;
}


/* BBLコインページ */
.bc_table {
	width:100%;
	border-right:#3EB1C6 solid 1px;
	border-collapse: collapse;
}
.bc_table thead {
	display:none;
}
.bc_table tbody th {
	background:#3EB1C6;
	color:#FFF;
	padding:10px;
	border-bottom:#FFF solid 1px;
	vertical-align:top;
	display:block;
}
.bc_table tbody tr:last-child th {
	border-bottom:#3EB1C6 solid 1px;
}
.bc_table tbody td {
	background:#FFF;
	padding:10px 15px;
	border-left:#3EB1C6 solid 1px;
	border-bottom:#3EB1C6 solid 1px;
	display:block;
}
.bc_table tbody td::before {
	content: attr(label);
	float: left;
	clear:both;
	font-weight:bold;
}
.bc_table tbody td p {
	padding-left:85px;
}
.stripe_btn{
    display: inline-block;
    padding: 3px 12px;
    background: #1275ff;
    background-image: -webkit-linear-gradient(#7dc5ee,#008cdd 85%,#30a2e4);
    background-image: -moz-linear-gradient(#7dc5ee,#008cdd 85%,#30a2e4);
    background-image: -ms-linear-gradient(#7dc5ee,#008cdd 85%,#30a2e4);
    background-image: -o-linear-gradient(#7dc5ee,#008cdd 85%,#30a2e4);
    background-image: -webkit-linear-gradient(#7dc5ee,#008cdd 85%,#30a2e4);
    background-image: -moz-linear-gradient(#7dc5ee,#008cdd 85%,#30a2e4);
    background-image: -ms-linear-gradient(#7dc5ee,#008cdd 85%,#30a2e4);
    background-image: -o-linear-gradient(#7dc5ee,#008cdd 85%,#30a2e4);
    background-image: linear-gradient(#7dc5ee,#008cdd 85%,#30a2e4);
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    text-shadow: 0 -1px 0 rgb(0 0 0 / 25%);
    -webkit-box-shadow: inset 0 1px 0 rgb(255 255 255 / 25%);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
    -ms-box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
    -o-box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 25%);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
}
.bitcash_btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    padding: 03px 5px;
    border-radius: 4px;
    text-align: center;
    vertical-align: middle;
    overflow: hidden;
    font-weight: bold;
    font-size: 14px;
    background-image: -webkit-linear-gradient(#8ae65c 0%, #6bb347 100%);
    background-image: linear-gradient(#8ae65c 0%, #6bb347 100%);
    box-shadow: 0 1px 1px rgb(0 0 0 / 28%);
    margin-top: 10px;
}


/* 練習ページ */
#training_container{
    text-align: center;
}
#training_container .training_box{
    display: inline-block;
    width: 165px;
    vertical-align: top;
    height: 165px;
    position: relative;
    margin: 3px;
    background-color: #e4f0fc;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    transition: .5s;
}
#training_container .training_box:hover{
    cursor: pointer;
    background-size: auto 120%;
}
#training_container .training_info{
    width: 165px;
    vertical-align: top;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
    background-color: rgba(255,255,255,0.8);
    padding: 3px;
    font-weight: bold;
    color: #1d68a7;
}
#training_container .training_title{
    vertical-align: top;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    background-color: rgba(255,255,255,0.8);
    padding: 3px;
    font-weight: bold;
    color: #1d68a7;
    height: 29px;
}
#training_container .training_effect{
    position: absolute;
    top: 0;
    right: 0;
}
#training_container .training_effect div{
    font-size: 9px;
    color: #00a5e7;
    border: 1px solid #00a5e7;
    border-radius: 5px;
    background-color: rgba(255,255,255,0.8);
    padding: 0 2px;
    min-width: 45px;
}
#training_container .training_info .training_ability_type{
    display: inline-block;
    width: 35px;
    position: relative;
    text-align: left;
}
#training_container .training_info .abirity_up_icon{
    position: absolute;
    bottom: 5px;
    margin:auto;
    right: 5px;
    width: 12px;
    height: 12px;
    margin-left: -12px;
    border-right: 2px solid #44aeea;
    border-top: 2px solid #44aeea;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb 2s infinite;
    animation: sdb 2s infinite;
    opacity: 0;
    box-sizing: border-box;
}
#training_container .training_info .abirity_up_icon:nth-of-type(2) {
      bottom: 0;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}
#training_container .training_info .abirity_up_icon:nth-of-type(1) {
    bottom: 5px;
    -webkit-animation-delay: .15s;
    animation-delay: .15s;
}
#training_container .training_info .abirity_up_icon:nth-of-type(3) {
    bottom: 10px;
    -webkit-animation-delay: .3s;
    animation-delay: .3s;
}
#training_container .training_info .abirity_down_icon{
    position: absolute;
    top: 5px;
    margin:auto;
    right: 5px;
    width: 12px;
    height: 12px;
    margin-left: -12px;
    border-left: 2px solid #c50030;
    border-bottom: 2px solid #c50030;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb 2s infinite;
    animation: sdb 2s infinite;
    opacity: 0;
    box-sizing: border-box;
}
#training_container .training_info .minus_color{
    color: #c50030;
}
#training_container .training_info .plus_color{
    color: #44aeea;
}
#training_container .training_info .abirity_down_icon:nth-of-type(2) {
    top:0;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}
#training_container .training_info .abirity_down_icon:nth-of-type(1) {
    top: 5px;
    -webkit-animation-delay: .15s;
    animation-delay: .15s;
}
#training_container .training_info .abirity_down_icon:nth-of-type(3) {
    top: 10px;
    -webkit-animation-delay: .3s;
    animation-delay: .3s;
}
@-webkit-keyframes sdb {
    0% {
      opacity: 0;
    }
    30% {
      opacity: 1;
    }
    70% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
}
@keyframes sdb {
    0% {
      opacity: 0;
    }
    30% {
      opacity: 1;
    }
    70% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
}
#training_container .exp_list .exp_list_box{
    margin: 2px;
}
#training_container .exp_list .gauge{
    border: 1px solid #333;
    background: #999;
    width: 58px;
    overflow: hidden;
    margin: 0 auto;
}
#training_container .exp_list .gauge div{
    height: 11px;
    background-color: #44aeea;
}
#training_container .player_graph_area{
    display: flex;
    justify-content: flex-end;
}
#training_container .player_graph_area .player_graph{
    width:70px;
    height: 70px;
}

#training_container .show_training_table{
    margin: 20px auto;
}
#training_container .show_training_table td{
    vertical-align: middle;
}
#training_container .training_gauge{
    padding: 10px 0; 
}
#training_container .training_gauge .gauge_box{
    position: relative;
    width: 200px;
    height: 31px;
}
#training_container .training_gauge .gauge_box .get_exp_value, #training_container .training_gauge .gauge_box .exp_value{
    position: absolute;
    top: -2px;
    padding: 3px 0;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-weight: bold;
    width: 50px;
    text-align: center;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.8);
}
#training_container .training_gauge .gauge_box .get_exp_value{
    left: 15px;
}
#training_container .training_gauge .gauge_box .exp_value{
    left: 80px;
}
#training_container .training_gauge .gauge{
    border: 2px solid #333;
    background: #999;
    width: 200px;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 3px;
}
#training_container .training_gauge .gauge div{
    height: 25px;
    background-color: #44aeea;
}

#training_container .add_breakingball_box{
    display: inline-block;
    width: 160px;
    margin: 2px;
    vertical-align: middle;
}

/* アイテム */
.item_container{
    text-align: center;
}
.item_container .item_box{
    display: inline-block;
    width: 165px;
    vertical-align: top;
    height: 165px;
    position: relative;
    margin: 3px;
    background-color: #e4f0fc;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    transition: .5s;
    border: 3px solid #fff;
}
.item_container .item_box:hover{
    cursor: pointer;
    background-size: auto 120%;
}
.item_container .item_box .item_price{
    vertical-align: top;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    background-color: rgba(255,255,255,0.8);
    padding: 3px;
    height: 29px;
    font-weight: bold;
}
.item_container .item_box .item_info{
    width: 159px;
    height: 65px;
    vertical-align: top;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
    background-color: rgba(255,255,255,0.8);
    padding: 3px 0;
}
.item_container .item_box .item_info .item_name{
    font-weight: bold;
    color: #1d68a7;
    line-height: 18px;
    margin-bottom: 3px;
}
.item_container .item_box .item_info .item_description{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.item_container .item_box .item_creator{
    position: absolute;
    bottom: 65px;
    right: 0;
    background-color: rgba(255,255,255,0.8);
    font-size: 9px;
}
.item_container .item_box .item_creator span{
    font-size: 12px;
}

.yarikomi_bar_box{
    position: relative;
    height: 25px;
}
.yarikomi_bar{
    width: 100px;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    margin: 5px auto;
    border-radius: 3px;
    border: 2px solid #333;
    background-color: #999;
    overflow: hidden;
}
.yarikomi_bar div{
    height: 5px;
    background-color: #44aeea;
}

/* 競馬 */
#horse_ticket_area .ticket_select_btn{
    padding: 2px 0;
    text-align: center;
    border: 1px solid #333;
    display: inline-block;
    vertical-align: middle;
    margin: 2px;
    font-weight: bold;
}
#horse_ticket_area .ticket_title{
    background-color: #444;
    color: #fff;
    width: 50px;
}
#horse_ticket_area .ticket_select_box .select_number:hover{
    cursor: pointer;
    width: 30px;
}
#horse_ticket_area .ticket_select_box .select_number{
    cursor: pointer;
    width: 30px;
}
#horse_ticket_area .ticket_select_box .selected{
    background-color: #38c172;
    color: #fff;
    width: 30px;
}
#horse_ticket_area .ticket_select_box .no_select{
    color: #ccc;
    width: 30px;
}
#baken_area .baken_box{
    border: 1px solid #444;
    margin: 2px;
}
#baken_area .baken_box, #baken_area .inner_box{
    display: inline-block;
    vertical-align: middle;
}

/* シートバッティング */
#seat_batting_matching .box_container{
    display: flex;
    justify-content: space-between;
}
#seat_batting_matching .player_box{
    width: 100%;
    max-width: 180px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-color: #ececec;
    margin: 0 auto;
    overflow: hidden;
}
#seat_batting_matching .player_box::before{
    content: "";
    padding-top: 100%;
    display: block;
}
#seat_batting_matching .entry_btn{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    color: #3490dc;
    cursor: pointer;
}
#seat_batting_matching .entry_btn i{
    font-size: 68px;
    font-weight: bold;
}
#seat_batting_matching .entry_btn::before, .pulse-btn::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    border: 1px solid #1da1f2;
    border-radius: 50%;
    box-sizing: border-box;
    pointer-events: none;
    animation: pulsate 1.5s linear infinite;
  }
  
#seat_batting_matching .entry_btn::after {
    animation-delay: 1s;
}
  
  /* ボタンの波紋が広がっていくアニメーション */
  @keyframes pulsate {
    0% {
      transform: scale(1);
      opacity: 1;
    }
  
    100% {
      transform: scale(2);
      opacity: 0;
    }
  }

/* デザインボックス */
.border_box{
    padding: 5px 3px;
    border: 3px solid #999;
    border-radius: 3px;
    position: relative;
    margin-bottom: 10px;
}
.border_box table, .border_box td, .border_box th{
    border-top: none;
}
.border_box td, .border_box th{
    display: block;
    width: 100%
}
.border_box td{
    border-bottom: 1px solid #ccc;
}
.border_box table{
    border-collapse: collapse;
}
.border_box .title{
    position: relative;
    z-index: 1;
    padding: 5px 10px;
    display: inline-block;
    font-weight: bold;
    font-size: 18px;
    background: -moz-linear-gradient(to bottom,#f5f5f5,#d3d3d3 20%,#f5f5f5); 
    background: -webkit-linear-gradient(to bottom,#f5f5f5,#d3d3d3 20%,#f5f5f5); 
    background: linear-gradient(to bottom,#f5f5f5,#d3d3d3 20%,#f5f5f5); 
    text-shadow:  white 2px 0px, white -2px 0px, white 0px -2px, white 0px 2px, white 2px 2px, white -2px 2px, white 2px -2px, white -2px -2px, white 1px 2px, white -1px 2px, white 1px -2px, white -1px -2px, white 2px 1px, white -2px 1px, white 2px -1px, white -2px -1px;
    position: relative;
    margin-left: 30px;
    margin-bottom: 20px;
}
.border_box .title::before{
    content: '';
    position: absolute;
    display: block;
    background: -moz-linear-gradient(to bottom,#f5f5f5,#d3d3d3 20%,#f5f5f5); 
    background: -webkit-linear-gradient(to bottom,#f5f5f5,#d3d3d3 20%,#f5f5f5); 
    background: linear-gradient(to bottom,#f5f5f5,#d3d3d3 20%,#f5f5f5); 
    left: -19px;
    top: 0;
    width: 15px;
    height: 20px;
}
.border_box .title::after{
    content: '';
    position: absolute;
    display: block;
    background: -moz-linear-gradient(to bottom,#f5f5f5,#d3d3d3 20%,#f5f5f5); 
    background: -webkit-linear-gradient(to bottom,#f5f5f5,#d3d3d3 20%,#f5f5f5); 
    background: linear-gradient(to bottom,#f5f5f5,#d3d3d3 20%,#f5f5f5); 
    left: -30px;
    top: 0;
    width: 7px;
    height: 10px;
}

/* リスト（スクロール想定の）用ボックス */
.list_box{
    border: 1px solid #ccc;
    width: 100%;
    height: 200px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    font-size: 14px;
    color: #444;
    padding: 3px;
    overflow-y: scroll;
}
.list_box .list_box_title{
    color: #808080;
    margin: 5px;
}
.list_box ul, .list_box li{
    list-style: none;
    margin: 0;
    padding: 0;
}
.list_box li{
    border-bottom: 1px dashed #ccc;
    padding: 3px 0;
}

/* 恋愛 */
.view_google_map{
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
.show_partner_box .dna_view{
    display: inline-block;
    vertical-align: top;
}
.show_partner_box .info{
    display: inline-block;
    vertical-align: top;
}
.dna_view .strain, .dna_view .strain:before, .dna_view .strain:after {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  .dna_view .strain {
    width: 25px;
    height: 1px;
    background-color: #dbdbdb;
    position: relative;
    margin: 0px auto;
    margin-top: 6px;
    margin-bottom: 6px;
    -webkit-animation-name: rotate-strain;
            animation-name: rotate-strain;
    -webkit-animation-duration: 1.7s;
            animation-duration: 1.7s;
    -webkit-animation-timing-function: linear;
            animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
    -webkit-animation-play-state: running;
            animation-play-state: running;
  }
  .dna_view .strain:before {
    content: "";
    display: block;
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    left: 0;
    margin-top: -2px;
    margin-left: -2px;
    -webkit-animation-name: strain-size-left;
            animation-name: strain-size-left;
    -webkit-animation-duration: 1.7s;
            animation-duration: 1.7s;
    -webkit-animation-timing-function: linear;
            animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
    -webkit-animation-play-state: running;
            animation-play-state: running;
  }
  .dna_view .strain:after {
    content: "";
    display: block;
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    right: 0;
    margin-top: -2px;
    margin-right: -2px;
    -webkit-animation-name: strain-size-right;
            animation-name: strain-size-right;
    -webkit-animation-duration: 1.7s;
            animation-duration: 1.7s;
    -webkit-animation-timing-function: linear;
            animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
    -webkit-animation-play-state: running;
            animation-play-state: running;
  }
  .dna_view .strain1:before{
      background-color: #6a6a68;
  }
  .dna_view .strain1:after{
      background-color: #6a6a68;
  }
  .dna_view .strain2:before{
      background-color: #a0c238;
  }
  .dna_view .strain2:after{
      background-color: #a0c238;
  }
  .dna_view .strain3:before{
      background-color: #f2cf01;
  }
  .dna_view .strain3:after{
      background-color: #f2cf01;
  }
  .dna_view .strain4:before{
      background-color: #d06da3;
  }
  .dna_view .strain4:after{
      background-color: #d06da3;
  }
  .dna_view .strain:nth-child(1), .dna_view .strain:nth-child(1):before, .dna_view .strain:nth-child(1):after {
    -webkit-animation-delay: 0.15s;
            animation-delay: 0.15s;
  }
  .dna_view .strain:nth-child(2), .dna_view .strain:nth-child(2):before, .dna_view .strain:nth-child(2):after {
    -webkit-animation-delay: 0.3s;
            animation-delay: 0.3s;
  }
  .dna_view .strain:nth-child(3), .dna_view .strain:nth-child(3):before, .dna_view .strain:nth-child(3):after {
    -webkit-animation-delay: 0.45s;
            animation-delay: 0.45s;
  }
  .dna_view .strain:nth-child(4), .dna_view .strain:nth-child(4):before, .dna_view .strain:nth-child(4):after {
    -webkit-animation-delay: 0.6s;
            animation-delay: 0.6s;
  }
  .dna_view .strain:nth-child(5), .dna_view .strain:nth-child(5):before, .dna_view .strain:nth-child(5):after {
    -webkit-animation-delay: 0.75s;
            animation-delay: 0.75s;
  }
  .dna_view .strain:nth-child(6), .dna_view .strain:nth-child(6):before, .dna_view .strain:nth-child(6):after {
    -webkit-animation-delay: 0.9s;
            animation-delay: 0.9s;
  }
  .dna_view .strain:nth-child(7), .dna_view .strain:nth-child(7):before, .dna_view .strain:nth-child(7):after {
    -webkit-animation-delay: 1.05s;
            animation-delay: 1.05s;
  }
  .dna_view .strain:nth-child(8), .dna_view .strain:nth-child(8):before, .dna_view .strain:nth-child(8):after {
    -webkit-animation-delay: 1.2s;
            animation-delay: 1.2s;
  }
  
  
  @-webkit-keyframes rotate-strain {
    0% {
      width: 25px;
    }
    25% {
      width: 0;
    }
    50% {
      width: 25px;
    }
    75% {
      width: 0;
    }
    100% {
      width: 25px;
    }
  }
  
  @keyframes rotate-strain {
    0% {
      width: 25px;
    }
    25% {
      width: 0;
    }
    50% {
      width: 25px;
    }
    75% {
      width: 0;
    }
    100% {
      width: 25px;
    }
  }
  @-webkit-keyframes strain-size-left {
    0% {
      -webkit-transform: scale(1) translateX(0px);
              transform: scale(1) translateX(0px);
    }
    25% {
      -webkit-transform: scale(0.5);
              transform: scale(0.5);
    }
    50% {
      -webkit-transform: scale(1) translateX(25px);
              transform: scale(1) translateX(25px);
    }
    75% {
      -webkit-transform: scale(1.5);
              transform: scale(1.5);
    }
    100% {
      -webkit-transform: scale(1) translateX(0px);
              transform: scale(1) translateX(0px);
    }
  }
  @keyframes strain-size-left {
    0% {
      -webkit-transform: scale(1) translateX(0px);
              transform: scale(1) translateX(0px);
    }
    25% {
      -webkit-transform: scale(0.5);
              transform: scale(0.5);
    }
    50% {
      -webkit-transform: scale(1) translateX(25px);
              transform: scale(1) translateX(25px);
    }
    75% {
      -webkit-transform: scale(1.5);
              transform: scale(1.5);
    }
    100% {
      -webkit-transform: scale(1) translateX(0px);
              transform: scale(1) translateX(0px);
    }
  }
  @-webkit-keyframes strain-size-right {
    0% {
      -webkit-transform: scale(1) translateX(0px);
              transform: scale(1) translateX(0px);
    }
    25% {
      -webkit-transform: scale(1.5);
              transform: scale(1.5);
    }
    50% {
      -webkit-transform: scale(1) translateX(-25px);
              transform: scale(1) translateX(-25px);
    }
    75% {
      -webkit-transform: scale(0.5);
              transform: scale(0.5);
    }
    100% {
      -webkit-transform: scale(1) translateX(0px);
              transform: scale(1) translateX(0px);
    }
  }
  @keyframes strain-size-right {
    0% {
      -webkit-transform: scale(1) translateX(0px);
              transform: scale(1) translateX(0px);
    }
    25% {
      -webkit-transform: scale(1.5);
              transform: scale(1.5);
    }
    50% {
      -webkit-transform: scale(1) translateX(-25px);
              transform: scale(1) translateX(-25px);
    }
    75% {
      -webkit-transform: scale(0.5);
              transform: scale(0.5);
    }
    100% {
      -webkit-transform: scale(1) translateX(0px);
              transform: scale(1) translateX(0px);
    }
  }


/* 外出 */
#shop_game_container{
    position: relative;
}
#shop_game_container #shop_image_area{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
#shop_game_container .msg_area{
    background-color: rgba(150,150,150,0.8);
    color:#fff;
    height: 115px;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    text-align: left;
}
#shop_game_container .msg_area div{
    margin: 5px;
    border: 1px solid #fff;
    padding: 2px;
    height: 105px;
}
#shop_game_container .name_area{
    text-align: left;
    color: #fff;
    position: absolute;
    bottom: 115px;
    left: 0;
    line-height:15px;
    display:inline-block;
	height:35px;
	min-width:100px;
	border-bottom: 30px solid rgba(150,150,150,0.8);
	border-right: 20px solid transparent;
	padding:5px 0 0 5px;
	-webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}
#shop_game_container .name_area .name_title{
    font-size: 11px;
}
#shop_game_container .name_area .name{
    font-weight: bold;
}
#shop_game_container .msg_area div .shop_game_msg_end_point{
    animation: blinking 0.5s ease-in-out infinite alternate;
}
@keyframes blinking {
	0% {opacity: 0;}
	100% {opacity: 1;}
}
.shop_game_open_select_box{
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
}

@keyframes mizu_yuragi
{
  from
  {
    color:#3300cc;
    transform : translateY(-20px);
  }
  
  50%
  {
    color:#3300cc;
    transform : translateY(40px) rotateY(-90deg) rotateX(180deg);
  }
  
  to
    {
    color:#3300cc;
    transform : translateY(-20px) rotateY(360deg) rotateX(0deg);
  }
}


/* 会社 */
.company_container .canvas_box{
	display:inline-block;
	vertical-align: middle;
	margin-top:20px;
	width:150px;
	height:180px;
	border:1px solid #ccc;
}
.company_container .content_title{
	color:#65ace4;
	text-align: center;
	font-size:12px;
}
.company_container .content_title span:hover{
	cursor:pointer;
}

.company_container #control_box{
	margin-top:20px;
	border:1px solid #ccc;
}
.company_container #control_box > div{
	margin-bottom:10px;
	display:inline-block;
	vertical-align:middle;
	width:300px;
}
.company_container #topinfo_box{
	text-align: left;
}

.company_container #company_info_box{
	font-size:14px;
	text-align :left;
	margin:10px;
	border-bottom:1px solid #ccc;
}

.company_container #command{
	width: 100%;
	border-collapse:separate;
	border-spacing: 0;
	color:#65ace4;
	height:200px;
}
.company_container #command td{
	text-align: center;
	border: 1px solid #a8b7c5;
	border-bottom:none;
	box-shadow: 0px -3px 5px 1px #eee inset;
	width: 25%;
	padding: 10px 0;
	font-weight:normal;
	font-weight:bold;
}
.company_container #command td:hover{
	cursor:pointer;
	text-shadow: 
    black 2px 0px,  black -2px 0px,
    black 0px -2px, black 0px 2px,
    black 2px 2px , black -2px 2px,
    black 2px -2px, black -2px -2px,
    black 1px 2px,  black -1px 2px,
    black 1px -2px, black -1px -2px,
    black 2px 1px,  black -2px 1px,
    black 2px -1px, black -2px -1px;
}
.company_container #command tr:first-child td:first-child {
	border-radius: 5px 5px 0 0;
}
.company_container #command tr:last-child td:last-child {
	border-bottom: 1px solid #a8b7c5;
	border-radius: 0 0 5px 5px;
}

.company_container .company_table {
	margin: 0 auto;
	font-size: 12px;
}
.company_container .company_table th,
.company_container .company_table td {
	padding: 10px;
}
.company_container .company_table th {
	background: #295890;
	vertical-align: middle;
	text-align: center;
	color: #fff;
	font-weight: normal;
	font-size: 15px;
}
.company_container .company_table .arrow_box {
	text-align: left;
	overflow: visible;
	position: relative;
}
.company_container .company_table .arrow_box:after {
	left: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(136, 183, 213, 0);
	border-left-color: #295890;
	border-width: 10px;
	margin-top: -10px;
}
/* firefox */
@-moz-document url-prefix() {
	.company_container .company_table .arrow_box::after {
		float: right;
		padding: 0;
		left: 30px;
		top: 10px;
		content: " ";
		height: 0;
		width: 0;
		position: relative;
		pointer-events: none;
		border: 10px solid transparent;
		border-left: #295890 10px solid;
		margin-top: -10px;
	}
}
.company_container .company_table td {
	background: #f8f8f8;
	width: 360px;
	padding-left: 20px;
}

.company_container .company_table #company_team_create{
	color:#65ace4;
}
.company_container .company_table #company_team_create:hover{
	cursor:pointer;
}

.company_container #member_table{
	font-size:12px;
	border-collapse: collapse;
	height:180px;
}
.company_container #member_table, .company_container #member_table th, .company_container #member_table td{
	border:1px solid #ccc;
}

.company_container #kabu_buy_box{
	border:2px solid #aaa;
	text-align: center;
	margin:10px auto;
	padding:10px;
	max-width:300px;
}
.company_container #kabu_buy_box div{
	font-size: 18px;
}
.company_container #kabu_buy_box #price_disp,.company_container #kabu_buy_box #money_disp{
	display: inline-block;
	margin-right:1px;
	padding-right:5px;
}
.company_container #kabu_buy_box #price_disp, .company_container #kabu_buy_box input, .company_container #kabu_buy_box #money_disp{
	width: 150px;
	text-align: right;
	font-size: 18px;
	margin: 5px 0 0 5px;
}

.company_container .kabu_hoyuu_company,.company_container .kabu_hoyuu_sell{
	color:#65ace4;
}
.company_container .kabu_hoyuu_company:hover,.company_container .kabu_hoyuu_sell:hover{
	cursor: pointer;
}

.company_container .company_product_content{
	text-align: left;
	display:inline-block;
	width:150px;
	border:2px solid #ccc;
	padding:2px;
	margin:2px;
	vertical-align: top;
}
.company_container .company_product_content div{
	font-size:12px;
}
.company_container .company_product_content .product_status{
	font-size:16px;
}
.company_container .company_product_content .product_name{
	font-weight:bold;
	font-size:16px;
}
.company_container .company_product_content .product_description{
	font-size:12px;
	margin-bottom:10px;
}

.company_container #challenge_num_list_box{
	text-align:center;
	max-width:310px;
	margin:0 auto;
	background-color: antiquewhite;
}
.company_container #challenge_num_list_box .challenge_num_list{
	display:inline-block;
	padding:2px 8px;
	border:1px solid #ccc;
	margin:2px;
}
.company_container #challenge_num_list_box .checked{
	background-color: #eee;
	color:#ccc;
}


/*PC向け*/
@media only screen and (min-width: 1020px) {
    /*メインコンテンツレイアウト*/
    #main_container{
        width: 1020px;
        margin: 0 auto;
    }

    #command_area_pc{
        width: 304px;
        padding: 5px 6px;
        background-color: #fff;
        margin: 0 5px 5px 5px;
        position: static;
        float: left;
    }
    .command_area .command_title{
        text-align: center;
    }

    #game_area, #tubuyaki_area, .top_notification_box{
        width: 700px;
        padding: 5px;
        margin: 5px 5px 5px 316px;
    }
    #tubuyaki_area{
        margin-bottom: 5px;
    }

    #mobile_nav_area{
        clear: both;
        display: none;
    }

    /* デザインボックス */
    .border_box td, .border_box th{
        border-bottom: 1px solid #ccc;
        display: table-cell;
        width: auto;
    }

    /* 会社 */
    .company_container .canvas_box{
        width:150px;
    }
}

/*標準で画面幅の狭い端末用に合わせておき、ここで幅に余裕のある端末用に調整する*/
@media only screen and (min-width: 375px) {
    /*ヘッダー*/
    #app_top_nav{
        padding: 2px 16px;
    }
    .nav_icon_box{
        font-size: 12px;
        width: 66px;
    }
    .nav_icon_box i{
        font-size: 22px;
    }


    /*スマホフッターメニュー*/
    #mobile_nav_area .col{
        padding: 0 15px;
    }
}