/* hikisann.com — shared styles */
:root {
  --bg: #0c111d;
  --bg-2: #121a2b;
  --panel: rgba(255, 255, 255, 0.04);
  --line: rgba(236, 226, 210, 0.14);
  --text: #ece5d9;
  --muted: #aaa3b2;
  --gold: #d9b878;
  --gold-2: #f0d9a8;
  --rose: #e9a9b8;
  --serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", "Meiryo", "Noto Sans JP", sans-serif;
  --wrap: 1080px;
  --gutter: 20px;
  color-scheme: dark;
}
:lang(en) { --serif: "Cormorant Garamond", "Shippori Mincho", Georgia, serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(217, 184, 120, 0.07), transparent 60%),
    radial-gradient(ellipse 70% 50% at 100% 30%, rgba(233, 169, 184, 0.05), transparent 60%);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--bg-2); padding: 8px 12px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 17, 29, 0.78);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: 0.06em; color: var(--text); text-decoration: none; white-space: nowrap; }
.brand small { font-size: 12px; color: var(--muted); margin-left: 8px; letter-spacing: 0.12em; }
.nav { display: flex; gap: 20px; margin-left: auto; font-size: 14px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.lang { font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.lang:hover { color: var(--text); border-color: var(--gold); }
@media (max-width: 720px) {
  .site-header .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; gap: 4px 16px; }
  .brand small { display: none; }
  .lang { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0; gap: 18px; overflow-x: auto; white-space: nowrap; padding: 2px 0 10px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
}

/* hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 17, 29, 0.92) 0%, rgba(12, 17, 29, 0.7) 34%, rgba(12, 17, 29, 0.05) 62%),
    linear-gradient(0deg, var(--bg) 0%, transparent 22%);
}
.hero-inner { width: 100%; padding-top: 48px; padding-bottom: 64px; }
.hero-copy { max-width: 470px; }
.hero-title { margin: 0; }
.hero-logo { width: min(440px, 100%); margin: 0 0 20px -6px; filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5)); }
.kicker { font-size: 13px; letter-spacing: 0.2em; color: var(--gold); margin: 0 0 14px; text-transform: uppercase; }
.lead { font-family: var(--serif); font-size: clamp(19px, 2.3vw, 23px); line-height: 1.75; margin: 0 0 12px; }
.hero p.sub { color: #d4ccc0; margin: 0 0 26px; font-size: 15px; }
@media (max-width: 760px) {
  .hero { min-height: 0; display: block; }
  .hero-bg { position: relative; aspect-ratio: 16 / 10; }
  .hero-bg img { object-position: 78% 30%; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(12, 17, 29, 0) 45%); height: calc((100vw) * 10 / 16); bottom: auto; }
  .hero-logo { width: min(340px, 86%); margin: -28px 0 14px -4px; position: relative; }
  .hero-inner { padding-top: 8px; padding-bottom: 40px; }
}

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none; letter-spacing: 0.04em;
  border: 1px solid var(--gold); color: var(--text); background: rgba(12, 17, 29, 0.55);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { background: rgba(217, 184, 120, 0.16); color: #fff; transform: translateY(-1px); }
.btn.primary { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1a1408; border-color: transparent; }
.btn.primary:hover { color: #000; filter: brightness(1.06); }
.btn .note { font-weight: 400; font-size: 12px; opacity: 0.8; }

/* sections */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
.section-title { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 3vw, 30px); letter-spacing: 0.08em; margin: 0 0 8px; }
.section-en { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.3em; color: var(--gold); text-transform: uppercase; margin-bottom: 6px; }
.section-head { margin-bottom: 32px; }
.muted { color: var(--muted); }
.prose { max-width: 720px; }
.prose p { margin: 0 0 1.1em; }
.prose h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--gold-2); margin: 2.2em 0 0.7em; letter-spacing: 0.05em; line-height: 1.6; }
.prose h3:first-child { margin-top: 0; }
.prose blockquote { margin: 0 0 1.1em; padding: 4px 0 4px 18px; border-left: 2px solid var(--rose); font-family: var(--serif); font-size: 17px; color: #f1e7e9; }
.prose blockquote p { margin: 0.2em 0; }

/* work card */
.work-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel);
  text-decoration: none; color: inherit;
}
.work-card:hover { border-color: rgba(217, 184, 120, 0.5); color: inherit; }
.work-card .media { position: relative; }
.work-card .media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.work-card .body { padding: 28px 30px; display: flex; flex-direction: column; gap: 10px; }
.work-card h3 { font-family: var(--serif); font-size: 24px; margin: 0; line-height: 1.5; letter-spacing: 0.04em; }
.work-card .alt { color: var(--muted); font-size: 14px; margin: -6px 0 0; }
.work-card p { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; padding: 0; list-style: none; }
.tags li { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.more { margin-top: auto; color: var(--gold-2); font-weight: 600; font-size: 14px; }
@media (max-width: 760px) {
  .work-card { grid-template-columns: 1fr; }
  .work-card .media { aspect-ratio: 16 / 9; }
  .work-card .body { padding: 22px 20px; }
}

/* profile */
.profile { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: start; }
.profile .avatar { width: 132px; height: 132px; border-radius: 50%; border: 2px solid rgba(217, 184, 120, 0.55); margin: 6px 0 18px; background: #f2f1ee; }
.profile .name { font-family: var(--serif); font-size: 28px; margin: 0; letter-spacing: 0.06em; line-height: 1.4; }
.profile .name small { display: block; font-size: 14px; color: var(--muted); letter-spacing: 0.14em; margin-top: 4px; }
.profile .role { color: var(--gold); font-size: 13px; letter-spacing: 0.08em; margin-top: 12px; }
@media (max-width: 720px) { .profile { grid-template-columns: 1fr; gap: 16px; } .profile .avatar { width: 108px; height: 108px; } }

/* links */
.link-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.link-list a {
  display: block; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--panel); text-decoration: none; color: var(--text);
}
.link-list a:hover { border-color: var(--gold); }
.link-list strong { display: block; font-size: 15px; }
.link-list span { display: block; font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 2px; }

/* contact */
.mail { font-size: clamp(16px, 2.4vw, 20px); font-weight: 600; word-break: break-all; }

/* trailer */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s, filter 0.3s; }
.video-facade:hover img { transform: scale(1.02); filter: brightness(1.08); }
.video-facade:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
.play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: rgba(12, 17, 29, 0.72); border: 1px solid rgba(255, 255, 255, 0.6);
  display: grid; place-items: center;
}
.play::after { content: ""; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; margin-left: 5px; }
.video-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gallery button { all: unset; cursor: zoom-in; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery button:nth-child(1), .gallery button:nth-child(2) { grid-column: span 3; }
.gallery button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery button:hover img { transform: scale(1.03); }
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery button, .gallery button:nth-child(1), .gallery button:nth-child(2) { grid-column: span 1; }
  .gallery button:nth-child(1) { grid-column: span 2; }
}
dialog.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1600px, 96vw); width: 100%; }
dialog.lightbox::backdrop { background: rgba(5, 8, 14, 0.9); }
dialog.lightbox img { width: 100%; border-radius: 8px; }
dialog.lightbox .close {
  position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(12, 17, 29, 0.8); color: #fff; border: 1px solid var(--line); font-size: 24px; line-height: 1; cursor: pointer;
}

