/* 変数で一貫性を保持（1em = 16px 基準） */
:root {
  color-scheme: light;
  --color-bg: #fff;
  --color-text: #000;
  --color-muted: #2e2e2e;
  --color-border: #a5a5a5;
  --color-footer: #d9d9d9;
  --color-placeholder: #d9d9d9;
  --font-main: "Noto Sans", sans-serif;
  --font-ui: "Noto Sans", sans-serif;
  --space-section: 2.25em;
  --space-card: 3em;
  --space-inline: 1.5em;
  --pad-h: 3.5em;
  --width-content: min(103em, 100% - 2 * var(--pad-h));
  --break-wide: 64em;     /* 1024px */
  --break-mid: 50em;     /* 800px */
  --break-sp: 47.9375em; /* 767px */
  /* テキストのベースラインを写真の上・下に合わせる微調整（正で下/上にずらす） */
  --project-baseline-top: 0;
  --project-baseline-bottom: 0;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 16px;       /* 1em = 16px 基準 */
  overflow-x: auto;
  height: 100%;
  background: #fff;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-main);
  font-size: 1em;        /* 16px相当（htmlのfont-sizeで制御） */
  line-height: 175%;
  color: var(--color-text);
  background: var(--color-bg);
  font-optical-sizing: auto;
  font-variation-settings: "wdth" 100;
  overflow-x: auto;
}

.zen-kaku-gothic-new-regular {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.visually-hidden {
  position: absolute;
  width: 0.25em;
  height: 0.25em;
  padding: 0;
  margin: -0.25em;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Header - 画面上部に固定・背景は透過 */
.header {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--pad-h);
  height: 5.75em;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
}

.logo {
  font-size: 0.875em;    /* 14px相当（1em=16px） */
  line-height: 175%;
  color: var(--color-text);
  text-decoration: none;
}

.logo-sub { font-weight: 400; }

/* ヘッダー・タイプライター（ランダム出現） */
.logo-typewriter { font-weight: inherit; }

.nav-toggle {
  display: none;
  width: 2em;
  height: 1.5em;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.nav-toggle::before,
.nav-toggle::after,
.nav-toggle span {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-text);
  transition: transform .2s;
}

.nav-toggle::before { top: 0; }
.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle::after { bottom: 0; }

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(0.75em) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-0.75em) rotate(-45deg);
}

.nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li:not(:first-child) {
  margin-left: var(--space-inline);
}

.nav a {
  font-size: 0.875em;    /* 14px相当（1em=16px） */
  line-height: 175%;
  color: var(--color-text);
  text-decoration: none;
}

/* 表示中ページのナビ：ヘッダー（PC表示）のみテキストの下に直線。ハンバーガー時は出さない */
@media (min-width: 1024px) {
  .header .nav a.nav-current {
    border-bottom: 1px solid var(--color-text);
    padding-bottom: 0.15em;
  }
}

/* Main - 固定ヘッダー分の余白を確保・コンテンツ少ない時は伸びてフッターを下に */
main {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--width-content);
  margin: 0 auto;
  padding: 3em 0;
  overflow: visible;
  box-sizing: border-box;
}

@media (max-width: 791px) {
  main {
    padding-top: 5em;
  }
}

.section {
  padding-top: var(--space-section);
}

.section-title {
  font-size: 1.5em;       /* タイトル 20px相当 */
  line-height: 175%;
  font-weight: 400;
  margin: 0 0 1em;
}

.section h2 {
  font-size: 1.5em;      /* タイトル 20px相当 */
  line-height: 175%;
  font-weight: 400;
  margin: 0 0 0.5em;
}

/* About - Projectsと同じフォントサイズ・行間・テキストの感じに・開始位置も他ページと揃える */
.section.about {
  padding-top: var(--space-section);
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

.about .lead,
.about .bio,
.about .awards,
.about p,
.about .career,
.about .sns {
  margin-left: 0;
  padding-left: 0;
}

.about .lead {
  font-size: 1.5rem;     /* 24px（1em=16px基準） */
  line-height: 175%;
  font-weight: 400;
  margin: 0 0 1em;
}

.about .bio,
.about .awards,
.about p:not(.page-intro-title):not(.page-intro-copy) {
  font-size: 0.75rem;    /* 12px（1em=16px基準） */
  line-height: 175%;
  margin: 0 0 1em;
  max-width: min(50%, 72ch);
}

.about .career h2,
.about .awards-section h2 {
  font-size: 1.5rem;    /* 24px（1em=16px基準） */
  line-height: 175%;
  font-weight: 400;
  margin: 0 0 0.5em;
}

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

/* Vision */
.vision-section { margin: 1.5em 0; }

.vision-list {
  display: grid;
  gap: 0.75em;
  padding: 0;
}

.vision-list div { display: contents; }

.vision-list dt {
  font-size: 0.625rem;
  line-height: 175%;
  opacity: 0.5;
  margin-bottom: 0.1em;
}

.vision-list dd {
  font-size: 0.75rem;
  line-height: 175%;
  margin: 0 0 0.75em;
}

/* Divider */
.section-divider {
  border: none;
  border-top: 1px solid currentColor;
  opacity: 0.15;
  margin: 2em 0;
}

/* Strengths */
.strengths-section { margin-top: 2em; }

.strengths-section h2,
.qualifications-section h2 {
  font-size: 1.5rem;
  line-height: 175%;
  font-weight: 400;
  margin: 0 0 0.5em;
}

.strength-item { margin-bottom: 1em; }

.strength-item h3 {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 175%;
  margin: 0;
}

.strength-item p {
  font-size: 0.75rem;
  line-height: 175%;
  margin: 0;
  opacity: 0.7;
}

/* Qualifications */
.qualifications-section { margin-top: 2em; }

.career { margin-top: 2em; }

.awards-section { margin-top: 2.75em; }

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.75rem;   /* 12px（1em=16px基準） */
  line-height: 175%;
}

