:root {
  --blue: #0f345f;
  --blue-hover: #0e2f56;
  --ink: #111111;
  --white: #ffffff;
  --sheet: 1140px;
  --display: "Big Shoulders", "Arial Narrow", sans-serif;
  --body: "Open Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #478ac9;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: var(--white);
  background: var(--blue);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sheet {
  width: min(calc(100% - 40px), var(--sheet));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  min-height: 80px;
  background: transparent;
}

.header-sheet {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.brand {
  flex: 0 0 auto;
  width: 214px;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 8px;
  font-size: 1rem;
}

.main-menu a:hover {
  color: #478ac9;
}

.menu-button {
  display: none;
}

.hero {
  background: var(--white);
}

.hero-sheet {
  display: grid;
  min-height: 1140px;
  place-items: center;
}

.hero-image {
  width: 100%;
  height: auto;
}

.strip-sheet {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 126px;
  text-align: center;
}

.strip-sheet p {
  margin: 15px auto;
  color: var(--blue);
  font-size: 3rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1;
}

.strip-sheet.compact {
  min-height: 94px;
}

.text-link-strip a {
  color: #478ac9;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.2;
}

.text-link-strip a:hover {
  text-decoration: underline;
}

.notice-strip .strip-sheet {
  min-height: 115px;
}

.blue-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 10px 24px;
  color: var(--white);
  background: var(--blue);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
  transition: background 160ms ease;
}

.blue-button:hover {
  background: var(--blue-hover);
}

.notice-button {
  min-width: 330px;
  margin: 20px auto;
}

.jump-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  min-height: 166px;
  padding: 45px 0;
}

.jump-grid .blue-button {
  padding: 12px 14px;
}

.jump-grid span {
  font-size: 0.75rem;
  font-weight: 400;
}

.story-section {
  position: relative;
  scroll-margin-top: 80px;
  min-height: 1269px;
  color: var(--white);
  background: url("assets/schooldays/sd_sta.png") center / cover no-repeat;
}

.story-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.61);
}

.story-sheet {
  position: relative;
  z-index: 1;
  padding: 20px 0 60px;
}

.section-title {
  text-align: center;
}

.section-title h1,
.section-title h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 3rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1;
}

.section-title p {
  margin: 5px 0 0;
  font-family: var(--display);
  font-style: italic;
  line-height: 1;
}

.light-title p {
  color: var(--ink);
}

.story-copy {
  max-width: 650px;
  margin: 20px auto 0;
  text-align: center;
}

.story-copy p {
  margin: 0 0 34px;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.75;
}

.story-copy strong {
  color: #dcecff;
}

.story-copy .story-ending {
  margin-top: 52px;
  font-size: 1.45rem;
  font-style: italic;
}

.projects-section {
  scroll-margin-top: 80px;
  min-height: 689px;
  color: var(--white);
  background: var(--blue);
}

.projects-sheet {
  padding: 20px 0 40px;
}

.projects-title {
  color: var(--white);
}

.project-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 41px;
}

.project-column {
  position: relative;
  min-height: 517px;
  padding: 10px 24px 16px;
}

.project-column + .project-column {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.project-column h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.15;
}

.project-column header > p {
  margin: 0;
  font-weight: 700;
}

