html,
body {
  height: 100%; }

html {
  font-size: 16px; }

body {
  margin: 0;
  padding: 0;
  font-family: "Lucida Grande", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background-image: url(../images/back_body.png);
  overflow-y: scroll; }

a {
  color: #5e78c1;
  text-decoration: none; }

header {
  width: 100%;
  background: #006699;
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1000; }

header div {
  box-sizing: border-box;
  max-width: 960px;
  margin: 0 auto; }

header div h1 {
  margin: 0;
  color: #fff;
  line-height: 1;
  padding: 30px 0;
  font-size: 1.6rem; }

@media screen and (max-width: 600px) {
  header div h1 {
    padding: 15px 0;
    font-size: 1.4rem;
    text-align: center; } }

.search_error {
  width: 100%;
  font-size: 1.6rem;
  text-align: center; }

@media screen and (max-width: 600px) {
  .search_error {
    font-size: 1.0rem; } }

.search_box p:first-of-type {
  margin: 15px 0 5px;
  font-size: 1.2rem;
  text-align: center; }

@media screen and (max-width: 600px) {
  .search_box p:first-of-type {
    font-size: 1.0rem; } }

.search_box p:nth-of-type(2) {
  margin-bottom: 15px;
  text-align: center; }

.search_box p:nth-of-type(2) #search_word {
  width: 500px;
  padding: 3px 5px;
  font-size: 1.5rem;
  font-family: "Lucida Grande", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  text-align: center;
  border-radius: 5px; }

@media screen and (max-width: 600px) {
  .search_box p:nth-of-type(2) #search_word {
    width: 80%;
    font-size: 1.0rem; } }

.search_box p:nth-of-type(2) #search_word:focus {
  outline: none;
  background: #d1d7f5; }

.search_box .btn {
  width: 200px;
  padding: 10px 5px;
  border-radius: 5px;
  background: #00aaff;
  box-shadow: 0 4px 0 #0088cc;
  color: #fff;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  margin: 10px auto 20px; }

.search_box .btn:hover {
  opacity: 0.8; }

.search_box .btn:active {
  margin: 18px auto 17px;
  box-shadow: 0 2px 0 #0088cc; }

@media screen and (max-width: 600px) {
  .search_box .btn {
    width: 50%; } }

article {
  max-width: 962px;
  margin: 0 auto;
  background: #fff;
  border-left: #dadada 1px solid;
  border-right: #dadada 1px solid;
  min-height: 80%;
  min-height: calc(100% - 200px);
  border-radius: 10px 10px 0 0; }

article nav {
  width: 100%;
  margin: 0 auto; }

article nav ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0;
  display: flex; }

article nav ul.menu li {
  width: 33.3333%;
  border-bottom: solid 1px #ccc; }

article nav ul.menu li.menu_twitter {
  border-radius: 10px 0 0 0; }

article nav ul.menu li.menu_twitter a.active {
  color: #fff;
  border-radius: 10px 0 0 0;
  background: #00aced; }

article nav ul.menu li.menu_flickr a.active {
  color: #fff;
  background: #ff0084; }

article nav ul.menu li.menu_vine a.active {
  color: #fff;
  border-radius: 0 10px 0 0;
  background: #18A87E; }

article nav ul.menu li + li {
  border-left: solid 1px #ccc; }

article nav ul.menu li a {
  width: 100%;
  height: 20px;
  padding: 10px 0;
  color: #333;
  font-size: 1.8rem;
  font-family: 'Abril Fatface', cursive;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block; }

@media screen and (max-width: 600px) {
  article nav ul.menu li a {
    font-size: 1.2rem; } }

article nav ul.menu li a:not(.active):hover {
  opacity: 0.5;
  transition: .8s; }

.content_wrap {
  padding: 0 30px 30px; }

@media screen and (max-width: 600px) {
  .content_wrap {
    padding: 0 10px 10px; } }

.content_wrap section.content {
  display: none; }

.content_wrap section.content.active {
  display: block; }

.content_wrap section h2 {
  margin: 20px 0;
  font-family: 'Abril Fatface', cursive;
  color: #1b3666;
  font-size: 1.8rem;
  text-align: center; }

@media screen and (max-width: 600px) {
  .content_wrap section h2 {
    margin: 10px 0;
    font-size: 1.2rem; } }

#twit_search_result a {
  display: block; }

#twit_search_result a:hover {
  background: #eee; }

#twit_search_result a:not(:last-child) {
  border-bottom: solid 1px #e1e8ed; }

#twit_search_result a .twit {
  padding: 10px 0;
  display: flex; }

#twit_search_result a .twit .twit_image {
  width: 10%;
  margin-right: 10px;
  box-sizing: border-box; }

@media screen and (max-width: 600px) {
  #twit_search_result a .twit .twit_image {
    width: 20%; } }

#twit_search_result a .twit .twit_image a {
  min-height: 50px;
  background: url(../images/loading.gif) no-repeat 50% 50%; }

@media screen and (max-width: 600px) {
  #twit_search_result a .twit .twit_image a {
    background-size: 20%; } }

