@charset "UTF-8";
/* 藤崎駅ビル歯科 採用ページ専用スタイル
   index.css（サイト共通）を読み込んだうえで追加する差分。
   色・書体は既存サイトのトークンに合わせる。 */

:root {
  --rec-brand: #b6006a;
  --rec-brand-soft: #f4dbd6;
  --rec-accent: #efcfb7;
  --rec-ivory: #fdf9f6;
  --rec-ink: #333;
  --rec-ink-soft: #666;
  --rec-hair: #e6d9d2;
  --rec-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 共通の調整 ---------- */
.rec-page main { overflow-x: hidden; }

.rec-hl { text-align: center; margin-bottom: 3rem; }
.rec-hl p { display: block; }
.rec-hl h2 { margin-bottom: 1.5rem; }
.rec-hl::after { display: none; }
.rec-hl h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  margin: 1.5rem auto 0;
  background-color: var(--rec-brand);
}

/* スクロールで淡く出す（サイトの .fade と同系の所作） */
.rec-reveal { opacity: 0; transform: translateY(16px); }
.rec-reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--rec-ease), transform 0.9s var(--rec-ease);
}
@media (prefers-reduced-motion: reduce) {
  .rec-reveal, .rec-reveal.is-visible { opacity: 1; transform: none; transition: none; }
}

/* <picture> が余計なボックスを作らないようにする（img を直接の子として扱わせる） */
.rec-hero__img picture,
.rec-flow__img picture,
.rec-voice__profile picture { display: contents; }

/* ---------- ヒーロー ----------
   集合写真に文字を重ねると顔が隠れて可読性も落ちるため、
   写真とテキストを分けた2カラム（スマホでは縦積み）にしている。 */
.rec-hero { background-color: var(--rec-ivory); overflow: hidden; }
.rec-hero__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rec-hero__body { position: relative; }
.rec-hero__en {
  color: var(--rec-brand);
  line-height: 1;
  margin: 0 0 1rem;
}
.rec-hero__title {
  font-size: 1.75em;
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.1em;
  margin: 0 0 1.5rem;
}
.rec-hero__sub {
  font-size: 0.95em;
  letter-spacing: 0.1em;
  color: var(--rec-ink-soft);
  margin: 0 0 1.75rem;
  padding-bottom: 1.75rem;
  position: relative;
}
.rec-hero__sub::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 40px; height: 1px;
  background-color: var(--rec-brand);
}
.rec-hero__sub .ft--en { display: block; font-size: 0.72em; letter-spacing: 0.22em; margin-top: 0.4rem; }
.rec-hero__lead { line-height: 2.05; margin: 0 0 2.5rem; }
.rec-hero__btn { margin: 0; }

