.theme-blue {
  --color-body: #002fa7;
  --color-heading: #002fa7;
  --color-accent: #002fa7;
  --color-hero: #002fa7;
  --color-paper: #ffffff;
  --color-footer: #002fa7;
  --color-on-footer: #ffffff;
  --color-header-on-hero: #ffffff;
  --color-header-on-main: #002fa7;
  --color-header-on-menu: #002fa7;
  --color-menu-bg: #ffffff;
  --color-menu-text: #002fa7;
  --color-menu-border: #002fa7;
  --color-button-bg: #002fa7;
  --color-button-text: #ffffff;
  --color-button-border: #002fa7;
  --color-button-hover-bg: #2d5fc4;
  --color-button-hover-text: #ffffff;
  --color-menu-button-bg: #ffffff;
  --color-menu-button-text: #002fa7;
  --color-menu-button-border: #002fa7;
  --color-menu-button-hover-bg: #000000;
  --color-menu-button-hover-text: #ffffff;
  --color-section-border: #002fa7;
  --color-image-border: #002fa7;
}

.theme-greige {
  --color-body: #002fa7;
  --color-heading: #002fa7;
  --color-accent: #002fa7;
  --color-hero: #edeae8;
  --color-paper: #edeae8;
  --color-footer: #002fa7;
  --color-on-footer: #ffffff;
  --color-header-on-hero: #002fa7;
  --color-header-on-main: #002fa7;
  --color-header-on-menu: #002fa7;
  --color-menu-bg: #ffffff;
  --color-menu-text: #002fa7;
  --color-menu-border: #002fa7;
  --color-button-bg: #002fa7;
  --color-button-text: #ffffff;
  --color-button-border: #002fa7;
  --color-button-hover-bg: #2d5fc4;
  --color-button-hover-text: #ffffff;
  --color-menu-button-bg: #ffffff;
  --color-menu-button-text: #002fa7;
  --color-menu-button-border: #002fa7;
  --color-menu-button-hover-bg: #000000;
  --color-menu-button-hover-text: #ffffff;
  --color-section-border: #002fa7;
  --color-image-border: #002fa7;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

body.is-menu-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

#menu {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

#menu.opacity-100 {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

#menu nav,
#menu nav + div {
  padding-right: 32px;
  padding-left: 32px;
}

#menu nav a {
  text-decoration: none;
  transition: color 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}

#menu nav a:hover,
#menu nav a:focus-visible {
  color: var(--color-button-hover-bg);
}

.language-switch-pill a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 1px;
  transition: background-size 0.35s ease;
}

.language-switch-pill a:hover,
.language-switch-pill a:focus-visible {
  background-size: 100% 1px;
}

html[lang='en'] .language-switch-pill a,
html[lang='en'] .language-switch-pill a:hover,
html[lang='en'] .language-switch-pill a:focus-visible {
  background-size: 0 1px;
}

@media (min-width: 768px) {
  #menu > div {
    width: min(40vw, 720px);
  }

  #menu nav,
  #menu nav + div {
    padding-right: 66px;
    padding-left: 66px;
  }
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-hero);
  opacity: 1;
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    visibility 0s linear 0.45s;
  visibility: visible;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.font-futura-condensed {
  font-family: futura-pt-condensed, sans-serif;
  font-weight: 700;
  font-style: normal;
}

.font-futura {
  font-family: "futura-pt", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.header-language-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-width: 32px;
  height: 22px;
  padding: 0;
  margin: 0;
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.1em;
  transform: translateY(-1px);
  text-decoration: none;
  background-image: none !important;
  background-size: 0 0 !important;
}

html:not(.has-initial-hash) body.is-hero-intro:not(.is-hero-header-ready) #menuButton,
html:not(.has-initial-hash) body.is-hero-intro:not(.is-hero-header-ready) #headerLanguageLink {
  opacity: 0;
  pointer-events: none;
}

#menuButton,
#headerLanguageLink {
  transition:
    opacity 0.8s ease,
    color 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}

#headerLanguageLink:hover,
#headerLanguageLink:focus-visible {
  color: var(--color-button-hover-bg);
}

.language-switch-pill {
  display: none;
  min-height: 32px;
}

