@charset "utf-8";

:root {
  --gold: #ab8f36;
  --sage: #a8cbbf;
  --ink: #1f1c17;
  --muted: #6e6656;
  --sand: #ebe4d0;
  --card: #ffffff;
  --border: #e6dfcf;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  overflow: hidden;
}

.loading-screen {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  gap: 16px;
  background: var(--sand);
  z-index: 999;
}

.loading-screen.is-visible {
  display: grid;
  animation: loadingFade 0.6s 2s forwards;
}

.loading-screen.is-done {
  animation: loadingFade 0.4s forwards;
}

.loading-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--sage);
  border: 1px solid var(--sage);
  box-shadow: var(--shadow);
  animation: loadingFloat 1.4s ease-in-out infinite;
}

.loading-mark {
  display: none;
}

.loading-text {
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #ffffff;
  font-size: 0.95rem;
}

.loading-bar {
  width: 220px;
  height: 8px;
  border-radius: 999px;
  background: rgba(168, 203, 191, 0.24);
  overflow: hidden;
  position: relative;
}

.loading-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 38%;
  background: var(--sage);
  border-radius: 999px;
  animation: loadingSlide 1s ease-in-out infinite;
}

@keyframes loadingFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes loadingSlide {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(220%);
  }
}

@keyframes loadingFade {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.loading-screen:focus-within {
  outline: none;
}

.eyebrow {
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 2px;
}

@media (prefers-reduced-motion: reduce) {
  .loading-screen {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: none !important;
  }

  .loading-logo {
    animation: none;
  }

  .loading-bar::after {
    animation: none;
  }
}

.section {
  padding: 96px 6vw;
}

.section-head {
  max-width: 960px;
  margin-bottom: 36px;
}

.section-head h2 {
  margin: 8px 0;
  font-size: 2.2rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all 0.32s cubic-bezier(0.04, 0.04, 0.12, 0.96);
  border: 1px solid transparent;
}

.btn.primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 14px 30px rgba(171, 143, 54, 0.28);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(171, 143, 54, 0.32);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border-color: var(--border);
}

.btn.ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f0e8d6;
  color: var(--ink);
  font-size: 0.9rem;
  border: 1px solid var(--border);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6vw;
  background: rgba(247, 244, 236, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.brand-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
  border-radius: 14px;
}

.brand-mark {
  width: 10px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--gold), #c7b16b);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-overline {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--muted);
}

.menu-btn {
  display: none;
}

.menu-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  background: var(--card);
  transition: all 0.32s cubic-bezier(0.04, 0.04, 0.12, 0.96);
}

.navicon,
.navicon:before,
.navicon:after {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  display: block;
  transition: 0.32s cubic-bezier(0.04, 0.04, 0.12, 0.96);
}

.navicon:before,
.navicon:after {
  content: "";
  position: absolute;
  left: 0;
}

.navicon:before {
  top: -7px;
}

.navicon:after {
  top: 7px;
}

.menu-btn:checked + .menu-icon .navicon {
  background: transparent;
}

