@charset "utf-8";
/*@import url('https://fonts.googleapis.com/css?family=Kosugi+Maru&display=swap&subset=japanese');*/
@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@300;400;500&display=swap');
@import url("/css/gsap-set.css");

:root {
  --brand-green: #8ABF65;
  --brand-deep: #109D78;
  --brand-yellow: #F2B94A;
  --brand-accent: #94C74C;
  --bg-ivory_no-use: #f4f5f0;
  --bg-ivory: #fcfcf9;
  --text-gray: #444;
  --card-radius: 1.25rem;
  --cta-basesize: 4px;
}

@media screen and (max-width: 1200px) {
  :root {
    --cta-basesize: 2.5px;
  }
}

@media screen and (max-width: 992px) {
  :root {
    --cta-basesize: 2px;
  }
}

@media screen and (max-width: 576px) {
  :root {
    --cta-basesize: 1.6px;
  }
}


html,
body {
  font-family: "Kiwi Maru", "Hiragino Maru Gothic ProN", "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Segoe UI Symbol", sans-serif;
  color: var(--text-gray);
  background: var(--bg-ivory);
  line-height: 1.7;
  max-width: 1920px;
}

/*ナビの採用ボタン*/
a {

  text-decoration: none;
  color: #333;
}

p {
  font-size: 19px;
  line-height: 2;
}

@media (max-width: 767.98px) {
  p {
    line-height: 1.8;
  }
}

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

.rounded-2xl {
  border-radius: var(--card-radius) !important;
}

.shadow-soft {
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  font-size: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .12);
  color: #000;
}

/* パンくず */
.breadcrumb-wrap {
  color: #2b2b2b;
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 18px;
  margin-bottom: .7rem;
}

.breadcrumb-wrap i {
  opacity: .8;
}

.breadcrumb-wrap a {
  color: #2b2b2b;
  text-decoration: none;
}

.breadcrumb-wrap .sep {
  opacity: .4;
  padding: 0 .35rem;
}

.breadcrumb-wrap a {
  color: inherit;
}

.breadcrumb-wrap a:hover {
  text-decoration: underline;
}

a[href$=".pdf"],
a[href*=".pdf?"] {
  text-decoration: underline;
}

a[href$=".pdf"]::after,
a[href*=".pdf?"]::after {
  font-family: "bootstrap-icons";
  content: "\F63D";
  font-size: 1em;
  color: #d32f2f;
  /* Adobe系の赤に近い色 */

}

a[href$=".pdf"]:hover,
a[href*=".pdf?"]:hover {
  text-decoration: none;
}

/* Spacing helper section (used across multiple sections) */
section.section {
  padding: clamp(48px, 7vw, 96px) 0;
  position: relative;
}

/* --- Header -------------------------------------------------------------- */
.site-header {
  background: #fff8;
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

#index .site-header {
  background: none;
  backdrop-filter: none;
  border-bottom: none;
  display: flex;
  align-items: end;
  padding-bottom: 1em;
  z-index: 1000;
}

/* =========================
   SP / TB ヘッダー調整
   PCはそのまま
========================= */
@media (max-width: 991.98px) {
  .global-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1100;
  }

  body {
    padding-top: 76px;
  }

  .global-header .header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 76px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, .76);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    transition: background .25s ease, box-shadow .25s ease;
  }

  .global-header.is-scrolled .header-bar {
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
  }

  /* ロゴ＋法人名 */
  .global-header .brand.left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
    text-decoration: none;
  }

  .global-header .brand-logo {
    width: 42px;
    height: auto;
    max-height: none !important;
    flex: 0 0 auto;
  }

  .global-header .brand-name {
    display: block;
    height: 38px;
    width: auto;
    max-width: calc(100vw - 130px);
    max-height: none !important;
    object-fit: contain;
    flex: 0 1 auto;
  }

  /* SP/TBではPC用ナビと右CTAを隠す */
  .global-header #global-nav,
  .global-header .cta-recruit.right,
  .global-header .d-none.d-xl-block {
    display: none !important;
  }

  /* ハンバーガーはデザインを変えず位置だけ整える */
  .global-header .nav-toggle {
    flex: 0 0 auto;
    margin-left: 8px;
  }

  /* offcanvas側のロゴも横並びで統一 */
  .global-header .oc-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: left;
  }

  .global-header .oc-logo {
    width: 48px;
    height: auto;
    flex: 0 0 auto;
  }

  .global-header .oc-name {
    width: min(240px, 58vw);
    height: auto;
    flex: 0 1 auto;
  }

  .global-header .oc-nav {
    width: min(88vw, 400px);
  }
}

