@charset "UTF-8";

* {
    padding: 0;
    margin: 0;
}

html {
  font-size: 100%;
}

body {
	background-color: lightgray;
}

a:visited {
	color: green;
}

a:hover {
  text-decoration: none;
}

h1 a:hover {
  text-decoration: none !important;
}

.page-header {
  display: flex;
  width: 100%;
  height: 100px;
  background-color: black;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  margin: 0 auto;
  padding: 0 4%;
  z-index: 100;
}

footer {
  display: flex;
  width: 100%;
  background-color: black;
  text-align: center;
  position: fixed;
  bottom: 0;
  padding: 26px 0;
}

footer p {
  color: #fff;
  font-size: 0.875rem;
}
 
.title {
  margin-right: auto;
  color:white;
}

.wrapper {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 4%;
}

.menu-group {
  display: flex;
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-top: 34px;
  list-style: none;
}
 
.menu-item {
  list-style-type: none;
  display: inline-block;
  padding: 10px;
}

.intro {
  padding-top: 130px;
}

h2 {
    padding-top: 40px;
}

.menu-group li a {
    text-decoration: none;
    color: #fff;
}

.menu-group li a:visited {
    text-decoration: none;
    color: #fff !important ;
}

/* 記事 */
article {
  width: 74%;
  padding-top: 130px;
}

/* サイドバー */
aside {
  width: 22%;
  padding-top: 130px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.main-contents {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.post-info {
  position: relative
  padding-top 4px;
  margin-bottom: 40px;
  background-color: transparent;
}

.sub-title {
  font-size: 1.375rem;
  padding: 0 8px 8px;
  border-bottom: 2px #444 solid;
  font-weight: normal;
}

aside p {
  padding: 12px 10px;
}

.sub-menu {
  margin-bottom: 60px;
  list-style: none;
}

.sub-menu li {
  border-bottom: 1px #999 solid;
}

.sub-menu a {
  color: black;
  padding: 10px;
  display: block;
}

.sub-menu a:hover {
  color: green;
}

/* モバイル */
@media screen and (max-width: 768px) {
  .post-title {
    font-size: 2.5rem;
  }

  /* HEADER */
  .menu-group {
    font-size: 1rem;
    margin-top: 10px;
  }
  .menu-group li {
    margin: 0 20px;
  }

  .page-header {
    flex-direction: column;
    align-items: center;
  }

  .main-contents {
    display: flex;
    flex-direction: column;
  }

  article, 
  aside {
    width: 80%;
  }

}