:root {
  font-family: "Open Sans", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: #666;
  background: #fff;
  line-height: 1.5;
}

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

body {
  min-width: 320px;
  margin: 0;
}

a {
  color: #18d26e;
}

a:hover {
  color: #18d36e;
}

a:focus-visible {
  outline: 3px solid #18d26e;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 2;
  padding: 0.25rem 0.75rem;
  background: #fff;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1;
  background: rgb(255 255 255 / 90%);
}

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

.header-logo,
.footer-logo a {
  display: inline-block;
  line-height: 0;
}

.header-logo img {
  display: block;
  width: 135px;
  height: auto;
}

.notice-band {
  padding: 150px 50px 170px;
  background: #f7f7f7;
}

.notice {
  padding: 40px 20px;
  border: 2px solid #000;
  background: #fff;
  color: #666;
  font-size: 20px;
}

.notice p {
  margin: 0;
}

.site-footer {
  padding: 42px 0;
  background: #111;
}

.footer-inner {
  display: grid;
  grid-template-columns: 25% 41.6667%;
  max-width: 900px;
  margin: 0 auto;
}

.footer-logo,
.footer-contact {
  padding: 0 15px;
}

.footer-logo {
  align-self: center;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
  margin: 100px 0;
}

.footer-contact h2 {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-contact h2::before,
.footer-contact h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
}

.footer-contact h2::before {
  right: 0;
  background: #555;
}

.footer-contact h2::after {
  width: 60px;
  background: #18d26e;
}

.footer-contact p {
  margin: 0;
  color: #eee;
  font-size: 16px;
  line-height: 26px;
}

.copyright {
  padding: 20px;
  background: #000;
  color: #fff;
  font-size: 16px;
  text-align: center;
}

@media (max-width: 767px) {
  .header-inner {
    padding: 17px 20px;
  }

  .notice-band {
    padding: 120px 20px 100px;
  }

  .notice {
    padding: 30px 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 20px;
  }

  .footer-logo,
  .footer-contact {
    padding: 0;
  }

  .footer-logo img {
    width: min(240px, 100%);
    margin: 20px 0 0;
  }
}