/* --- Circular Button ----------------------------------------------------- */
.btn-circle {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #fff;
  color: var(--brand-deep);
  transition: transform .15s ease;
}

.btn-circle:hover {
  transform: translateY(-2px);
}

/* --- Round CTA Badge (used on multiple pages) ---------------------------- */
.circle-btn {
  --size: clamp(90px, 12vw, 140px);
  --ring: calc(var(--size) * 0.035);
  --gap: calc(var(--size) * 0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: calc(var(--size) * 0.30);
  padding-bottom: calc(var(--size) * 0.30);
  gap: var(--gap);
  width: var(--size);
  height: var(--size);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--brand-accent);
  color: #fff;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  position: relative;
  text-align: center;
  margin: 1.5rem auto;
}

.circle-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow:
    0 0 0 var(--ring) #fff,
    0 0 0 calc(var(--ring)*2) var(--brand-accent);
  pointer-events: none;
}

/* Small white icon circle used inside the round CTA */
.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--size, 120px) * 0.24);
  aspect-ratio: 1/1;
  height: 34px;
  /* fallback for browsers without aspect-ratio */
  border-radius: 50%;
  background: #fff;
  color: var(--brand-accent);
}

.icon-circle i {
  font-size: calc(var(--size, 120px) * 0.13);
  line-height: 1;
}

/* --- Back to top --------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
  color: #111;
  text-decoration: none;
}

/* 上側が少し開いた二重丸 */
.back-to-top__icon {
  position: relative;
  display: block;
  width: 62px;
  height: 62px;
  color: #109D78;
}

/*
  円はCSSグラデーションではなくSVGで描画。
  小さい表示サイズでも輪郭がギザつきにくく、
  stroke-linecap: round で切れ目の端も滑らかにする。
*/
.back-to-top__rings {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.back-to-top__rings path {
  fill: none;
  stroke: #109D78;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  shape-rendering: geometricPrecision;
}

/* ホバー時に円の中央付近から上へ移動する矢印 */
.back-to-top__arrow {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 2px;
  height: 32px;
  background: #109D78;
  border-radius: 999px;
  opacity: 0;
  transform: translateX(-50%);
  transition:
    top .38s cubic-bezier(.2, .8, .2, 1),
    opacity .16s ease;
  pointer-events: none;
}

.back-to-top__arrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #109D78;
  border-left: 2px solid #109D78;
  transform: translate(-50%, -1px) rotate(45deg);
}

/* 矢印の先端が二重丸の上から約5px出る */
.back-to-top:hover .back-to-top__arrow,
.back-to-top:focus-visible .back-to-top__arrow {
  top: -5px;
  opacity: 1;
}

.back-to-top .label {
  display: block;
  margin-top: 6px;
  color: #111;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.back-to-top:focus-visible {
  outline: 2px solid #109D78;
  outline-offset: 6px;
  border-radius: 4px;
}

