@charset "utf-8";
/* 全ページ共通のスタイル。色は本番 rehanic.jp の実測値(店舗ページ静的版と同じ) */

:root {
  --pink: #da95ab;
  --pink-logo: #f2a4b6;
  --blue: #74c1e3;
  --orange: #f2ac45; /* スマホメニューの現在地 */
  --ink: #222;
  --line: #e3e3e3;
  --wrap: 1050px;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", YuGothic, "Meiryo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.8; letter-spacing: 0.05em; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; }
ul { margin: 0; padding: 0; list-style: none; }
.container { max-width: calc(var(--wrap) + 32px); margin: 0 auto; padding: 0 16px; }

/* ---------- 上の帯 ---------- */
.topbar { background: var(--pink); color: #fff; font-size: 13px; line-height: 26px; }
.topbar p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; }
.site-header__inner { display: flex; align-items: center; height: 110px; }
.site-header__logo { flex: none; margin-left: 16px; }
.site-header__logo img { display: block; width: auto; height: 75px; }
.site-header__recruit, .site-header__toggle { display: none; }

.site-nav { margin: 0 34px 6px auto; text-align: right; }
.site-nav li { line-height: 15px; }
.site-nav ul { display: flex; justify-content: flex-end; gap: 0 28px; }
.site-nav__sub { margin-bottom: 29px; }
.site-nav a { color: #000; font-size: 15px; line-height: 15px; text-decoration: none; letter-spacing: 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--pink); }
.site-nav__close { display: none; }

/* ---------- スマホ・タブレット(PCのメニューが1列に収まらない幅) ---------- */
@media (max-width: 1079px) {
  .topbar { display: none; }
  .site-header__inner { height: 92px; }
  .site-header__logo { margin: 0 auto 0 0; }
  .site-header__recruit {
    display: block; padding: 0 14px; margin-right: 20px; line-height: 34px; border-radius: 6.5px;
    background: var(--pink); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none;
  }
  .site-header__toggle {
    display: block; position: relative; width: 50px; height: 50px; padding: 0; border: 0; background: none; cursor: pointer;
  }
  .site-header__toggle span, .site-header__toggle::before, .site-header__toggle::after {
    content: ""; position: absolute; left: 1px; width: 48px; height: 4px; background: #000;
  }
  .site-header__toggle::before { top: 9px; }
  .site-header__toggle span { top: 23px; }
  .site-header__toggle::after { top: 37px; }

  /* 右から出てくるメニュー */
  .site-nav {
    margin: 0;
    position: fixed; inset: 0 0 0 auto; z-index: 200; width: min(90vw, 340px); padding: 24px 40px;
    background: #fff; text-align: left; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s;
  }
  .is-menu-open .site-nav { transform: none; visibility: visible; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .3); }
  .is-menu-open { overflow: hidden; }
  .site-nav ul { display: block; }
  .site-nav__main { order: -1; }
  .site-nav { display: flex; flex-direction: column; }
  .site-nav .site-nav__sub { display: flex; flex-direction: column; margin: 0; }
  /* 今のサイトと同じく 店舗案内 → 採用トップ の順にする */
  .site-nav__sub li { order: 3; }
  .site-nav__sub li:nth-child(1) { order: 2; }
  .site-nav__sub li:nth-child(2) { order: 1; }
  .site-nav li { padding: 18px 0; line-height: 26px; }
  .site-nav a { font-size: 18px; }
  .site-nav a[aria-current="page"] { color: var(--orange); text-decoration: underline; text-underline-offset: 6px; }
  .site-nav .pc-only { display: none; }
  .site-nav__close {
    display: block; order: -2; position: relative; align-self: flex-end; width: 32px; height: 32px; margin: 0 -8px 8px 0; padding: 0;
    border: 0; background: none; cursor: pointer;
  }
  .site-nav__close::before, .site-nav__close::after {
    content: ""; position: absolute; top: 15px; left: 2px; width: 28px; height: 2px; background: #555; transform: rotate(45deg);
  }
  .site-nav__close::after { transform: rotate(-45deg); }
}

/* ---------- フッター ---------- */
.site-footer { margin-top: 80px; }
.site-footer__links { display: flex; justify-content: center; gap: 0 116px; padding: 30px 16px; }
.site-footer__links a { color: #000; font-size: 14px; text-decoration: none; }
.site-footer__links a:hover { color: var(--pink); }
.site-footer__copy { margin: 0; padding: 24px 16px; background: var(--pink); color: #fff; font-size: 14px; text-align: center; }
@media (max-width: 1079px) {
  .site-footer__links { gap: 0 40px; }
}
