﻿@charset "UTF-8";
/* ============================================================
   神崎ゆずは 公式サイト（テスト用）スタイルシート
   - 外部CDNに依存しない自己完結構成
   - ライト／ダーク両対応（prefers-color-scheme）
   ============================================================ */

/* ---------- カラー・共通変数 ---------- */
:root {
  --yuzu:        #f2b705;
  --yuzu-light:  #ffd95a;
  --yuzu-deep:   #d99a00;
  --leaf:        #3f8f5b;
  --leaf-light:  #8fc9a3;
  --ink:         #2b2a26;
  --ink-soft:    #55514a;
  --muted:       #8a8479;
  --paper:       #fffdf5;
  --card:        #ffffff;
  --line:        #ece7d9;
  --shadow:      0 2px 4px rgba(43, 42, 38, .04), 0 12px 28px rgba(43, 42, 38, .07);
  --shadow-hover:0 4px 8px rgba(43, 42, 38, .06), 0 20px 40px rgba(43, 42, 38, .12);
  --radius:      16px;
  --radius-sm:   10px;
  --maxw:        1080px;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic",
          "Meiryo", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink:      #f2efe6;
    --ink-soft: #cfc9bc;
    --muted:    #9d968a;
    --paper:    #1a1917;
    --card:     #242320;
    --line:     #383630;
    --shadow:      0 2px 4px rgba(0, 0, 0, .3), 0 12px 28px rgba(0, 0, 0, .35);
    --shadow-hover:0 4px 8px rgba(0, 0, 0, .35), 0 20px 40px rgba(0, 0, 0, .5);
  }
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

/* height:auto を省くと HTML の height 属性がそのまま効き、SVG に上下余白が出る */
img { max-width: 100%; height: auto; }
svg { max-width: 100%; }
img, svg { vertical-align: middle; }

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

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--yuzu); outline-offset: 2px; border-radius: 4px; }

/* ---------- レイアウト ---------- */
.wrap {
  width: min(100% - 40px, var(--maxw));
  margin-inline: auto;
}

.section { padding: 72px 0; }
.section + .section { padding-top: 8px; }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-title {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.4;
  position: relative;
  padding-left: 18px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: .32em;
  width: 7px;
  height: .85em;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--yuzu-light), var(--yuzu));
}