@media (max-width: 575.98px) {
  .back-to-top {
    right: 16px;
    bottom: 18px;
  }

  .back-to-top__icon {
    width: 56px;
    height: 56px;
  }

  .back-to-top__arrow {
    top: 25px;
    height: 29px;
  }

  .back-to-top:hover .back-to-top__arrow,
  .back-to-top:focus-visible .back-to-top__arrow {
    top: -5px;
  }

  .back-to-top .label {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top__arrow {
    transition: none;
  }
}

/* --- Footer -------------------------------------------------------------- */
footer {
  background: var(--bg-ivory);
  border-top: 1px solid rgba(0, 0, 0, .06);
  padding-block-start: clamp(4rem, 6vw, 6rem);
  padding-block-end: clamp(.75rem, 1vw, 1.25rem);
  line-height: 1.9;
  letter-spacing: .02em;
  font-weight: 500;
  font-feature-settings: "palt" 1, "pkna" 1;
}

.footer-number {
  color: #8fbf60;
  font-size: 40px;
  line-height: 1;
}

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

footer h5 {
  margin-bottom: .5rem;
}

footer h5 a {
  color: #109D78;
  font-weight: 500;
}

.footer-row {
  row-gap: clamp(2.5rem, 4vw, 4rem);
  margin-top: clamp(2rem, 3vw, 3rem);
}

footer .text-center.small {
  margin-top: clamp(26px, 3vw, 42px);
  padding: 14px 16px 24px;
  font-family: "Nunito", "Arial Rounded MT Bold", "Hiragino Maru Gothic ProN", sans-serif;
  font-size: clamp(.875rem, .9vw, .9375rem) !important;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .07em;
  text-align: center;
}
/* --- Small devices tweaks ------------------------------------------------ */
@media (max-width:575.98px) {
  .btn-circle {
    width: 56px;
    height: 56px;
  }
}

/* --- 共通 ----------------------------------------------------- */
.facility-hero {
  margin-bottom: 3rem;
}


body#index {

  & .cta-wrap {
    margin-top: -80px;
    z-index: 1026;
  }

  & .cta-recruit,
  & .cta-flow {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--cta-basesize) * 40);
    height: calc(var(--cta-basesize) * 40);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    flex-direction: column;


  }
}

.cta-recruit {
  background: #10a07a;
  box-shadow:
    0 0 0 var(--cta-basesize) #fff,
    0 0 0 calc(1.7 * var(--cta-basesize)) #10a07a;
}

.cta-flow {
  margin-top: calc(var(--cta-basesize) * -40);
  background: #e1ca4a;
  box-shadow: 0 0 0 var(--cta-basesize) #fff,
    0 0 0 calc(1.7 * var(--cta-basesize)) #e1ca4a;
}


.cta-text {

  font-size: calc(var(--cta-basesize) * 5);
  font-weight: 700;
}

.cta-dot {


  display: inline-grid;
  place-items: center;
  width: calc(var(--cta-basesize) * 7);
  height: calc(var(--cta-basesize) * 7);
  background: #fff;
  border-radius: 50%;
  font-weight: 900;
  line-height: 1;
}

.cta-recruit .cta-dot {

  color: #10a07a;

}

.cta-flow .cta-dot {

  color: #e1ca4a;

}

/* 高齢者福祉施設 */
.facility-group {
  container-type: inline-size;
}
.facility-group a {
  text-decoration: none;
  color: #444;
  transition: color .3s;
}

.facility-group a:hover {
  color: #198754;
}

.facility-group a img {
  border-radius: 14px;
  transition: opacity .3s;
  margin-bottom: .5rem
}

.facility-group a:hover img {
  opacity: .5;
}

.facility-group h3 {
  display: flex;
  align-items: flex-start !important;
  flex-direction: column !important;
    padding-bottom: 6px;
    border-bottom: 2px solid #f4f5f0;
    margin-bottom: 0;
    font-size: clamp(1.25rem, 4cqw, 1.7rem);
}

/* 施設名 */
.facility-group h3 {
  display: block;
  padding-bottom: 6px;
  margin-bottom: 8px;

  border-bottom: 2px solid #f4f5f0;

  font-size: clamp(1.25rem, 4cqw, 1.7rem);
  line-height: 1.5;
}
h3.h5.longname {
    font-size: 1.2rem;
}

/* 支援内容一覧 */
.facility-service-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}


/* 支援内容1項目 */
.facility-service-list li {
  margin: 0;
  padding: 0;
}


