/*==================================
.header
==================================*/
.site-header {
  position: relative;
  z-index: 20;
}
.site-header a, .site-footer a {
  color: var(--text-color);
  text-decoration: none;
}
.header_set a:hover, .site-footer a:hover {
  text-decoration: underline;
}
/*.header_set 
------------------------------*/
.header_set {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: solid 1px #D8D8D8;
}
/*.h_logo
------------------------------*/
.h_logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header_primary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  padding: 0 var(--content-side-space);
}
.site-title {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.1;
}
.logo_text {
  display: flex;
  flex-direction: column;
}
.site-tagline {
  font-size: 0.6rem;
}
/*.header_catchcopy
------------------------------*/
.header_catchcopy {
  font-size: var(--font-lg);
  margin-left: 7rem;
}
/*.btn_co2
------------------------------*/
a.btn_co2 {
  font-size: var(--font-sm);
  color: var(--gr);
  border: solid 1px var(--gr);
  padding: 0.2rem 0.6rem 0.2rem 2.2rem;
  border-radius: 50px;
  background: url("https://www.buddyworks.co.jp/CMS/wp-content/themes/buddyworks/assets/img/common/icn_co2.svg") no-repeat 12px center / 1.2rem;
}
a:hover.btn_co2 {
  box-shadow: var(--shadow-hover);
}
/*.btn_contact 
------------------------------*/
a.btn_contact {
  display: flex;
  align-items: center;
  font-size: var(--font-mi);
  color: var(--wh);
  height: 4.5rem;
  padding: 1rem 1.3rem 1rem 2.8rem;
  background-image:
    url("https://www.buddyworks.co.jp/CMS/wp-content/themes/buddyworks/assets/img/common/icn_mail.svg"), linear-gradient(135deg, #0C7339 0%, #0C4673 100%);
  background-repeat: no-repeat;
  background-size: 1.2rem auto, cover;
  background-position: 20px center, center;
}
@media (max-width: 1025px) {
  .h_logo img {
    width: 78px;
    height: auto;
  }
  .header_set, .header_primary {
    flex-direction: column;
  }
  .header_primary {
    width: 100%;
    align-items: flex-start;
    padding-top: 1rem;
  }
  .header_catchcopy {
    margin: 0.3rem auto 0.5rem;
  }
  a.btn_co2 {
    margin: 0 auto;
  }
  .header_secondary {
    width: 100%;
  }
  a.btn_contact {
    margin-top: 1em;
    min-height: 4rem;
    height: auto;
    padding: 1rem 1.3rem 1rem 3.2rem;
    background-position: var(--content-side-space) center, center;
  }
}
/*.skip-link 
------------------------------*/
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip-path: inset(50%);
}
.skip-link:focus {
  width: auto;
  height: auto;
  margin: 10px;
  padding: 10px;
  background: var(--gr);
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  z-index: 1000;
  clip-path: none;
}
/*==================================
.funNavi
==================================*/
.funNavi {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 2.2rem;
  text-align: center;
  align-items: stretch;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}
.funNavi > li {
  position: relative;
}
.funNavi_parent {
  display: flex;
  align-items: stretch;
  height: 100%;
}
.funNavi_parent > a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0.7rem 0 0.7rem 0.8rem;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 700;
}
.funNavi_parent > a:hover {
  text-decoration: underline;
}
.funNavi_toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}
.funNavi_toggle::before {
  content: "";
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  background: url("https://www.buddyworks.co.jp/CMS/wp-content/themes/buddyworks/assets/img/common/icn_pullon.svg") no-repeat center center / 0.8rem;
  transition: transform 0.2s ease;
}
.funNavi > li.open .funNavi_toggle::before {
  background-image: url("https://www.buddyworks.co.jp/CMS/wp-content/themes/buddyworks/assets/img/common/icn_pulloff.svg");
}
.funNavi_toggle:hover {
  background: var(--gr-a);
}
.funNavi_toggle:focus-visible {
  outline: 3px solid #003f2a;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #fff;
}
.funNavi > li > ul {
  display: none;
  position: absolute;
  left: 0;
  min-width: 18rem;
  background: #fff;
  padding: 6px 0;
  list-style: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  z-index: 999;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}
