@charset "utf-8";

/*---------------------------------

  共通

---------------------------------*/
body {
  padding: 0;
  margin: 0;
}
/*  
  ボタン
---------------------------------*/
.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:active {
  -webkit-transform: translateY(4px);
  transform: translateY(4px);
  border-bottom: none;
}

/*---------------------------------

  トップページ

---------------------------------*/
#top {
  position: relative;
  background-color: #66d1f7;
  height: 100vh;
}

#top .content {
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
  z-index: 20;
}

#top .title {
  margin: 20px 0;
}

#top .message {
  margin: 20px 0;
}

/*  
  背景デザイン
---------------------------------*/
.back-ground,
.back-riverbed,
.back-river {
  position: absolute;
  width: 100%;
  z-index: -2;
}

.back-ground {
  bottom: 11%;
  height: 12%;
  background-color: #8cc63f;
}

.back-riverbed {
  bottom: 9%;
  height: 2%;
  background-color: #a67c52;
}

.back-river {
  bottom: 0;
  height: 9%;
  background-color: #29abe2;
}

.back-image-daytime_01,
.back-image-daytime_02 {
  position: absolute;
  width: 100%;
  left: 0;
  right: 0;
  margin: auto;
  z-index: -1;
}

.back-image-daytime_01 {
  bottom: 23%;
  height: 5%;
}

.back-image-daytime_02 {
  bottom: 13%;
  height: 12%;
}

/*---------------------------------

  使い方

---------------------------------*/
#howto {
  background: #fff;
}

#howto img {
  margin: 20px;
  padding: 0;
  border: 0;
  max-width: 100%;
}

/*---------------------------------

  ゲーム画面

---------------------------------*/
#game {
  background-color: #244b75;
}

#game .content {
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
  z-index: 20;
}

/*  
  アルバム
---------------------------------*/
.popup {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: .6s;
  overflow-y: scroll;
}

.popup.is-show {
  opacity: 1;
  visibility: visible;
}

.popup-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  max-width: 800px;
  padding: 50px;
  background-color: #fff;
  z-index: 2;
  overflow-y: scroll;
}

.popup-inner img {
  width: 100%;
}

.close-btn {
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
}

.close-btn i {
  font-size: 20px;
  color: #333;
}

.black-background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .8);
  z-index: 1;
  cursor: pointer;
}