/* ART OFFICE
   色はロゴから取っている。ピンク #FF74CC と黄色、あとは黒と紙の色だけ。 */
:root {
  --pink: #ff74cc;
  --pink-deep: #e94fb2;
  --yellow: #fff04a;
  --ink: #1b1b1b;
  --paper: #faf7f0;
  --line: #d9d3c4;
  --head: "Dela Gothic One", "Hiragino Sans", "Yu Gothic", sans-serif;
  --body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --hand: "Klee One", "Hiragino Maru Gothic ProN", cursive;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.9;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.2; }

main > section { padding: 72px 20px; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  background: var(--yellow);
  padding: 16px 20px 88px;
  border-bottom: 3px solid var(--ink);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 14px;
  font-weight: 700;
  max-width: 1040px;
  margin: 0 auto;
}
.topnav a { text-decoration: none; border-bottom: 2px solid transparent; }
.topnav a:hover { border-bottom-color: var(--ink); }

.hero-body {
  max-width: 1040px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 8px;
}

.hero-logo {
  width: min(64vw, 300px);
  clip-path: circle(43% at 50.5% 51%);
  transform: rotate(-8deg);
  margin-left: -6px;
}

.hero-kicker {
  margin: 0;
  font-weight: 700;
  font-size: 15px;
}

.hero-title {
  font-family: var(--head);
  font-size: clamp(52px, 16.5vw, 150px);
  line-height: .9;
  letter-spacing: -.01em;
  transform: rotate(-4deg);
  transform-origin: left bottom;
  margin: 10px 0 14px;
}

.hero-sub {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}

.hero-tag {
  position: absolute;
  right: 16px;
  bottom: -22px;
  background: var(--pink);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  padding: 10px 18px;
  border: 3px solid var(--ink);
  transform: rotate(3deg);
  box-shadow: 4px 4px 0 var(--ink);
}
.hero-tag:hover { transform: rotate(1deg) translate(-1px, -1px); }

@media (min-width: 760px) {
  .hero { padding-bottom: 104px; }
  .hero-body { grid-template-columns: 360px 1fr; gap: 32px; }
  .hero-logo { width: 360px; }
  .hero-title { font-size: clamp(64px, 10.5vw, 140px); }
  .hero-tag { right: 8%; font-size: 18px; }
}

/* ---------- 見出しの共通 ---------- */
.h-tilt {
  display: inline-block;
  font-family: var(--head);
  font-size: clamp(30px, 7vw, 44px);
  background: var(--ink);
  color: var(--paper);
  padding: 4px 14px 8px;
  transform: rotate(-2deg);
  margin-bottom: 28px;
}

.mark { box-shadow: inset 0 -.45em var(--yellow); font-weight: 700; }

/* ---------- どんなサークル ---------- */
.about { max-width: 1040px; margin: 0 auto; }
.about-cols { display: grid; gap: 28px; }
.about-text p { margin: 0 0 1em; max-width: 34em; }
@media (min-width: 760px) {
  .about-cols { grid-template-columns: 1.3fr 1fr; align-items: start; }
}

/* 写真の枠。写真ファイルが無ければ figure ごと消える */
.photo {
  margin: 0;
  background: #fff;
  padding: 10px 10px 34px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 0 rgba(0,0,0,.06);
  position: relative;
}
.photo::before {
  content: "";
  position: absolute;
  top: -12px; left: 50%;
  width: 96px; height: 24px;
  margin-left: -48px;
  background: rgba(255, 240, 74, .75);
  transform: rotate(-4deg);
}
.photo-a { transform: rotate(2deg); }
.photo-b { transform: rotate(-3deg); }

