@charset "UTF-8";

html {
  font-size: 100%;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.logo {
  width: 210px;
  height: 210px;
  margin-top: 3px;
}


.main-nav {
  display: flex;
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-top: 34px;
  list-style: none;
}
.main-nav li {
  margin-left: 36px;
}

.main-nav a {
  color: rgb(250, 246, 246);
  text-shadow: 1px 0 5px rgb(77, 34, 34);
}

.main-nav a:hover {
  color: rgb(166, 190, 194);
}

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

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

.home-content {
  text-align: center;
  margin-top: 10%;
}

.home-content p{
  font-size: 1.125rem;
  margin: 10px 0 42px;
}

/* 見出し */
.page-title {
  font-size: 2.375rem;
  font-family: "M PLUS 1p";
  text-transform: uppercase;
  color: rgb(10, 10, 10);
}
.page-title2 {
  font-size: 2.375rem;
  font-family: "M PLUS 1p";
  text-transform: uppercase;
  color: rgb(250, 246, 246);
  text-shadow: 1px 0 5px rgb(77, 34, 34);
  text-align: center;
}


p#subtitle {
  font-size: 1.375rem;
  text-align: center;
  overflow-x: hidden;
}

p.explain {
  font-size: 1.0rem;
  text-align: center;
  line-height: 0px;
  padding-bottom: 0px;

}

/* ボタン */
.button {
  font-size: 1.375rem;
  background: rgb(230, 185, 40);
  color: #fff;
  border-radius: 5px;
  padding: 18px 32px;
}
.button:hover {
  background: #e4e2dc;
}

/* 大きな背景画像 */
.big-bg{
  background-size: cover;
  background-position: center top;
}

#home {
  background-image: url(../images/header.jpg);
  min-height: 100vh;
}

#home .page-title {
  text-transform: none;
}

/* Works & ideas */

#works {
  background-image: url(../images/header.jpg);
  height: 600px;
  margin-bottom: 40px;
}
#works .page-title {
  text-align: center;
}
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap');

.move {
  text-align: center;
  display: flex;
  overflow: hidden;
  color: #aa8f7b;
  font-family: 'Josefin Sans', sans-serif;
}

.move span {

  display: block;
  transform: translate(0, 105%);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
}

.move.-visible span {
  transform: translate(0, 0);
}

.move span:nth-child(2) {
  transition-delay: 0.06s;
}
.move span:nth-child(3) {
  transition-delay: 0.12s;
}
.move span:nth-child(4) {
  transition-delay: 0.18s;
}
.move span:nth-child(5) {
  transition-delay: 0.24s;
}
.move span:nth-child(6) {
  transition-delay: 0.30s;
}
.move span:nth-child(7) {
  transition-delay: 0.36s;
}
.move span:nth-child(8) {
  transition-delay: 0.42s;
}
.move span:nth-child(9) {
  transition-delay: 0.48s;
}
.move span:nth-child(10) {
  transition-delay: 0.54s;
}
.move span:nth-child(11) {
  transition-delay: 0.6s;
}
.move span:nth-child(12) {
  transition-delay: 0.66s;
}
.move span:nth-child(13) {
  transition-delay: 0.72s;
}
.move span:nth-child(14) {
  transition-delay: 0.78s;
}
footer {
  background: #432;
  text-align: center;
  padding: 26px 0;
}

footer p {
  color: #fff;
  font-size: 0.875rem;
}

h3 {
  font-size:  40px;
  font-weight: bold;
  text-align: left;
  font-family: 'Amatic SC', cursive;
  color: red;
  padding-left: 20px;
}

article {
  width: 74%;
}

aside {
  width :22%;
}

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

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

.post-date {
  background: #432;
  border-radius: 50%;
  color: #fff;
  width: 100px;
  height: 100px;
  font-size: 1.625rem;
  text-align: center;
  position: absolute;
  top: 0;
  padding-top: 10px;
}

.post-date span {
  font-size: 1rem;
  border-top: 1px rgba(255,255,255,.5) solid;
  padding-top: 6px;
  display: block;
  width: 60%;
  margin: 0 auto;
}

.post-title {
  font-family: "M PLUS 1p";
  font-size: 2rem;
  font-weight: normal;
}

.post-title,
.post-cat {
    margin-left: 120px;
}

article img{
  margin-bottom: 20px;
}
article p {
  margin-bottom: 1rem;
}
.sub-title {
  font-size: 1.375rem;
  padding: 0 8px 8px;
  border-bottom: 2px #0bd solid;
  font-weight: normal;
}

aside p{
  padding: 12px 10px;
}

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

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

.sub.menu a {
  color: #432;
  padding: 10px;
  display: block;
}

.sub-menu a:hover {
  color: #aa8f7b;
}

@media (max-width: 600px) {
  .page-title {
    font-size: 2.5rem;
  }

  .main-nav {
    font-size: 1rem;
    margin-top: 10px;
  }

  .main-nav li {
    margin: 0 20px;
  }

  .home-content {
    margin-top: 20%;
  }

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

  .works-contents {
    flex-direction: column;
  }

  article,
  aside {
    width: 100%;
  }
  #works .page-title {
    margin-top: 30px;
  }

  aside {
    margin-top: 60px;
  }

  .post-info{
    margin-bottom: 30px;
  }

  .post-date {
    width: 70px;
    height: 70px;
    font-size: 1rem;
  }

  .post-date span {
    font-size: 00.875rem;
    padding-top:  2px;
  }

  .post-title{
    font-size: 1.375rem;
  }

  .post-cat{
    font-size: 0.875rem;
    margin-top: 10px;
  }

  .post-title,
  .post-cat {
    margin-left: 80px;
  }
  #home {
    background-image: url(../images/header_mini.jpg);
    
  }
  
  #home .page-title {
    text-transform: none;
  }
  
  /* Works & ideas */
  
  #works {
    background-image: url(../images/header_mini.jpg);
    height: 430px;
    margin-bottom: 40px;
  }
}

.animation{
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 1.5s;
  width: 128px;
}

.keyframe2{
  animation-name: anim_h;
}

@keyframes anim_h {
  0% {
    transform: translate(0px, 0);
  }
  100% {
    transform: translate(30px, 0);
  }
}
/* min-height: 100vh; */