@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+ */
}

/* m-plus-2-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: "M PLUS 2";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/m-plus-2-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-family: "M PLUS 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: var(--background);
  color: var(--void-shade);
}

body {
  background: color-mix(in srgb, var(--main-color), var(--background) 80%);
  color: var(--font-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

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: transparent;
  z-index: 1000;
  color: var(--background);
  transition: 0.8s;
}

header.scroll {
  background: var(--background);
  color: var(--void-shade);
  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;
  transform-origin: top;
  scale: 1.4;
  transition: 0.5s;
}

header.scroll .site-branding h1 {
  scale: 1;
}

header .site-branding a {
  color: inherit;
  text-decoration: none;
}

header nav#site-navigation-index {
  display: none;
  opacity: 0;
  transition: 0.8s;
}

header.scroll nav#site-navigation-index {
  display: block;
  opacity: 1;
}

#menu-primary-menu {
  display: flex;
  flex-direction: row;
}

ul,
li {
  list-style: none;
}

li.menu-item {
  position: relative;
  padding: 0 12px;
  list-style: none;
  font-family: "Poppins";
}

li.menu-item:nth-child(4n + 1) {
  color: var(--main-brand);
}

li.menu-item:nth-child(4n + 2) {
  color: var(--light-accent);
}

li.menu-item:nth-child(4n + 3) {
  color: var(--dark-accent);
}

li.menu-item:nth-child(4n) {
  color: var(--dark-shade);
}

li.menu-item a {
  text-decoration: none;
  color: inherit;
  text-decoration: none;
  color: inherit;
  text-wrap: nowrap;
}

li.menu-item:not(:first-child):before {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  background: var(--light-shade);
  position: absolute;
  left: 0;
}

/*css header end*/

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;
}

.wp-block-embed__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

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:before {
  content: "";
  display: block;
  background: #ebebeb;
  width: 64px;
  height: 64px;
  position: absolute;
  top: 0;
  left: 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);
  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 > * {
  position: relative;
  z-index: 1;
}

a.wp-block-button__link.wp-element-button {
    border-radius: 0;
    position: relative;
    transition: all 0.3s;
    padding: 0.6em 3em;
}

a.wp-block-button__link.wp-element-button::before {
    content: '';
    width: 100%;
    height:100%;
    position: absolute;
    inset:0;
    border: 1px solid var(--void-shade);
    transition: all 0.5s;
}

a.wp-block-button__link.wp-element-button:hover {
    color: var(--void-shade);
    background: white;
}

a.wp-block-button__link.wp-element-button:hover::before {
    transform: rotateY(180deg);
}

main {
  width: 100%;
  max-width: 70em;
  padding: 0 2rem 3rem;
  background: var(--background);
  border-left: 1px dotted var(--main-brand);
  border-right: 1px dotted var(--main-brand);
  overflow: hidden; /*gsap issue*/
}

section#content-header {
  position: absolute;
  width: 100vw;
  left: 0;
  padding: 0;
  height: 80vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--background);
}

section#content-header img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

section#content-header + section {
  margin-top: 80vh;
  padding-top: 0.5rem;
}

section#content-header #post-title-wrapper {
  position: relative;
  margin: 2em;
}

#post-title-wrapper h1 {
  font-size: 3em;
  margin: 0.8em 0;
  word-break: auto-phrase;
}

#post-title-wrapper a,
#post-title-wrapper time {
  text-decoration: none;
}

#post-title-wrapper #p-time {
  font-size: 0.8rem;
  text-align: right;
}

#post {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1em;
}

#post > figure:nth-child(1) {
  grid-column: 1/4;
}

figure.wp-block-pullquote {
  padding: 0;
}

#post > figure:nth-child(1) blockquote {
  min-height: 40vh;
  align-content: center;
}

#post > figure:nth-child(2) {
  grid-column: 1/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 640px;
  aspect-ratio: 1;
  position: relative;
}

#post > figure:nth-child(2)::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--light-shade);
  position: absolute;
}

#post > figure:nth-child(2) > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

