@charset "utf-8";

/* color common
-------------------------------------------------- */
#header a, #footer a {
  color: #fff;
}

#content,
input,
.paging > span {
  background-color: #fff;
  color: #333;
}

a,
.small-block,
.detail small,
#header a.label,
.search-switch label {
  color: #666;
}

a:hover {
  color: #777;
}

.small-block,
.label, .btn,
.paging > span,
input[type="text"], input[type="submit"] {
  background-color: #fff;
  border: 1px solid #ccc;
}

.voted .vote-btn,
.voted .vote-btn:hover {
  color: #666;
  background-color: #ddd;
  border: 1px solid #ccc;
  cursor: text;
}

.light-color {
  color: #aaa;
}


/* color site
-------------------------------------------------- */
body,
.overLayer,
.paging .current,
.paging .current:hover,
.search-switch input[type="radio"]:checked + .switch-label {
  background-color: #ccc;
  color: #fff;
}

.view .detail, .sub,
.paging,
.list .data:nth-child(odd),
.related .data:nth-child(even),
.label:hover, .btn:hover, input[type="submit"]:hover,
.paging > span:hover,
#air-comment-form,
#header a.label,
.search-switch label {
  background-color: #dee;
}

.vote-btn,
input[type="text"], input[type="submit"] {
  border: 1px solid #ccc;
  color: #ccc;
}

/* font-base
-------------------------------------------------- */
body {
  font-family: Avenir, Roboto, "Helvetica Neue", Helvetica, "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

h1, h2, h3 {
  font-weight: bold;
}

h4 {
  font-weight: normal;
}

h1 a, .related h4 a,
a:hover, .related h4 small a:hover,
a.label, a.btn,
.paging a,
.list h3 a {
  text-decoration: none;
}

.related h4 small a {
  text-decoration: underline;
}

/* font-size
-------------------------------------------------- */
html {
  font-size: 14px;
}

h1 {
  font-size: 1.4rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.6rem;
}

.related h4 {
  font-size: 1.4rem;
}

h4 {
  font-size: 1.0rem;
}

.btn, .site-description, .related h4.adsense-title, h4.adsense-title {
  font-size: 0.9rem;
}

.primary-btn {
  font-size: 1.4rem;
}

.small-block, small, .label, #footer {
  font-size: 0.8rem;
}

#header .label, #footer small {
  font-size: 0.6rem;
}

.x-small {
  font-size: 0.2rem;
}

/* block base
-------------------- */
.paging .disabled {
  display: none;
}

.btn, .label,
.paging > span,
.paging .current,
.paging a,
#air-comment-form input {
  display: inline-block;
}

h2, .view h3, .related h3, .sub,
.sort,
.paging-footer p,
.paging,
.no-data, #air-comment-form {
  text-align: center;
}

/*
-------------------- */
.btn, .label,
input[type="text"], input[type="submit"],
.paging > span {
  border-radius: 4px;
}

*, h1 {
  margin: 0;
  padding: 0;
  -webkit-margin-before: 0;
  -webkit-margin-after: 0;
  -webkit-margin-start: 0;
  -webkit-margin-end: 0;
}

#header,
#footer,
.search-header, .view h2, .related h3, .related .data, .view .detail, .sub,
.paging,
.list .data,
.no-data, #air-comment-form {
  padding: 16px 8px;
}

.small-block {
  padding: 8px;
}

.label, .btn,
input[type="submit"] {
  margin: 1px;
  padding: 2px 4px;
}

input[type="text"] {
  padding: 4px;
}

h2 small, h3 small, h4 small,
.vote-btn span {
  margin-left: 2px;
}

.detail small {
  margin-left: 4px;
}

.fa {
  margin-right: 2px;
}

.site-description {
  margin-right: 12px;
  margin-bottom: 8px;
}

.tag-group, .vote-group {
  margin-top: 2px;
}

/* Paging */
.paging > span {
  margin: 1px;
}

.paging .current,
.paging a {
  width: 24px;
  padding: 8px;
}

#search-form {
  display: block;
  text-align: center;
  padding: 8px;
  background-color: #fff;
  border-radius: 4px;
}

/*#header-title { float: left; }*/
/*#search-form { float: right; }*/
/*@media screen and (max-width: 640px) {*/
/*#search-form {*/
/*float: none;*/
/*}*/
/*}*/

.search-switch {
  display: inline-block;
}

.search-switch input,
.search-switch label.gone {
  display: none;
}

