/* ------------------------------
  header
------------------------------ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari */
  z-index: 9999;
}
@media (max-width: 799px) {
  .header {
    padding: 16px;
  }
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  width: 240px;
  margin-bottom: 8px;
}

.header-menu {
  display: flex;
  gap: 1rem;
}

.header-menu-list {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-menu-list a {
  min-width: 120px;
  font-size: 13px;
  text-align: center;
  padding: 0.25rem 0;
  font-weight: 500;
  border-bottom: 1px solid #231815a4;
}

.header-menu-contact {
  background-color: var(--color-accent);
  color: #fff;
}
.header-menu-contact a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 50px;
}

@media (max-width: 1320px) {
  .header-logo {
    width: 220px;
  }
  .header-menu-list a {
    min-width: 90px;
  }
}
@media (max-width: 1160px) {
  .header-logo {
    width: 200px;
  }
  .header-menu-list a {
    min-width: auto;
  }
}
@media (max-width: 899px) {
  .header-logo {
    width: 180px;
  }
  .header-menu-list a {
    font-size: 12px;
  }
  .header-menu-contact a {
    font-size: 12px;
    padding: 6px 18px 5px 16px;
  }
}

@media (max-width: 799px) {
  .header-logo {
    width: 240px;
  }
}

/* --- hamburger menu --- */
.header-hamburger-menu {
  display: none;
}

@media (max-width: 799px) {
  .header-hamburger-menu {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* --- hamburger button --- */
:root {
  --hamburger-bar-h: 3px;
}
.hamburger-trigger {
  position: relative;
  width: 36px;
  height: 28px;
  cursor: pointer;
  z-index: 99999;
}
.hamburger-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--hamburger-bar-h);
  background-color: #000;
  border-radius: 100vmax;
}
.hamburger-trigger,
.hamburger-trigger span {
  display: inline-block;
  transition: all 0.5s;
}
.hamburger-trigger span:nth-of-type(1) {
  top: 0;
}
.hamburger-trigger span:nth-of-type(2) {
  top: calc(50% - (var(--hamburger-bar-h) / 2));
}
.hamburger-trigger span:nth-of-type(3) {
  bottom: 0;
}

/* --- hamburger button - active --- */
.hamburger-trigger.active span:nth-of-type(1) {
  -webkit-transform: translateY(12px) rotate(-45deg);
  transform: translateY(12px) rotate(-45deg);
}
.hamburger-trigger.active span:nth-of-type(2) {
  opacity: 0;
}
.hamburger-trigger.active span:nth-of-type(3) {
  -webkit-transform: translateY(-13px) rotate(45deg);
  transform: translateY(-13px) rotate(45deg);
}

/* --- hamburger menu --- */
@media (max-width: 799px) {
  .header-menu {
    position: fixed;
    display: block;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;
    background-color: #fff;
    border-left: 1px solid #ccc;
    z-index: 9999;
    transform: translateX(100%);
    transition: 0.5s;
    padding: 80px 32px;
  }

  .header-menu-list,
  .header-menu-list a {
    display: block;
    padding: 10px 0;
    font-size: 14px;
  }

  .header-menu-contact {
    font-size: 14px;
    text-align: center;
    padding: 1rem 0;
  }

  .header-menu.active {
    transform: translateX(0);
  }
}

/* ------------------------------
  footer
------------------------------ */
.footer {
  margin-top: 60px;
  background-color: #000000;
}

/* --- footer-upper --- */
.footer-upper {
  padding: 80px 0;
  background-image: url(../img/footer-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top right;
}

.footer-upper-title {
  font-size: 21px;
  margin-bottom: 24px;
  line-height: 2;
}

.footer-upper-link a {
  display: inline-block;
  padding: 1rem 2rem;
  color: #fff;
  background-color: var(--color-accent);
}

@media (max-width: 799px) {
  .footer-upper-title {
    text-shadow: #fff 1px 0 10px;
  }
}

@media (max-width: 699px) {
  .footer-upper-title {
    font-size: 18px;
  }
}

@media (max-width: 599px) {
  .footer-upper {
    text-align: center;
  }

  .footer-upper-title {
    font-size: 3.5vw;
    white-space: nowrap;
  }

  .footer-upper-link a {
    width: 100%;
  }
}

/* --- footer-bottom --- */
.footer-content {
  display: flex;
  justify-content: space-between;
  padding: 64px 0 32px;
  color: #fff;
}

.footer-content-info {
  /* */
}

.footer-content-info h2 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.footer-content-info p,
.footer-content-info dl,
.footer-content-info dt {
  font-size: 12px;
  font-weight: 400;
}

.footer-content-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  font-weight: normal;
}

.footer-content-menu {
  display: flex;
  gap: 2rem;
  font-size: 13px;
}
.footer-content-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-copy {
  width: 100%;
  text-align: right;
  color: #fff;
  font-weight: 400;
  font-size: 14px;
  padding-bottom: 1rem;
}

@media (max-width: 899px) {
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
}
@media (max-width: 599px) {
  .footer-content {
    padding: 40px 0 32px;
  }
  .footer-content-menu {
    flex-direction: column;
    gap: 1rem;
  }
  .footer-content-menu ul {
    display: grid;
    grid-template-columns: 1fr 60%;
  }
  .footer-copy {
    text-align: center;
    margin-top: 2rem;
  }
}
@media (max-width: 460px) {
  .footer-content-info dl {
    grid-template-columns: 1fr;
  }
}
