/*
Theme Name: Mizuno Mineko
Theme URI: https://mizunomineko.com
Author: Antigravity
Description: An elegant and serene WordPress theme for essayist Mineko Mizuno.
Version: 1.0.0
*/
@charset "UTF-8";

:root {

  --c-bg: #FCFDFD;

  --c-usunezumi: #D6D8D9;

  --c-usunezumi-light: #F2F3F5;

  --c-text: #414245;

  --c-text-light: #7E8085;

  --font-jp: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-jp);
  line-height: 2;
  letter-spacing: 0.08em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.6;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 6%;
}

.site-header {
  padding: 12px 6% 40px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
}

body:not(.home) .site-title {
  color: rgba(255, 255, 255, 0.8);
}

body:not(.home) .header-sns {
  color: rgba(255, 255, 255, 0.9);
}

.header-sns {
  list-style: none;
  display: flex;
  gap: 24px;
  font-family: var(--font-en);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.9);
}

.header-sns .icon-external {
  margin-left: 4px;
  vertical-align: middle;
  width: 0.9em;
  height: 0.9em;
  position: relative;
  top: -1px;
}

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-name {
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #fff;
}

.hero-name-en {
  display: block;
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 16px;
}

.profile {
  padding: 100px 0;
  background-color: var(--c-usunezumi-light);
}

.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.profile-img-wrap {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 32px;
  background-color: var(--c-usunezumi);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.profile-name-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--c-text-light);
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}

.profile-desc {
  font-size: 0.95rem;
  text-align: justify;
  line-height: 2.2;
}

.info-section,
.works-section,
.note-section,
.blog-section {
  padding: 120px 0;
  text-align: center;
}

.info-section,
.note-section {
  background-color: var(--c-usunezumi-light);
}

.section-title {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  margin-bottom: 32px;
  color: var(--c-text-light);
}

.section-desc {
  font-size: 0.95rem;
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 2.2;
}

.info-list {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: left;
}

.info-item {
  display: flex;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-usunezumi);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.info-item:first-child {
  border-top: 1px solid var(--c-usunezumi);
}

.info-date {
  font-family: var(--font-en);
  font-size: 0.9rem;
  color: var(--c-text-light);
  width: 120px;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-title {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  flex: 1;
}

@media screen and (max-width: 600px) {
  .info-item {
    flex-direction: column;
    padding: 20px 0;
    gap: 8px;
  }

  .info-date {
    width: 100%;
  }
}

.btn {
  display: inline-block;
  padding: 14px 48px;
  border: 1px solid var(--c-usunezumi);
  background-color: transparent;
  color: var(--c-text);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  transition: all 0.4s ease;
}

.btn:hover {
  background-color: var(--c-text);
  color: #fff;
  border-color: var(--c-text);
}

.front-post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
  text-align: left;
}

.front-post-item {
  text-decoration: none;
  color: inherit;
  display: block;
}

.front-post-item:hover .post-thumb img {
  transform: scale(1.05);
}

.front-post-item .post-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 16px;
  background-color: var(--c-usunezumi);
}

.front-post-item .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.front-post-item .post-meta {
  font-family: var(--font-en);
  font-size: 0.85rem;
  color: var(--c-text-light);
  margin-bottom: 8px;
}

.front-post-item .post-title {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.site-footer {
  padding: 80px 0 40px;
  background-color: var(--c-usunezumi-light);
  text-align: center;
  border-top: 1px solid var(--c-usunezumi);
}

.footer-contact {
  margin-bottom: 64px;
}

.contact-title {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  color: var(--c-text-light);
}

.contact-desc {
  font-size: 0.85rem;
  margin-bottom: 16px;
  color: var(--c-text-light);
}

.contact-email {
  font-family: var(--font-en);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  display: inline-block;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: border-color 0.3s ease;
}

.contact-email:hover {
  border-bottom-color: var(--c-text);
}

.footer-sns {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
  font-family: var(--font-en);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.copyright {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--c-text-light);
  letter-spacing: 0.1em;
}

.page-hero {
  position: relative;

  height: 12vh;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 60px;

}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.page-hero-title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.15em;
}

.page-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 80px 6% 120px;
}

.blog-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 80px 6% 120px;
  display: flex;
  gap: 60px;
}

.main-content {
  flex: 1;
  min-width: 0;
}

.sidebar {
  width: 280px;
  flex-shrink: 0;
}

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

