@charset "utf-8";

@media only screen and (max-width: 950px) {
  article .category,
  article time {
    display: block;
  }
}

@media only screen and (max-width: 767px) {

img,a img {
  max-width: 100%;
  height: auto;
}


.accordion {
  max-width: 100%;
  margin: 0 10px;
}




/* ----------------------------------------------
    Header
-------------------------------------------------*/
#header {
  height: auto;
}
#header_inner {
  width: auto;
}
#logo {
  /*float: none;*/
  margin-bottom: 10px;
}
#header_sb {
  /*float: none;*/
  margin: 20px 10px 0 0;
  text-align: right;
}
#header_sb li {
  float: none;
  display: inline-block;
}
#header_menu {
  position: static;
  left: auto;
  bottom: auto;
  width: 342px;
  margin: 0 auto;
  clear: both;
}
#header_menu li {
  float: left;
  width: 57px;
}
#header_menu li img {
  max-width: none;
}

.logo_kurutopi {
  width: 30%;
}

.btn-menu-magnifier {
  display: block;
  background: none;
  border: none;
  padding: 0;
  height: 45px;
  width: 45px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 4px;
  outline: none;
  background-color: #32a36d;
  background-image: url('../img/search.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 30px;
}

.search_area {
  display: none;
}

.header-nav {
  display: none;
}

.header-menu {
  display: block;
  width: 60%;
  height: 100%;
  transition: all 0.4s;
  transform: translate(-100%);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: #fff;
}
.header-menu-opened {
  transform: translate(0);
}
.header-menu-wrap {
  margin: 20px auto 0;
  position: relative;
  width: 75%;
}
.header-menu-close {
  display: block;
  background: none;
  border: none;
  padding: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  outline: none;
  position: relative;
}
.header-menu-close::before,
.header-menu-close::after {
  content: '';
  background: #555;
  height: 2px;
  width: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
}
.header-menu-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.header-menu-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.header-menu-search {
  margin: 10px 0;
  width: 100%;
}
.header-menu-search label {
  display: none;
}
.header-menu-search form {
  display: table;
  width: 100%;
}
.header-menu-search form > div {
  display: table-row;
  font-size: 0;
  width: 100%;
  box-sizing: border-box;
}
.header-menu-search input {
  display: inline-block;
  outline: none;
  font-size: 16px;
}
.header-menu-search input[type="text"] {
  padding: 7px;
  width: calc(100% - 36px);
  height: 40px;
  border-radius: 5px 0 0 5px;
  box-shadow: none;
  border: 1px solid #aaa;
  box-sizing: border-box;
}
.header-menu-search input[type="submit"] {
  width: 36px;
  height: 40px;
  background-image: url(../img/search.png);
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #222;
  border: none;
  border-radius: 0 5px 5px 0;
  box-sizing: border-box;
  font-size: 0;
}
.header-menu-search input[type="submit"]:hover {
  cursor: pointer;
}

.header-menu-catlist a {
  color: #555;
  display: block;
  padding: 8px 0;
}
.header-menu-catlist a.header-menu-catlink-cdbtn {
  background: #32a36d;
  border-radius: 4px;
  color: #fdfdfd;
  display: block;
  font-size: 14px;
  line-height: 1;
  padding: 8px 10px;
  text-decoration: none;
  margin-top: 10px;
  width: 125px;
}
a.header-menu-catlink-cdbtn img {
  display: inline-block;
  height: 18px;
  vertical-align: middle;
  padding-right: 4px;
}
a.header-menu-catlink-cdbtn span {
  vertical-align: middle;
}

.header-menu-reflist {
  margin-top: 30px;
}
.header-menu-reflist a {
  color: #555;
  display: block;
  padding: 8px 0;
}


/* ----------------------------------------------
      Wrapper
-------------------------------------------------*/
#wrapper {
  width: auto;
  margin: 30px auto 0
}
.top_left {
  float: none;
  width: 100%;
}
.top_right {
  float: none;
  width: 100%;
  margin-bottom: 30px;
}