.search-switch label {
  display: inline-block;
  text-align: center;
  cursor: pointer;
  font-size: 0.8rem;
  margin: 0;
  padding: 4px 8px 4px 8px;
}

.search-switch label:first-of-type {
  border-radius: 4px 0 0 4px;
}

.search-switch label:last-of-type {
  border-radius: 0 4px 4px 0;
}

.search-switch input[type="radio"]:checked + label {
  cursor: text;
}

#input-keyword {
  display: inline;
  width: 90%;
  margin-bottom: 8px;
  padding: 8px;
  font-size: 1.4rem;
}

#input-air-comment {
  width: 240px;
}

.related-neighbor {
  text-align: center;
}

.related-neighbor .btn {
  text-align: left;
  width: 280px;
}

/* --------------------------------- */
.overLayer {
  position: fixed;
  top: 40%;
  left: 0;
  width: 100%;
  height: 160px;
  opacity: 0.80;
  filter: alpha(opacity=80);
  font-size: 72px;
  line-height: 144px;
  font-weight: bold;
  text-align: center;
  z-index: 999;
  /* display: none; */
}

.overLayer img {
  height: 128px;
  opacity: 0.80;
}

#voteLayer {
  display: none;
}

td {
  padding: 4px;
}

.youtube iframe {
  width: 100%;
  max-width: 560px;
  margin-top: 8px;
}

.instagram {
  text-align: center;
}

.instagram iframe {
  width: 100%;
  max-width: 560px;
  margin-top: 8px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.instagram blockquote {
  margin-left: auto !important;
  margin-right: auto !important;
}

.detail hr {
  line-height: 1.6em;
  position: relative;
  outline: 0;
  border: 0;
  color: #333;
  text-align: center;
  height: 1.6em;
  opacity: .5;
}

.detail hr:before {
  content: '';
  background: -webkit-linear-gradient(left, #ccc, #333, #ccc);
  background: linear-gradient(to right, #ccc, #333, #ccc);
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
}

.detail hr:after {
  content: attr(data-content);
  position: relative;
  display: inline-block;
  padding: 0 .5em;
  line-height: 1.6em;
  font-size: 0.8rem;
  color: #333;
  background-color: #CCDDFF;
}

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

.sub-shadow-block {
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 0 8px #ccc;
  max-width: 96%;
  margin: 16px auto;
  text-align: left;
  padding: 16px;
}

.sub-shadow-block p {
  margin-bottom: 16px;
}

.sub-shadow-block hr {
  margin: 16px 0;
  box-shadow: 0 0 8px #ccc;
  color: #ccc;
}

.embed-site {
  text-decoration: none;
  display: flex;
  align-items: center;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 0 8px #ccc;
  padding: 16px 0;
  max-width: 96%;
  width: 600px;
  margin: 16px auto
}

.embed-site > img {
  float: left;
  border: 1px solid #ccc;
  box-shadow: 0 0 8px #ccc;
  width: 10%;
  margin: 0 4%
}

.embed-site > div {
  float: right;
  width: 78%;
  margin-right: 4%;
}

.embed-site > div > h1 {
  text-align: left;
  font-size: 16px;
  font-weight: normal
}

.embed-site > div > p {
  text-align: left;
  font-size: 12px;
}

.adsense-hr {
  line-height: 1.6em;
  position: relative;
  outline: 0;
  border: 0;
  color: #fff;
  text-align: center;
  height: 1.6em;
  opacity: .5;
}

.adsense-hr:before {
  content: '';
  background: -webkit-linear-gradient(left, #eee, #fff, #eee);
  background: linear-gradient(to right, #eee, #fff, #eee);
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
}

.adsense-hr:after {
  content: attr(data-content);
  position: relative;
  display: inline-block;
  padding: 0 .5em;
  line-height: 1.6em;
  font-size: 0.8rem;
  color: #333;
  background-color: #fff;
}

.clearfix:after {
  content: "";
  clear: both;
  display: block;
}

.fa-placeholder {
  font-family: FontAwesome;
  line-height: 1.2rem;
}

.mt4 {
  margin-top: 4px;
}

.mt8 {
  margin-top: 8px;
}

.mt16 {
  margin-top: 16px;
}

.mb16 {
  margin-bottom: 16px;
}

.tl {
  text-align: left;
}

.tc {
  text-align: center;
}

.ib {
  display: inline-block;
}

.ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}