
:root{
  --blue-50:#e8f1fe;--blue-100:#d9e6ff;--blue-200:#c5d7fb;--blue-300:#9db7f9;--blue-900:#0017c1;--blue-1000:#00118f;--blue-1200:#000060;
  --gray-50:#f2f2f2;--gray-100:#e6e6e6;--gray-200:#cccccc;--gray-420:#949494;--gray-536:#767676;--gray-600:#666666;--gray-700:#4d4d4d;--gray-800:#333333;--gray-900:#1a1a1a;
  --red-50:#fdeeee;--red-900:#ce0000;--red-1000:#a90000;
  --green-50:#e6f5ec;--green-800:#197a4b;--green-900:#115a36;
  --yellow-50:#fbf5e0;--yellow-300:#ffd43d;--yellow-900:#927200;
  --orange-50:#ffeee2;--orange-800:#c74700;
  --magenta-50:#f3e5f4;--magenta-900:#8b008b;
  --elevation-1:0 2px 8px 1px rgba(0,0,0,.1),0 1px 5px 0 rgba(0,0,0,.3);
  --focus:0 0 0 2px var(--yellow-300);
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:"Noto Sans JP",sans-serif;font-size:16px;line-height:1.7;letter-spacing:.02em;color:var(--gray-800);background:#fff}
:focus-visible{outline:4px solid #000;outline-offset:2px;box-shadow:var(--focus)}
a{color:var(--blue-1000);text-decoration:underline;text-underline-offset:3px}
a:visited{color:var(--magenta-900)}
a:hover{text-decoration-thickness:3px}
a:active{color:var(--orange-800)}
a:focus-visible{background:var(--yellow-300);color:var(--blue-1000);border-radius:4px}
img{max-width:100%;display:block}
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.wrap{max-width:1120px;margin:0 auto;padding:0 16px}
@media(min-width:768px){.wrap{padding:0 24px}}
h1,h2,h3{color:var(--gray-900);font-weight:700;letter-spacing:.01em}
.skip{position:absolute;left:8px;top:-60px;z-index:100;background:#fff;padding:8px 16px;border:2px solid #000}
.skip:focus{top:8px}

/* ヘッダー */
.site-header{background:#fff;border-bottom:1px solid var(--gray-420)}
.site-header .wrap{display:flex;align-items:center;gap:16px;min-height:64px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--gray-900)!important;padding:6px 0}
.brand-mark{width:40px;height:40px;border-radius:8px;background:var(--blue-900);color:#fff;display:grid;place-items:center;font-weight:700;font-size:18px;flex:none}
.brand b{display:block;font-size:18px;line-height:1.3}
.brand small{display:block;font-size:14px;color:var(--gray-700);line-height:1.3}
.nav{margin-left:auto}
.nav ul{list-style:none;display:flex;gap:4px;margin:0;padding:0;flex-wrap:wrap}
.nav a{display:flex;align-items:center;min-height:44px;padding:0 12px;border-radius:8px;text-decoration:none;color:var(--gray-800)!important;font-weight:700}
.nav a:hover{background:var(--blue-50);color:var(--blue-1000)!important;text-decoration:underline}
.nav a[aria-current]{color:var(--blue-900)!important;box-shadow:inset 0 -4px 0 var(--blue-900);border-radius:0}
@media(max-width:767px){.site-header .wrap{padding-top:4px;padding-bottom:4px}.nav{margin:0 -12px;width:calc(100% + 24px)}.nav ul{display:grid;grid-template-columns:1fr 1fr;gap:0}.nav a{justify-content:center;white-space:nowrap}}

/* パンくず */
.crumb{padding:16px 0 0}
.crumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:4px 8px;margin:0;padding:0}
.crumb li:not(:last-child)::after{content:"＞";margin-left:8px;color:var(--gray-600)}

/* ボタン（DADS Button） */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:48px;min-width:96px;padding:8px 16px;border-radius:8px;font:inherit;font-weight:700;line-height:1.2;letter-spacing:.02em;text-decoration:none;cursor:pointer;border:4px double transparent;background:var(--blue-900);color:#fff!important;text-underline-offset:3px;text-align:center}
.btn:hover{background:var(--blue-1000);text-decoration:underline}
.btn:active{background:var(--blue-1200)}
.btn.outline{border:1px solid currentColor;background:#fff;color:var(--blue-900)!important}
.btn.outline:hover{background:var(--blue-200);color:var(--blue-1000)!important}
.btn.lg{min-height:56px;padding:12px 16px}
.btn.block{width:100%}
.btn-text{background:none;border:0;padding:8px 4px;font:inherit;color:var(--blue-900);text-decoration:underline;text-underline-offset:3px;cursor:pointer;min-height:44px}
.btn-text:hover{background:var(--blue-50);text-decoration-thickness:3px}
.ext::after{content:"";display:inline-block;width:16px;height:16px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v6H4V6h6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v6H4V6h6'/%3E%3C/svg%3E") center/contain no-repeat}

/* カテゴリラベル（色だけでなく文字で区別） */
.cat{display:inline-flex;align-items:center;font-size:16px;font-weight:700;line-height:1.3;padding:4px 10px;border-radius:6px;border:1px solid currentColor}
.cat-sports{color:var(--red-1000);background:var(--red-50)}
.cat-culture{color:var(--blue-900);background:var(--blue-50)}
.cat-academic{color:var(--magenta-900);background:var(--magenta-50)}
.cat-volunteer{color:var(--green-900);background:var(--green-50)}
.cat-other{color:var(--gray-800);background:var(--gray-50)}
.tag{display:inline-block;font-size:16px;line-height:1.3;padding:4px 10px;border-radius:999px;background:var(--gray-50);border:1px solid var(--gray-200);color:var(--gray-800)}

/* ページ見出し */
.page-head{padding:32px 0 8px}
.page-head h1{font-size:28px;line-height:1.5;margin:0 0 8px}
@media(min-width:768px){.page-head h1{font-size:36px;line-height:1.4}}
.lead{font-size:18px;line-height:1.6;color:var(--gray-800);margin:0}

/* トップ */
.hero{background:var(--blue-50);border-bottom:1px solid var(--blue-200)}
.hero .wrap{padding-top:40px;padding-bottom:40px}
.hero h1{font-size:28px;line-height:1.5;margin:0 0 12px}
@media(min-width:768px){.hero h1{font-size:45px;line-height:1.4}.hero .wrap{padding-top:56px;padding-bottom:56px}}
.hero .lead{max-width:40em}
.notice{display:flex;gap:12px;margin-top:24px;padding:16px;border:1px solid var(--blue-900);border-radius:12px;background:#fff;max-width:44em}
.notice .ic{flex:none;width:24px;height:24px;border-radius:50%;background:var(--blue-900);color:#fff;font-weight:700;display:grid;place-items:center;line-height:1;margin-top:2px}
.notice b{display:block;color:var(--blue-900)}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
@media(max-width:600px){.hero-actions .btn{width:100%}}

.steps{list-style:none;margin:0;padding:0;display:grid;gap:16px;grid-template-columns:1fr;counter-reset:s}
@media(min-width:768px){.steps{grid-template-columns:repeat(3,1fr)}}
.steps li{position:relative;padding:20px 20px 20px 72px;border:1px solid var(--gray-420);border-radius:12px;background:#fff}
.steps li::before{counter-increment:s;content:counter(s);position:absolute;left:20px;top:20px;width:36px;height:36px;border-radius:50%;background:var(--blue-900);color:#fff;font-weight:700;display:grid;place-items:center}
.steps b{display:block;font-size:18px;color:var(--gray-900);line-height:1.5}
.steps p{margin:4px 0 0}

section.block{padding:48px 0}
section.block.alt{background:var(--gray-50)}
.sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:4px 12px;margin-bottom:24px;flex-wrap:wrap}
.sec-head h2{font-size:24px;line-height:1.5;margin:0}
@media(min-width:768px){.sec-head h2{font-size:28px}}
.sec-head p{margin:0;width:100%}

/* 絞り込み */
.filters{border:1px solid var(--gray-420);border-radius:12px;padding:20px;background:#fff;margin-bottom:24px;display:grid;gap:20px}
.field-label{display:block;font-weight:700;color:var(--gray-900);margin-bottom:8px}
.search{width:100%;min-height:56px;font:inherit;padding:12px 16px;border:1px solid var(--gray-600);border-radius:8px;background:#fff;color:var(--gray-800)}
.search:hover{border-color:#000}
.search:focus{outline:4px solid #000;outline-offset:2px;box-shadow:var(--focus)}
fieldset{border:0;margin:0;padding:0;min-width:0}
legend{font-weight:700;color:var(--gray-900);margin-bottom:8px;padding:0}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:6px 16px;border:1px solid var(--gray-600);border-radius:999px;background:#fff;font:inherit;color:var(--gray-800);cursor:pointer}
.chip:hover{border-color:#000;background:var(--gray-50)}
.chip[aria-pressed="true"]{background:var(--blue-900);border-color:var(--blue-900);color:#fff}
.chip[aria-pressed="true"]::before{content:"✓";font-weight:700}
.filter-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--gray-200);padding-top:12px}
.count{font-weight:700;margin:0}
.count b{font-size:22px;color:var(--blue-900)}
.empty{padding:32px 16px;text-align:center;border:1px dashed var(--gray-420);border-radius:12px;background:#fff}

/* サークルカード */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:20px;list-style:none;margin:0;padding:0}
.card{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--gray-420);border-radius:12px;overflow:hidden;height:100%}
.card:hover{border-color:var(--blue-900);box-shadow:var(--elevation-1)}
.card:focus-within{outline:4px solid #000;outline-offset:2px;box-shadow:var(--focus)}
.card-img{aspect-ratio:16/9;background:var(--gray-50);border-bottom:1px solid var(--gray-200)}
.card-img img{width:100%;height:100%;object-fit:cover}
.card-img.ph{aspect-ratio:16/6;display:grid;place-items:center;font-size:40px;font-weight:700;border:0;border-bottom:1px solid var(--gray-200);border-radius:0}
.card-body{padding:16px 20px 20px;display:flex;flex-direction:column;gap:12px;flex:1}
.card h3{font-size:20px;line-height:1.5;margin:0}
.card h3 a{color:var(--gray-900)!important;text-decoration:none}
.card h3 a::after{content:"";position:absolute;inset:0}
.card h3 a:focus-visible{outline:none;box-shadow:none;background:none}
.card:hover h3 a{text-decoration:underline;color:var(--blue-1000)!important}
.card .summary{margin:0}
.facts-mini{margin:0;display:grid;gap:4px;padding:12px;background:var(--gray-50);border-radius:8px}
.facts-mini div{display:grid;grid-template-columns:5em 1fr;gap:8px;line-height:1.5}
.facts-mini dt{font-weight:700;color:var(--gray-700)}
.facts-mini dd{margin:0;overflow-wrap:anywhere}
.tags{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0}
.card .more{margin-top:auto;font-weight:700;color:var(--blue-900)}

/* イベント */
.events{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.event{display:grid;grid-template-columns:72px 1fr;gap:16px;padding:16px;border:1px solid var(--gray-420);border-radius:12px;background:#fff}
@media(min-width:768px){.event{grid-template-columns:88px 1fr;padding:20px}}
.event .date{text-align:center;border:2px solid var(--blue-900);border-radius:8px;padding:6px 0;align-self:start;color:var(--blue-900);line-height:1.2;background:#fff}
.event .date .m{display:block;font-size:14px;font-weight:700}
.event .date .d{display:block;font-size:28px;font-weight:700}
.event .date .w{display:block;font-size:14px}
.event h3{font-size:18px;line-height:1.5;margin:0 0 8px}
.event dl{margin:0;display:grid;gap:2px}
.event dl div{display:grid;grid-template-columns:3.5em 1fr;gap:8px}
.event dt{font-weight:700;color:var(--gray-700)}
.event dd{margin:0}
.event .body{margin:8px 0 0;padding-top:8px;border-top:1px solid var(--gray-200)}
.event.past{background:var(--gray-50)}
.event.past .date{border-color:var(--gray-536);color:var(--gray-700)}
.badge{display:inline-block;font-size:14px;font-weight:700;line-height:1.3;padding:2px 8px;border-radius:4px;background:var(--gray-700);color:#fff;vertical-align:2px;margin-left:6px}

/* お知らせ（アコーディオン） */
.news{list-style:none;margin:0;padding:0;border-top:1px solid var(--gray-420)}
.news li{border-bottom:1px solid var(--gray-420)}
.news summary{display:grid;grid-template-columns:1fr 28px;gap:8px;align-items:center;padding:14px 4px;cursor:pointer;list-style:none;min-height:56px}
.news summary::-webkit-details-marker{display:none}
.news summary::after{content:"";width:12px;height:12px;border-right:3px solid var(--blue-900);border-bottom:3px solid var(--blue-900);transform:rotate(45deg);justify-self:center;margin-top:-6px}
.news details[open] summary::after{transform:rotate(-135deg);margin-top:6px}
.news summary:hover .ttl{text-decoration:underline}
.news .meta{color:var(--gray-700);display:flex;gap:12px;flex-wrap:wrap}
.news .ttl{display:block;font-weight:700;font-size:18px;color:var(--gray-900);line-height:1.5}
.news .body{padding:0 4px 16px}

/* 協賛 */
.sponsor-intro{margin:0 0 8px;max-width:46em}
.tier-label{font-size:18px;font-weight:700;color:var(--gray-900);margin:28px 0 12px;padding-left:12px;border-left:4px solid var(--blue-900);line-height:1.4}
.sp-grid{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.sp-gold{grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr))}
.sp-silver{grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr))}
.sp-card{position:relative;display:flex;gap:16px;align-items:center;padding:16px;border:1px solid var(--gray-420);border-radius:12px;background:#fff;height:100%}
.sp-card:hover{border-color:var(--blue-900);box-shadow:var(--elevation-1)}
.sp-card:focus-within{outline:4px solid #000;outline-offset:2px;box-shadow:var(--focus)}
.sp-card a{font-weight:700;color:var(--gray-900)!important;text-decoration:none;display:inline-flex;align-items:center;gap:4px}
.sp-card a::before{content:"";position:absolute;inset:0}
.sp-card a:focus-visible{outline:none;box-shadow:none;background:none}
.sp-card:hover a{text-decoration:underline;color:var(--blue-1000)!important}
.sp-card p{margin:4px 0 0}
.sp-logo{width:88px;height:88px;object-fit:contain;flex:none;border-radius:8px;background:#fff}
.sp-ph{width:88px;height:88px;flex:none;border-radius:8px;background:var(--gray-50);display:grid;place-items:center;font-size:32px;font-weight:700;color:var(--gray-700)}
.sp-silver .sp-card{flex-direction:column;text-align:center;justify-content:center}
.sp-silver .sp-logo{width:100%;height:56px}
.sp-bronze{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 24px}
.sp-bronze a{display:inline-flex;align-items:center;gap:4px;min-height:44px}
.recruit{margin-top:32px;padding:20px;border-radius:12px;background:var(--gray-50);border:1px solid var(--gray-200)}
.supported{border-bottom:1px solid var(--gray-200);background:#fff}
.supported .wrap{display:flex;align-items:center;flex-wrap:wrap;gap:4px 20px;padding-top:8px;padding-bottom:8px}
.supported .label{font-size:14px;color:var(--gray-700);font-weight:700}
.supported a{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-weight:700}
.supported img{height:28px;width:auto}

/* サークル詳細 */
.detail{display:grid;gap:32px;padding:24px 0 56px;grid-template-areas:"head" "info" "main"}
@media(min-width:960px){.detail{grid-template-columns:minmax(0,1fr) 360px;grid-template-areas:"head info" "main info";column-gap:40px;align-items:start}}
.detail-head{grid-area:head}
.detail-head h1{font-size:28px;line-height:1.5;margin:12px 0 8px}
@media(min-width:768px){.detail-head h1{font-size:36px;line-height:1.4}}
.detail-head .tags{margin-top:16px}
.detail-main{grid-area:main;min-width:0}
.detail-info{grid-area:info}
@media(min-width:960px){.detail-info{position:sticky;top:16px}}
.box{border:1px solid var(--gray-420);border-radius:12px;background:#fff;overflow:hidden}
.box+.box{margin-top:16px}
.box h2{font-size:18px;margin:0;padding:12px 20px;background:var(--gray-50);border-bottom:1px solid var(--gray-420);line-height:1.5}
.box dl{margin:0}
.box dl div{display:grid;grid-template-columns:6em 1fr;gap:12px;padding:12px 20px;border-bottom:1px solid var(--gray-200)}
.box dl div:last-child{border-bottom:0}
.box dt{font-weight:700;color:var(--gray-700)}
.box dd{margin:0;overflow-wrap:anywhere}
.box .none{color:var(--gray-536)}
.box .links{padding:16px 20px;display:grid;gap:8px}
.box .links .btn{justify-content:space-between}
.box .note{margin:0;padding:0 20px 16px;color:var(--gray-700)}
.cover{border-radius:12px;overflow:hidden;aspect-ratio:16/9;background:var(--gray-50);margin-bottom:32px}
.cover img{width:100%;height:100%;object-fit:cover}
.prose h2{font-size:24px;line-height:1.5;margin:40px 0 16px;padding-bottom:8px;border-bottom:2px solid var(--blue-900)}
.prose > :first-child{margin-top:0}
.prose p{margin:0 0 16px}
.message{padding:20px;border-radius:12px;background:var(--yellow-50);border:1px solid var(--yellow-900)}
.back{margin-top:40px}

/* フッター */
footer{background:var(--gray-50);border-top:1px solid var(--gray-420);padding:32px 0 48px}
footer .wrap{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}
footer ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 20px}
footer li a{display:inline-flex;align-items:center;min-height:44px}