/* 緑色のピル */
.facility-service-tag {
  display: inline-flex;
  align-items: center;
  padding: .35em .75em;
  border: 1px solid #c9d9b1;
  border-radius: 9999px;
  color: #3b933d;
  font-size: .85rem;
  line-height: 1.4;
  white-space: normal;
}

.facility-group.here {
pointer-events: none;
}
.facility-group.here > .bg-white {
  opacity: .5;
}
/*Gmap埋め込み*/
.map-embed {
  width: 90%;
  height: 400px;
  margin: 0 auto;
  border: 10px solid #CCC;
  position: relative;
}

@media (min-width:992px) {
  .map-embed {
    width: 100%;
    border: none;
  }
}

.title-line::after{
  content: "";
    display: block;
    width: 4rem;
    border-bottom: 4px solid #8fbf60;
    border-radius: 50vw;
    margin: 30px auto 0;
}


/* --------------------------------------他の施設一覧(facility-block.php)------------------------------------------------*/
.other-facilities-section {
  margin-top: clamp(64px, 8vw, 112px);
  border-radius: clamp(48px, 7vw, 96px) clamp(48px, 7vw, 96px) 0 0;
  background-color: #e9ecef;
}

@media (max-width: 575.98px) {
  .other-facilities-section {
    margin-top: 56px;
  }
}


/* --- 法人案内ページ ------------------------------------------------ */
/*4タブ切り替えボタン*/
.about-switch .btn-outline {
  color: #2f7f2f;
  border-color: #2f7f2f;
  background-color: #fff;
  padding-top: 15px;
  padding-bottom: 15px;
}

.about-switch .btn-outline:hover,
.about-switch .btn-outline:focus,
.about-switch .btn-outline:active {
  color: #fff;
  background-color: #b6dd7a;
  border-color: #b6dd7a;
}

/* 選択中（activeクラスが付いているボタン） */
.about-switch .btn-outline.active {
  color: #fff;
  background-color: #94c74c;
  border-color: #94c74c;
}

/*見出し*/
.heading-accent {
  color: #109D78;
  margin-bottom: 1rem;
}

/* --- 施設紹介ページ ------------------------------------------------ */
/* 会報誌Swiperによる横はみ出し防止 */
.newsletter-section {
  overflow-x: clip;
}
/*施設の日常を見るボタン*/
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 700;
}

/*アクセス*/
.access-container {
  text-align: center;
  margin-top: 50px;
}


.facility {
  display: flex;
  position: relative;
  margin: 0 auto;
  background-color: #f5f6f1 !important;
  padding: 50px 0 50px 0;
}
/*切り替え式のボタン*/
.facility-btn {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.facility-btn-nav {
  background-color: #99c742;
  border-radius: 999px;
  padding: 0.5rem;
  gap: 0.75rem;
  display: inline-flex;
  list-style: none;
}

.facility-btn-nav .nav-link {
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  background: transparent;
  color: #ffffff;
  font-weight: 500;
  white-space: nowrap;
}

.facility-btn-nav .nav-link.active {
  background-color: #ffffff;
  color: #99c742;
}

.facility-btn-nav .nav-link:not(.active):hover {
  background-color: rgba(255, 255, 255, 0.16);
}

/* 施設紹介内のカード情報 */

.facility-info {
  margin-top: 24px;
}

.facility-info-list {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: .5em;
  row-gap: .1em;
  margin: 0;
}

.facility-info-row {
  display: contents;
}

.facility-info-list dt {
  font-weight: 700;
  white-space: nowrap;
}

.facility-info-list dt::after {
  content: "：";
}

.facility-info-list dd {
  margin: 0;
  min-width: 0;
}

.facility-info-list a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 575.98px) {
  .facility-info-list {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }

  .facility-info-list dt::after {
    content: "";
  }

  .facility-info-list dd {
    margin-bottom: 10px;
  }
}

/* 施設紹介内のカード情報 end */
@media (max-width: 1099.98px) {
  .facility-btn {
    justify-content: center;
  }

  .facility-btn-nav {
    display: block;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background-color: #0b9869;
    gap: 0;

  }

  .facility-btn-nav .nav-item {
    display: block;
  }

  .facility-btn-nav .nav-item+.nav-item {
    margin-top: 0.5rem;
  }

  .facility-btn-nav .nav-link {
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    white-space: normal;
  }
}

