/*
Theme Name: thema-MR
Author: A.N
Description: Custom WordPress Theme
Version: 1.0
*/
/* 共通 */
html {
  box-sizing: border-box;
  overflow-x: hidden;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}

a {
  text-decoration:none;
}

:root
{
  --line-color: #333;
  --clip-color: #ffffff;
}

.blog-top,
.blog-top * {
  box-sizing: border-box;
}
.blog-top {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}

@media (max-width: 1800px) {
  .nav-list a {
    font-size: 0.9rem;
  }
}
@media screen and (max-width: 1000px) {
  .content-group {
    justify-content: center;
  }
}

/* header */
.header {
  padding: var(--var-sds-size-space-800, 32px);
  display: flex;
  flex-direction: row;
  gap: var(--var-sds-size-space-600, 24px);
  row-gap: 0px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-content: center;
  flex-shrink: 0;
  width: 1920px;
  position: relative;
  overflow: hidden;
}
.site-header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
} 

.nav-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  text-decoration: none;
  font-family: 'ShareTechMono-Regular', monospace;
  color: #333;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.nav-list a:hover {
  color: #5ba9a8;
}

.navigation-group {
  display: flex;
  flex-direction: row;
  gap: var(--var-sds-size-space-200, 8px);
  row-gap: 8px;
  align-items: flex-start;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-content: flex-start;
  flex: 1;
  position: relative;
}
.navigation-group-sp {
  display: none;
}

