@charset "utf-8";

header section {
  background-color: #333;
}
footer section {
  height: auto;
  padding-bottom: 20px;
  min-height: 65px;
  background-color: #F9F9F9;
}

#switch-button-pc {
  clear: both;
  width: 80%;
  background: #333;
  color: #fff;
  font-weight: bold;
  text-align: center;
  border-radius: 10px;
  display: block;
  padding: 25px 0;
  margin: 0 auto 20px auto;
  font-size: 35px;
}
#switch-button-sp {
  clear: both;
  width: 80%;
  max-width: 400px;
  background: #333;
  color: #fff;
  font-weight: bold;
  text-align: center;
  border-radius: 5px;
  display: block;
  padding: 12px 0 10px 0;
  margin: 0 auto 20px auto;
}
#switch-button-pc:hover,
#switch-button-sp:hover,
#switch-button-pc:active,
#switch-button-sp:active {
  text-decoration: none;
  background: #444;
}

#button-more {
  width: 70%;
  max-width: 300px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  border-radius: 4px;
  display: block;
  padding: 8px 0 8px 0;
  margin: 20px auto;
}
#button-more:hover,
#button-more:hover,
#button-more:active,
#button-more:active {
  text-decoration: none;
  opacity: 0.8;
}

/* SLIDEMENU */
.slidemenu,
.slidemenu-button {
  height: 0 !important;
  visibility: hidden;
  display: none;
}

/* for iPad */
@media screen and (min-width: 768px) {
  html,
  body {
    min-width: 960px;
  }
}