.language-switch-pill a {
  display: inline;
  padding-bottom: 0.18em;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 1px;
}

.privacy-footer-link {
  margin-top: 32px;
  font-size: 12px;
  line-height: 20px;
}

@media (min-width: 768px) {
  .privacy-footer-link {
    margin-top: 40px;
  }
}

.footer-credit-break {
  display: none;
}

@media (max-width: 344.98px) {
  .footer-credit-break-ja {
    display: block;
  }
}

@media (max-width: 341.98px) {
  .footer-credit-break-en {
    display: block;
  }
}

@media (max-width: 767px) {
  body.is-menu-open .header-language-link {
    opacity: 0;
    pointer-events: none;
  }
}

@media (min-width: 768px) {
  #siteHeader {
    padding-right: 32px;
    padding-left: 32px;
  }
}

@media (min-width: 1024px) {
  .header-language-link {
    width: 44px;
    min-width: 44px;
    height: 24px;
    padding: 0 12px;
    margin: 0 -12px;
    transform: translateY(-1px);
  }
}

main h2,
main h3 {
  color: var(--color-heading);
}

html[lang='ja'] main h2 {
  letter-spacing: 0.03em;
}

html[lang='ja'] main p,
html[lang='ja'] main dl,
html[lang='ja'] main ul {
  letter-spacing: 0.015em;
}

@media (min-width: 768px) {
  html[lang='ja'] main p,
  html[lang='ja'] main dl,
  html[lang='ja'] main ul {
    letter-spacing: 0.02em;
  }
}

.message-signature {
  margin-top: 35px;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .message-signature {
    margin-top: 36px;
  }
}

@media (max-width: 767px) {
  html[lang='en'] main p {
    line-height: 1.85;
  }

  html[lang='en'] main p.message-signature {
    line-height: 1.75;
  }

  html[lang='en'] main p.mt-4 {
    margin-top: 12px;
  }
}

a.underline {
  display: inline;
  padding-bottom: 0.18em;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 1px;
}

a.underline:hover,
a.underline:focus-visible {
  animation: underline-wipe 0.7s ease both;
}

.theme-greige main a.underline,
.theme-greige main button.underline {
  color: #002fa7;
}

button.underline {
  display: inline;
  padding: 0 0 0.18em;
  color: inherit;
  text-align: left;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 1px;
}

footer button.underline {
  line-height: inherit;
  vertical-align: baseline;
}

.privacy-footer-link button.underline {
  padding-bottom: 0;
  background-position: left calc(100% - 0.08em);
}

.footer-credit {
  margin-top: 12px;
}

@media (min-width: 768px) {
  .footer-credit {
    margin-top: 16px;
  }
}

button.underline:hover,
button.underline:focus-visible {
  animation: underline-wipe 0.7s ease both;
}

.account-details-link {
  padding-bottom: 0.08em;
}

@media (min-width: 768px) {
  #fund .fund-bank-transfer > span:last-child {
    line-height: 1.75rem;
  }
}

@keyframes underline-wipe {
  0% {
    background-position: right bottom;
    background-size: 100% 1px;
  }

  49% {
    background-position: right bottom;
    background-size: 0 1px;
  }

  50% {
    background-position: left bottom;
    background-size: 0 1px;
  }

  100% {
    background-position: left bottom;
    background-size: 100% 1px;
  }
}

.menu-button {
  position: relative;
  width: 32px;
  height: 22px;
}

.menu-button span {
  position: absolute;
  left: 0;
  width: 32px;
  height: 0;
  border-top: 1px solid currentColor;
  transition:
    transform 0.3s ease,
    opacity 0.2s ease,
    top 0.3s ease;
}

.menu-button-thick span {
  border-top-width: 2px;
}

@media (min-width: 1024px) {
  .menu-button {
    width: 32px;
  }

  .menu-button span {
    width: 32px;
  }
}

:root {
  --sp-header-height: 72px;
  --header-control-size: 32px;
  --hamburger-line-width: 26px;
}

#siteHeader {
  padding: 0;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 32px;
}

@media (max-width: 767px) {
  #siteHeader {
    height: var(--sp-header-height);
    padding-top: 0;
    padding-bottom: 0;
    background-color: transparent;
    transition: background-color 0.25s ease;
  }

  body.is-menu-open #siteHeader,
  body.is-modal-open #siteHeader {
    background-color: transparent;
  }

  .site-header-inner {
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  #menu nav {
    padding-top: 32px;
  }
}

