/* Scoped additions for bugsy_03 only */

header.bugsy03-header,
header.bugsy03-header * {
  box-sizing: border-box;
}

header.bugsy03-header {
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255,255,255,.85);
  -webkit-transition: all .8s ease-in-out 0s;
  -ms-transition: all .8s ease-in-out 0s;
  transition: all .8s ease-in-out 0s;
}

header.bugsy03-header .logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: 56px;
}

@media print, screen and (min-width: 768px) {
  header.bugsy03-header {
    min-height: 0;
    padding: .25rem 0;
  }

  header.bugsy03-header .logo {
    margin-left: 1.5rem;
  }

  header.bugsy03-header .logo img {
    max-height: 48px;
  }

  header.bugsy03-header .h_nav_list > li > a {
    padding: .95em .9em;
  }

  header.bugsy03-header .recruit_btn {
    width: 6rem;
    height: 6rem;
  }

  header.bugsy03-header .recruit_btn::before {
    width: 4.7rem;
    height: 4.7rem;
  }
}

header.bugsy03-header .header-menu {
  margin-left: auto;
}

header.bugsy03-header .h_nav_list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

header.bugsy03-header .h_nav_list > li > a {
  display: block;
  padding: 1.5em 0.95em;
  color: #1d2087;
  text-decoration: none;
  font-weight: 700;
  -webkit-transition: all .8s ease-in-out 0s;
  -ms-transition: all .8s ease-in-out 0s;
  transition: all .8s ease-in-out 0s;
}

header.bugsy03-header .h_nav_list > li > a:link,
header.bugsy03-header .h_nav_list > li > a:visited {
  color: #1d2087;
  text-decoration: none;
}

header.bugsy03-header .h_nav_list > li > a:hover,
header.bugsy03-header .h_nav_list > li > a:focus {
  color: #fff;
  background: #1d2087;
}

header.bugsy03-header .recruit_btn {
  width: 7.5em;
  height: 7.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1d2087;
  color: #1d2087;
  text-decoration: none;
  border: .3125em solid #fff;
  position: relative;
  -webkit-transition: all .8s ease-in-out 0s;
  -ms-transition: all .8s ease-in-out 0s;
  transition: all .8s ease-in-out 0s;
}

header.bugsy03-header .recruit_btn::before {
  content: "";
  width: 5.9em;
  height: 5.9em;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  inset: 0;
  margin: auto;
  -webkit-transition: all .8s ease-in-out 0s;
  -ms-transition: all .8s ease-in-out 0s;
  transition: all .8s ease-in-out 0s;
}

header.bugsy03-header .recruit_btn:hover,
header.bugsy03-header .recruit_btn:focus {
  background: #fff;
  color: #fff;
}

header.bugsy03-header .recruit_btn:hover::before,
header.bugsy03-header .recruit_btn:focus::before {
  background: #1d2087;
}

header.bugsy03-header .recruit_btn span {
  position: relative;
  z-index: 1;
  font-weight: 700;
}

header.bugsy03-header .h_nav_btn {
  display: none;
}

#pankuzu {
  min-height: 4rem;
  background: #fff;
}

#pankuzu .pankuzu_list {
  display: flex;
  align-items: center;
  min-height: 4rem;
  list-style: none;
  margin: 0 auto;
  padding: 0 40px;
  width: 68.75%;
  color: #4c4948;
  font-size: 0.875rem;
}

#pankuzu .pankuzu_list li {
  list-style: none;
  margin: 0;
  padding: 0;
}

#pankuzu .pankuzu_list li:not(:last-child)::after {
  content: "　>　";
}

#pankuzu .pankuzu_list a {
  color: #4c4948;
  text-decoration: underline;
}

#under_page_tit_area {
  background: #1d2087;
  color: #fff;
  position: relative;
  z-index: 20;
  overflow: visible;
}

#under_page_tit_area .inner {
  width: 68.75%;
  margin: 0 auto;
}

#under_page_tit_area .under_page_tit_box {
  min-height: 7.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

#under_page_tit_area .under_page_top_tit,
#under_page_tit_area .under_page_top_tit_jp {
  color: #fff;
  margin: 0;
}

#under_page_tit_area .under_page_top_tit {
  font-size: 3.125rem;
  letter-spacing: .07em;
  line-height: 1.2;
}

#under_page_tit_area .under_page_top_tit_jp {
  font-size: 1.5rem;
  letter-spacing: .1em;
  line-height: 1.2;
  font-weight: 700;
}

main > #pb-content {
  position: relative;
  z-index: 1;
}