.timeline li { margin-bottom: 0.5em; }

.sns {
  display: flex;
  flex-wrap: wrap;
  margin-top: 2em;
  margin-right: calc(-1 * var(--space-inline));
  font-size: 0.75rem;   /* 12px（1em=16px基準） */
  line-height: 175%;
}

.sns a {
  text-decoration: underline;
  margin-right: var(--space-inline);
  margin-bottom: 0.5em;
}

/* Contact - Projectsと同じテキストの感じに */
.contact .section-title {
  font-size: 1.5em;
  line-height: 175%;
  font-weight: 400;
  margin: 0 0 1em;
}

.page-intro + .section-title,
.page-intro + .lead {
  margin-top: 0;
}

.contact p:not(.page-intro-title):not(.page-intro-copy) {
  margin: 0;
  font-size: 0.75em;
  line-height: 175%;
}

.contact-sns {
  margin-top: 1em;
  font-size: 0.75em;
  line-height: 175%;
}

.contact-sns a {
  color: var(--color-text);
  text-decoration: underline;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  margin-top: 2em;
}

.instagram-grid .instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  .instagram-grid {
    grid-template-columns: 1fr;
  }
}

/* Projects - liと中身の横幅を一致 */
.projects .project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.projects .project-list li {
  margin-bottom: 3em;
  width: 100%;
}

.projects .project-list li:last-child {
  margin-bottom: 0;
}

