@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300&family=Noto+Sans+JP:wght@200;300;400&display=swap');

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

:root {
  --ai:   #04091a;
  --ai2:  #0a1428;
  --cream: #f0ebe1;
  --gold:  #c9a96e;
  --dim:   rgba(240,235,225,0.5);
  --line:  rgba(240,235,225,0.08);
}

html { scroll-behavior: smooth; }

body {
  background: var(--ai);
  color: var(--cream);
  font-family: 'Noto Sans JP', 'Yu Gothic', YuGothic, sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* ── HEADER ── */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  border-bottom: 1px solid var(--line);
}

.site-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  mix-blend-mode: normal;
  opacity: 1;
}

.site-sub {
  font-size: 0.7em;
  opacity: 0.7;
  letter-spacing: 0.12em;
}

.caption-sub {
  font-size: 0.55em;
  opacity: 0.75;
  letter-spacing: 0.2em;
  vertical-align: middle;
}

.site-title a {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--cream);
  opacity: 0.8;
  font-weight: 300;
}

.site-title a span {
  font-size: 11px;
  opacity: 0.5;
}

nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
}

nav a {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--dim);
  transition: color 0.2s;
  text-transform: uppercase;
}

nav a:hover,
nav a.active { color: var(--cream); }

/* ── MAIN ── */
main { flex: 1; }

/* ── HOME: HERO ── */
.hero-image {
  width: 100%;
  height: calc(100vh - 74px);
  background: var(--ai);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--cream);
  opacity: 0.1;
  text-transform: uppercase;
}

.hero-caption {
  padding: 48px 48px 72px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.hero-caption-text {
  grid-column: 1;
}

.hero-caption-poem {
  grid-column: 2;
  justify-self: center;
  width: 200px;
}

.hero-caption-poem img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-caption h1 {
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 200;
  letter-spacing: 0.25em;
  color: var(--cream);
  margin-bottom: 8px;
}

.hero-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--gold);
  opacity: 0.65;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-sub {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--dim);
}

/* ── PAGE HEADER ── */
.page-header {
  padding: 56px 48px 40px;
  border-bottom: 1px solid var(--line);
}

.page-header h2 {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 300;
}

/* ── WORKS ── */
.work-list { padding: 0 48px; }

.work-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
  padding: 72px 0;
  gap: 80px;
  align-items: center;
}

.work-item.reverse .work-photo { order: 2; }
.work-item.reverse .work-detail { order: 1; }

.work-photo {
  background: var(--ai2);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.work-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.work-detail { padding: 0 16px; }

.work-no {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gold);
  opacity: 0.45;
  margin-bottom: 20px;
}

.work-name {
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 200;
  letter-spacing: 0.15em;
  color: var(--cream);
  margin-bottom: 6px;
  line-height: 1.4;
}

.work-name-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.55;
  margin-bottom: 40px;
}

.work-spec {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--dim);
  line-height: 2.6;
  margin-bottom: 36px;
}

.work-spec dt {
  display: inline;
  color: var(--cream);
  opacity: 0.4;
}

.work-spec dd {
  display: inline;
  margin: 0;
}

.work-spec dt::after { content: ' : '; }
.work-spec dd::after { content: '\A'; white-space: pre; }

.work-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--cream);
  opacity: 0.85;
}

/* ── WORK POEM ── */
.work-poem {
  margin-top: 16px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.work-poem-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 200;
  letter-spacing: 0.15em;
  color: rgba(240,235,225,0.3);
  line-height: 2.8;
  white-space: pre-line;
}

/* ── NEWS ── */
.news-list {
  padding: 0 48px;
}

.news-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 48px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.news-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--gold);
  opacity: 0.55;
}

.news-body h3 {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--cream);
  margin-bottom: 8px;
}

.news-body p {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--dim);
  line-height: 2.4;
}

.news-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.news-photos img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
}

.news-photos img:first-child {
  object-position: center 70%;
}

@media (max-width: 860px) {
  .news-photos {
    grid-template-columns: 1fr;
  }
  .news-photos img {
    height: 220px;
  }
}

.news-empty {
  padding: 80px 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--dim);
  opacity: 0.4;
  text-align: center;
}

/* ── ABOUT ── */
.about-layout {
  padding: 72px 48px;
  max-width: 720px;
}

