@charset "UTF-8";
/* ==========================================================
   ベルズイン・みどり岩宿駅前 採用LP
   基準：PC 1600px（ティザー.ai / カンプJPG）
   ========================================================== */
:root {
  --navy: #202c3e;
  --navy-light: #0d3a63;
  --blue: #00437c;
  --gold: #c0974e;
  --gold-mid: #d6b56b;
  --gold-light: #e2c68d;
  --gray-bg: #efefef;
  --gray-line: #cccccc;
  --gray-text: #c9caca;
  --text: #222222;
  --serif: "Noto Serif JP", "Source Han Serif JP", "源ノ明朝", serif;
  --sans: "Noto Sans JP", "Source Han Sans JP", sans-serif;
  --code: "Source Code Pro", "Source Han Code JP", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  line-break: strict;
  overflow-wrap: anywhere;
  font-feature-settings: "palt";
  letter-spacing: 0.03em;
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
small { font-size: inherit; }
section[id] { scroll-margin-top: 60px; }

.sp-only { display: none; }
/* 改行の調整：文節で折り返す（Chrome/Edge）・最終行の1〜2文字残りを防ぐ・語の途中で切らない */
p, h1, h2, h3, dd, dt, li, address { word-break: auto-phrase; text-wrap: pretty; }
.nw { white-space: nowrap; }
.about__lead, .image__lead { letter-spacing: 0; }
/* PC（1240px以上）：カンプの改行位置で1行ずつ両端揃え */
@media (min-width: 1240px) {
  .ln { display: block; text-align-last: justify; }
  .ln:last-child { text-align-last: auto; }
}

/* 共通：英字アイキャッチ */
.eyebrow {
  font-family: var(--code);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.067em;
  color: var(--gold-light);
  text-align: center;
}

/* ---------- Header ---------- */
.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  height: 60px;
  background: rgba(225, 225, 225, 0.346);
}
.header__inner {
  position: relative;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
}
.header__logo {
  position: absolute;
  left: 12px;
  top: 9px;
  width: 297px;
}
.header__nav {
  position: absolute;
  left: 695px;
  top: 3px;
  display: flex;
  gap: 32px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  line-height: 60px;
  color: var(--gray-text);
}
.header__nav a.is-current { color: var(--gold-light); }
.header__nav a:hover { color: #fff; }
.header__entry {
  position: absolute;
  right: 0;
  top: 10px;
  width: 120px;
  height: 40px;
  background: var(--blue);
  color: #fff;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  line-height: 40px;
  text-align: center;
  transition: opacity .2s;
}
.header__entry:hover { opacity: .8; }

/* ---------- FV ---------- */
.fv {
  position: relative;
  height: 800px;
  overflow: hidden;
  background: #231815;
  color: #fff;
  text-align: center;
}
.fv__bg, .fv__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
/* 画像端の白い線（サブピクセル／画像端の明るいピクセル）を隠すため少しはみ出させる */
.fv__bg img {
  inset: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
}
.fv__bg::after {
  display: none;
  content: "";
  position: absolute;
  inset: 0;
  background: #231815;
  mix-blend-mode: multiply;
  opacity: .73;
}
.fv__body { position: relative; padding-top: 229px; }
.fv__badge {
  display: inline-block;
  padding: 2.5px;
  border: 1px solid rgba(214, 181, 107, .6);
}
.fv__badge span {
  display: block;
  width: 190px;
  height: 37px;
  background: rgba(214, 181, 107, .6);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 13.7px;
  line-height: 37px;
}
.fv__title {
  margin-top: 23px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 70px;
  line-height: 1;
  letter-spacing: 0;
  font-feature-settings: normal; /* 字送りはAIの値を1文字ずつ指定 */
}
.fv__en {
  margin-top: 33px;
  font-family: var(--code);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.067em;
  color: var(--gold-light);
}
.fv__catch {
  margin-top: 54px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 41px;
  line-height: 1;
  letter-spacing: 0.118em;
  text-indent: 0.118em;
  font-feature-settings: "palt";
}
.fv__btn {
  display: block;
  width: 260px;
  height: 45px;
  margin: 50px auto 0;
  background: rgba(226, 198, 141, .6);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21.2px;
  line-height: 45px;
  transition: background-color .2s;
}
.fv__btn:hover { background: rgba(226, 198, 141, .85); }

/* ---------- ABOUT ---------- */
.about { padding: 61px 0 122px; }
.about__inner {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.about__text { width: 525px; padding-left: 8px; }
.about__eyebrow { margin-left: -8px; width: 494px; }
.about__title {
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 40px;
  line-height: 72px;
  letter-spacing: 0;
  font-feature-settings: normal;
  color: var(--navy);
}
.about__title em {
  font-style: normal;
  font-size: 45px;
  color: var(--gold);
}
.about__lead {
  font-weight: 500;
  font-size: 16px;
  line-height: 28px;
}
.about__title + .about__lead { margin-top: 22px; }
.about__lead + .about__lead { margin-top: 28px; }
.about__img { width: 586px; margin-top: 35px; align-self: flex-start; }

/* ---------- IMAGE ---------- */
.image {
  position: relative;
  background: var(--gray-bg);
  height: 598px;
}
.image__inner {
  position: relative;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
}
.image__text { width: 581px; padding-top: 35px; }
.image__head { width: 464px; }
.image__title {
  margin-top: 8px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  font-feature-settings: normal;
  text-align: center;
  color: var(--navy);
}
.image__lead {
  max-width: 506px;
  margin-top: 40px;
  padding-left: 2px;
  font-weight: 500;
  font-size: 16px;
  line-height: 28px;
}
.image__spec {
  margin-top: 36px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  color: var(--gold);
}
.image__spec small { font-size: 11px; margin-left: 2px; }
.spec { margin-top: 12px; }
.spec__row { padding-bottom: 0 !important; }
.spec__row {
  display: flex;
  padding: 13px 0 12px 6px;
  border-bottom: 1px solid var(--gray-line);
  font-weight: 700;
  font-size: 16px;
  line-height: 23px;
}
.spec__row { letter-spacing: 0; }
.spec__row dt { flex: 0 0 91px; }
/* 行の高さはカンプの罫線位置に合わせて個別指定 */
.spec__row:nth-child(1) { padding-top: 13px; min-height: 47px; }
.spec__row:nth-child(2) { padding-top: 12px; min-height: 75px; }
.spec__row:nth-child(3) { padding-top: 19px; min-height: 83px; }
.spec__row:nth-child(4) { padding-top: 14px; min-height: 58px; }
.spec__row dd { flex: 1; }
.image__photos {
  position: absolute;
  left: 633px;
  top: -68px;
  width: 567px;
  height: 777px;
}
.image__photo { position: absolute; object-fit: cover; max-width: none; }
.image__photo--bath { left: 0; top: 237px; width: 96px; height: 540px; }
.image__photo--sauna { left: 99px; top: 47px; width: 98px; height: 653px; }
.image__photo--building { left: 199px; top: 0; width: 368px; height: 584px; }
.image__note {
  position: absolute;
  right: 0;
  top: 592px;
  font-size: 11px;
  line-height: 1.5;
  color: #777;
}

/* ---------- POSITIONS ---------- */
.positions { padding: 208px 0 72px; text-align: center; }
.positions__title {
  margin-top: 12px;
  font-feature-settings: normal;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: 0.065em;
  text-indent: 0.065em;
  color: var(--navy);
}
.positions__cards {
  display: flex;
  justify-content: center;
  gap: 18px;
  max-width: 1200px;
  margin: 50px auto 0;
}
.card {
  position: relative;
  width: 590px;
  min-height: 792px;
  padding: 45px 50px 33px 60px;
  border-radius: 24px;
  text-align: left;
}
.card--night { background: var(--navy); color: #fff; }
.card__icon { display: block; width: 32px; height: 32px; overflow: visible; transform-origin: 50% 50%; }
/* 月アイコン：カードにホバー（キーボード操作時はフォーカス）で揺れる */
.card:hover .card__icon,
.card:focus-within .card__icon { animation: moon-swing 1.4s ease-in-out both; }
@keyframes moon-swing {
  0%   { transform: rotate(0) translateY(0); }
  20%  { transform: rotate(-24deg) translateY(-3px); }
  45%  { transform: rotate(14deg) translateY(-1px); }
  65%  { transform: rotate(-8deg) translateY(-2px); }
  82%  { transform: rotate(4deg) translateY(0); }
  100% { transform: rotate(0) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .card:hover .card__icon, .card:focus-within .card__icon { animation: none; }
}
.card__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 49px;
  font-family: var(--code);
  font-weight: 500;
  font-size: 14px;
  line-height: 25px;
  letter-spacing: 0.05em;
}
.card__tag {
  display: inline-block;
  width: 56px;
  height: 25px;
  border-radius: 3px;
  background: var(--gold);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  line-height: 25px;
  letter-spacing: 0.05em;
  text-align: center;
}
.card__title {
  margin-top: 13px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0;
}
.card__sub {
  margin-top: 24px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0;
  font-feature-settings: normal;
  color: var(--gold);
}
.card__text {
  margin-top: 21px;
  font-size: 16px;
  line-height: 24px;
}
.card__heading { margin-top: 10px; font-size: 16px; line-height: 24px; }
.card__list { margin-top: 6px; }
.card__list li { font-size: 16px; line-height: 24px; }
.card__list li::before { content: "・"; }
.card__salary {
  position: relative;
  margin: 49px 0 0 -9px;
  width: 491px;
  height: 112px;
  padding: 25px 35px 0;
  border-radius: 16px;
  background: var(--navy-light);
}
.card__salary-label {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
}
.card__salary-value {
  margin: 4px 0 0 34px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  line-height: 34px;
}
.card__salary-value strong { font-weight: 600; font-size: 26px; margin: 0 6px 0 6px; }
.card__salary-badge {
  position: absolute;
  right: 21px;
  bottom: 28px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .7);
  letter-spacing: 0.05em;
  border-radius: 3px;
  font-weight: 700;
  font-size: 12px;
  line-height: 20px;
}
.card__btn {
  display: block;
  width: 360px;
  height: 61px;
  margin: 46px auto 0;
  transform: translateX(-5px);
  background: var(--blue);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  line-height: 61px;
  text-align: center;
  color: #fff;
  transition: opacity .2s;
}
.card__btn:hover { opacity: .85; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--gray-text); padding: 57px 0 33px; }
.footer__inner {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.footer__logo { display: block; width: 439px; margin-left: 7px; }
.footer__logo img { width: 100%; }
.footer__address { margin-top: 36px; padding-left: 7px; font-style: normal; font-size: 18.5px; line-height: 28px; }
.footer__address p + p { margin-top: 13px; }
.footer__side { display: flex; flex-direction: column; align-items: flex-end; padding-top: 37px; }
.footer__nav {
  display: flex;
  gap: 32px;
  margin-right: 22px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}
.footer__nav a.is-current { color: var(--gold-light); }
.footer__nav a:hover { color: #fff; }
.footer__entry {
  margin-top: 26px;
  margin-right: 2px;
  width: 133px;
  height: 61px;
  border: 1px solid #fff;
  color: #fff;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 59px;
  text-align: center;
  transition: background-color .2s;
}
.footer__entry:hover { background: rgba(255, 255, 255, .1); }
.footer__copy {
  margin-top: 36px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  color: var(--gold-mid);
}

/* ==========================================================
   1024〜1239px（小さめのPC・タブレット横）
   ========================================================== */
@media (max-width: 1239px) {
  .about__inner, .image__inner, .footer__inner, .header__inner { margin: 0 20px; }
  .about__inner { gap: 40px; }
  .about__text { flex: 1; width: auto; }
  .about__img { width: 48%; }
  .header__nav { left: auto; right: 150px; }
  .image__photos { left: auto; right: 0; transform-origin: right top; transform: scale(.8); }
  .image__text { width: calc(100% - 480px); }
  .spec__row br.pc-only { display: none; }
}

/* ==========================================================
   SP・タブレット縦（1023px以下。デザインなし：カンプの要素を縦積み）
   ========================================================== */
@media (max-width: 1023px) {
  .pc-only { display: none; }
  br.sp-only { display: inline; }
  .header { height: 52px; }
  .header__inner { margin: 0 16px; }
  .header__logo { left: 0; top: 10px; width: 220px; }
  .header__nav { display: none; }
  .header__entry { top: 8px; width: 88px; height: 36px; line-height: 36px; font-size: 13px; }

  .fv { height: 560px; }
  .fv__body { padding: 150px 16px 0; }
  .fv__title { margin-top: 28px; font-size: 32px; line-height: 1.35; }
  .fv__title span { letter-spacing: 0.04em !important; }
  .fv__en { margin-top: 20px; font-size: 11px; line-height: 1.6; letter-spacing: 0.05em; }
  .fv__en-sep { display: none; }
  .fv__catch { margin-top: 32px; font-size: 26px; }
  .fv__btn { margin-top: 32px; width: 220px; }

  .about { padding: 64px 0; }
  .about__inner { flex-direction: column; gap: 32px; max-width: 640px; margin: 0 auto; padding: 0 16px; }
  .about__text { width: auto; padding-left: 0; }
  .about__eyebrow { margin-left: 0; width: auto; }
  .about__title { font-size: clamp(22px, 6.9vw, 26px); line-height: 1.75; }
  .about__title em { font-size: 30px; }
  .about__lead { font-size: 15px; }
  .about__img { width: 100%; }

  .image { height: auto; padding: 56px 0 40px; }
  .image__inner { max-width: 640px; margin: 0 auto; padding: 0 16px; }
  .image__text, .image__head { width: auto; padding-top: 0; }
  .image__title { font-size: 26px; }
  .image__lead { margin-top: 24px; font-size: 15px; }
  .spec__row { flex-direction: column; font-size: 14px; }
  .spec__row dt { flex: none; color: var(--gold); }
  .image__photos {
    position: relative; left: auto; right: auto; top: auto; transform: none;
    display: grid; grid-template-columns: 1fr 1fr 3fr; gap: 4px;
    width: 100%; height: auto; margin-top: 32px;
  }
  .image__photo { position: static; width: 100% !important; height: 240px !important; }
  .image__note { position: static; grid-column: 1 / -1; text-align: right; }

  .positions { padding: 72px 16px 56px; }
  .positions__title { font-size: 22px; line-height: 1.6; letter-spacing: .12em; text-indent: .12em; }
  .positions__cards { margin-top: 32px; }
  .card { width: 100%; max-width: 590px; min-height: 0; padding: 32px 20px; border-radius: 16px; }
  .card__label { margin-top: 24px; font-size: 12px; }
  .card__text, .card__list li, .card__heading { font-size: 14px; }
  .card__salary { width: auto; height: auto; margin: 28px 0 0; padding: 18px 20px 16px; }
  .card__salary-value { margin-left: 0; }
  .card__salary-badge { position: static; display: inline-block; margin-top: 8px; }
  .card__btn { width: 100%; margin-top: 28px; transform: none; }

  .footer { padding: 40px 16px 24px; }
  .footer__inner { flex-direction: column; margin: 0; gap: 28px; }
  .footer__logo { width: 260px; margin-left: 0; }
  .footer__address { margin-top: 24px; padding-left: 0; font-size: 14px; }
  .footer__side { align-items: flex-start; padding-top: 0; }
  .footer__nav { margin-right: 0; gap: 20px; font-size: 14px; flex-wrap: wrap; }
  .footer__entry { margin-top: 20px; }
  .footer__copy { margin-top: 32px; font-size: 11px; }
}