/* --- プライバシーポリシーページ ------------------------------------------------ */
#policy p {
  line-height: 1.5;
}

#policy li p {
  margin-bottom: 0.1px;
}


/* ---header ------------------------------------------------ */

/* ====== ベース ====== */
.global-header {
  padding: 12px 0;
  position: relative;
  z-index: 1000;
  top: 0;
}

.global-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 白い角丸バー */
.header-bar.white {
  background: #fff;
  /*margin-top: 20px;*/
  border-radius: 16px 16px 16px 16px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
  margin-left: auto;
  width: fit-content;
  min-width: 90vw;
  margin: auto;
}

.header-bar {
  & .cta-recruit {

    position: fixed;
    right: 0;
    top: 70px;
    border-radius: 15px 0 0 15px;
    left: auto;
    padding: 26px 14px;
    text-orientation: upright;
    writing-mode: vertical-rl;
    color: #FFF;
    letter-spacing: .6em;
    box-shadow: none;
    line-height: 1em;
  }

  /* 左：ブランド */
  & .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #222;
  }

  & .brand-logo {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
  }

  & .brand-text {
    font-weight: 700;
    white-space: nowrap;
  }

  /* 中央：ナビ（PC横並び） */
  & .nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
    margin-right: 0;
  }

  & .nav-link {
    position: relative;
    color: #222;
    text-decoration: none;
    font-weight: normal;
    padding: 8px 6px;
    font-size: 1.4rem;
  }

  & .nav-link:not(:first-child)::before {
    content: "";
    position: absolute;
    left: -11px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 16px;
    background: #cfd4da;
  }

  & .nav-link:hover {
    opacity: .75;
  }

  & .nav-link.active {
    color: #11956f;
  }

  /* もし画像2枚を横に並べたい場合は、
   .oc-brand の flex-direction: column; を消してください */
  & .nav-toggle {
    display: none;
    margin-left: auto;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  & .nav-toggle-bar,
  & .nav-toggle-bar::before,
  & .nav-toggle-bar::after {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    background: #FFF;
    border-radius: 2px;
    position: relative;
  }

  & .nav-toggle-bar::before {
    top: -7px;
    position: absolute;
  }

  & .nav-toggle-bar::after {
    top: 7px;
    position: absolute;
  }
}

/* ====== 0226 ====== */
    .oc-brand-logo {
      display: block;
      width: min(100%, 420px);
      height: auto;
      margin: 0 auto;
    }
