/* 神尾美智子 公式サイト
   Design: warm ivory + sumi ink + rosewood accent.
   Serif display (Shippori Mincho B1) / sans body (Zen Kaku Gothic New). */

:root {
  --bg: #faf7f1;
  --surface: #fffdf8;
  --ink: #262320;
  --ink-soft: #4a443d;
  --muted: #857a6c;
  --accent: #9a3b52;
  --accent-deep: #7e2f43;
  --gold: #b08d57;
  --line: #e6ddcd;
  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }

::selection { background: var(--accent); color: #fff; }

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 247, 241, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 14px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  align-items: baseline;
  justify-content: space-between;
}
header.site .brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .12em;
  color: var(--ink);
  text-decoration: none;
}
header.site .brand small {
  font-family: var(--sans);
  color: var(--muted);
  font-weight: 500;
  margin-left: 10px;
  font-size: .72rem;
  letter-spacing: .18em;
}
nav.main { display: flex; flex-wrap: wrap; gap: 4px 20px; }
nav.main a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .88rem;
  letter-spacing: .06em;
  padding-bottom: 2px;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 0% 1px no-repeat;
  transition: background-size .3s ease, color .3s ease;
}
nav.main a:hover { color: var(--accent); background-size: 100% 1px; }

/* ---------- layout ---------- */
main { max-width: 880px; margin: 0 auto; padding: 40px 24px 72px; }

h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: .06em;
  line-height: 1.5;
  margin: 8px 0 18px;
}
h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: .08em;
  margin: 56px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 1px;
  background: var(--accent);
}
p.lead { font-size: 1.02rem; color: var(--ink-soft); }
.note-small { color: var(--muted); font-size: .87rem; }

/* ---------- hero (top page) ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0 24px;
  animation: rise .9s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.hero .kicker {
  font-size: .72rem;
  letter-spacing: .34em;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 18px;
}
.hero h1 {
  font-size: 3.2rem;
  letter-spacing: .14em;
  margin: 0 0 6px;
  line-height: 1.3;
}
.hero .affil {
  color: var(--muted);
  letter-spacing: .14em;
  font-size: .9rem;
  margin: 0 0 26px;
}
.hero .seibun {
  color: var(--ink-soft);
  border-left: 2px solid var(--gold);
  padding-left: 18px;
  margin: 0 0 30px;
}
.hero-photo { position: relative; justify-self: end; }
.hero-photo img {
  display: block;
  width: min(320px, 100%);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold);
  z-index: -1;
}
.hero-photo .vertical {
  position: absolute;
  top: 0;
  left: -34px;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  letter-spacing: .42em;
  font-size: .8rem;
  color: var(--muted);
}

/* ---------- events ---------- */
ul.events { list-style: none; padding: 0; margin: 0; }
ul.events li {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: border-color .25s ease, transform .25s ease;
}
ul.events li:hover { border-color: var(--accent); transform: translateX(4px); }
ul.events .date {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .05em;
}
.tag {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: .7rem;
  letter-spacing: .14em;
  padding: 1px 9px;
  margin-left: 10px;
  vertical-align: middle;
}
.tag.sub { border-color: var(--muted); color: var(--muted); }

/* ---------- profile table ---------- */
table.profile { border-collapse: collapse; width: 100%; }
table.profile th, table.profile td {
  border-bottom: 1px solid var(--line);
  padding: 13px 12px;
  text-align: left;
  vertical-align: top;
}
table.profile th {
  width: 30%;
  color: var(--muted);
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .08em;
  white-space: nowrap;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  letter-spacing: .12em;
  font-size: .9rem;
  padding: 12px 28px;
  margin: 4px 10px 4px 0;
  transition: background .25s ease;
}
.btn:hover { background: var(--accent); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

/* ---------- footer ---------- */
footer.site {
  background: var(--ink);
  color: #cfc6b8;
  padding: 36px 20px 30px;
  text-align: center;
  font-size: .85rem;
  letter-spacing: .08em;
}
footer.site nav { margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; }
footer.site a { color: #efe9dd; text-decoration: none; }
footer.site a:hover { color: var(--gold); }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  header.site { padding: 12px 18px; }
  main { padding: 28px 18px 56px; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 20px; }
  .hero h1 { font-size: 2.3rem; }
  .hero-photo { justify-self: center; }
  .hero-photo .vertical { display: none; }
  table.profile th { width: 34%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { animation: none; }
  * { transition: none !important; }
}
