:root {
  --brand-blue: #00a2da;
  --brand-blue-dark: #0086b4;
  --banner-blue: #0093d6;
  --text: #333;
  --card-border: #00a9df;
  --news-bg: #f7f7f7;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", YuGothic, "Yu Gothic", Meiryo, "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background: #fff;
}
main {
  min-height: calc(100vh - 100px);
}
img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  text-decoration: none;
}
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 12px;
}

/* Top Bar */
.topbar {
  background: var(--banner-blue);
  color: #fff;
  position: relative;
  z-index: 1100;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Hamburger */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  position: relative;
  cursor: pointer;
}
.hamburger span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger span:nth-child(1) {
  top: 12px;
}
.hamburger span:nth-child(2) {
  top: 19px;
}
.hamburger span:nth-child(3) {
  top: 26px;
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* Hamburger button */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  position: relative;
  cursor: pointer;
}
.hamburger span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger span:nth-child(1) {
  top: 12px;
}
.hamburger span:nth-child(2) {
  top: 19px;
}
.hamburger span:nth-child(3) {
  top: 26px;
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.topbar__link {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  padding: 10px 12px;
  font-weight: 700;
}
.topbar__link:hover {
  background: rgba(255, 255, 255, 0.12);
}
.topbar__link--right {
  margin-left: auto;
}

/* Hero */
.hero {
  background: none;
}
.hero .container {
  position: relative;
  padding: 0 12px;
  aspect-ratio: 1920 / 600;
  overflow: visible;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
    url("../img/firstview.jpg") center/cover no-repeat;
  z-index: 1500;
}
.hero__title {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  margin: 0;
  color: #fff;
  text-shadow: 0 3px 8px rgba(12, 0, 255, 1);
  font-weight: 900;
  font-size: 36px;
  letter-spacing: 0.06em;
  text-align: center;
}
.hero__people {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: flex-end;
}
.hero__logo {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: 134px;
  background: #fff;
  color: #1a1a1a;
  line-height: 1.2;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 1200;
}

/* People icons made with pure CSS */
.person {
  width: 56px;
  height: 128px;
  position: relative;
  display: inline-block;
}
.person {
  --c: #e74c3c;
  color: var(--c);
}
.person--red {
  --c: #e53935;
}
.person--orange {
  --c: #f39c12;
}
.person--yellow {
  --c: #f1c40f;
}
.person--green {
  --c: #27ae60;
}
.person--cyan {
  --c: #00bcd4;
}
.person--blue {
  --c: #1976d2;
}
.person--magenta {
  --c: #c2185b;
}
.person .head,
.person .body,
.person .arm,
.person .leg {
  position: absolute;
  background: currentColor;
}
.person .head {
  width: 34px;
  height: 34px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
}
.person .body {
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 64px;
  border-radius: 8px;
}
.person .arm {
  top: 48px;
  width: 14px;
  height: 50px;
}
.person .arm.left {
  left: 4px;
  transform: rotate(18deg);
  transform-origin: top left;
}
.person .arm.right {
  right: 4px;
  transform: rotate(-18deg);
  transform-origin: top right;
}
.person .leg {
  bottom: 0;
  width: 14px;
  height: 66px;
}
.person .leg.left {
  left: 18px;
}
.person .leg.right {
  right: 18px;
}

/* Cleanup */

/* Feature navigation */
.feature-nav {
  margin-top: 1rem;
}
.feature-nav__grid {
  display: flex;
}
.feature-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  background: var(--banner-blue);
  flex: 0 0 calc(100% / 6);
  white-space: normal;
  position: relative;
}
.feature-nav__grid .feature-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 5%;
  height: 90%;
  width: 2px;
  background-image: repeating-linear-gradient(
    to bottom,
    #fff 0 6px,
    rgba(255, 255, 255, 0) 6px 12px
  );
}
.feature-card:hover {
  filter: brightness(1.05);
}
.feature-card__arrow {
  color: #fff;
}
.container.feature-nav__grid {
  padding: unset;
}
/* Drawer */
.drawer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
}
.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.2s;
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 86%;
  max-width: 360px;
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.25s;
  overflow: auto;
  padding: 16px;
}
.drawer.is-open {
  pointer-events: auto;
}
.drawer.is-open .drawer__overlay {
  opacity: 1;
}
.drawer.is-open .drawer__panel {
  transform: translateX(0);
}
.drawer__toplinks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.drawer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.drawer__menu li {
  border-bottom: 1px solid #eee;
}
.drawer__menu a {
  display: block;
  padding: 12px 4px;
  color: #333;
  text-decoration: none;
}
.drawer__menu a:hover {
  background: #f6fafe;
}
/* News */
.news {
  background: #fff;
  padding: 18px 0;
}
.news__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #d2d2d2;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  padding: 10px 12px 8px;
  background: #fafafa;
}
.news__title {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.news__icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: #7a62b5;
}
.news__more {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.news__more-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-right: 6px;
  background: #7a62b5;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
}
.news__body {
  position: relative;
  border: 1px solid #d2d2d2;
  border-top: none;
  border-radius: 0 0 4px 4px;
  background: #fff;
}
.news__list {
  margin: 0;
  padding: 12px 16px 12px 16px;
  list-style: none;
  max-height: 220px;
  overflow: auto;
}
.news__list li {
  padding: 0;
}
.news__item {
  display: block;
  padding: 12px 0;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed #d9d9d9;
}
.news__item:hover {
  background: #f7fbff;
}
.news__list time {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}
.news__list p {
  margin: 0;
  line-height: 1.8;
  letter-spacing: 0.12em;
}
.news__scrollbar {
  position: absolute;
  right: 8px;
  top: 44px;
  bottom: 12px;
  width: 8px;
  border: 2px solid #888;
  border-radius: 6px;
}

/* Footer */
.footer {
  background: var(--banner-blue);
  color: inherit;
  margin-top: 18px;
}
.footer .container {
  text-align: center;
}
.footer__brand {
  font-weight: 700;
  padding: 10px 12px;

  color: #fff;
  margin: 0 auto;
}
.footer__copy {
  display: block;
  padding: 6px 0 6px;
  font-size: 12px;
  color: #666;
  text-align: center;
}

/* small devices */
@media (max-width: 768px) {
  .hamburger {
    display: inline-block;
  }
  .topbar .topbar__link {
    display: none;
  }
  .feature-nav {
    display: none;
  }
  .hero__title {
    font-size: 25px;
  }
  .hero__logo {
    left: 1.5rem;
    z-index: 1000;
    max-width: 60px;
  }
  .news__body {
    height: 240px;
  }

  .person {
    transform: scale(0.9);
  }
}
