/* ==========================================================
   LIFE WORKS 共通ヘッダー
   ========================================================== */

.lw-pro-home__header {
  background-color: #fff;
  position: relative;
  z-index: 100;
}

body.page-id-8 .lw-pro-home__navigation {
  height: 100%;
}

.lw-pro-home__header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: min(1110px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0;
}

.lw-pro-home__brand-image {
  height: 40px;
  width: auto;
  display: block;
}

.lw-pro-home__desktop-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.lw-pro-home__desktop-nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lw-pro-home__desktop-nav-list a {
  color: #514232;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.lw-pro-home__header-cta {
  display: inline-flex;
  box-sizing: border-box;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #d96b70;
  background-color: #fff4f1;
  color: #241f1d;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lw-pro-home__header-cta:hover {
  border-color: #c9252d;
  background-color: #fee9e5;
}

.lw-pro-home__header-cta::after {
  color: #c9252d;
  font-size: 16px;
  content: "→";
}

.lw-pro-home__header-cta:visited,
body.page-id-8 .lw-pro-home__header-cta:visited,
body.page-id-8 .lw-pro-home__header-cta:hover,
body.page-id-8 .lw-pro-home__header-cta:focus-visible {
  color: #241f1d;
}

.lw-pro-home__menu-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.lw-pro-home__mobile-menu {
  display: none;
}

body.page-id-8 .lw-pro-home__header {
  height: 95px;
  overflow: hidden;
  background-color: #fff;
}

body.page-id-8 .lw-pro-home__header-inner {
  width: min(1110px, calc(100% - 48px));
  max-width: none;
  height: 100%;
  margin-inline: auto;
  padding: 0;
}

body.page-id-8 .lw-pro-home__brand {
  display: block;
  flex: 0 0 auto;
  width: 117px;
  line-height: 0;
}

body.page-id-8 .lw-pro-home__brand-image {
  display: block;
  width: 117px;
  max-width: none;
  height: auto;
  transform: translate(1px, -3px);
}

body.page-id-8 .lw-pro-home__desktop-nav {
  gap: 28px;
  margin-left: auto;
}

body.page-id-8 .lw-pro-home__desktop-nav-list a {
  position: relative;
  color: #514232;
  font-size: 16px;
  line-height: 1.4;
  white-space: nowrap;
}

body.page-id-8 .lw-pro-home__desktop-nav-list a[href="/"]::after {
  position: absolute;
  right: 0;
  bottom: -31px;
  left: 0;
  height: 2px;
  background: #c9252d;
  content: "";
}

body.page-id-8 .lw-pro-home__header-cta {
  width: 210px;
  min-height: 57px;
  padding: 0 20px;
  font-size: 14px;
  line-height: 1.4;
}

body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__header,
body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__header * {
  box-sizing: border-box;
}

body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__header a:focus-visible,
body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__header button:focus-visible {
  outline: 3px solid rgba(201, 37, 45, 0.6);
  outline-offset: 4px;
}

body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__header {
  height: 95px;
  overflow: hidden;
  border-bottom: 1px solid #eee7e1;
}

body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__header-inner {
  width: min(var(--lw-lower-width), calc(100% - 48px));
  max-width: none;
  height: 100%;
  padding: 0;
}

body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__brand {
  display: block;
  flex: 0 0 auto;
  width: 117px;
  line-height: 0;
}

body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__brand-image {
  width: 117px;
  max-width: none;
  height: auto;
  transform: translate(1px, -3px);
}

body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__desktop-nav {
  gap: 28px;
  margin-left: auto;
}

body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__desktop-nav-list a {
  position: relative;
  color: #514232;
  font-size: 16px;
  line-height: 1.4;
  white-space: nowrap;
}

body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__header-cta {
  width: 210px;
  min-height: 57px;
  padding: 0 20px;
  color: #241f1d;
  font-size: 14px;
}

body.page-id-20 .lw-pro-home__desktop-nav-list a[href="/climbing-wall-construction/"]::after,
body.page-id-10 .lw-pro-home__desktop-nav-list a[href="/works/"]::after,
body.page-id-12 .lw-pro-home__desktop-nav-list a[href$="/about/"]::after,
body.page-id-14 .lw-pro-home__desktop-nav-list a[href="/contact/"]::after {
  position: absolute;
  right: 0;
  bottom: -31px;
  left: 0;
  height: 2px;
  background: var(--lw-lower-red);
  content: "";
}