.funNavi > li.open > ul {
  display: block;
}
.funNavi > li > ul a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  background: none;
  color: #333;
  white-space: nowrap;
  padding: 0.4rem 1rem;
  text-decoration: none;
}
.funNavi > li > ul a:hover, .funNavi > li > ul a:focus {
  background: var(--gr-a);
  text-decoration: underline;
}
/* hidden text
------------------------------*/
.sr-only, .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/*==================================
.hamburger
==================================*/
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.hamburger_line {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger.is-open .hamburger_line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.is-open .hamburger_line:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open .hamburger_line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
@media (max-width: 1025px) {
  .hamburger {
    display: inline-flex;
    position: absolute;
    top: 30px;
    right: 10px;
    z-index: 9999;
    transform: translateY(-50%);
  }
  .stage {
    display: none;
    position: fixed;
    top: 4rem;
    right: 0;
    left: 0;
    z-index: 9998;
    overflow-y: auto;
    background: #fff;
    border-top: 1px solid #ccc;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
  }
  .stage.is-open {
    display: block;
  }
  .funNavi {
    display: block;
    margin: 0;
    padding: 0;
    box-shadow: none;
  }
  .funNavi > li {
    border-bottom: 1px solid #e5e5e5;
  }
  .funNavi_parent {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
  }
  .funNavi_parent > a {
    flex: 1;
    justify-content: flex-start;
    padding: 1rem;
  }
  .funNavi_toggle {
    width: 3rem;
    min-height: 3rem;
  }
  .funNavi > li > ul {
    position: static;
    min-width: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 0.75rem 1rem;
  }
  .funNavi > li > ul a {
    white-space: normal;
    padding: 0.5rem 1rem;
  }
  body.is-menu-open {
    overflow: hidden;
  }
}
/*動きを抑制する設定への配慮
------------------------------*/
@media (prefers-reduced-motion: reduce) {
  .hamburger_line {
    transition: none;
  }
}
.gotoTop {
  position: fixed;
  right: 2rem;
  bottom: 5rem;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  color: #fff;
  background: linear-gradient(135deg, #0C7339 0%, #0C4673 100%);
  border-radius: 50%;
  border: solid 2px #fff;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
a.gotoTop {
  color: #fff;
}
.gotoTop.is-visible, .gotoTop:focus-visible {
  opacity: 1;
  pointer-events: auto;
}
/*==================================
.footer
==================================*/
.site-footer {
  margin-top: 4rem;
  font-size: var(--font-mi);
  background: var(--gl);
}
/*.footer_inner
------------------------------*/
.footer_inner {
  padding: 0 0 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 2rem;
}
/* bottom-read
------------------------------*/
.bottom-read {
  text-align: center;
  margin: 3rem auto;
}
.bottom-read h2 {
  margin-bottom: 0.2rem;
  color: transparent;
  background: linear-gradient(135deg, #0C7339 0%, #0C4673 100%);
  background-clip: text;
  -webkit-background-clip: text;
}
@media (max-width: 667px) {
  .bottom-read {
    text-align: center;
    margin: 1.5rem auto 0;
  }
  .bottom-read h2 {
    font-size: var(--font-lg);
  }
  .bottom-read h3 {
    font-size: var(--font-sm);
  }
}
/*.f_logo
------------------------------*/
.f_logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
}
.site-footer .site-title {
  margin-top: 0.5rem;
}
/*.footer_nav
------------------------------*/
.footer_nav {
  display: flex;
  justify-content: flex-end;
  gap: 1rem clamp(2rem, 3.5vw, 4rem);
  flex: 1;
}
.footer_nav > ul > li > a {
  display: block;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer_nav_wrap {
  width: 100%;
}
/*.footer_sub_nav
------------------------------*/
.footer_sub_nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 1.5rem;
  padding: 0;
}
.footer_sub_nav:last-of-type li:not(:last-child)::after {
  content: "／";
  padding: 0 0.5rem;
}
/*.footer_line
------------------------------*/
.footer_line {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  color: var(--wh);
  background: linear-gradient(135deg, #0C7339 0%, #0C4673 100%);
  font-size: var(--font-sm);
}
.footer_line a {
  color: var(--wh);
}
.footer_green {
  padding-left: 1.6rem;
  background: url("https://www.buddyworks.co.jp/CMS/wp-content/themes/buddyworks/assets/img/common/icn_eco.svg") no-repeat left 3px / 1.2rem;
}
/*.footer_nav_toggle
------------------------------*/
.footer_nav_toggle {
  display: none;
}
@media (max-width: 1025px) {
  .footer_inner, .footer_line {
    flex-direction: column;
  }
  .footer_inner {
    padding: 1.5rem 0 0.5rem;
  }
  .f_logo {
    margin: auto;
  }
  .f_logo img {
    width: 120px;
    height: auto;
  }
  .footer_nav > ul > li > a {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }
  /*.footer_nav_toggle
------------------------------*/
  .footer_nav_toggle {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.875rem 0;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background: transparent;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
  }
  .footer_nav_toggle::after {
    content: "＋";
  }
  .footer_nav_toggle.is-open::after {
    content: "−";
  }
  .footer_nav {
    display: none;
  }
  .footer_nav.is-open {
    display: block;
  }
}
/*==================================
cookie-banner
==================================*/
#cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #f5f5f5;
  padding: 3em 1em 4em;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  font-size: 0.9rem;
  text-align: center;
  z-index: 1000;
}
.cookie_btn {
  display: inline-block;
  margin: 1rem 0 0;
}
#accept-cookies {
  background-color: var(--gr);
  color: #fff;
}
#accept-cookies:hover {
  background-color: #218838;
}
#decline-cookies:hover {
  background-color: #dedede;
}
#cookie-banner button {
  border: solid 1px;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 1em;
  padding: 0.5em 1em;
  font-size: 0.9rem;
}
@media (max-width: 767px) {
  .cookie_btn {
    display: block;
    margin-top: 0.5rem;
  }
}
/*.breadcrumbs 
------------------------------*/
.breadSet {
  padding: 0.6rem 0;
  font-size: 0.7rem;
  margin-top: 0.3rem;
}
.breadSet a {
  color: inherit;
}
/*==================================
config
==================================*/
h2 {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}
h2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 1.7em;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #10964B 0%, #0C4673 100%);
}
.no-heading-line h2 {
  padding-left: 0;
}
.no-heading-line h2::before {
  content: none;
}
/*target　external
------------------------------*/
a[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-left: 0.4em;
  margin-right: 0.5em;
  background: url("https://www.buddyworks.co.jp/CMS/wp-content/themes/buddyworks/assets/img/common/icn_external.svg") no-repeat center / contain;
  vertical-align: -0.05em;
}
/* 外部リンクアイコンを非表示 */
a[target="_blank"].no-external-icon::after {
  display: none;
}
/*.note
------------------------------*/
.note {
  position: relative;
  margin-top: 0.5rem;
  font-size: var(--font-sm);
}
.note::before {
  content: "※";
  margin-right: 0.25em;
}
.font-sm, .note_source {
  font-size: var(--font-sm);
}
.font-lg {
  font-size: var(--font-lg);
}
/*.marker
------------------------------*/
.marker {
  font-weight: 700;
  background: linear-gradient(transparent 62%, #e7f5b8 62%);
}
/*list-unstyled
------------------------------*/
.footer_nav ul, .footer_sub_nav li, .funNavi {
  margin: 0;
  padding: 0;
  list-style: none;
}
/*content-width
------------------------------*/
.container, .footer_inner, .footer_sub_nav {
  width: min(calc(100% - var(--content-side-space) * 2), var(--content-max-width));
  margin-inline: auto;
}
/*heading-break
------------------------------*/
.heading-break-h1, .heading-break {
  display: block;
}
@media (max-width: 1126px) {
  .heading-break {
    display: inline;
  }
}
/*.pc-br/.sp-br
------------------------------*/
.sp-br {
  display: none;
}
.sp-br-bottom-read {
  display: none;
}
@media (max-width: 999px) {
  .sp-br-bottom-read {
    display: block;
  }
}
@media (max-width: 380px) {
  .sp-br-bottom-read {
    display: none;
  }
}
@media (max-width: 767px) {
  .pc-br {
    display: none;
  }
  .sp-br {
    display: block;
  }
  .heading-break-h1 {
    display: inline;
  }
}