@charset 'utf-8';

/*==============================================*/
/* 夜Cha!王(やっちゃおう)スマートフォン用CSS    */
/*                                              */
/* Global                                       */
/*==============================================*/
* {  
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
article, aside, canvas, details, figcaption, figure, 
header, footer, main, menu, nav, section, summary {
  display: block;
}
html {
  font-size: 16px;
  line-height: 1.6em;
}
body {
  font-size: 1.4rem;
  -webkit-text-size-adjust: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック  Medium', meiryo, sans-serif;
  color: #333333;
}
img {
  border: none;
}
ul {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
}

/* Contents */
header {
  margin: 0 auto;
  padding: 0;
  width: 640px;
  height: 60px;
  background-color: #cc0101;
}
header h1 {
  margin: 0 auto;
  padding: 5px;
  width: 640px;
  height: 50px;
}
header h1 img {
  vertical-align: middle;
}
header h1 span {
  margin-left: 10px;
  padding: 0 20px;
  display: inline-block;
  color: #cc0101;
  background-color: #ffffff;
  font-size: 20px;
  height: 40px;
  line-height: 40px;
  vertical-align: middle;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
}
h2 {
  margin: 0 auto;
  padding: 2px 0;
  width: 640px;
  font-size: 16px;
  text-align: center;
  color: #ffffff;
  background-color: #dc0101;
}
footer {
  margin: 30px auto 0 auto;
  padding: 20px 0;
  width: 640px;
  border-top: 1px solid #b6b6b6;
  background-color: #f3f3f3;
}
a.footer-link {
  margin: 0 auto 20px auto;
  width: 600px;
  height: 36px;
  line-height: 36px;
  display: block;
  text-align: center;
  background-color: #1a4da2;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  font-weight: bold;
  font-size: 16px;
  color: #ffffff;
}
p.footer-msg {
  margin: 0 auto;
  width: 600px;
  height: 30px;
  line-height: 30px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  color: #ffffff;
  text-align: center;
  background-color: #ef3d55;
  font-weight: bold;
}
p.copy {
  padding-top: 10px;
  text-align: center;
  font-weight: bold;
}

/* Contents Header Title */
h3.contents-header-title {
  margin: 10px auto;
  padding: 0 10px;
  width: 640px;
  height: 48px;
  line-height: 48px;
  background-color: #f84e7c;
  color: #ffffff;
  border-bottom: 4px solid #fdc4d3;
}
h3.ranking-color {
  background-color: #ffd700;
  border-bottom: 4px solid #daa520;
}
h3.search-color {
  background-color: #90c3fa;
  border-bottom: 4px solid #4499f7;
}
h3.now-working-color {
  background-color: #db133b;
  border-bottom: 4px solid #a30e2c;
}
h3.comment-color {
  background-color: #00b300;
  border-bottom: 4px solid #007d00;
}
h3.contents-header-title svg {
  margin-right: 16px;
  width: 24px;
  height: 24px;
  fill: #ffffff !important;
  vertical-align: middle;
}
h3.contents-header-title span {
  margin: 0 16px;
  padding: 0 16px;
  font-size: 18px;
  background-color: #ffffff;
  color: #f84e7c;
  height: 24px;
  line-height: 24px;
  display: inline-block;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
}
h3.contents-header-title span svg {
  margin-right: 8px;
  width: 18px;
  height: 18px;
  fill: #f84e7c !important;
  vertical-align: middle;
}
h3.ranking-color span {
  color: #ffd700;
}
h3.ranking-color span svg {
  fill: #ffd700 !important;
}
h3.search-color span {
  color: #90c3fa;
}
h3.search-color span svg {
  fill: #90c3fa !important;
}
h4.contents-sub-header-title {
  margin: 10px auto;
  padding: 0 10px;
  width: 640px;
  height: 48px;
  line-height: 48px;
  background-color: #f84e7c;
  color: #ffffff;
  border-bottom: 4px solid #fdc4d3;
}
h4.contents-sub-header-title svg {
  margin-right: 16px;
  width: 24px;
  height: 24px;
  fill: #ffffff !important;
  vertical-align: middle;
}

/* Modal Window */
div#modal-gps-layer {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99998;
  background-color: rgba(255, 255, 255, .8);
  display: none;
}
div#modal-gps-box {
  margin-top: -120px;
  margin-left: -100px;
  width: 200px;
  height: 240px;
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #ffffff;
}
div#modal-gps-box p {
  width: 200px;
  text-align: center;
  color: #00c2ff;
}
div#modal-layer {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99998;
  background-color: rgba(0, 0, 0, .8);
  display: none;
}
div#modal-window {
  margin: 35px auto;
  padding: 0;
  width: 620px;
  height: calc(100% - 130px);
  background-color: #ffffff;
}
div#modal-window-caption {
  margin: 0;
  padding: 10px;
  width: 100%;
  height: 70px;
  line-height: 50px;
  background-color: #50a1f3;
  color: #ffffff;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
div#modal-window-close-button {
  z-index: 99999;
  position: fixed;
  top: 40px;
  left: calc(50% + 250px);
}
div#modal-window-close-button a {
  width: 53px;
  height: 53px;
  display: block;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  background-color: #50a1f3;
}
div#modal-window-close-button a svg {
  margin: 4px;
  width: 46px;
  height: 46px;
  fill: #ffffff !important;
}
div#modal-window-contents {
  margin: 0;
  padding: 0;
  width: 100%;
  height: calc(100% - 130px);
  background-color: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
}
img#modal-loading {
  margin-left: auto;
  margin-right: auto;
  margin-top: calc(50% - 64px);
  width: 128px;
  height: 128px;
  display: block;
  opacity: .3;
  animation: loading 3s linear infinite;
}
@keyframes loading {
  from {
  }
  to {
    transform: rotate(-360deg);
    transform-origin: 50% 50%;
  }
}
div.modal-sub-caption {
  padding: 0 10px;
  width: 100%;
  height: 40px;
  line-height: 40px;
  background-color: #000000;
  color: #ffffff;
  text-align: right;
  border-radius: none;
  -webkit-border-radius: none;
  -moz-border-radius: none;
}

/* Bottom Layer Window */
div#bottom-layer-window {
  margin: 0;
  padding: 10px;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 99998;
  background-color: rgba(0, 0, 0, .8);
}
div.bottom-layer-contents {
  margin: 0 auto;
  padding: 0;
  width: 620px;
  height: 60px;
}

/* Clear Fix */
.clearfix:after {
  content: '';
  display: block;
  clear: both;
}
.clearfix {
  overflow: hidden;
  zoom: 1;
}