.menu-btn:checked + .menu-icon .navicon:before {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn:checked + .menu-icon .navicon:after {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  position: absolute;
  right: 6vw;
  top: 74px;
  display: grid;
  gap: 8px;
  padding: 16px;
  min-width: 210px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.32s cubic-bezier(0.04, 0.04, 0.12, 0.96);
}

.menu-btn:checked ~ .nav-links {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  transition: background 0.24s cubic-bezier(0.04, 0.04, 0.12, 0.96), color 0.24s cubic-bezier(0.04, 0.04, 0.12, 0.96);
}

.nav-links a:hover {
  background: var(--sage);
  color: #ffffff;
}

.nav-links a.is-active {
  color: var(--gold);
  background: rgba(171, 143, 54, 0.12);
}

.hero {
  position: relative;
  width: 100%;
}

.hero-bg {
  width: 100%;
  height: 90vh;
  background-image: url("../image/art202402.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  position: absolute;
  bottom: 6%; 
  left: 6%;
  font-weight: bolder;
  font-size: 180%;
  color: var(--ink);
}

.hero-content h1{
  color:var(--ink);
text-shadow:
  -1px -1px 2px var(--border),
   1px -1px 2px var(--border),
  -1px  1px 2px var(--border),
   1px  1px 2px var(--border);
}

.hero-lede {
  font-size: 12px;
  font-weight: bold;
  margin-top: 8px;
  color: var(--sand);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 16px;
}

.status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.status-pills .pill {
  background: #f2eddd;
  color: var(--ink);
  border-color: var(--border);
}


.link-section .link-grid,
.gallery-preview .preview-grid,
.feature-grid,
.gallery-grid {
  display: grid;
  gap: 24px;
}

.link-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.link-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 220px;
  box-shadow: var(--shadow);
  transition: transform 0.28s cubic-bezier(0.04, 0.04, 0.12, 0.96), box-shadow 0.28s cubic-bezier(0.04, 0.04, 0.12, 0.96);
}

.link-card:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: #ffffff;
  transform: translateY(-6px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
}

.link-card:hover .link-body p {
  color: #ffffff;
}

.link-card:hover .link-visual {
  background: rgba(255, 255, 255, 0.16);
}

.link-card:focus-visible,
.preview-card:focus-visible,
.gallery-card:focus-visible,
.btn:focus-visible,
.nav-links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.link-visual {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: #f2eddd;
  display: grid;
  place-items: center;
  padding: 10px;
}

.link-visual img {
  max-height: 52px;
  object-fit: contain;
}

.link-title {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.link-body p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.feature-card h3 {
  margin: 8px 0 10px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.link-tag {
  height: 36px;
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef4ef;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  justify-self: start;
}

.feature-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s cubic-bezier(0.04, 0.04, 0.12, 0.96), box-shadow 0.28s cubic-bezier(0.04, 0.04, 0.12, 0.96);
}

.feature-link:hover {
  background: var(--sage);
  border-color: var(--sage);
  transform: translateY(-6px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
}

.feature-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.gallery-preview .preview-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.preview-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: var(--shadow);
  transition: transform 0.28s cubic-bezier(0.04, 0.04, 0.12, 0.96);
}

.preview-card:hover {
  transform: translateY(-4px);
}

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

.sub-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
  gap: 5px;
  padding: 120px 10vw 0px;
  position: relative;
  overflow: hidden;
  justify-items: center;
}

.sub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(171, 143, 54, 0.14), transparent 40%), radial-gradient(circle at 80% 0%, rgba(168, 203, 191, 0.2), transparent 42%);
  z-index: -1;
}

.sub-hero__text h1 {
  margin: 6px 0 10px;
  font-size: clamp(2.2rem, 3.8vw, 3rem);
}

.sub-hero__text p {
  margin: 0;
  color: var(--muted);
}

.sub-hero__text {
  max-width: 560px;
  width: 100%;
  justify-self: start;
}

.sub-hero__visual {
  justify-self: center;
  align-self: center;
  width: 520px;
  max-width: 100%;
}

.sub-hero__visual img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.profile-overview .profile-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
  max-width: 960px;
  margin: 0 auto;
}

.profile-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  align-items: start;
}

.profile-meta h2 {
  margin: 0;
}

.profile-meta .roman {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
  margin-left: 6px;
}

.profile-stats {
  margin: 20px auto;
}

.profile-stats div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin-bottom: 12px;
}

.profile-stats dt {
  font-weight: 800;
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f2eddd;
}

.profile-stats dt::after {
  content: "：";
  margin-left: 2px;
}

.profile-stats dd {
  margin: 0;
  color: var(--muted);
}

.profile-description {
  margin: 18px 0 0;
  color: var(--muted);
}

.career-section .career-timeline {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: 960px;
  margin: 0 auto;
}

.career-section .section-head {
  margin: 0 auto 50px;
}

.career-year {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 28px 28px;
  position: relative;
  box-shadow: var(--shadow);
}

.career-year .year {
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.career-year ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.career-year li {
  padding-left: 12px;
  position: relative;
  color: var(--muted);
}

.career-year li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

.gallery-section .gallery-grid {
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 100px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.24s cubic-bezier(0.04, 0.04, 0.12, 0.96);
}

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

.gallery-card:hover {
  transform: translateY(-4px);
}

.site-footer {
  padding: 40px 6vw 60px;
  background: #f2eddd;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 12px;
}

.footer-brand {
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.footer-social img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid var(--border);
}

.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (min-width: 960px) {
  .site-header {
    padding: 18px 6vw;
  }

  .menu-icon {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0;
    min-width: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-links a {
    padding: 10px 8px;
  }

  .profile-hero .sub-hero__visual img {
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
}

@media (min-width: 640px) {
  .gallery-section .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    padding: 0 24px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding: 12px 18px;
  }

  .nav-links {
    right: 18px;
    left: 18px;
    min-width: auto;
  }


  .section {
    padding: 80px 18px;
  }
}
