/* =========================================================
   Ikeda Notes - global stylesheet
   Palette / typography follow the original studio.site design.
   ========================================================= */

:root {
  --bg:        #111111;
  --panel:     #222222;
  --panel-t:   rgba(34, 34, 34, 0.48);
  --panel-e0:  rgba(34, 34, 34, 0.88);
  --white:     #ffffff;
  --muted:     #cccccc;
  --dim:       #666666;
  --hairline:  rgba(255, 255, 255, 0.4);
  --hairline-w:rgba(255, 255, 255, 0.14);

  --font-en:   'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --font-jp:   'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  /* The original uses Morisawa "フォーク R" (licensed).
     Zen Old Mincho is the free stand-in for the wordmark. */
  --font-logo: 'Zen Old Mincho', 'Yu Mincho', serif;

  --maxw:      1600px;
  --header-h:  80px;
  --pad-x:     40px;

  color-scheme: dark;
}

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

/* display を持つクラスより hidden 属性を優先させる */
[hidden] { display: none !important; }

/* 背景色は html に置き、body は透過させる。
   これで固定ヒーロー画像 (.hero-bg, z-index:-1) が
   半透明セクションの背後に見える。 */
html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--font-jp);
  font-feature-settings: 'palt' 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.material-icons, .material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal; font-style: normal;
  line-height: 1; letter-spacing: normal; text-transform: none;
  display: inline-block; white-space: nowrap; direction: ltr;
  -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'opsz' 24, 'wght' 200, 'FILL' 0, 'GRAD' 0;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------
   Reveal-on-scroll (matches the original blur/fade intro)
   --------------------------------------------------------- */
.reveal {
  opacity: 0;
  filter: blur(16px);
  transform: translateY(16px);
  transition: opacity .8s ease, filter .8s ease, transform .8s ease;
}
.reveal.is-visible { opacity: 1; filter: blur(0); transform: none; }
.reveal[data-delay="400"] { transition-delay: .4s; }
.reveal[data-delay="800"] { transition-delay: .8s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; filter: none; transform: none; transition: none; }
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  height: var(--header-h);
  padding: 0 var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  z-index: 20;
}

.site-logo {
  font-family: var(--font-logo);
  font-size: 28px; line-height: 1; letter-spacing: 0.16em;
  color: var(--white);
}

.site-nav { display: flex; align-items: center; gap: 24px; height: 100%; }

.nav-list { display: flex; flex-direction: row; gap: 32px; height: 100%; }
.nav-list a { display: flex; align-items: center; height: 100%; }
.nav-list a p {
  font-family: var(--font-en);
  font-size: 16px; font-weight: 500; line-height: 1;
  padding: 16px 0;
  color: var(--white);
  opacity: .78;
  transition: opacity .3s ease;
}
.nav-list a:hover p,
.nav-list a[aria-current="page"] p { opacity: 1; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  color: var(--white);
}
.nav-toggle .material-symbols-outlined { font-size: 28px; }

/* ---------------------------------------------------------
   Fullscreen menu
   --------------------------------------------------------- */
.menu-modal {
  position: fixed; inset: 0; z-index: 40;
  background: var(--panel-e0);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; flex-direction: column;
  padding: 0 var(--pad-x) 64px;
  opacity: 0; visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}
.menu-modal.is-open { opacity: 1; visibility: visible; }

.menu-modal__top {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  flex: none;
}
.menu-modal__close { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.menu-modal__close .material-symbols-outlined { font-size: 28px; }

.menu-modal__list {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  gap: 8px;
}
.menu-modal__list a {
  font-family: var(--font-en);
  font-size: clamp(32px, 9vw, 64px);
  font-weight: 500; line-height: 1.6;
  color: var(--white);
  transition: opacity .3s ease;
}
.menu-modal__list a:hover { opacity: .6; }

/* ---------------------------------------------------------
   Home - hero
   --------------------------------------------------------- */
.hero-bg {
  position: fixed; inset: 0 auto auto 0;
  width: 100%; height: 100vh;
  background: url('../img/hero.webp') center / cover no-repeat;
  z-index: -1;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0, 0, 0, .18);
}

.hero {
  position: relative;
  height: 100vh; width: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  align-items: flex-start;
  padding: 80px 120px 120px 96px;
  mix-blend-mode: color-dodge;
}

.hero__inner { display: flex; flex-direction: column; gap: 24px; width: 100%; }

.hero__lead {
  font-family: var(--font-en);
  font-size: 6vw; font-weight: 600; line-height: 1.1;
  color: var(--muted);
}
.hero__sub {
  font-family: var(--font-jp);
  font-size: 14px; font-weight: 500;
  letter-spacing: .05em; line-height: 2.2;
  color: var(--muted);
}

.hero__scroll {
  position: absolute; right: 80px; bottom: 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 8px 0;
}
.hero__scroll span {
  font-family: var(--font-en);
  font-size: 18px; font-weight: 500; line-height: 1;
  writing-mode: vertical-rl;
  color: var(--white);
}
.hero__scroll i {
  display: block; width: 1px; height: 100px;
  background: var(--white);
  animation: scroll-line 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); }
  45%  { transform: scaleY(1); }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------------------------------------------------------
   Sections
   --------------------------------------------------------- */
.section { width: 100%; display: flex; justify-content: center; }
.section--dark { background: var(--bg); position: relative; z-index: 1; }
.section--veil { background: var(--panel-t); }
.section-inner { width: var(--maxw); max-width: 100%; }

