:root {
  --ink: #172130;
  --ink-soft: #4b5764;
  --paper: #f7f4ed;
  --white: #fffefb;
  --navy: #14354f;
  --navy-deep: #0d293e;
  --gold: #b88a3b;
  --gold-light: #d7b46f;
  --line: #d8d4ca;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.8; }
a { color: inherit; text-decoration: none; }

.site-header { align-items: center; background: color-mix(in srgb, var(--paper) 94%, transparent); border-bottom: 1px solid rgba(23, 33, 48, .12); display: flex; height: 88px; justify-content: space-between; padding: 0 clamp(24px, 5vw, 80px); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); }
.brand { align-items: center; display: flex; gap: 13px; }
.brand-mark { align-items: center; background: var(--navy); color: var(--white); display: inline-flex; font-family: Georgia, serif; font-size: 22px; height: 42px; justify-content: center; width: 42px; }
.brand strong { display: block; font-family: var(--serif); font-size: 17px; letter-spacing: .08em; line-height: 1.3; }
.brand small { color: var(--ink-soft); display: block; font-family: Georgia, serif; font-size: 10px; letter-spacing: .08em; line-height: 1.5; }
nav { display: flex; gap: clamp(18px, 2.5vw, 38px); }
nav a { font-size: 13px; font-weight: 600; letter-spacing: .04em; position: relative; }
nav a::after { background: var(--gold); bottom: -8px; content: ""; height: 1px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; width: 100%; }
nav a:hover::after, nav a:focus-visible::after { transform: scaleX(1); }

.hero { display: grid; gap: clamp(50px, 7vw, 110px); grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); min-height: calc(100vh - 88px); overflow: hidden; padding: clamp(80px, 10vw, 150px) clamp(24px, 7vw, 112px) 100px; position: relative; }
.hero::before { background: var(--gold); content: ""; height: 1px; left: 0; opacity: .55; position: absolute; top: 28%; width: 4vw; }
.hero-copy { align-self: center; max-width: 820px; }
.lab-alias { border-left: 3px solid var(--gold); color: var(--navy); font-family: var(--serif); font-size: 16px; font-weight: 600; letter-spacing: .08em; margin: 0 0 13px; padding-left: 13px; }
.eyebrow, .section-label, .panel-kicker { color: var(--gold); font-family: Georgia, serif; font-size: 12px; font-weight: 700; letter-spacing: .18em; margin: 0 0 22px; }
.hero h1 { font-family: var(--serif); font-size: clamp(40px, 4.2vw, 60px); font-weight: 500; letter-spacing: -.035em; line-height: 1.38; margin: 0; }
.hero-title-line { display: block; white-space: nowrap; }
.hero-title-focus { color: var(--navy); position: relative; width: fit-content; }
.hero-title-focus::after { background: var(--gold-light); bottom: 5px; content: ""; height: 7px; left: 0; opacity: .35; position: absolute; width: 100%; z-index: -1; }
.hero-lead { color: var(--ink-soft); font-size: 17px; line-height: 2.05; margin: 38px 0 0; max-width: 700px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.button { align-items: center; border: 1px solid var(--navy); display: inline-flex; font-size: 14px; font-weight: 700; gap: 12px; justify-content: center; min-height: 54px; padding: 0 24px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: var(--white); }
.button-primary:hover { background: var(--navy-deep); }
.button-secondary { background: transparent; color: var(--navy); }
.button-secondary:hover { background: rgba(20, 53, 79, .07); }

.hero-panel { align-self: center; aspect-ratio: 1; border: 1px solid rgba(20, 53, 79, .2); border-radius: 50%; max-width: 570px; position: relative; width: 100%; }
.hero-panel::before, .hero-panel::after { content: ""; left: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%); }
.hero-panel::before { border-left: 1px solid rgba(20, 53, 79, .13); height: 112%; }
.hero-panel::after { border-top: 1px solid rgba(20, 53, 79, .13); width: 112%; }
.orbit { border: 1px solid rgba(184, 138, 59, .35); border-radius: 50%; left: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%); }
.orbit-one { height: 66%; width: 66%; }
.orbit-two { height: 36%; width: 36%; }
.concept { align-items: center; background: var(--paper); border: 1px solid rgba(20, 53, 79, .22); border-radius: 50%; display: flex; font-family: var(--serif); justify-content: center; position: absolute; z-index: 2; }
.concept-focus { background: var(--navy); border: none; color: var(--white); font-size: 16px; height: 26%; top: 50%; transform: translate(-50%, -50%); width: 26%; }
.concept-emotion { left: 36%; }
.concept-motivation { left: 64%; }
.concept-perspective { font-size: 14px; height: 20%; width: 20%; }
.concept-development { left: 40%; top: 7%; }
.concept-relationship { bottom: 11%; right: 11%; }
.concept-regulation { bottom: 11%; left: 11%; }

