/*
Theme Name: Limbs Capital for OOPS! Child
Description: OOPS! (oops_tcd048) child theme. Uses the OOPS! header/footer and the custom Limbs Capital layout on the front page.
Author: Limbs Capital
Template: oops_tcd048
Version: 1.0.0
Text Domain: limbs-capital-oops-child
*/

/* =========================================================
  Limbs Capital header
  PC: custom header / SP-TB: OOPS! original navigation
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Outfit:wght@100..900&display=swap');
.pb_font_family_type3 {
  font-family: "Noto Sans JP", sans-serif !important;
}

.limbs-header-pc {
  display: none;
}

@media only screen and (min-width: 1201px) {
  .limbs-site-header,
  .limbs-site-header.l-header--large {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100%;
    height: min(5.5556vw, 80px) !important;
    line-height: 1 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  /* OOPS!の「ヘッダーバーを固定する」設定を維持 */
  .limbs-site-header.is-fixed {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
  }

  .limbs-site-header.is-active,
  .limbs-site-header.is-fixed.is-active,
  .limbs-site-header.l-header--large.is-active {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100%;
    height: min(5.5556vw, 80px) !important;
    line-height: 1 !important;
    background: #fff !important;
    box-shadow: none !important;
    animation: limbs-header-slide-down 0.5s ease;
  }

  @keyframes limbs-header-slide-down {
    from {
      transform: translateY(-100%);
    }

    to {
      transform: translateY(0);
    }
  }

  .limbs-site-header.is-fixed ~ .l-main {
    margin-top: 0 !important;
  }

  .limbs-header-pc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - min(11.1111vw, 160px));
    max-width: min(88.8889vw, 1280px);
    height: min(5.5556vw, 80px);
    margin: 0 auto;
  }

  .limbs-header-mobile {
    display: none !important;
  }

  .limbs-header-pc__logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
  }

  .limbs-header-pc__logo img {
    display: block;
    width: min(13.0556vw, 188px);
    height: min(2.4306vw, 35px);
  }

  .limbs-header-pc__right {
    display: flex;
    align-items: center;
    height: 100%;
  }

  .limbs-header-pc__nav,
  .limbs-header-pc__menu {
    height: 100%;
  }

  .limbs-header-pc__menu {
    display: flex;
    align-items: center;
    gap: min(2.1528vw, 31px);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .limbs-header-pc__menu li {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
  }

  .limbs-header-pc__menu a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0;
    color: #000 !important;
    font-family: Arial, "Helvetica Neue", sans-serif;
    font-size: min(1.0417vw, 15px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.09em;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s ease, color 0.3s ease;
  }

  .limbs-header-pc__menu > li:not(.limbs-header-pc__contact) > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: min(1.6667vw, 24px);
    width: 0;
    height: min(0.1389vw, 2px);
    background: #000;
    transform: translateX(-50%);
    transition: width 0.35s ease;
  }

  .limbs-header-pc__contact {
    margin-left: min(0.1389vw, 2px) !important;
  }

  .limbs-header-pc__contact a {
    width: min(10.2778vw, 148px);
    height: min(2.7778vw, 40px);
    border: min(0.0694vw, 1px) solid #000;
    box-sizing: border-box;
    background: #000;
    color: #fff !important;
  }

  .limbs-header-pc__language {
    display: flex;
    align-items: center;
    gap: min(0.6944vw, 10px);
    margin-left: min(2.1528vw, 31px);
  }

  .limbs-header-pc__language a {
    position: relative;
    color: #000 !important;
    font-family: Arial, "Helvetica Neue", sans-serif;
    font-size: min(0.8333vw, 12px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    text-decoration: none;
  }

  .limbs-header-pc__language a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: max(-0.3472vw, -5px);
    width: 0;
    height: min(0.1389vw, 2px);
    background: #000;
    transform: translateX(-50%);
    transition: width 0.35s ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .limbs-header-pc__menu > li:not(.limbs-header-pc__contact) > a:hover::after,
    .limbs-header-pc__language a:hover::after {
      width: 100%;
    }

    .limbs-header-pc__contact a:hover {
      background: #fff;
      color: #000 !important;
    }
  }
}

