#preamble {
  width: auto;
  min-height: 600px;
}
#preamble main {
  width: min(100% - 40px, 1060px);
  margin: 0 auto;
  display: block;
  background: none;
  padding: 0;
  min-height: 70vh;
}
#preamble main #page_title {
  margin-top: 30px;
}

#blog_box {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: start;
  grid-template-areas: "A B";
}
@media only screen and (max-width: 768px) {
  #blog_box {
    grid-template-columns: 1fr;
    grid-template-areas: "B" "A";
  }
}

.side_box {
  grid-area: A;
}
.side_box section {
  margin: 20px auto 0 auto;
}
.side_box section:nth-of-type(1) {
  margin-top: 0;
}

.cate ul {
  background: white;
  border-radius: 10px;
  border: 2px solid #402315;
  overflow: hidden;
}
.cate ul li a {
  display: block;
  padding: 0.5em 1em;
  text-align: left;
  border-top: 1px dotted gray;
  color: #333333;
  text-decoration: none;
}
.cate ul li a:hover {
  background: #efdfda;
}
.cate ul li:nth-of-type(1) a {
  padding-top: 1em;
  border-top: none;
}
.cate ul li:last-of-type a {
  padding-bottom: 1em;
}

#archives {
  background: white;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #402315;
}
#archives > ul > li {
  margin: 10px auto 0 auto;
}
#archives > ul > li > h3 {
  position: relative;
  font-size: 13px;
  line-height: 19.5px;
  font-size: 0.8125rem;
  line-height: 1.21875rem;
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
#archives > ul > li > h3::before, #archives > ul > li > h3::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 1px;
  background-color: #333;
}
#archives > ul > li > h3::before {
  top: 48%;
  right: 10px;
  transform: rotate(0deg);
}
#archives > ul > li > h3::after {
  top: 48%;
  right: 10px;
  transform: rotate(90deg);
}
#archives > ul > li > h3.close::before {
  transform: rotate(45deg);
}
#archives > ul > li > h3.close::after {
  transform: rotate(-45deg);
}
#archives > ul > li > div {
  display: none;
}
#archives > ul > li > div > ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
#archives > ul > li > div > ul li {
  font-size: 11px;
  line-height: 16.5px;
  font-size: 0.6875rem;
  line-height: 1.03125rem;
}
#archives > ul > li > div > ul li a {
  color: #333333;
}
#archives > ul > li > div > ul li a:hover {
  text-decoration: none;
}
#archives > ul > li:nth-of-type(1) {
  margin-top: 0;
}
#archives > ul > li:nth-of-type(1) > h3::before {
  transform: rotate(45deg);
}
#archives > ul > li:nth-of-type(1) > h3::after {
  transform: rotate(-45deg);
}
#archives > ul > li:nth-of-type(1) > h3.close::before {
  transform: rotate(90deg);
}
#archives > ul > li:nth-of-type(1) > h3.close::after {
  transform: rotate(0deg);
}
#archives > ul > li:nth-of-type(1) > div {
  display: block;
}
@media only screen and (max-width: 768px) {
  #archives::after {
    content: "";
  }
  #archives > ul {
    height: 300px;
    overflow-y: scroll;
  }
  #archives > ul > li > div > ul {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }
  #archives > ul > li > div > ul li {
    margin: 0 0 0 1em;
  }
}

#kiji_box {
  grid-area: B;
}
#kiji_box section {
  margin-top: 30px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #402315;
}
#kiji_box section h2 {
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 600;
  font-size: 23px;
  line-height: 34.5px;
  font-size: 1.4375rem;
  line-height: 2.15625rem;
  text-align: left;
}
#kiji_box section h2 a:hover {
  text-decoration: underline;
}
#kiji_box section h2 span {
  font-size: 20px;
  line-height: 20px;
  font-size: 1.25rem;
  line-height: 1.25rem;
  margin: 0 0.5em 0 0;
}
#kiji_box section h2 span a {
  display: inline-block;
  padding: 0.3em 0.5em 0.1em 0.5em;
  border-radius: 3px;
  background: #402315;
  color: white;
  text-decoration: none;
}
#kiji_box section time {
  display: block;
  margin: 10px auto 0 auto;
  text-align: left;
  font-size: 14px;
  line-height: 21px;
  font-size: 0.875rem;
  line-height: 1.3125rem;
}
#kiji_box section div {
  margin-top: 10px;
}
#kiji_box section div.entry_body {
  text-align: left;
}
#kiji_box section aside {
  margin-top: 20px;
}
#kiji_box section aside > ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
#kiji_box section aside > ul li figure a {
  display: block;
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
#kiji_box section aside > ul li figure a img {
  min-width: 100%;
  min-height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}
#kiji_box section aside > ul li:empty {
  display: none;
}
#kiji_box section:nth-of-type(1) {
  margin-top: 0;
  position: relative;
}
@media only screen and (max-width: 768px) {
  #kiji_box section aside > ul {
    grid-template-columns: repeat(2, 1fr);
  }
  #kiji_box section:nth-of-type(1) {
    content: "";
  }
}/*# sourceMappingURL=index.css.map */