main > #pb-content #et-boc .et-l .et_pb_section:first-child {
  margin-top: 0 !important;
}

footer.bugsy03-footer,
footer.bugsy03-footer * {
  box-sizing: border-box;
}

footer.bugsy03-footer {
  background: #eeeeef;
  padding: 3.125rem 0 3.4375rem;
  position: relative;
}

footer.bugsy03-footer .inner {
  width: 95.4545%;
  margin: 0 auto;
}

footer.bugsy03-footer .copyright {
  font-size: .5625rem;
  letter-spacing: .07em;
}

@media only screen and (max-width: 767px) {
  main {
    padding-top: 0 !important;
  }

  body.page article#main,
  body.single article#main {
    padding-top: 15.6454vw;
  }

  header.bugsy03-header {
    display: flex;
    align-items: center;
    height: 15.6454vw;
  }

  header.bugsy03-header .logo {
    margin: 0 0 0 5.1vw !important;
    padding: 0 !important;
    width: 60.3215vw !important;
    height: auto !important;
    flex: 0 1 auto;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    z-index: 1000;
  }

  header.bugsy03-header .logo a {
    display: block;
  }

  header.bugsy03-header .logo img {
    width: 100%;
    height: auto;
    max-height: none;
  }

  header.bugsy03-header .header-menu {
    margin-left: auto;
  }

  header.bugsy03-header .h_nav_btn {
    margin-left: auto;
    flex: 0 0 15.6454vw;
    position: relative;
    z-index: 1001;
    width: 15.6454vw;
    height: 15.6454vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.9vw 3.2vw;
  }

  header.bugsy03-header .recruit_btn {
    flex: 0 0 15.6454vw;
    width: 15.6454vw;
    height: 15.6454vw;
    border-width: .6519vw;
    margin-left: 0;
  }

  #mv {
    padding-top: 0 !important;
    margin-bottom: 6vw;
  }

  body.home #mv,
  body.blog #mv,
  body.front-page #mv {
    margin-top: 15.6454vw;
  }

  header.bugsy03-header .logo {
    margin-left: 5.1vw;
  }

  header.bugsy03-header .logo img {
    max-height: 9vw;
  }

  header.bugsy03-header .h_nav_btn {
    width: 15.6454vw;
    height: 15.6454vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.9vw 3.2vw;
  }

  header.bugsy03-header .h_nav_btn span {
    width: 100%;
    height: .391vw;
    background: #231815;
  }

  header.bugsy03-header .h_nav_btn span + span {
    margin-top: 1.43vw;
  }

  header.bugsy03-header .h_nav_list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(29, 32, 135, .94);
    padding: 2.3vw 10.4vw 7.8vw;
  }

  header.bugsy03-header .h_nav_list > li {
    border-bottom: 2px solid #fff;
  }

  header.bugsy03-header .h_nav_list > li > a {
    color: #fff;
    padding: 3.65vw 0;
  }

  header.bugsy03-header .h_nav_list > li > a:link,
  header.bugsy03-header .h_nav_list > li > a:visited {
    color: #fff;
  }

  header.bugsy03-header .recruit_btn {
    width: 15.6454vw;
    height: 15.6454vw;
    border-width: .6519vw;
    margin-left: auto;
  }

  header.bugsy03-header .recruit_btn::before {
    width: 12.2928vw;
    height: 12.2928vw;
  }

  #pankuzu {
    display: none;
  }

  #under_page_tit_area .inner {
    width: 100%;
  }

  #under_page_tit_area .under_page_tit_box {
    min-height: 27.3794vw;
    gap: 1.25rem;
  }

  #under_page_tit_area .under_page_top_tit {
    font-size: 2rem;
  }

  #under_page_tit_area .under_page_top_tit_jp {
    font-size: 1.125rem;
  }

  footer.bugsy03-footer {
    padding: 9.1265vw 0 24.7718vw;
  }
}

/* Top slider: full-width image and no background color switching */
#mv,
#mv.beauty,
#mv.barber,
#mv .mv_slider li,
#mv .mv_slider li.mv_slider_item02 {
  background: transparent !important;
  background-color: transparent !important;
}

@media print, screen and (min-width: 768px) {
  #mv .mv_slider_inner,
  #mv:not(.top) .mv_inner {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
  }

  #mv .mv_img,
  #mv .mv_img picture,
  #mv .mv_img img {
    width: 100% !important;
  }
}

@media only screen and (max-width: 767px) {
  #mv .mv_slider_inner,
  #mv .mv_img,
  #mv .mv_img picture {
    width: 100% !important;
    height: auto !important;
  }

  #mv .mv_img img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}
