/* the ate vol.1『榊原家の人々』公演詳細 */
:root {
  --text: #201e1d;
  --muted: #6d6966;
  --body: #4a4644;
  --line: #dcdad7;
  --pink: #c4155c;
  --grad: linear-gradient(90deg, #0fb2c2, #ee2f7c);
  --grad-v: linear-gradient(#0fb2c2, #ee2f7c);
  --en: "Archivo", system-ui, sans-serif;
  --pad: clamp(24px, 8vw, 140px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #eeedeb; color: var(--text); font-family: "Zen Kaku Gothic New", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, ul, dl, dd { margin: 0; }
ul { list-style: none; padding: 0; }
a { color: var(--text); text-underline-offset: 3px; }
a:hover { color: var(--pink); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.en { font-family: var(--en); }
.clear { clear: both; }

.page { max-width: 1200px; margin: 24px auto; background: #fff; }

/* header */
.top-wrap { padding-top: 28px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 40px; }
.top > a:not(.brand) { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-decoration: none; padding: 10px 0; }
.brand img { height: 24px; width: auto; }
.kv { position: relative; margin: 24px 80px 0; }
.kv-visual { position: relative; aspect-ratio: 16 / 9; background: #e6e5e3; overflow: hidden; }
.kv-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.kv-ctrl { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 6px; }
.kv-ctrl button {
  min-height: 36px; padding: 0 12px; border: 0; cursor: pointer;
  background: rgba(32, 30, 29, .78); color: #fff;
  font-family: var(--en); font-weight: 700; font-size: 11px; letter-spacing: .12em;
}
.kv-ctrl button:hover { background: var(--text); }
.kv-copy {
  position: absolute; right: -74px; top: 0; background: #fff; padding: 22px 14px;
  writing-mode: vertical-rl; display: flex; flex-direction: column; gap: 12px;
  font-weight: 700; font-size: 15px; letter-spacing: .22em; line-height: 1;
}
.kv-copy > span { white-space: nowrap; }
.kv-copy .kv-2 { padding-top: 1em; }
.kv-copy .tcy { text-combine-upright: all; letter-spacing: 0; }
.kv-copy .q { letter-spacing: 0; }
.subnav { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 36px; padding: 44px 40px 0; font-weight: 700; font-size: 12px; letter-spacing: .14em; }
.subnav a { text-decoration: none; padding: 8px 0; }

/* section heading */
.sec { padding: 0 var(--pad) 120px; scroll-margin-top: 16px; }
.sec-h { border-left: 3px solid; border-image: var(--grad-v) 1; padding: 2px 0 2px 14px; margin-bottom: 48px; font-weight: 700; }
.sec-h b { display: block; font-family: var(--en); font-weight: 700; font-size: 30px; letter-spacing: .04em; line-height: 1.1; }
.sec-h span { display: block; font-size: 11px; letter-spacing: .12em; margin-top: 6px; }

/* buttons */
.btn-grad {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--grad); color: #fff; text-decoration: none; box-shadow: 0 4px 0 var(--text);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-grad:hover { background: var(--text); color: #fff; transform: translateY(2px); box-shadow: 0 2px 0 var(--pink); }
.btn-grad .line { display: block; width: 56px; height: 2px; background: currentColor; }

/* story */
.sec-story { padding-top: 60px; }
.story-img { float: right; width: 44%; height: auto; margin: 0 0 32px 48px; box-shadow: 0 12px 32px rgba(32, 30, 29, .14); }
.story-text { font-size: 15px; line-height: 2.4; letter-spacing: .06em; text-wrap: pretty; }
.btn-big { margin-top: 40px; padding: 20px 28px; font-family: var(--en); font-weight: 800; font-size: 24px; letter-spacing: .04em; }

/* cast / staff cards */
.cast-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 48px; }
.cast-head .sec-h { margin-bottom: 0; }
.tabs { display: flex; gap: 28px; }
.tabs button {
  background: none; border: 0; padding: 0 0 8px; min-height: 44px; cursor: pointer;
  font-family: var(--en); font-weight: 700; font-size: 15px; letter-spacing: .08em;
  color: #6d6966; border-bottom: 2px solid transparent;
}
.tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: #ee2f7c; }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 28px; }
.person { display: flex; flex-direction: column; gap: 10px; }
.ph { aspect-ratio: 3 / 4; background: repeating-linear-gradient(135deg, #ecebe8 0 8px, #e2e0dc 8px 16px); }
.p-role { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.p-name { font-weight: 900; font-size: 17px; letter-spacing: .06em; }
.p-bio { font-size: 12px; line-height: 1.9; color: var(--body); }
.p-sns { display: flex; gap: 8px; margin-top: 2px; }
.p-sns a { font-family: var(--en); font-weight: 700; font-size: 11px; padding: 7px 10px; border: 1px solid var(--text); text-decoration: none; }
.p-sns a:hover { background: var(--text); color: #fff; }

.sec-staff {
  padding-top: 110px; padding-bottom: 110px; margin-bottom: 0;
  background-color: #f6f8f9;
  background-image: linear-gradient(#e3eaee 1px, transparent 1px), linear-gradient(90deg, #e3eaee 1px, transparent 1px);
  background-size: 24px 24px;
}
.people-key { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 40px 28px; margin-bottom: 56px; }
.staff-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px; }
.staff-list li { border-top: 1px solid var(--text); padding-top: 12px; }
.s-name { font-weight: 700; font-size: 15px; margin: 6px 0; }

/* schedule */
.sec-schedule { padding-top: 110px; padding-bottom: 110px; background: #f7f6f4; }
.sch-head { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: end; margin-bottom: 40px; }
.sch-date { font-weight: 900; font-size: 30px; letter-spacing: .06em; }
.sch-venue { font-size: 13px; font-weight: 700; letter-spacing: .08em; margin-top: 8px; }
.sch-note { font-size: 12px; line-height: 1.8; color: var(--muted); }
.days { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 72px; }
.day {
  background: #fff; border-top: 3px solid; border-image: var(--grad) 1;
  padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 1px 0 var(--line);
}
.day-no { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.day-date { display: flex; align-items: baseline; gap: 6px; font-family: var(--en); }
.day-date span { font-weight: 700; font-size: 15px; }
.day-date b { font-weight: 800; font-size: 56px; line-height: .9; letter-spacing: -.02em; }
.day-time { font-size: 12px; color: var(--muted); line-height: 1.7; }
.btn-day { margin-top: 10px; gap: 8px; white-space: nowrap; padding: 18px; min-height: 60px; font-weight: 800; font-size: 17px; letter-spacing: .06em; }
.btn-day span { font-size: 20px; }
.price-wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; align-items: start; }
.price-h b { display: block; font-family: var(--en); font-weight: 700; font-size: 20px; letter-spacing: .04em; }
.price-h span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; margin-top: 6px; }
.prices { border-top: 2px solid var(--text); }
.price { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: baseline; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.price dt { display: contents; }
.price dt b { font-family: var(--en); font-weight: 800; font-size: 22px; }
.price dt span { font-size: 13px; font-weight: 700; }
.price dd { font-family: var(--en); font-weight: 700; font-size: 22px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* venue */
.sec-venue { padding-top: 110px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
.sec-venue .sec-h { margin-bottom: 40px; }
.v-name { font-weight: 900; font-size: 26px; letter-spacing: .06em; margin-bottom: 14px; }
.v-addr { font-size: 14px; line-height: 1.9; font-weight: 700; }
.v-access { border-top: 1px solid var(--text); margin-top: 28px; padding-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.v-access p { font-size: 13px; line-height: 2; color: var(--body); }
.v-access .v-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--muted); line-height: 1; }
.v-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; font-family: var(--en); font-weight: 700; font-size: 13px; text-decoration: none; padding: 8px 0; }
.v-link .line { display: block; width: 40px; height: 1px; background: currentColor; }
.sec-venue iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; filter: grayscale(1); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 12px; }
.foot a { font-weight: 700; letter-spacing: .1em; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-grad { transition: none; }
}

/* tablet */
@media (max-width: 1000px) {
  .kv-copy {
    position: static; writing-mode: horizontal-tb; flex-direction: row; flex-wrap: wrap; justify-content: center;
    gap: 4px 16px; padding: 20px 0 0; font-size: 16px; letter-spacing: .12em; line-height: 1.6;
  }
  .kv-copy .kv-2 { padding-top: 0; }
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sch-head, .price-wrap { grid-template-columns: 1fr; gap: 16px; }
  .sec-venue { grid-template-columns: 1fr; gap: 40px; }
}

/* phone */
@media (max-width: 640px) {
  .page { margin: 0; }
  .top-wrap { padding-top: 16px; }
  .top { padding: 0 16px; }
  .top > a:not(.brand) { font-size: 11px; letter-spacing: .04em; }
  .brand img { height: 20px; }
  .kv { margin: 16px 16px 0; }
  .kv-copy { font-size: 14px; padding-top: 16px; }
  .kv-ctrl { right: 8px; bottom: 8px; }
  .kv-ctrl button { min-height: 32px; padding: 0 10px; font-size: 10px; }
  .subnav { gap: 4px 20px; padding: 28px 16px 0; }
  .sec { padding-left: 20px; padding-right: 20px; padding-bottom: 80px; }
  .sec-story { padding-top: 48px; }
  .sec-staff, .sec-schedule { padding-top: 72px; padding-bottom: 72px; }
  .sec-venue { padding-top: 72px; }
  .sec-h { margin-bottom: 32px; }
  .story-img { float: none; width: 100%; max-width: 420px; margin: 0 auto 32px; }
  .story-text { line-height: 2.1; letter-spacing: .03em; }
  .btn-big { display: flex; font-size: 20px; padding: 18px 22px; }
  .cast-head { margin-bottom: 32px; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
  .people-key { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .staff-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .sch-date { font-size: 24px; }
  .days { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 56px; }
  .day { padding: 18px 14px 16px; }
  .day-date b { font-size: 44px; }
  .btn-day { font-size: 15px; padding: 14px; min-height: 52px; }
  .price { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; }
  .price dt b, .price dd { font-size: 19px; }
  .v-name { font-size: 22px; }
  .foot { padding: 28px 20px; }
}
