/*! destyle.css v4.0.1 | MIT License | https://github.com/nicolas-cusan/destyle.css */

/* Reset box-model and set borders */
/* ============================================ */

*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
  min-width: 0;
}

/* Document */
/* ============================================ */

html {
  line-height: 1.15;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* Sections */
/* ============================================ */

main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists */
/* ============================================ */

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

pre {
  font-family: monospace, monospace;
  font-size: inherit;
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

abbr[title] {
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: inherit;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */

svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none;
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
  cursor: default;
}

:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

option {
  padding: 0;
}

fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

[type="number"] {
  -moz-appearance: textfield;
}

label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */

details {
  display: block;
}

summary {
  display: list-item;
}

[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */

table {
  border-color: inherit;
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

/* Theme base */
/* ============================================ */

html,
body {
  height: 100%;
}

/* BeeConnect shared foundation */
:root {
  font-size: 62.5%;
  --bc-green: #499e59;
  --bc-green-dark: #3b954c;
  --bc-green-pale: #e5ede1;
  --bc-green-soft: #edf5ee;
  --bc-cream: #fdf9f5;
  --bc-brown: #7a6f68;
  --bc-border: #e3d4cd;
  --bc-ink: #353636;
  --bc-content: 1224px;
  --bc-gutter: max(24px, calc((100vw - var(--bc-content)) / 2));
  --bc-font-sans: "BConnect Noto Sans JP", "Noto Sans JP", sans-serif;
  --bc-font-mincho: "BConnect Shippori Mincho", "Shippori Mincho", serif;
  --bc-font-serif: "BConnect Libertinus Serif", "Libertinus Serif", Georgia, serif;
}

body {
  margin: 0;
  color: var(--bc-brown);
  background: #fff;
  font-family: var(--bc-font-sans);
  font-size: 1.6rem;
  line-height: 2;
  overflow-wrap: anywhere;
}

body.is-menu-open {
  overflow: hidden;
  padding-inline-end: var(--bc-locked-gutter, 0px);
}

body.is-menu-open .site-header {
  width: calc(100% - var(--bc-locked-gutter, 0px));
}

body.is-menu-open .site-header__actions {
  right: calc(119px + var(--bc-locked-gutter, 0px));
}

body.is-menu-open .site-header__menu-button {
  right: var(--bc-locked-gutter, 0px);
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a,
button {
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #f4b942;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 8px;
  left: 8px;
  padding: 8px 16px;
  color: #fff;
  background: var(--bc-green);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-main {
  display: block;
}

.site-header {
  --bc-header-follow-offset: 0px;
  position: absolute;
  z-index: 100;
  inset: 0 0 auto;
  height: 92px;
}

body.admin-bar .site-header {
  --bc-header-follow-offset: 32px;
  top: 32px;
}

.bc-admin-bar-toggle {
  display: none;
}

html.js body.bc-compact-admin-bar #wpadminbar {
  position: fixed;
  opacity: 1;
  transform: translateY(-100%);
  transition: transform 180ms ease;
}

html.js body.bc-compact-admin-bar.is-wpadminbar-open #wpadminbar {
  transform: translateY(0);
}

html.js body.admin-bar.bc-compact-admin-bar .site-header {
  --bc-header-follow-offset: 0px;
  top: 0;
}

html.js body.admin-bar.bc-compact-admin-bar.is-wpadminbar-open .site-header {
  --bc-header-follow-offset: 32px;
}

html.js body.bc-compact-admin-bar .bc-admin-bar-toggle {
  position: fixed;
  z-index: 100001;
  top: 0;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 22px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 0;
  border-radius: 0 0 999px 999px;
  color: #fff;
  background: rgba(29, 35, 39, 0.88);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  opacity: 0.78;
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
  transition: top 180ms ease, opacity 180ms ease, background-color 180ms ease;
}

html.js body.bc-compact-admin-bar .bc-admin-bar-toggle span {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease, margin 180ms ease;
}

html.js body.bc-compact-admin-bar.is-wpadminbar-open .bc-admin-bar-toggle {
  top: 32px;
  background: rgba(29, 35, 39, 0.94);
  opacity: 1;
}

html.js body.bc-compact-admin-bar.is-wpadminbar-open .bc-admin-bar-toggle span {
  margin-top: 3px;
  transform: rotate(225deg);
}

html.js body.bc-compact-admin-bar .bc-admin-bar-toggle:focus-visible {
  outline: 2px solid #d8b460;
  outline-offset: 2px;
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  html.js body.bc-compact-admin-bar .bc-admin-bar-toggle:hover {
    opacity: 1;
  }
}

.site-header__inner {
  position: relative;
  width: 100%;
  height: 92px;
  padding: 16px 96px 0 24px;
}

.site-header__brand {
  --bc-header-brand-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  height: 34px;
  min-height: 34px;
  isolation: isolate;
  transition: top 180ms ease, opacity 200ms ease;
}

html.js .site-header__brand {
  position: fixed;
  top: calc(var(--bc-header-follow-offset) + var(--bc-header-brand-top));
  left: 24px;
}

/* Keep the existing touch target without adding a visible logo background. */
html.js .site-header__brand::before {
  position: absolute;
  z-index: -1;
  inset: -12px;
  content: "";
}

.site-header__brand img {
  width: 200px;
  height: 34px;
  object-fit: contain;
}

.site-header__brand span,
.site-footer__brand span {
  color: var(--bc-ink);
  font-family: "BConnect EB Garamond", "EB Garamond", serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.site-header__brand span {
  align-self: flex-end;
  margin-bottom: 2px;
  line-height: 23px;
  letter-spacing: 0;
}

.site-header__actions {
  position: fixed;
  top: calc(var(--bc-header-follow-offset) + 15px);
  right: 119px;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: top 180ms ease;
}

.site-header__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  height: 44px;
  padding: 12px 20px;
  color: #fff;
  background: var(--bc-green);
  border-radius: 8px;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.site-header__action--entry {
  width: 136px;
  min-width: 136px;
  background: var(--bc-entry-gradient);
}

.site-header__action--contact {
  width: 170px;
  min-width: 170px;
  height: 46px;
  border: 1px solid transparent;
  transition: background-color 200ms ease, border-color 180ms ease;
}

/* Figma 368:636: reveal the white edge only while a fixed green control crosses a green surface. */
.site-header__action--contact.is-over-green {
  border-color: #fff;
}

.site-header__action--entry,
.global-menu__cta--entry,
.lower-cta-card--entry {
  --bc-entry-gradient: linear-gradient(var(--bc-entry-angle, 114.463deg), #ee6d6b 7.5217%, #d8b460 95.302%);
  --bc-entry-gradient-hover: linear-gradient(var(--bc-entry-angle, 114.463deg), #d8b460 7.5217%, #ee6d6b 95.302%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.site-header__action--entry::before,
.global-menu__cta--entry::before,
.lower-cta-card--entry::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background: var(--bc-entry-gradient-hover);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.site-header__action--entry > *,
.global-menu__cta--entry > *,
.lower-cta-card--entry > * {
  position: relative;
  z-index: 1;
}

.site-header__action--entry:focus-visible::before,
.global-menu__cta--entry:focus-visible::before,
.lower-cta-card--entry:focus-visible::before {
  opacity: 1;
}

.site-header__action--contact:focus-visible {
  background: #3a904a;
}

.site-header__action img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.site-header__menu-button {
  position: fixed;
  top: var(--bc-header-follow-offset);
  right: 0;
  width: 96px;
  height: 92px;
  padding: 0;
  transition: top 180ms ease;
}

.site-header__menu-button:focus-visible {
  outline-offset: -5px;
}

.site-header__menu-button img,
.site-header__menu-desktop {
  position: absolute;
  inset: 0;
  width: 96px;
  height: 92px;
  transition: opacity 0.2s ease;
}

.site-header__menu-desktop {
  overflow: visible;
  pointer-events: none;
}

/* Soften the shared silhouette at 1x pixel density; keep the menu glyph sharp. */
.site-header__menu-contour {
  filter: blur(0.5px);
}

.site-header__menu-fill {
  fill: var(--bc-green);
  transition: fill 200ms ease;
}

.site-header__menu-edge {
  opacity: 0;
  transition: opacity 200ms ease;
}

.site-header__menu-button.is-over-green .site-header__menu-edge {
  opacity: 1;
}

.site-header__menu-mobile {
  display: none;
}

.site-header__menu-button:focus-visible .site-header__menu-fill {
  fill: #3a904a;
}

@media (hover: hover) and (pointer: fine) {
  .site-header__action--entry:hover::before,
  .global-menu__cta--entry:hover::before,
  .lower-cta-card--entry:hover::before {
    opacity: 1;
  }

  .site-header__action--contact:hover {
    background: #3a904a;
  }

  .site-header__menu-button:hover .site-header__menu-fill {
    fill: #3a904a;
  }
}

html.no-js .site-header {
  position: relative;
  height: auto;
  background: #fff;
}

html.no-js .site-header__menu-button {
  position: absolute;
  top: 0;
  display: none;
}

html.no-js .site-header__actions {
  position: absolute;
  top: 15px;
}

.site-footer {
  position: relative;
  padding: 40px 0 24px;
  color: #fff;
  background: var(--bc-green);
}

/* TOP ends with a photo when news is hidden, so leave space before the footer logo. */
.site-footer--news-hidden { padding-top: 80px; }

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 528px;
  align-items: start;
  gap: 48px;
  width: min(var(--bc-content), calc(100% - 48px));
  margin-inline: auto;
}

.site-footer__brand {
  display: inline-flex;
  justify-self: start;
  align-items: flex-start;
  gap: 10px;
}

.site-footer__brand img {
  width: 200px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.site-footer__brand span {
  color: #fff;
  margin-top: 10px;
  line-height: normal;
  white-space: nowrap;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.site-footer__nav li {
  padding-bottom: 23px;
}

.site-footer__nav a,
.site-footer__group-label {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  min-height: 37px;
  padding-bottom: 8px;
  border-bottom: 1px solid #fff;
  font-size: 1.6rem;
  overflow-wrap: anywhere;
  line-height: 28px;
}

.site-footer__nav a span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  padding-left: 1px;
  transition: transform 200ms ease;
}

.site-footer__nav a picture { display: block; flex: 0 0 auto; }

/* Expanded Figma footer: three 240px columns and nested service links. */
.site-footer--expanded .site-footer__inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 768px);
}

.site-footer--expanded .site-footer__nav {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.site-footer__nav .site-footer__children {
  display: grid;
  gap: 8px;
  padding-top: 15px;
}

.site-footer__children li { padding-bottom: 0; }

.site-footer__children a,
.site-footer__children .site-footer__group-label {
  justify-content: flex-start;
  gap: 8px;
  min-height: 28px;
  padding-bottom: 0;
  border: 0;
  font-size: 1.4rem;
}

.site-footer__children a::before,
.site-footer__children .site-footer__group-label::before {
  flex: 0 0 8px;
  margin-top: 14px;
  border-top: 1px solid currentColor;
  content: "";
}

@media (max-width: 1279px) {
  .site-footer--expanded .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer--expanded .site-footer__nav { margin-top: 0; }
}

.site-footer__nav a img {
  display: block;
  flex: 0 0 auto;
  margin-top: 10px;
  width: 12px;
  height: 9px;
  transition: transform 200ms ease;
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: end;
  gap: 16px;
  width: min(var(--bc-content), calc(100% - 48px));
  margin: 16px auto 0;
}

@media (min-width: 1280px) {
  .site-footer--expanded { padding-bottom: 40px; }
  .site-footer--expanded .site-footer__bottom { margin-top: 0; align-items: center; }
}

.site-footer__top {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 4px;
}

.site-footer__top img {
  width: 9px;
  height: 12px;
  transition: transform 200ms ease;
}

.site-header__brand:focus-visible,
.site-footer__brand:focus-visible { opacity: 0.75; }
.site-footer__top:focus-visible { background: var(--bc-green-pale); }
.site-footer__top:focus-visible img { transform: translateY(-3px); }

.site-footer small {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-size: 1.6rem;
  line-height: 16px;
}

.site-footer__nav a:focus-visible {
  color: var(--bc-green-pale);
}

.site-footer__nav a:focus-visible span {
  transform: translateX(8px);
}

.site-footer__nav a:focus-visible img {
  transform: translateX(-8px);
}

@media (hover: hover) and (pointer: fine) {
  .site-header__brand:hover,
  .site-footer__brand:hover { opacity: 0.75; }
  .site-footer__top:hover { background: var(--bc-green-pale); }
  .site-footer__top:hover img { transform: translateY(-3px); }

  .site-footer__nav a:hover {
    color: var(--bc-green-pale);
  }

  .site-footer__nav a:hover span {
    transform: translateX(8px);
  }

  .site-footer__nav a:hover img {
    transform: translateX(-8px);
  }
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    --bc-header-follow-offset: 46px;
    top: 46px;
  }

  html.js body.admin-bar.bc-compact-admin-bar .site-header {
    --bc-header-follow-offset: 0px;
    top: 0;
  }

  html.js body.admin-bar.bc-compact-admin-bar.is-wpadminbar-open .site-header {
    --bc-header-follow-offset: 46px;
  }

  html.js body.bc-compact-admin-bar.is-wpadminbar-open .bc-admin-bar-toggle {
    top: 46px;
  }
}

@media (max-width: 599px) {
  html.js body.bc-compact-admin-bar .bc-admin-bar-toggle {
    right: 75px;
    left: auto;
    width: 44px;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js body.bc-compact-admin-bar #wpadminbar,
  html.js body.bc-compact-admin-bar .bc-admin-bar-toggle,
  .site-header__brand,
  .site-header__actions,
  .site-header__menu-button {
    transition: none;
  }
}

@media (max-width: 899px) {
  .site-header,
  .site-header__inner {
    height: 77px;
  }

  .site-header__inner {
    padding: 16px 104px 0 24px;
  }

  .site-header__brand {
    gap: 5px;
    align-items: flex-end;
    height: 20px;
    min-height: 20px;
  }

  .site-header__brand img {
    width: 120px;
    height: 20px;
  }

  .site-header__brand span {
    margin-bottom: 0;
    font-size: 1.2rem;
    line-height: 16px;
  }

  .site-header__actions {
    display: none;
  }

  .site-header__menu-button,
  .site-header__menu-button img {
    width: 80px;
    height: 77px;
  }

  .site-header__menu-desktop {
    display: none;
  }

  .site-header__menu-button .site-header__menu-mobile {
    display: block;
    top: -0.5px;
    left: -0.5px;
    width: 80.5px;
    max-width: none;
    height: 79.106px;
  }
}

@media (max-width: 359px) {
  .site-header__inner {
    padding-top: 20px;
  }

  .site-header__brand {
    --bc-header-brand-top: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    height: auto;
  }
}

@media (max-width: 1023px) {
  .site-footer {
    padding: 16px 0 24px;
  }

  .site-footer--news-hidden { padding-top: 64px; }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .site-footer__brand {
    align-items: flex-end;
    gap: 8px;
  }

  .site-footer__brand img {
    width: 164px;
    height: 28px;
  }

  .site-footer__brand span {
    margin-top: 0;
    margin-bottom: 1px;
    font-size: 1.6rem;
    line-height: 21px;
    letter-spacing: 0;
  }

  .site-footer__nav {
    gap: 24px;
  }

  .site-footer--expanded .site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__bottom { grid-template-columns: 1fr; margin-top: 0; }
  .site-footer__top { grid-column: 1; justify-self: end; }
  .site-footer small { grid-row: 2; text-align: center; }
}

@media (max-width: 599px) {
  .site-footer__nav,
  .site-footer--expanded .site-footer__nav {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .site-footer__nav a img { width: 16px; }
}

@media (max-width: 359px) {
  .site-footer__brand {
    flex-wrap: wrap;
  }

  .site-footer small {
    line-height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-footer__top:is(:hover, :focus-visible) img { transform: none; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