.page-title {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-usunezumi);
  padding-bottom: 16px;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.post-item {
  display: flex;
  gap: 32px;
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
}

.post-item:hover .post-thumb img {
  transform: scale(1.05);
}

.post-thumb {
  width: 320px;
  flex-shrink: 0;
  aspect-ratio: 16/9;
  background-color: var(--c-usunezumi);
  overflow: hidden;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-text {
  flex: 1;
}

.post-meta {
  font-family: var(--font-en);
  font-size: 0.85rem;
  color: var(--c-text-light);
  margin-bottom: 12px;
}

.post-title {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.6;
}

.post-excerpt {
  font-size: 0.95rem;
  color: var(--c-text-light);
  line-height: 1.8;
}

.widget {
  margin-bottom: 48px;
}

.widget-title {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 300;
  border-bottom: 1px solid var(--c-usunezumi);
  padding-bottom: 16px;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}

.widget ul {
  list-style: none;
  padding: 0;
}

.widget li {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.widget a {
  color: var(--c-text);
}

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

.single-title {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 16px;
}

.single-thumb {
  aspect-ratio: 16/9;
  background-color: var(--c-usunezumi);
  margin-bottom: 48px;
  overflow: hidden;
}

.single-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-content {
  font-size: 1rem;
  line-height: 2.2;
}

.single-content h2,
.single-content h3 {
  font-weight: 400;
  margin: 64px 0 24px;
}

.single-content h2 {
  font-size: 1.4rem;
  border-bottom: 1px solid var(--c-usunezumi);
  padding-bottom: 16px;
}

.single-content h3 {
  font-size: 1.15rem;
}

.single-content img {
  max-width: 100%;
  height: auto;
  margin: 32px 0;
}

.single-content p {
  margin-bottom: 32px;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

.alignleft {
  float: left;
  margin-right: 24px;
}

.alignright {
  float: right;
  margin-left: 24px;
}

.wp-caption {
  max-width: 100%;
}

.pagination {
  margin-top: 64px;
  display: flex;
  gap: 16px;
  font-family: var(--font-en);
  justify-content: center;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-usunezumi);
}

.pagination .current {
  background-color: var(--c-text);
  color: #fff;
  border-color: var(--c-text);
}

@media screen and (min-width: 768px) {
  .profile-card {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 56px;
  }

  .profile-img-wrap {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .profile-desc {
    margin-top: 12px;
  }
}

@media screen and (max-width: 900px) {
  .blog-container {
    flex-direction: column;
    padding-top: 60px;
    gap: 40px;
  }

  .sidebar {
    width: 100%;
  }

  .post-item {
    flex-direction: column;
    gap: 16px;
  }

  .post-thumb {
    width: 100%;
  }

  .front-post-list {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}

.work-item {
  cursor: pointer;
  text-align: center;
}

.work-thumb {
  aspect-ratio: 1/1;
  background-color: var(--c-usunezumi);
  margin-bottom: 16px;
  overflow: hidden;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.8s ease;
}

.work-item:hover .work-thumb {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.work-item:hover .work-thumb img {
  transform: scale(1.05);
}

.work-title {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--c-text);
}

.work-year {
  font-family: var(--font-en);
  font-size: 0.85rem;
  color: var(--c-text-light);
}

@media screen and (max-width: 768px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }
}

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

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(40, 42, 45, 0.7);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  z-index: 1000;
  width: 90%;
  max-width: 800px;
  background: var(--c-bg);
  display: flex;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.5s ease 0.1s;
}

.modal.is-active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--c-text-light);
  line-height: 1;
  z-index: 1001;
}

.modal-close:hover {
  color: var(--c-text);
}

.modal-body {
  display: flex;
  width: 100%;
}

.modal-thumb {
  width: 50%;
  background: var(--c-usunezumi);
  flex-shrink: 0;
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-text {
  width: 50%;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.modal-text-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.modal-text-year {
  font-family: var(--font-en);
  font-size: 1rem;
  color: var(--c-text-light);
  margin-bottom: 24px;
}

.modal-text-desc {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--c-text);
  text-align: justify;
}

@media screen and (max-width: 768px) {
  .modal-content {
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-body {
    flex-direction: column;
  }

  .modal-thumb {
    width: 100%;
    aspect-ratio: 4/3;
  }

  .modal-text {
    width: 100%;
    padding: 32px 24px;
  }

  .modal-close {
    background: var(--c-bg);
    border-radius: 50%;
    top: 8px;
    right: 8px;
  }
}