/* =====================
   WORKER 個別ページ（single-worker）
   ===================== */

/* 背景（全画面・固定） */
html,
body {
  height: 100%;
  margin: 0;
}

.worker-bg {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* 背景フィルム（暗めにしたいとき） */
.worker-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, .28);
}

/* 本文側（背景の上に載せる） */
.worker-hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 48px 16px;

  display: grid;
  place-items: center;
  background: transparent;
}

/* 中身は中央寄せ */
.worker-hero__inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

/* アバター */
.worker-hero__avatar {
  margin: 0 auto 14px;
  width: 120px;
  height: 120px;
}

.worker-hero__avatar-img {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  object-fit: cover;
  filter: grayscale(1);
}

/* 名前・役職 */
.worker-hero__name {
  margin: 6px 0 4px;
}

.worker-hero__role {
  margin: 0 0 12px;
  opacity: .75;
}

/* 上：SNS（アイコンだけ） */
.worker-social--icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 10px 0 16px;
}

.worker-social__link--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.worker-social__link--icon .worker-social__icon {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

/* プロフィール（中央揃え） */
.worker-profile {
  max-width: 560px;
  margin: 0 auto 18px;
  text-align: center;
}

/* 下：ネット予約 + SNS（アイコン+文字） */
.worker-social--buttons {
  width: min(380px, 92vw);
  margin: 18px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

/* 行ごとのレイアウト（アイコン位置を揃える） */
.worker-social__link--button {
  width: 100%;
  display: grid;
  grid-template-columns: 26px 1fr;
  column-gap: 10px;
  align-items: center;

  padding: 6px 0;
  border: none;
  background: transparent;
  border-radius: 0;
  text-decoration: none;
}

.worker-social__link--button .worker-social__icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  justify-self: center;
}

/* ボタン系はフラットに */
.worker-reserve__btn,
.worker-social__link {
  background: transparent;
  border: none;
  box-shadow: none;
  outline: none;
}

.worker-reserve {
  margin: 18px 0 16px;
}

.worker-reserve__btn {
  display: inline-block;
  padding: 0;
  text-decoration: none;
}

/* hover は軽く */
.worker-social__link:hover,
.worker-reserve__btn:hover {
  opacity: .75;
}

/* ===== WORKERページだけ ミニマルフォント ===== */
.worker-hero {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  letter-spacing: .02em;
}

.worker-hero__name {
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  margin: 14px 0 6px;
}

.worker-hero__role {
  font-weight: 400;
  font-size: 14px;
  opacity: .85;
  margin: 0 0 10px;
}

.worker-profile {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: .01em;
  text-align: center;
}

.worker-reserve__btn,
.worker-social__text {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .03em;
}

/* =====================
   テーマ切替（worker_text_color）
   worker-theme--dark ＝文字/アイコン黒
   worker-theme--light ＝文字/アイコン白
   ===================== */

.worker-theme--dark {
  color: #000;
}

.worker-theme--dark a,
.worker-theme--dark a:visited {
  color: #000;
}

.worker-theme--light {
  color: #fff;
}

.worker-theme--light a,
.worker-theme--light a:visited {
  color: #fff;
}

/* hoverしても色を変えない（色は theme に任せる） */
.worker-hero a:hover,
.worker-hero a:active {
  color: inherit;
}

/* =====================
   下段ボタンの強調（サイズ調整）
   ===================== */

.worker-social--buttons .worker-social__link--button {
  font-size: 16px;
  font-weight: 600;
  grid-template-columns: 30px 1fr;  /* アイコン列を少し広く */
  padding: 8px 0;
}

.worker-social--buttons .worker-social__link--button .worker-social__icon {
  width: 20px;
  height: 20px;
}

.worker-social--buttons {
  width: 320px;
  max-width: 92vw;
  margin: 18px auto 0;
  gap: 14px;
}
