:root {
  --navy: #003b70;
  --blue: #006e9f;
  --blue-dark: #004b78;
  --cyan: #00a7bd;
  --ink: #142535;
  --muted: #526576;
  --tint: #f1f6f8;
  --line: #d5e0e5;
  --yellow: #f5c948;
  --white: #fff;
  --shadow: 0 14px 34px rgba(0, 44, 72, .11);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  font-size: 62.5%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.8;
}

#wrapper {
  max-width: 100%;
  overflow-x: clip;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f0aa00;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 18px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: var(--white);
  border-bottom: 5px solid var(--navy);
}

.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 86px;
}

.site-logo {
  display: inline-flex;
  width: min(390px, 68vw);
}

.site-header__label {
  margin: 0;
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(0, 36, 72, .97), rgba(0, 91, 130, .92)),
    url("../img/bg-pc.jpg") center / cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -180px auto;
  width: 560px;
  height: 560px;
  border: 74px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: .15;
  background-image:
    linear-gradient(30deg, transparent 48%, #fff 49%, #fff 50%, transparent 51%),
    linear-gradient(150deg, transparent 48%, #fff 49%, #fff 50%, transparent 51%);
  background-size: 72px 42px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  padding-top: clamp(72px, 9vw, 132px);
  padding-bottom: clamp(72px, 9vw, 126px);
  text-align: center;
}

.hero__eyebrow,
.section-heading__en {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.hero__eyebrow {
  color: #79e2eb;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 6vw, 6.6rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}

.hero__copy {
  margin: 30px 0 18px;
  color: #fff4bf;
  font-size: clamp(2.2rem, 3.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.45;
}

.hero__lead {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.7rem;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.button-group--left {
  justify-content: flex-start;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  transition: transform .2s, background-color .2s, color .2s;
}

.button::after {
  content: "→";
  margin-left: 12px;
}

.button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.button--primary {
  color: var(--navy);
  background: var(--yellow);
}

.button--primary:hover {
  color: var(--navy);
  background: #ffe078;
}

.button--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, .7);
  background: rgba(0, 24, 48, .22);
}

.button--outline:hover,
.button--ghost:hover {
  color: var(--navy);
  background: var(--white);
}

.button--light {
  color: var(--navy);
  background: var(--white);
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, .65);
}

.button--dark {
  color: var(--white);
  background: var(--ink);
}

.button--dark:hover {
  color: var(--white);
  background: var(--navy);
}

.contents-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 5px 16px rgba(0, 38, 61, .08);
}

.contents-nav ul {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contents-nav a {
  display: block;
  padding: 17px 18px;
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 800;
  text-decoration: none;
}

.contents-nav a:hover {
  color: var(--blue);
  background: var(--tint);
}

.section {
  padding: clamp(72px, 8vw, 112px) 0;
}

.section--white {
  background: var(--white);
}

.section--tint {
  background: var(--tint);
}

.section--blue {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.section--yellow {
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.48) 0 4px, transparent 5px) 0 0 / 34px 34px,
    var(--yellow);
}

.section-heading {
  max-width: 790px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading--left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.in-person h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.3;
}

.section--blue .section-heading h2,
.section--blue .section-heading__en {
  color: var(--white);
}

.section-heading > p:last-child,
.in-person p {
  margin-bottom: 0;
}

.note {
  margin-top: 18px;
  padding: 12px 16px;
  color: #344d5e;
  background: #e3eef2;
  border-left: 4px solid var(--blue);
  font-size: 1.4rem;
  text-align: left;
}

.note--dark {
  color: var(--ink);
  background: rgba(255, 255, 255, .56);
  border-left-color: var(--ink);
}

.card-grid {
  display: grid;
  min-width: 0;
  gap: 26px;
}

.card-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.content-card > img,
.card-visual,
.research-card__graphic {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.content-card__body {
  display: flex;
  flex: 1;
  align-items: flex-start;
  flex-direction: column;
  padding: 24px;
}

.content-card h3 {
  margin: 10px 0 10px;
  color: var(--navy);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.45;
}

.content-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.5rem;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  color: var(--blue-dark);
  background: #e3f3f5;
  border-radius: 100px;
  font-size: 1.2rem;
  font-weight: 800;
}

.text-link {
  margin-top: auto;
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.text-link::after {
  content: " →";
}

.external::after {
  content: " ↗";
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0c1e2c;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tour-layout,
.cafe-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 7vw, 90px);
}

.tour-layout__media {
  position: relative;
  padding: 24px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50% 50% 12px 12px;
}

.tour-layout__media img {
  width: 100%;
  border-radius: 50% 50% 4px 4px;
}

.tour-layout__badge {
  position: absolute;
  right: 2px;
  bottom: 0;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 2.1rem;
  font-weight: 900;
}

.research-card--all {
  color: var(--white);
  background: var(--navy);
}

.research-card--all h3,
.research-card--all p,
.research-card--all .text-link {
  color: var(--white);
}

.research-card__graphic,
.card-visual {
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 183, 196, .75), rgba(0, 52, 96, .92)),
    url("../img/bg-pc.jpg") center / cover;
}