@media screen and (max-width: 767px) {
  /* ヘッダーが position:fixed のため、写真を先頭に置いて見出しの被りを避ける */
  .rec-hero__inner { display: flex; flex-direction: column; }
  .rec-hero__img { order: 1; height: 44vh; min-height: 250px; padding-top: 71px; box-sizing: border-box; background-color: #f6efe7; }
  .rec-hero__body { order: 2; padding: 3rem 1.5rem 4rem; text-align: center; }
  .rec-hero__en { font-size: 2.2em; }
  .rec-hero__sub::after { left: 50%; margin-left: -20px; }
  .rec-hero__lead { text-align: left; }
  .rec-hero__btn { display: block; }
}
@media screen and (min-width: 768px) {
  .rec-hero__inner { display: flex; align-items: stretch; min-height: 78vh; }
  .rec-hero__body {
    flex: 0 0 44%;
    display: flex; flex-direction: column; justify-content: center;
    padding: 6rem 4rem 6rem max(1.5rem, calc((100vw - 1400px) / 2));
    box-sizing: border-box;
  }
  .rec-hero__img { flex: 1 1 auto; }
  .rec-hero__en { font-size: 3.4em; }
  .rec-hero__title { font-size: 2.2em; }
  .rec-hero__btn { align-self: flex-start; }
}
@media screen and (min-width: 1200px) {
  .rec-hero__title { font-size: 2.5em; }
}

/* 現在地（求人）を控えめに示す */
@media screen and (min-width: 768px) {
  .header ul li.rec-nav-current > a { color: var(--rec-brand); }
}

/* ---------- 院長より ---------- */
.rec-message__body { max-width: 720px; margin: 0 auto; }
.rec-message__body p { line-height: 2.05; margin-bottom: 1.5rem; }
.rec-message__sign {
  text-align: right;
  color: var(--rec-brand);
  letter-spacing: 0.1em;
  margin-top: 2.5rem;
}

/* ---------- 働くということ ---------- */
.rec-points__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.rec-points__list li {
  background-color: #FFF;
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: 0.3rem 0.3rem 1.5rem rgba(77, 77, 77, 0.08);
}
.rec-points__no {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  color: var(--rec-accent);
  font-size: 2.4em;
  font-weight: 700;
  line-height: 1;
}
.rec-points__hl {
  font-size: 1.15em;
  font-weight: 600;
  color: var(--rec-brand);
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rec-hair);
  padding-right: 3rem;
}
.rec-points__list p { line-height: 1.95; margin: 0; }
@media screen and (min-width: 768px) {
  .rec-points__list { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

/* ---------- 一日の流れ ---------- */
.rec-flow__list { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; }
.rec-flow__list li { position: relative; margin-bottom: 3rem; }
.rec-flow__list li:last-child { margin-bottom: 0; }
.rec-flow__img { overflow: hidden; }
.rec-flow__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rec-flow__step {
  display: flex; align-items: baseline; gap: 0.6rem;
  color: var(--rec-brand);
  margin: 0 0 0.75rem;
}
.rec-flow__step .ft--sc { font-size: 0.85em; letter-spacing: 0.2em; }
.rec-flow__step .ft--en { font-size: 1.5em; font-weight: 700; line-height: 1; }
.rec-flow__hl { font-size: 1.25em; font-weight: 600; margin: 0 0 0.75rem; }
.rec-flow__txt p { line-height: 1.95; margin: 0; }
@media screen and (max-width: 767px) {
  .rec-flow__img { height: 200px; margin-bottom: 1.5rem; }
}
@media screen and (min-width: 768px) {
  .rec-flow__list li { display: flex; align-items: center; gap: 3rem; margin-bottom: 5rem; }
  .rec-flow__list li:nth-child(even) { flex-direction: row-reverse; }
  .rec-flow__img { flex: 0 0 42%; height: 260px; }
  .rec-flow__txt { flex: 1 1 auto; }
}

/* ---------- 先輩の声 ---------- */
.rec-voice__wrap { max-width: 900px; margin: 0 auto; }
.rec-voice__profile { margin: 0 0 2.5rem; text-align: center; }
.rec-voice__profile img {
  width: 112px; height: 112px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 1rem;
}
.rec-voice__profile figcaption { font-size: 0.9em; line-height: 1.8; }
.rec-voice__role { display: block; font-weight: 600; color: var(--rec-brand); }
.rec-voice__years { display: block; color: var(--rec-ink-soft); }
.rec-voice__qa { margin: 0; }
.rec-voice__qa > div { margin-bottom: 2.5rem; }
.rec-voice__qa > div:last-child { margin-bottom: 0; }
.rec-voice__qa dt {
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rec-hair);
  display: flex; align-items: baseline; gap: 0.75rem;
}
.rec-voice__q { color: var(--rec-brand); font-size: 1.4em; line-height: 1; }
.rec-voice__qa dd { margin: 0; line-height: 2; }
@media screen and (min-width: 768px) {
  .rec-voice__wrap { display: flex; gap: 3.5rem; align-items: flex-start; }
  .rec-voice__profile { flex: 0 0 128px; margin-bottom: 0; }
  .rec-voice__profile img { width: 128px; height: 128px; }
  .rec-voice__qa { flex: 1 1 auto; }
}

/* ---------- 募集要項 ---------- */
.rec-terms__job {
  text-align: center;
  font-size: 1.3em;
  font-weight: 600;
  margin: 0 0 2rem;
}
.rec-terms__job span {
  display: inline-block;
  margin-left: 1rem;
  padding: 0.25rem 1rem;
  font-size: 0.7em;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #FFF;
  background-color: var(--rec-brand);
  vertical-align: middle;
}
.rec-terms__table { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--rec-hair); }
.rec-terms__table dl { margin: 0; border-bottom: 1px solid var(--rec-hair); }
.rec-terms__table dt {
  font-weight: 600;
  color: var(--rec-brand);
  letter-spacing: 0.08em;
}
.rec-terms__table dd { margin: 0; line-height: 1.95; }
.rec-terms__note { display: inline-block; margin-top: 0.5rem; font-size: 0.88em; color: var(--rec-ink-soft); line-height: 1.9; }
.rec-terms__pay { font-size: 1.2em; font-weight: 600; color: var(--rec-brand); }
.rec-terms__pay .ft--en { font-size: 1.35em; font-weight: 700; }
@media screen and (max-width: 767px) {
  .rec-terms__table dt { padding: 1.25rem 0 0.5rem; }
  .rec-terms__table dd { padding: 0 0 1.25rem; }
}
@media screen and (min-width: 768px) {
  .rec-terms__table dl { display: flex; }
  .rec-terms__table dt { flex: 0 0 180px; padding: 1.5rem 1.5rem 1.5rem 0; }
  .rec-terms__table dd { flex: 1 1 auto; padding: 1.5rem 0; }
}