#post > section.works-overview:nth-child(3) {
  grid-column: 3/4;
}

dl > dt {
  font-weight: bold;
}

dl > dt:nth-child(n + 2) {
  margin-top: 4px;
}

dl > dd {
  padding-left: 2em;
}

#post > *:nth-child(n + 4) {
  grid-column: 1/4;
}

#social-wrapper {
  margin-bottom: 1em;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  overflow-x: scroll;
}

.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;
}

.post div#share-button-wrapper {
  display: flex;
  flex-wrap: wrap;
  width: 80%;
}

.post div.share-button {
  display: inline-block;
  width: 48px;
  text-align: center;
  margin: 0 0.8em;
}

.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;
}

.post div#sticky-header a.tweet {
  background: #55acee;
  color: #fff;
}

.post div#sticky-header a.tweet-x {
  background: #212121;
  color: #fff;
}

.post div#sticky-header a.share-bsky {
  background: #0085ff;
  color: #fff;
}

.post div#sticky-header a.share-fb {
  background: #3b5998;
  color: #fff;
}

.post div#sticky-header a.share-ln {
  background: #00c300;
  color: #fff;
}

.post div#sticky-header a.share-ht {
  border: 2px solid #008fde;
}

.post div#sticky-header a.share-sc {
  background: #ddd;
}

.post div#sticky-header a.page-top {
  background: #999;
  color: #fff;
}

.post {
  line-height: 2;
}

#post h2,
#post h3,
#post h4,
#post h5,
#post h6 {
  margin: 1em 0;
  position: relative;
}

#post h2.wp-block-heading {
  border-bottom: 2px solid var(--main-brand);
}

#post h3.wp-block-heading {
  border-bottom: 2px solid var(--light-accent);
}

#post h4.wp-block-heading {
  border-bottom: 2px solid var(--dark-accent);
}

#post 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;
  z-index: -1;
}

#post 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;
  z-index: -1;
  transform-origin: 100% 100%;
  transform: scale(0.9);
}

#post 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;
  z-index: -1;
  transform-origin: 100% 100%;
  transform: scale(0.8);
}

#post p {
  margin: 1em 0;
}

aside .wp-block-search__button{
  white-space: nowrap;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 960px) {
  #content-wrapper main {
    grid-column: 1 / 3;
    padding: 0.5rem 0;
  }

  #content-wrapper aside {
    display: none;
  }
}

@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;
	transform-origin: top left;
  }

  header .site-branding p.site-description {
    display: none;
  }

  header #site-navigation-index {
    width: 100%;
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  header #site-navigation-index::-webkit-scrollbar {
    display: none;
  }

  div#archive-content-header {
    padding: 0.5rem 1rem;
  }

  div#main-aside-wrapper {
    padding: 0.5rem 1rem;
  }

  #archive-content-header h1 {
    font-size: 2rem;
    margin-bottom: 0;
  }

  #archive-content-header img {
    right: 1rem;
  }

  #social-wrapper {
    grid-template-columns: 1fr;
  }

  div#post-title-wrapper {
    margin: 1em;
  }

  #content-wrapper {
    margin-top: 85px;
  }

  #content-header {
    padding: 0.5rem 1rem;
  }

  #post-title-wrapper #cat-and-tags {
    font-size: 0.8rem;
  }

  #post-title-wrapper h1 {
    margin: 0.4em 0;
    font-size: 1.2rem;
  }

  #post-title-wrapper #p-time {
    font-size: 0.6rem;
    text-align: right;
  }

  .post div#sticky-header {
    top: 84px;
  }

  .post div#share-button-wrapper {
    flex-wrap: nowrap;
  }

  .post div.share-button {
    width: 32px;
    margin: 0 0.2em;
  }

  .post div#sticky-header a {
    width: 32px;
    height: 32px;
  }
}

@media screen and (min-width: 640px) and (max-width: 768px) {
  #index-wrapper > main {
    padding: 0.5rem;
  }

  .panel {
    display: grid;
    grid-template-columns: 1fr 2fr;
  }

  .div-desc {
    display: flex;
    padding-left: 1em;
    padding-bottom: 1em;
    padding-right: 0.5em;
    flex-direction: column;
    justify-content: center;
  }

  div#post-title-wrapper {
    margin: 1em;
  }
}