.top_article {
  float: none;
  width: 100%;
}
.top_banner {
  float: none;
  width: 100%;
}
.top_article article {
  width: 100%;
  margin-right: 0;
  margin-bottom: 10px;
  float: left;
  border: 1px solid #ccc;
  box-sizing: border-box;
  position: relative;
}
.top_article article:nth-child(2) {
  margin-right: 0;
}


/* ----------------------------------------------
      Sidebar
-------------------------------------------------*/
.right_banner {
  margin: auto;
  text-align: center;
  width: 100%;
}
.side_content {
  margin: 30px 10px 0;
}


/* ----------------------------------------------
      Pager
-------------------------------------------------*/
.pager {
  margin-top: 20px;
}
.paging {
  padding-top: 20px;
}


/* ----------------------------------------------
      Single
-------------------------------------------------*/
#single {
  float: none;
  width: auto;
  margin-top: 30px;
  margin-left: 0;
  background: #ffffff;
  padding: 15px;
}
#sidebar {
  float: none;
  width: auto;
}
#single .single_title h1 {
  float: none;
  width: auto;
  margin: 0 10px 5px;
}
#single .single_title .date {
  float: none;
  width: auto;
  padding: 0 14px 0 0;
  text-align: right;
}
#single .single_body .address {
  margin: 10px 15px 30px;
}
#single .single_body .quiz {
  width: auto;
}
#single .single_body .wp-caption {
  width: auto!important;
}
#single .single_title h1 {
  float: none;
  width: auto;
  margin: 0 10px;
}
#single .single_body table {
  width: auto;
}

.article_area {
  padding-left: 0;
  padding-right: 0;
  margin-right: 0;
  margin: 20px 0 30px;
  width: 100%;
}
.article_area article .detail {
  margin: 2% 2% 1%;
}
.article_area article h2 {
  font-size: 14px;
  color: #333;
  font-weight: normal;
  margin-top: 3px;
}

.authorPic {
  margin-top: 10px;
  width: 34%;
}
.authorProfile {
  width: 60%;
}



/* ----------------------------------------------
      About
-------------------------------------------------*/
.about {
  padding-top: 60px;
  padding-left: 0;
  padding-bottom: 10px;
}
.about h1 {
  margin: 0 10px;
}
#about {
  margin: 15px 10px 0;
}
#about .aboutA {
  float: none;
  width: auto;
}
#about .aboutB {
  float: none;
  width: auto;
}
#about .aboutC {
  float: none;
}
#about .aboutC .contant_btn a {
  margin: 0 auto;
}


#wrapper.content404 {
  padding: 0 10px 50px;
}

.content404 h2 span {
  font-size: 35px;
}
.content404 h2 img {
  width: 40px;
}
.content404 .sub_h {
  font-size: 17px;
}
.content404 .glass {
  display: none;
}


/* ----------------------------------------------
      Footer
-------------------------------------------------*/
#footer .footer_menu li {
  display: inline-block;
  margin: 0 5px;
  line-height: 1.5;
}

}


@media only screen and (max-width: 500px) {
  .logo_kurutopi {
    width: 150px;
  }
  .toppage article:first-child,
  .toppage article:nth-child(2),
  .article_area article {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }

  article .category, article time {
    display: inline;
  }

  .pager > * {
    width: 30px;
    line-height: 35px;
    font-size: 15px;
    margin: 0 2px;
  }

  .inner_single {
    max-width: 90%;
  }

  .inner_single,
  #wrapper.subpage {
    padding-top: 0;
  }

  #single {
    margin-top: 0;
  }

  #single h1 {
    font-size: 18px;
  }

  #single .single_sns_item {
    margin-right: 0;
    margin-bottom: 20px;
    width: 100%;
  }

  .single_body .editor_box-img {
    max-width: 100px;
    max-height: 100px;
    width: 80px;
    border-radius: 100px;
    overflow: hidden;
    margin: 8px;
  }
}