.eyebrow {
  font-family: var(--font-en);
  font-size: 56px; font-weight: 500; line-height: 1;
  color: var(--white);
}
.eyebrow-sub {
  font-family: var(--font-jp);
  font-size: 12px; font-weight: 400;
  letter-spacing: .04em; line-height: 1.4;
  color: var(--white);
}
.body-text {
  font-family: var(--font-jp);
  font-size: 14px; font-weight: 400;
  line-height: 2.2; letter-spacing: .04em;
  color: var(--white);
}

/* "VIEW MORE" link */
.view-more { display: inline-flex; align-items: center; gap: 24px; }
.view-more__label {
  font-family: var(--font-jp);
  font-size: 15px; line-height: 1.4;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--white);
  color: var(--white);
  transition: opacity .3s ease;
}
.view-more:hover .view-more__label { opacity: .6; }

/* Round arrow button */
.round-arrow {
  width: 64px; height: 64px; flex: none;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--hairline);
  transition: color .4s ease, border-color .4s ease, transform .4s ease;
}
.round-arrow .material-symbols-outlined { font-size: 24px; }
.view-more:hover .round-arrow { color: var(--white); border-color: var(--white); transform: translateX(8px); }

/* ---------------------------------------------------------
   Home - Blog band
   --------------------------------------------------------- */
.blog-band__inner {
  display: flex; flex-direction: row; gap: 160px;
  padding: 120px var(--pad-x);
}
.blog-band__head {
  display: flex; flex-direction: column; gap: 64px;
  justify-content: space-between;
}
.blog-band__list { flex: 1; min-width: 0; }