@media screen and (max-width: 640px) {
  main {
    padding: 0 1rem 3rem;
  }

  #post {
    display: flex;
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  :root {
    font-size: 13px;
  }

  #index-wrapper > main {
    padding: 0rem;
  }

  svg#baa-bg-charts {
    transform-origin: 0 0;
    zoom: 0.8;
  }

  .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow:has(
      > svg#baa-bg-charts
    ) {
    overflow: auto;
  }

  .lkc-thumbnail {
    width: 102px; /*override bad plugin*/
  }
}

main .key-visual {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  background: var(--background);
  animation: key-visual 1s forwards;
  animation-delay: 3s;
}

@keyframes key-visual {
  0% {
    opacity: 1;
    z-index: 100;
  }
  99% {
    opacity: 0;
    z-index: 100;
  }
  100% {
    opacity: 0;
    z-index: -1;
  }
}

main .key-visual img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

main #post .key-visual figure,
main #post .key-visual p {
  display: block;
  position: absolute;
  width: min(70vh, 90vw);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  aspect-ratio: 1;
}

main #post .key-visual figure {
  opacity: 0;
  animation: key-visual-figure 1s ease-in-out forwards;
  animation-delay: 1.5s;
}

@keyframes key-visual-figure {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

main #post .key-visual p {
  animation: key-visual-p 1s ease-in-out forwards;
  background: #ebebeb;
  z-index: -1;
}

@keyframes key-visual-p {
  0%,
  60% {
    width: 0;
    transform: rotate(-180deg);
  }
  100% {
    width: min(70vh, 90vw);
    transform: rotate(0);
  }
}

main #post .key-visual p::before {
  content: "";
  display: block;
  position: absolute;
  top: -10%;
  width: min(70vh, 90vw);
  height: calc(min(70vh, 90vw) * 1.2);
  border-left: 2px solid #ebebeb;
  border-right: 2px solid #ebebeb;
  animation: key-visual-before 1s ease-in-out forwards;
}

@keyframes key-visual-before {
  0% {
    width: 0;
    height: calc(min(70vh, 90vw) * 0.2);
    top: calc(min(70vh, 90vw) * -0.1);
    left: 50%;
    transform: translateY(-100vw) rotate(-180deg);
  }
  40% {
    transform: translateY(0) rotate(-180deg);
  }
  60% {
    width: 0;
    height: calc(min(70vh, 90vw) * 0.2);
    top: calc(min(70vh, 90vw) * -0.1);
    left: 50%;
    transform: rotate(-180deg);
  }
  100% {
    width: min(70vh, 90vw);
    height: calc(min(70vh, 90vw) * 1.2);
    top: -10%;
    left: 0;
    transform: rotate(0);
  }
}

main #post .key-visual p::after {
  content: "";
  display: block;
  position: absolute;
  left: -10%;
  width: calc(min(70vh, 90vw) * 1.2);
  height: min(70vh, 90vw);
  border-top: 2px solid #ebebeb;
  border-bottom: 2px solid #ebebeb;
  animation: key-visual-after 1s ease-in-out forwards;
}

@keyframes key-visual-after {
  0% {
    width: calc(min(70vh, 90vw) * 0.2);
    height: 0;
    top: 50%;
    left: calc(min(70vh, 90vw) * -0.1);
    transform: translateX(-100vw) rotate(-180deg);
  }
  40% {
    transform: translateX(0) rotate(-180deg);
  }
  60% {
    width: calc(min(70vh, 90vw) * 0.2);
    height: 0;
    top: 50%;
    left: calc(min(70vh, 90vw) * -0.1);
    transform: rotate(-180deg);
  }
  100% {
    width: calc(min(70vh, 90vw) * 1.2);
    height: min(70vh, 90vw);
    top: 0;
    left: -10%;
    transform: rotate(0);
  }
}