/* 活動の下に貼る写真3枚。大きさと傾きをわざとそろえない */
.snaps {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 18px;
  align-items: start;
}
.snap { padding-bottom: 12px; }
.snap:nth-child(1) { grid-column: 1 / -1; transform: rotate(-1.5deg); width: 88%; }
.snap:nth-child(2) { transform: rotate(2.5deg); margin-top: 6px; }
.snap:nth-child(3) { transform: rotate(-2deg); margin-top: 22px; }
.snap:nth-child(2)::before { background: rgba(255, 116, 204, .55); left: 30%; }
@media (min-width: 760px) {
  .snaps { grid-template-columns: 1.25fr 1fr 1fr; gap: 32px; padding-top: 64px; padding-bottom: 32px; }
  .snap:nth-child(1) { grid-column: auto; width: auto; }
  .snap:nth-child(2) { margin-top: 40px; }
  .snap:nth-child(3) { margin-top: 8px; }
}

/* ---------- セットリスト ---------- */
.setlist-wrap {
  background: var(--pink);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  display: grid;
  gap: 32px;
  justify-items: center;
}

.setlist {
  background: #fff;
  width: 100%;
  max-width: 560px;
  padding: 28px 24px 24px;
  transform: rotate(-1.5deg);
  box-shadow: 6px 6px 0 var(--ink);
  border: 3px solid var(--ink);
}