.project-image {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.project-image img {
  transition: transform 220ms ease;
}

.project-image:hover img {
  transform: scale(1.025);
}

.project-image-poster {
  width: 249px;
  height: 362px;
  margin: 10px auto 0;
}

.project-image-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-image-wide {
  height: 175px;
  margin: 104px 0 0;
}

.project-image-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-column footer {
  margin-top: 10px;
}

.project-column:nth-child(2) footer {
  margin-top: 72px;
}

.project-column h4 {
  margin: 0;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.3;
}

.project-column footer p,
.project-column footer small {
  margin: 0;
  font-family: var(--display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 700;
}

.ticket-wrap {
  display: grid;
  min-height: 340px;
  place-items: center;
}

.ticket-circle {
  display: grid;
  width: 165px;
  height: 165px;
  padding: 16px;
  border: 2px solid #478ac9;
  border-radius: 50%;
  background: #478ac9;
  place-items: center;
}

.ticket-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-section {
  scroll-margin-top: 80px;
  min-height: 611px;
}

.detail-sheet {
  padding: 30px 0 59px;
}

.detail-title {
  color: var(--blue);
}

.detail-table {
  width: min(100%, 745px);
  margin: 51px auto 0;
  border-top: 1px solid #cfcfcf;
  font-weight: 700;
}

.detail-row {
  display: grid;
  grid-template-columns: 30% 70%;
  min-height: 47px;
  border-bottom: 1px solid #cfcfcf;
}

.detail-row > div {
  display: flex;
  align-items: center;
  padding: 10px 12px;
}

.detail-row > div:first-child {
  border-right: 1px solid #cfcfcf;
}

.contact-section {
  scroll-margin-top: 80px;
  color: var(--white);
  background: var(--blue);
}

.contact-sheet {
  display: grid;
  min-height: 470px;
  padding: 64px 20px;
  place-items: center;
  text-align: center;
}

.contact-sheet > img {
  width: 260px;
}

.contact-sheet h2 {
  margin: 22px 0;
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-style: italic;
  font-weight: 700;
  line-height: 0.9;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 58px;
  padding: 10px 24px;
  color: var(--blue);
  background: var(--white);
  font-weight: 700;
}

.contact-button:hover {
  color: var(--white);
  background: #478ac9;
}

.site-footer {
  color: var(--white);
  background: var(--blue);
}

.footer-sheet {
  display: grid;
  min-height: 120px;
  place-items: center;
}

.footer-sheet p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 1199px) {
  .sheet {
    width: min(calc(100% - 40px), 940px);
  }

  .hero-sheet {
    min-height: 940px;
  }

  .project-image-poster {
    width: 194px;
    height: 282px;
  }

  .project-image-wide {
    height: 140px;
  }
}

@media (max-width: 991px) {
  .sheet {
    width: min(calc(100% - 32px), 720px);
  }

  .hero-sheet {
    min-height: 722px;
  }

  .project-column {
    padding-right: 14px;
    padding-left: 14px;
  }

  .project-image-wide {
    height: 102px;
    margin-top: 83px;
  }

  .project-column:nth-child(2) footer {
    margin-top: 56px;
  }
}

@media (max-width: 767px) {
  .sheet {
    width: min(calc(100% - 28px), 540px);
  }

  .brand {
    width: 190px;
  }

  .menu-button {
    display: grid;
    width: 48px;
    height: 48px;
    padding: 10px;
    border: 0;
    background: transparent;
    place-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .menu-button span {
    width: 25px;
    height: 2px;
    background: var(--blue);
  }

  .main-menu {
    position: fixed;
    inset: 80px 0 0;
    display: grid;
    align-content: center;
    gap: 0;
    padding: 28px;
    color: var(--white);
    background: rgba(15, 52, 95, 0.98);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .main-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .main-menu a {
    justify-content: center;
    min-height: 72px;
    font-family: var(--display);
    font-size: 2rem;
  }

  .hero-sheet {
    min-height: 542px;
  }

  .strip-sheet p {
    font-size: 2.25rem;
  }

  .text-link-strip a {
    font-size: 1.15rem;
  }

  .jump-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 30px 0;
  }

  .story-section {
    min-height: 1120px;
  }

  .section-title h1,
  .section-title h2 {
    font-size: 2.7rem;
  }

  .story-copy p {
    font-size: 1.08rem;
  }

  .project-columns {
    grid-template-columns: 1fr;
  }

  .project-column {
    min-height: auto;
    padding: 26px 10px 50px;
  }

  .project-column + .project-column {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .project-image-poster {
    width: 249px;
    height: 362px;
  }

  .project-image-wide {
    width: min(100%, 452px);
    height: 265px;
    margin: 45px auto 0;
  }

  .project-column:nth-child(2) footer {
    margin-top: 24px;
  }

  .ticket-wrap {
    min-height: 260px;
  }

  .detail-row {
    grid-template-columns: 38% 62%;
  }
}

@media (max-width: 575px) {
  .sheet {
    width: min(calc(100% - 20px), 340px);
  }

  .site-header,
  .header-sheet {
    min-height: 70px;
  }

  .brand {
    width: 174px;
  }

  .main-menu {
    top: 70px;
  }

  .hero-sheet {
    min-height: 342px;
  }

  .strip-sheet {
    min-height: 110px;
  }

  .strip-sheet p {
    font-size: 1.8rem;
  }

  .notice-button {
    min-width: 0;
    width: 100%;
  }

  .jump-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .story-section {
    min-height: 1080px;
  }

  .story-copy p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .project-image-wide {
    width: 320px;
    height: 187px;
  }

  .detail-table {
    font-size: 0.82rem;
  }

  .detail-row {
    grid-template-columns: 38% 62%;
  }

  .detail-row > div {
    padding: 9px 7px;
    overflow-wrap: anywhere;
  }

  .contact-sheet {
    min-height: 420px;
  }

  .contact-button {
    min-width: 0;
    width: 100%;
  }

  .footer-sheet {
    min-height: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
