:root {
  /* 旧サイトと同じ色定義。明るい緑は面・線、濃い緑は文字に使用。 */
  --green: hsl(156, 70%, 50%);
  --light: hsl(156, 80%, 70%);
  --dark: hsl(156, 50%, 20%);
  --ink: hsl(156, 40%, 10%);
  --muted: hsl(156, 10%, 35%);
  --pale: hsl(156, 25%, 96%);
  --line: hsl(156, 15%, 86%);
  --content-width: 960px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; font-size: 16px; font-weight: 500; line-height: 1.9; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, h4, h5, h6 { font-family: inherit; font-weight: 700; color: var(--dark); line-height: 1.6; }
a { color: var(--dark); text-underline-offset: 5px; }
a:hover { color: var(--ink); }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid #875b0a; outline-offset: 6px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
.container { width: min(var(--content-width), 90%); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; left: 15px; top: -100px; background: #fff; padding: 8px 15px; }
.skip-link:focus { top: 10px; }
.main-visual { position: relative; isolation: isolate; min-height: 640px; min-height: clamp(580px, 100svh, 960px); display: grid; place-items: center; overflow: hidden; background: var(--light); }
.main-visual-photo { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.main-visual::before, .main-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.main-visual::before { z-index: 1; background: hsl(156, 45%, 45%); mix-blend-mode: overlay; }
.main-visual::after { z-index: 2; background: linear-gradient(to bottom, hsla(156, 80%, 70%, .45), hsla(156, 80%, 70%, .7)); }
.main-visual-title, .main-visual-center, .main-visual-nav { position: relative; z-index: 3; }
.main-visual-title { position: absolute; top: 28px; left: 4%; color: var(--ink); }
.main-visual-title p { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.4; }
.main-visual-title h1 { color: var(--ink); font-size: 22px; margin: 2px 0 0; }
.main-visual-center { padding: 155px 20px 170px; text-align: center; width: 100%; }
.main-visual-logo { font-family: "Righteous", sans-serif; font-size: clamp(100px, 12vw, 172px); font-weight: 400; letter-spacing: normal; line-height: 1.1; margin: 0 0 8px; }
.main-visual-english { font-family: "Righteous", sans-serif; font-weight: 400; font-size: clamp(18px, 2.2vw, 28px); letter-spacing: normal; margin-bottom: 24px; }
.main-visual-nav { position: absolute; bottom: 55px; display: flex; justify-content: center; gap: 40px; }
.main-visual-nav a { min-width: 105px; text-align: center; padding: 8px 15px; border-bottom: 2px solid var(--dark); text-decoration: none; font-size: 18px; font-weight: 600; }
.main-visual-nav a:hover { background: hsla(156, 80%, 95%, .45); }
.main-visual-nav a[aria-current="page"] { border-bottom-width: 4px; }
.home-content { padding-block: 65px 75px; }
.section-heading { margin-bottom: 25px; }
.section-heading h2 { font-size: 25px; margin: 3px 0 0; }
.about-section { margin-bottom: 55px; }
.about-section h3 { font-size: 18px; font-weight: 700; margin-bottom: 17px; }
.about-section > p { color: var(--muted); margin-bottom: 0; white-space: pre-line; }
.research-list { display: grid; gap: 20px; }
.news-section { margin-bottom: 55px; }
.news-page { padding-block: 50px 70px; }
.news-year + .news-year { margin-top: 40px; }
.news-more { margin: 18px 0 0; text-align: right; }
.news-back { margin: 35px 0 0; }
.news-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.news-item time { color: var(--muted); font-size: 14px; }
.news-text { overflow-wrap: anywhere; }
.news-empty { color: var(--muted); margin-bottom: 0; }
.research-row { display: grid; grid-template-columns: 55% 45%; min-height: 195px; background: var(--pale); border-radius: 5px; overflow: hidden; }
.research-copy { align-self: center; padding: 28px 30px; }
.research-copy h3 { margin-bottom: 12px; font-size: 21px; }
.research-copy p { margin: 0; font-size: 14px; color: var(--muted); }
.research-image { padding: 18px 25px; display: grid; place-items: center; background: linear-gradient(90deg, var(--pale), #fff); }
.research-image img { width: 100%; height: 170px; object-fit: contain; }
.site-header { position: sticky; z-index: 5; top: 0; background: var(--green); box-shadow: 0 1px 0 hsla(156, 50%, 20%, .15); }
.header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; min-height: 65px; }
.brand { font-family: "Righteous", sans-serif; font-size: 33px; font-weight: 400; letter-spacing: normal; line-height: 1; text-decoration: none; }
.header-nav { display: flex; align-self: stretch; gap: 12px; }
.header-nav a { display: flex; align-items: center; padding: 12px 20px; text-decoration: none; font-size: 14px; border-bottom: 3px solid transparent; }
.header-nav a[aria-current="page"] { border-bottom-color: var(--dark); background: hsla(156, 80%, 95%, .25); }
.header-nav a:hover { background: var(--light); }
.menu-toggle { border: 1px solid var(--dark); color: var(--dark); border-radius: 3px; padding: 5px 10px; background: transparent; font-size: 12px; }
.members-page { padding-block: 50px 70px; }
.page-title { border-bottom: 1px solid var(--line); padding-bottom: 28px; margin-bottom: 35px; }
.page-title h1 { font-size: 30px; margin-bottom: 8px; }
.member-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 36px; align-items: start; }
.member-group h2 { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 3px solid var(--green); font-size: 20px; }
.group-count { color: var(--muted); font-size: 11px; font-weight: 400; white-space: nowrap; }
.member-list { list-style: none; padding: 0; margin: 0; }
.member-card { border-bottom: 1px solid var(--line); padding: 10px 0; }
.member-name { font-size: 17px; font-weight: 600; }
a.member-name { text-decoration: none; }
a.member-name:hover { text-decoration: underline; }
.profile-arrow { font-size: 13px; font-weight: 400; }
.member-english { display: block; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.member-group-wide { grid-column: span 2; }
.member-group-wide .member-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
.site-footer { background: var(--pale); border-top: 1px solid var(--line); padding-top: 35px; }
.footer-inner { display: flex; align-items: center; gap: 40px; padding-bottom: 28px; }
.footer-brand { font-family: "Righteous", sans-serif; font-size: 52px; font-weight: 400; letter-spacing: normal; text-decoration: none; }
.footer-info { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 30px; font-size: 12px; }
.footer-info p { margin: 0; }
.footer-info strong { font-size: 15px; }
address { font-style: normal; }
.copyright { border-top: 1px solid var(--line); padding-block: 15px; font-size: 12px; color: var(--muted); }
@media (max-width: 800px) {
  .member-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .member-group-wide { grid-column: auto; }
  .member-group-wide .member-list { display: block; }
  .footer-info { display: block; }
  .footer-info address { margin-top: 12px; }
}
@media (max-width: 640px) {
  .main-visual { min-height: 650px; min-height: max(600px, 100svh); }
  .main-visual-title { top: 22px; left: 5%; right: 5%; }
  .main-visual-title p { font-size: 18px; }
  .main-visual-title h1 { font-size: 19px; }
  .main-visual-center { padding: 140px 20px 150px; }
  .main-visual-logo { font-size: 110px; }
  .main-visual-english { font-size: 18px; max-width: 360px; margin-inline: auto; line-height: 1.6; }
  .main-visual-nav { bottom: 45px; gap: 24px; }
  .main-visual-nav a { font-size: 16px; min-width: 90px; }
  .home-content { padding-block: 40px 50px; }
  .about-section { margin-bottom: 38px; }
  .news-section { margin-bottom: 38px; }
  .news-page { padding-block: 30px 45px; }
  .news-item { grid-template-columns: 1fr; gap: 4px; }
  .about-section > p { font-size: 14px; }
  .section-heading { margin-bottom: 20px; }
  .section-heading h2 { font-size: 23px; }
  .research-row { grid-template-columns: 1fr; }
  .research-copy { padding: 22px 24px 10px; }
  .research-copy h3 { font-size: 19px; }
  .research-image { background: var(--pale); padding: 15px 24px 24px; }
  .research-image img { height: 160px; }
  .header-inner { min-height: 58px; }
  .brand { font-size: 29px; }
  .header-nav { width: 100%; flex-basis: 100%; gap: 0; padding-bottom: 10px; }
  .header-nav a { flex: 1; justify-content: center; padding: 9px 15px; }
  .members-page { padding-block: 30px 45px; }
  .page-title { padding-bottom: 22px; margin-bottom: 25px; }
  .page-title h1 { font-size: 26px; }
  .member-groups { grid-template-columns: 1fr; gap: 28px; }
  .member-group h2 { font-size: 20px; }
  .member-list, .member-group-wide .member-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
  .member-name { font-size: 16px; }
  .member-english { font-size: 11px; }
  .footer-inner { gap: 24px; align-items: flex-start; }
  .footer-brand { font-size: 40px; }
  .footer-info { font-size: 11px; }
  .footer-info strong { font-size: 13px; }
  .copyright { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