.research-card__graphic span,
.card-visual span {
  padding: 10px 18px;
  border: 2px solid rgba(255,255,255,.7);
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.card-visual--campus {
  background:
    linear-gradient(135deg, rgba(0, 55, 103, .82), rgba(0, 165, 181, .72)),
    url("../img/img-360.png") center / cover;
}

.cafe-layout__graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 330px;
  flex-direction: column;
  color: var(--white);
  background: var(--navy);
  border-radius: 50% 50% 10px 10px;
  box-shadow: 18px 18px 0 rgba(255,255,255,.48);
  font-weight: 900;
  letter-spacing: .12em;
}

.cafe-layout__graphic strong {
  color: var(--yellow);
  font-size: 5.4rem;
  line-height: 1.2;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 112px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 7px 20px rgba(0, 44, 72, .07);
  text-decoration: none;
  transition: transform .2s, border-color .2s;
}

.link-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  text-decoration: none;
}

.link-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 900;
}

.link-card strong,
.link-card small {
  display: block;
}

.link-card strong {
  color: var(--navy);
  font-size: 1.8rem;
}

.link-card small {
  margin-top: 4px;
  color: var(--muted);
}

.in-person {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  margin-top: 56px;
  padding: clamp(28px, 5vw, 54px);
  background: var(--white);
  border-top: 6px solid var(--yellow);
  box-shadow: var(--shadow);
}

.in-person h2 {
  font-size: clamp(2.4rem, 3vw, 3.3rem);
}

.youtube-channel {
  border-top-color: #d71920;
}

.button--youtube {
  max-width: 440px;
  color: var(--white);
  background: #d71920;
}

.button--youtube:hover {
  color: var(--white);
  background: #a91218;
}

.site-footer {
  padding: 34px 0;
  color: var(--white);
  background: #002f58;
}

.site-footer a {
  display: inline-flex;
  width: min(340px, 68vw);
  padding: 10px;
  background: var(--white);
}

.site-footer p {
  margin: 0;
  text-align: right;
}

.site-footer a.site-footer__youtube {
  width: auto;
  padding: 8px 0;
  color: var(--white);
  background: transparent;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-footer a.site-footer__youtube::before {
  margin-right: 8px;
  content: "▶";
  font-size: .8em;
}

@media (max-width: 991px) {
  .card-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contents-nav .container {
    max-width: none;
    padding: 0;
    overflow-x: auto;
  }

  .contents-nav ul {
    width: max-content;
    justify-content: flex-start;
  }

  .tour-layout,
  .cafe-layout,
  .in-person {
    grid-template-columns: 1fr;
  }

  .tour-layout__media,
  .cafe-layout__graphic {
    width: min(520px, 100%);
    margin: 0 auto;
  }

  .in-person .button {
    justify-self: start;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 1.5rem;
  }

  .site-header__inner {
    min-height: 72px;
  }

  .site-header__label {
    display: none;
  }

  .hero__inner {
    text-align: left;
  }

  .hero__lead {
    font-size: 1.55rem;
  }

  .button-group {
    align-items: stretch;
    flex-direction: column;
  }

  .button-group .button {
    width: 100%;
  }

  .card-grid--two,
  .card-grid--three,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    text-align: left;
  }

  .contents-nav a {
    padding: 14px 16px;
  }

  .in-person .button {
    width: 100%;
  }

  .button--youtube {
    max-width: none;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
