@charset "UTF-8";
/*
Theme Name: Minimal Portfolio Theme Final
Author: ChatGPT
Version: 1.0
*/
body {
  font-family: "Sora", "Noto Sans JP", sans-serif;
  background-color: #fffaf8;
}

body.single-works {
  background-color: #fff;
}

/* ローディング画面のスタイル */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100vw;
  height: 100vh;
  background-color: #fff; /* 背景色（動画を隠すなら黒） */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* シンプルなスピナー */
#loader .spinner {
  border: 5px solid #b3ffed;
  border-top: 5px solid #cbcbcb;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
header img {
  max-height: 60px;
  max-width: 100%;
  height: auto;
  width: auto;
  padding-top: 1rem;
  padding-left: 1rem;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.single-works {
  overflow: unset;
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
}

.wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .wp-block-post-template {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .wp-block-post-template {
    grid-template-columns: 1fr;
  }
}
.work-card {
  background: none;
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.work-card figure {
  margin-bottom: 0;
}

.work-card h2 {
  margin: 0;
  line-height: 1.4;
}

.work-card h2:hover {
  color: inherit;
}

/*.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}*/
.wp-block-post-featured-image img {
  border-radius: 6px;
  width: 100%;
  height: auto;
}

.work-card .wp-block-post-title a {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
}

.work-card .wp-block-post-title a:hover {
  color: #0073aa;
}

.work-card .wp-block-post-excerpt {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

.archive-works {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.footer-text {
  text-align: center;
  font-size: 0.8rem;
  color: #666;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wp-site-blocks {
  flex: 1;
}

footer.wp-block-group {
  margin-top: auto;
}

/* --- Revised Sticky Footer Layout --- */
html, body {
  height: 100%;
  margin: 0;
}

.wp-site-blocks {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wp-site-blocks > *:nth-last-child(2) {
  flex: 1;
}

footer.wp-block-group {
  margin-top: auto;
}

/* Liquid Glass Filter Background Only */
.work-card {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border-radius: 16px;
  color: #fff;
  background-color: rgba(199, 209, 212, 0.4);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease;
}

.work-card:hover {
  transform: scale(1.08);
}

.work-card .card-bg {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  filter: url(#lg-distort);
  z-index: 0;
}

.work-card .card-content {
  position: relative;
  z-index: 1;
}

h2:hover {
  color: inherit !important;
  text-decoration: none !important;
}

.hero-logo-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hero-logo img {
  max-width: 80vw;
  min-width: 20vw;
  height: auto;
}

.home .wp-block-template-part {
  display: none;
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 2rem;
}

.category-button {
  display: inline-block;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  transition: background-color 0.3s ease;
}

.category-button:hover {
  background-color: #444;
}

.featured-top-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 2rem;
}

.content-container {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.animated-gradient-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

#gradient-bg {
  width: 100%;
  height: 100%;
  display: block;
}

body {
  margin: 0;
  overflow: hidden;
}

.bg-gradation {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: 100vh;
  z-index: -100;
  background: #fffaf8;
}

.bg-gradation span {
  width: 64vmin;
  height: 64vmin;
  border-radius: 64vmin;
  backface-visibility: hidden;
  position: absolute;
  animation-name: move;
  animation-duration: 200s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.bg-gradation span:nth-child(1) {
  color: #d8fffd;
  top: 95%;
  left: 17%;
  animation-duration: 40.2s;
  animation-delay: -144.6s;
  transform-origin: 11vw -10vh;
  box-shadow: 128vmin 0 37.7203076039vmin currentColor;
}
.bg-gradation span:nth-child(2) {
  color: #fffdd8;
  top: 51%;
  left: 91%;
  animation-duration: 89.7s;
  animation-delay: -109s;
  transform-origin: -9vw 4vh;
  box-shadow: -128vmin 0 40.506832226vmin currentColor;
}
.bg-gradation span:nth-child(3) {
  color: #d8fffd;
  top: 50%;
  left: 18%;
  animation-duration: 206.6s;
  animation-delay: -37.6s;
  transform-origin: 15vw 1vh;
  box-shadow: -128vmin 0 36.6452862731vmin currentColor;
}
.bg-gradation span:nth-child(4) {
  color: #e7d9ff;
  top: 73%;
  left: 73%;
  animation-duration: 21.1s;
  animation-delay: -82.4s;
  transform-origin: 7vw -12vh;
  box-shadow: 128vmin 0 19.5197048349vmin currentColor;
}
.bg-gradation span:nth-child(5) {
  color: #fffdd8;
  top: 57%;
  left: 82%;
  animation-duration: 54.6s;
  animation-delay: -141.3s;
  transform-origin: 1vw 12vh;
  box-shadow: -128vmin 0 29.3358128426vmin currentColor;
}
.bg-gradation span:nth-child(6) {
  color: #fffdd8;
  top: 25%;
  left: 34%;
  animation-duration: 141.8s;
  animation-delay: -125.3s;
  transform-origin: 20vw 4vh;
  box-shadow: 128vmin 0 27.231136969vmin currentColor;
}
.bg-gradation span:nth-child(7) {
  color: #e7d9ff;
  top: 65%;
  left: 55%;
  animation-duration: 96.6s;
  animation-delay: -34.5s;
  transform-origin: -12vw 20vh;
  box-shadow: 128vmin 0 18.0494220901vmin currentColor;
}
.bg-gradation span:nth-child(8) {
  color: #ffcbdb;
  top: 56%;
  left: 84%;
  animation-duration: 56s;
  animation-delay: -94.4s;
  transform-origin: -22vw 23vh;
  box-shadow: 128vmin 0 47.2997304499vmin currentColor;
}
.bg-gradation span:nth-child(9) {
  color: #ffcbdb;
  top: 36%;
  left: 27%;
  animation-duration: 205.2s;
  animation-delay: -10.6s;
  transform-origin: 7vw -3vh;
  box-shadow: 128vmin 0 20.1138913546vmin currentColor;
}
.bg-gradation span:nth-child(10) {
  color: #fffdd8;
  top: 38%;
  left: 50%;
  animation-duration: 128.6s;
  animation-delay: -106.5s;
  transform-origin: -4vw -8vh;
  box-shadow: -128vmin 0 44.2122605268vmin currentColor;
}
.bg-gradation span:nth-child(11) {
  color: #ffcbdb;
  top: 64%;
  left: 85%;
  animation-duration: 24.5s;
  animation-delay: -69.6s;
  transform-origin: 24vw 8vh;
  box-shadow: 128vmin 0 25.9484753588vmin currentColor;
}
.bg-gradation span:nth-child(12) {
  color: #e7d9ff;
  top: 42%;
  left: 57%;
  animation-duration: 182.9s;
  animation-delay: -142.5s;
  transform-origin: 17vw -17vh;
  box-shadow: -128vmin 0 26.0576730908vmin currentColor;
}
.bg-gradation span:nth-child(13) {
  color: #e7d9ff;
  top: 67%;
  left: 4%;
  animation-duration: 159.3s;
  animation-delay: -134.7s;
  transform-origin: -21vw 23vh;
  box-shadow: -128vmin 0 47.796627518vmin currentColor;
}
.bg-gradation span:nth-child(14) {
  color: #ffcbdb;
  top: 39%;
  left: 89%;
  animation-duration: 15.3s;
  animation-delay: -95.5s;
  transform-origin: -11vw -18vh;
  box-shadow: -128vmin 0 40.7032342001vmin currentColor;
}
.bg-gradation span:nth-child(15) {
  color: #ffcbdb;
  top: 67%;
  left: 75%;
  animation-duration: 29.5s;
  animation-delay: -31.9s;
  transform-origin: 20vw 8vh;
  box-shadow: -128vmin 0 29.5729567208vmin currentColor;
}
.bg-gradation span:nth-child(16) {
  color: #ffcbdb;
  top: 80%;
  left: 40%;
  animation-duration: 185.9s;
  animation-delay: -67.7s;
  transform-origin: 19vw -2vh;
  box-shadow: -128vmin 0 47.2543042597vmin currentColor;
}
.bg-gradation span:nth-child(17) {
  color: #d8fffd;
  top: 46%;
  left: 84%;
  animation-duration: 38.8s;
  animation-delay: -12.8s;
  transform-origin: -21vw 12vh;
  box-shadow: 128vmin 0 43.6839426273vmin currentColor;
}
.bg-gradation span:nth-child(18) {
  color: #d8fffd;
  top: 13%;
  left: 51%;
  animation-duration: 47.8s;
  animation-delay: -84.7s;
  transform-origin: 2vw -19vh;
  box-shadow: -128vmin 0 27.1858778348vmin currentColor;
}
.bg-gradation span:nth-child(19) {
  color: #ffcbdb;
  top: 39%;
  left: 20%;
  animation-duration: 42.5s;
  animation-delay: -78.3s;
  transform-origin: -18vw 8vh;
  box-shadow: -128vmin 0 44.5968909806vmin currentColor;
}
.bg-gradation span:nth-child(20) {
  color: #e7d9ff;
  top: 33%;
  left: 14%;
  animation-duration: 125.5s;
  animation-delay: -135.3s;
  transform-origin: 3vw -6vh;
  box-shadow: -128vmin 0 32.0823720084vmin currentColor;
}
.bg-gradation span:nth-child(21) {
  color: #d8fffd;
  top: 70%;
  left: 6%;
  animation-duration: 36.9s;
  animation-delay: -98.4s;
  transform-origin: 8vw 21vh;
  box-shadow: -128vmin 0 42.5072883577vmin currentColor;
}
.bg-gradation span:nth-child(22) {
  color: #e7d9ff;
  top: 78%;
  left: 22%;
  animation-duration: 108.1s;
  animation-delay: -195.7s;
  transform-origin: 20vw -5vh;
  box-shadow: 128vmin 0 25.9443351088vmin currentColor;
}
.bg-gradation span:nth-child(23) {
  color: #e7d9ff;
  top: 26%;
  left: 41%;
  animation-duration: 83.5s;
  animation-delay: -127.7s;
  transform-origin: 22vw -19vh;
  box-shadow: 128vmin 0 21.73492338vmin currentColor;
}
.bg-gradation span:nth-child(24) {
  color: #fffdd8;
  top: 41%;
  left: 23%;
  animation-duration: 109.8s;
  animation-delay: -187s;
  transform-origin: 1vw -18vh;
  box-shadow: -128vmin 0 32.9545749862vmin currentColor;
}
.bg-gradation span:nth-child(25) {
  color: #fffdd8;
  top: 11%;
  left: 42%;
  animation-duration: 47.2s;
  animation-delay: -126.9s;
  transform-origin: 22vw -4vh;
  box-shadow: 128vmin 0 16.1503698035vmin currentColor;
}
.bg-gradation span:nth-child(26) {
  color: #fffdd8;
  top: 24%;
  left: 32%;
  animation-duration: 124.9s;
  animation-delay: -103.2s;
  transform-origin: -9vw 25vh;
  box-shadow: -128vmin 0 25.237678145vmin currentColor;
}
.bg-gradation span:nth-child(27) {
  color: #fffdd8;
  top: 30%;
  left: 5%;
  animation-duration: 109.6s;
  animation-delay: -131.7s;
  transform-origin: -18vw -21vh;
  box-shadow: 128vmin 0 28.7814000484vmin currentColor;
}
.bg-gradation span:nth-child(28) {
  color: #fffdd8;
  top: 57%;
  left: 67%;
  animation-duration: 148.9s;
  animation-delay: -182.8s;
  transform-origin: -18vw 18vh;
  box-shadow: -128vmin 0 22.8339872592vmin currentColor;
}
.bg-gradation span:nth-child(29) {
  color: #ffcbdb;
  top: 37%;
  left: 54%;
  animation-duration: 195.8s;
  animation-delay: -111.9s;
  transform-origin: -22vw 0vh;
  box-shadow: -128vmin 0 46.7009449668vmin currentColor;
}
.bg-gradation span:nth-child(30) {
  color: #ffcbdb;
  top: 23%;
  left: 40%;
  animation-duration: 147.6s;
  animation-delay: -156.4s;
  transform-origin: 17vw 13vh;
  box-shadow: 128vmin 0 33.4202418512vmin currentColor;
}

@keyframes move {
  100% {
    transform: translate3d(0, 0, 1px) rotate(360deg);
  }
}

a.category-button {
  background-color: rgba(199, 209, 212, 0.4);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease;
  color: #000;
  font-weight: bold;
}
/*# sourceMappingURL=style.css.map */
