@charset "UTF-8";
/*
    Theme Name: vibraspark
*/

/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/poppins-v21-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* noto-sans-jp-regular - japanese_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/noto-sans-jp-v53-japanese_latin-regular.woff2")
    format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* biz-udpgothic-regular - japanese_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "BIZ UDPGothic";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/biz-udpgothic-v14-japanese_latin-regular.woff2")
    format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* zen-maru-gothic-regular - japanese_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Zen Maru Gothic";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/zen-maru-gothic-v17-japanese_latin-regular.woff2")
    format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
  --background: #fefefe;
  --light-transparent: #fcfcfccc;
  --light-shade: #f6f6f3;
  --light-accent: #eda200;
  --main-brand: #d31072;
  --dark-accent: #018639;
  --dark-shade: #184ca3;
  --void-shade: #111111;
  font-size: 16px;
  font-family: "Noto Sans JP", "BIZ UDPGothic", "Helvetica Neue", Helvetica,
    Arial, sans-serif;
  background-color: var(--background);
  color: var(--void-shade);
}

body {
  background: color-mix(in srgb, var(--main-brand), var(--background) 98%);
  color: var(--font-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  width: 100%;
  height: 108px;
  margin: 0 auto;
  padding: 0.2em 0;
  background: var(--background);
  z-index: 1000;
  box-shadow: 0 0 20px 2px rgba(31, 34, 37, 0.1);
}

header .site-branding {
  margin: 12px 24px;
  text-align: left;
  font-family: "Poppins";
  display: flex;
  flex-direction: row;
  align-items: baseline;
  text-wrap: nowrap;
}

header .site-branding h1 {
  margin-right: 1rem;
  font-weight: 500;
}

header .site-branding a {
  color: inherit;
  text-decoration: none;
}

header #menu-primary-menu {
  display: flex;
  flex-direction: row;
}

header ul,
header li {
  list-style: none;
}

header li.menu-item {
  position: relative;
  padding: 0 12px;
  list-style: none;
  font-family: "Poppins";
}

header li.menu-item:nth-child(4n + 1) {
  color: var(--main-brand);
}

header li.menu-item:nth-child(4n + 2) {
  color: var(--light-accent);
}

header li.menu-item:nth-child(4n + 3) {
  color: var(--dark-accent);
}

header li.menu-item:nth-child(4n) {
  color: var(--dark-shade);
}

header li.menu-item a {
  text-decoration: none;
  color: inherit;
  text-decoration: none;
  color: inherit;
  text-wrap: nowrap;
}

header li.menu-item:not(:first-child):before {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  background: var(--light-shade);
  position: absolute;
  left: 0;
}

strong {
  font-weight: 700;
  background: linear-gradient(0, var(--light-accent) 5%, transparent 10%);
}

ul.wp-block-list li {
  list-style: inside;
}

ol.wp-block-list li {
  list-style: inside decimal;
}

ul.wp-block-list,
ol.wp-block-list {
  padding-left: 1em;
  background: linear-gradient(90deg, var(--dark-accent) 0.3em, transparent 0);
}

a {
  color: var(--dark-shade);
}

.wp-block-embed__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  word-break: break-all;
}

ul.wp-block-social-links {
  margin: 8px;
}

blockquote {
  position: relative;
  border-top: 4px solid #ebebeb;
  border-bottom: 4px solid #ebebeb;
  margin-top: 1em;
  margin-bottom: 1em;
  padding-top: 1em;
  padding-bottom: 1em;
}

blockquote > * {
  position: relative;
  z-index: 1;
}

blockquote:before {
  content: "";
  display: block;
  background: #ebebeb;
  width: 64px;
  height: 64px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  clip-path: path(
    "M 3.169 51.703 c -0.001 0 -0.005 -24.753 0 -24.982 c 0.008 -0.465 0.17 -1.001 0.499 -1.572 l 9.325 -16.151 c 1.029 -1.783 3.312 -3.23 5.095 -3.23 l 6.461 0 c 1.782 0 2.394 1.447 1.365 3.23 l -7.474 12.946 l 4.316 0 c 3.604 0 6.529 2.925 6.529 6.529 l 0 23.23 c 0 3.604 -2.925 6.529 -6.529 6.529 l -13.059 0 c -3.603 0 -6.528 -2.925 -6.528 -6.529 Z M 34.717 51.703 c 0 0 -0.004 -24.753 0 -24.982 c 0.009 -0.465 0.17 -1.001 0.499 -1.572 l 9.325 -16.151 c 1.029 -1.783 3.313 -3.23 5.095 -3.23 l 6.461 0 c 1.782 0 2.394 1.447 1.365 3.23 l -7.474 12.946 l 4.316 0 c 3.603 0 6.529 2.925 6.529 6.529 l 0 23.23 c 0 3.604 -2.925 6.529 -6.529 6.529 l -13.059 0 c -3.603 0 -6.529 -2.925 -6.529 -6.529 Z"
  );
}

