/* アパ転 採用情報ページ (/recruit)。共通の見出し・ボタンなどは apaten-pages.css の apb_* を使う */

.apr_page { overflow-x: clip; }

/* ボタンの並び */
.apr_btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.apr_btns--center { justify-content: center; margin-top: 32px; }

/* ===== ページ上部 ===== */
.apr_hero {
  position: relative;
  padding: 72px 24px 96px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 225, 77, .35) 0, rgba(255, 225, 77, 0) 32%),
    linear-gradient(160deg, #E7F6FD 0%, #fff 55%, #F2FAFE 100%);
  overflow: hidden;
}
.apr_hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, #00AAEB, #005EAB 45%, #FFE14D 75%, #EE6600);
}
.apr_hero_inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
}
.apr_hero_label {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 18px;
  border-radius: 999px;
  background: #005EAB;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .16em;
}
.apr_hero_title {
  margin: 0 0 28px;
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .05em;
  color: #1E2A36;
  background: linear-gradient(90deg, #005EAB, #00AAEB);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.apr_hero_img { position: relative; margin: 0; }
.apr_hero_img::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: 28px;
  background: linear-gradient(135deg, #00AAEB, #005EAB);
  opacity: .9;
}
.apr_hero_img img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(0, 58, 112, .18);
}

/* 浮かぶ服のアイコン */
.apr_hero_deco { position: absolute; inset: 0; pointer-events: none; }
.apr_float {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 58, 112, .14);
  color: #005EAB;
  animation: aprFloat 5s ease-in-out infinite;
}
.apr_float svg { width: 32px; height: 32px; }
.apr_float--1 { top: 9%; left: 3%; color: #00AAEB; }
.apr_float--2 { bottom: 12%; left: 40%; width: 52px; height: 52px; background: #FFE14D; color: #003A70; animation-delay: .8s; }
.apr_float--3 { top: 7%; left: 47%; background: #EE6600; color: #fff; animation-delay: 1.4s; }
.apr_float--4 { bottom: 8%; right: 3%; width: 56px; height: 56px; animation-delay: 2.1s; }
.apr_float--2 svg, .apr_float--4 svg { width: 26px; height: 26px; }

/* ===== 私たちについて ===== */
.apr_message {
  position: relative;
  padding: 48px 52px;
  border-radius: 28px;
  background: #fff;
  border: 1.5px solid #00AAEB;
  box-shadow: 0 14px 36px rgba(0, 94, 171, .08);
}
.apr_message::before {
  content: "“";
  position: absolute;
  top: -26px;
  left: 28px;
  padding: 0 10px;
  background: #fff;
  font: 700 72px/1 Georgia, serif;
  color: #00AAEB;
}
.apr_message_text { margin: 0; font-size: 15px; line-height: 2.2; letter-spacing: .04em; color: #1E2A36; }
.apr_message_links { display: flex; flex-wrap: wrap; gap: 20px; margin: 28px 0 0; font-size: 13px; }
.apr_message_links a { color: #005EAB; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.apr_message_links a:hover { color: #00AAEB; }

/* ===== 仕事内容 ===== */
.apr_work_list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.apr_work_item {
  position: relative;
  padding: 32px 22px 28px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 58, 112, .08);
  border-top: 5px solid #00AAEB;
  transition: transform .3s ease, box-shadow .3s ease;
}
.apr_work_item:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 58, 112, .14); }
.apr_work_item.is_sales { border-top-color: #EE6600; }
.apr_work_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E7F6FD, #fff);
  border: 1.5px solid #00AAEB;
  color: #005EAB;
}
.apr_work_item.is_sales .apr_work_icon { border-color: #EE6600; color: #EE6600; background: linear-gradient(135deg, #FFF3E9, #fff); }
.apr_work_icon svg { width: 28px; height: 28px; }
.apr_work_tag { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #00AAEB; }
.apr_work_item.is_sales .apr_work_tag { color: #EE6600; }
.apr_work_title { margin: 0 0 12px; font-size: 18px; font-weight: 700; letter-spacing: .06em; color: #1E2A36; }
.apr_work_item .apb_text { font-size: 13px; line-height: 1.9; }

/* ===== アパレル経験が活きる理由 ===== */
.apr_reason_list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.apr_reason_item {
  position: relative;
  padding: 36px 36px 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, #F5FBFE 0%, #fff 70%);
  border: 1px solid #DCEFF9;
  overflow: hidden;
}
.apr_reason_img { margin: -36px -36px 24px; }
.apr_reason_img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.apr_page .apr_reason_num {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif !important;
  font-size: 48px;
  font-style: italic;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px #00AAEB;
}
.apr_reason_title { margin: 0 0 12px; font-size: 19px; font-weight: 700; line-height: 1.6; letter-spacing: .04em; color: #005EAB; }

/* ===== こんな人と働きたい ===== */
.apr_wanted {
  position: relative;
  padding: 104px 24px;
  background: linear-gradient(120deg, #00AAEB 0%, #005EAB 62%, #003A70 100%);
  color: #fff;
  overflow: hidden;
}
.apr_wanted::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .14;
  pointer-events: none;
  background-image: radial-gradient(#fff 1.4px, transparent 1.6px);
  background-size: 18px 18px;
}
.apr_wanted_inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
}
.apr_wanted_head { position: relative; }
.apr_page .apr_wanted .apb_en { color: #FFE14D; }
.apr_page .apr_wanted .apb_en::before { background: #FFE14D; }
.apr_wanted_title { margin: 0; font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; line-height: 1.5; letter-spacing: .08em; color: #fff; }
.apr_wanted_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-top: 28px;
  border-radius: 50%;
  background: #FFE14D;
  color: #003A70;
  animation: aprFloat 4.4s ease-in-out infinite;
}
.apr_wanted_icon svg { width: 36px; height: 36px; }
.apr_wanted_list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.apr_wanted_list li {
  position: relative;
  padding: 18px 24px 18px 60px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  color: #1E2A36;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
}
.apr_wanted_list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 22px;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00AAEB, #005EAB);
}
.apr_wanted_list li::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 29px;
  width: 6px;
  height: 11px;
  margin-top: -8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

/* ===== 先輩メッセージ ===== */
.apr_member_list .apb_member_name { margin: 0; }

/* ===== 1日の流れ ===== */
.apr_day_list { position: relative; margin: 0; padding: 0; list-style: none; }
.apr_day_list::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 35px;
  width: 2px;
  background: linear-gradient(180deg, #00AAEB, #005EAB 60%, #FFE14D);
}
.apr_day_item { position: relative; display: flex; gap: 28px; align-items: flex-start; padding: 0 0 32px; }
.apr_day_item:last-child { padding-bottom: 0; }
.apr_day_time {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #00AAEB;
  color: #005EAB;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
}
.apr_day_body { flex: 1; padding: 20px 24px; border-radius: 18px; background: #F5FBFE; }
.apr_day_title { margin: 0 0 6px; font-size: 17px; font-weight: 700; letter-spacing: .04em; color: #1E2A36; }
.apr_note { margin: 28px 0 0; font-size: 12px; line-height: 1.8; color: #5B6670; text-align: center; }

/* ===== 選考の流れ ===== */
.apr_flow_list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.apr_flow_item {
  position: relative;
  padding: 30px 24px 28px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 58, 112, .08);
  text-align: center;
}
.apr_flow_item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -26px;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-top: 2px solid #00AAEB;
  border-right: 2px solid #00AAEB;
  transform: rotate(45deg);
}
.apr_flow_num {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00AAEB, #005EAB);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}
.apr_flow_title { margin: 0 0 10px; font-size: 20px; font-weight: 700; letter-spacing: .1em; color: #005EAB; }
.apr_flow_item .apb_text { text-align: left; font-size: 13px; }

/* ===== 募集要項 ===== */
.apr_position_list { display: grid; gap: 40px; max-width: 900px; margin: 0 auto; }
.apr_position {
  border-radius: 26px;
  background: #fff;
  border: 1px solid #DCEFF9;
  box-shadow: 0 12px 32px rgba(0, 58, 112, .07);
  overflow: hidden;
}
.apr_position_head { padding: 32px 40px 28px; background: linear-gradient(120deg, #E7F6FD 0%, #fff 80%); border-bottom: 1px solid #DCEFF9; }
.apr_position_tag {
  display: inline-block;
  margin: 0 0 10px;
  padding: 3px 12px;
  border-radius: 999px;
  background: #FFE14D;
  color: #003A70;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}
.apr_position_title { margin: 0 0 8px; font-size: 24px; font-weight: 700; letter-spacing: .08em; color: #005EAB; }
.apr_position_catch { margin: 0; font-size: 14px; line-height: 1.8; color: #5B6670; }
.apr_position_table { margin: 0; padding: 12px 40px 0; }
.apr_position_row { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid #E3E6EA; }
.apr_position_row:last-child { border-bottom: 0; }
.apr_position_row dt { font-size: 14px; font-weight: 700; color: #005EAB; letter-spacing: .06em; }
.apr_position_row dd { margin: 0; font-size: 14px; line-height: 1.9; color: #1E2A36; }
.apr_position .apr_btns { padding: 0 40px 36px; }

/* ===== 応募フォーム ===== */
.apr_entry {
  padding: 112px 24px 120px;
  background: linear-gradient(180deg, #fff 0, #E7F6FD 100%);
  scroll-margin-top: 80px;
}
.apr_entry_inner { max-width: 820px; margin: 0 auto; }
.apr_entry .apb_en, .apr_entry .apb_title { text-align: center; }
.apr_entry .apb_en::before { display: none; }
.apr_entry_lead { margin: 0 auto 40px; text-align: center; }
.apr_entry_tel { margin: -16px 0 32px; text-align: center; font-size: 14px; color: #1E2A36; }
.apr_entry_tel a { font-size: 20px; font-weight: 700; color: #005EAB; text-decoration: none; }
.apr_entry_tel span { display: block; margin-top: 4px; font-size: 12px; color: #5B6670; }
.apr_entry_form {
  padding: 40px 48px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 58, 112, .1);
  border-top: 6px solid #00AAEB;
}
.apr_entry_form .common_form_wrap { max-width: none; margin: 0; padding: 0; }
#recruit_positions, #recruit_flow { scroll-margin-top: 80px; }

/* ===== スクロールでふわっと出す (JS が使えるときだけ隠す) ===== */
.apr_page.is_motion .apr_reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease var(--d, 0s), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s);
}
.apr_page.is_motion .apr_reveal.is_in { opacity: 1; transform: none; }

@keyframes aprFloat {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-10px) rotate(6deg); }
}

@media (prefers-reduced-motion: reduce) {
  .apr_float, .apr_wanted_icon { animation: none; }
  .apr_page .apr_reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .apr_work_item { transition: none; }
}

/* ===== タブレット ===== */
@media only screen and (max-width: 1024px) {
  .apr_work_list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .apr_flow_list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apr_flow_item:nth-child(2n)::after { display: none; }
}
@media only screen and (max-width: 960px) {
  .apr_hero_inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .apr_hero_img { max-width: 560px; margin: 0 auto; width: 100%; }
  .apr_wanted_inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .apr_wanted_icon { position: absolute; top: 0; right: 0; margin: 0; }
}

/* ===== スマホ ===== */
@media only screen and (max-width: 640px) {
  .apr_hero { padding: 40px 20px 72px; }
  .apr_hero_title { font-size: 24px; }
  .apr_btns { flex-direction: column; }
  .apr_btns .apb_btn { width: 100%; min-width: 0; }
  .apr_hero_img::before { inset: 12px -10px -12px 10px; border-radius: 20px; }
  .apr_hero_img img { border-radius: 20px; }
  .apr_float { width: 44px; height: 44px; }
  .apr_float svg { width: 22px; height: 22px; }
  .apr_float--1 { top: 2%; left: auto; right: 22%; }
  .apr_float--2 { display: none; }
  .apr_float--3 { top: 2%; left: auto; right: 4%; }
  .apr_float--4 { display: none; }

  .apr_message { padding: 36px 22px 28px; border-radius: 20px; }
  .apr_message_text { font-size: 14px; line-height: 2.05; }

  .apr_work_list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .apr_work_item { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; padding: 22px 20px; }
  .apr_work_icon { grid-row: 1 / span 3; width: 52px; height: 52px; margin: 0; }
  .apr_work_title { margin-bottom: 8px; font-size: 17px; }

  .apr_reason_list { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .apr_reason_item { padding: 28px 22px 24px; }
  .apr_reason_img { margin: -28px -22px 20px; }
  .apr_reason_title { font-size: 17px; }

  .apr_wanted { padding: 72px 20px; }
  .apr_wanted_icon { width: 56px; height: 56px; }
  .apr_wanted_icon svg { width: 28px; height: 28px; }
  .apr_wanted_list li { padding: 16px 16px 16px 52px; font-size: 14px; }
  .apr_wanted_list li::before { left: 16px; }
  .apr_wanted_list li::after { left: 23px; }

  .apr_day_list::before { left: 27px; }
  .apr_day_item { gap: 14px; padding-bottom: 20px; }
  .apr_day_time { width: 56px; height: 56px; font-size: 13px; }
  .apr_day_body { padding: 16px 18px; }
  .apr_day_title { font-size: 15px; }

  .apr_flow_list { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .apr_flow_item::after,
  .apr_flow_item:nth-child(2n)::after { display: block; top: auto; bottom: -22px; right: auto; left: 50%; margin: 0 0 0 -7px; transform: rotate(135deg); }
  .apr_flow_item:last-child::after { display: none; }

  .apr_position_head { padding: 26px 22px 22px; }
  .apr_position_title { font-size: 20px; }
  .apr_position_table { padding: 6px 22px 0; }
  .apr_position_row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 0; }
  .apr_position .apr_btns { padding: 0 22px 28px; }

  .apr_entry { padding: 72px 16px 88px; }
  .apr_entry_form { padding: 28px 18px; border-radius: 20px; }
}