/* ハンバーガー（SPのみ表示） */
@media (max-width: 991.98px) {
  /*.oc-nav{ position: relative; }*/

  /* 閉じるボタンを右上へ（offcanvas直下のbtn-close） */
  .oc-nav>.btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    margin: 0;
    z-index: 10;
  }

  .offcanvas-header .btn-close {
    display: block;
    margin-left: auto;
    margin-right: 0;
  }

  /* offcanvas-header：中央揃え＋×と被らない上余白 */
  .offcanvas-header {
    display: block;
    text-align: center;
    padding-top: 2rem;
  }

  /* ロゴコンテナ：中央寄せ */
  .oc-brand {
    display: inline-block;
    margin: 0 auto;
  }

  /* ロゴ画像 */
  .oc-logo {
    display: block;
    margin: 0 auto 5px;
    height: 60px;
    width: auto;
  }

  /* 法人名画像 */
  .oc-name {
    display: block;
    margin: 0 auto;
    max-width: 240px;
    height: auto;
  }

 .global-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1100;
  padding: 0;
  height: auto;
  min-height: 76px;
  background: transparent;
  overflow: visible !important;
}

  /* 3. 白い浮いているバーの見た目を維持する */
  .header-bar.white {
    display: flex !important;
    background: #fff !important;
    /* バーだけを白くする */
    margin: 10px auto !important;
    padding: 10px 16px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08) !important;
    width: 92vw !important;
    min-width: 0 !important;
    position: relative;
    top: 0;
  }

  #index .site-header {
    background: none;
    backdrop-filter: none;
    border-bottom: none;
    display: flex;
    align-items: end;
    /*padding-bottom: 1em;*/
    order: -1;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
  }

  #index .header-bar .brand {
    display: none !important;
  }

  #index .header-bar.white {
    background: #fff;
    /*margin-top: 20px;*/
    border-radius: 16px 16px 16px 16px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    margin-left: auto;
    width: fit-content;
    min-width: 90vw;
    margin: auto;
    width: 100vw;
  }

  #index .header-bar {

    & .nav-toggle {
      display: inline-flex;
      position: relative;
      align-items: center;
      justify-content: center;
      width: 44px;
      /*top: 30px;*/
      right: 3px;
      background-color: #a5d941;
      border-radius: 5px;
      display: inline-grid;
      margin-left: auto;
    }

  }

  .header-bar.white {
    margin-top: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    width: auto;
    min-width: auto;



    & .brand-text {
      font-size: 14px;
    }

    & .nav-link {
      padding: 10px 4px;
    }

    & .nav-link:not(:first-child)::before {
      display: none;
    }

    & .cta-dot {
      width: 24px;
      height: 24px;
      bottom: 10px;
    }

    & .nav-toggle {
      display: inline-flex;
      position: relative;
      align-items: center;
      justify-content: center;
      width: 44px;
      /*top: 30px;*/
      right: 3px;
      background-color: #a5d941;
      border-radius: 5px;
      display: inline-grid;
      margin-left: auto;
    }


    & .global-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      padding: 6px 0;
      background: transparent;
      border: 0;
    }



    & .cta-recruit {
      margin-bottom: 0;
      display: none;
    }

    /* PCナビは非表示（代わりにオフキャンバスを使用） */
    & .nav {
      display: none !important;
    }



    /* オフキャンバスの見た目微調整 */
    & .oc-nav .offcanvas-header {
      border-bottom: 1px solid rgba(0, 0, 0, .06);
    }

    & .oc-nav .list-group-item {
      font-weight: 600;
      border: 0;
    }
  }
}

@media (min-width: 992px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-right: 12px;
    margin-left: auto;
  }

  .nav-toggle {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  /* スマホメニューの重なり順を固定 */
  #ocNav {
    z-index: 1120 !important;
  }

  .offcanvas-backdrop {
    z-index: 1090 !important;
    background-color: #000;
  }

  .offcanvas-backdrop.show {
    opacity: 0.6;
  }
/* スマホメニュー上部：ロゴ中央、閉じるボタンを右側に配置 */
.oc-nav .oc-header {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    padding: 20px 56px;
    text-align: center;
  }

  .oc-nav .oc-header .oc-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
  }

  .oc-nav .oc-header .oc-brand-logo {
    display: block;
    width: min(100%, 250px);
    height: auto;
    margin: 0 auto;
  }

  .oc-nav .oc-header .btn-close {
    position: absolute;
    top: 50%;
    right: 20px;
    margin: 0;
    transform: translateY(-50%);
    z-index: 2;
  }
}

/*スマホメニュー採用情報*/
.recruit-hum-button{
  margin: 16px 0;
  width: 100%;
}
/* スマホメニュー内の住所前に装飾*/
.oc-contact {
  gap: 8px;
  line-height: 1.7;
  background-color: #f7f7f3;
  border-radius: 10px;
  padding: 20px 16px;
}

.oc-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.oc-contact-icon {
  color: #99c742;
  font-size: 25px;
  flex-shrink: 0;
  padding: 0 5px;
  text-align: center;
}

.oc-contact-text {
  color: #222;
}

.oc-contact-icon.fa-phone {
  transform: scaleX(-1);
}

/* header end */
/* 共通ヘッダーのロゴ高さ（header.php の直接指定から移動） */
.header-bar .brand .common-header-logo { max-height: 60px; }