@media only screen and (max-width: 1200px) {
  .limbs-header-pc {
    display: none !important;
  }

  .limbs-header-mobile {
    display: block;
  }

  .limbs-header-mobile__logo img {
    width: 188px;
    height: 35px;
  }
}

/* footer visibility / copyright
--------------------------------------------------- */
#js-pagetop,
.l-footer__inner {
  display: none !important;
}

.l-footer {
  padding-top: 0;
  background: #fff;
}

.p-copyright {
  background: #fff !important;
  color: #000 !important;
  font-family: Arial, "Helvetica Neue", "Noto Sans JP", sans-serif !important;
  font-size: 14px !important;
  text-align: center !important;
}

.p-copyright * {
  font-family: inherit !important;
}

.p-copyright small {
  display: block !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  color: #000 !important;
  font-family: Arial, "Helvetica Neue", "Noto Sans JP", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 55px !important;
  text-align: center !important;
}

/* =========================================================
  Limbs Capital hamburger navigation
  SP / TB: match the PC header design
========================================================= */
@media only screen and (max-width: 1200px) {
  .limbs-site-header,
  .limbs-site-header.l-header--large,
  .limbs-site-header.is-fixed,
  .limbs-site-header.is-active,
  .limbs-site-header.is-fixed.is-active {
    background: #fff !important;
    box-shadow: none !important;
  }

  .limbs-header-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
  }

  .limbs-header-mobile__logo {
    display: flex;
    align-items: center;
    height: 100%;
  }

  .limbs-header-mobile__logo a {
    display: flex;
    align-items: center;
    height: 100%;
  }

  .limbs-header-mobile__logo img {
    display: block;
    width: min(15.6667vw, 188px);
    height: auto;
  }

  .limbs-header-mobile__button,
  .limbs-header-mobile__button.is-active {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: #fff !important;
    color: #000 !important;
    font-size: 0;
    line-height: 1;
  }

  .limbs-header-mobile__button::before,
  .limbs-header-mobile__button::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 25px;
    height: 2px;
    border-radius: 999px;
    background: #000;
    transform: translateX(-50%);
    transition: top 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }

  .limbs-header-mobile__button::before {
    top: 20px;
    box-shadow: 0 9px 0 #000;
  }

  .limbs-header-mobile__button::after {
    top: 38px;
  }

  .limbs-header-mobile__button.is-active::before {
    top: 50%;
    box-shadow: none;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .limbs-header-mobile__button.is-active::after {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .limbs-header-mobile__nav {
    position: static;
  }

  .limbs-header-mobile__menu {
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 999;
    display: none;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 60px);
    padding: min(2.5vw, 30px) min(5vw, 60px) min(3.3333vw, 40px);
    overflow-y: auto;
    box-sizing: border-box;
    background: #fff !important;
    box-shadow: 0 min(0.3333vw, 4px) min(1.6667vw, 20px) rgba(0, 0, 0, 0.08);
  }


  .limbs-site-header.is-fixed .limbs-header-mobile__menu,
  .limbs-site-header.is-active .limbs-header-mobile__menu {
    height: auto;
    max-height: calc(100vh - 60px);
  }
  .limbs-header-mobile__menu > li {
    float: none;
    width: 100%;
    margin: 0;
    border-bottom: min(0.0833vw, 1px) solid #e5e5e5;
  }

  .limbs-header-mobile__menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    width: fit-content;
    height: min(4.8333vw, 58px);
    padding: 0;
    box-sizing: border-box;
    background: transparent !important;
    color: #000 !important;
    font-family: Arial, "Helvetica Neue", sans-serif;
    font-size: min(1.25vw, 15px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.09em;
    text-decoration: none;
  }

  .limbs-header-mobile__menu > li:not(.limbs-header-mobile__contact):not(.limbs-header-mobile__language) > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: min(1.0833vw, 13px);
    width: 0;
    height: min(0.1667vw, 2px);
    background: #000;
    transition: width 0.35s ease;
  }

  .limbs-header-mobile__contact {
    padding: min(2.5vw, 30px) 0;
    border-bottom: 0 !important;
  }

  .limbs-header-mobile__contact > a,
  .limbs-header-mobile__contact > a:link,
  .limbs-header-mobile__contact > a:visited,
  .limbs-header-mobile__contact > a:focus {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: min(24.6667vw, 296px) !important;
    height: min(4.1667vw, 50px) !important;
    border: min(0.0833vw, 1px) solid #000 !important;
    background: #000 !important;
    color: #fff !important;
  }

  .limbs-header-mobile__language {
    display: flex;
    align-items: center;
    gap: min(1vw, 12px);
    padding-top: min(1.3333vw, 16px);
    border-bottom: 0 !important;
  }

  .limbs-header-mobile__language > a {
    position: relative;
    display: inline-flex !important;
    width: auto !important;
    height: auto !important;
    padding: min(0.8333vw, 10px) 0 !important;
    color: #000 !important;
    font-size: min(1vw, 12px) !important;
    line-height: 1 !important;
  }

  .limbs-header-mobile__language > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: min(0.1667vw, 2px);
    background: #000;
    transform: translateX(-50%);
    transition: width 0.35s ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .limbs-header-mobile__menu > li:not(.limbs-header-mobile__contact):not(.limbs-header-mobile__language) > a:hover {
      color: #000 !important;
    }

    .limbs-header-mobile__menu > li:not(.limbs-header-mobile__contact):not(.limbs-header-mobile__language) > a:hover::after,
    .limbs-header-mobile__language > a:hover::after {
      width: 100%;
    }

    .limbs-header-mobile__contact > a:hover {
      background: #fff !important;
      color: #000 !important;
    }
  }
}

