/* ===== Recruit Page ===== */
.recruit-page { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* Breadcrumb (same as store pages) */
.recruit-page ~ .breadcrumb,
main.store-page-main > .breadcrumb {
  padding: 12px 24px 0;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
main.store-page-main > .breadcrumb ol { display: flex; gap: 0; list-style: none; font-size: 12px; color: #999; padding: 0; margin: 0; }
main.store-page-main > .breadcrumb li + li::before { content: '/'; margin: 0 8px; color: #ddd; }
main.store-page-main > .breadcrumb a { color: #999; text-decoration: none; }
main.store-page-main > .breadcrumb a:hover { color: #333; text-decoration: underline; }

/* Hero wrap: text left + images right */
.recruit-hero-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
  align-items: center;
}
.recruit-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  color: #fff;
}
.recruit-hero .label { font-size: 12px; letter-spacing: 4px; color: #aaa; margin-bottom: 12px; }
.recruit-hero h1 { font-size: 26px; font-weight: bold; line-height: 1.6; margin-bottom: 12px; }
.recruit-hero .sub { font-size: 14px; color: #ccc; line-height: 1.8; }

/* Hero gallery (4 images in 2x2) */
.recruit-hero-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hero-img {
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Gallery (below 募集要項) */
.recruit-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 32px 0 48px;
}
.gallery-img {
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
}
.gallery-img img { width: 100%; height: 100%; object-fit: cover; }

/* Section titles */
.recruit-page h2 {
  font-size: 1.5em;
  font-weight: bold;
  margin: 56px 0 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid #333;
  color: #333;
}
.recruit-page h2:first-of-type { margin-top: 0; }

/* Comparison cards */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0 40px; }
.compare-card {
  border-radius: 16px;
  padding: 24px;
  border: 2px solid;
}
.compare-card--fc { background: #fff5f5; border-color: #fcc; }
.compare-card--behoma { background: #f0fff4; border-color: #9ae6b4; }
.compare-card .card-label { font-size: 20px; font-weight: bold; color: #333; margin-bottom: 16px; }
.compare-card .flow-box {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}
.compare-card .flow-title { font-size: 13px; font-weight: bold; color: #333; margin-bottom: 10px; }
.compare-card .flow-bar {
  border-radius: 6px;
  padding: 10px 8px;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 6px;
}
.compare-card .flow-bar--fc { background: #e53e3e; }
.compare-card .flow-bar--behoma { background: #38a169; }
.compare-card .flow-arrow { font-size: 20px; color: #ccc; margin: 4px 0; }
.compare-card .flow-split { display: flex; gap: 4px; }
.compare-card .flow-split > div {
  border-radius: 6px;
  padding: 10px 6px;
  font-size: 11px;
  text-align: center;
  line-height: 1.4;
}
.compare-card .desc { font-size: 13px; color: #666; line-height: 1.7; }

/* Highlight: FC trainer (small slice) */
.flow-highlight-weak {
  flex: 2;
  background: #e53e3e;
  color: #fff !important;
  border-radius: 6px;
  padding: 10px 6px;
  font-size: 12px;
  text-align: center;
  line-height: 1.4;
  font-weight: bold;
}
/* Highlight: Behoma trainer (large slice) */
.flow-highlight-strong {
  flex: 5;
  background: #22543d;
  color: #fff !important;
  border-radius: 6px;
  padding: 12px 6px;
  font-size: 14px;
  text-align: center;
  line-height: 1.4;
  font-weight: bold;
}

/* System cards */
.system-section {
  background: #f0f4ff;
  border-radius: 16px;
  padding: 32px;
  margin: 24px 0 40px;
}
.system-section .intro { font-size: 15px; color: #333; line-height: 1.8; margin-bottom: 20px; }
.system-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.system-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 12px;
  text-align: center;
}
.system-card .icon { font-size: 32px; margin-bottom: 6px; }
.system-card .name { font-size: 14px; font-weight: bold; color: #333; margin-bottom: 4px; }
.system-card .note { font-size: 12px; color: #888; }

/* Feature list */
.feature-list { display: flex; flex-direction: column; gap: 16px; margin: 24px 0 40px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #f8f8f6;
  border-radius: 16px;
  padding: 24px;
}
.feature-item .icon { font-size: 36px; flex-shrink: 0; }
.feature-item .title { font-weight: bold; color: #333; margin-bottom: 4px; font-size: 16px; }
.feature-item .desc { font-size: 14px; color: #666; line-height: 1.7; }

/* Requirements table */
.req-table { width: 100%; border-collapse: collapse; margin: 24px 0 40px; }
.req-table td { padding: 16px 14px; border-bottom: 1px solid #eee; }
.req-table td:first-child {
  font-weight: bold;
  color: #333;
  width: 28%;
  background: #f9f9f9;
  vertical-align: top;
}
.req-table .sub { font-size: 13px; color: #888; }

/* Steps (horizontal) */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0 40px; position: relative; }
.steps-grid::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #ddd;
  z-index: 0;
}
.step-item { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  margin: 0 auto 10px;
  color: #fff;
  background: #333;
}
.step-num--last { background: #e53e3e; }
.step-item .title { font-weight: bold; color: #333; font-size: 14px; margin-bottom: 4px; }
.step-item .desc { font-size: 12px; color: #888; line-height: 1.5; }

/* Password gate */
.pw-gate {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  color: #fff;
  margin: 56px 0 40px;
}
.pw-gate .label { font-size: 13px; letter-spacing: 2px; color: #aaa; margin-bottom: 10px; }
.pw-gate h3 { font-size: 22px; font-weight: bold; margin-bottom: 14px; color: #fff; }
.pw-gate .desc { font-size: 14px; color: #ccc; line-height: 1.8; margin-bottom: 20px; }
.pw-gate .highlight { font-size: 14px; color: #ffd700; margin-bottom: 24px; line-height: 1.8; }
.pw-gate .pw-form { display: flex; justify-content: center; gap: 8px; max-width: 340px; margin: 0 auto; }
.pw-gate .pw-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 14px;
  outline: none;
}
.pw-gate .pw-form input::placeholder { color: rgba(255,255,255,0.4); }
.pw-gate .pw-form button {
  background: #e53e3e;
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}
.pw-gate .pw-form button:hover { background: #c53030; }
.pw-error { color: #ff6b6b; font-size: 13px; margin-top: 10px; display: none; }

/* Instagram button */
.btn-instagram {
  display: inline-block;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  padding: 16px 36px;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  font-size: 15px;
  transition: opacity 0.2s;
}
.btn-instagram:hover { opacity: 0.9; color: #fff; text-decoration: none; }

/* Secret area */
.secret-area { display: none; }
.secret-area .warning {
  background: #fffbeb;
  border: 2px solid #f6e05e;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
  font-size: 15px;
  color: #333;
  line-height: 1.8;
}
.secret-area h3 { font-size: 1.2em; font-weight: bold; margin: 32px 0 16px; color: #333; }

/* Bar chart */
.bar-chart { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; }
.bar-chart .bar-row .label { font-size: 13px; color: #888; margin-bottom: 6px; }
.bar-chart .bar-track {
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  height: 36px;
  display: flex;
}
.bar-chart .bar-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  padding: 0 8px;
  white-space: nowrap;
}
.bar-seg--red { background: #e53e3e; }
.bar-seg--orange { background: #ffa07a; color: #333 !important; }
.bar-seg--green { background: #90ee90; color: #333 !important; }
.bar-seg--dk-green { background: #38a169; }
.bar-seg--lt-green { background: #48bb78; }

/* Horizontal bar */
.h-bar-item { margin-bottom: 14px; }
.h-bar-item .label { font-size: 13px; color: #666; margin-bottom: 6px; }
.h-bar-row { display: flex; align-items: center; gap: 10px; }
.h-bar {
  height: 30px;
  border-radius: 6px;
}
.h-bar--blue { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.h-bar--red { background: linear-gradient(90deg, #e53e3e, #fc8181); }
.h-bar-val { font-size: 15px; font-weight: bold; color: #333; white-space: nowrap; }
.h-bar-val--red { color: #e53e3e; }

/* CTA */
.recruit-cta {
  text-align: center;
  padding: 32px;
  background: #333;
  border-radius: 16px;
  margin: 40px 0;
}
.recruit-cta .title { color: #fff; font-size: 20px; font-weight: bold; margin-bottom: 10px; }
.recruit-cta .desc { color: #ccc; font-size: 14px; margin-bottom: 20px; }

/* Support list in secret */
.support-list {
  background: #f8f8f6;
  border-radius: 12px;
  padding: 28px;
  margin: 20px 0;
}
.support-list ul { margin: 0; padding-left: 20px; }
.support-list li { margin-bottom: 14px; line-height: 1.7; font-size: 15px; }
.support-list li:last-child { margin-bottom: 0; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .recruit-hero-wrap { grid-template-columns: 1fr; }
  .recruit-hero { padding: 32px 20px; }
  .recruit-hero h1 { font-size: 22px; }
  .recruit-hero-gallery { grid-template-columns: 1fr 1fr; gap: 6px; }
  .recruit-gallery { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .system-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .steps-grid::before { left: 5%; right: 5%; }
  .step-num { width: 40px; height: 40px; font-size: 16px; }
  .step-item .title { font-size: 12px; }
  .step-item .desc { font-size: 10px; }
  .req-table td { display: block; width: 100% !important; }
  .req-table tr { display: block; padding: 8px 0; border-bottom: 1px solid #eee; }
  .feature-item { flex-direction: column; gap: 8px; padding: 20px; }
  .pw-gate { padding: 32px 20px; }
  .pw-gate .pw-form { flex-direction: column; }
  .system-section { padding: 24px 16px; }
  .recruit-page h2 { font-size: 1.3em; }
}

@media (max-width: 480px) {
  .system-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .system-card { padding: 14px 8px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .steps-grid::before { display: none; }
}
