@charset "UTF-8";

html {
  font-size: 100%;
}

body {
  color: #666666;
  font-family: "Noto Sans JP", "Roboto", sans-serif;
  font-weight: 500;
  background-color: #f9f9f9;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

main {
  padding: 0 2rem;
}

.post-index-wrapper {
  max-width: 800px;
  margin: 20px auto;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.index-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #222222;
}

.post-index-wrapper h2 {
  font-size: 24px;
  line-height: 1.1em;
  margin-bottom: 40px;
  margin-top: 2rem;
}

.post-index-wrapper h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1em;
  margin-bottom: 20px;
  margin-top: 2rem;
}

.post-index-wrapper .category {
  margin-bottom: 3rem;
}

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

.post-list li {
  margin-bottom: 1rem;
}

.post-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.post-item .date {
  flex: 0 0 8em;
  color: #808080;
  font-size: 0.9rem;
}

.post-item a {
  flex: 1;
  text-decoration: none;
  color: #2997ab;
  line-height: 1.5;
}

/*---------------
スマートフォン
----------------*/

@media screen and (max-width: 767px) {
  main {
    padding-top: 60px;
  }

  .post-index-wrapper h2 {
    font-size: 20px;
  }

  .post-index-wrapper h3 {
    font-size: 18px;
  }

  .index-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #222222;
    padding-top: 60px;
  }
}