@media only screen and (max-width: 767px) {
  .limbs-site-header,
  .limbs-site-header.l-header--large,
  .limbs-site-header.is-fixed,
  .limbs-site-header.is-active,
  .limbs-site-header.is-fixed.is-active {
    height: 16vw !important;
    line-height: 16vw !important;
  }

  .limbs-site-header.is-fixed ~ .l-main {
    margin-top: 16vw;
  }

  .limbs-header-mobile {
    height: 16vw;
  }

  .limbs-header-mobile__logo {
    padding-left: 5.8667vw;
    width: 40.1333vw !important;
  }

  .limbs-header-mobile__logo img {
    width: 100%;
    height: auto;
  }

  .limbs-header-mobile__button,
  .limbs-header-mobile__button.is-active {
    width: 16vw;
    height: 16vw;
  }

  .limbs-header-mobile__button::before,
  .limbs-header-mobile__button::after {
    width: 6.6667vw;
    height: 0.5333vw;
    border-radius: 266.4vw;
  }

  .limbs-header-mobile__button::before {
    top: 5.3333vw;
    box-shadow: 0 2.4vw 0 #000;
  }

  .limbs-header-mobile__button::after {
    top: 10.1333vw;
  }

  .limbs-header-mobile__menu {
    top: 16vw;
    max-height: calc(100vh - 16vw);
    padding: 7.4667vw 8vw 10.6667vw;
    box-shadow: 0 1.0667vw 5.3333vw rgba(0, 0, 0, 0.08);
  }


  .limbs-site-header.is-fixed .limbs-header-mobile__menu,
  .limbs-site-header.is-active .limbs-header-mobile__menu {
    max-height: calc(100vh - 16vw);
  }
  .limbs-header-mobile__menu > li {
    border-bottom-width: 0.2667vw;
  }

  .limbs-header-mobile__menu > li > a {
    height: 14.4vw;
    font-size: 4vw;
  }

  .limbs-header-mobile__menu > li:not(.limbs-header-mobile__contact):not(.limbs-header-mobile__language) > a::after {
    bottom: 3.4667vw;
    height: 0.5333vw;
  }

  .limbs-header-mobile__contact {
    padding: 8vw 0;
  }

  .limbs-header-mobile__contact > a,
  .limbs-header-mobile__contact > a:link,
  .limbs-header-mobile__contact > a:visited,
  .limbs-header-mobile__contact > a:focus {
    width: 100% !important;
    height: 13.3333vw !important;
    border-width: 0.2667vw !important;
    font-size: 4vw;
  }

  .limbs-header-mobile__language {
    gap: 3.2vw;
    padding-top: 4.2667vw;
  }

  .limbs-header-mobile__language > a {
    padding: 2.6667vw 0 !important;
    font-size: 3.2vw !important;
  }

  .limbs-header-mobile__language > a::after {
    height: 0.5333vw;
  }
}