/* ---------- よくある質問 ---------- */
.rec-faq__list { max-width: 860px; margin: 0 auto; }
.rec-faq__list details {
  background-color: #FFF;
  border: 1px solid var(--rec-hair);
  margin-bottom: 1rem;
}
.rec-faq__list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 3.5rem 1.25rem 1.5rem;
  font-weight: 600;
  position: relative;
  display: flex; align-items: baseline; gap: 0.75rem;
}
.rec-faq__list summary::-webkit-details-marker { display: none; }
.rec-faq__q { color: var(--rec-brand); font-size: 1.3em; line-height: 1; }
.rec-faq__list summary::after {
  content: "";
  width: 0.5rem; height: 0.5rem;
  border-top: 1px solid var(--rec-brand);
  border-right: 1px solid var(--rec-brand);
  transform: rotate(135deg);
  position: absolute; top: 50%; right: 1.5rem;
  margin-top: -0.4rem;
  transition: transform 0.4s var(--rec-ease);
}
.rec-faq__list details[open] summary::after { transform: rotate(-45deg); margin-top: -0.15rem; }
.rec-faq__a {
  padding: 0 1.5rem 1.5rem;
  display: flex; align-items: baseline; gap: 0.75rem;
  border-top: 1px solid var(--rec-brand-soft);
  padding-top: 1.25rem;
}
.rec-faq__a > .ft--sc { color: var(--rec-accent); font-size: 1.3em; line-height: 1; }
.rec-faq__a p { margin: 0; line-height: 1.95; }

/* ---------- 応募 ---------- */
.rec-entry__lead { max-width: 720px; margin: 0 auto 3rem; text-align: center; line-height: 2; }

.rec-entry__tel {
  max-width: 560px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background-color: var(--rec-ivory);
  border: 1px solid var(--rec-brand-soft);
}
.rec-entry__tel-label { color: var(--rec-accent); letter-spacing: 0.3em; font-size: 0.9em; margin: 0 0 0.75rem; }
.rec-entry__tel-no { margin: 0 0 1rem; }
.rec-entry__tel-no a { color: var(--rec-brand); font-weight: 700; }
.rec-entry__tel-no .ft--en { font-size: 2.1em; font-weight: 700; letter-spacing: 0.02em; }
.rec-entry__tel-note { font-size: 0.85em; color: var(--rec-ink-soft); line-height: 1.9; margin: 0; }

.rec-entry__or { text-align: center; margin: 2.5rem 0; position: relative; }
.rec-entry__or::before {
  content: ""; position: absolute; top: 50%; left: 0; right: 0;
  height: 1px; background-color: var(--rec-hair);
}
.rec-entry__or span {
  position: relative;
  background-color: #FFF;
  padding: 0 1.5rem;
  font-size: 0.85em;
  color: var(--rec-ink-soft);
  letter-spacing: 0.2em;
}

