/*
Theme Name: Academy Corporation
Author: キラメキ太郎
Description: 架空の会社Academy Corporationのコーポレートサイト用テーマ
Version: 1.0
*/


/* Base
   ========================================================================== */

body {
  font-family: Meiryo;
  background-color: #fff;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  margin:0;
}

.center {
  text-align: center;
}

a {
  color: #009d8e;
  text-decoration: none;
  outline: none;
}

a:hover {
  text-decoration: underline;
}

/* Header
   ========================================================================== */

header {
  text-align: center;
  border-bottom: 1px solid #ddd;
}

#logo {
  width: 100%;
  margin: 0 auto 20px;
}

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

nav ul {
  display: flex;
  justify-content: space-between; 
  margin: 0;
  padding: 0;
}

nav ul li {
  width: 20%;
  height: 30px;
  list-style: none;
  border-bottom: 5px solid #fff;
}

nav ul li:last-child {
  margin-right: 0;
}

nav ul li:hover {
  border-bottom: 5px solid #009d8d;
}

nav ul li a {
  display: inline-block;
  width: 100%;
  height: 100%;
}

nav ul li a:hover {
  text-decoration: none;
}

/* Cover
   ========================================================================== */

#cover {
  background-image: url("images/bg-cover.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 40px;
}

#cover #slide {
  margin: auto;
}

#cover #slide img{
  width: 100%;
}

/* Footer
   ========================================================================== */

#contact {
  padding: 30px 0;
  text-align: center;
  background-image: url("images/bg-footer.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.btn {
  width: 200px;
  margin: 10px;
  padding: 15px;
  display: inline-block;
  border-radius: 5px;
  text-align: center;
  letter-spacing: 0.05em;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background-color: #ffbe00;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

#copyright {
  padding: 15px 0;
  text-align: center;
  color: #ccc;
  background-color: #333;
  font-size: 12px;
  letter-spacing: 0.05em;
}

/* Content
   ========================================================================== */

#content {
  width: 95%;
  margin: 30px auto;
}

aside {
  width: 100%;
  margin: 0 auto;
}

aside section {
  margin-bottom: 20px;
}

article {
  width: 100%;
}

article section {
  margin-bottom: 40px;
}

article h2 {
  color: #ffbe00;
}

article h3 {
  color: #888;
}

/**
 * Top-News
 */

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-list li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.news-list li .date {
  width: 85px;
  display: inline-block;
  margin-right: 10px;
  color: #888;
  vertical-align: top;
}

.news-list li .label-info {
  width: 65px;
  display: inline-block;
  margin-right: 10px;
  margin-top: -3px;
  background: #009d8e;
  font-size: 12px;
  text-align: center;
  padding: 3px 8px;
  color: #fff;
  vertical-align: top;
}

.news-list li a {
  width: 100%;
  margin-top: 8px;
  display: inline-block;
  vertical-align: top;
}

/**
 * Top-Button
 */

.btn-default {
  background-color: #fff;
  color: #009d8e;
  border: 1px solid #009d8e;
}

/**
 * Blog
 */

.blog-title-article {
  margin-bottom: 0px;
  margin-left: 5px;
}

.blog-wrap {
  border-top: 1px dotted #ccc;
  border-bottom: 1px dotted #ccc;
}

.blog-header {
  padding: 5px;
  border-bottom: 1px dotted #ccc;
  color: #888;
  font-size: 13px;
}

.blog-body {
  padding: 10px 5px;
}

.blog-title-index {
  margin-bottom: 0px;
  margin-left: 5px;
  font-size: 2em;
  color: #333;
}

.blog-title-category {
  font-size: 1.17em;
  font-weight: normal;
  color: #888;
}

.blog-footer {
  padding: 5px;
}

/**
 * Page Navi
 */

 .page-navi{
  display: flex;
  justify-content: space-between;
 }



/* Media Queries for Desktop
   ========================================================================== */

@media screen and (min-width: 1024px){
  /* Header
     ================================= */
  nav{
    width: 900px;
  }
  nav ul li {
    width: 160px;
  }

  /* Cover
     ================================= */
  #cover {
    height: 300px;
  }

  #cover #slide {
    width: 900px;
  }

  /* Content
     ================================= */
  #content {
    display: flex;
    width: 900px;
  }

  aside {
    width: 180px;
    margin-left: 20px;
  }

  article{
    width: 700px;
  }
  /**
   * Top-News
   */
  .news-list li a {
    width: 500px;
    margin-top: 0;
  }
}

/* Widget
   ========================================================================== */

.widget h3 {
  border-left:5px #cccccc solid;
  border-bottom:1px #cccccc solid;
  padding-left:10px;
}

.widget ul {
  padding:0;
  list-style:none;
}

.widget ul li {
  margin-bottom:5px;
}

.widget ul li a {
  color:#333333;
}

.widget table caption {
  font-weight:800;
}

.widget table thead th ,
.widget table tbody td {
  border:1px #cccccc solid;
  text-align:center;
}

nav.wp-calendar-nav {
  width: auto;
}

/* Breadcrumb NavXT
  ========================================================================== */

.breadcrumbs {
  width: 95%;
  margin: 30px auto;
}

@media screen and (min-width: 1024px){
 .breadcrumbs {
   width: 900px;
   margin: 0 auto;
 }
}