:root {
  --navy: #18243b;
  --navy-soft: #24334f;
  --ink: #1f2937;
  --muted: #657083;
  --paper: #f5f2eb;
  --white: #ffffff;
  --line: #dcd8ce;
  --orange: #f05b2a;
  --orange-dark: #c63f17;
  --yellow: #f4c95d;
  --mint: #92cfc2;
  --blue: #6f9ec9;
  --shadow: 0 22px 60px rgba(24, 36, 59, 0.14);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 38px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 242, 235, 0.92);
  border-bottom: 1px solid rgba(24, 36, 59, 0.08);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 86px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.3; }
.brand-copy strong { font-size: 15px; letter-spacing: .04em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 8px; letter-spacing: .12em; }
.desktop-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.desktop-nav a { position: relative; color: #3e4756; font-size: 13px; font-weight: 700; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--orange); transition: right .2s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 13px 25px;
  color: var(--white);
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 999px;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--orange-dark); box-shadow: 0 12px 28px rgba(240, 91, 42, .24); }
.button-small { min-height: 42px; padding: 9px 18px; font-size: 13px; }
.button-header { margin-left: 4px; white-space: nowrap; }
.button-dark { background: var(--navy); border-color: var(--navy); }
.button-dark:hover { background: #0f192a; box-shadow: 0 12px 28px rgba(24, 36, 59, .2); }
.button-light { color: var(--navy); background: var(--white); border-color: var(--white); }
.button-light:hover { color: var(--white); background: transparent; box-shadow: none; }
.button-secondary { color: var(--navy); background: var(--white); border-color: var(--navy); }
.button-secondary:hover { color: var(--white); background: var(--navy); box-shadow: 0 12px 28px rgba(24, 36, 59, .18); }
.button-full { width: 100%; }
.button-outline { color: var(--navy); background: transparent; border-color: rgba(24, 36, 59, .25); }
.button-outline:hover { color: var(--white); background: var(--navy); }

.mobile-menu { display: none; margin-left: auto; }
.mobile-menu summary { list-style: none; width: 42px; height: 42px; display: grid; align-content: center; gap: 5px; padding: 10px; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { height: 2px; background: var(--navy); border-radius: 2px; }
.mobile-menu nav { position: absolute; top: 76px; left: 20px; right: 20px; padding: 20px; display: grid; gap: 4px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.mobile-menu nav a { padding: 12px 14px; font-weight: 700; border-radius: 10px; }
.mobile-menu nav a:hover { background: var(--paper); }
.mobile-menu nav .mobile-login { margin-top: 8px; text-align: center; color: var(--white); background: var(--orange); }

.hero { overflow: hidden; padding: 92px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 64px; min-height: 570px; }
.eyebrow, .section-kicker { margin: 0 0 16px; color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.hero h1 { margin: 0; color: var(--navy); font-size: clamp(48px, 6.2vw, 82px); line-height: 1.08; letter-spacing: -.055em; }
.hero-lead { max-width: 610px; margin: 28px 0 0; color: #4c5565; font-size: 18px; line-height: 2; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.text-link { font-size: 14px; font-weight: 800; }
.text-link span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }

.hero-visual { position: relative; min-height: 500px; }
.hero-visual::before { content: ""; position: absolute; inset: 34px 26px 46px 36px; background: var(--navy); border-radius: 44% 56% 39% 61% / 44% 44% 56% 56%; transform: rotate(-5deg); }
.hero-card { position: absolute; z-index: 3; color: var(--navy); background: rgba(255,255,255,.92); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.hero-card-main { left: 84px; right: 50px; top: 112px; padding: 42px; border-radius: 12px 54px 12px 54px; transform: rotate(2deg); }
.hero-card-label, .card-label, .process-label { color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.hero-card strong { display: block; margin: 10px 0 12px; font-size: 31px; line-height: 1.35; }
.hero-card p { margin: 0; color: #5c6575; }
.shape { position: absolute; z-index: 2; border-radius: 50%; }
.shape-one { width: 115px; height: 115px; top: 17px; right: 26px; background: var(--orange); }
.shape-two { width: 82px; height: 82px; bottom: 24px; left: 24px; background: var(--yellow); }
.shape-three { width: 42px; height: 42px; bottom: 82px; right: 14px; background: var(--mint); }
.mini-card { position: absolute; z-index: 4; display: flex; align-items: baseline; gap: 8px; padding: 14px 18px; color: var(--navy); background: var(--white); border-radius: 14px; box-shadow: 0 12px 30px rgba(24,36,59,.18); font-size: 12px; font-weight: 800; }
.mini-card span { font-size: 26px; }
.mini-card-one { left: 11px; top: 69px; transform: rotate(-5deg); }
.mini-card-two { right: 9px; bottom: 74px; transform: rotate(4deg); }

.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quick-links a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; min-height: 102px; padding: 18px 28px; border-right: 1px solid var(--line); }
.quick-links a:last-child { border-right: 0; }
.quick-links a:hover { background: rgba(255,255,255,.55); }
.quick-number { color: var(--orange); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.quick-links strong { font-size: 15px; }

.section { padding: 120px 0; }
.section-light { background: var(--white); }
.section-dark { color: var(--white); background: var(--navy); }
.section-accent { background: var(--orange); }
.split-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; }
.section h2 { margin: 0; color: var(--navy); font-size: clamp(34px, 4.2vw, 56px); line-height: 1.25; letter-spacing: -.04em; }
.body-large { max-width: 730px; }
.body-large > p { margin: 0 0 20px; font-size: 20px; line-height: 2; }
.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.fact-row div { display: flex; flex-direction: column; }
.fact-row strong { color: var(--navy); font-size: 21px; }
.fact-row span { color: var(--muted); font-size: 12px; }
.section-heading { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 60px; margin-bottom: 58px; }
.section-heading > p { margin: 0; color: var(--muted); }
.heading-on-dark h2, .heading-on-accent h2 { color: var(--white); }
.heading-on-dark > p { color: #c7cfdb; }
.heading-on-accent .section-kicker { color: #5c1d09; }
.heading-on-accent > p { color: #4d1d0d; }

.organization-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.organization-card { min-height: 330px; display: grid; grid-template-columns: auto 1fr; gap: 32px; padding: 44px; background: var(--navy); transition: background .2s ease; }
.organization-card:hover { background: var(--navy-soft); }
.organization-card-featured { background: var(--white); color: var(--ink); }
.organization-card-featured:hover { background: #f8f6f1; }
.card-index { color: var(--orange); font-size: 13px; font-weight: 900; }
.organization-card h3 { margin: 12px 0 18px; font-size: 27px; line-height: 1.45; }
.organization-card p { margin: 0; color: #c3ccda; }
.organization-card-featured p { color: var(--muted); }
.organization-card a { display: inline-block; margin-top: 28px; color: var(--orange); font-weight: 800; }

.roles-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.roles-grid article { min-height: 260px; padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.35); transition: transform .2s ease, background .2s ease; }
.roles-grid article:hover { position: relative; transform: translateY(-6px); background: var(--white); box-shadow: var(--shadow); }
.roles-grid span { color: var(--orange); font-size: 11px; font-weight: 900; }
.roles-grid h3 { margin: 42px 0 12px; color: var(--navy); font-size: 22px; }
.roles-grid p { margin: 0; color: var(--muted); font-size: 13px; }

.process-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); }
.process-list li { min-height: 300px; padding: 34px 30px 38px; border-right: 1px solid rgba(255,255,255,.35); }
.process-list li:last-child { border-right: 0; }
.process-number { display: inline-grid; place-items: center; width: 46px; height: 46px; color: var(--orange); background: var(--white); border-radius: 50%; font-size: 12px; font-weight: 900; }
.process-list div { margin-top: 58px; }
.process-label { color: #5c1d09; }
.process-list h3 { margin: 7px 0 14px; color: var(--white); font-size: 21px; line-height: 1.5; }
.process-list p:last-child { margin: 0; color: #4d1d0d; font-size: 13px; }
.membership-note { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 44px; padding: 28px 32px; background: rgba(255,255,255,.16); border-radius: var(--radius-sm); }
.membership-note strong { color: var(--white); font-size: 18px; }
.membership-note p { margin: 4px 0 0; color: #4d1d0d; }

.activity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.activity-card { overflow: hidden; background: var(--white); border-radius: var(--radius); box-shadow: 0 10px 35px rgba(24,36,59,.08); }
.activity-card-large { grid-row: span 2; }
.activity-art { min-height: 235px; position: relative; display: grid; place-items: center; overflow: hidden; }
.activity-card-large .activity-art { min-height: 520px; }
.activity-art::before, .activity-art::after { content: ""; position: absolute; border-radius: 50%; }
.activity-art span { position: relative; z-index: 2; color: rgba(255,255,255,.82); font-size: clamp(28px, 5vw, 62px); font-weight: 900; letter-spacing: .08em; transform: rotate(-8deg); }
.art-stage { background: var(--navy); }
.art-stage::before { width: 350px; height: 350px; background: var(--orange); top: 70px; left: -80px; }
.art-stage::after { width: 190px; height: 190px; background: var(--yellow); right: -30px; bottom: 30px; }
.art-market { background: var(--mint); }
.art-market::before { width: 200px; height: 200px; border: 38px solid var(--white); left: -60px; top: -38px; }
.art-market::after { width: 120px; height: 120px; background: var(--orange); right: 34px; bottom: -30px; }
.art-support { background: var(--blue); }
.art-support::before { width: 230px; height: 230px; background: var(--navy); right: -55px; top: -40px; }
.art-support::after { width: 100px; height: 100px; background: var(--yellow); left: 50px; bottom: 20px; }
.activity-content { padding: 27px 30px 30px; }
.activity-content p { margin: 0; color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.activity-content h3 { margin: 5px 0 4px; color: var(--navy); font-size: 24px; }
.activity-content span { color: var(--muted); font-size: 13px; }

.student-cta { color: var(--white); background: var(--navy); }
.student-cta-inner { min-height: 330px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.student-cta h2 { margin: 0; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.3; letter-spacing: -.04em; }
.student-cta p:not(.section-kicker) { margin: 16px 0 0; color: #c4ccda; }

.site-footer { padding: 70px 0 36px; color: #d0d7e3; background: #0f192a; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .8fr; gap: 80px; }
.brand-footer .brand-mark { color: var(--navy); background: var(--white); }
.brand-footer .brand-copy strong { color: var(--white); }
.brand-footer .brand-copy small { color: #8995a8; }
.footer-note { max-width: 500px; margin: 28px 0 0; color: #8995a8; font-size: 12px; }
.site-footer nav, .footer-meta { display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.site-footer a:hover { color: var(--white); }
.footer-meta p { margin-top: auto; color: #6f7b8e; font-size: 10px; }

/* Login */
.auth-page { min-height: 100vh; color: var(--ink); background: var(--navy); }
.auth-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.auth-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.back-link { font-size: 13px; font-weight: 800; }
.auth-main { padding: 72px 20px 90px; }
.auth-shell { width: min(1080px, 100%); margin: 0 auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.auth-intro { padding-top: 42px; color: var(--white); }
.auth-intro h1 { margin: 0; font-size: clamp(42px, 5vw, 66px); line-height: 1.2; letter-spacing: -.04em; }
.auth-intro > p:not(.section-kicker) { margin-top: 24px; color: #c2cad7; }
.auth-points { margin: 45px 0 0; padding: 0; list-style: none; display: grid; gap: 17px; }
.auth-points li { display: flex; align-items: center; gap: 14px; color: #dbe1ea; font-weight: 700; }
.auth-points span { display: grid; place-items: center; width: 34px; height: 34px; color: var(--navy); background: var(--yellow); border-radius: 50%; font-size: 10px; }
.auth-card { padding: 38px; background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 30px 70px rgba(0,0,0,.25); }
.status-notice { padding: 17px 19px; margin-bottom: 28px; border-radius: var(--radius-sm); }
.status-warning { color: #6d4700; background: #fff2c6; border: 1px solid #efd27a; }
.status-notice strong { font-size: 13px; }
.status-notice p { margin: 3px 0 0; font-size: 12px; line-height: 1.65; }
.form-heading { margin-bottom: 22px; }
.form-heading span { color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.form-heading h2 { margin: 4px 0 0; color: var(--navy); font-size: 25px; }
.auth-form label { display: block; margin-bottom: 8px; color: var(--navy); font-size: 13px; font-weight: 800; }
.auth-form input { width: 100%; min-height: 57px; padding: 13px 16px; color: var(--ink); background: #faf9f6; border: 1px solid #d8d4ca; border-radius: 12px; outline: none; }
.auth-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(240,91,42,.12); }
.email-field { position: relative; }
.field-help { margin: 8px 0 20px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.otp-input { text-align: center; font-size: 28px !important; font-weight: 900; letter-spacing: .35em; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 34px 0; color: #8b93a1; font-size: 10px; font-weight: 800; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-security { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.auth-security strong { color: var(--navy); font-size: 12px; }
.auth-security p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.auth-footer { padding: 25px 0; color: #8290a4; background: #0f192a; text-align: center; font-size: 10px; }

/* Student portal */
.portal-page { background: #f1f3f6; }
.portal-header { background: var(--white); border-bottom: 1px solid #dfe3e9; }
.portal-header .header-inner { min-height: 80px; }
.portal-nav { display: flex; gap: 26px; margin-left: auto; }
.portal-nav a { color: #4b5565; font-size: 13px; font-weight: 700; }
.portal-hero { padding: 72px 0; color: var(--white); background: var(--navy); }
.portal-hero-inner { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.portal-hero h1 { margin: 0; font-size: clamp(42px, 5vw, 64px); line-height: 1.2; letter-spacing: -.04em; }
.portal-hero p:not(.section-kicker) { margin: 12px 0 0; color: #c7cfdb; }
.login-state { display: flex; align-items: center; gap: 12px; min-width: 260px; padding: 16px 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 14px; }
.state-dot { width: 9px; height: 9px; background: #63d28b; border-radius: 50%; box-shadow: 0 0 0 5px rgba(99,210,139,.12); }
.login-state div { display: flex; flex-direction: column; }
.login-state small { color: #9ba8ba; font-size: 9px; }
.login-state strong { font-size: 12px; }
.portal-content { padding: 60px 0 100px; }
.portal-layout { display: grid; grid-template-columns: 1fr 330px; gap: 34px; align-items: start; }
.portal-main-column { display: grid; gap: 34px; }
.portal-section, .sidebar-card { padding: 32px; background: var(--white); border: 1px solid #e0e4ea; border-radius: 20px; box-shadow: 0 8px 25px rgba(24,36,59,.05); }
.portal-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.portal-section-heading .section-kicker, .sidebar-card .section-kicker { margin-bottom: 6px; }
.portal-section-heading h2, .sidebar-card h2 { margin: 0; color: var(--navy); font-size: 25px; }
.portal-section-heading > a { color: var(--orange); font-size: 11px; font-weight: 800; }
.notice-list { border-top: 1px solid #e2e5ea; }
.notice-list article { display: grid; grid-template-columns: 90px 55px 1fr; align-items: center; gap: 15px; padding: 18px 0; border-bottom: 1px solid #e2e5ea; }
.notice-list time { color: var(--muted); font-size: 11px; }
.notice-list a { font-size: 13px; font-weight: 700; }
.tag { display: inline-block; padding: 4px 7px; text-align: center; color: var(--navy); background: #edf0f4; border-radius: 5px; font-size: 9px; font-weight: 800; }
.tag-important { color: var(--orange-dark); background: #ffebe3; }
.document-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.document-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 18px; border: 1px solid #e0e4ea; border-radius: 14px; transition: border .18s ease, transform .18s ease; }
.document-card:hover { transform: translateY(-2px); border-color: var(--orange); }
.document-icon { display: grid; place-items: center; width: 46px; height: 46px; color: var(--white); background: var(--navy); border-radius: 10px; font-size: 9px; font-weight: 900; }
.document-card div { display: flex; flex-direction: column; }
.document-card strong { font-size: 13px; }
.document-card small { color: var(--muted); font-size: 10px; }
.portal-sidebar { position: sticky; top: 100px; }
.schedule-list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 20px; }
.schedule-list li { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; }
.schedule-list time { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 54px; height: 62px; color: var(--white); background: var(--orange); border-radius: 10px; line-height: 1.1; }
.schedule-list time strong { font-size: 20px; }
.schedule-list time span { margin-top: 4px; font-size: 8px; font-weight: 900; }
.schedule-list div { display: flex; flex-direction: column; }
.schedule-list strong { color: var(--navy); font-size: 12px; }
.schedule-list small { color: var(--muted); font-size: 9px; }
.sidebar-note { margin: 28px 0 0; padding-top: 20px; color: var(--muted); border-top: 1px solid #e2e5ea; font-size: 10px; }
.portal-footer { padding: 30px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; color: #8590a2; font-size: 10px; }
.footer-bottom p { margin: 0; }

@media (max-width: 1050px) {
  .desktop-nav, .button-header { display: none; }
  .mobile-menu { display: block; }
  .hero-grid { gap: 30px; }
  .hero-card-main { left: 45px; right: 32px; }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list li:nth-child(2) { border-right: 0; }
  .process-list li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.35); }
  .footer-grid { grid-template-columns: 1.4fr .7fr; }
  .footer-meta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .footer-meta p { margin: 0 0 0 auto; }
  .portal-nav { display: none; }
}

@media (max-width: 820px) {
  .hero { padding-top: 60px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 430px; }
  .quick-links { grid-template-columns: 1fr; }
  .quick-links a { min-height: 78px; border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-links a:last-child { border-bottom: 0; }
  .section { padding: 88px 0; }
  .split-layout, .section-heading { grid-template-columns: 1fr; gap: 28px; }
  .organization-grid { grid-template-columns: 1fr; }
  .organization-card { min-height: auto; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.35); }
  .process-list li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.35); }
  .process-list li:last-child { border-bottom: 0; }
  .process-list div { margin-top: 30px; }
  .activity-grid { grid-template-columns: 1fr; }
  .activity-card-large { grid-row: auto; }
  .activity-card-large .activity-art { min-height: 330px; }
  .student-cta-inner { min-height: 360px; flex-direction: column; justify-content: center; align-items: flex-start; }
  .auth-shell { grid-template-columns: 1fr; gap: 38px; }
  .auth-intro { padding-top: 0; text-align: center; }
  .auth-points { max-width: 410px; margin-inline: auto; text-align: left; }
  .portal-hero-inner { flex-direction: column; align-items: flex-start; }
  .portal-layout { grid-template-columns: 1fr; }
  .portal-sidebar { position: static; }
}

@media (max-width: 610px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 72px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 12px; }
  .brand-copy small { font-size: 6px; }
  .hero h1 { font-size: 45px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { flex-direction: column; gap: 16px; }
  .hero-visual { min-height: 365px; }
  .hero-visual::before { inset: 25px 15px 35px 15px; }
  .hero-card-main { left: 28px; right: 25px; top: 93px; padding: 28px; }
  .hero-card strong { font-size: 23px; }
  .mini-card { padding: 10px 12px; font-size: 9px; }
  .mini-card span { font-size: 20px; }
  .mini-card-one { left: 5px; top: 54px; }
  .mini-card-two { right: 4px; bottom: 54px; }
  .shape-one { width: 80px; height: 80px; }
  .shape-two { width: 58px; height: 58px; }
  .fact-row { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .roles-grid article { min-height: auto; }
  .organization-card { grid-template-columns: 1fr; gap: 18px; padding: 30px; }
  .membership-note { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-meta { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .footer-meta p { margin: 12px 0 0; }
  .auth-header-inner .brand-copy small { display: none; }
  .back-link { font-size: 11px; }
  .auth-main { padding-inline: 14px; }
  .auth-card { padding: 27px 22px; border-radius: 25px; }
  .otp-input { letter-spacing: .24em; }
  .portal-header form { margin-left: auto; }
  .portal-header .brand-copy { display: none; }
  .document-grid { grid-template-columns: 1fr; }
  .notice-list article { grid-template-columns: 72px 48px 1fr; gap: 9px; }
  .notice-list a { font-size: 11px; }
  .portal-section, .sidebar-card { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/* ============================================================
   追加: 公開ページの「お知らせ」「行事予定」(スプレッドシート連携)
   ============================================================ */
.notice-list .news-empty { padding: 22px 0; color: var(--muted); font-size: 13px; }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.event-card { display: grid; grid-template-columns: 62px 1fr; gap: 16px; align-items: center; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: 0 8px 25px rgba(24,36,59,.05); }
.event-card .event-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 62px; height: 70px; color: var(--white); background: var(--orange); border-radius: 10px; line-height: 1.1; }
.event-card .event-date strong { font-size: 22px; }
.event-card .event-date span { margin-top: 3px; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.event-card .event-body { display: flex; flex-direction: column; }
.event-card .event-body strong { color: var(--navy); font-size: 15px; }
.event-card .event-body small { margin-top: 4px; color: var(--muted); font-size: 12px; }
@media (max-width: 820px){ .event-grid { grid-template-columns: 1fr; } }
