/* aimuse 事務所サイト
   タレントの色（SONATA の夜明け色、ミエルのピンク）とぶつからないよう、事務所は墨色＋青紫1色にする。 */

:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --ink: #1c1b20;
  --muted: #5f5c66;
  --line: #e4e1e8;
  --accent: #4b45c6;
  --accent-soft: #eeedfb;
  --radius: 14px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141317;
    --surface: #1d1c21;
    --ink: #edebf0;
    --muted: #a6a2ae;
    --line: #2f2d35;
    --accent: #a19cff;
    --accent-soft: #26244a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141317; --surface: #1d1c21; --ink: #edebf0; --muted: #a6a2ae;
  --line: #2f2d35; --accent: #a19cff; --accent-soft: #26244a; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.85;
  font-feature-settings: "palt" 1; overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.4; letter-spacing: .02em; margin: 0 0 .6em; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-top: 2.2em; }
h3 { font-size: 1.1rem; margin-top: 1.8em; }
p, ul, ol { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 6px 12px; z-index: 10; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.logo { font-weight: 800; font-size: 1.4rem; letter-spacing: .01em; color: var(--ink); text-decoration: none; margin: 0; }
.logo span { color: var(--accent); }
.logo-sm { font-size: 1.2rem; }
.nav { display: flex; gap: 4px 18px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; font-size: .92rem; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 700; }
@media (max-width: 640px) {
  .header-inner { padding-top: 10px; padding-bottom: 8px; }
  .nav { width: 100%; gap: 2px 14px; font-size: .88rem; }
  .nav li:first-child { display: none; }
}

/* sections */
.page-head { padding: 56px 0 8px; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; margin-bottom: .4em; }
.lead { font-size: 1.08rem; color: var(--muted); }
section { padding: 8px 0 32px; }

.hero { padding: 72px 0 48px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--accent); }

.btn { display: inline-block; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--accent);
  color: var(--accent); text-decoration: none; font-weight: 700; font-size: .95rem; }
.btn:hover { background: var(--accent-soft); }
.btn-solid { background: var(--accent); color: var(--bg); }
.btn-solid:hover { background: var(--accent); opacity: .9; }
.btn-off { border-color: var(--line); color: var(--muted); cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }

/* cards */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card img.portrait { object-position: 50% 22%; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin: 0 0 .2em; font-size: 1.25rem; }
.card .catch { font-weight: 700; margin-bottom: .5em; }
.card .btn-row { margin-top: auto; padding-top: 8px; }
.tag { display: inline-block; align-self: flex-start; font-size: .78rem; padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 8px; }

/* talent detail */
.talent { display: grid; gap: 28px; grid-template-columns: 1fr; padding: 32px 0; border-top: 1px solid var(--line); }
.talent:first-of-type { border-top: 0; }
@media (min-width: 820px) { .talent { grid-template-columns: 340px 1fr; } }
.talent-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); align-self: start; }
.talent-img img { width: 100%; }
.talent h2 { margin-top: 0; }
.talent .catch { font-size: 1.15rem; font-weight: 700; }

table.spec { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .95rem; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 9px 0; border-bottom: 1px solid var(--line); }
.spec th { width: 8.5em; color: var(--muted); font-weight: 600; padding-right: 12px; }

/* principles */
.principles { list-style: none; padding: 0; margin: 0; counter-reset: p; display: grid; gap: 14px; }
.principles li { counter-increment: p; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 14px 62px; position: relative; }
.principles li::before { content: counter(p); position: absolute; left: 20px; top: 16px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.principles h3 { margin: 0 0 .3em; font-size: 1.05rem; }
.principles p { margin: 0 0 .4em; color: var(--muted); }

.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 16px; }
.box h3 { margin-top: 0; }
.note { font-size: .9rem; color: var(--muted); }

/* legal */
.toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 8px 0 24px; }
.toc a { display: block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .9rem; background: var(--surface); }
.legal h2 { padding-top: 24px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.legal h3 { font-size: 1rem; }
.legal ol, .legal ul { padding-left: 1.4em; }
.legal li { margin-bottom: .3em; }

/* footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 56px; padding: 32px 0 20px; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.copy { color: var(--muted); font-size: .8rem; margin: 20px 0 0; }