@media screen and (max-width: 767px) {
  html,
  body {
    min-width: auto;
  }
  body {
    background-image: none !important;
    background-color: #f9f9f9 !important;
  }
  #container,
  #content,
  #sidebar,
  header section,
  footer section,
  .f-pagetop {
    width: 100%;
  }
  footer section {
    padding-bottom: 0;
  }
  #content {
    padding-bottom: 10px;
  }
  #ti-twilog a {
    left: 10px;
  }
  .breadcrumb {
    margin: 12px 10px 0 10px;
  }
  .breadcrumb li {
    margin-bottom: 8px;
    padding: 4px 5px 4px 23px;
    background-position: 0 -99px;
  }
  #user-info {
    width: 100%;
    height: auto;
    position: static;
    margin: 0;
  }
  #user-info-shadow {
    position: relative;
    z-index: 51;
    margin-top: -100px;
    width: 100%;
    height: 100px;
    border-right: 0;
    border-left: 0;
    border-radius: 0px;
    z-index: 999;
    box-shadow: 0 5px 5px -5px #555 inset;
  }
  #user-info-bg {
    position: static;
    width: auto;
    height: 100px;
    overflow: hidden;
  }
  #user-info-bg img {
    position: relative;
    z-index: 50;
    width: 100%;
    height: auto;
    margin-top: -40px;
  }
  #user-info-content {
    position: relative;
    z-index: 52;
    width: auto;
    top: 0;
    bottom: auto;
    padding-top: 0;
    border-radius: 0;
    background: none;
    color: #333;
    padding-bottom: 5px;
  }
  #user-info-icon {
    position: relative;
    z-index: 53;
    left: 0;
    top: -30px;
    margin-left: 15px;
    box-shadow: 0 0 1px 0 #555;
    background: #fff;
  }
  #user-info-icon a {
    display: block;
  }
  #user-info-icon img {
    border-radius: 3px;
  }
  #user-info h1 {
    margin-top: -72px;
    margin-left: 107px;
    text-shadow: none;
    word-break: break-all;
  }
  #user-info h1 span {
      color: #999 !important;
      margin-left: 0;
  }
  #user-info h1 span:before {
    content: "\A" ;
    white-space: pre ;
  }
  .user-follow {
    margin-top: 5px;
    margin-left: 15px;
  }
  .user-follow li {
    background: #fff;
    border: 2px solid #ccc;
    display: inline-block;
    margin-top: 5px;
    margin-right: 2px;
    padding: 6px 10px 5px 10px;
  }
  .user-info-col {
    padding: 0 10px;
  }
  .user-info-place,
  .user-info-web,
  .user-info-comment {
    text-shadow: none;
    padding-left: 0;
  }
  .user-info-comment {
    text-indent: -1.3em;
    padding-left: 1.3em;
    padding-right: 5px;
    line-height: 1.5;
  }
  .user-info-place:before,
  .user-info-web:before,
  .user-info-comment:before {
    background: inherit;
    -webkit-filter: invert(40%);
    -moz-filter: invert(40%);
    -o-filter: invert(40%);
    -ms-filter: invert(40%);
    filter: invert(40%);
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 3px;
  }
  .user-info-web {
    max-width: 270px;
    vertical-align: bottom;
  }
  .user-info-place {
   white-space: normal;
   overflow: visible;
   text-overflow: clip;
   text-indent: -1.3em;
   padding-left: 1.3em !important;
   line-height: 1.5;
 }
 .box-stats .title a,
  .box-stats .title span {
    background: none;
    padding-left: 0;
    padding-top: 0;
    height: auto;
  }
  .box-stats span {
    display: block;
  }
  .box-sort p {
    margin-bottom: 5px;
    margin-right: 5px;
  }
  .box-sort div:nth-child(2) p {
    margin-bottom: 20px;
  }
  .box-sort ul {
    float: none;
  }
  .box-sort span,
  .box-sort a {
    padding: 5px 7px;
  }
  .box-sort .w4em {
    width: auto;
  }
  .box-sort li {
    margin: 0 5px 5px 0;
  }
  .bt-source {
    display: none;
  }
  .nav-link li {
    display: inline-block;
    margin-top: 4px;
    margin-bottom: 4px;
  }
  .nav-user a::before,
  .nav-user span::before {
    display: none;
  }
  .nav-user a,
  .nav-user a:hover,
  .nav-user span {
    padding-left: 15px;
  }
  .nav-prev a,
  .nav-prev a:hover,
  .nav-prev span {
      padding-left: 26px;
  }
  .nav-next a,
  .nav-next a:hover,
  .nav-next span {
      padding-right: 26px;
  }
  .tl-tweets {
    padding-left: 10px;
    padding-right: 10px;
  }
  .tl-name {
    padding-right: 55px;
  }
  .tl-name strong {
    padding-right: 5px;
  }
  .tl-name a span,
  .tl-name a:hover span {
    padding-left: 0;
  }
  .tl-tweet {
    padding-left: 55px;
    padding-right: 0;
  }
  .tl-text {
    margin-bottom: 10px;
    margin-right: -5px;
    font-size: 115%;
    line-height: 1.3;
  }
  .tl-image img {
    width: 100% !important;
    max-width: 280px;
    height: auto !important;
    margin-bottom: 10px;
  }
  .title01 {
    padding: 0 15px;
  }
  .tl-icon {
    left: 0;
  }
  .tl-time {
    right: 0;
  }
  .tb-rep {
    right: 75px;
  }
  .tb-fav {
    right: 5px;
  }
  #sidebar {
    padding-bottom: 0;
    background: #fff;
  }
  .sidebox {
    width: auto;
    margin-right: 10px;
    margin-left: 10px;
    box-sizing: border-box;
    border: 1px solid #ddd;
  }
  .side-title {
    padding: 10px 11px;
    border-bottom: 1px solid #ddd;
    background: #eee;
  }
  .side-list.wide a,
  .main-list.wide a,
  .side-list.wide strong,
  .main-list.wide strong {
    width: 100%;
  }
  .side-list li,
  .main-list li {
    position: relative;
    padding: 10px 11px;
    border-bottom: 1px solid #eee;
  }
  .side-list .side-list-icon,
  .side-list .side-list-noicon,
  .main-list .side-list-icon,
  .main-list .side-list-noicon {
    position: absolute;
    top: 9px;
    left: 10px;
  }
  .side-list .side-list-icon+a,
  .side-list .side-list-noicon+a,
  .main-list .side-list-icon+a,
  .main-list .side-list-noicon+a,
  .side-list .side-list-icon+strong,
  .side-list .side-list-noicon+strong,
  .main-list .side-list-icon+strong,
  .main-list .side-list-noicon+strong {
    float: none;
    width: auto;
    display: block;
    margin-left: 35px;
    box-sizing: border-box;
  }
  .sidebox-search .input01 {
    width: 100%;
    box-sizing: border-box;
  }
  #cal {
    margin-left: auto;
    margin-right: auto;
  }
  .sidebox-update,
  .sidebox-stats,
  .sidebox-feed {
    display: none;
  }
  #ad-side-bottom {
    clear: both;
  }
  .main-list-box1,
  .main-list-box2 {
    margin: 0 0 25px 0;
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
  }
  .main-list a span {
    right: 0;
  }
  footer {
    padding-bottom: 15px;
  }
  footer section {
    height: 100%;
  }
  footer p,
  footer ul {
    float: none;
    line-height: 1.8;
    margin: 10px 5px 10px 15px;
    white-space: normal;
  }
  footer li {
    white-space: nowrap;
  }
  .f-pagetop a {
    right: 15px;
  }
  #ti-f-twilog a {
    margin: 15px 0;
  }

  /* SLIDEMENU */
  header ul,
  header form {
    display: none;
  }
  .slidemenu,
  .slidemenu-button {
    display: block !important;
  }
  .slidemenu-button {
    visibility: visible;
    width: 55px !important;
    height: 48px !important;
    top: 0;
    right: 0;
    position:absolute;
    overflow:hidden;
    z-index:9999;
  }
  .slidemenu-button1 { width:25px; height:2px; background-color: #fff; top:15px; right:16px; position:absolute; }
  .slidemenu-button2 { width:25px; height:2px; background-color: #fff; top:23px; right:16px; position:absolute; }
  .slidemenu-button3 { width:25px; height:2px; background-color: #fff; top:31px; right:16px; position:absolute; }
  .slidemenu {
    border-left:1px solid #333;
    color: #555;
    height: 100% !important;
    top: 0;
    right: 0;
    width: 240px;
    position: fixed;
    visibility: hidden;
    z-index: -1;
    background-color: #fff;
    color: #333;
  }
  #slidemenu-main::after {
    content: "";
    display: block;
    background: #000;
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    visibility: hidden;
  }
  .slidemenu-open #slidemenu-main::after {
    visibility:visible;
    opacity:0.5;
    -webkit-transition:all 0.3s;
    -moz-transition:all 0.3s;
    -ms-transition:all 0.3s;
    transition:all 0.3s;
  }
  .slidemenu-close #slidemenu-main::after {
    opacity:0;
    -webkit-transition:all 0.2s;
    -moz-transition:all 0.2s;
    -ms-transition:all 0.2s;
    transition:all 0.2s;
  }
  .slidemenu-close-end #slidemenu-main::after {
    visibility: hidden;
  }
  .slidemenu a {
    color: #333;
  }
  .slidemenu a:hover,
  .slidemenu a:active {
    text-decoration: none;
  }
  .slidemenu-body {
    height: 100%;
    overflow: hidden;
    position: relative;
  }
  .slidemenu-content {
    position: relative;
  }
  .slidemenu-box {
    padding: 5px 10px;
  }
  .slidemenu-box h5 {
    background: #eee;
    font-weight: normal;
    font-size: 90%;
    color: #888;
    margin: -5px -10px 0 -10px;
    padding: 5px 10px;
  }
  .slidemenu-box li {
    font-size: 110%;
    margin: 0 -10px;
    position: relative;
    border-bottom: 1px dotted #ddd;
  }
  .slidemenu-box li:last-child {
    border-bottom: none;
    margin-bottom: -5px;
  }
  .slidemenu-box li a {
    display: block;
    padding: 12px 10px;
  }
  .slidemenu-box li a:hover,
  .slidemenu-box li a:active {
    color: #333 !important;
  }
  .slidemenu form.uf {
    margin-top: 15px;
    text-align: center;
  }
  .slidemenu input.ub {
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #555;
    border-radius: 3px;
    padding: 8px 10px;
    width: 90%;
    background: #ffffff;
    background: -moz-linear-gradient(top, #ffffff 0%, #dddddd 100%);
    background: -webkit-linear-gradient(top, #ffffff 0%,#dddddd 100%);
    background: linear-gradient(to bottom, #ffffff 0%,#dddddd 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dddddd',GradientType=0 );
    font-size: 100%;
    box-shadow: 2px 2px 1px #ccc;
  }
  .slidemenu form.uf+p {
    color: #666;
    margin: 8px 0;
    text-align: center;
    font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
  }
  .slidemenu form#user-search-form {
    position: relative;
    margin: 13px 12px 13px 2px;
    max-height: 28px;
    width: 100%;
  }
  .slidemenu form#user-search-form input[type="text"] {
    background-color: #fff;
    border: 1px solid #bbb;
    border-radius: 3px;
    font-size: 16px;
    margin: 0;
    padding: 6px 45px 6px 5px;
    width: 218px;
    box-sizing: border-box;
  }
  .slidemenu form#user-search-form input[type="submit"] {
    background: rgba(0, 0, 0, 0) url("https://twilog.org/img-dir/user-sff629993c7.png") no-repeat scroll 0 0;
    background-position: -660px -91px;
    border: none;
    height: 24px;
    overflow: hidden;
    position: absolute;
    right: 8px;
    text-indent: 50px;
    top: 5px;
    white-space: nowrap;
    width: 24px;
  }
  .slidemenu form#wsearch-sp {
    position: relative;
    margin: 13px 12px 7px 2px;
    width: 100%;
  }
  .slidemenu form#wsearch-sp input[type="text"] {
    background-color: #fff;
    border: 1px solid #bbb;
    border-radius: 3px;
    font-size: 16px;
    margin: 0;
    padding: 6px 45px 6px 5px;
    width: 218px;
    box-sizing: border-box;
  }
  .slidemenu form#wsearch-sp input[type="submit"] {
    background: rgba(0, 0, 0, 0) url("https://twilog.org/img-dir/user-sff629993c7.png") no-repeat scroll 0 0;
    background-position: -660px -91px;
    border: none;
    height: 24px;
    overflow: hidden;
    position: absolute;
    right: 8px;
    text-indent: 50px;
    top: 5px;
    white-space: nowrap;
    width: 24px;
  }

  .quo-tweet { width:90%; }
}
 


@media screen and (max-width: 375px) {
  .box-sort p,
  .box-sort ul {
    font-size: 95%;
  }
  .box-sort span,
  .box-sort a {
    padding: 5px 5px;
  }
}

@media screen and (max-width: 320px) {
  .box-sort {
    margin: 18px 10px;
  }
  .box-sort p {
    letter-spacing: -1px;
  }
  .box-sort p,
  .box-sort ul {
    font-size: 85%;
  }
  .box-sort span,
  .box-sort a {
    padding: 5px 5px;
  }
  .nav-link li {
    font-size: 85%;
  }
  .nav-user a {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 80px;
    vertical-align: middle;
    margin-top: -2px;
  }
  .tl-icon img {
    width: 40px;
    height: 40px;
  }
  .tl-tweet {
    padding-left: 47px;
    font-size: 90%;
  }
  .tl-del a {
    display: block;
    width: 40px;
    margin-top: 8px;
    margin-left: 0;
  }
}