.menu-button {
  width: var(--header-control-size);
  height: var(--header-control-size);
}

.menu-button span {
  left: 0;
  width: var(--hamburger-line-width);
  transform: none;
}

.header-language-link {
  justify-content: flex-end;
  width: var(--header-control-size);
  min-width: var(--header-control-size);
  height: var(--header-control-size);
  font-size: 21px;
  letter-spacing: 0.1em;
  text-align: right;
  text-indent: 0;
  transform: none;
}

@media (min-width: 768px) {
  :root {
    --hamburger-line-width: 28px;
  }

  .site-header-inner {
    padding-right: 64px;
    padding-left: 64px;
  }

  #menuButton {
    transform: translateX(2px);
  }
}

@media (min-width: 1024px) {
  .header-language-link {
    width: var(--header-control-size);
    min-width: var(--header-control-size);
    height: var(--header-control-size);
    padding: 0;
    margin: 0;
    transform: none;
  }

  .menu-button {
    width: var(--header-control-size);
  }

  .menu-button span {
    left: 0;
    width: var(--hamburger-line-width);
    transform: none;
  }
}

.menu-button span:nth-child(1) {
  top: 7px;
}

.menu-button span:nth-child(2) {
  top: 15px;
}

.menu-button span:nth-child(3) {
  top: 23px;
}

.menu-button.is-open span:nth-child(1) {
  top: 15px;
  transform: rotate(42deg);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
  top: 15px;
  transform: rotate(-42deg);
}

@media (min-width: 768px) {
  .menu-button.is-open span:nth-child(1) {
    transform: rotate(42deg);
  }

  .menu-button.is-open span:nth-child(3) {
    transform: rotate(-42deg);
  }
}

.hero {
  position: relative;
  z-index: 10;
  height: 100vh;
  height: 100svh;
  --hero-logo-width: min(300px, 63.1578947368vw);
  --hero-logo-pad-top: min(56px, 11.7894736842vw);
  --hero-mark-y: 0;
}

.hero-inner {
  padding-left: 24px;
  padding-right: 24px;
}

.hero-mark {
  position: relative;
  padding-top: var(--hero-logo-pad-top);
  width: var(--hero-logo-width);
  transform: translateY(var(--hero-mark-y));
}

.hero-logo {
  display: block;
  width: 100%;
}

.hero-logo-wrap {
  position: relative;
  overflow: hidden;
}

.hero-logo-cover {
  position: absolute;
  inset: 0;
  background: var(--color-hero);
  transform: translateX(0);
  transition: transform 0.56s cubic-bezier(0.37, 0, 0.24, 1);
  z-index: 1;
}

.theme-greige .hero-logo-cover {
  transition: transform 0.72s cubic-bezier(0.33, 0, 0.18, 1);
}

.hero.is-logo-revealed .hero-logo-cover {
  transform: translateX(100%);
}

.hero-spkun {
  position: absolute;
  top: 0;
  right: min(8px, 1.6842105263vw);
  width: min(96px, 20.2105263158vw);
  z-index: 2;
  opacity: 0;
  backface-visibility: hidden;
  transform: translate3d(220px, 0, 0);
  will-change: transform, opacity;
}

