/* ===============================
   Reset & base
   =============================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "游明朝", serif;
  font-size: 16px;
  line-height: 1.9;
  color: #3a2d1c;
  background-color: #ffffff; /* ページ全体の背景は真っ白 */
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
}

a {
  color: #a4551a;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-body {
  flex: 1 0 auto;
}

/* ===============================
   Layout
   =============================== */

.l-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

/* ===============================
   Header
   =============================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #FFFAF0;           /* 添付のクリーム色 */
  border-bottom: 1px solid #e4ddcf;
}

.site-header__inner {
  width: 100%;
  margin: 0;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* ブランドエリア：ロゴ + キャッチコピー */

.site-header__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.site-logo {
  display: inline-flex;
  align-items: center;
}

.site-logo img {
  display: block;
  max-height: 40px;
  height: auto;
  width: auto;
}

/* キャッチコピー */

.site-copy {
  margin: 0;
  font-size: 13px;
  color: #3a2d1c;
  letter-spacing: 0.03em;
  line-height: 1.4;
  white-space: normal;
}

/* ロゴサイズ調整 */

@media (max-width: 1200px) {
  .site-logo img {
    max-height: 34px;
  }
}

@media (max-width: 900px) {
  .site-logo img {
    max-height: 28px;
  }
}

/* PC ナビゲーション */

.global-nav {
  flex: 0 1 auto;
}

.global-nav__list {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.global-nav__item > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 15px;
  font-size: 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background-color: transparent;
  color: #3a2d1c;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  white-space: nowrap;
}

.global-nav__item > a:hover,
.global-nav__item > a:focus-visible {
  background-color: #f4ece3;
  color: #2c2116;
}

/* ===============================
   SNSアイコン（ヘッダー & ドロワー共通）
   =============================== */

.header-sns {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-sns__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-sns__icon {
  display: block;
  width: 32px;   /* PC も SP も同じサイズに固定 */
  height: 32px;
  object-fit: contain;
}

.header-sns a img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 0;         /* ←画像自体が丸型なので丸くしない */
  display: block;
}

/* スマホ対策：アイコンが潰れないように */
@media (max-width: 768px) {
  .header-sns a img {
    width: 28px;
    height: 28px;
  }
}

/* SNS */

/*.header-sns {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  white-space: nowrap;
}

.header-sns a {
  color: #3a2d1c;
}

.header-sns a:hover,
.header-sns a:focus-visible {
  text-decoration: underline;
}
*/
/* SNS の丸バッジ */
/*
.sns-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  border-radius: 999px;
  font-size: 11px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
               Arial, "Yu Gothic", "YuGothic", sans-serif;
  border: 1px solid #d2b89a;
  background-color: #f7efe4;
  color: #6c4b32;
  box-sizing: border-box;
}

.sns-badge--insta {
  background: radial-gradient(circle at 30% 30%, #ffe5c7, #f3d0ff);
}

.sns-badge--fb {
  background-color: #e2e9f9;
}

.sns-badge--line {
  padding: 0 6px;
  min-width: 40px;
  font-size: 10px;
}

.sns-badge:hover,
.sns-badge:focus-visible {
  border-color: #c2904e;
}
*/
/* ===============================
   Hamburger / Drawer
   =============================== */

.header-drawer {
  margin-left: 8px;
}

.drawer-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.drawer-toggle__icon,
.drawer-toggle__icon::before,
.drawer-toggle__icon::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background-color: #3a2d1c;
  transition: transform 0.2s ease, opacity 0.2s ease;
  position: relative;
}

.drawer-toggle__icon::before {
  position: absolute;
  top: -6px;
}

.drawer-toggle__icon::after {
  position: absolute;
  top: 6px;
}

/* 開いているときは × に変形 */

.is-drawer-open .drawer-toggle__icon {
  transform: rotate(45deg);
}

.is-drawer-open .drawer-toggle__icon::before {
  transform: rotate(-90deg);
  top: 0;
}

.is-drawer-open .drawer-toggle__icon::after {
  opacity: 0;
}

/* オーバーレイ + ドロワーパネル */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 900;
}

.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 80vw);
  background-color: #fffef9;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 950;
}