/* info table */
.info { width: 100%; border-collapse: collapse; font-size: 15px; }
.info th, .info td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info th { width: 9.5em; color: var(--gold); font-weight: 600; padding-right: 18px; white-space: nowrap; }
.info td p { margin: 0 0 0.5em; }
.info td p:last-child { margin: 0; }
@media (max-width: 640px) {
  .info th, .info td { display: block; width: auto; }
  .info th { border-bottom: 0; padding-bottom: 0; }
}

.cta-band { text-align: center; }
.cta-band .actions { justify-content: center; }
.cta-band p { margin: 0 0 22px; font-family: var(--serif); font-size: 20px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 13px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.notfound { padding-top: 96px; padding-bottom: 96px; }

/* sub pages */
.page-head { padding-top: 64px; padding-bottom: 8px; }
.page-head h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 4vw, 38px); letter-spacing: 0.06em; line-height: 1.45; margin: 0 0 10px; }
.page-head p { color: var(--muted); margin: 0; }
.page-body { padding: 40px 0 80px; border-top: 0; }
.crumbs { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: 0.05em; margin: 2.4em 0 0.8em; line-height: 1.5; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.prose li { margin: 0.3em 0; }
.prose figure { margin: 1.6em 0; }
.prose figure img { border-radius: 10px; border: 1px solid var(--line); }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.prose th { color: var(--gold); font-weight: 600; white-space: nowrap; }
.post-meta { font-size: 13px; color: var(--muted); margin: 0 0 6px; letter-spacing: 0.06em; }
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.post-list a { display: block; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); text-decoration: none; color: var(--text); }
.post-list a:hover { border-color: var(--gold); }
.post-list h2, .post-list h3 { font-family: var(--serif); font-size: 20px; margin: 0 0 6px; line-height: 1.5; }
.post-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.post-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; color: var(--gold); font-size: 20px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: #d9d2c6; }
.chara { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.chara .portrait img { border-radius: 14px; border: 1px solid var(--line); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% 20%; }
@media (max-width: 760px) { .chara { grid-template-columns: 1fr; } .chara .portrait img { aspect-ratio: 16 / 11; } }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.prose.wide { max-width: var(--wrap); }
.more-link { margin-top: 18px; font-size: 14px; }
