html {
  scroll-behavior: smooth;
}

/* 
// <weight>: Use a value from 100 to 900
// <uniquifier>: Use a unique and descriptive class name
.inter-<uniquifier> {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */

body {
  /* font-family: "Inter", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; */
  font-family: "Inter", sans-serif;
  background-color: #f5f5f5;
}
@media (max-width: 767px) {
  body {
    padding-top: 50px;
  }
}

/* Header */
.header {
  position: absolute;
  top: 2rem;
  right: 0;
  left: 0;
  z-index: 100;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 95%;
  height: 64px;
  padding: 5px 20px 5px 40px;
  margin: 0 auto;
  background-color: #0f3e8f;
}
.header-logo {
  width: auto;
  height: 100%;
}

.header-logo img {
  display: block;
  width: auto;
  height: 100%;
  object-fit: contain;
}

.header .header-nav-pc ul {
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.header .header-nav-pc a {
  display: inline-block;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.header .header-nav-pc a:hover,
.header .header-nav-pc a:focus {
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  opacity: 0.85;
}

.hamburger-btn {
  display: none;
}

.header-nav-sp {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 110;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 90vw;
  height: 100vh;
  overflow-y: scroll;
  background-color: white;
}

.nav-sp-btn-container {
  padding: 5px 20px;
}
.hamburger-btn-close {
  display: block;
  padding: 0;
  margin: 0 0 0 auto;
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  color: #0f3e8f;
  cursor: pointer;
  background: transparent;
  border: 0;
}
.nav-sp-links-container {
  flex: 1;
  padding: 0 40px;
}
.nav-sp-links-top-wrapper {
  border-bottom: solid 1px #e1e1e1;
}
.nav-sp-top-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 0 0 20px;
  margin: 0;
  list-style: none;
}
.nav-sp-top-list a {
  display: inline-block;
  width: 100%;
  font-size: 1rem;
  font-weight: 500;
  color: #232323;
  text-decoration: none;
}
.nav-sp-links-bottom-wrapper {
  display: flex;
  gap: 5px;
  justify-content: flex-start;
  padding: 20px 0;
}
.nav-sp-bottom-list {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.nav-sp-bottom-list a {
  display: inline-block;
  width: 100%;
  font-size: 0.875rem;
  font-weight: 400;
  color: #232323;
  text-decoration: none;
}

.nav-sp-access-container {
  padding: 20px 40px 24px;
  background-color: #0f3e8f;
}
.nav-sp-access {
  margin: 0 0 32px;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 2em;
  color: #fff;
}
.nav-sp-sns {
  display: flex;
  gap: 15px;
}
.nav-sp-sns-icon {
  width: 28px;
  height: 28px;
}
@media (max-width: 950px) {
  .header-logo {
    width: auto;
    height: 80%;
  }
  .header .header-nav-pc ul {
    gap: 14px;
  }
  .header .header-nav-pc a {
    font-size: 12px;
  }
}
@media (max-width: 768px) {
  .nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 99;
    visibility: hidden;
    background-color: #216fb78a;
    opacity: 0;
    transition:
      opacity 0.3s ease,
      visibility 0s linear 0.3s;
  }
  .nav-overlay.is-active {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
  }
  .header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 50px;
    padding: 5px 20px 5px 10px;
  }
  .header-nav-sp {
    display: flex;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translateX(100%);
    transition:
      transform 0.3s ease,
      opacity 0.3s ease,
      visibility 0s linear 0.3s;
  }
  .header-nav-sp.is-open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: translateX(0);
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }
  .header .header-nav-pc ul {
    display: none;
  }
  .header .header-nav-pc a {
    font-size: 12px;
  }
  .hamburger-btn {
    display: block;
    width: 24px;
    height: auto;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
  }
}

/* Footer */
.footer {
  padding: 80px 0 30px;
  background: #0f3e8f;
}

.footer-grid {
  display: grid;
  grid-template-areas:
    "logo space ."
    "adrs space navi"
    "sns  space navi"
    "bttm bttm bttm";
  grid-template-rows: auto 1fr auto auto;
  grid-template-columns: auto 1fr auto;
  width: 90%;
  max-width: 1220px;
  padding: 0 80px 0 50px;
  margin: 0 auto;
}
.footer-logo {
  grid-area: logo;
}
.footer-address {
  grid-area: adrs;
}
.footer-sns-list {
  grid-area: sns;
}
.footer-nav {
  grid-area: navi;
}
.footer-bottom {
  grid-area: bttm;
}

.footer-logo {
  display: block;
  width: auto;
  height: 48px;
  margin-bottom: 2.5rem;
}
.footer-logo img {
  width: auto;
  height: 100%;
  object-fit: contain;
}
.footer-address {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
  color: #fff;
}
.footer-address > small {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.77em;
}
.footer-address a {
  font-size: 0.875rem;
  font-weight: 400;
  color: #fff;
}

.footer-access {
  display: inline-block;
  margin-bottom: 40px;
}
.footer-sns-list {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  justify-content: flex-start;
  padding: 0;
  list-style: none;
}
.footer-sns-icon {
  width: 40px;
  height: 40px;
}
.footer-sns-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  row-gap: 20px;
  column-gap: 80px;
  width: auto;
}
.footer-nav-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-nav-list li {
  margin-bottom: 10px;
}
.footer-nav-list a {
  font-size: 0.875rem;
  font-weight: 400;
  color: #d8e4ff;
  text-decoration: none;
}
.footer-nav-list a:hover,
.footer-nav-list a:focus {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  margin: 30px 0 0;
  color: #fff;
  text-align: center;
}
.footer-bottom > small {
  font-size: 0.875rem;
  font-weight: 400;
}
@media (max-width: 764px) {
  .footer {
    padding: 42px 0 10px;
  }
  .footer-grid {
    display: grid;
    grid-template-areas:
      "logo sns"
      "navi navi"
      "adrs adrs"
      "bttm bttm";
    grid-template-rows: auto auto auto auto;
    grid-template-columns: auto auto;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
  }
  .footer-logo {
    display: block;
    width: 100%;
    max-width: 190px;
    height: auto;
    padding: 0;
    margin: 0 0 30px;
  }
  .footer-sns-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    padding: 0 18px 0 5px;
    margin: 0;
  }
  .footer-nav {
    display: flex;
    justify-content: flex-start;
    padding: 30px 0 50px;
    border-top: solid 1px #fff;
  }
  .footer-nav-list li {
    margin-bottom: 6px;
  }
  .footer-address {
    padding: 50px 10px 46px;
    margin: 0;
    border-top: solid 1px #fff;
  }
  .footer-access {
    margin: 0;
  }
  .footer-sns-icon {
    width: 32px;
    height: 32px;
  }
  .footer-bottom {
    margin: 0;
  }
  .footer-bottom > small {
    font-size: 0.625rem;
  }
}