.drawer-panel__inner {
  height: 100%;
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.drawer-panel__title {
  margin: 0;
  font-size: 15px;
}

.drawer-close {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 0;
}

/* ドロワーメニューのリスト */

.drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-menu li {
  border-bottom: 1px solid #efe2cf;
}

.drawer-menu a {
  display: block;
  padding: 10px 4px;
  font-size: 15px;
  color: #3a2d1c;
  text-decoration: none;
}

.drawer-menu a:hover,
.drawer-menu a:focus-visible {
  background-color: #fff5e6;
}

.drawer-menu__section-title {
  margin: 16px 0 4px;
  font-size: 13px;
  color: #8b7358;
}

.drawer-menu__sns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.drawer-menu__sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.drawer-menu__sns-icon {
  width: 30px;
  height: 30px;
  display: block;
}

/* 開いた状態の制御 */

.is-drawer-open {
  overflow: hidden;
}

.is-drawer-open .drawer-backdrop {
  opacity: 1;
  visibility: visible;
}

.is-drawer-open .drawer-panel {
  transform: translateX(0);
}

/* PC時は上からフルワイドで降りる */

@media (min-width: 769px) {
  .drawer-panel {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    max-height: 100vh;
    transform: translateY(-100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  }

  .is-drawer-open .drawer-panel {
    transform: translateY(0);
  }
}

/* ===============================
   Footer
   =============================== */

.site-footer {
  background-color: #FFFAF0; /* ヘッダーと同じ色 */
  color: #3a2d1c;
  padding: 24px 16px;
  font-size: 13px;
}

.site-footer a {
  color: inherit;
}

/* ===============================
   Responsive
   =============================== */

@media (max-width: 1024px) {
  .site-header__inner {
    padding-inline: 16px;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .site-header__inner {
    gap: 8px;
  }

  .global-nav {
    display: none; /* SP は PCナビを隠してドロワーのみ */
  }

  .header-sns {
    display: none;
  }

  .l-container {
    padding: 20px 12px 40px;
  }
}

/* ===============================
   SNSアイコン（ヘッダー & ドロワー共通）
   =============================== */

.header-sns {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-sns__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-sns__icon {
  display: block;
  height: 24px;   /* ← 高さだけ固定 */
  width: auto;    /* ← 横は比率を保って自動 */
}

/* ドロワーメニュー内のSNSアイコン */

.drawer-menu__sns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.drawer-menu__sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.drawer-menu__sns-icon {
  display: block;
  width: 32px;   /* ここも同じサイズに */
  height: 32px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .drawer-menu__sns {
    gap: 12px;
  }
}

/* ===============================
   求人ページ（/jp/bosyuu/）
   =============================== */

.recruit {
  max-width: 900px;
  margin: 60px auto 80px;
  padding: 0 20px;
}

.recruit__card {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px 30px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.recruit__tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b5833a;
  margin-bottom: 8px;
}

.recruit__title {
  font-size: 1.9rem;
  line-height: 1.6;
  color: #2d2b26;
  max-width: 30em;         /* 行の長さをほどよく制限 */
  margin: 0 auto;     /* ブロック自体を中央に */
  text-align: left;        /* 文字は左揃え */
}

.recruit__lead {
  margin: 0 0 14px;
  font-size: 1.02rem;
  line-height: 1.9;
}

.recruit__text {
  margin: 0 0 18px;
  font-size: 0.98rem;
  line-height: 1.9;
  color: #55504a;
}

.recruit__contact {
  border-top: 1px solid #eee1cf;
  padding-top: 24px;
  margin-top: 20px;
}

.recruit__contact-title {
  font-size: 1.15rem;
  margin: 0 0 12px;
  color: #3a332c;
}

.recruit__contact-label {
  margin: 6px 0 4px;
  font-size: 0.9rem;
  color: #7a6a57;
}

.recruit__contact-mail a {
  font-family: system-ui, -apple-system, "Segoe UI",
    "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #c26824;
  text-decoration: none;
  word-break: break-all;
}

.recruit__contact-mail a:hover,
.recruit__contact-mail a:focus-visible {
  text-decoration: underline;
}

.recruit__note {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: #8b8174;
  line-height: 1.7;
}

.recruit__button-wrap {
  margin-top: 20px;
}

.recruit__button {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  background: #d6802c;
  color: #ffffff;
  font-family: system-ui, -apple-system, "Segoe UI",
    "Noto Sans JP", sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, transform 0.12s ease,
    box-shadow 0.12s ease;
}

.recruit__button:hover,
.recruit__button:focus-visible {
  background: #c46f20;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

/* 求人ページの本文 */
.recruit-body {
  max-width: 45em;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.9;
  text-align: left;      /* ← これで左寄せになる */
  color: #333;
}


/* スマホ調整 */
@media (max-width: 600px) {
  .recruit {
    margin: 30px auto 60px;
    padding: 0 14px;
  }

  .recruit__card {
    padding: 26px 18px;
  }

  .recruit__title {
    font-size: 1.5rem;
    max-width: 15em;
  }

  .recruit__lead,
  .recruit__text {
    font-size: 0.94rem;
  }

  .recruit__button {
    width: 100%;
  }

  .recruit-body {
  max-width: 18em;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.9;
  text-align: left;      /* ← これで左寄せになる */
  color: #333;
}

}


.recruit-body p {
  margin-bottom: 1.4rem;
  margin: auto;
}

.recruit__contact {
  border-top: 1px solid #eee1cf;
  padding-top: 24px;
  margin-top: 20px;
  text-align: center;         /* ← ここでブロック全体を中央寄せ */
}

.recruit__contact-title {
  font-size: 1.15rem;
  margin: 0 0 12px;
  color: #3a332c;
}

.recruit__contact-line {
  margin: 4px 0;
  font-size: 0.96rem;
}

.recruit__contact-line a {
  font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans JP", sans-serif;
  font-weight: 600;
  color: #c26824;
  text-decoration: none;
}

.recruit__contact-line a:hover,
.recruit__contact-line a:focus-visible {
  text-decoration: underline;
}

.recruit__contact-note {
  font-size: 0.86rem;
  color: #8b8174;
}

/* ===============================
   ページトップへ戻るボタン（全ページ共通）
   =============================== */

#page-top-btn {
  position: fixed;
  right: 18px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: #d6c3a1;       /* クリーム系で世界観に合わせる */
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

#page-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#page-top-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* 下へスクロールのヒント矢印（全ページ共通） */
#scroll-down-hint {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(214, 195, 161, 0.95); /* クリーム系で世界観合わせ */
  color: #ffffff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
  z-index: 998;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
  animation: scrollHintBounce 1.6s infinite;
}

.scroll-down-hint__icon {
  display: block;
  line-height: 1;
}

/* スクロール後に消える状態 */
#scroll-down-hint.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  animation: none;
}

/* スマホ時は少し上にずらして、ページトップボタンとかぶらないように */
@media (max-width: 768px) {
  #scroll-down-hint {
    bottom: 70px;
  }
}

/* ふわっと動くアニメーション */
@keyframes scrollHintBounce {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -6px);
  }
}