blockquote:after {
  content: "";
  display: block;
  background: #ebebeb;
  width: 64px;
  height: 64px;
  position: absolute;
  top: 0;
  right: 0;
  transform: rotate(180deg);
  z-index: 0;
  clip-path: path(
    "M 3.169 51.703 c -0.001 0 -0.005 -24.753 0 -24.982 c 0.008 -0.465 0.17 -1.001 0.499 -1.572 l 9.325 -16.151 c 1.029 -1.783 3.312 -3.23 5.095 -3.23 l 6.461 0 c 1.782 0 2.394 1.447 1.365 3.23 l -7.474 12.946 l 4.316 0 c 3.604 0 6.529 2.925 6.529 6.529 l 0 23.23 c 0 3.604 -2.925 6.529 -6.529 6.529 l -13.059 0 c -3.603 0 -6.528 -2.925 -6.528 -6.529 Z M 34.717 51.703 c 0 0 -0.004 -24.753 0 -24.982 c 0.009 -0.465 0.17 -1.001 0.499 -1.572 l 9.325 -16.151 c 1.029 -1.783 3.313 -3.23 5.095 -3.23 l 6.461 0 c 1.782 0 2.394 1.447 1.365 3.23 l -7.474 12.946 l 4.316 0 c 3.603 0 6.529 2.925 6.529 6.529 l 0 23.23 c 0 3.604 -2.925 6.529 -6.529 6.529 l -13.059 0 c -3.603 0 -6.529 -2.925 -6.529 -6.529 Z"
  );
}

main {
  margin-top: 109px;
  display: grid;
  gap: 1em;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: 70em;
  padding: 0.5rem 2rem 3rem;
  background: var(--background);
  border-left: 1px dotted var(--main-brand);
  border-right: 1px dotted var(--main-brand);
}

main > * {
  grid-column: 1/5;
}

main section#content-header {
  grid-column: 1/5;
}

main section#main-column {
  grid-column: 1/4;
}

main aside {
  grid-column: 4/5;
}

main section#content-header {
  position: relative;
  width: 100%;
  max-width: 70em;
  padding: 0.5rem 2rem;
  overflow: hidden;
  z-index: 1;
}

main section#content-header img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

main section#content-header img:nth-of-type(1) {
  width: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.2);
  filter: blur(40px) brightness(0.5);
}

main section#content-header img:nth-of-type(2) {
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: -1;
  filter: brightness(0.5);
}

main section#content-header div#post-title-wrapper a,
main section#content-header div#post-title-wrapper time {
  color: var(--background);
  text-decoration: none;
}

main section#content-header div#post-title-wrapper {
  margin: 2em;
}

main section#content-header #post-title-wrapper h1 {
  margin: 0.8em 0;
  word-break: auto-phrase;
}

main section#main-column .post div#sticky-header {
  position: sticky;
  top: 108px;
  width: 101%;
  margin-bottom: 2em;
  padding: 1.2em 0.6em;
  background-color: var(--background);
  display: flex;
  justify-content: space-between;
  z-index: 500;
  font-size: 0.8em;
}

main section#main-column .post div#share-button-wrapper {
  display: flex;
  flex-wrap: wrap;
  width: 80%;
}

main section#main-column .post div.share-button {
  display: inline-block;
  width: 48px;
  text-align: center;
  margin: 0 0.8em;
}

main section#main-column .post div#sticky-header a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

main section#main-column .post div#sticky-header a.tweet {
  background: #55acee;
  color: #fff;
}

main section#main-column .post div#sticky-header a.tweet-x {
  background: #212121;
  color: #fff;
}

main section#main-column .post div#sticky-header a.share-bsky {
  background: #0085ff;
  color: #fff;
}

main section#main-column .post div#sticky-header a.share-fb {
  background: #3b5998;
  color: #fff;
}