.rec-form { max-width: 720px; margin: 0 auto; }
.rec-form__note { font-size: 0.88em; color: var(--rec-ink-soft); line-height: 1.9; margin: 0 0 2rem; }
.rec-form__row { margin: 0 0 1.5rem; padding: 0; border: 0; }
.rec-form__row label, .rec-form__row legend {
  display: block;
  font-weight: 600;
  font-size: 0.95em;
  margin-bottom: 0.5rem;
  padding: 0;
}
.rec-form__row .req {
  display: inline-block;
  margin-left: 0.75rem;
  padding: 0.1rem 0.6rem;
  font-size: 0.7em;
  font-weight: 400;
  color: #FFF;
  background-color: var(--rec-brand);
  letter-spacing: 0.08em;
  vertical-align: 0.1em;
}
.rec-form input[type="text"],
.rec-form input[type="tel"],
.rec-form input[type="email"],
.rec-form select,
.rec-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.9rem 1rem;
  font-family: inherit;
  font-size: 1em;
  color: var(--rec-ink);
  background-color: #FFF;
  border: 1px solid var(--rec-hair);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.4s var(--rec-ease);
}
.rec-form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--rec-brand) 50%),
                    linear-gradient(135deg, var(--rec-brand) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.rec-form input:focus, .rec-form select:focus, .rec-form textarea:focus {
  outline: none;
  border-color: var(--rec-brand);
}
.rec-form input[aria-invalid="true"] { border-color: var(--rec-brand); background-color: #fff6fb; }
.rec-form__choice {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  margin: 0 1.5rem 0.5rem 0;
  font-weight: 400 !important;
  cursor: pointer;
  min-height: 44px;
}
.rec-form__choice input { width: 18px; height: 18px; accent-color: var(--rec-brand); }
.rec-form__row--split > div { margin-bottom: 1.5rem; }
.rec-form__row--split > div:last-child { margin-bottom: 0; }
@media screen and (min-width: 768px) {
  .rec-form__row--split { display: flex; gap: 1.5rem; }
  .rec-form__row--split > div { flex: 1 1 50%; margin-bottom: 0; }
}
.rec-form__error {
  color: var(--rec-brand);
  font-weight: 600;
  font-size: 0.9em;
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  background-color: #fff6fb;
  border-left: 3px solid var(--rec-brand);
}
.rec-form__submit { display: block; margin: 2.5rem auto 1.5rem; max-width: 360px; }
.rec-form__submit button {
  width: 100%;
  padding: 1.15rem 3rem;
  font-family: inherit;
  font-size: 1.1em;
  color: #FFF;
  background-color: var(--rec-brand);
  border: 0;
  cursor: pointer;
  position: relative;
}
.rec-form__privacy { font-size: 0.82em; color: var(--rec-ink-soft); text-align: center; line-height: 1.9; margin: 0; }
.rec-form__privacy a { color: var(--rec-brand); text-decoration: underline; }

/* ---------- スマホ固定ボタン ---------- */
.rec-footbtn { display: none; }
@media screen and (max-width: 767px) {
  .rec-footbtn {
    display: block;
    position: fixed; left: 0; bottom: 0; z-index: 10;
    width: 100%;
  }
  .rec-footbtn ul { display: flex; margin: 0; padding: 0; list-style: none; }
  .rec-footbtn li { width: 50%; text-align: center; }
  .rec-footbtn li:first-child { border-right: 1px solid #FFF; }
  .rec-footbtn li a {
    display: block;
    padding: 1.15rem 0.5rem;
    background-color: var(--rec-brand);
    color: #FFF;
    font-weight: 600;
    font-size: 0.95em;
  }
  .rec-footbtn .tel a .ft--en { font-weight: 700; font-size: 1.05em; }
  .rec-page .footer { padding-bottom: 5rem; }
}

/* 印刷時は装飾を落とす（応募要項を紙で見る想定） */
@media print {
  .header, .rec-footbtn, .rec-hero__img, .rec-form, .footer__nav { display: none; }
  .rec-reveal { opacity: 1; transform: none; }
}

/* 写真を掲載しない場合の代替（丸枠に経験年数を置いて体裁を保つ） */
.rec-voice__badge {
  width: 160px; height: 160px; border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background-color: var(--rec-ivory);
  border: 1px solid var(--rec-brand-soft);
  color: var(--rec-brand);
}
.rec-voice__badge .ft--en { font-size: 2.6em; font-weight: 700; line-height: 1; }
.rec-voice__badge small { font-size: 0.85em; letter-spacing: 0.1em; margin-top: 0.35rem; }
@media screen and (min-width: 768px) {
  .rec-voice__badge { width: 180px; height: 180px; }
}
