@charset "UTF-8";
/*-----------------------------
* Responsive Breakpoints
* 783px + 			Tablet +
* 0px - 782px       Tablet
* 601px - 782px     SmartPhone - Tablet
* 601px +           SmartPhone +
* 0px - 600px       SmartPhone
------------------------------*/
.footer-bottom-right-content {
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  line-height: 0;
}
.footer-bottom-right-content #scroll-page-top,
.footer-bottom-right-content #fixed-toc {
  visibility: hidden;
  opacity: 0;
  transition: 300ms ease-in-out;
}
.footer-bottom-right-content #scroll-page-top.show,
.footer-bottom-right-content #fixed-toc.show {
  opacity: 1;
}
.footer-bottom-right-content #fixed-toc.show {
  visibility: visible;
}
.footer-bottom-right-content .icon-wrapper {
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  border: 1px solid currentColor;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  background: rgba(var(--wp--preset--color--base), 0.3);
  display: block;
}

@media only screen and (min-width: 783px) {
  #scroll-page-top.is-desktop.show {
    visibility: visible;
  }
}
@media only screen and (max-width: 782px) {
  #scroll-page-top.is-tablet.show {
    visibility: visible;
  }
}
@media only screen and (max-width:600px) {
  #scroll-page-top.is-smartphone.show {
    visibility: visible;
  }
}
#hakoniwa-toc-content {
  position: relative;
}
#hakoniwa-toc-content .hakoniwa-toc {
  display: flex;
  flex-direction: column;
}
#hakoniwa-toc-content .hakoniwa-toc a {
  text-decoration: none;
  color: currentColor;
}
#hakoniwa-toc-content .hakoniwa-toc .title {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  margin: 0;
}
#hakoniwa-toc-content .hakoniwa-toc .title svg {
  width: var(--wp--preset--font-size--main-content);
}
#hakoniwa-toc-content .hakoniwa-toc .title::before, #hakoniwa-toc-content .hakoniwa-toc .title::after {
  border-top: 1px solid;
  content: "";
  flex-grow: 1;
  position: static;
}
#hakoniwa-toc-content .hakoniwa-toc > ul {
  position: relative;
  max-height: 10em;
  overflow: hidden;
  font-size: var(--wp--preset--font-size--2-xs);
}
#hakoniwa-toc-content .hakoniwa-toc > ul ul {
  margin-top: calc(var(--wp--custom--style--block-gap) / 4);
}
#hakoniwa-toc-content .hakoniwa-toc.has-expand ul.indent-h2 {
  -webkit-mask-image: linear-gradient(0deg, transparent 0, currentcolor 3rem);
          mask-image: linear-gradient(0deg, transparent 0, currentcolor 3rem);
}
#hakoniwa-toc-content .hakoniwa-toc.has-expand ul.indent-h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3em;
}
#hakoniwa-toc-content .hakoniwa-toc.has-expand input[type=checkbox]:checked ~ label::before {
  content: "閉じる";
}
#hakoniwa-toc-content .hakoniwa-toc.has-expand input[type=checkbox] {
  display: none;
}
#hakoniwa-toc-content .hakoniwa-toc.has-expand input[type=checkbox]:checked ~ ul.indent-h2 {
  -webkit-mask-image: none;
          mask-image: none;
  height: auto;
  max-height: revert;
}
#hakoniwa-toc-content .hakoniwa-toc.has-expand input[type=checkbox]:checked ~ ul.indent-h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-image: none;
}
#hakoniwa-toc-content label {
  order: 3;
  padding: 0.5rem 0;
  text-align: center;
  border-radius: 4px;
  color: var(--wp--preset--color--base);
  background-color: var(--wp--preset--color--contrast);
  cursor: pointer;
}
#hakoniwa-toc-content label::before {
  content: "開く";
}

#hakoniwa-toc-fixed-overlay {
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  background-color: color-mix(in srgb, transparent 20%, var(--wp--preset--color--base));
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: none;
}
#hakoniwa-toc-fixed-overlay .overlay-inner {
  display: flex;
  flex-direction: column;
  margin: 70px auto 0;
  padding: 0;
  width: var(--wp--style--global--content-size);
}
#hakoniwa-toc-fixed-overlay .overlay-inner .title {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
#hakoniwa-toc-fixed-overlay.is-open {
  display: flex;
}
#hakoniwa-toc-fixed-overlay #toc-fixed-list > ul {
  overflow-y: scroll;
  max-height: calc(100vh - 70px - 13rem);
  margin-top: 1.5rem;
}
#hakoniwa-toc-fixed-overlay .close {
  cursor: pointer;
  margin: 1rem auto;
  fill: currentColor;
}
