@charset "UTF-8";

/* -----------------------------------------------
Config
  Layout: 1020px left-sidebar, two-columns;
　keycolor: #f00;
  accentcolor: 000;
----------------------------------------------- */

/* layout
----------------------------------------------- */
#header {
  position: relative;
  width: 100%;
}

#header > .inner {
  padding: 20px 0;
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
}

#header > .inner:after {
  clear: both;
  content: "";
  display: block;
}

#main_v {
  background: url("/images/iekei/main_v.png") center center no-repeat #000;
  height: 250px;
  margin-bottom: 30px;
  width: 100%;
}

#container {
  position: relative;
  width: 100%;
  max-width: 1020px;
  margin: 30px auto 40px;
}

#container:after {
  clear: both;
  content: "";
  display: block;
}

#side {
  float: left;
  width: 250px;
}

#side:after {
  clear: both;
  content: "";
  display: block;
}

#main {
  float: right;
  position: relative;
  width: 100%;
  max-width: -webkit-calc(100% - 250px - 30px);
  max-width: calc(100% - 250px - 30px);
}

#footer {
  width: 100%;
}

#footer > .inner {
  padding: 20px 0;
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
}

#footer > .inner:after {
  clear: both;
  content: "";
  display: block;
}

@media screen and (max-width: 480px) {
  
  #main_v {
    background-size: cover;
  }
}

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

  #container {
    float: none;
    max-width: none;
    width: 100%;
  }

  #main {
    float: none;
    margin-bottom: 40px;
    max-width: none;
    width: 100%;
  }

  #side {
    float: none;
    width: 100%;
  }
}

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

  #header > .inner{
    padding-left: 10px;
    padding-right: 10px;
  }

  #container{
    padding-left: 10px;
    padding-right: 10px;
  }

  #footer > .inner{
    padding-left: 10px;
    padding-right: 10px;
  }

}

@media screen and (min-width: 1021px) {

}

/* Header
----------------------------------------------- */
#site-title {
  font-size: 1.602em;
  font-weight: bold;
  line-height: 1.5;
  margin: 0;
}

#site-title a {
  color: #37474f;
  text-decoration: none;
}

.description{
  background: #000;
  color: #fff;
  font-size: 0.75em;
  margin:0;
  padding:2px 0;
}

.description > .inner{
  display: block;
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
}

/* Smartphone
-------------------------- */
@media screen and (max-width: 480px) {

  .description {
    display: none;
  }
}

/* Tablet
-------------------------- */
@media screen and (max-width: 768px) {

  #site-title {
    line-height: 50px;
    text-align: center;
  }

}

/* PC
-------------------------- */
@media only screen and (max-width: 1020px) {

  .description > .inner {
    padding: 0 10px;
  }

}

/* Navigation
----------------------------------------------- */
#menu {
  background: #f00;
}

#menu ul {
  display: flex;
  list-style: none;
  margin: 0 auto;
  max-width: 1020px;
  padding: 0;
  text-align: center;
  width: 100%;
}

#menu ul li {
  margin: 0;
  padding: 0;
  width: 25%;
}

#menu ul li a {
  color: #fff;
  display: block;
  margin: 0;
  padding: 15px 0;
  text-decoration: none;
}

#menu ul li a:hover {
  background: #000;
}

/* Tablet
-------------------------- */
@media only screen and (max-width: 480px) {

  #menu {
    background: none;
    font-size: 0.889em;
  }

  #menu ul {
    display:block;
  }

  #menu ul li {
    display:inline;
  }

  #menu ul li a {
    color: #333;
    display:inline;
    padding: 5px;
  }


}

/* Breadcrumbs
----------------------------------------------- */
#breadcrumb {
  background: #f5f5f5;
}

#breadcrumb ul {
  font-size: 0.889em;
  margin: 0 auto;
  max-width: 1020px;
  padding: 15px;
  width: 100%;
}

#breadcrumb ul li {
  display: inline;
  list-style: none;
  margin: 0;
  padding: 0;
}

#breadcrumb ul li:first-child:before {
  content: none;
}

#breadcrumb ul li:before {
  content: '›';
  margin: 0 5px 0 0;
}

#breadcrumb ul li > a, #breadcrumb ul li > span {
  margin-right: 5px;
  text-decoration: none;
}

#breadcrumb ul li a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 480px) {
  #breadcrumb {
    display: none;
  }
}
/* headding
----------------------------------------------- */
h1, h2, h3, h4 {
  margin: 1.414em 0 0.5em;
  font-weight: inherit;
  line-height: 1.5;
}

h1 { font-size: 1.602em;}
h2 { font-size: 1.424em;}
h3 { font-size: 1.266em;}
h4 { font-size: 1.125em;}
h5,h6 {
  font-size: 1em;
  font-weight: normal;
}

small, .font_small {
  font-size: 0.889em;
}

/* article
----------------------------------------------- */
h2 {
  border-left: 5px solid #f00;
  background: #000;
  color:#fff;
  font-weight: bold;
  padding: .3em .5em;
}

h3 {
  border-bottom: 1px solid #f00;
  font-weight: bold;
  padding: 0;
}

h2 + h3 {
  margin-top: 0;
}

h4 {
  font-weight: bold;
}

.entry-title {
  border-bottom: 3px solid #cc0000;
  font-size: 1.602em;
  font-weight: bold;
  margin: 0 0 .5em;
  padding: 0;
}

.entry-title .access {
  display: block;
  font-size: 0.6em;
  font-weight: normal;
}

