/* Theme Name: theme-blog-header
Author: RyoIwamoto
Desctiption: DemoSite blog theme header
Version: 1 */

@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Sacramento&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Caveat&display=swap");

.search-post {
  /* display: block; */
  box-sizing: border-box;
  margin: 20px 0;
  background-color: white;
  width: 770px;
  height: 600px;
  position: relative;
  box-shadow: 0px 0px 2px gray;
}

.searchform {
  max-width: 300px;
  width: 100%;
  position: relative;
}
@media screen and (max-width: 768px) {
   .searchform {
       margin: 0 auto;
   }
}

.search-input {
  border: 1px solid gray;
  border-radius: 5px;
  height: 40px;
  max-width: 310px;
  width: 100%;
}

.search-button {
  cursor: pointer;
  position: absolute;
  top: 7px;
  right: 0px;
}

.search_p {
  font-size: 17px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
   .search_p {
       display: block;
       max-width: 300px;
       margin: 0 auto;
   }
}

input {
  font-size: 20px;
  border-radius: 1%;
}

#searchsubmit {
  height: 32px;
}

.search-box button {
  padding: 5px 5px;
  font-size: 18px;
  position: absolute;
  right: 20px;
  bottom: 30px;
  background: none;
  border: none;
}

.search-box {
  box-sizing: border-box;
  margin: 30px 0;
  flex-direction: column;
  max-width: 360px;
  width: calc(100% - 10px);
  padding: 30px 20px;
  position: relative;
  background-color: white;
}

@media screen and (max-width: 768px) {
  .search-box {
    margin: 0 auto;
    max-width: initial;
  }
}

.search-post-card {
  box-sizing: border-box;
  opacity: 90%;
  display: block;
  position: absolute;
  padding: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
}

.search-post-img {
  position: absolute;
  z-index: 20;
  text-align: left;
  align-items: flex-end;
  width: 100%;
  height: auto;
}

.search-post-img > img {
  width: 100%;
  height: auto;
}

.entry-title {
  position: absolute;
  z-index: 20;
  top: 340px;
  font-size: 30px;
  margin-left: 30px;
}

.entry-excerpt {
  position: absolute;
  z-index: 20;
  font-size: 20px;
  margin: 0 30px;
  padding: auto 0;
  top: 420px;
}

.search-post-card {
  box-sizing: border-box;
  opacity: 90%;
  display: block;
  position: absolute;
  padding: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
}

.search-post-img {
  position: absolute;
  z-index: 20;
  text-align: left;
  align-items: flex-end;
  width: 100%;
  height: auto;
}

.search-post-img > img {
  width: 100%;
  height: auto;
}

.entry-title {
  position: absolute;
  z-index: 20;
  top: 340px;
  font-size: 30px;
  margin-left: 30px;
}

.entry-excerpt {
  position: absolute;
  z-index: 20;
  font-size: 20px;
  margin: 0 30px;
  padding: auto 0;
  top: 420px;
}