@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Kiwi+Maru&display=swap");
header {
  width: 100vw;
  height: 50px;
  position: fixed;
  top: 0;
  left: 0;
  padding: 0 16px;
  background-color: #f9f3f6;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
header .header-inner {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto 0;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
@media screen and (min-width: 601px) and (max-width: 1024px) {
  header .header-inner {
    max-width: 600px;
  }
}
header .header-menu--pc {
  width: calc(100% - 150px);
  display: flex;
  justify-content: end;
  align-items: stretch;
}
header .header-menu--pc ul {
  color: #e28eb8;
  display: flex;
  justify-content: end;
  align-items: stretch;
}
header .header-menu--pc ul > li {
  margin: 0 auto 0;
  padding: 0 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 2s;
}
header .header-menu--pc ul > li:hover {
  background-color: #f3e7ef;
}
@media screen and (min-width: 601px) and (max-width: 1024px) {
  header .header-menu--pc {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  header .header-menu--pc {
    display: none;
  }
}
header .header-menu--sp {
  display: flex;
  justify-content: end;
  align-items: stretch;
}
header .header-menu--sp > ul {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
header .header-menu--sp > ul > li {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 0 4px;
}
@media screen and (min-width: 1025px) {
  header .header-menu--sp {
    display: none;
  }
}
header * {
  color: #e28eb8;
}

.header-search__drawer {
  position: fixed;
  top: 50px;
  left: 0;
  width: 100vw;
  padding: 8px;
  background-color: rgba(243, 231, 239, 0.95);
  z-index: 1;
}
.header-search__drawer .drawer-menu__inner {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
.header-search__drawer .drawer-menu__inner * {
  color: #e28eb8;
}
.header-search__drawer .drawer-menu__inner > form > div > ul > li > ul {
  margin-bottom: 16px;
  display: flex;
  justify-content: start;
  align-items: stretch;
  flex-wrap: wrap;
}
.header-search__drawer .drawer-menu__inner > form > div > ul > li > ul > li > label {
  margin-right: 16px;
  display: flex;
  justify-content: start;
  align-items: center;
}

.drawer-menu__inner > form > div > ul > li {
  display: flex;
}

.drawer-menu__inner input[name=ofsearch] {
  width: 100%;
  display: block;
  border: 1px solid #e28eb8;
  border-radius: 4px;
  padding: 0 4px;
  margin-bottom: 8px;
}

.drawer-menu__inner input[type=checkbox] {
  height: 16px;
  width: 16px;
  margin-right: 4px;
  border: 1px solid #e28eb8;
  border-radius: 4px;
  cursor: pointer;
  display: grid;
  place-content: center;
}
.drawer-menu__inner input[type=checkbox]::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: transform 0.15s ease-in-out;
  box-shadow: inset 1em 1em #e28eb8;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 61%); /* チェックマークの形 */
}
.drawer-menu__inner input[type=checkbox]:checked::before {
  transform: scale(1);
}

.header-menu__drawer--sp {
  position: fixed;
  top: 50px;
  left: 0;
  width: 100vw;
  padding: 8px;
  background-color: rgba(243, 231, 239, 0.95);
  z-index: 1;
}
.header-menu__drawer--sp .drawer-menu__inner {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
.header-menu__drawer--sp .drawer-menu__inner ul li {
  padding: 8px 0;
}

#js-drawer-menu, #js-drawer-search {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: opacity 0.3s ease, visibility 0.3s, transform 0.3s ease-out;
}

#js-drawer-menu.is-active, #js-drawer-search.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.drawer-menu__inner input[type=submit] {
  display: block;
  margin: 0 auto;
  padding: 4px 40px;
  border: 1px solid #e28eb8;
  border-radius: 8px;
  cursor: pointer;
}

.close-button {
  width: 100%;
  text-align: center;
}
.close-button button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin: 0 auto;
  padding: 4px 8px;
}
.close-button button .close-icon {
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
}
.close-button button .close-icon::before, .close-button button .close-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 2px;
  background-color: #e28eb8;
  transform-origin: center center;
  margin-top: -1px;
  margin-left: -50%;
}
.close-button button .close-icon::before {
  transform: rotate(45deg);
}
.close-button button .close-icon::after {
  transform: rotate(-45deg);
}

.container {
  container-type: inline-size;
  container-name: list;
  width: 100%;
}

.post-list {
  margin: 16px auto 0;
  display: grid;
  gap: 24px;
}
.post-list article .archive-item__thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}
.post-list article .archive-item__text > * {
  padding-top: 8px;
}