.about-photo {
  background: var(--ai2);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-text h2 {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 200;
  letter-spacing: 0.15em;
  color: var(--cream);
  line-height: 1.9;
  margin-bottom: 40px;
}

.about-text p {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--dim);
  line-height: 2.9;
  margin-bottom: 32px;
}

.about-specs {
  margin-top: 56px;
  border-top: 1px solid var(--line);
}

.about-spec {
  display: flex;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  gap: 32px;
}

.about-spec dt {
  width: 100px;
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.55;
  text-transform: uppercase;
}

.about-spec dd {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--dim);
  line-height: 2.2;
}

.about-contact {
  margin-top: 48px;
}

.about-contact-link {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--cream);
  border-bottom: 1px solid rgba(240,235,225,0.2);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}

.about-contact-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ── ABOUT STORY ── */
.about-section-label {
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--gold);
  opacity: 0.6;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.about-lead {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 200;
  letter-spacing: 0.15em;
  color: var(--cream);
  line-height: 2;
  margin-bottom: 48px;
}

.about-body {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--dim);
  line-height: 3;
  margin-bottom: 32px;
}

.about-closing {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  margin-top: 8px;
  color: rgba(240,235,225,0.45);
}

/* ── FOOTER ── */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

footer a {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--cream);
  opacity: 0.25;
  transition: opacity 0.2s;
}

footer a:hover { opacity: 0.6; }

footer ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

footer ul a {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.3;
}

/* ── PROFILE ── */
.profile-layout {
  padding: 72px 48px;
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 80px;
  align-items: start;
}

.profile-photo {
  background: var(--ai2);
  overflow: visible;
}

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

.profile-photo-caption {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--dim);
  opacity: 0.5;
  text-align: center;
}

.profile-name {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 200;
  letter-spacing: 0.2em;
  color: var(--cream);
  margin-bottom: 8px;
}

.profile-name-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 48px;
}

.profile-body {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--dim);
  line-height: 3;
  margin-bottom: 56px;
}

.profile-specs {
  border-top: 1px solid var(--line);
}

.profile-spec {
  display: flex;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  gap: 32px;
  align-items: baseline;
}

.profile-spec dt {
  width: 100px;
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.5;
  text-transform: uppercase;
}

.profile-spec dd {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--dim);
  line-height: 2.2;
}

.profile-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--cream);
  border-bottom: 1px solid rgba(240,235,225,0.15);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.profile-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ── PROFILE STORY ── */
.profile-story {
  margin-bottom: 48px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.profile-story-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 20px;
}

.profile-story-body {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--dim);
  line-height: 3;
}

/* ── HERO IMAGE ── */
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

/* ── POEM SECTION ── */
.poem-section {
  border-top: 1px solid var(--line);
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  height: 68vh;
}

.poem-section::-webkit-scrollbar { display: none; }

.poem-frame {
  flex: 0 0 25%;
  height: 100%;
  overflow: hidden;
}

.poem-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

/* ── FADE IN ── */
.fade {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade.in { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {

  /* ヘッダー：縦並びに変更 */
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
  }

  .site-title a {
    white-space: nowrap;
    font-size: 12px;
  }

  nav ul {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 10px;
    letter-spacing: 0.15em;
  }

  /* コンテンツ余白調整 */
  .page-header { padding: 32px 20px 24px; }
  .work-list { padding: 0 20px; }
  .work-item {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }
  .work-item.reverse .work-photo { order: 0; }
  .work-item.reverse .work-detail { order: 0; }
  .work-detail { padding: 0; }

  .about-layout {
    padding: 40px 20px;
  }

  .profile-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px;
  }

  .news-list { padding: 0 20px; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }

  .hero-caption {
    padding: 28px 20px 36px;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
  }
  .hero-caption-poem { width: 28vw; }
  .hero-caption h1 { font-size: 22px; }

  .hero-image {
    height: auto;
    display: block;
  }
  .hero-image img {
    height: auto;
    object-fit: unset;
  }
  .poem-section { height: 34vw; overflow-x: hidden; }
  .poem-frame { flex: 0 0 25%; }

  footer {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
  }

  footer ul { flex-wrap: wrap; gap: 16px; }
}

/* スマホ小サイズ追加調整 */
@media (max-width: 400px) {
  nav ul { gap: 12px; }
  nav a { font-size: 9px; }
  .site-title a { font-size: 11px; }
}