.post-list { display: flex; flex-direction: column; }
.post-item { border-bottom: 1px solid var(--hairline-w); }
.post-item:first-child { border-top: 1px solid var(--hairline-w); }
.post-item > a {
  display: flex; align-items: center; gap: 24px;
  padding: 24px 0;
  transition: opacity .3s ease;
}
.post-item > a:hover { opacity: .65; }
.post-item__thumb {
  width: 160px; height: 100px; flex: none;
  border-radius: 4px; overflow: hidden;
  background: #2b2b2b center / cover no-repeat;
}
.post-item__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.post-item__meta {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-en);
  font-size: 13px; color: var(--muted);
}
.post-item__cat {
  font-family: var(--font-jp);
  font-size: 11px; line-height: 1;
  padding: 5px 10px; border: 1px solid var(--hairline);
  border-radius: 999px; color: var(--white);
}
.post-item__title {
  font-family: var(--font-jp);
  font-size: 16px; font-weight: 500; line-height: 1.6;
  color: var(--white);
}
.post-item__excerpt {
  font-family: var(--font-jp);
  font-size: 13px; line-height: 1.8; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-empty {
  font-family: var(--font-jp);
  font-size: 14px; line-height: 1.4;
  margin: 10px 0; color: var(--white);
}

/* ---------------------------------------------------------
   Home - photo marquee
   --------------------------------------------------------- */
.marquee { width: 100%; overflow: hidden; filter: brightness(80%); }
.marquee__track { display: flex; width: max-content; animation: marquee 56s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { width: 520px; flex: none; padding-right: 16px; }
.marquee__item > div { height: 380px; background: #1c1c1c center / cover no-repeat; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------------------------------------------------------
   Home - Research
   --------------------------------------------------------- */
.research-band__inner {
  display: flex; flex-direction: row; gap: 160px;
  padding: 160px var(--pad-x) 80px;
}
.research-band__text {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 48px;
  padding: 80px 0;
}
.research-band__heading { display: flex; flex-direction: column; }
.research-band__img {
  width: calc(48% - 83px);
  border-radius: 4px;
  background: #1c1c1c center / cover no-repeat;
  filter: brightness(.8);
}

/* ---------------------------------------------------------
   Home - link cards
   --------------------------------------------------------- */
.link-band__inner {
  display: flex; flex-direction: row; gap: 24px;
  padding: 160px var(--pad-x) 16px;
}
.link-card {
  position: relative; overflow: hidden;
  width: calc(50% - 12px);
  height: 560px;
  border-radius: 4px;
  background-color: var(--panel);
  padding: 64px 48px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.link-card__bg {
  position: absolute; inset: 0;
  background: center / cover no-repeat;
  filter: brightness(56%);
  transition: transform 1.2s ease, filter .6s ease;
  z-index: 0;
}
.link-card > *:not(.link-card__bg) { position: relative; z-index: 1; }
.link-card:hover .link-card__bg { transform: scale(1.05); filter: brightness(68%); }
.link-card:hover .round-arrow { color: var(--white); border-color: var(--white); transform: translateX(8px); }
.link-card__head {
  display: flex; flex-direction: row; align-items: center;
  flex-wrap: wrap; gap: 16px 32px;
}

/* ---------------------------------------------------------
   Home - Contact への誘導（リンクカードとフッターのあいだ）
   リンクカードの下端 padding が 16px なので、ここは 16px から始めて
   カードとの間隔を 32px に揃えている。
   --------------------------------------------------------- */
.contact-band__inner { padding: 16px var(--pad-x) 160px; }
.contact-card {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  gap: 48px;
  padding: 64px 48px;
  border-radius: 4px;
  background: var(--panel);
  transition: background-color .4s ease;
}
.contact-card:hover { background: #2a2a2a; }
.contact-card:hover .round-arrow { color: var(--white); border-color: var(--white); transform: translateX(8px); }
.contact-card__text { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer {
  position: relative; z-index: 1;
  background: var(--bg);
  height: 215px;
  padding: 0 var(--pad-x);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 60px;
}
.site-footer__inner {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 24px;
}
.site-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 40px; width: 100%; }
.site-footer__rule { height: 1px; width: 100%; background: #e6e6e6; }
.site-footer__bottom {
  display: flex; flex-direction: row-reverse; justify-content: space-between;
  align-items: center; gap: 32px; width: 100%;
}
.site-footer__copy {
  font-family: var(--font-jp);
  font-size: 12px; line-height: 1.4; color: var(--dim);
  cursor: default;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: color .2s ease;
}
.site-footer__copy.is-arming { color: var(--muted); }

/* ---------------------------------------------------------
   Sub pages - page hero + breadcrumb
   --------------------------------------------------------- */
.page-hero {
  width: 100%;
  padding: 160px 0 120px;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  background: url('../img/hero.webp') center / cover no-repeat;
  filter: brightness(108%);
}
.page-hero__inner {
  width: var(--maxw); max-width: 100%;
  padding: 0 var(--pad-x);
  display: flex; flex-direction: column; gap: 4px;
  mix-blend-mode: color-dodge;
}
.page-hero__en {
  font-family: var(--font-en);
  font-size: 64px; font-weight: 500; line-height: 1.2;
  color: var(--white);
}
.page-hero__jp {
  font-family: var(--font-jp);
  font-size: 14px; font-weight: 500;
  letter-spacing: .05em; line-height: 2.2;
  color: var(--white);
}

.breadcrumb { width: 100%; display: flex; justify-content: center; }
.breadcrumb__inner {
  width: var(--maxw); max-width: 100%;
  padding: 24px var(--pad-x);
  display: flex; align-items: center; gap: 16px;
}
.breadcrumb__inner a, .breadcrumb__inner p {
  font-family: var(--font-jp); font-size: 14px; line-height: 1.4; color: var(--white);
}
.breadcrumb__inner a { transition: opacity .3s ease; }
.breadcrumb__inner a:hover { opacity: .6; }
.breadcrumb__inner .material-symbols-outlined { font-size: 18px; color: var(--white); }

.page-body { width: 100%; display: flex; justify-content: center; }
.page-body__inner { width: var(--maxw); max-width: 100%; padding: 80px var(--pad-x) 160px; }
.page-body__inner--flush { padding-bottom: 0; }

/* ---------------------------------------------------------
   Blog index
   --------------------------------------------------------- */
.blog-layout { display: flex; flex-direction: row; gap: 40px; }
.blog-side { width: calc(24% - 30px); display: flex; flex-direction: column; }
.blog-side a {
  font-family: var(--font-jp);
  font-size: 14px; font-weight: 500; line-height: 1.6;
  padding: 8px 0; color: var(--white);
  opacity: .7; transition: opacity .3s ease;
}
.blog-side a:hover, .blog-side a.is-active { opacity: 1; }
.blog-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.blog-main__title {
  font-family: var(--font-jp);
  font-size: 28px; font-weight: 500; line-height: 1.4; color: var(--white);
}

/* ---------------------------------------------------------
   Post detail
   --------------------------------------------------------- */
.post-detail { display: flex; flex-direction: column; gap: 40px; max-width: 860px; margin: 0 auto; }
.post-detail__meta { display: flex; align-items: center; gap: 16px; }
.post-detail__date { font-family: var(--font-en); font-size: 14px; color: var(--muted); }
.post-detail__title {
  font-family: var(--font-jp);
  font-size: 32px; font-weight: 500; line-height: 1.6; color: var(--white);
}
.post-detail__cover { width: 100%; border-radius: 4px; overflow: hidden; }
.post-detail__body { font-family: var(--font-jp); font-size: 15px; line-height: 2.2; color: var(--white); }
.post-detail__body p { margin: 0 0 1.6em; }
.post-detail__body h2 { font-size: 22px; font-weight: 500; margin: 2em 0 .8em; line-height: 1.6; }
.post-detail__body h3 { font-size: 18px; font-weight: 500; margin: 1.8em 0 .6em; line-height: 1.6; }
.post-detail__body a { text-decoration: underline; }
.post-detail__body img { border-radius: 4px; margin: 1.2em 0; }
.post-detail__body ul { list-style: disc; padding-left: 1.4em; margin: 0 0 1.6em; }
.post-detail__body ol { list-style: decimal; padding-left: 1.6em; margin: 0 0 1.6em; }
.post-detail__body h4 { font-size: 16px; font-weight: 500; margin: 1.6em 0 .6em; line-height: 1.6; }
.post-detail__body blockquote {
  margin: 0 0 1.6em; padding: 8px 0 8px 20px;
  border-left: 2px solid var(--hairline); color: var(--muted);
}
.post-detail__body hr { border: 0; border-top: 1px solid var(--hairline-w); margin: 2.4em 0; }
.post-detail__body del { opacity: .6; }
.post-detail__body code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .88em;
  background: rgba(255, 255, 255, .1);
  padding: .15em .45em; border-radius: 3px;
}
.post-detail__body pre {
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--hairline-w); border-radius: 4px;
  padding: 20px; margin: 0 0 1.6em;
  overflow-x: auto;
}
.post-detail__body pre code {
  background: none; padding: 0; border-radius: 0;
  font-size: 13px; line-height: 1.9;
}
.post-detail__body .table-scroll { overflow-x: auto; margin: 0 0 1.6em; }
.post-detail__body table { border-collapse: collapse; width: 100%; font-size: 14px; }
.post-detail__body th, .post-detail__body td {
  border: 1px solid var(--hairline-w);
  padding: 10px 14px; text-align: left; line-height: 1.7;
}
.post-detail__body th { background: rgba(255, 255, 255, .06); font-weight: 500; }
.post-detail__back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.post-detail__back:hover { color: var(--white); }

/* ---------------------------------------------------------
   Research page
   --------------------------------------------------------- */
.research-intro {
  font-family: var(--font-jp); font-size: 15px; line-height: 2.2;
  color: var(--white); padding-bottom: 80px;
}
.research-item {
  display: flex; flex-direction: row; gap: 120px;
  padding: 80px 0; align-items: stretch;
}
.research-item--reverse { flex-direction: row-reverse; }
.research-item__text {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 24px;
  padding: 64px 0;
}
.research-item__head { display: flex; flex-direction: column; gap: 8px; }
.research-item__en { font-family: var(--font-en); font-size: 14px; font-weight: 500; line-height: 1.6; color: var(--white); }
.research-item__jp { font-family: var(--font-jp); font-size: 24px; font-weight: 500; line-height: 2; color: var(--white); }
.research-item__img {
  width: calc(40% - 72px); flex: none;
  border-radius: 4px;
  background: #1c1c1c center / cover no-repeat;
}

/* ---------------------------------------------------------
   Profile page
   --------------------------------------------------------- */
.profile-card { display: flex; flex-direction: row; gap: 80px; align-items: stretch; }
.profile-card__photo {
  width: calc(40% - 48px); flex: none; height: 440px; border-radius: 4px;
  background: #1c1c1c center / cover no-repeat;
}
.profile-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.profile-head {
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: 24px; border-bottom: 1px solid var(--hairline);
}
.profile-head__name { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px; }
.profile-name { font-family: var(--font-jp); font-size: 24px; font-weight: 500; line-height: 1.6; color: var(--white); }
.profile-name-en { font-family: var(--font-en); font-size: 14px; font-weight: 400; line-height: 1.6; color: var(--white); }
.profile-affil { font-family: var(--font-jp); font-size: 16px; font-weight: 500; line-height: 1.6; color: var(--white); }
.profile-block { display: flex; flex-direction: column; gap: 8px; }
.profile-block__label { font-family: var(--font-jp); font-size: 16px; font-weight: 500; line-height: 2; color: var(--white); }
.profile-block__value { font-family: var(--font-jp); font-size: 16px; font-weight: 400; line-height: 2; color: var(--white); }
.profile-block__value a { text-decoration: underline; }
.profile-row { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.profile-row .profile-block__label, .profile-row .profile-block__value { line-height: 1.4; }
.profile-text { font-family: var(--font-jp); font-size: 15px; line-height: 2.2; color: var(--white); margin-top: 80px; }

/* ---------------------------------------------------------
   Publications page
   --------------------------------------------------------- */
.pub-page { display: flex; flex-direction: column; align-items: flex-start; gap: 80px; }
.pub-years {
  display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px;
  width: 100%; padding-bottom: 40px;
  border-bottom: 1px solid var(--hairline);
}
.pub-chip {
  display: inline-block;
  border: 1px solid var(--hairline); border-radius: 32px;
  font-family: var(--font-en); font-size: 14px; font-weight: 500; line-height: 1.4;
  padding: 8px 24px; color: var(--white);
  transition: background-color .3s ease, color .3s ease;
}
.pub-chip:hover { background: var(--white); color: var(--bg); }
.pub-body { display: flex; flex-direction: column; gap: 80px; width: 100%; }
.pub-group {
  display: flex; flex-direction: row; gap: 24px; width: 100%;
  scroll-margin-top: 100px;   /* 固定ヘッダーの下にアンカーが隠れないように */
}
.pub-group__year {
  font-family: var(--font-en); font-size: 28px; font-weight: 500; line-height: 1.4;
  color: var(--white); flex: none; width: calc(16% - 20px);
}
/* 並び順は publications.js 側で決めているので、ここでは反転させない */
.pub-list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.pub-list li {
  font-family: var(--font-jp); font-size: 14px; font-weight: 400; line-height: 1.6;
  color: var(--white);
  padding-bottom: 24px; border-bottom: 1px solid var(--hairline);
}
.pub-link { text-decoration: underline; white-space: nowrap; opacity: .8; }
.pub-link:hover { opacity: 1; }

/* 種別・属性のバッジ。1 行を占有し、書誌情報はその下から始める */
.pub-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.pub-badge {
  display: inline-block;
  font-family: var(--font-jp); font-size: 11px; font-weight: 500; line-height: 1;
  padding: 5px 9px; border-radius: 999px;
  border: 1px solid var(--hairline-w); color: var(--muted);
  white-space: nowrap;
}
.pub-badge--type { border-color: var(--hairline); color: var(--white); }
/* 管理画面だけで使う。種別が入っていない行を見つけやすくするため */
.pub-badge--todo { border-color: rgba(255, 200, 120, .45); color: #ffc878; }
.pub-cite { display: block; }

/* ---------------------------------------------------------
   Contact form
   --------------------------------------------------------- */
.contact-inner {
  width: 1120px; max-width: 100%;
  padding: 80px var(--pad-x) 160px;
  display: flex; flex-direction: column; gap: 40px;
}
.contact-lead { font-family: var(--font-jp); font-size: 15px; line-height: 2.2; color: var(--white); }
.contact-form { width: 100%; display: flex; flex-direction: column; gap: 32px; }

.field-row { display: flex; flex-direction: row; align-items: center; gap: 32px; width: 100%; }
.field-row--top { align-items: flex-start; }
.field-row__label {
  width: calc(24% - 24px); flex: none;
  display: flex; align-items: center;
  font-family: var(--font-jp); font-size: 16px; font-weight: 500; line-height: 1;
  color: var(--white);
}
.field-row input, .field-row textarea {
  flex: 1; min-width: 0;
  background: transparent;
  border: 1px solid var(--white); border-radius: 4px;
  color: var(--white);
  font-family: var(--font-jp); font-size: 16px; font-weight: 400;
}
.field-row input { height: 56px; padding: 10px; line-height: 1; }
.field-row textarea { height: 320px; padding: 16px; line-height: 1.8; resize: vertical; }
.field-row input:focus, .field-row textarea:focus { outline: none; background: rgba(255, 255, 255, .08); }
.field-row ::placeholder, .contact-form ::placeholder { color: rgba(255, 255, 255, .45); }

.policy-wrap { display: flex; flex-direction: column; gap: 16px; width: 100%; }

.btn-submit {
  width: 100%;
  background: transparent; border: 1px solid var(--white); border-radius: 40px;
  padding: 24px; color: var(--white);
  font-family: var(--font-jp); font-size: 18px; font-weight: 500; line-height: 1;
  text-align: center;
  transition: background-color .3s ease, color .3s ease;
}
.btn-submit:hover { background: var(--white); color: var(--bg); }
.btn-submit:disabled { opacity: .5; cursor: not-allowed; background: transparent; color: var(--white); }

.field { display: flex; flex-direction: column; gap: 10px; }
.field__label { display: flex; align-items: center; gap: 12px; font-family: var(--font-jp); font-size: 14px; color: var(--white); }
.field__req {
  font-size: 14px; font-weight: 500; line-height: 1;
  margin-left: 8px; padding: 3px 6px 4px;
  background: var(--muted); color: var(--bg); border-radius: 2px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="password"],
.field input[type="date"],
.field input[type="number"],
.field input[type="url"],
.field textarea {
  width: 100%;
  font-family: var(--font-jp); font-size: 15px; line-height: 1.8;
  color: var(--white);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--hairline-w);
  border-radius: 4px;
  padding: 14px 16px;
  transition: border-color .3s ease, background-color .3s ease;
}
.field textarea { min-height: 200px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--white); background: rgba(255, 255, 255, .1);
}

.policy-box {
  width: 100%; height: 240px; overflow-y: auto; overflow-x: hidden;
  border: 1px solid var(--hairline);
  padding: 24px;
  font-family: var(--font-jp); font-size: 14px; font-weight: 400; line-height: 1.4;
  color: var(--white);
}
.policy-box h2 { font-size: 18px; font-weight: 500; margin: 0 0 16px; }
.policy-box h3 { font-size: 15px; font-weight: 500; margin: 24px 0 8px; }
.policy-box p { margin: 0 0 12px; }
.policy-box ul { list-style: disc; padding-left: 1.4em; margin: 0 0 12px; }
.policy-box pre { font-family: inherit; white-space: pre-wrap; margin: 16px 0 0; }

.check-row {
  display: flex; flex-direction: row; flex-wrap: wrap;
  align-items: center; justify-content: center; width: 100%;
  font-family: var(--font-jp); font-size: 16px; line-height: 1.4; color: var(--white);
}
.check-row input { width: auto; height: auto; margin: 0 10px 0 0; accent-color: #ffffff; }

.btn {
  align-self: flex-start;
  font-family: var(--font-jp); font-size: 15px; line-height: 1;
  padding: 18px 56px; border-radius: 999px;
  background: var(--white); color: var(--bg);
  transition: opacity .3s ease;
}
.btn:hover { opacity: .8; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--white); border: 1px solid var(--hairline); }
.btn--sm { padding: 10px 20px; font-size: 13px; border-radius: 4px; }
.btn--danger { background: transparent; color: #ff8b8b; border: 1px solid rgba(255, 139, 139, .5); }

.form-note { font-family: var(--font-jp); font-size: 13px; line-height: 1.8; }
.form-note--ok { color: #9fe0a8; }
.form-note--err { color: #ff8b8b; }

/* ---------------------------------------------------------
   送信完了のオーバーレイ
   円が描かれ → チェックが引かれ → 文字が浮かび上がる、の順。
   最後にバーが縮み切るタイミングでトップへ戻る。
   --------------------------------------------------------- */
.sent {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(17, 17, 17, .97);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0;
  animation: sent-in .45s ease forwards;
}
.sent__inner { text-align: center; max-width: 480px; }

.sent__mark { width: 116px; height: 116px; display: block; margin: 0 auto 32px; overflow: visible; }
.sent__halo {
  fill: none; stroke: var(--white); stroke-width: 1;
  opacity: 0; transform-origin: 50% 50%;
  animation: sent-halo 1s ease-out .8s forwards;
}
.sent__ring {
  fill: none; stroke: var(--white); stroke-width: 1.5;
  stroke-dasharray: 327; stroke-dashoffset: 327;   /* 2πr = 2π×52 ≈ 327 */
  transform: rotate(-90deg); transform-origin: 50% 50%;
  animation: sent-ring .75s cubic-bezier(.65, 0, .35, 1) .1s forwards;
}
.sent__check {
  fill: none; stroke: var(--white); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 70; stroke-dashoffset: 70;
  animation: sent-check .4s cubic-bezier(.65, 0, .35, 1) .72s forwards;
}

.sent__title,
.sent__text,
.sent__bar,
.sent__note,
.sent__link { opacity: 0; animation: sent-up .6s ease forwards; }
.sent__title { animation-delay: .95s; }
.sent__text  { animation-delay: 1.08s; }
.sent__bar   { animation-delay: 1.2s; }
.sent__note  { animation-delay: 1.28s; }
.sent__link  { animation-delay: 1.36s; }

.sent__title {
  font-family: var(--font-jp); font-size: 24px; font-weight: 500;
  letter-spacing: .06em; color: var(--white); margin-bottom: 14px;
}
.sent__text {
  font-family: var(--font-jp); font-size: 14px; line-height: 2;
  color: var(--muted); margin-bottom: 36px;
}
.sent__bar {
  width: 200px; height: 1px; margin: 0 auto 14px;
  background: rgba(255, 255, 255, .18); overflow: hidden;
}
.sent__bar span {
  display: block; width: 100%; height: 100%; background: var(--white);
  transform-origin: left center;
  animation: sent-bar 1.9s linear 1.3s forwards;
}
.sent__note { font-family: var(--font-jp); font-size: 12px; color: var(--dim); margin-bottom: 20px; }
.sent__link {
  font-family: var(--font-jp); font-size: 13px; color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 3px;
}
.sent__link:hover { color: var(--white); border-bottom-color: var(--white); }

@keyframes sent-in    { to { opacity: 1; } }
@keyframes sent-ring  { to { stroke-dashoffset: 0; } }
@keyframes sent-check { to { stroke-dashoffset: 0; } }
@keyframes sent-halo  { from { opacity: .5; scale: 1; } to { opacity: 0; scale: 1.35; } }
@keyframes sent-up    { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sent-bar   { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* 動きを減らす設定のときは、演出なしで結果だけ見せる */
@media (prefers-reduced-motion: reduce) {
  .sent { opacity: 1; animation: none; }
  .sent__ring, .sent__check { stroke-dashoffset: 0; animation: none; }
  .sent__halo { display: none; }
  .sent__title, .sent__text, .sent__bar, .sent__note, .sent__link { opacity: 1; animation: none; }
  .sent__bar span { animation: none; }
}

/* ---------------------------------------------------------
   Admin
   --------------------------------------------------------- */
.admin-body { background: #0d0d0d; }
.admin-shell { min-height: 100vh; display: flex; flex-direction: column; }
.admin-header {
  height: 64px; flex: none;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--hairline-w);
  position: sticky; top: 0; background: #0d0d0d; z-index: 10;
}
.admin-header__title { font-family: var(--font-logo); font-size: 20px; letter-spacing: .12em; }
.admin-header__right { display: flex; align-items: center; gap: 16px; font-family: var(--font-jp); font-size: 13px; color: var(--muted); }

.admin-main { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 40px 24px 120px; }

.login-card {
  max-width: 400px; margin: 12vh auto 0;
  display: flex; flex-direction: column; gap: 24px;
  border: 1px solid var(--hairline-w); border-radius: 8px;
  padding: 40px 32px;
  background: rgba(255, 255, 255, .02);
}
.login-card h1 { font-family: var(--font-en); font-size: 28px; font-weight: 500; }
.btn--google {
  align-self: stretch;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 24px; border-radius: 6px;
  background: var(--white); color: #1f1f1f;
  font-size: 15px; font-weight: 500;
}
.btn--google svg { flex: none; }

.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.admin-toolbar h2 { font-family: var(--font-en); font-size: 24px; font-weight: 500; }

.admin-table { width: 100%; border-collapse: collapse; font-family: var(--font-jp); font-size: 14px; }
.admin-table th, .admin-table td {
  text-align: left; padding: 14px 12px;
  border-bottom: 1px solid var(--hairline-w);
  vertical-align: middle;
}
.admin-table th { font-size: 12px; color: var(--muted); font-weight: 500; }
.admin-table td.actions { text-align: right; white-space: nowrap; }
.admin-table td.actions button { margin-left: 8px; }

.badge { display: inline-block; font-size: 11px; line-height: 1; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--hairline-w); }
.badge--live { color: #9fe0a8; border-color: rgba(159, 224, 168, .4); }
.badge--draft { color: var(--muted); }

.editor { display: flex; flex-direction: column; gap: 24px; max-width: 860px; }
.editor .field textarea.body { min-height: 420px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.9; }
.editor__row { display: flex; gap: 24px; }
.editor__row > * { flex: 1; min-width: 0; }
.field select {
  font-family: var(--font-jp); font-size: 15px; color: var(--white);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--hairline-w); border-radius: 4px;
  padding: 14px 16px; width: 100%;
}
.field select option { background: #1a1a1a; }
.editor__actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.cover-preview {
  width: 100%; max-width: 360px; aspect-ratio: 16 / 10; border-radius: 4px;
  background: #1c1c1c center / cover no-repeat; border: 1px solid var(--hairline-w);
}

.admin-hint { font-family: var(--font-jp); font-size: 13px; line-height: 1.9; color: var(--muted); }
.admin-hint code { font-family: ui-monospace, Menlo, Consolas, monospace; background: rgba(255,255,255,.08); padding: 2px 6px; border-radius: 3px; }

/* ---------- 管理: タブ ---------- */
.admin-tabs {
  display: flex; gap: 4px;
  padding: 0 24px;
  border-bottom: 1px solid var(--hairline-w);
  background: #0d0d0d;
  position: sticky; top: 64px; z-index: 9;
}
.admin-tabs button {
  font-family: var(--font-jp); font-size: 14px; font-weight: 500;
  padding: 14px 20px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.admin-tabs button:hover { color: var(--white); }
.admin-tabs button.is-active { color: var(--white); border-bottom-color: var(--white); }
.tab-badge {
  display: inline-block; margin-left: 7px;
  min-width: 18px; padding: 2px 6px;
  border-radius: 999px; background: #9fe0a8; color: #10240f;
  font-size: 11px; font-weight: 600; line-height: 1.3; text-align: center;
}

/* ---------- 管理: お問い合わせ ---------- */
.inquiry-list { display: flex; flex-direction: column; gap: 16px; }
.inquiry {
  border: 1px solid var(--hairline-w); border-radius: 6px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, .02);
}
.inquiry.is-unread { border-color: rgba(159, 224, 168, .4); background: rgba(159, 224, 168, .05); }
.inquiry__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 14px;
}
.inquiry__who { display: flex; align-items: center; gap: 10px; }
.inquiry__name { font-family: var(--font-jp); font-size: 16px; font-weight: 500; color: var(--white); }
.inquiry__date { font-family: var(--font-en); font-size: 13px; color: var(--dim); }
.inquiry__meta {
  display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px;
  margin: 0 0 14px;
  font-family: var(--font-jp); font-size: 13px;
}
.inquiry__meta dt { color: var(--dim); }
.inquiry__meta dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.inquiry__meta a { text-decoration: underline; }
.inquiry__body {
  font-family: var(--font-jp); font-size: 14px; line-height: 1.9; color: var(--white);
  padding: 14px 16px; border-radius: 4px;
  background: rgba(255, 255, 255, .04);
  overflow-wrap: anywhere;
}
.inquiry__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

.admin-toolbar__buttons { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ---------- 管理: サムネイル ---------- */
.cover-row { display: flex; gap: 20px; align-items: flex-start; }
.cover-row__inputs { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cover-preview {
  width: 200px; flex: none; aspect-ratio: 16 / 10; border-radius: 4px;
  background: #1c1c1c center / cover no-repeat; border: 1px solid var(--hairline-w);
}
.cover-preview.is-empty::after {
  content: '未設定';
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-size: 12px; color: var(--dim);
}
.check-row--left { justify-content: flex-start; }

/* ---------- 管理: 業績テーブル ---------- */
.pub-year-cell { font-family: var(--font-en); white-space: nowrap; }
.pub-cite-cell { line-height: 1.7; }

.tag-picker { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0; }
.tag-picker__item {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--hairline-w);
  font-family: var(--font-jp); font-size: 13px; color: var(--muted);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.tag-picker__item:hover { border-color: var(--hairline); color: var(--white); }
.tag-picker__item:has(input:checked) {
  background: var(--white); border-color: var(--white); color: var(--bg);
}
.tag-picker__item input { width: 15px; height: 15px; margin: 0; accent-color: #111111; }

/* ---------- 管理: スライド ---------- */
.slide-drop {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; margin: 20px 0 28px;
  padding: 32px 20px;
  border: 1px dashed var(--hairline); border-radius: 6px;
  color: var(--muted);
  font-family: var(--font-jp); font-size: 14px;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.slide-drop:hover, .slide-drop.is-dropping {
  border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, .04);
}
.slide-drop .material-symbols-outlined { font-size: 24px; }

.slide-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.slide-card {
  margin: 0; border: 1px solid var(--hairline-w); border-radius: 6px;
  overflow: hidden; background: rgba(255, 255, 255, .02);
}
.slide-card__img { aspect-ratio: 4 / 3; background: #1c1c1c center / cover no-repeat; }
.slide-card__body { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.slide-card__alt {
  width: 100%;
  font-family: var(--font-jp); font-size: 13px; color: var(--white);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--hairline-w); border-radius: 4px;
  padding: 8px 10px;
}
.slide-card__alt:focus { outline: none; border-color: var(--white); }
.slide-card__actions { display: flex; gap: 8px; }
.slide-card__actions .btn { padding: 6px 12px; font-size: 12px; }

.slide-bundled { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--hairline-w); }
.slide-bundled__title {
  font-family: var(--font-jp); font-size: 16px; font-weight: 500;
  color: var(--white); margin-bottom: 8px;
}
.slide-bundled .admin-hint { margin-bottom: 20px; }
.slide-card--bundled { opacity: .85; }
.slide-card--bundled:hover { opacity: 1; }
.slide-card__name {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px; color: var(--dim);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- Markdown エディタ ---------- */
.md {
  border: 1px solid var(--hairline-w); border-radius: 6px;
  overflow: hidden; background: rgba(255, 255, 255, .02);
  display: flex; flex-direction: column;
}
.md.is-full {
  position: fixed; inset: 0; z-index: 60;
  border-radius: 0; border: 0; background: #0d0d0d;
}
body.md-locked { overflow: hidden; }

.md__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--hairline-w);
  flex-wrap: wrap; flex: none;
}
.md__tools { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.md__btn {
  width: 34px; height: 34px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: background-color .15s ease, color .15s ease;
}
.md__btn:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.md__btn .material-symbols-outlined { font-size: 20px; }
.md__btn-text { font-family: var(--font-en); font-size: 13px; font-weight: 600; }
.md__sep { width: 1px; height: 20px; margin: 0 6px; background: var(--hairline-w); }

.md__modes { display: flex; align-items: center; gap: 4px; }
.md__mode {
  font-family: var(--font-jp); font-size: 12px;
  padding: 7px 12px; border-radius: 4px;
  color: var(--muted);
  transition: background-color .15s ease, color .15s ease;
}
.md__mode:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.md__mode.is-active { color: var(--bg); background: var(--white); }
.md__full { display: flex; align-items: center; }
.md__full .material-symbols-outlined { font-size: 18px; }

.md__panes { display: flex; min-height: 420px; flex: 1; }
.md.is-full .md__panes { min-height: 0; }
.md__pane { flex: 1; min-width: 0; overflow: auto; }
.md__pane--preview { border-left: 1px solid var(--hairline-w); padding: 20px 24px; }

.md[data-mode="write"]   .md__pane--preview { display: none; }
.md[data-mode="preview"] .md__pane--write   { display: none; }
.md[data-mode="preview"] .md__pane--preview { border-left: 0; }

.md__input {
  display: block; width: 100%; height: 100%; min-height: 420px;
  border: 0; background: transparent; resize: none;
  padding: 20px 24px;
  color: var(--white);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px; line-height: 1.9;
}
.md__input:focus { outline: none; }
.md.is-full .md__input { min-height: 0; }
.md.is-dropping { outline: 2px dashed var(--white); outline-offset: -4px; }

.md__preview { font-size: 14px; }
.md__preview > *:first-child { margin-top: 0; }
.md__empty { color: var(--dim); }

.md__status {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 14px;
  border-top: 1px solid var(--hairline-w);
  font-family: var(--font-jp); font-size: 12px; color: var(--dim);
  flex: none; flex-wrap: wrap;
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 1200px) {
  .blog-band__inner { gap: 80px; }
  .research-band__inner { gap: 80px; }
  .research-band__img { width: calc(48% - 41px); }
}

@media (max-width: 900px) {
  :root { --pad-x: 24px; }

  .nav-list { display: none; }
  .nav-toggle { display: flex; }
  .site-header { padding: 0 8px 0 24px; }
  .site-logo { font-size: 24px; }

  .hero { padding: 88px 40px 88px 24px; }
  .hero__lead { font-size: 11vw; }
  .hero__sub { font-size: 13px; }
  .hero__scroll { right: 16px; }
  .hero__scroll i { height: 64px; }

  .blog-band__inner { flex-direction: column; gap: 40px; padding: 80px var(--pad-x); }
  .blog-band__head { flex-direction: column; gap: 24px; }
  .eyebrow { font-size: 40px; }

  .marquee__item { width: 320px; }
  .marquee__item > div { height: 240px; }

  .research-band__inner { flex-direction: column-reverse; gap: 40px; padding: 80px var(--pad-x); }
  .research-band__text { padding: 0; gap: 32px; }
  .research-band__img { width: 100%; aspect-ratio: 4 / 3; }

  .link-band__inner { flex-direction: column; gap: 16px; padding: 80px var(--pad-x) 16px; }
  .link-card { width: 100%; height: 360px; padding: 40px 28px; }

  .contact-band__inner { padding: 16px var(--pad-x) 80px; }
  .contact-card { flex-direction: column; align-items: flex-start; gap: 32px; padding: 40px 28px; }

  .page-hero { padding: 140px 0 80px; }
  .page-hero__en { font-size: 48px; }
  .page-hero__jp { font-size: 13px; }
  .page-body__inner { padding: 48px var(--pad-x) 100px; }

  .blog-layout { flex-direction: column; gap: 32px; }
  .blog-side { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .blog-main__title { font-size: 24px; }

  .post-item > a { flex-direction: column; align-items: flex-start; }
  .post-item__thumb { width: 100%; height: 180px; }

  .research-item, .research-item--reverse { flex-direction: column; gap: 32px; padding: 40px 0; }
  .research-item__text { padding: 0; }
  .research-item__img { width: 100%; height: 320px; }
  .research-item__jp { font-size: 20px; }
  .research-intro { font-size: 14px; padding-bottom: 40px; }

  .profile-card { flex-direction: column; gap: 32px; }
  .profile-card__photo { width: 100%; height: 320px; }
  .profile-name { font-size: 20px; }
  .profile-affil, .profile-block__label, .profile-block__value { font-size: 14px; }
  .profile-text { margin-top: 40px; font-size: 14px; }

  .post-detail__title { font-size: 24px; }

  .contact-inner { padding: 48px var(--pad-x) 100px; gap: 32px; }
  .field-row, .field-row--top { flex-direction: column; align-items: stretch; gap: 10px; }
  .field-row__label { width: 100%; }
  .pub-group { flex-direction: column; gap: 16px; }
  .pub-group__year { width: 100%; }

  .site-footer { height: auto; padding: 64px 32px 24px; }
  .site-footer__bottom { flex-direction: column-reverse; align-items: flex-start; gap: 16px; }

  .editor__row { flex-direction: column; }
  .admin-table th.hide-sp, .admin-table td.hide-sp { display: none; }
  .admin-tabs { padding: 0 8px; overflow-x: auto; }
  .admin-tabs button { padding: 14px 14px; white-space: nowrap; }
  .cover-row { flex-direction: column; }
  .cover-preview { width: 100%; max-width: 280px; }
  .md__panes { flex-direction: column; min-height: 0; }
  .md__pane--preview { border-left: 0; border-top: 1px solid var(--hairline-w); }
  .md[data-mode="split"] .md__pane--preview { display: none; }  /* 狭い画面では片方ずつ */
  .md__input { min-height: 320px; }
}
