/* ===============================
ハンバーガーメニュー
=============================== */

/* 開くボタン */
.hamburgerBtnArea {
  position: fixed;
  top: 3px;
  right: 0px;
  width: 60px;
  height: 60px;
}

.hamburgerBtnArea .hamburgerBtn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 3px;
  width: 60px;
  height: 60px;
}

.hamburgerBtnArea .hamburgerBtn__bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: #333333;
}

@media screen and (min-width: 768px) {
  .hamburgerBtnArea {
    top: 32px;
  }
}

/* 閉じるボタン */
.hamburgerBtn--close {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
  width: 64px;
  height: 64px;
}

.hamburgerBtn__bar--close {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 18px;
  height: 2px;
  background-color: #333333;
  transform: translate(-50%, -50%) rotate(45deg);
}

.hamburgerBtn__bar--close2 {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ハンバーガーメニュー本体 */
.hamburgerMenu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  transform: translateY(130px);
  visibility: hidden;
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s, opacity 0.35s;
  z-index: 1000;
}

@media screen and (min-width: 768px) {
  .hamburgerMenu {
    top: 32px;
  }
}

.hamburgerMenu__nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 80px 24px 48px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.hamburgerMenu__list {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hamburgerMenu__link {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.075em;
  color: #333333;
  text-decoration: none;
}

.hamburgerMenu__btns {
  display: flex;
  gap: 8px;
}

.hamburgerMenu__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.075em;
  line-height: 100%;
  color: #ffffff;
  width: 50%;
  height: 44px;
  border-radius: 999px;
  background-color: #f56f61;
}

.hamburgerMenu__btn--border {
  color: #0069b9;
  background-color: #ffffff;
  border: 1px solid #0069b9;
}

/* ===============================
ヘッダー
=============================== */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 66px;
  padding: 0 16px;
  background-color: #ffffff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

.header__logo img {
  width: 200px;
  height: auto;
}

/* sm以上 */
@media screen and (min-width: 768px) {
  .header {
    top: 29px;
  }
}

/* md以上 */
@media screen and (min-width: 960px) {
  .header {
    height: 76px;
  }
}

/* ===============================
   グローバルナビ
=============================== */

.gnav__list {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 1.5rem;
}

.gnav__item-btn {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gnav__link {
  color: #333333;
  text-decoration: none;
}

.gnav__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  line-height: 100%;
  color: #ffffff;
  width: 160px;
  height: 44px;
  border-radius: 999px;
  background-color: #f56f61;
}

.gnav__btn--border {
  color: #0069b9;
  background-color: #ffffff;
  border: 1px solid #0069b9;
}

/* ===============================
   フッター
=============================== */
.footer {
  color: #333333;
  background: #333333;
  padding: 64px 20px;
}

.footer__wrap {
  max-width: 1040px;
  margin: 0 auto;
}

.footer__left {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px 32px;
  max-width: 472px;
}

.footer__lead {
  font-size: 1.3rem;
  line-height: 1.375;
  margin-bottom: 20px;
  color: #928068;
  font-weight: 600;
}

.footer__logo {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
}

.footer__tel {
  font-size: 1.6rem;
  line-height: 1.375;
  font-weight: 600;
}

.footer__tel span {
  font-size: 1.2rem;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer__nav a {
  font-size: 1.4rem;
  color: #fff;
  text-decoration: none;
}

.footer__cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: 700;
  width: 270px;
}

.footer__btn--primary {
  background: #f56f61;
  color: #fff;
}

.footer__btn--secondary {
  background: #fff;
  color: #0069b9;
}

.footer__btn--icon {
  width: 22px;
  height: auto;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.2rem;
}

.footer__bottom a {
  color: #ccc;
  text-decoration: none;
}
@media screen and (max-width: 959px) {
  .footer__left {
    margin: 0 auto 48px;
  }

  .footer__wrap {
    text-align: center;
  }

  .footer__cta,
  .footer__nav,
  .footer__bottom {
    align-items: center;
  }

  .footer__btn {
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
  }
}

@media screen and (min-width: 960px) {
  .footer {
    padding: 72px 36px;
  }

  .footer__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 64px;
    margin-bottom: 48px;
  }

  .footer__nav-area {
    padding-left: 64px;
  }

  .footer__nav {
    gap: 32px;
  }

  .footer__bottom {
    gap: 32px;
  }

  .footer__nav,
  .footer__cta,
  .footer__bottom {
    flex-direction: row;
  }

  .footer__cta {
    gap: 32px;
  }
}
