* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #888888;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 300;
  line-height: 1.7;
  background: #fdf7f7;
}

.blog-title {
  font-family: "Tangerine", cursive;
  font-size: 4.3rem;
  margin-top: 60px;
  margin-bottom: -15px;
}

.blog-title a {
  color: inherit;
  text-decoration: none;
}

.blog-title a:hover,
.blog-title a:focus,
.blog-title a:active {
  color: inherit;
  text-decoration: none !important;
  border-bottom: none;
  outline: none;
  box-shadow: none;
}

.blog-subtitle {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 0.9rem;
  font-weight: normal;
  margin-bottom: -20px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 0;
}

.container h1,
.container > p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  transform: translateX(-50px);
  font-family: "Playfair", serif;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.container > div {
  text-align: center;
}

.site-header {
  text-align: center;
  margin-bottom: 22px;
}

.site-header h1 {
  color: #ebd5d5;
  font-weight: normal;
  letter-spacing: 0.09em;
}

.site-header p {
  color: #a6a2a1;
}

.post {
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 36px;
  padding: 50px;
  max-width: 700px;
  margin: 20px auto 30px;
  box-shadow: 0 6px 16px rgba(180, 120, 140, 0.08);
}

.post-body {
  font-size: 0.9rem;
  font-weight: 300;
}

.post-body img {
  max-width: 100%;
  height: auto;
}

.post-footer {
  text-align: right;
  margin-top: 10px;
}

.post-footer .post-date {
  font-size: 0.8rem;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 300 !important;
  letter-spacing: 0.08em;
  margin-bottom: 15px;
}

a {
  color: #d58ca3;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.pagenavi {
  text-align: center;
  margin-top: 25px;
  margin-bottom: 85px;
}

.pagenavi a {
  align-items: center;
  background: #f5eeee;
  border-radius: 50%;
  color: #b8b8b8;
  display: inline-flex;
  font-family: "Playfair", serif;
  font-size: 1.5rem;
  font-weight: 300;
  height: 36px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 60px;
  text-align: center;
  text-decoration: none;
  width: 36px;
}

.powered {
  background: #f5eeee;
  color: #7f7f7f;
  font-weight: 300;
  text-align: center;
  font-size: 0.7rem;
  padding: 10px 0;
}

.powered p {
  margin: 0;
}

.powered p + p {
  margin-top: 0;
}

.powered a,
.powered a:hover,
.powered a:focus,
.powered a:active,
.powered a:visited {
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: none !important;
}

.menu-button {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 1001;
  background: none;
  border: none;
  color: #ebd4d5;
  font-size: 3.5rem;
  cursor: pointer;
}

.menu-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  color: #e9c4c3;
  font-size: 3rem;
  cursor: pointer;
}

.slide-menu {
  box-sizing: border-box;
  position: fixed;
  top: 0;
  right: -55%;
  z-index: 1002;
  width: 55%;
  height: 100vh;
  background: #ebd5d5;
  padding: 60px 40px;
  transition: right 0.8s ease;
}

.slide-menu.is-open {
  right: 0;
}

.slide-menu a {
  margin-bottom: 10px;
  color: #888888;
  font-size: 1rem;
  display: inline-block;
  position: relative;
  text-decoration: none;
}

.slide-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: #888888;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.slide-menu a.is-leaving::after,
.slide-menu a:hover::after,
.slide-menu a:active::after,
.slide-menu a:focus::after {
  transform: scaleX(1);
}

.slide-menu ul,
.slide-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.slide-menu li {
  padding-left: 0.8em;
}

.slide-menu li ul li {
  padding-left: 1em;
}

.slide-menu li a {
  display: inline;
}

.menu-section {
  margin-top: 24px;
}

.menu-section p {
  margin-bottom: 10px;
  color: #888888;
  font-size: 1rem;
}

.menu-powered {
  margin-top: 18px;
  text-align: center;
  width: 80%;
}

.menu-powered p,
.menu-powered a {
  font-size: 0.8rem !important;
}