.projects-intro,
.page-intro {
  margin: 0 0 3.5em;
  max-width: 32em;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.projects-intro-title,
.projects-intro-copy,
.page-intro-title,
.page-intro-copy {
  margin: 0;
}

.projects-intro-title,
.page-intro-title {
  font-size: 2.1rem;
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.projects-intro-copy,
.page-intro-copy {
  font-size: 0.875rem;
  line-height: 1.9;
}

/* Projects の導入文も About / Contact と同じ見え方で固定 */
.section.projects .page-intro-title {
  font-size: 2.1rem;
  line-height: 1.15;
}

.section.projects .page-intro-copy {
  font-size: 0.875rem;
  line-height: 1.9;
}

/* About / Contact の broad p ルールと競合しないよう Projects と完全一致で固定 */
.section.about .page-intro-title,
.section.contact .page-intro-title {
  font-size: 2.1rem;
  line-height: 1.15;
  font-weight: 400;
  margin: 0 0 0.5rem;
}

.section.about .page-intro-copy,
.section.contact .page-intro-copy {
  font-size: 0.875rem;
  line-height: 1.9;
  margin: 0;
}

.projects .project-list li .project-card,
.projects .projects-intro,
.projects .projects-tag-filter,
.projects .projects-group-heading,
.projects .projects-group-desc,
.projects .view-more {
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.projects.projects-hover-dimmed .project-list li .project-card,
.projects.projects-hover-dimmed .projects-intro,
.projects.projects-hover-dimmed .projects-tag-filter,
.projects.projects-hover-dimmed .projects-group-heading,
.projects.projects-hover-dimmed .projects-group-desc,
.projects.projects-hover-dimmed .view-more {
  filter: blur(4px) saturate(1.08) brightness(1.1) contrast(0.94);
  opacity: 0.42;
}

.projects.projects-hover-dimmed .project-list li.project-card-active .project-card {
  filter: none;
  opacity: 1;
}

@media (hover: none), (pointer: coarse) {
  .projects.projects-hover-dimmed .project-list li .project-card,
  .projects.projects-hover-dimmed .projects-intro,
  .projects.projects-hover-dimmed .projects-tag-filter,
  .projects.projects-hover-dimmed .projects-group-heading,
  .projects.projects-hover-dimmed .projects-group-desc,
  .projects.projects-hover-dimmed .view-more {
    filter: none;
    opacity: 1;
  }
}

/* プロジェクト詳細へのリンク（画像・タイトル・READ MORE のみ） */
.project-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-card-link:hover {
  color: inherit;
}

.project-card-link-figure {
  flex-shrink: 0;
}

.project-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: visible;
  min-width: 0;
  width: 100%;
}

.project-card-link-figure .project-images,
.project-card .project-images {
  margin-right: 1.5em;
}

.project-images {
  display: flex;
  margin: 0;
  flex-shrink: 0;
}

.project-images .img-placeholder:first-child {
  margin-right: 1.5em;
}

.img-placeholder {
  width: 26.67em;    /* 16:9・2枚とも大きいサイズで統一 */
  height: 15em;
  background: var(--color-placeholder);
  display: block;
  aspect-ratio: 16 / 9;
}

/* 一覧の実画像：16:9固定・1枚目2枚目同じサイズ（大きい方に合わせる） */
.project-images .project-img {
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.project-images .project-img-landscape,
.project-images .project-img-portrait {
  width: 26.67em;
  height: 15em;     /* 16:9 */
}
.project-images .project-img:first-child {
  margin-right: 1.5em;
}

.project-body {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

/* 1か所の長文をCSS段組みで2カラムに流し込む */
.project-text-flow {
  break-inside: avoid;
}

/* サブタイトル左のデザイン領域タグ（矩形背景・別タップでタグ絞り込み用） */
.project-tag {
  display: inline;
  padding: 0.125em calc(0.375em + 2px);
  margin-left: 0;
  margin-right: 4px;
  font-size: 0.75em;
  line-height: 175%;
  background-color: #E5FF26;
  border-radius: 0.125em;
  color: var(--color-text);
  text-decoration: none;
}

a.project-tag:hover {
  color: var(--color-text);
  text-decoration: none;
}

.project-title-block {
  margin-bottom: 1.25em;
}

.project-title-block .project-title {
  margin-bottom: 0.25em;
}

.project-text-flow .project-desc {
  margin-bottom: 1em;
}

.project-title {
  font-size: 20px;
  line-height: 175%;
  font-weight: 400;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 英訳や補足など、タイトル直下のサブタイトル */
.project-subtitle {
  font-size: 14px;
  line-height: 175%;
  font-weight: 400;
  margin: 0;
  color: var(--color-text);
}

.project-desc {
  font-size: 0.75em;
  line-height: 175%;
  margin: 0;
}

.project-link {
  font-size: 0.75em;
  line-height: 175%;
  color: var(--color-muted);
  text-align: right;
  padding: 1em 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  display: block;
  flex-shrink: 0;
  text-decoration: none;
}

a.project-link:hover {
  color: var(--color-muted);
  text-decoration: none;
}

/* PC（1220px〜）: 画像高さとテキストブロック高さを揃え・長文を1カラムで表示 */
@media (min-width: 1220px) {
  .section.projects {
    padding-top: var(--space-section);
  }

  .project-card {
    align-items: stretch;
  }

  .project-images {
    align-items: stretch;
    flex-shrink: 0;
  }

  .project-images .img-placeholder,
  .project-images .img-placeholder-2 {
    width: 26.67em;
    height: 15em;
    flex-shrink: 0;
    background: var(--color-placeholder);
    aspect-ratio: 16 / 9;
  }

  .project-images .project-img-landscape,
  .project-images .project-img-portrait {
    width: 26.67em;
    height: 15em;
    flex-shrink: 0;
  }

  .project-body {
    align-self: stretch;
    height: 15em;
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }

  .project-text-flow {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding-top: var(--project-baseline-top);
    padding-bottom: var(--project-baseline-bottom);
    box-sizing: border-box;
  }

  .project-text-flow .project-desc {
    flex: 1;
    min-height: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 12;   /* 長文は「...」で省略しREAD MOREを確実に表示 */
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* 1025px〜1219px: 画像とテキストの高さを同じに（15em） */
@media (min-width: 1025px) and (max-width: 1219px) {
  .project-body {
    height: 15em;
    max-height: 15em;
  }

  .project-text-flow {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    padding-top: var(--project-baseline-top);
    padding-bottom: var(--project-baseline-bottom);
    box-sizing: border-box;
  }

  .project-images .img-placeholder,
  .project-images .img-placeholder-2 {
    width: 26.67em;
    height: 15em;
  }

  .project-images .project-img-landscape,
  .project-images .project-img-portrait {
    width: 26.67em;
    height: 15em;
  }
}

/* 1220px〜1300px: テキスト高さを画像高さ以下に厳守 */
@media (min-width: 1220px) and (max-width: 1299px) {
  .project-body {
    height: 15em;
    max-height: 15em;
  }

  .project-text-flow {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    padding-top: var(--project-baseline-top);
    padding-bottom: var(--project-baseline-bottom);
    box-sizing: border-box;
  }
}

@media (min-width: 1241px) and (max-width: 1299px) {
  .project-card .project-images {
    display: block;
    margin-right: 1.5em;
  }

  .project-images .img-placeholder-2,
  .project-images .project-img-portrait {
    display: none;
  }

  .project-images .img-placeholder:first-child,
  .project-images .project-img-landscape {
    margin-right: 0;
  }

  .project-body {
    flex: 1;
    min-width: 0;
    height: 15em;
    overflow: hidden;
    position: relative;
  }

  /* タイトルは全幅で上に、その下で本文2カラム（左から右へ流す）・左列下端＝READ MORE下端に揃える */
  .project-text-flow {
    position: relative;
    columns: 2;
    column-gap: 1.5em;
    column-fill: auto;
    width: 100%;
    height: 100%;
    min-height: 15em;
    display: block;
    overflow: hidden;
    box-sizing: border-box;
    padding-top: var(--project-baseline-top);
    padding-bottom: var(--project-baseline-bottom);
  }

  /* タイトルブロック（h2＋サブタイトル）を2カラム全体に・下マージン多め */
  .project-text-flow .project-title-block {
    column-span: all;
    break-after: avoid;
    margin-bottom: 1.25em;
  }

  .project-text-flow .project-desc {
    flex: none;
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
  }

  /* 右列のみ：テキストをグラデーションでフェード（やや上から） */
  .project-text-flow::after {
    content: '';
    position: absolute;
    bottom: 1.95em;
    left: 50%;
    margin-left: 0.75em;
    width: calc(50% - 0.75em);
    height: 2.6em;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.78) 46%, #fff 88%);
    pointer-events: none;
    z-index: 0;
  }

  /* READ MOREは前面に（グラデーションに隠れない）・消えないように・下端は --project-baseline-bottom で微調整 */
  .project-text-flow .project-link {
    position: absolute;
    bottom: var(--project-baseline-bottom);
    left: 50%;
    margin-left: 0.75em;
    width: calc(50% - 0.75em);
    margin-top: 0;
    text-align: right;
    background: var(--color-bg);
    padding: 0.75em 0 0.5em;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    box-sizing: border-box;
    z-index: 1;
  }
}

/* 1441px〜: テキスト2カラム・左列下端とREAD MORE下端を揃え・右列はグラデーションで切る */
@media (min-width: 1441px) {
  .project-body {
    flex: 1;
    min-width: 0;
    height: 15em;
    overflow: hidden;
    position: relative;
  }

  .project-text-flow {
    position: relative;
    columns: 2;
    column-gap: 1.5em;
    column-fill: auto;
    width: 100%;
    height: 100%;
    min-height: 15em;
    display: block;
    overflow: hidden;
    box-sizing: border-box;
    padding-top: var(--project-baseline-top);
    padding-bottom: var(--project-baseline-bottom);
  }

  .project-text-flow .project-title-block {
    column-span: all;
    break-after: avoid;
    margin-bottom: 1.25em;
  }

  .project-text-flow .project-desc {
    flex: none;
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
  }

  .project-text-flow::after {
    content: '';
    position: absolute;
    bottom: 1.95em;
    left: 50%;
    margin-left: 0.75em;
    width: calc(50% - 0.75em);
    height: 2.6em;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.78) 46%, #fff 88%);
    pointer-events: none;
    z-index: 0;
  }

  .project-text-flow .project-link {
    position: absolute;
    bottom: var(--project-baseline-bottom);
    left: 50%;
    margin-left: 0.75em;
    width: calc(50% - 0.75em);
    margin-top: 0;
    text-align: right;
    background: var(--color-bg);
    padding: 0.75em 0 0.5em;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    box-sizing: border-box;
    z-index: 1;
  }
}

/* Footer - コンテンツが少ない時は画面最下部に、多い時は本文の下に続く */
.footer {
  flex-shrink: 0;
  background: transparent;
  padding: 2.25em var(--pad-h);
  box-sizing: border-box;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2em;
  width: 100%;
  max-width: 103em;
  margin: 0 auto;
}

.footer-copy {
  margin: 0;
  font-size: 0.75em;
  line-height: 175%;
  color: var(--color-text);
}

.footer-sns {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 1.5em;
  font-size: 0.75em;
  line-height: 175%;
  text-align: right;
}

.footer-sns a {
  color: var(--color-text);
  text-decoration: underline;
}

/* 1219px以下: 左右48px・横幅最大サイズなし */
@media (max-width: 1219px) {
  main {
    width: 100%;
    max-width: none;
    padding-left: 48px;
    padding-right: 48px;
  }

  .footer {
    padding-left: 48px;
    padding-right: 48px;
  }

  .footer-inner {
    max-width: none;
  }
}

/* 1240px以下: ヘッダー内のスタイル（ハンバーガー等） */
@media (max-width: 1240px) {
  .header {
    padding: 0 1.5em;
    height: auto;
    min-height: 5em;
  }

  .logo-sub { display: none; }
  .nav-toggle { display: block; }

  .nav {
    position: absolute;
    top: 5em;
    left: 0;
    right: 0;
    background: var(--color-bg);
    padding: 1.75em;
    border-top: 1px solid var(--color-border);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.75em);
    transition: visibility .2s, opacity .2s, transform .2s;
  }

  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav ul { flex-direction: column; padding-left: 0; }
  .nav li,
  .nav li:not(:first-child) { margin-left: 0; margin-bottom: 1.25em; }
  .nav li:last-child { margin-bottom: 0; }
  .nav a { font-size: 0.875em; }
}

/* 1023px以下: 本文余白とフッター */
@media (max-width: 1023px) {
  main {
    width: 100%;
    max-width: none;
    padding-left: 1em;
    padding-right: 1em;
  }

  .footer {
    padding: 2.25em 1.5em;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1em;
  }

  .footer-sns {
    justify-content: flex-start;
    text-align: left;
  }
}

/* 796px〜1023px: カードは横並び・2画像・右テキスト（画像の高さに合わせてテキスト領域を表示） */
@media (min-width: 796px) and (max-width: 1023px) {
  .project-card {
    flex-direction: row;
    align-items: stretch;
  }

  .project-images .img-placeholder-2 {
    display: block;
  }

  .project-images .img-placeholder,
  .project-images .img-placeholder-2 {
    width: 23.11em;  /* 16:9・高さ13emで画像の高さに合わせてテキストを多く表示 */
    height: 13em;
  }

  .project-images .project-img-landscape,
  .project-images .project-img-portrait {
    width: 23.11em;
    height: 13em;
  }

  .project-body {
    flex: 1;
    min-width: 0;
    align-self: stretch;
    overflow: hidden;
    position: relative;
  }

  .project-text-flow {
    position: relative;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    padding-bottom: 2.5em;
    box-sizing: border-box;
  }

  .project-text-flow .project-title-block {
    flex-shrink: 0;
  }

  .project-text-flow .project-desc {
    flex: 1;
    min-height: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 10;   /* 長文は「...」で省略しREAD MOREを確実に表示 */
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .project-title-block .project-title {
    -webkit-line-clamp: 3;
  }

  .project-text-flow::after {
    content: '';
    position: absolute;
    bottom: 1.95em;
    left: 0;
    width: 100%;
    height: 2.4em;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.78) 46%, #fff 88%);
    pointer-events: none;
    z-index: 0;
  }

  .project-text-flow .project-link {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin-top: 0;
    text-align: right;
    background: var(--color-bg);
    padding: 0.5em 0 0.45em;
    box-sizing: border-box;
    z-index: 1;
  }
}

/* 1240px以下: 左は1枚画像のみ・左右2カラム1:1・READ MORE確実に表示 */
@media (max-width: 1240px) {
  .projects-intro,
  .page-intro {
    margin-bottom: 2.5em;
    max-width: 100%;
  }

  .projects-intro-title,
  .page-intro-title {
    font-size: 2.05rem;
  }

  .section.about .page-intro-title,
  .section.contact .page-intro-title {
    font-size: 2.05rem;
  }

  .about .lead,
  .about .bio,
  .about .awards,
  .about p:not(.page-intro-title):not(.page-intro-copy) {
    max-width: min(80%, 72ch);
    margin-left: 0;
    margin-right: 0;
  }

  .project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5em;
    align-items: stretch;
  }

  .project-card .project-images {
    margin-right: 0;
    min-width: 0;
    height: 100%;
    display: block;
  }

  .project-images .img-placeholder-2,
  .project-images .project-img-portrait {
    display: none;
  }

  .project-images .img-placeholder:first-child {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
  }

  .project-images .project-img-landscape {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .project-body {
    min-height: 0;
    max-height: none;
    height: auto;
    aspect-ratio: 16 / 9;
    align-self: stretch;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .project-text-flow {
    position: relative;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 2.5em;
    box-sizing: border-box;
  }

  .project-text-flow .project-title-block {
    flex-shrink: 0;
  }

  .project-text-flow .project-desc {
    flex: 1;
    min-height: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .project-text-flow::after {
    content: '';
    position: absolute;
    bottom: 1.95em;
    left: 0;
    width: 100%;
    height: 2.4em;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.78) 46%, #fff 88%);
    pointer-events: none;
    z-index: 0;
  }

  .project-text-flow .project-link {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin-top: 0;
    text-align: right;
    background: var(--color-bg);
    padding: 0.5em 0 0.45em;
    box-sizing: border-box;
    z-index: 1;
  }
}

@media (min-width: 1024px) and (max-width: 1240px) {
  main {
    width: 100%;
    max-width: none;
    padding-left: 48px;
    padding-right: 48px;
  }

  .footer {
    padding-left: 48px;
    padding-right: 48px;
  }

  .footer-inner {
    max-width: none;
  }

  .project-card .project-images {
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }

  .project-images .project-img-landscape,
  .project-images .img-placeholder:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (min-width: 1300px) and (max-width: 1440px) {
  .project-body {
    flex: 1;
    min-width: 0;
    height: 15em;
    overflow: hidden;
    position: relative;
  }

  .project-text-flow {
    position: relative;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: var(--project-baseline-top);
    padding-bottom: 2.5em;
    box-sizing: border-box;
  }

  .project-text-flow .project-desc {
    flex: 1;
    min-height: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 12;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .project-text-flow::after {
    content: '';
    position: absolute;
    bottom: 1.95em;
    left: 0;
    width: 100%;
    height: 3.2em;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9) 38%, #fff 82%);
    pointer-events: none;
    z-index: 0;
  }

  .project-text-flow .project-link {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin-top: 0;
    text-align: right;
    background: var(--color-bg);
    padding: 0.5em 0 0.45em;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    box-sizing: border-box;
    z-index: 1;
  }
}

/* 795px以下: 縦積み・1画像・テキストは1300px〜と同じ（2カラム・グラデーション・READ MORE絶対配置） */
@media (max-width: 795px) {
  .project-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .project-card .project-images {
    margin-right: 0;
    margin-bottom: 1em;
  }

  .project-images {
    flex-direction: row;
  }

  .project-images .img-placeholder:first-child {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    max-width: 100%;
    margin-right: 0;
  }

  .project-images .img-placeholder-2,
  .project-images .project-img-portrait {
    display: none;
  }

  .project-images .project-img-landscape {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .project-body {
    max-width: none;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    position: relative;
    height: 240px;
    max-height: 240px;
  }

  /* 795px以下: 1300px〜と同じ・テキスト2カラム（左右にバランス）・全幅でグラデ＋READ MORE */
  .project-text-flow {
    position: relative;
    columns: 2;
    column-gap: 1.5em;
    column-fill: balance;
    width: 100%;
    height: 100%;
    min-height: 240px;
    display: block;
    overflow: hidden;
    box-sizing: border-box;
    padding-bottom: 2.25em;
  }

  .project-text-flow .project-title-block {
    column-span: all;
    break-after: avoid;
    margin-bottom: 1.25em;
  }

  .project-text-flow .project-title-block .project-title {
    -webkit-line-clamp: 3;
  }

  .project-text-flow .project-desc {
    flex: none;
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
  }

  /* READ MORE直上だけを自然にフェードさせる */
  .project-text-flow::after {
    content: '';
    position: absolute;
    bottom: 1.65em;
    left: 0;
    width: 100%;
    height: 1.6em;
    background: linear-gradient(to bottom, transparent, var(--color-bg));
    pointer-events: none;
    z-index: 0;
  }

  /* READ MOREは全幅で下端に配置・グラデの上に表示・左右可変に合わせる */
  .project-text-flow .project-link {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin-top: 0;
    text-align: right;
    background: var(--color-bg);
    padding: 0.45em 0 0.35em;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    box-sizing: border-box;
    z-index: 1;
  }
}

@media (max-width: 458px) {
  .project-body {
    height: 240px;
    min-height: 240px;
    max-height: 240px;
  }

  .project-text-flow {
    min-height: 240px;
    padding-bottom: 2.5em;
  }

  .project-text-flow::after {
    bottom: 1.9em;
  }

  .project-text-flow .project-link {
    padding: 0.5em 0 0.45em;
  }
}

@media (min-width: 459px) and (max-width: 795px) {
  .project-body {
    height: 240px;
    min-height: 240px;
    max-height: 240px;
  }

  .project-text-flow {
    min-height: 240px;
    padding-bottom: 2.5em;
  }

  .project-text-flow::after {
    bottom: 1.9em;
  }

  .project-text-flow .project-link {
    padding: 0.5em 0 0.45em;
  }
}

@media (min-width: 433px) and (max-width: 795px) {
  .project-text-flow::after {
    left: 50%;
    margin-left: 0.75em;
    width: calc(50% - 0.75em);
    bottom: 1.95em;
    height: 2.4em;
  }
}

/* 432px以下: 説明文は1カラム・READ MOREは線あり・padding半分 */
@media (max-width: 432px) {
  .projects-intro-title,
  .page-intro-title {
    font-size: 1.71rem;
  }

  .projects-intro-copy,
  .page-intro-copy {
    font-size: 0.8125rem;
    line-height: 1.8;
  }

  .section.projects .page-intro-copy {
    font-size: 0.8125rem;
    line-height: 1.8;
  }

  .section.about .page-intro-title,
  .section.contact .page-intro-title {
    font-size: 1.71rem;
  }

  .section.about .page-intro-copy,
  .section.contact .page-intro-copy {
    font-size: 0.8125rem;
    line-height: 1.8;
  }

  .project-text-flow {
    columns: 1;
  }

  .project-text-flow::after {
    left: 0;
    margin-left: 0;
    width: 100%;
  }

  .project-text-flow .project-link {
    left: 0;
    margin-left: 0;
    width: 100%;
  }

  .project-text-flow .project-link,
  .project-link {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 0.5em 0;
  }
}

/* ========== 詳細ページ（個別 project ページ） ========== */
.project-detail {
  position: relative;
  width: 100%;
  max-width: min(71.25em, 100%); /* 1140px、横幅を超えない */
  margin: 0 auto;
  padding: 0 var(--pad-h);
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ヒーロー: タイトル・説明・日付 */
.project-detail-hero {
  margin-top: 4.5em;
  margin-bottom: 2.5em;
}

/* 詳細ページ: Vimeo等 動画（横幅100%） */
.project-detail-video {
  width: 100%;
  max-width: 100%;
  margin-bottom: 2.5em;
}

.project-detail-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 12.5em;
  border: 0;
}

.project-detail-title {
  font-size: 1.5em;       /* タイトル 20px相当 */
  line-height: 175%;
  font-weight: 400;
  margin: 0 0 0.75em;
  max-width: 35ch;
  overflow-wrap: break-word;
  word-break: break-word;
}

.project-detail-intro {
  font-size: 1em;
  line-height: 1.25;
  margin: 0 0 0.3em;
  max-width: 35ch;
  overflow-wrap: break-word;
  word-break: break-word;
}

.project-detail-date {
  font-size: 1em;
  line-height: 1.25;
  margin: 0;
  color: var(--color-text);
}

/* メインビジュアル + 右サイド（2カラム） */
.project-detail-top {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 2.5em;
}

.project-detail-main-visual {
  margin: 0;
  flex-shrink: 0;
  width: 58.75em;
  max-width: 100%;
}

.project-detail-main-visual .img-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 940 / 528;
  max-height: 33em;
  background: var(--color-placeholder);
}

.project-detail-aside {
  margin-left: 1.25em;
  flex: 0 0 10.25em;
  min-width: 0;
}

.project-detail-aside-title {
  font-size: 1em;
  line-height: 1.25;
  font-weight: 400;
  margin: 0 0 0.75em;
  overflow-wrap: break-word;
  word-break: break-word;
}

.project-detail-aside-desc {
  font-size: 1em;
  line-height: 1.25;
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* 2ブロック: 画像 + 説明（画像左・テキスト右） */
.project-detail-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 2.25em;
}

.project-detail-row:last-of-type {
  margin-bottom: 2.5em;
}

.project-detail-row-fig {
  margin: 0;
  flex-shrink: 0;
  width: 35.25em;
  max-width: 100%;
}

.project-detail-row-fig .img-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 562 / 316;
  background: var(--color-placeholder);
}

.project-detail-row-body {
  margin-left: 1.25em;
  flex: 1;
  min-width: 0;
  max-width: 33em;  /* 529px */
}

.project-detail-row-body p {
  font-size: 1em;
  line-height: 1.25;
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* 詳細本文（段落分けセクション） */
.project-detail-content {
  margin-bottom: 2.5em;
}

.project-detail-section {
  margin-bottom: 2.25em;
}

.project-detail-section:last-child {
  margin-bottom: 0;
}

.project-detail-section-title {
  font-size: 1em;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.75em;
  overflow-wrap: break-word;
  word-break: break-word;
}

.project-detail-section p {
  font-size: 1em;
  line-height: 1.75;
  margin: 0 0 1em;
  max-width: 42em;
  overflow-wrap: break-word;
  word-break: break-word;
}

.project-detail-section p:last-child {
  margin-bottom: 0;
}

.project-detail-section a {
  color: var(--color-text);
  text-decoration: underline;
}

.project-detail-section a:hover {
  text-decoration: none;
}

.project-detail-quote {
  margin: 0;
  padding-left: 1.25em;
  border-left: 3px solid var(--color-text);
  font-style: normal;
}

.project-detail-quote p {
  font-size: 1em;
  line-height: 1.75;
  margin: 0;
  max-width: 42em;
}

/* ギャラリー 3x3（margin で間隔） */
.project-detail-gallery {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2.5em;
  margin-right: -1em;
}

.project-detail-gallery-item {
  width: calc((100% - 2em) / 3);
  aspect-ratio: 364 / 205;
  background: var(--color-placeholder);
  margin-bottom: 1.5em;
  margin-right: 1em;
}

.project-detail-gallery-item:nth-child(3n) {
  margin-right: 0;
}

/* ----- SP・タブレット: 可変レイアウト ----- */
@media (max-width: 1024px) {
  .project-detail-top {
    flex-direction: column;
    margin-bottom: 2em;
  }

  .project-detail-main-visual {
    width: 100%;
  }

  .project-detail-aside {
    margin-left: 0;
    margin-top: 1.25em;
    flex: none;
    max-width: 22em;
  }

  .project-detail-row {
    flex-direction: column;
    margin-bottom: 2em;
  }

  .project-detail-row-fig {
    width: 100%;
  }

  .project-detail-row-body {
    margin-left: 0;
    margin-top: 1em;
    max-width: none;
  }

  .project-detail-gallery-item {
    width: calc((100% - 1em) / 2);
  }

  .project-detail-gallery-item:nth-child(3n) {
    margin-right: 1em;
  }

  .project-detail-gallery-item:nth-child(2n) {
    margin-right: 0;
  }
}

@media (max-width: 600px) {
  .project-detail-gallery-item {
    width: 100%;
  }

  .project-detail-gallery-item:nth-child(n) {
    margin-right: 0;
  }
}

/* タグでフィルタしたときの見出し */
.projects-tag-filter {
  font-size: 0.875em;
  margin: 0 0 1em;
  color: var(--color-muted);
}

.projects-tag-filter a {
  color: var(--color-text);
  text-decoration: underline;
}

.projects-tag-filter a:hover {
  color: var(--color-muted);
}

/* Research Projects & View More */
.projects-group-research {
  margin-top: 4em;
}

.projects-group-heading {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 175%;
  margin: 0 0 0.25em;
}

.projects-group-desc {
  font-size: 0.75rem;
  line-height: 175%;
  margin: 0 0 2em;
  max-width: 60ch;
  opacity: 0.6;
}

.view-more {
  margin-top: 4.5em;
  display: flex;
  justify-content: center;
}

.view-more-text {
  font-size: 0.75rem;
  line-height: 1.75;
  margin: 0;
  max-width: 20rem;
}

.view-more a {
  color: var(--color-text);
  text-decoration: none;
}

.view-more-link {
  display: grid;
  justify-items: center;
  row-gap: 0.65rem;
  width: min(22rem, 100%);
  min-height: auto;
}

.view-more-visual {
  position: relative;
  display: block;
  width: min(16.375rem, 100%);
  aspect-ratio: 262 / 137;
}

.view-more-svg {
  display: block;
  width: 100%;
  height: 100%;
  transition: opacity 0.35s ease, filter 0.45s ease, transform 0.45s ease;
}

.view-more-svg-target {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  filter: blur(12px);
  transform: scale(0.96);
}

.view-more-glyph {
  transform-box: fill-box;
  transform-origin: center;
  transform: translate(0, 0) scale(1, 1);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.view-more-text {
  margin: -40px 0 0;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  line-height: 1.75;
  text-align: center;
  opacity: 0;
  transform: translateY(-0.2rem);
  filter: blur(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.45s ease;
}

.view-more-link:hover .view-more-glyph,
.view-more-link:focus-visible .view-more-glyph {
  transform:
    translate(var(--view-more-tx, 0px), var(--view-more-ty, 0px))
    scale(var(--view-more-sx, 1), var(--view-more-sy, 1));
}

.view-more-link.is-gathered .view-more-glyph {
  transform:
    translate(var(--view-more-tx, 0px), var(--view-more-ty, 0px))
    scale(var(--view-more-sx, 1), var(--view-more-sy, 1));
}

.view-more-link:hover .view-more-text,
.view-more-link:focus-visible .view-more-text {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.view-more-link.is-gathered .view-more-text {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.view-more-link:focus-visible {
  outline: none;
}

.view-more-link:focus-visible .view-more-visual {
  outline: 1px solid rgba(0, 0, 0, 0.2);
  outline-offset: 0.35rem;
}

@media (max-width: 1023px) {
  .view-more {
    justify-content: center;
  }

  .view-more-link {
    width: min(14rem, 100%);
    row-gap: 0.45rem;
  }

  .view-more-visual {
    width: min(10rem, 100%);
  }

  .view-more-glyph {
    transition: none;
  }

  .view-more-text {
    font-size: 0.6875rem;
  }
}

@media (max-width: 1240px) {
  .view-more-link {
    transition: none;
  }

  .view-more-link.is-gathered {
    transform: none;
  }

  .view-more-link.is-gathered .view-more-svg-layout {
    opacity: 0;
    filter: blur(12px);
    transform: scale(1.02);
  }

  .view-more-link.is-gathered .view-more-svg-target {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

/* ========== スケルトンスクリーン ========== */

/* バーコード蓄積アニメーション：左から右へ段階的に積み上がる */
@keyframes barcode-accumulate {
  0%        { clip-path: inset(0 100% 0 0); }
  72%       { clip-path: inset(0 0   0 0); }
  88%       { clip-path: inset(0 0   0 0); }
  100%      { clip-path: inset(0 100% 0 0); }
}

/* テキストバー出現：左から右へスライドイン */
@keyframes bar-type-in {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0   0 0); }
}

/* 実画像読み込みスキャン */
@keyframes img-scan {
  0%   { transform: translate(-55%, -55%) rotate(18deg); }
  100% { transform: translate(55%, 55%) rotate(18deg); }
}

@keyframes img-loading-pulse {
  0%   { background-color: #e9e9e9; }
  50%  { background-color: #dcdcdc; }
  100% { background-color: #e9e9e9; }
}

/* バーコードパターン画像プレースホルダー：縦縞が左から溜まっていく */
.skeleton-item .img-placeholder {
  background-color: #f0f0f0;
  background-image: repeating-linear-gradient(
    90deg,
    #2e2e2e 0px,  #2e2e2e 2px,
    transparent   2px,  transparent   5px,
    #555    5px,  #555    7px,
    transparent   7px,  transparent  12px,
    #2e2e2e 12px, #2e2e2e 14px,
    transparent  14px,  transparent  19px,
    #444    19px, #444    20px,
    transparent  20px,  transparent  25px,
    #666    25px, #666    27px,
    transparent  27px,  transparent  32px,
    #2e2e2e 32px, #2e2e2e 33px,
    transparent  33px,  transparent  38px
  );
  clip-path: inset(0 100% 0 0);
  animation: barcode-accumulate 2.8s steps(32, end) infinite;
}

/* 2枚目プレースホルダーは少し遅れて */
.skeleton-item .img-placeholder-2 {
  animation-delay: 0.12s;
}

/* テキストバー共通 */
.skeleton-text {
  display: block;
  background: #c8c8c8;
  clip-path: inset(0 100% 0 0);
  animation: bar-type-in 0.35s ease-out both;
}

/* スケルトンテキストのサイズ */
.skeleton-title    { width: 55%; height: 1.25em; }
.skeleton-subtitle { width: 30%; height: 0.875em; margin-top: 0.4em; }
.skeleton-desc-1   { width: 100%; height: 0.75em; margin-bottom: 0.5em; }
.skeleton-desc-2   { width: 88%;  height: 0.75em; margin-bottom: 0.5em; }
.skeleton-desc-3   { width: 65%;  height: 0.75em; }
.skeleton-link     { width: 100%; height: 2.5em; }

/* バーが順番に出現するスタガー */
.skeleton-title    { animation-delay: 0.5s; }
.skeleton-subtitle { animation-delay: 0.72s; }
.skeleton-desc-1   { animation-delay: 0.95s; }
.skeleton-desc-2   { animation-delay: 1.18s; }
.skeleton-desc-3   { animation-delay: 1.41s; }
.skeleton-link     { animation-delay: 1.64s; }

/* 実画像の読み込み中スキャンライン */
.project-images.img-loading {
  position: relative;
  overflow: hidden;
  background: #e9e9e9;
  animation: img-loading-pulse 1.4s ease-in-out infinite;
}
.project-images.img-loading .img-placeholder {
  background: transparent;
  animation: none;
  clip-path: none;
}
.project-images.img-loading::before {
  content: '';
  position: absolute;
  inset: -45%;
  background: linear-gradient(
    135deg,
    transparent 38%,
    rgba(255, 255, 255, 0.06) 44%,
    rgba(255, 255, 255, 0.68) 50%,
    rgba(255, 255, 255, 0.06) 56%,
    transparent 62%
  );
  animation: img-scan 1.25s linear infinite;
  z-index: 1;
  pointer-events: none;
}
.project-images.img-loading .project-img {
  opacity: 0;
}
.project-images .project-img {
  position: relative;
  z-index: 2;
  transition: opacity 0.3s;
}

/* カード出現アニメーション */
@keyframes card-appear {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.project-list > li:not(.skeleton-item) {
  animation: card-appear 0.4s ease-out both;
}