.section-title .en {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.section-more { margin-left: auto; }

.lead { color: var(--ink-soft); }

/* ---------- テストデータの告知バー ---------- */
.testbar {
  background: repeating-linear-gradient(
    -45deg, #fff4cc, #fff4cc 10px, #ffe9a8 10px, #ffe9a8 20px);
  color: #6b4e00;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 7px 16px;
  border-bottom: 1px solid #f0d98a;
  letter-spacing: .02em;
}

@media (prefers-color-scheme: dark) {
  .testbar {
    background: repeating-linear-gradient(
      -45deg, #3a3117, #3a3117 10px, #453a1b 10px, #453a1b 20px);
    color: #ffdf8a;
    border-bottom-color: #524418;
  }
}

/* ---------- ヘッダー ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  font-size: 18px;
  white-space: nowrap;
}

.logo-mark {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, var(--yuzu-light), var(--yuzu) 62%, var(--yuzu-deep));
  box-shadow: inset 0 -2px 6px rgba(0, 0, 0, .12);
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -4px;
  width: 15px;
  height: 12px;
  background: linear-gradient(135deg, var(--leaf-light), var(--leaf));
  border-radius: 0 100% 0 100%;
  transform: rotate(-12deg);
}

.nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: background-color .18s, color .18s;
}

.nav-list a:hover { background: color-mix(in srgb, var(--yuzu) 18%, transparent); color: var(--ink); }
.nav-list a[aria-current="page"] { background: var(--yuzu); color: #3a2c00; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .22s, opacity .22s;
}

.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    inset: 68px 0 auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    margin: 0;
  }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
  .nav-list a { padding: 14px 12px; border-radius: 12px; font-size: 15px; }
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 92px;
  background:
    radial-gradient(1200px 480px at 78% -10%, color-mix(in srgb, var(--yuzu) 30%, transparent), transparent 62%),
    radial-gradient(900px 420px at 8% 110%, color-mix(in srgb, var(--leaf) 20%, transparent), transparent 60%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}

.hero-name {
  font-size: clamp(38px, 7vw, 68px);
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.25;
  margin-bottom: 6px;
}

.hero-name .accent {
  background: linear-gradient(180deg, transparent 62%, color-mix(in srgb, var(--yuzu) 60%, transparent) 62%);
}

.hero-kana {
  font-size: 13px;
  letter-spacing: .28em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 22px;
}

.hero-catch {
  font-size: clamp(17px, 2.3vw, 21px);
  font-weight: 700;
  line-height: 1.85;
  margin-bottom: 14px;
}

.hero-text { color: var(--ink-soft); margin-bottom: 30px; max-width: 34em; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual { position: relative; }

.hero-visual img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: block;
}

@media (max-width: 860px) {
  .hero { padding: 56px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { order: -1; max-width: 380px; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: transform .16s, box-shadow .16s, background-color .16s, color .16s;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--yuzu-light), var(--yuzu));
  color: #3a2c00;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--yuzu) 45%, transparent);
}

.btn-primary:hover { box-shadow: 0 10px 26px color-mix(in srgb, var(--yuzu) 55%, transparent); }

.btn-ghost {
  border-color: var(--line);
  background: var(--card);
  color: var(--ink);
}

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

.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ---------- カード共通 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- お知らせ ---------- */
.news-list { display: grid; gap: 12px; }

.news-item {
  display: grid;
  grid-template-columns: 116px 116px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}

.news-item:hover { border-color: color-mix(in srgb, var(--yuzu) 60%, var(--line)); box-shadow: var(--shadow); }

.news-date {
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}

.news-title { font-weight: 700; }

.news-body { font-size: 14px; color: var(--ink-soft); margin-top: 2px; }

.news-item.is-pickup { border-left: 5px solid var(--yuzu); }

@media (max-width: 720px) {
  .news-item { grid-template-columns: auto 1fr; row-gap: 6px; padding: 16px; }
  .news-item > .news-main { grid-column: 1 / -1; }
  .news-item > .badge { justify-self: start; }
}

/* ---------- バッジ ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
  border: 1px solid transparent;
}

.badge-news    { background: #eef2f7; color: #3d5a80; border-color: #dde5ee; }
.badge-live    { background: #fdeef0; color: #a83249; border-color: #f6dbe0; }
.badge-release { background: #eaf6ee; color: #2f7d46; border-color: #d6ecdd; }
.badge-goods   { background: #fff3d9; color: #8a6100; border-color: #f6e3b6; }
.badge-illust  { background: #fdeef7; color: #99367a; border-color: #f6dcee; }
.badge-music   { background: #ecf1fd; color: #3a52a3; border-color: #dbe3fa; }
.badge-voice   { background: #f2eefd; color: #5b3fa8; border-color: #e3dbfa; }
.badge-collab  { background: #fff0e8; color: #a3532a; border-color: #fadcc9; }

@media (prefers-color-scheme: dark) {
  .badge { border-color: transparent; filter: brightness(.9) saturate(1.15); }
}

/* ---------- 作品ギャラリー ---------- */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.filter button {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s;
}

.filter button:hover { border-color: var(--yuzu); }
.filter button[aria-pressed="true"] { background: var(--yuzu); border-color: var(--yuzu); color: #3a2c00; }

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.work {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}

.work:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.work-thumb {
  aspect-ratio: 4 / 3;
  position: relative;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .92);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .1em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}

.work-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .35), transparent 42%),
    radial-gradient(circle at 78% 76%, rgba(0, 0, 0, .18), transparent 46%);
}

.work-thumb span { position: relative; z-index: 1; opacity: .95; }

.work-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.work-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 700; }

.work-title { font-size: 17px; font-weight: 800; line-height: 1.5; }

.work-summary { font-size: 14px; color: var(--ink-soft); flex: 1; }

.work-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
}

/* ---------- プロフィール ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 820px) {
  .profile-grid { grid-template-columns: 1fr; gap: 28px; }
}

.profile-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--card);
}

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

.facts { display: grid; gap: 0; }

.facts div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px dashed var(--line);
}

.facts dt { font-weight: 800; color: var(--ink-soft); font-size: 14px; }

@media (max-width: 560px) {
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- タイムライン ---------- */
.timeline { position: relative; padding-left: 28px; display: grid; gap: 26px; }

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--yuzu), var(--leaf-light));
  border-radius: 2px;
}