.blog-category {
  border-style: solid;
  border-color: #000000;
  border-width: 0px 0px 1px 0px;
  padding: var(--var-sds-size-space-200, 8px);
  display: flex;
  flex-direction: row;
  gap: var(--var-sds-size-space-200, 8px);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.link-text {
  color: var(--var-sds-color-text-default-default, #1e1e1e);
  text-align: left;
  font-family: var(
    --single-line-body-base-font-family,
    "Inter-Regular",
    sans-serif
  );
  font-size: var(--single-line-body-base-font-size, 16px);
  line-height: var(--single-line-body-base-line-height, 100%);
  font-weight: var(--single-line-body-base-font-weight, 400);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.blog-category2 {
  padding: var(--var-sds-size-space-200, 8px);
  display: flex;
  flex-direction: row;
  gap: var(--var-sds-size-space-200, 8px);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.profile {
  padding: var(--var-sds-size-space-200, 8px);
  display: flex;
  flex-direction: row;
  gap: var(--var-sds-size-space-200, 8px);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.contact {
  padding: var(--var-sds-size-space-200, 8px);
  display: flex;
  flex-direction: row;
  gap: var(--var-sds-size-space-200, 8px);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

/* .content-description {
  display: flex;
  flex-direction: row;
  gap: 0px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 100%;
  height: 200px;
  position: relative;
}
.background-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 200px;
  object-fit: cover;
  z-index: 0;
}
.description-text {
  z-index: 1;
} */
.content-description {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.background-video {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.description-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;

  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%;
  pointer-events: none;
}

.description-text img {
  display: block;
  height: 200px;
  width: auto;
}

.content-title {
  display: flex;
  flex-direction: row;
  gap: 0px;
  padding-top: 65px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 100%;
  position: relative;
}
.text-area {
  border-style: solid;
  border-color: #000000;
  border-width: 0px 0px 1px 0px;
  flex-shrink: 0;
  width: 139px;
  height: 45px;
  position: relative;
}
.title-text {
  color: #000000;
  text-align: left;
  font-family: "ShareTechMono-Regular", sans-serif;
  font-size: 27px;
  line-height: 140%;
  font-weight: 400;
  position: absolute;
  left: 0px;
  top: 0px;
}

.button-left-arrow,
.button-right-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  z-index: 10;
  cursor: pointer;
}

.button-left-arrow {
  left: 30px;
}

.button-right-arrow {
  right: 30px;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease;
  gap: 75px;
  width: min-content;
  position: relative;
}

.content-area {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 623.48px;
  padding-top: 10px;
}
.content-line {
  margin-top: -1px;
  border-style: dashed;
  border-color: #000000;
  border-width: 1px 0 0 0;
  width: 100%;
  height: 0px;
  position: absolute;
  left: 0px;
  top: 20px;
  box-shadow: 4px 9px 4px 0px rgba(0, 0, 0, 0.25);
}
.content-group {
  position: relative;
  overflow: hidden;
  width: 90%;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.content {
  flex-shrink: 0;
  flex: 0 0 auto;
  width: 450px;
  height: 560px;
  position: relative;
}
.card-group {
  background: var(--var-sds-color-background-default-default, #ffffff);
  border-radius: var(--var-sds-size-radius-200, 8px);
  border-style: solid;
  border-color: var(--var-sds-color-border-default-default, #d9d9d9);
  border-width: 1px;
  padding: var(--var-sds-size-space-400, 16px);
  display: flex;
  flex-direction: column;
  gap: var(--var-sds-size-space-400, 16px);
  align-items: flex-start;
  justify-content: flex-start;
  width: 270px;
  height: 425px;
  min-width: 240px;
  position: absolute;
  left: 186.01px;
  top: 35px;
  box-shadow: 4px 9px 5.3px 0px rgba(0, 0, 0, 0.25);

  transition: transform 0.5s ease;
  will-change: transform;

  transform-origin: 0 0;
  transform: rotate(23deg) scale(1, 1);
}
.card-group .content {
  flex: 0 0 auto;
  margin: 0 20px;
}

@keyframes wiggleAnim {
  0%   { transform: rotate(23deg); }
  25%  { transform: rotate(24.5deg); }
  50%  { transform: rotate(21.5deg); }
  75%  { transform: rotate(24.5deg); }
  100% { transform: rotate(23deg); }
}

.wiggle {
  animation: wiggleAnim 0.7s ease;
}

/* ホバー時の揺れアニメーション */
@keyframes hoverWiggleAnim {
  0%   { transform: rotate(23deg); }
  25%  { transform: rotate(25deg); }
  50%  { transform: rotate(20deg); }
  75%  { transform: rotate(25deg); }
  100% { transform: rotate(23deg); }
}

.hover-wiggle {
  animation: hoverWiggleAnim 0.8s ease-in-out;
}

.blog-image {
  background: var(
    --image-placeholder,
    linear-gradient(to left, #e3e3e3, #e3e3e3)
  );
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  flex-shrink: 0;
  height: 200px;
  position: relative;
  overflow: hidden;
  object-fit: cover !important;
}
.blog-body {
  display: flex;
  flex-direction: column;
  gap: var(--var-sds-size-space-200, 8px);
  align-items: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 208px;
  position: relative;
}
.blog-datetime-area {
  display: flex;
  flex-direction: row;
  gap: 0px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.blog-datetime-text {
  color: var(--var-sds-color-text-default-default, #1e1e1e);
  text-align: left;
  font-family: "ShareTechMono-Regular", sans-serif;
  font-size: var(--body-base-font-size, 16px);
  line-height: var(--body-base-line-height, 140%);
  font-weight: var(--body-base-font-weight, 400);
  position: relative;
  flex: 1;
}
.blog-title-area {
  display: flex;
  flex-direction: row;
  gap: 0px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
}
.blog-title-text {
  color: var(--var-sds-color-text-default-default, #1e1e1e);
  text-align: left;
  font-family: "ShareTechMono-Regular", sans-serif;
  font-size: var(--body-strong-font-size, 16px);
  line-height: var(--body-strong-line-height, 140%);
  font-weight: var(--body-strong-font-weight, 600);
  position: relative;
}

.blog-top .blog-title-text a,
.blog-top .blog-title-text a:visited {
  color: inherit;
  text-decoration: none;
}

.blog-top .blog-title-text a:hover,
.blog-top .blog-title-text a:focus-visible {
  color: #5ba9a8;
}

.blog-top .blog-title-text a:focus-visible {
  outline: 1px solid #5ba9a8;
  outline-offset: 3px;
}

.blog-body-area {
  display: flex;
  flex-direction: row;
  gap: 0px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.blog-body-text {
  color: var(--var-sds-color-text-default-secondary, #757575);
  text-align: left;
  font-family: "ShareTechMono-Regular", sans-serif;
  font-size: var(--body-small-font-size, 14px);
  line-height: var(--body-small-line-height, 140%);
  font-weight: var(--body-small-font-weight, 400);
  position: relative;
}

.clip {
  /* width: 45.5px;
  height: 110.5px; */
  width: 45.5px;
  height: 70px;
  position: absolute;
  left: 230.44px;
  top: 109.42px;
  transform: translate(-60.72px, -109.71px);
  overflow: visible;

  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.4));
  transition: all 0.3s ease-in-out;
}

.vector-12 {
  width: 45.5px;
  height: 110.5px;
  position: absolute;
  left: 236.44px;
  top: 109.42px;
  transform: translate(-60.72px, -109.71px);
  overflow: visible;
}
.vector-13 {
  width: 45.5px;
  height: 110.5px;
  position: absolute;
  left: 236.44px;
  top: 109.42px;
  transform: translate(-60.72px, -109.71px);
  overflow: visible;
}

.link-blog-all-list-area {
  padding: 10px 100px 10px 100px;
  display: flex;
  flex-direction: row;
  gap: 0px;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  width: 100%;
  position: relative;
}
.link-blog-all-list {
  border-style: solid;
  border-color: #565656;
  border-width: 0px 0px 1px 0px;
  padding: 10px;
  display: flex;
  flex-direction: row;
  gap: 0px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.link-blog-all-list .text {
  color: #565656;
  text-align: left;
  font-family: "ShareTechMono-Regular", sans-serif;
  font-size: 24px;
  line-height: 100%;
  font-weight: 400;
  position: relative;
}
.profile-area {
  width: 100%;
  background: rgba(255, 225, 0, 0.13);
  display: flex;
  flex-direction: column;
  gap: 55px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.profile-title {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 121px;
  position: relative;
}
.title-text2 {
  color: #000000;
  text-align: left;
  font-family: "ShareTechMono-Regular", sans-serif;
  font-size: 32px;
  line-height: 140%;
  font-weight: 400;
  position: relative;
}
.profile-main {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 55px;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.profile-right {
  flex-shrink: 0;
  width: 70%;
  height: 348px;
  position: relative;
}
.profile-text-group {
  display: flex;
  flex-direction: column;
  gap: 55px;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0px;
  top: 0px;
}
.profile-name-text {
  color: #000000;
  text-align: left;
  font-family: "ShareTechMono-Regular", sans-serif;
  font-size: 32px;
  line-height: 140%;
  font-weight: 400;
  position: relative;
}
.profile-description-text-1 {
  color: #000000;
  text-align: left;
  font-family: "ShareTechMono-Regular", sans-serif;
  font-size: 32px;
  line-height: 140%;
  font-weight: 400;
  position: relative;
}
.profile-description-text-2 {
  color: #000000;
  text-align: left;
  font-family: "ShareTechMono-Regular", sans-serif;
  font-size: 24px;
  line-height: 140%;
  font-weight: 400;
  position: relative;
}
.button-group {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
  justify-content: flex-start;
  position: absolute;
  left: 41px;
  top: 300px;
}

.instagram {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  position: relative;
  overflow: visible;
}

.footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 100%;
    height: 100px;
    position: relative;
  }

.footer-text {
  color: #000000;
  text-align: left;
  font-family: "ShareTechMono-Regular", sans-serif;
  font-size: 16px;
  line-height: 140%;
  font-weight: 400;
  position: relative;
}

@media screen and (max-width: 1000px) {
  .background-video {
    height: 150px;
  }

  .description-text img {
    height: 150px;
  }

}

/* SP版 */
@media screen and (max-width: 684px) {

  .site-header {
    padding: 0.5rem;
  }

  .navigation-group {
    display: none;
  }
  .navigation-group-sp {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    flex: 1;
    position: relative;
  }

  .menu-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.5s ease;
  }
  .menu-icon.rotate {
    animation: rotateOnce 0.5s ease forwards;
  }
  @keyframes rotateOnce {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  .navigation-group-sp .nav-list {
    display: flex;
    flex-direction: column;
    background-color: white;
    width: 50%;
    padding: 10px;
    position: absolute;
    top: 32px;
    right: -8px;
    z-index: 10;

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;

    transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  }
  .navigation-group-sp.active .nav-list {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }


  .background-video {
    height: 84px;
  }

  .description-text img {
    height: 77px;
  }

  .button-left-arrow {
    display: none !important;
  }
  .button-right-arrow {
    display: none !important;
  }

  .blog-top .text-area {
    width: 152px;
  }

  .blog-top .title-text {
    white-space: nowrap;
  }

  .blog-top .content-area {
    height: 540px;
    overflow: hidden;
  }

  .blog-top .content-group {
    width: 100%;
    padding: 0;
    justify-content: flex-start;
  }

  .blog-top .slider-track {
    gap: 75px;
  }

  .blog-top .content {
    width: 300px;
    height: 455px;
  }

  .blog-top .card-group {
    width: 240px;
    height: 385px;
    min-width: 0;
    padding: 14px;
    gap: 12px;
    left: 70px;
    top: 38px;
    transform: rotate(8deg);
  }

  .blog-top .blog-image {
    height: 160px;
  }

  .blog-top .blog-body {
    width: 100%;
  }

  .blog-top .clip {
    width: 36px;
    height: 56px;
    left: 112px;
    top: 98px;
  }

  .blog-top .link-blog-all-list-area {
    padding: 0 28px 18px 0;
    justify-content: flex-end;
  }

  .blog-top .link-blog-all-list {
    padding: 8px;
  }

  .blog-top .link-blog-all-list .text {
    font-size: 18px;
  }

  .blog-top .wiggle {
    animation: mobileWiggleAnim 0.7s ease;
  }

  .blog-top .hover-wiggle {
    animation: mobileHoverWiggleAnim 0.8s ease-in-out;
  }

  @keyframes mobileWiggleAnim {
    0%   { transform: rotate(8deg); }
    25%  { transform: rotate(9.5deg); }
    50%  { transform: rotate(6.5deg); }
    75%  { transform: rotate(9.5deg); }
    100% { transform: rotate(8deg); }
  }

  @keyframes mobileHoverWiggleAnim {
    0%   { transform: rotate(8deg); }
    25%  { transform: rotate(10deg); }
    50%  { transform: rotate(6deg); }
    75%  { transform: rotate(10deg); }
    100% { transform: rotate(8deg); }
  }
}

/* -- カテゴリ別一覧ページ ここから -- */
.category-page {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.category-header {
  margin-bottom: 40px;
}

.category-title {
  font-size: 28px;
  font-weight: bold;
}

.category-description {
  margin-top: 10px;
  color: #666;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-item {
  border: 1px solid #eee;
  padding: 10px;
  transition: 0.3s;
}

.post-item:hover {
  opacity: 0.7;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
}

.post-title {
  font-size: 16px;
  margin-top: 10px;
}

.post-date {
  font-size: 12px;
  color: #888;
}

/* SP対応 */
@media screen and (max-width: 600px) {
  .post-list {
    grid-template-columns: 1fr;
  }
}

/* -- カテゴリ別一覧ページ ここまで -- */

/* -- Single post page -- */
.single-page {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}

.single-article {
  width: 100%;
}

.single-header {
  border-bottom: 1px solid #d9d9d9;
  margin-bottom: 32px;
  padding-bottom: 24px;
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin-bottom: 12px;
  color: #757575;
  font-family: "ShareTechMono-Regular", monospace;
  font-size: 14px;
  line-height: 140%;
}

.single-categories a {
  color: #565656;
  border-bottom: 1px solid #d9d9d9;
}

.single-categories a:hover {
  color: #5ba9a8;
}

.single-title {
  margin: 0;
  color: #1e1e1e;
  font-family: "ShareTechMono-Regular", monospace;
  font-size: 32px;
  font-weight: 600;
  line-height: 140%;
}

.single-thumbnail {
  margin-bottom: 40px;
}

.single-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #eee;
  object-fit: cover;
}

.single-content {
  color: #1e1e1e;
  font-size: 16px;
  line-height: 1.9;
}

.single-content > *:first-child {
  margin-top: 0;
}

.single-content h2,
.single-content h3 {
  margin: 40px 0 16px;
  line-height: 140%;
}

.single-content p,
.single-content ul,
.single-content ol,
.single-content blockquote,
.single-content figure {
  margin: 0 0 24px;
}

.single-content img {
  max-width: 100%;
  height: auto;
}

.single-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #d9d9d9;
  margin-top: 56px;
  padding-top: 24px;
  font-family: "ShareTechMono-Regular", monospace;
}

.single-post-nav a {
  color: #565656;
  border-bottom: 1px solid #565656;
}

.single-post-nav a:hover {
  color: #5ba9a8;
}

.single-post-nav-next {
  margin-left: auto;
  text-align: right;
}

.single-empty {
  color: #757575;
  font-family: "ShareTechMono-Regular", monospace;
}

@media screen and (max-width: 600px) {
  .single-page {
    padding: 32px 16px 56px;
  }

  .single-title {
    font-size: 24px;
  }

  .single-post-nav {
    flex-direction: column;
  }

  .single-post-nav-next {
    margin-left: 0;
    text-align: left;
  }
}

/* -- Single post page end -- */

/* -- Category archive cards -- */
.category-page {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}

.category-header {
  border-bottom: 1px solid #d9d9d9;
  margin-bottom: 40px;
  padding-bottom: 24px;
}

.category-label {
  margin: 0 0 8px;
  color: #757575;
  font-family: "ShareTechMono-Regular", monospace;
  font-size: 14px;
  line-height: 140%;
}

.category-title {
  margin: 0;
  color: #1e1e1e;
  font-family: "ShareTechMono-Regular", monospace;
  font-size: 32px;
  font-weight: 600;
  line-height: 140%;
}

.category-description {
  margin-top: 16px;
  color: #565656;
  font-size: 15px;
  line-height: 1.8;
}

.category-description p {
  margin: 0;
}

.category-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.category-card {
  min-width: 0;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  box-shadow: 4px 9px 5.3px 0 rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.category-card:hover {
  opacity: 0.86;
  transform: translateY(-2px);
}

.category-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.category-card-thumbnail {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #e3e3e3;
  overflow: hidden;
}

.category-card-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.category-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: #757575;
  font-family: "ShareTechMono-Regular", monospace;
  font-size: 12px;
  line-height: 140%;
}

.category-card-category {
  color: #565656;
}

.category-card-title {
  margin: 0;
  color: #1e1e1e;
  font-family: "ShareTechMono-Regular", monospace;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.category-card-excerpt {
  margin: 0;
  color: #757575;
  font-size: 14px;
  line-height: 1.7;
}

.category-empty {
  color: #757575;
  font-family: "ShareTechMono-Regular", monospace;
}

.category-pagination {
  margin-top: 48px;
  font-family: "ShareTechMono-Regular", monospace;
}

.category-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.category-pagination .page-numbers {
  min-width: 36px;
  padding: 8px 10px;
  border: 1px solid #d9d9d9;
  color: #565656;
  text-align: center;
}

.category-pagination .page-numbers.current,
.category-pagination .page-numbers:hover {
  border-color: #5ba9a8;
  color: #5ba9a8;
}

@media screen and (max-width: 900px) {
  .category-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 600px) {
  .category-page {
    padding: 32px 16px 56px;
  }

  .category-title {
    font-size: 24px;
  }

  .category-card-list {
    grid-template-columns: 1fr;
  }
}

/* -- Category archive cards end -- */

/* -- About page -- */
.about-page {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  min-height: calc(100vh - 160px);
  padding: 44px 28px 96px;
  background: #ffffff;
  color: #161616;
}

.about-page-label {
  margin: 0;
  color: #5f5f5f;
  font-family: "ShareTechMono-Regular", monospace;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.4;
}

.about-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 8vw, 120px);
  margin: clamp(88px, 14vw, 170px) auto 0;
}

.about-frame-wrap {
  position: relative;
  width: min(43vw, 430px);
  min-width: 280px;
}

.about-frame-paint-area {
  position: absolute;
  inset: 17% 17% 18%;
  z-index: 1;
  overflow: hidden;
  background: #fffdf9;
}

.about-paint-dot {
  position: absolute;
  display: block;
  width: var(--paint-size);
  aspect-ratio: 1;
  left: var(--paint-left);
  top: var(--paint-top);
  border-radius:
  48% 52% 46% 54% /
  42% 38% 62% 58%;
  mix-blend-mode: multiply;
  background: var(--paint-color);
  filter: blur(0.5px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.18);
  transform-origin: center;
  animation: aboutPaintDot 880ms ease-out forwards;
  /* animation: aboutPaintDot 1.5s cubic-bezier(.22,1,.36,1) forwards; */
  animation-delay: var(--paint-delay);
}

.about-paint-dot-1 {
  --paint-size: 46%;
  --paint-left: 64%;
  --paint-top: 75%;
  --paint-color: #e5272740;
  --paint-delay: 160ms;
}

.about-paint-dot-2 {
  --paint-size: 43%;
  --paint-left: 35%;
  --paint-top: 23%;
  --paint-color: #c527e53d;
  --paint-delay: 520ms;
}

.about-paint-dot-3 {
  --paint-size: 29%;
  --paint-left: 35%;
  --paint-top: 50%;
  --paint-color: #e58c274b;
  --paint-delay: 880ms;
}

.about-paint-dot-4 {
  --paint-size: 36%;
  --paint-left: 60%;
  --paint-top: 45%;
  --paint-color: #07006342;
  --paint-delay: 1240ms;
}

.about-paint-dot-5 {
  --paint-size: 36%;
  --paint-left: 70%;
  --paint-top: 20%;
  --paint-color: #ffff0046;
  --paint-delay: 1600ms;
}

.about-paint-dot-6 {
  --paint-size: 15%;
  --paint-left: 25%;
  --paint-top: 15%;
  --paint-color: #002aff44;
  --paint-delay: 1960ms;
}

.about-paint-dot-7 {
  --paint-size: 55%;
  --paint-left: 30%;
  --paint-top: 83%;
  --paint-color: #227e004f;
  --paint-delay: 2120ms;
}

.about-frame-image {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) contrast(1.08);
}

@keyframes aboutPaintDot {

  0% {
    opacity: 0;
    transform:
      translate(-50%, -120%)
      scale(0.08, 0.22);
  }

  35% {
    opacity: 0.95;
    transform:
      translate(-50%, -50%)
      scale(0.95, 1.12);
  }

  52% {
    transform:
      translate(-50%, -50%)
      scale(1.08, 0.92);
  }

  72% {
    transform:
      translate(-50%, -50%)
      scale(0.96, 1.04);
  }

  100% {
    opacity: 0.72;
    transform:
      translate(-50%, -50%)
      scale(1);
  }
}

.about-profile-card {
  width: min(100%, 280px);
  border: 1px solid #d8d4cc;
  padding: 34px 32px 32px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)),
    repeating-linear-gradient(135deg, #fbfaf7 0 8px, #f4f1eb 8px 9px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.about-profile-kicker {
  margin: 0 0 22px;
  color: #8a8580;
  font-family: "ShareTechMono-Regular", monospace;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.4;
}

.about-profile-name {
  margin: 0 0 24px;
  font-family: "ShareTechMono-Regular", monospace;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
}

.about-profile-list {
  margin: 0;
}

.about-profile-list div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: baseline;
}

.about-profile-list div + div {
  margin-top: 12px;
}

.about-profile-list dt,
.about-profile-list dd {
  color: #343434;
  font-family: "ShareTechMono-Regular", monospace;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.6;
}

.about-profile-list dt {
  font-weight: 400;
}

.about-profile-list dd {
  margin: 0;
}

@media screen and (max-width: 780px) {
  .about-gallery {
    flex-direction: column;
    gap: 42px;
    margin-top: 76px;
    text-align: center;
  }

  .about-frame-wrap {
    width: min(76vw, 360px);
    min-width: 0;
  }

  .about-profile-card {
    margin: 0 auto;
    text-align: left;
  }
}

@media screen and (max-width: 600px) {
  .about-page {
    min-height: auto;
    padding: 32px 18px 72px;
  }

  .about-gallery {
    margin-top: 62px;
  }

  .about-profile-card {
    width: min(100%, 260px);
    padding: 30px 26px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-paint-dot {
    opacity: 0.82;
    transform: translate(-50%, -50%) scale(1);
    animation: none;
  }
}

/* -- About page end -- */

/* -- Contact page -- */
.contact-page {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 20px 80px;
  color: #1e1e1e;
}

.contact-hero {
  border-bottom: 1px solid #d9d9d9;
  margin-bottom: 48px;
  padding-bottom: 32px;
}

.contact-label {
  margin: 0 0 8px;
  color: #757575;
  font-family: "ShareTechMono-Regular", monospace;
  font-size: 14px;
  line-height: 140%;
}

.contact-title {
  margin: 0;
  font-family: "ShareTechMono-Regular", monospace;
  font-size: 36px;
  font-weight: 600;
  line-height: 140%;
}

.contact-lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: #565656;
  font-size: 16px;
  line-height: 1.9;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 640px);
  gap: 32px;
  align-items: start;
  justify-content: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-block,
.contact-form-area {
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #ffffff;
  padding: 24px;
  box-shadow: 4px 9px 5.3px 0 rgba(0, 0, 0, 0.08);
}

.contact-info-block h2,
.contact-form-area h2 {
  margin: 0 0 16px;
  font-family: "ShareTechMono-Regular", monospace;
  font-size: 22px;
  font-weight: 600;
  line-height: 140%;
}

.contact-info-block p {
  margin: 0 0 16px;
  color: #565656;
  font-size: 15px;
  line-height: 1.8;
}

.contact-info-block p:last-child {
  margin-bottom: 0;
}

.contact-notes ul {
  margin: 0;
  padding-left: 20px;
  color: #565656;
  font-size: 14px;
  line-height: 1.8;
}

.contact-notes li + li {
  margin-top: 8px;
}

.contact-sns-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-sns-list a {
  border-bottom: 1px solid #565656;
  color: #565656;
  font-family: "ShareTechMono-Regular", monospace;
  font-size: 16px;
  line-height: 140%;
}

.contact-sns-list a:hover {
  color: #5ba9a8;
  border-color: #5ba9a8;
}

.contact-form-placeholder {
  color: #565656;
}

.contact-form-placeholder p {
  margin: 0 0 18px;
}

.contact-form-placeholder label {
  display: block;
  margin-bottom: 8px;
  color: #565656;
  font-size: 14px;
  line-height: 140%;
}

.contact-form-placeholder input[type="text"],
.contact-form-placeholder input[type="email"],
.contact-form-placeholder input[type="url"],
.contact-form-placeholder textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 10px 12px;
  color: #1e1e1e;
  font-size: 15px;
  line-height: 1.6;
}

.contact-form-placeholder textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form-placeholder input[type="submit"] {
  border: 1px solid #565656;
  border-radius: 6px;
  background: #ffffff;
  color: #565656;
  cursor: pointer;
  font-family: "ShareTechMono-Regular", monospace;
  font-size: 16px;
  padding: 10px 18px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-form-placeholder input[type="submit"]:hover {
  color: #5ba9a8;
  border-color: #5ba9a8;
}

@media screen and (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 600px) {
  .contact-page {
    padding: 32px 16px 56px;
  }

  .contact-title {
    font-size: 28px;
  }

  .contact-info-block,
  .contact-form-area {
    padding: 18px;
  }
}

/* -- Contact page end -- */
