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

:root {
  /* ヘッダー用スマホブレイクポイント */
  --bp-header-mobile: 640px;
  --header-height: 0px;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #222;
  line-height: 1.6;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================
   Scroll reveal (subtle)
========================= */
.reveal {
  opacity: 0;
  transform: translateX(32px);
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal--left {
  transform: translateX(-32px);
}

.reveal--right {
  transform: translateX(32px);
}

.reveal--up {
  transform: translateY(-32px);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

.reveal-delay-5 {
  transition-delay: 0.4s;
}

.reveal-delay-6 {
  transition-delay: 0.48s;
}

.reveal-delay-7 {
  transition-delay: 0.56s;
}

.reveal-delay-8 {
  transition-delay: 0.64s;
}

.reveal-delay-9 {
  transition-delay: 0.72s;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--left,
  .reveal--right,
  .reveal--up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================
   Layout
========================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: clamp(25px, 4vw, 40px);
  padding-right: clamp(25px, 4vw, 40px);
}

/* =========================
   Header
========================= */
.header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  height: 35px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #003953;
}

.header__menu-btn-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header.is-nav-open .header__menu-btn-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header.is-nav-open .header__menu-btn-bar:nth-child(2) {
  opacity: 0;
}

.header.is-nav-open .header__menu-btn-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 60px;
}

.logo {
  margin: 0;
  line-height: 1;
}

.logo__inner {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.logo__link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo__link:hover {
  opacity: 0.7;
}

.logo__link:focus-visible {
  outline: 2px solid #166dde;
  outline-offset: 4px;
}

.logo__link--univ {
  transform: translateY(8px);
} 

.logo__mark {
  width: 200px;
  height: auto;
  aspect-ratio: 200 / 56;
}

.logo__divider {
  width: 2px;
  height: 55px;
  background: #9f245f;
  transform: translateY(4px);
}

.logo__title {
  color: #000;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.nav {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  position: relative;
  text-decoration: none;
  color: #003953;
  font-size: 16px;
  transition:
    color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #166dde, #2a8cdb);
  transform: scaleX(0);
  opacity: 0;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease;
  pointer-events: none;
}

.nav a.is-active {
  color: #166dde;
  opacity: 1;
}

.nav a.is-active::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav__en {
  display: none;
}

.nav__jp {
  display: inline;
}

.nav a:hover:not(.is-active) {
  opacity: 0.7;
}

.nav a.is-active:hover {
  opacity: 0.88;
}

.header__nav {
  position: relative;
}

.nav-indicator {
  position: absolute;
  z-index: 2;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #166dde, #2a8cdb);
  pointer-events: none;
  opacity: 0;
  box-sizing: border-box;
  will-change: left, width;
}

@media (min-width: 641px) {
  .nav a::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav-indicator {
    display: none;
  }
}

.header__backdrop {
  display: none;
}

/* =========================
   Hero (Swiper)
========================= */
.hero {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-swiper {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 650;
}

.hero .swiper-slide {
  height: 100%;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 20px 40px calc(24px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.hero-pagination-host {
  pointer-events: auto;
}

.hero-pagination-host {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero .hero-pagination.swiper-pagination {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  width: auto !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.hero .hero-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  background: #fff;
  opacity: 1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.hero .hero-pagination .swiper-pagination-bullet-active {
  background: #1e6bb8;
}

.mb-40 {
  margin-bottom: 40px;
}
/* =========================
   Section
========================= */
.section[id] {
  scroll-margin-top: 170px;
}

.section {
  display: flex;
  padding: 100px 0px;
  justify-content: space-between;
  align-items: center;
}

.section h2 {
  color: #003953;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 5px;
}

.section p {
  margin: 0;
  font-size: 18px;
  color: #003953;
  line-height: 2;
}

.section p.right-text {
  text-align: right;
  font-weight: bold;
  margin-top: 20px;
}

.section-subtitle {
  margin: 0 0 40px;
  color: #4f8aa1;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
}

.section--two-col .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.section--two-col .two-col__media,
.section--two-col .two-col__text {
  min-width: 0;
}

.section--two-col .two-col__text h2 {
  margin-top: 0;
}

.section--two-col .two-col__text p {
  margin: 0;
}

.section--two-col .two-col__text .section-subtitle {
  margin: 0 0 40px;
}

.section--two-col .two-col__text p + p {
  margin-top: 1em;
}

.section--two-col .two-col__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.section--blue-bg {
  background: #F8FAFC;
}

.organization-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.organization-inner p {
  margin: 0 0 40px;
  max-width: 800px;
}

#greeting .two-col__media--greeting {
  overflow: hidden;
  max-width: 100%;
}

#greeting .two-col__media--greeting img {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
}

.two-col__text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.two-col__text > * {
  width: 100%;
  max-width: 520px;
  text-align: left;
}

 .two-col__text > p.right-text {
  text-align: right;
}

.history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(11, 69, 99, 0.35);
  max-width: 650px;
}

.history-list li {
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: 20px;
  padding: 20px 10px;
  border-bottom: 1px solid rgba(11, 69, 99, 0.35);
  color: #0b4563;
  font-size: 16px;
  line-height: 1.5;
}

.history-list li span:first-child {
  white-space: nowrap;
  font-weight: 500;
}

.button {
  display: flex;
  width: 450px;
  height: 65px;
  padding: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  background: #fff;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    font-size 0.2s ease,
    color 0.2s ease;
  border-radius: 10px;
  border: 1px solid #666;
  color: #003953;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
}

.button:has(.link-card__icon) {
  position: relative;
  padding-left: 48px;
  padding-right: 48px;
  gap: 0;
}

.button:has(.link-card__icon) > span {
  display: block;
  width: 100%;
  text-align: center;
}

.button:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: #02adfc;
  color: #02adfc;
  transition: all 500ms;
}

.button .link-card__icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  transition: font-size 0.2s ease, color 0.2s ease;
}

.links-mobile-break {
  display: none;
}

.button:hover .link-card__icon {
  color: #02adfc;;
}

.links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.links-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.links-list li + li {
  margin-top: 16px;
}

.links-list-wrap {
  display: flex;
  justify-content: center;
}

.group__title {
  text-align: center;
  margin: 0 0 5px;
}

.group__subtitle {
  margin: 0 0 100px;
  text-align: center;
}

.card {
  border-radius: 10px;
  display: grid;
  grid-template-columns: 4fr 6fr;
  padding: 40px;
  align-items: center;
  gap: 48px;
  margin-top: 80px;
  box-sizing: border-box;
}

.card.card--blue {
  margin-top: 0;
  background: #a9d3f0;
}

.card.card--green {
  background: #cfe6d8;
}

.card.card--gray {
  background: #d6d9dd;
}

.card.card--purple {
  background: #e1d7f0;
}

.card.card--sky {
  background: #b6dce8;
}

.card.card--sand {
  background: #f2e7c9;
}

.card.card--mint {
  background: #dcebd3;
}

.card.card--taupe {
  background: #e3d6c8;
}

.card.card--steel {
  background: #d5e1e8;
}

.card.card--facility,
.card.card--analysis,
.card.card--nature,
.card.card--gallery {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 30px;
  min-height: auto;
}

.card__intro {
  width: 100%;
}

.card__split {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 40px;
  align-items: start;
  width: 100%;
}

.card__figure {
  min-width: 0;
}

.card__figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.card__figure--raito-4-3 img {
  aspect-ratio: 4 / 3;
}

.card__figure--raito-3-2 img {
  aspect-ratio: 3 / 2;
}

.card__content {
  min-width: 0;
}

.card__content p {
  margin: 0;
  color: #003953;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.5;
}

.card__content p + p {
  margin-top: 1.2em;
}

.card-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.card-gallery__main {
  min-width: 0;
}

.card-gallery__main-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.card-gallery__thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.card-gallery__thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  opacity: 0.72;
  transition: opacity 0.2s ease;
}

.card-gallery__thumb:hover {
  opacity: 1;
}

.card-gallery__thumb.is-active {
  opacity: 1;
}

.card-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__lead {
  width: 100%;
}

.card__group-no {
  margin: 0 0 10px;
  color: #166dde;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}

.card__title {
  margin: 0;
  color: #003953;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.card__text {
  width: 100%;
}

.card__text p {
  margin: 0;
  color: #003953;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.5;
}


/* =========================
   Footer
========================= */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background:#20242F;
  color: #fff;
}

.footer .container {
  padding: 40px 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-brand {
  margin: 0;
}

.footer-brand__inner {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.footer-brand__link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.footer-brand__link:hover {
  opacity: 0.75;
}

.footer-brand__link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.footer-brand__link--univ {
  transform: translateY(8px);
}

.footer-brand__mark {
  width: 200px;
  height: auto;
  aspect-ratio: 200 / 56;
}

.footer-brand__divider {
  width: 2px;
  height: 55px;
  flex-shrink: 0;
  background: #fff;
  transform: translateY(4px);
}

.footer-brand__title {
  margin: 0;
  color: #fff;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.footer-address {
  margin: 0;
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  line-height: 1.5;
}

.footer-copy {
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  line-height: 1;
  margin-top: 40px;
  margin-bottom: 0px;
  }

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 40px;
  margin: 18px 0 0 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0px 35px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #FFF;
}

.footer-nav a,
.footer-site-link a {
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  line-height: 1;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-site-link a:hover {
  opacity: 0.75;
}

.footer-site-link {
  margin: 0;
}

.footer-site-link .fa-solid {
  margin-left: 0.35em;
  font-size: 0.9em;
  vertical-align: middle;
}

/* =========================
   Responsive
========================= */
@media screen and (max-width: 999px) {
  .container {
    max-width: 900px;
  }

  .header .container {
    padding: 25px 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }

  .hero-swiper {
    height: auto;
    aspect-ratio: 67 / 40;
  }

  .hero .swiper-slide,
  .hero img {
    height: 100%;
  }

  .hero-bottom {
    gap: 8px;
    padding: 12px 28px calc(18px + env(safe-area-inset-bottom, 0px));
  }
  
  .logo {
    display: flex;
    justify-content: center;
    font-size: inherit;
    line-height: 1;
  }

  .logo__inner {
    gap: 8px;
    justify-content: center;
  }

  .logo__link--univ {
    transform: translateY(4px);
  }

  .logo__mark {
    width: 100px;
    height: auto;
    aspect-ratio: 100 / 28;
    margin-top: 0;
  }

  .logo__divider {
    width: 1px;
    height: 35px;
    background: #9f245f;
  }

  .logo__title {
    font-size: 16px;
  }

  .header__menu-btn {
    display: flex;
    margin-left: auto;
    z-index: 210;
  }

  .header__nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 205;
    width: 100%;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    padding: 50px 20px;
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header.is-nav-open .header__nav {
    display: block;
  }

  .header__backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    border: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    background: rgba(0, 0, 0, 0);
  }

  .header.is-nav-open .header__backdrop {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .header .nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0;
  }

  .header .nav li {
    display: flex;
    justify-content: center;
  }
  
  .header .nav a {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    color: #3b3b40;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
  }

  .header .nav a::after {
    left: 0;
    right: auto;
    top: 4px;
    bottom: 4px;
    width: 3px;
    height: auto;
    border-radius: 999px;
    transform: scaleY(0);
    transform-origin: center center;
    transition:
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.4s ease;
  }

  .header .nav a.is-active::after {
    transform: scaleY(1);
  }

  .header .nav a.is-active .nav__en {
    color: #166dde;
  }

  .header .nav a.is-active .nav__jp {
    color: #0d4a7a;
  }

  .header.is-nav-open .nav a.is-active,
  .header.is-nav-open .nav a.is-active .nav__en,
  .header.is-nav-open .nav a.is-active .nav__jp {
    color: inherit;
  }

  .header.is-nav-open .nav a.is-active::after {
    transform: scaleY(0);
    opacity: 0;
  }

  .header .nav__en {
    display: block;
    font-size: 30px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: 0;
    color: #333;
  }

  .header .nav__jp {
    display: block;
    font-size: 16px;
    color: #666;
  }

  body.is-nav-open {
    overflow: hidden;
  }

  body.is-nav-open .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 220;
  }

  .section[id] {
    scroll-margin-top: 130px;
  }

  .section {
    padding: 75px 0px;
  }

  .section h2 {
    font-size: 32px;
  }

  .section-subtitle {
    font-size: 24px;
    margin-bottom: 28px;
  }

  .section p {
    font-size: 18px;
    line-height: 1.9;
  }

  /* 詳細度が .section--two-col .two-col より低いと上書きされない */
  .section--two-col .two-col {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  #overview .two-col__media {
    max-width: 500px;
    margin: 0 auto;
  }

  #overview .two-col__media img {
    width: min(500px, 100%);
    height: auto;
  }


  /* 挨拶：1列時は本文 → 写真の順（HTMLは画像が先） */
  #greeting .two-col__text {
    order: 1;
  }

  #greeting .two-col__media {
    order: 2;
  }

  #greeting .two-col__media--greeting {
    max-width: 500px;
    margin: 0 auto;
  }

  #greeting .two-col__media--greeting img {
    width: min(500px, 100%);
    height: auto;
    object-fit: cover;
    display: block;
  }

  .history-list li {
    grid-template-columns: 6.4rem 1fr;
    gap: 12px;
    padding: 16px 8px;
    font-size: 14px;
  }

  .links-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  /* LINKS：ボタンを縦に並べ、中央寄せ */
  #links .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* LINKS：1列時は説明 → ボタン（HTMLはボタンが先） */
  #links .links-intro {
    order: 1;
  }

  #links .links-intro p {
    margin: 0 auto;
  }

  #links .links-list-wrap {
    order: 2;
  }

  #links .links-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
  }

  #links .links-list li {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
  }

  #links .links-list li + li {
    margin-top: 0;
  }

  #links .links-list .button {
    box-sizing: border-box;
    height: auto;
    min-height: 65px;
    padding: 12px 48px;
  }

  #links .links-list .button span {
    display: block;
    width: 100%;
    line-height: 1.5;
    text-align: center;
  }

  #links .links-list .button .links-mobile-break {
    display: block;
  }

  #links .links-list .button.mb-40 {
    margin-bottom: 0;
  }

  .section h2{
    font-size: 24px;
    text-align: center;
    margin: 0 0 5px;
  }

  .section-subtitle {
    font-size: 18px;
    line-height: 1;
    margin-bottom: 30px;
    text-align: center;
  }

  .section p {
    font-size: 16px;
    line-height: 1.8;
  }

  .section--two-col .two-col__text .section-subtitle {
    margin: 0 0 30px;
  }

  .section--two-col .two-col__text p + p {
    margin-top: 30px;
  }

  .history-list li {
    grid-template-columns: 4.5rem 1fr;
    gap: 25px;
    font-size: 12px;
    padding: 15px 10px;
  }

  .button {
    width: min(400px, 100%);
    height: 65px;
    font-size: 16px;
    box-sizing: border-box;
  }

  .footer-inner {
    display: block;
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }

  .footer-brand__inner {
    justify-content: center;
    gap: 8px;
  }
  
  .footer-brand__mark {
    width: 100px;
    height: auto;
    aspect-ratio: 100 / 28;
    margin-top: 0;
  }

  .footer-brand__title{
    font-size: 16px;
  }

  .footer-brand__divider {
    width: 1px;
    height: 35px;
  }

  .footer-brand__link--univ {
    transform: translateY(4px);
  }

  .footer-address {
    font-size: 10px;
    margin-bottom: 10px;
  }

  .footer-copy {
    font-size: 10px;
    line-height: normal;
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .footer-right {
    display: none;
    order: 1;
    width: 100%;
    align-items: center;
    gap: 32px;
  }

  .footer-nav {
    justify-content: center;
    gap: 8px 20px;
    font-size: 16px;
  }

  .footer-nav a,
  .footer-site-link a {
    font-size: 16px;
  }

  .footer-site-link {
    text-align: center;
  }

  .footer-left {
    order: 2;
    gap: 10px;
    align-items: center;
    text-align: center;
  }

  .card:not(.card--facility):not(.card--analysis):not(.card--nature):not(.card--gallery) {
    grid-template-columns: 1fr;
  }

  .card {
    grid-template-columns: 1fr;
    align-items: flex-start;
    max-width: 700px;
    min-height: 0;
    margin: 50px auto 0;
    padding: 50px 15px;
    gap: 30px;
  }

  .card__figure {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .card.card--facility,
  .card.card--analysis,
  .card.card--nature,
  .card.card--gallery {
    min-height: 0;
    gap: 28px;
  }

  .card-gallery {
    align-items: center;
  }

  .card-gallery__main,
  .card-gallery__thumbs {
    width: 100%;
    max-width: 400px;
  }

  .card__split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .card__lead {
    width: 100%;
  }
  
  .card__lead,
  .card__intro {
    text-align: center;
  }

  .card__group-no {
    font-size: 12px;
    line-height: 1;
    margin-bottom: 5px;
  }

  .card__title {
    font-size: 18px;
    line-height: 1;
  }

  .card__text {
    width: 100%;
  }

  .card__text p {
    font-size: 14px;
    line-height: 2;
  }

  .card--analysis .card__split,
  .card--nature .card__split,
  .card--facility .card__split,
  .card--gallery .card__split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .card__content p {
    font-size: 14px;
    line-height: 1.8;
  }
}