.section { margin: 0 auto; max-width: 1440px; padding: 110px clamp(24px, 7vw, 112px); }
.intro { align-items: start; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; gap: 50px; grid-template-columns: 220px 1fr; }
.intro h2 { font-family: var(--serif); font-size: clamp(30px, 3.5vw, 48px); font-weight: 500; line-height: 1.55; margin: 0; max-width: 860px; }
.intro div > p { color: var(--ink-soft); font-size: 16px; margin: 26px 0 0; max-width: 820px; }
.section-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 58px; }
.section-heading h2, .admissions-section h2, .contact-section h2 { font-family: var(--serif); font-size: clamp(36px, 4.2vw, 58px); font-weight: 500; line-height: 1.3; margin: 0; }
.section-heading > p { color: var(--ink-soft); margin: 0 0 5px; max-width: 480px; }
.research-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.research-card { border-left: 1px solid var(--line); border-top: 1px solid var(--line); min-height: 300px; padding: 42px 42px 48px; }
.research-card:nth-child(even) { border-right: 1px solid var(--line); }
.research-card:last-child { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); grid-column: 1 / -1; min-height: 230px; }
.research-card > span { color: var(--gold); font-family: Georgia, serif; font-size: 12px; letter-spacing: .15em; }
.research-card h3 { font-family: var(--serif); font-size: 27px; font-weight: 500; margin: 30px 0 15px; }
.research-card p { color: var(--ink-soft); margin: 0; }
.current-projects { background: var(--white); margin-top: 40px; padding: 46px clamp(28px, 5vw, 64px); }
.current-projects h3 { font-family: var(--serif); font-size: 27px; font-weight: 500; margin: 0 0 22px; }
.current-projects ul { margin: 0; padding-left: 1.2em; }
.current-projects li { margin: 9px 0; }
.current-projects li::marker { color: var(--gold); }

.home-members-section { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.subpage-hero { border-bottom: 1px solid var(--line); min-height: 360px; padding: 105px clamp(24px, 7vw, 112px) 80px; }
.subpage-hero h1 { font-family: var(--serif); font-size: clamp(46px, 6vw, 82px); font-weight: 500; letter-spacing: -.025em; line-height: 1.25; margin: 0; }
.profile-hero { position: relative; }
.profile-hero .title-en { font-size: 15px; margin: 12px 0 0; }
.back-link { border-bottom: 1px solid var(--navy); color: var(--navy); display: inline-block; font-size: 13px; font-weight: 700; margin-bottom: 54px; }
.members-table-section { padding-top: 72px; }
.table-wrap { overflow-x: auto; width: 100%; }
.members-table { border-collapse: collapse; min-width: 760px; width: 100%; }
.members-table th { background: rgba(20, 53, 79, .055); border-bottom: 1px solid var(--navy); color: var(--ink-soft); font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 18px 22px; text-align: left; }
.members-table td { border-bottom: 1px solid var(--line); padding: 28px 22px; white-space: normal; }
.members-table tr:hover { background: rgba(255, 254, 251, .55); }
.member-table-name { font-family: var(--serif); font-size: 23px; }
.table-detail-link { align-items: center; border-bottom: 1px solid var(--navy); color: var(--navy); display: inline-flex; font-size: 13px; font-weight: 700; gap: 14px; white-space: nowrap; }
.visually-hidden { height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; clip: rect(0 0 0 0); white-space: nowrap; }
.member-detail-section { display: grid; gap: 80px; grid-template-columns: .75fr 1.25fr; }
.member-name-block { border-left: 3px solid var(--gold); padding-left: 22px; }
.member-role { color: var(--ink-soft); font-size: 13px; font-weight: 700; letter-spacing: .08em; margin: 0 0 12px; }
.member-name-block h2 { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 46px); font-weight: 500; line-height: 1.3; margin: 0; }
.title-en { color: var(--gold); font-family: Georgia, serif; font-size: 14px; letter-spacing: .14em; margin-top: 10px; }
.member-details dl { margin: 0; }
.member-details dl > div { border-top: 1px solid var(--line); display: grid; gap: 30px; grid-template-columns: 150px 1fr; padding: 24px 0; }
.member-details dl > div:last-child { border-bottom: 1px solid var(--line); }
.member-details dt { color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.member-details dd { margin: 0; }
.profile-links { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 28px; }
.profile-links a { align-items: center; border-bottom: 1px solid var(--navy); color: var(--navy); display: inline-flex; font-size: 14px; font-weight: 700; gap: 24px; padding: 5px 0; }

.activity-layout { display: grid; gap: 34px; grid-template-columns: .8fr 1.2fr; }
.publication-panel { background: var(--navy); color: var(--white); min-height: 460px; padding: 48px; }
.publication-panel h3, .student-works h3, .seminar-note h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; margin: 0 0 24px; }
.publication-panel > p:not(.panel-kicker) { color: rgba(255, 255, 255, .75); }
.publication-panel .profile-links a { border-color: var(--gold-light); color: var(--white); }
.student-works { padding: 10px 0; }
.student-works > article { border-top: 1px solid var(--line); padding: 22px 0 25px; }
.student-works > article:last-child { border-bottom: 1px solid var(--line); }
.student-works article p { color: var(--ink-soft); font-size: 12px; margin: 0 0 8px; }
.student-works article p span { color: var(--gold); font-family: Georgia, serif; margin-right: 15px; }
.student-works h4 { font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.75; margin: 0; }
.seminar-note { align-items: center; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; gap: 40px; grid-template-columns: 1fr 1.5fr auto; margin-top: 70px; padding: 34px 0; }
.seminar-note h3, .seminar-note p { margin-bottom: 0; }
.seminar-note > p { color: var(--ink-soft); }