@media (max-width: 1080px) {
  body.page-id-8 .lw-pro-home__header,
  body.page-id-8 .lw-pro-home__header * {
    box-sizing: border-box;
  }

  body.page-id-8 .lw-pro-home__header {
    height: auto;
    min-height: 64px;
    overflow: visible;
  }

  body.page-id-8 .lw-pro-home__header-inner {
    position: relative;
    width: 100%;
    max-width: none;
    height: 64px;
    margin: 0;
    padding: 0 18px;
  }

  body.page-id-8 .lw-pro-home__brand {
    width: 60px;
  }

  body.page-id-8 .lw-pro-home__brand-image {
    width: 60px;
    height: auto;
    transform: none;
  }

  body.page-id-8 .lw-pro-home__desktop-nav {
    display: none;
  }

  body.page-id-8 .lw-pro-home__menu-button {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 4px;
    border: 0;
    background: transparent;
    appearance: none;
  }

  body.page-id-8 .lw-pro-home__menu-button span {
    position: absolute;
    left: 4px;
    display: block;
    width: 24px;
    height: 2px;
    background-color: #241f1d;
    transition: top 180ms ease, transform 180ms ease, opacity 180ms ease;
  }

  body.page-id-8 .lw-pro-home__menu-button span:nth-child(1) {
    top: 7px;
  }

  body.page-id-8 .lw-pro-home__menu-button span:nth-child(2) {
    top: 15px;
  }

  body.page-id-8 .lw-pro-home__menu-button span:nth-child(3) {
    top: 23px;
  }

  body.page-id-8 .lw-pro-home__menu-button[aria-expanded="true"] span:nth-child(1) {
    top: 15px;
    transform: rotate(45deg);
  }

  body.page-id-8 .lw-pro-home__menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  body.page-id-8 .lw-pro-home__menu-button[aria-expanded="true"] span:nth-child(3) {
    top: 15px;
    transform: rotate(-45deg);
  }

  body.page-id-8 .lw-pro-home__mobile-menu:not([hidden]) {
    display: block;
    width: 100%;
    padding: 8px 18px 22px;
    border-top: 1px solid #e1d7ca;
    border-bottom: 1px solid #e1d7ca;
    background-color: #f8f5f0;
  }

  body.page-id-8 .lw-pro-home__mobile-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  body.page-id-8 .lw-pro-home__mobile-menu li {
    margin: 0;
    border-bottom: 1px solid #ded5ca;
  }

  body.page-id-8 .lw-pro-home__mobile-menu li a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 4px;
    color: #514232;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
  }

  body.page-id-8 .lw-pro-home__mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 54px;
    margin-top: 18px;
    padding: 12px 22px;
    border: 1px solid #d96b70;
    border-radius: 999px;
    background-color: #fff4f1;
    color: #241f1d;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
  }

  body.page-id-8 .lw-pro-home__mobile-menu-cta span:last-child {
    color: #c9252d;
  }

  body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__header {
    height: auto;
    min-height: 64px;
    overflow: visible;
  }

  body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__header-inner {
    position: relative;
    width: 100%;
    height: 64px;
    margin: 0;
    padding: 0 18px;
  }

  body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__brand,
  body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__brand-image {
    width: 60px;
    height: auto;
    transform: none;
  }

  body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__desktop-nav {
    display: none;
  }

  body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__menu-button {
    position: relative;
    display: block;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 4px;
    border: 0;
    background: transparent;
  }

  body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__menu-button span {
    position: absolute;
    left: 4px;
    display: block;
    width: 24px;
    height: 2px;
    background: #241f1d;
    transition: top 180ms ease, transform 180ms ease, opacity 180ms ease;
  }

  body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__menu-button span:nth-child(1) { top: 7px; }
  body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__menu-button span:nth-child(2) { top: 15px; }
  body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__menu-button span:nth-child(3) { top: 23px; }
  body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__menu-button[aria-expanded="true"] span:nth-child(1) { top: 15px; transform: rotate(45deg); }
  body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__menu-button[aria-expanded="true"] span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

  body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__mobile-menu:not([hidden]) {
    display: block;
    width: 100%;
    padding: 8px 18px 22px;
    border-bottom: 1px solid #e1d7ca;
    background: #f8f5f0;
  }

  body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__mobile-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__mobile-menu li {
    border-bottom: 1px solid #ded5ca;
  }

  body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__mobile-menu li a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 4px;
    color: #514232;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
  }

  body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 54px;
    margin-top: 18px;
    padding: 12px 22px;
    border: 1px solid #d96b70;
    border-radius: 999px;
    background: #fff4f1;
    color: #241f1d;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }

  body:is(.page-id-20, .page-id-10, .page-id-12, .page-id-14, .page-id-649) .lw-pro-home__mobile-menu-cta span:last-child {
    color: var(--lw-lower-red);
  }
}