#twit_search_result a .twit .twit_image a:hover {
  opacity: 0.8;
  transition: 0.5s;
  background: none; }

#twit_search_result a .twit .twit_image img {
  width: 100%;
  border-radius: 8px; }

#twit_search_result a .twit .twit_detail {
  width: 90%; }

@media screen and (max-width: 600px) {
  #twit_search_result a .twit .twit_detail {
    width: 80%; } }

#twit_search_result a .twit .twit_detail .twit_name {
  margin-right: 1em;
  color: #292f33;
  font-size: 0.8rem;
  font-weight: bold;
  display: inline; }

@media screen and (max-width: 600px) {
  #twit_search_result a .twit .twit_detail .twit_name {
    font-size: 0.6rem; } }

#twit_search_result a .twit .twit_detail .twit_name:hover {
  text-decoration: underline; }

#twit_search_result a .twit .twit_detail .twit_date {
  color: #8899a6;
  font-size: 0.8rem; }

@media screen and (max-width: 600px) {
  #twit_search_result a .twit .twit_detail .twit_date {
    font-size: 0.6rem; } }

#twit_search_result a .twit .twit_detail .twit_text {
  margin-top: 5px;
  color: #292f33;
  line-height: 1.4; }

@media screen and (max-width: 600px) {
  #twit_search_result a .twit .twit_detail .twit_text {
    font-size: 0.8rem; } }

#flickr_search_result {
  -webkit-column-count: 4;
  -moz-column-count: 4;
  -ms-column-count: 4;
  column-count: 4;
  -webkit-column-gap: 2px;
  -moz-column-gap: 2px;
  -ms-column-gap: 2px;
  column-gap: 2px; }

#flickr_search_result.column_reset {
  -webkit-column-count: auto;
  -moz-column-count: auto;
  -ms-column-count: auto;
  column-count: auto; }

@media screen and (max-width: 600px) {
  #flickr_search_result {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    -ms-column-count: 2;
    column-count: 2; } }

#flickr_search_result .flickr {
  min-height: 50px;
  background: url(../images/loading.gif) no-repeat 50% 50%; }

@media screen and (max-width: 600px) {
  #flickr_search_result .flickr {
    background-size: 20%; } }

#flickr_search_result .flickr:hover {
  opacity: 0.8;
  transition: 0.5s;
  background: none; }

#flickr_search_result .flickr img {
  width: 100%; }

#vine_search_result {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; }

#vine_search_result .vine {
  width: 49.5%;
  min-height: 200px;
  margin-bottom: 5px;
  background: url(../images/loading.gif) no-repeat 50% 50%; }

@media screen and (max-width: 600px) {
  #vine_search_result .vine {
    min-height: 100px;
    margin-bottom: 0; } }

#vine_search_result .vine video {
  width: 100%;
  border: solid 1px #ccc; }

footer {
  max-width: 962px;
  margin: 0 auto 10px;
  padding: 15px 0;
  border: #dadada 1px solid;
  border-radius: 0 0 10px 10px;
  background-color: #006699;
  color: #fff;
  font-size: 0.8rem;
  text-align: center; }

@media screen and (max-width: 600px) {
  footer {
    padding: 5px 0; } }