.admissions-section { background: var(--navy); color: var(--white); }
.admissions-inner { padding-bottom: 120px; padding-top: 120px; }
.section-label.light { color: var(--gold-light); }
.admissions-copy { display: grid; gap: 30px; grid-template-columns: .7fr 1.3fr; }
.admissions-copy .section-label { grid-column: 1 / -1; }
.admissions-lead { color: rgba(255, 255, 255, .78); font-size: 18px; margin: 0; }
.admissions-cards { display: grid; gap: 1px; grid-template-columns: repeat(2, 1fr); margin-top: 70px; }
.admissions-cards article { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); min-height: 300px; padding: 42px; }
.admissions-cards span { color: var(--gold-light); font-size: 13px; font-weight: 700; }
.admissions-cards h3 { font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.65; margin: 32px 0 0; }
.admissions-cards p { color: rgba(255, 255, 255, .68); font-size: 14px; margin: 20px 0 0; }
.admissions-note { border-left: 3px solid var(--gold-light); margin: 40px 0 0; padding: 5px 0 5px 22px; }

.contact-section { display: grid; gap: 80px; grid-template-columns: .7fr 1.3fr; }
.contact-section > div > p:last-child { color: var(--ink-soft); margin-top: 24px; }
address { display: grid; font-style: normal; gap: 0; }
address > div { border-top: 1px solid var(--line); display: grid; gap: 24px; grid-template-columns: 150px 1fr; padding: 23px 0; }
address > div:last-child { border-bottom: 1px solid var(--line); }
address span { color: var(--ink-soft); font-size: 13px; font-weight: 700; }
address p { margin: 0; }
address small { color: var(--ink-soft); }
address a { border-bottom: 1px solid var(--navy); color: var(--navy); font-weight: 700; }

footer { align-items: center; background: #eae5da; display: flex; justify-content: space-between; padding: 45px clamp(24px, 7vw, 112px); }
footer p { color: var(--ink-soft); font-family: Georgia, serif; font-size: 12px; }

@media (max-width: 980px) {
  .site-header { height: 76px; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 760px; }
  .hero-panel { justify-self: center; max-width: 480px; }
  .intro, .member-detail-section, .contact-section { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; gap: 22px; }
  .activity-layout { grid-template-columns: 1fr; }
  .publication-panel { min-height: auto; }
  .seminar-note { grid-template-columns: 1fr 1.5fr; }
  .seminar-note .button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 680px) {
  .site-header { padding: 0 18px; }
  .brand strong { font-size: 15px; }
  .hero { gap: 65px; padding: 70px 22px 80px; }
  .hero h1 { font-size: clamp(28px, 8vw, 44px); }
  .hero-lead { font-size: 15px; }
  .hero-actions .button { width: 100%; }
  .hero-panel { width: 92%; }
  .concept-focus { font-size: 12px; }
  .concept-perspective { font-size: 11px; }
  .section { padding: 82px 22px; }
  .subpage-hero { min-height: 300px; padding: 76px 22px 58px; }
  .members-table-section { padding-top: 52px; }
  .research-grid { grid-template-columns: 1fr; }
  .research-card, .research-card:nth-child(even), .research-card:last-child { border: 0; border-top: 1px solid var(--line); grid-column: auto; min-height: 0; padding: 34px 10px 38px; }
  .research-card:last-child { border-bottom: 1px solid var(--line); }
  .member-details dl > div, address > div { gap: 8px; grid-template-columns: 1fr; }
  .profile-links { align-items: start; flex-direction: column; }
  .publication-panel { padding: 36px 28px; }
  .seminar-note { grid-template-columns: 1fr; }
  .seminar-note .button { grid-column: auto; width: 100%; }
  .admissions-copy, .admissions-cards { grid-template-columns: 1fr; }
  .admissions-copy .section-label { grid-column: auto; }
  .admissions-cards article { min-height: 0; padding: 34px 26px; }
  footer { align-items: flex-start; flex-direction: column; gap: 25px; }
}

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