.timeline li { position: relative; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--yuzu);
}

.timeline .t-date { font-size: 13px; font-weight: 800; color: var(--muted); letter-spacing: .06em; }
.timeline .t-title { font-weight: 800; font-size: 17px; }
.timeline .t-body { color: var(--ink-soft); font-size: 14px; }

/* ---------- スケジュール ---------- */
.schedule { display: grid; gap: 12px; }

.sch-item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.sch-day {
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 14px;
  line-height: 1.3;
}

.sch-day .m { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .1em; }
.sch-day .d { font-size: 26px; font-weight: 900; font-variant-numeric: tabular-nums; }

.sch-title { font-weight: 800; }
.sch-sub { font-size: 13px; color: var(--ink-soft); }

@media (max-width: 640px) {
  .sch-item { grid-template-columns: 72px 1fr; }
  .sch-item .badge { grid-column: 2; justify-self: start; }
}

/* ---------- リンク ---------- */
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform .18s, border-color .18s, box-shadow .18s;
}

.link-card:hover { transform: translateY(-3px); border-color: var(--yuzu); box-shadow: var(--shadow); }

.link-icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--yuzu) 22%, transparent);
  color: var(--yuzu-deep);
}

.link-icon svg { width: 21px; height: 21px; }

.link-name { font-weight: 800; font-size: 15px; }
.link-note { font-size: 12px; color: var(--muted); }

/* ---------- お問い合わせフォーム ---------- */
.form-grid { display: grid; gap: 18px; max-width: 640px; }

.field { display: grid; gap: 6px; }

.field label { font-weight: 800; font-size: 14px; }

.req {
  font-size: 11px;
  font-weight: 800;
  color: #a83249;
  background: #fdeef0;
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  transition: border-color .18s, box-shadow .18s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--yuzu);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--yuzu) 25%, transparent);
}

.field textarea { min-height: 170px; resize: vertical; }

.form-note { font-size: 13px; color: var(--muted); }

.form-result {
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--leaf-light);
  background: color-mix(in srgb, var(--leaf) 12%, transparent);
  font-weight: 700;
  font-size: 14px;
}

.form-result[hidden] { display: none; }

/* ---------- 注意書き・FAQ ---------- */
.note-list { display: grid; gap: 10px; }

.note-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
  font-size: 15px;
}

.note-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yuzu);
}

.faq { display: grid; gap: 12px; }

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  padding: 14px 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::before {
  content: "Q";
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--yuzu);
  color: #3a2c00;
  font-size: 13px;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.faq p { padding: 0 0 16px 34px; color: var(--ink-soft); font-size: 15px; }

/* ---------- ページ見出し ---------- */
.page-head {
  padding: 52px 0 40px;
  background:
    radial-gradient(700px 260px at 85% -30%, color-mix(in srgb, var(--yuzu) 26%, transparent), transparent 60%);
  border-bottom: 1px solid var(--line);
}

.page-title { font-size: clamp(26px, 4.4vw, 40px); font-weight: 900; letter-spacing: .05em; }

.page-title .en {
  display: block;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.breadcrumb { font-size: 13px; color: var(--muted); margin-top: 14px; }
.breadcrumb a:hover { color: var(--yuzu-deep); text-decoration: underline; }

/* ---------- フッター ---------- */
.footer {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--yuzu) 7%, var(--paper));
  padding: 44px 0 28px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; font-weight: 700; }
.footer-nav a { color: var(--ink-soft); }
.footer-nav a:hover { color: var(--yuzu-deep); }

.copyright { font-size: 12px; color: var(--muted); margin-top: 26px; letter-spacing: .04em; }

/* ---------- ページトップへ ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s, transform .22s, visibility .22s;
  z-index: 40;
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 表示アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .work:hover, .link-card:hover { transform: none; }
}

/* ---------- ユーティリティ ---------- */
.empty { color: var(--muted); font-size: 14px; padding: 24px 0; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