.menu-powered a {
  color: #d58ca3;
  display: inline;
  text-decoration: none;
}

.menu-powered a::after {
  display: none;
}

.slide-menu form {
  position: relative;
  margin: 0;
  padding: 0;
  height: 28px;
  line-height: 0;
  width: 80%;
}

.slide-menu input[type="search"],
.slide-menu input[type="text"] {
  display: block;
  width: 100%;
  height: 28px;
  border: 0.8px solid #dcdcdc;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: none;
  padding: 0 44px 0 10px;
  font-size: 0.8rem;
  line-height: 28px;
  color: #888888;
  font-weight: 300;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  caret-color: #ebd5d5;
}

.slide-menu input[type="submit"],
.slide-menu button[type="submit"] {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: #ebd5d5;
  color: #ffffff;
  border: none;
  border-radius: 20px;
  height: 20px;
  padding: 0 7px;
  font-size: 0.65rem;
  line-height: 20px;
  cursor: pointer;
}

.slide-menu input[type="search"]:focus,
.slide-menu input[type="text"]:focus,
.slide-menu input[type="search"]:active,
.slide-menu input[type="text"]:active {
  outline: none;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.slide-menu .searchtarget.limitedsearch {
  display: none;
}

.slide-menu .home-link {
  margin-bottom: 0;
}

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: transparent;
}

.menu-overlay.is-open {
  display: block;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus,
a:active,
button:focus,
button:active {
  outline: none;
  box-shadow: none;
}

.recountlink {
  display: none;
}

@media screen and (max-width: 600px) {
  body {
    font-weight: 400 !important;
  }

  .blog-title {
    font-size: 2.45rem !important;
    margin-top: 35px;
  }

  .blog-subtitle {
    font-size: 0.6rem !important;
  }

  .container {
    padding: 16px 16px;
    margin: 0;
  }

  .container h1,
  .container > p {
    max-width: none;
    transform: none;
  }

  .post {
    padding: 22px 20px;
    border-radius: 16px;
    border: 0.5px solid #dcdcdc;
    max-width: none;
    margin: 20px 20px 20px;
  }

  .post-body {
    font-size: 0.7rem;
    font-weight: 300;
  }

  .post-footer .post-date {
  font-size: 0.5rem;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 300;
  }

  .pagenavi {
    text-align: center;
    margin-top: 6px;
    margin-bottom: 40px;
  }

  .pagenavi a {
    width: 24px;
    height: 24px;
    line-height: 1;
    font-size: 1em;
    margin: 0 45px;
    letter-spacing: 0;
  }

  .powered {
    font-size: 0.48rem;
    padding: 8px 0;
  }

  .menu-button {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 2.2rem;
  }

  .menu-close {
    top: 16px;
    right: 16px;
    font-size: 2rem;
  }

  .slide-menu {
    width: 70%;
    right: -70%;
    padding: 70px 30px;
  }

  .slide-menu a,
  .menu-section p {
    font-size: 0.8rem;
  }

  .slide-menu a {
    margin-bottom: 12px;
    display: inline-block;
  }

  .slide-menu ul,
  .slide-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.8rem;
  }

  .slide-menu li {
    padding-left: 0.8em;
  }

  .slide-menu li ul li {
    padding-left: 1em;
  }

  .slide-menu li a {
    display: inline;
  }

  .menu-section {
    margin-top: 18px;
  }

  .menu-section p {
    margin-bottom: 8px;
  }

  .menu-powered {
    margin-top: 10px;
    width: 100%;
  }

  .slide-menu form {
    width: 100%;
    height: 22px;
  }

  .slide-menu input[type="search"],
  .slide-menu input[type="text"] {
    height: 22px;
    line-height: 22px;
    font-size: 0.65rem;
  }

  .slide-menu input[type="submit"],
  .slide-menu button[type="submit"] {
    height: 16px;
    padding: 0 5px;
    font-size: 0.5rem;
    line-height: 16px;
  }
  
  .menu-powered p,
  .menu-powered a {
    font-size: 0.65rem !important;
  }
}