.setlist-title {
  font-family: var(--head);
  font-size: clamp(26px, 8vw, 34px);
  white-space: nowrap;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 12px;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.setlist-title small { font-family: var(--body); font-size: 14px; font-weight: 700; }

.acts { margin: 0; }
.acts div {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.acts dt { font-weight: 700; font-size: 17px; line-height: 1.6; }
.acts dd { margin: 2px 0 0; font-size: 15px; line-height: 1.7; color: #333; }
@media (min-width: 520px) {
  /* 項目名と説明を1行目でそろえる */
  .acts div { display: grid; grid-template-columns: 6.5em 1fr; column-gap: 12px; align-items: baseline; }
  .acts dd { margin: 0; }
}

.setlist-note { margin: 14px 0 0; font-size: 14px; }

@media (min-width: 900px) {
  .setlist-wrap { grid-template-columns: minmax(0, 560px) 340px; justify-content: center; align-items: center; column-gap: 56px; }
}

/* ---------- 新歓ライブ ---------- */
.shinkan { max-width: 1040px; margin: 0 auto; }

.shinkan-title {
  font-family: var(--head);
  font-size: clamp(40px, 11vw, 76px);
  line-height: 1.05;
  margin-bottom: 12px;
}
.shinkan-title span { color: var(--pink-deep); }

.shinkan-note { margin: 0 0 32px; font-weight: 700; }

.lives { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }

.live {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 3px solid var(--ink);
}

.live-date {
  margin: 0;
  font-family: var(--head);
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.live-md { font-size: 34px; }
.live-dow {
  font-size: 14px;
  background: var(--ink);
  color: var(--yellow);
  padding: 3px 7px;
}

.live-name { font-size: 20px; font-weight: 700; margin-bottom: 8px; }

.live-info { margin: 0; font-size: 15px; }
.live-info div { display: flex; gap: 12px; }
.live-info dt { flex: none; width: 3em; color: #666; }
.live-info dd { margin: 0; }

.live-flyer { margin-top: 12px; max-width: 220px; border: 2px solid var(--ink); }

.lives-empty { font-weight: 700; padding: 20px 0; border-bottom: 3px solid var(--ink); margin: 0; }

@media (min-width: 760px) {
  .live { grid-template-columns: 150px 1fr; }
  .live-md { font-size: 48px; }
}

/* ---------- 部室・会費（張り紙） ---------- */
.room { display: flex; justify-content: center; padding-top: 24px; }

.notice {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px 28px 22px;
  width: 100%;
  max-width: 440px;
  transform: rotate(1.5deg);
  box-shadow: 0 3px 0 rgba(0,0,0,.08);
}
.notice::before, .notice::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 70px; height: 22px;
  background: rgba(255, 116, 204, .55);
}
.notice::before { left: 14px; transform: rotate(-8deg); }
.notice::after { right: 14px; transform: rotate(7deg); }

.notice h2 { font-family: var(--head); font-size: 26px; margin-bottom: 12px; }
.notice dl { margin: 0; }
.notice dl div { display: flex; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); }
.notice dt { flex: none; width: 3em; font-weight: 700; }
.notice dd { margin: 0; }

/* ---------- 見学・入会 ---------- */
.join { max-width: 1040px; margin: 0 auto; }
.join p { margin: 0 0 28px; font-size: 17px; }

.sticker {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--yellow);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  padding: 12px 22px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transform: rotate(-1.5deg);
}
.sticker small { font-size: 13px; font-weight: 400; }
.sticker:hover { box-shadow: 2px 2px 0 var(--ink); transform: rotate(-1.5deg) translate(3px, 3px); }

/* ---------- よくある質問 ---------- */
.faq { max-width: 760px; margin: 0 auto; padding-top: 24px; }
.faq h2 { font-family: var(--head); font-size: 28px; margin-bottom: 16px; }

.faq details { border-top: 1px solid var(--ink); }
.faq details:last-child { border-bottom: 1px solid var(--ink); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 32px 14px 0;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 10px;
  font-family: var(--head);
  font-size: 22px;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; }

/* ---------- フッター ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 40px 20px 32px;
  font-size: 14px;
}
.footer > * { max-width: 1040px; margin-left: auto; margin-right: auto; }
.footer-logo { width: 64px; clip-path: circle(43% at 50.5% 51%); margin-bottom: 16px; margin-left: 0; }
.footer-sns { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-old { margin: 0 0 6px; }
.footer-old a { color: #aaa; }
.footer-copy { margin: 0; color: #888; }
@media (min-width: 760px) {
  .footer > * { margin-left: max(0px, calc((100% - 1040px) / 2)); }
}

/* 既存の紙面のまま，操作と狭い画面に必要な調整をする。 */
[hidden] { display: none !important; }
:where(a, summary):focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
:where(a, summary) { -webkit-tap-highlight-color: rgba(27, 27, 27, .15); }
a:hover { text-decoration-thickness: 2px; text-underline-offset: .2em; }
section[id] { scroll-margin-top: 24px; }
.skip-link { position: absolute; z-index: 10; left: 12px; top: 8px; transform: translateY(-180%); padding: 8px 16px; background: var(--paper); border: 2px solid var(--ink); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hero-body > *, .about-cols > *, .live-body, .live-info dd, .notice dd { min-width: 0; }
.hero-text, .live-body, .notice dd, .faq p, .footer a { overflow-wrap: anywhere; }
.topnav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-sns a { display: inline-block; padding: 6px 0; }
.faq summary:hover { text-decoration: underline; text-underline-offset: .2em; }
.live-info dt { width: 3em; }
.live-info dd, .live-note, .faq details p, .shinkan-note { white-space: pre-line; }
.live-note { margin: 12px 0 0; font-size: 14px; }
.live-flyer { height: auto; }
.photo img { width: 100%; height: auto; }
.hero-title { font-size: clamp(52px, 15vw, 150px); }
.shinkan-title [data-setting-group] { color: #a7237b; }
.shinkan-title [data-setting-group] span { color: inherit; }
.about-cols:has(> .photo[hidden]) { grid-template-columns: 1fr; }
.about-cols:has(> .photo[hidden]) .about-text p { max-width: 44em; }
.setlist-wrap:has(> .photo[hidden]) { grid-template-columns: minmax(0, 560px); }
@media (min-width: 760px) {
  .hero-body { grid-template-columns: minmax(240px, 34%) minmax(0, 1fr); }
  .hero-title { font-size: clamp(64px, 9.2vw, 126px); }
}
@media (max-width: 380px) {
  main > section { padding-left: 18px; padding-right: 18px; }
  .setlist { padding: 22px 16px; }
  .setlist-title { font-size: 25px; white-space: normal; }
  .live { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .live-md { font-size: 28px; }
  .notice { padding-left: 20px; padding-right: 20px; }
  .sticker { padding-left: 16px; padding-right: 16px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-tag:hover { transform: rotate(3deg); }
  .sticker:hover { transform: rotate(-1.5deg); }
}