main section#main-column .post div#sticky-header a.share-ln {
  background: #00c300;
  color: #fff;
}

main section#main-column .post div#sticky-header a.share-ht {
  border: 2px solid #008fde;
}

main section#main-column .post div#sticky-header a.share-sc {
  background: #ddd;
}

main section#main-column .post div#sticky-header a.page-top {
  background: #999;
  color: #fff;
}

main section#main-column p.toc_title {
  font-size: 150%;
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}

main section#main-column ul.toc_list li {
  list-style: none;
  margin-left: 1em;
  font-size: 95%;
}

main section#main-column div#toc_container {
  border-left: 3px solid var(--main-brand);
  padding: 2px 1em;
}

main section#main-column {
  line-height: 2;
}

main section#main-column h2,
main section#main-column h3,
main section#main-column h4,
main section#main-column h5,
main section#main-column h6 {
  margin: 1em 0;
  position: relative;
}

main section#main-column h2.wp-block-heading {
  border-bottom: 2px solid var(--main-brand);
}

main section#main-column h3.wp-block-heading {
  border-bottom: 2px solid var(--light-accent);
}

main section#main-column h4.wp-block-heading {
  border-bottom: 2px solid var(--dark-accent);
}

main section#main-column h2.wp-block-heading::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 24px;
  clip-path: path("M 66 12 a 6,6 0,0,1 24,0 a 6,6 0,0,1 -24,0 z");
  background-color: var(--main-brand);
  opacity: 0.3;
  bottom: 0;
  right: 0;
}

main section#main-column h3.wp-block-heading::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 24px;
  clip-path: path(
    "M 36 12 a 6,6 0,0,1 24,0 m 6 0 a 6,6 0,0,1 24,0 a 6,6 0,0,1 -24,0 m -6 0 a 6,6 0,0,1 -24,0 z"
  );
  background-color: var(--light-accent);
  opacity: 0.3;
  bottom: 0;
  right: 0;
  transform-origin: 100% 100%;
  transform: scale(0.9);
}

main section#main-column h4.wp-block-heading::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 24px;
  clip-path: path(
    "M 6 12 a 6,6 0,0,1 24,0 m 6 0 a 6,6 0,0,1 24,0m 6 0 a 6,6 0,0,1 24,0 a 6,6 0,0,1 -24,0 m -6 0 a 6,6 0,0,1 -24,0 m -6 0 a 6,6 0,0,1 -24,0 z"
  );
  background-color: var(--dark-accent);
  opacity: 0.3;
  bottom: 0;
  right: 0;
  transform-origin: 100% 100%;
  transform: scale(0.8);
}

main section#main-column p {
  margin: 0.5em 0;
}

aside .wp-block-search__button{
  white-space: nowrap;
}

aside li {
  list-style: none;
}

aside li.recent-posts-widget-with-thumbnails li {
  border-radius: 1.5rem;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16/9;
  margin: 1em 0;
}

aside li.recent-posts-widget-with-thumbnails li > a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
}

aside li.recent-posts-widget-with-thumbnails li > a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  transition: 0.2s;
}

aside li.recent-posts-widget-with-thumbnails li > a:hover img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

aside li.recent-posts-widget-with-thumbnails li > a span {
  position: absolute;
  color: white;
  text-align: center;
  font-size: 0.8em;
  margin: 1em;
  word-break: auto-phrase;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 960px) {
  main section#main-column,
  main aside {
    grid-column: 1/5;
  }
}

@media screen and (max-width: 768px) {
  header {
    padding: 0;
    height: 84px;
    align-items: start;
  }

  header .site-branding h1 {
    font-size: 1.4rem;
    margin-right: 0;
  }

  header #site-navigation-index {
    width: 100%;
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  header #site-navigation-index::-webkit-scrollbar {
    display: none;
  }

  main {
    margin-top: 85px;
  }

  main section#main-column .post div#sticky-header {
    top: 84px;
  }

  main section#main-column .post div.share-button {
    width: 40px;
    margin: 0 0.8em 0 0.2em;
  }

  main section#main-column .post div#sticky-header a {
    width: 36px;
    height: 36px;
  }
}

@media screen and (max-width: 640px) {
  main {
    padding: 0.5rem 1rem 3rem;
  }
}

@media screen and (max-width: 480px) {
  :root {
    font-size: 13px;
  }
}