@container list (min-width: 900px) {
  .post-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@container list (min-width: 600px) and (max-width: calc(900px - 1px)) {
  .post-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@container list (max-width: calc(600px - 1px)) {
  .post-list {
    grid-template-columns: 1fr;
  }
}
.wrapper {
  width: 100%;
  max-width: 1024px;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0px 0px 10px 10px rgba(255, 255, 255, 0.6);
  padding: 16px;
  margin: 50px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-direction: row-reverse;
}
@media screen and (min-width: 601px) and (max-width: 1024px) {
  .wrapper {
    flex-direction: column;
  }
}
@media screen and (max-width: 600px) {
  .wrapper {
    flex-direction: column;
  }
}
.wrapper .content {
  width: calc(100% - 300px);
  padding: 16px;
  margin: 0 auto 0;
}
@media screen and (min-width: 601px) and (max-width: 1024px) {
  .wrapper .content {
    width: 600px;
  }
}
@media screen and (max-width: 600px) {
  .wrapper .content {
    width: 100%;
  }
}
.wrapper .content {
  margin-bottom: 40px;
}
.wrapper .content > h4, .wrapper .content section:not(:first-child), .wrapper .content h5.wp-block-heading, .wrapper .content .main-text p {
  margin: 16px auto 0;
}
.wrapper .content .main-text a {
  border-bottom: 2px #f3e7ef dashed;
}
.wrapper .content h4 {
  padding: 20px;
  display: block;
  position: relative;
  color: #e28eb8;
  border-color: #e28eb8;
}
.wrapper .content h4:before, .wrapper .content h4:after {
  content: "";
  width: 60px;
  height: 32px;
  position: absolute;
}
.wrapper .content h4:before {
  border-left: 2px solid #e28eb8;
  border-top: 2px solid #e28eb8;
  top: 0;
  left: 0;
}
.wrapper .content h4:after {
  border-right: 2px solid #e28eb8;
  border-bottom: 2px solid #e28eb8;
  bottom: 0;
  right: 0;
}
.wrapper .content h5 {
  border-bottom: 2px solid #f3e7ef;
  position: relative;
  padding-bottom: 4px;
}
.wrapper .content h5:after {
  position: absolute;
  content: "";
  display: block;
  border-bottom: 2px solid #e28eb8;
  bottom: -2px;
  width: 30%;
}
.wrapper .content .tags > a {
  display: inline-block;
  background-color: #e28eb8;
  color: #f9f3f6;
  line-height: 1;
  border-radius: 16px;
  padding: 0 8px 2px;
  margin-right: 8px;
  margin-bottom: 4px;
}
.wrapper .content .scientific-name__japanese {
  margin-right: 8px;
}
.wrapper .content .description-list table {
  width: 100%;
}
.wrapper .content .description-list table th {
  padding-right: 12px;
}
.wrapper .content .description-list table th, .wrapper .content .description-list table td {
  border-bottom: 1px solid #f3e7ef;
}
.wrapper .content .related-article > a {
  margin: 16px auto 0;
  display: flex;
  justify-content: start;
  align-items: start;
  border: 1px #b57f9a solid;
  border-radius: 16px;
  overflow: hidden;
  background-color: #f9f3f6;
}
@media screen and (max-width: 600px) {
  .wrapper .content .related-article > a {
    width: 300px;
    flex-direction: column;
  }
}
.wrapper .content .related-article > a .post-title {
  padding: 16px;
}
.wrapper .content .post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
.wrapper .content .post-navigation .prev-post, .wrapper .content .post-navigation .next-post {
  width: 50%;
}
.wrapper .content .post-navigation .prev-post {
  padding-right: 1em;
}
.wrapper .content .post-navigation .next-post {
  padding-left: 1em;
  text-align: right;
}
.wrapper .content .pagination {
  margin: 16px auto 0;
}
.wrapper .content .pagination .nav-links ul {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 8px;
}
.wrapper .content .pagination .nav-links ul li > * {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 45px;
}
.wrapper .content .pagination .nav-links ul li > *:not(.dots) {
  width: 45px;
  border-radius: 50%;
  color: #b57f9a;
  background: #f3e7ef;
  transition: color 0.3s ease, background 0.3s ease;
}
.wrapper .content .pagination .nav-links ul li > .current,
.wrapper .content .pagination .nav-links ul li > a:hover {
  color: #f9f3f6;
  background: #b57f9a;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px auto 0;
}
.gallery-container .gallery-item .gallery-img img {
  width: fit-content;
  height: auto;
}
.gallery-container .gallery-item .gallery-caption {
  font-size: 1.4rem;
  line-height: 1.2;
}

/* 背景の黒い膜 */
.lightbox-overlay {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 6;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* クラスがついた時だけ表示 */
.lightbox-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* 拡大画像 */
#lightboxImg {
  max-width: 90%;
  max-height: 80%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* 閉じるボタン */
.lightbox-close {
  position: absolute;
  bottom: 20px;
  right: 30px;
  font-size: 40px;
  color: #f3e7ef;
  cursor: pointer;
}

.main-visual {
  width: 100vw;
  height: 500px;
  overflow: hidden;
  position: relative;
  z-index: 4;
}
.main-visual .mv01 {
  height: 100%;
  background-image: url(../img/mv01.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main-visual .mv01 img {
  width: 95%;
  max-width: 800px;
}

.wrapper.--front-page {
  display: block;
  margin-top: 0;
}

.content.--front-page {
  width: 100%;
}

.main-text.--front-page {
  text-align: center;
}
@media screen and (max-width: 600px) {
  .main-text.--front-page br.sp-none {
    display: none;
  }
}

.sidebar {
  width: 300px;
  padding: 16px;
  margin: 0 auto 0;
}
@media screen and (min-width: 601px) and (max-width: 1024px) {
  .sidebar {
    width: 100%;
    max-width: 600px;
  }
}
.sidebar article section:not(:first-child) {
  margin: 16px auto 0;
}
.sidebar article section:not(:first-child) h6 {
  padding-bottom: 8px;
}
.sidebar article section ul li {
  padding-bottom: 12px;
}
@media screen and (min-width: 601px) and (max-width: 1024px) {
  .sidebar article section.sidebar__menu {
    display: none;
  }
}
.sidebar article section.sidebar__categories ul li {
  text-indent: -1em;
  margin-left: 2em;
}
.sidebar article section.sidebar__categories ul li ::before {
  content: "";
  display: inline-block;
  width: 0.3em;
  height: 0.3em;
  margin-right: 0.5em;
  background: #b57f9a;
  transform: rotate(45deg);
  vertical-align: 2px;
}
.sidebar article section.sidebar__update .update-date {
  font-size: 12px;
}
.sidebar article section.sidebar__author {
  background-color: #f3e7ef;
  border-radius: 16px;
  padding: 16px;
  margin: 16px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}
.sidebar article section.sidebar__author .author-photo {
  width: 150px;
  height: 150px;
}

footer {
  height: 50vh;
  position: relative;
  z-index: 5;
  background-color: #f3e7ef;
  background-image: url("../img/bg-footer.png");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  padding: 16px;
  margin: 0 auto 0;
}
footer > ul {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}
footer > ul > li {
  padding: 0 16px;
}
footer .title-logo.--footer {
  margin: 16px auto 0;
}
footer > small {
  display: block;
  width: 100%;
  margin: 16px auto 0;
}

:root {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  line-height: 1.8em;
  color: #b57f9a;
  background-color: #f9f3f6;
  font-family: "Kiwi Maru", serif;
  font-weight: 400;
  font-style: normal;
  background-image: url("../img/bg-left-top.png"), url("../img/bg-right-bottom.png");
  background-position: left 50px, right bottom;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2em;
}

blockquote {
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.2em;
}

small {
  font-size: 1.4rem;
}

button, a {
  cursor: pointer;
}

.title-logo {
  width: 150px;
  height: 50px;
}
.title-logo > a {
  height: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tag-list, .update-date {
  font-size: 1.4rem;
  line-height: 1em;
}

.icon {
  padding-right: 8px;
}

.icon.--accent-pink {
  fill: #e28eb8;
}

.icon.--text-base {
  fill: #b57f9a;
}

h1 {
  font-size: 3.2rem;
}

@media screen and (min-width: 601px) and (max-width: 1024px) {
  h1 {
    font-size: 4.8rem;
  }
}
@media screen and (min-width: 1025px) {
  h1 {
    font-size: 4.8rem;
  }
}
h2 {
  font-size: 2.9rem;
}

@media screen and (min-width: 601px) and (max-width: 1024px) {
  h2 {
    font-size: 4rem;
  }
}
@media screen and (min-width: 1025px) {
  h2 {
    font-size: 4rem;
  }
}
h3 {
  font-size: 2.6rem;
}

@media screen and (min-width: 601px) and (max-width: 1024px) {
  h3 {
    font-size: 3.4rem;
  }
}
@media screen and (min-width: 1025px) {
  h3 {
    font-size: 3.4rem;
  }
}
h4 {
  font-size: 2.3rem;
}

@media screen and (min-width: 601px) and (max-width: 1024px) {
  h4 {
    font-size: 2.8rem;
  }
}
@media screen and (min-width: 1025px) {
  h4 {
    font-size: 2.8rem;
  }
}
h5 {
  font-size: 2.1rem;
}

@media screen and (min-width: 601px) and (max-width: 1024px) {
  h5 {
    font-size: 2.4rem;
  }
}
@media screen and (min-width: 1025px) {
  h5 {
    font-size: 2.4rem;
  }
}
h6 {
  font-size: 1.8rem;
}

@media screen and (min-width: 601px) and (max-width: 1024px) {
  h6 {
    font-size: 2rem;
  }
}
@media screen and (min-width: 1025px) {
  h6 {
    font-size: 2rem;
  }
}

/*# sourceMappingURL=style.css.map */
