@import "https://fonts.googleapis.com/css?family=Open+Sans:400,600";
* {
  box-sizing: border-box;
}

img, legend {
  border: 0;
}

legend, td, th {
  padding: 0;
}

body {
  margin: 0;
  background: url(../img/bg.jpg) center center no-repeat #000;
  font-family: Helvetica,Arial,'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','モリサワ 新ゴ R','Droid Sans',メイリオ,sans-serif;
  -webkit-text-size-adjust: 100%;
}

h1 {
  margin: 0;
  color: #fff;
  text-align: center;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

sub, sup {
  position: relative;
}

footer {
  left: 0;
  bottom: 0;
}

html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

audio, canvas, progress, video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden], template {
  display: none;
}

a {
  background-color: transparent;
}

a:active, a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b, optgroup, strong {
  font-weight: 700;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sup {
  top: -.5em;
}

sub {
  bottom: -.25em;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

pre, textarea {
  overflow: auto;
}

code, kbd, pre, samp {
  font-family: monospace,monospace;
  font-size: 1em;
}

button, input, optgroup, select, textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, html input[type=button], input[type=reset], input[type=submit] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled], html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type=checkbox], input[type=radio] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  height: auto;
}

input[type=search] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid silver;
  margin: 0 2px;
  padding: .35em .625em .75em;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

footer,
header {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FE00D6), to(#F10ECF));
  background: linear-gradient(to bottom, #FE00D6 0, #F10ECF 100%);
  border: 2px solid #000;
}

footer {
  position: fixed;
  width: 100%;
  z-index: 200;
  margin-top: 100px;
}

h1 {
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: 16px;
  padding: 10px;
  font-weight: bold;
  text-shadow: -1px -1px 1px rgba(255, 255, 255, 0.5), 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.copy {
  text-align: center;
  font-size: 12px;
  color: #fff;
  padding: 10px;
}

p {
  margin: 0;
}

ul {
  margin: 0;
}

a {
  color: #47d3ff;
}

#screen,
#wrapper,
#touch-layer,
#waves,
#info-screen {
  position: relative;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

#wrapper {
  top: 50px;
}

#title {
  position: fixed;
  text-align: center;
  width: 100%;
  color: white;
  margin-top: .2em;
  z-index: 11;
}

#screen,
#capture-screen,
#ring-screen {
  position: relative;
}

/* Accuracy ring */
#ring-screen {
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 3;
}

#ring {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border: 2px solid white;
  border-radius: 100px;
}

#ring-active {
  border: 2px solid #64DD17;
  border-radius: 100px;
}

#ring-fill {
  width: 150px;
  height: 150px;
}

/* Capture Screen */
#capture-screen {
  display: flex;
  flex-direction: column;
  background-color: #222;
  z-index: 12;
}

#poof-container {
  position: fixed;
  z-index: 10;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}

#poof {
  width: 100%;
  height: 20px;
  opacity: 0.8;
  background-image: url("../img/pkmngo-poof.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#capture-ball {
  position: relative;
  width: 200px;
  height: 200px;
  background-image: url("../img/soustu-ball.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

#capture-ball-button-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

#capture-ball-button {
  width: 30px;
  height: 30px;
  margin-top: -20px;
  border-radius: 20px;
  opacity: 0.8;
  background-color: red;
}

#target-container {
  position: relative;
}

#target {
  width: 140px;
  height: 140px;
  -webkit-transform: rotate(-10deg);
          transform: rotate(-10deg);
  background-image: url("../img/soutsu-kun.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: 2;
  top: 200px;
}

#ball {
  position: fixed;
  height: 50px;
  width: 50px;
  border-radius: 25px;
  bottom: 10%;
  background-image: url("../img/soustu-ball.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: 3;
}

#touch-layer {
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 10;
}

#capture-status {
  position: absolute;
  font-size: 1em;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 1em 0.2em;
  color: #FFF;
  z-index: 20;
}

#particles {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.particle {
  position: fixed;
  width: 7px;
  height: 7px;
  background-color: #fff;
  border-radius: 5px;
  opacity: 0.7;
  z-index: 1;
}

#capture-confetti {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 6;
}

#capture-confetti > div.particle {
  height: 10px;
  width: 10px;
  opacity: 0.9;
  background-color: #4aa6fb;
}

.flex-center, #screen,
#capture-screen,
#ring-screen, #poof-container, #capture-ball-button-container, #target-container, #info-button {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.fixed-full-width, #capture-screen, #info-screen, #info-shade, #info-text {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.hidden {
  display: none !important;
}

/*Info screen*/
#info-button {
  position: fixed;
  top: 8px;
  right: 8px;
  z-index: 15;
  width: 30px;
  height: 30px;
  color: #FFF;
  cursor: pointer;
}

#info-screen {
  z-index: 14;
}

#info-shade {
  background-color: #222;
  opacity: 0.89;
}

#info-text {
  display: flex;
  flex-direction: column;
  padding: 1em;
  font-size: 0.9em;
  color: white;
}

.flex-center, #screen,
#capture-screen,
#ring-screen, #poof-container, #capture-ball-button-container, #target-container, #info-button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fixed-full-width{
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.hidden {
  display: none !important;
}

/*他のゲーム*/
.link-01,
.link-02,
.link-03 {
  display: block;
  width: 270px;
  margin: 0 auto 10px;
  padding: 10px 15px 10px 5px;
  border: 2px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  text-align: left;
  font-size: 14px;
}

.link-01 i,
.link-02 i,
.link-03 i {
  color: red;
}

.link-01 {
  background: url(../../img/bg_01.png) 215px center no-repeat #fff;
  -webkit-background-size: 80px auto;
  background-size: 80px auto;
}

.link-02 {
  background: url(../../img/bg_02.png) 215px center no-repeat #fff;
  -webkit-background-size: 80px auto;
  background-size: 80px auto;
}

.link-03 {
  background: url(../../img/bg_03.png) 200px center no-repeat #fff;
  -webkit-background-size: 80px auto;
  background-size: 80px auto;
}

.line {
  color: #50C900;
}