.hero.is-spkun-ready .hero-spkun {
  animation: spkunIn 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.is-capture-final .hero-spkun {
  opacity: 1;
  animation: none;
  transform: translate3d(0, 0, 0);
}

body.is-capture-final .hero-logo-cover {
  transition: none;
  transform: translateX(100%);
}

@media (min-width: 768px) {
  .hero {
    height: 100vh;
    height: 100svh;
    --hero-logo-width: min(750px, 36.5vw, 69vh);
    --hero-logo-pad-top: min(80px, 11.1004784689vh);
    --hero-mark-y: -24px;
  }

  .hero-mark {
    padding-top: var(--hero-logo-pad-top);
    width: var(--hero-logo-width);
  }

  .hero-logo {
    width: var(--hero-logo-width);
  }

  .hero-spkun {
    top: calc(var(--hero-logo-pad-top) - (var(--hero-logo-width) * 0.04));
    right: calc(var(--hero-logo-width) * -0.012);
    width: calc(var(--hero-logo-width) * 0.285);
  }
}

@keyframes spkunIn {
  0% {
    opacity: 0;
    transform: translate3d(220px, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.flying-sp {
  position: fixed;
  top: 50vh;
  left: 100vw;
  width: min(96px, 20.2105263158vw);
  height: auto;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  transform: translateY(-50%);
  will-change: left, top;
}

.theme-greige .flying-sp {
  z-index: 15;
  transition: opacity 0.35s ease;
}

.theme-greige footer {
  z-index: 20;
}

footer h3,
footer p,
footer .privacy-footer-link {
  letter-spacing: 0.01em;
}

#fund a.inline-flex {
  transition:
    background-color 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    border-color 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    color 0.55s cubic-bezier(0.19, 1, 0.22, 1);
}

#fund a.inline-flex:hover,
#fund a.inline-flex:focus-visible {
  border-color: var(--color-button-hover-bg);
}

#fund a.inline-flex.scroll-reveal {
  transition:
    opacity 1.45s cubic-bezier(0.19, 1, 0.22, 1),
    transform 1.85s cubic-bezier(0.19, 1, 0.22, 1),
    background-color 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    border-color 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    color 0.55s cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms), var(--reveal-delay, 0ms), 0ms, 0ms, 0ms;
}

@media (min-width: 768px) {
  footer h3,
  footer p,
  footer .privacy-footer-link {
    letter-spacing: 0.015em;
  }
}

footer[class] {
  padding-top: 64px;
  padding-bottom: 56px;
}

footer .grid > div:nth-child(2),
footer .grid > div:nth-child(3) {
  margin-top: 48px;
}

footer .grid > div:nth-child(4) {
  margin-top: 44px;
}

@media (min-width: 768px) {
  footer[class] {
    padding-top: 104px;
    padding-bottom: 64px;
  }

  footer .grid > div:nth-child(2),
  footer .grid > div:nth-child(3) {
    margin-top: 64px;
  }
}

.main-sp-aligned-image {
  width: calc(100% - 52px);
}

@media (min-width: 768px) {
  .main-sp-aligned-image {
    width: 100%;
  }

  #about > .grid,
  #publications > .grid {
    grid-template-columns: minmax(0, 1fr) clamp(260px, 33vw, 420px);
    column-gap: clamp(36px, 5vw, 72px);
    align-items: start;
    justify-content: start;
  }

  #about > .grid > div:first-child {
    grid-column: 1;
    max-width: 820px;
  }

  #publications > .grid > h2 {
    grid-column: 1 / -1;
    margin-bottom: clamp(44px, 5vw, 64px);
  }

  #publications > .grid + .grid {
    margin-top: clamp(72px, 7vw, 104px);
  }

  #publications > .grid > div:first-of-type {
    grid-column: 1;
    max-width: 820px;
    margin-top: 0;
  }

  #about > .grid > div:nth-child(2) {
    grid-column: 2;
    align-self: start;
    margin-top: 0;
  }

  #publications > .grid > div:nth-of-type(2) {
    grid-column: 2;
    align-self: start;
    margin-top: 0;
  }

  #about.is-about-text-taller > .grid > div:nth-child(2) {
    margin-top: var(--about-text-offset, 88px);
  }

  .flying-sp {
    width: min(132px, 18.3157894737vh);
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  #about > .grid,
  #publications > .grid {
    grid-template-columns: minmax(0, 1fr) 270px;
    column-gap: clamp(28px, 4vw, 48px);
  }
}

@media (min-width: 1024px) {
  #about > .grid,
  #publications > .grid {
    grid-template-columns: minmax(0, 1fr) clamp(360px, 30vw, 460px);
    column-gap: clamp(48px, 4.5vw, 72px);
  }
}

main > section {
  position: relative;
  scroll-margin-top: var(--sp-header-height);
  padding-top: 80px;
  padding-bottom: 80px;
}

main > section.border-t {
  border-top-width: 0;
}

main > section.border-t::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

main > section.border-t.is-section-line-visible::before {
  transform: scaleX(1);
}

main > section.border-t.is-section-line-instant::before {
  transition: none;
}