/* post-meta */
.post-meta { font-size: 0.889em;}

.post-meta span.post-date:before {
  content: "\f073";
  font-family: "FontAwesome";
  margin-right: 5px;
}

.post-meta span.post-date { margin-right: 5px;}
.post-meta span.category:before {
  content: "\f02b";
  font-family: "FontAwesome";
  margin-right: 5px;
}

@media screen and (max-width: 768px) {
  #entry-title {
    margin: 0 0 .5em;
  }
  #main p{
    font-size: 1.125em;
  }
}

/* Side Navigation
----------------------------------------------- */
#side .side-heading {
  background: #f5f5f5;
  border-left: 3px solid #f00;
  font-size: 1em;
  margin: 0;
  padding: 10px;
  text-align: left;
}

#side ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#side ul li {
  margin: 0;
  padding: 0;
}

#side ul li a::before {
  content: '›';
  margin-right: 5px;
}

#side ul li a {
  border-bottom: 1px dashed #ccc;
  display: block;
  font-size: 0.875em;
  padding: 10px;
  text-decoration: none;
  width: 100%;
}

#side ul li a:hover,
#side ul li a:focus { background: #f5f5f5;}

/* Table
----------------------------------------------- */
table {
  border-collapse: collapse;
  line-height: 1.5;
  margin: 0 0 20px;
  width: 100%;
}
table th {
  background: #f5f5f5;
  border: 1px solid #ccc;
  font-weight: normal;
  padding: 10px;
  vertical-align: middle;
}
table td {
  border: 1px solid #ccc;
  padding: 10px;
  vertical-align: middle;
}
table td *:last-child {
  margin-bottom: 0;
}

caption {
  color: #f00;
  font-size: 1rem;
  text-align: left;
}

@media screen and (max-width: 480px) {
  table tr th,
  table tr td {
    border: none;
    display: block;
    width: 100%;
  }

  .vertical thead {
    display: none;
  }

  .vertical td {
    padding: 10px 0;
  }

  .vertical td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 10px;
    padding: 10px;
    background: #f5f5f5;
  }
}
/* Pagination
----------------------------------------------- */
.pagination {
  margin: 4em auto;
  position: relative;
}

.pagination ul {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  text-align: center;
}

.pagination ul li {
  background: none repeat scroll 0 0 #CCCCCC;
  border-radius: 3px;
  color: #FFFFFF;
  display: inline-block;
  list-style: none outside none;
  margin: 0 5px;
  position: relative;
  text-decoration: none;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.pagination ul li a {
  color: #FFFFFF;
  display: block;
  padding: 10px 20px;
  text-decoration: none;
}

.pagination ul li:hover {
  background-color: #444444;
  color: #FFFFFF;
  opacity: 0.8;
  transition-duration: 500ms;
  transition-property: all;
  transition-timing-function: ease;
}

.pagination ul li.active {
  background-color: #999999;
  padding: 10px 20px;
}

@media screen and (max-width: 480px) {
  .active,
  .inactive {
    display: none !important;
  }
}
/* Conversion
----------------------------------------------- */
/*  Contact  */
.cv_area {
  background: #f00;
  padding: 20px;
}

.cv_area > .inner {
  margin: 0 auto;
  max-width: 1080px;
  width: 100%;
}
.cv_area > .inner:after {
  clear: both;
  content: "";
  display: block;
  height: 0;
}

.cv_area #searchform input[type="text"] {
  border: none;
}

.cv_area .search {
  float: left;
  width: 50%;
}

.cv_area .contact_area {
  float: right;
  width: 24%;
  margin: 0 0 0 1%;
}

/*  Advertisement  */
.ad_area {
  padding: 20px;
}

.ad_area > .inner {
  margin: 0 auto;
  max-width: 1080px;
  width: 100%;
}
.ad_area > .inner:after {
  clear: both;
  content: "";
  display: block;
  height: 0;
}

@media screen and (max-width: 768px) {
  .cv_area,
  .ad_area {
    padding: 10px;
  }

  .cv_area .search {
    float: none;
    margin-bottom: 10px;
    width: 100%;
  }

  .cv_area .contact_area {
    float: left;
    width: 50%;
    margin: 0;
  }
}
/* Page Top Button
----------------------------------------------- */
#pageTopButton {
  position: fixed;
  bottom: 24px;
  right: 20px;
  font-size: 12px;
}

#pageTopButton a {
  background: #f00;
  border-radius: 5px;
  color: #fff;
  display: block;
  padding: 25px 0;
  text-align: center;
  text-decoration: none;
  transition: 0.5s;
  width: 100px;
}

#pageTopButton a:hover {
  background: #cc0000;
}

#pageTopButton a::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

@media screen and (max-width: 1020px) {
  /* pageTopButton */
  #pageTopButton a {
    display: none;
  }
}
/* Footer
----------------------------------------------- */
#footer {
  background: #000;
  border-top: 30px solid #f00;
  color: #fff;
  font-size: 0.875em;
  padding: 10px 0;
}

#footer a {
  color: #fff;
  text-decoration: none;
}

#footer a:hover {
  text-decoration: underline;
}

#footer *:last-child {
  margin-bottom: 0;
}

#footer .sitemap{
  margin: 0 0 20px;
  padding: 0;
  text-align: center;
}

#footer .sitemap li{
  border-right: 1px solid #fff;
  display: inline;
  list-style: none;
  margin:0 10px 0 0;
  padding-right: 10px;
}

#footer .sitemap li:last-child{
  border-right: none;
}

/*# sourceMappingURL=style.css.map */