main > section.border-t.is-section-line-resetting::before {
  transition: transform 0.55s cubic-bezier(0.19, 1, 0.22, 1);
}

.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 1.45s cubic-bezier(0.19, 1, 0.22, 1),
    transform 1.85s cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.scroll-reveal--media {
  overflow: hidden;
  transform: translate3d(0, 14px, 0);
}

.scroll-reveal-image {
  transform: scale(0.996);
  transform-origin: center;
  transition: transform 1.9s cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: calc(var(--reveal-delay, 0ms) + 70ms);
  will-change: transform;
}

.scroll-reveal.is-scroll-reveal-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.scroll-reveal.is-scroll-reveal-visible .scroll-reveal-image {
  transform: scale(1);
}

.is-scroll-reveal-instant .scroll-reveal,
.is-scroll-reveal-instant .scroll-reveal-image,
.is-scroll-reveal-instant .overview-reveal-row > * {
  transition: none;
}

.is-scroll-reveal-resetting .scroll-reveal,
.is-scroll-reveal-resetting .scroll-reveal-image,
.is-scroll-reveal-resetting .overview-reveal-row > * {
  transition:
    opacity 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.55s cubic-bezier(0.19, 1, 0.22, 1);
}

.overview-reveal-row {
  display: contents;
}

.overview-reveal-row > * {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 1.45s cubic-bezier(0.19, 1, 0.22, 1),
    transform 1.85s cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.overview-reveal-row.is-scroll-reveal-visible > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  main > section.border-t::before {
    transition: none;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-reveal-image {
    transform: none;
    transition: none;
  }

  .overview-reveal-row > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 768px) {
  #program .program-list > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0;
    margin-bottom: 0;
  }

  #program .program-row {
    height: 64px;
  }

  #program .program-line {
    top: 32px;
    height: calc(100% - 64px);
  }

  main > section {
    padding-top: 104px;
    padding-bottom: 104px;
  }
}

main > section:first-child {
  padding-top: 80px;
}

main > section:last-child {
  padding-bottom: 80px;
}

@media (max-width: 767px) {
  main > section {
    padding-top: 64px;
    padding-bottom: 76px;
  }

  main > section:first-child {
    padding-top: 64px;
  }

  main > section:last-child {
    padding-bottom: 76px;
  }

  main > section h2 + div.mt-10,
  main > section h2 + dl.mt-10 {
    margin-top: 36px;
  }

  #program h2 + div.mt-12 {
    margin-top: 40px;
  }
}

@media (min-width: 768px) {
  main > section {
    scroll-margin-top: 0;
  }

  main > section:first-child {
    padding-top: 104px;
  }

  main > section:last-child {
    padding-bottom: 104px;
  }
}

#program .program-line {
  left: 6.5px;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top center;
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

#program.is-section-line-visible .program-line {
  opacity: 0.5;
  transform: scaleY(1);
}

#program .program-row {
  grid-template-columns: 16px 72px 1fr;
}

#program .program-dot {
  left: 1px;
  top: 11px;
  width: 12px;
  height: 12px;
}

html[lang='ja'] #program .program-row dd.md\:col-start-3 {
  letter-spacing: 0.04em;
}

html[lang='en'] #program .program-title-compact {
  line-height: 1.75rem;
}

@media (min-width: 768px) {
  #program .program-row {
    grid-template-columns: 24px 112px 180px 1fr;
    height: auto;
    min-height: 64px;
    align-items: start;
    padding-top: 16px;
  }

  html[lang='en'] #program .program-row {
    grid-template-columns: 24px 112px 240px 1fr;
  }

  html[lang='en'] #program .program-title-compact {
    line-height: inherit;
  }

  #program .program-row dd:not(.md\:col-start-3) {
    padding-top: 4px;
  }

  #program .program-dot {
    top: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #program .program-line {
    transition: none;
    transform: scaleY(1);
  }
}

.book-credit {
  display: grid;
  grid-template-columns: 72px 1fr;
  row-gap: 4px;
  padding: 16px 0;
  font-size: 12px;
  line-height: 24px;
}

.book-credit > div,
.book-credit dl {
  display: contents;
}

#publications .border-y {
  border-bottom-width: 0;
  border-top-style: solid;
  border-color: rgba(0, 47, 167, 0.5);
}

#publications .book-credit {
  padding-top: 20px;
  padding-bottom: 0;
}

@media (max-width: 767px) {
  #publications h3.mb-4 {
    margin-bottom: 24px;
  }

  #publications .main-sp-aligned-image.my-8 {
    margin-top: 0;
    margin-bottom: 28px;
  }

  #publications .mt-8.border-y {
    margin-top: 32px;
  }

  #publications > .grid + .grid > div:first-child {
    margin-top: 56px;
  }
}

.bank-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  color: var(--color-body);
  background: rgba(255, 255, 255, 0.88);
}

.theme-greige .bank-modal {
  background: var(--color-paper);
}

.bank-modal[hidden] {
  display: none;
}

.bank-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 560px);
  max-height: calc(100vh - 64px);
  max-height: calc(100svh - 64px);
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--color-section-border);
  background: var(--color-paper);
}

.bank-modal__scroll {
  min-height: 0;
  overflow-y: auto;
}

.bank-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  font-size: 24px;
  line-height: 1;
  z-index: 1;
}

.bank-modal h2 {
  padding-right: 40px;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0.08em;
}

.bank-modal dl {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 8px 16px;
  margin-top: 24px;
  font-size: 13px;
  line-height: 24px;
}

.privacy-modal__body {
  margin-top: 28px;
  font-size: 13px;
  line-height: 24px;
}

.privacy-modal__body h3 {
  margin-top: 28px;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.04em;
}

.privacy-modal__body h3:first-child {
  margin-top: 0;
}

.privacy-modal__body p,
.privacy-modal__body ul {
  margin-top: 12px;
}

.privacy-modal__body li {
  padding-left: 1em;
  text-indent: -1em;
}

.privacy-modal__body li + li {
  margin-top: 6px;
}

.privacy-modal__body li:last-child {
  margin-bottom: 12px;
}

html[lang='en'] .privacy-modal__body li {
  position: relative;
  padding-left: 1.1em;
  text-indent: 0;
}

html[lang='en'] .privacy-modal__body li::before {
  position: absolute;
  left: 0;
  content: '-';
}

@media (max-width: 480px) {
  .bank-modal {
    padding: 24px;
  }

  .bank-modal__panel {
    padding: 28px 24px;
  }

  .bank-modal dl {
    grid-template-columns: 1fr;
    row-gap: 0;
    line-height: 22px;
  }

  .bank-modal dt {
    margin-top: 10px;
  }

  .bank-modal dt:first-child {
    margin-top: 0;
  }

  .bank-modal dd {
    margin-top: 2px;
  }
}

html[lang='en'] .book-credit {
  column-gap: 12px;
}

@media (max-width: 767px) {
  html[lang='ja'] .book-credit {
    grid-template-columns: 88px 1fr;
    column-gap: 12px;
  }

  html[lang='en'] .book-credit {
    grid-template-columns: 88px 1fr;
    column-gap: 12px;
  }
}

@media (min-width: 768px) {
  .book-credit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0;
    padding: 0;
    font-size: 14px;
  }

  .book-credit > div,
  .book-credit dl {
    display: block;
  }

  .book-credit > div {
    padding: 24px 0;
  }

  .book-credit > div:last-child {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .book-credit dl {
    display: grid;
    grid-template-columns: 88px 1fr;
    column-gap: 0;
    row-gap: 4px;
  }

  html[lang='en'] .book-credit dl {
    column-gap: 12px;
  }

  #publications .book-credit {
    padding-top: 0;
  }

  #publications .book-credit > div,
  #publications .book-credit > div:last-child {
    padding-top: 28px;
    padding-bottom: 0;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  html[lang='ja'] .book-credit,
  html[lang='en'] .book-credit {
    grid-template-columns: 104px 1fr;
    column-gap: 16px;
    row-gap: 4px;
    padding: 16px 0;
  }

  html[lang='ja'] .book-credit > div,
  html[lang='ja'] .book-credit dl,
  html[lang='en'] .book-credit > div,
  html[lang='en'] .book-credit dl {
    display: contents;
  }

  #publications .book-credit {
    padding-top: 28px;
    padding-bottom: 0;
  }
}
