/* 作家募集 / 作家登録フォーム (assets/css/author.css) */

.author-page { background: var(--bg-base, #f7f9fa); padding-bottom: 64px; }
.author-page__inner { max-width: 880px; margin: 0 auto; padding: 0 20px; }
.author-page__heading { font-size: 1.6rem; font-weight: 800; color: #1f2933; margin: 32px 0 8px; }
.author-page__lead { color: var(--text-secondary, #555); margin-bottom: 24px; font-size: 0.95rem; }

/* ===== 募集ページ ===== */
.recruit-hero {
  background: linear-gradient(135deg, var(--brand, #00aebe), var(--brand-dark, #00808c));
  color: #fff; padding: 64px 20px; text-align: center;
  min-height: 380px; display: flex; align-items: center; justify-content: center;
}
.recruit-hero__inner { max-width: 760px; margin: 0 auto; }
.recruit-hero__eyebrow { letter-spacing: 0.2em; font-size: 0.8rem; opacity: 0.85; margin: 0 0 12px; }
.recruit-hero__title { font-size: 2.2rem; font-weight: 800; margin: 0 0 18px; }
.recruit-hero__lead { font-size: 1.05rem; line-height: 1.9; margin: 0 0 28px; opacity: 0.97; }
.recruit-hero__cta {
  display: inline-block; background: #fff; color: var(--brand-dark, #00808c);
  font-weight: 700; text-decoration: none; padding: 0.9rem 2.4rem; border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.recruit-hero__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.recruit-hero__note { margin: 14px 0 0; font-size: 0.82rem; opacity: 0.85; }

.recruit-section { margin: 48px 0; }
.recruit-section__title {
  font-size: 1.4rem; font-weight: 800; color: #1f2933; text-align: center;
  margin: 0 0 12px; position: relative; padding-bottom: 14px;
}
.recruit-section__title::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 48px; height: 3px; background: var(--brand, #00aebe); border-radius: 2px;
}
.recruit-section__intro { color: var(--text-secondary, #555); line-height: 1.9; margin: 0 0 28px; text-align: left; }

.recruit-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.recruit-card {
  background: #fff; border: 1px solid var(--border-light, #e5e7e9); border-radius: 12px;
  padding: 28px 22px; position: relative;
}
.recruit-card__num { font-size: 1.6rem; font-weight: 800; color: var(--brand, #00aebe); margin-bottom: 8px; }
.recruit-card__title { font-size: 1.05rem; font-weight: 700; color: #1f2933; margin: 0 0 10px; line-height: 1.5; }
.recruit-card__text { font-size: 0.9rem; color: var(--text-secondary, #555); line-height: 1.8; margin: 0; }

.recruit-offer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.recruit-offer__item { background: #fff; border: 1px solid var(--border-light, #e5e7e9); border-radius: 12px; padding: 24px; }
.recruit-offer__label {
  font-size: 0.95rem; font-weight: 700; color: var(--brand-dark, #00808c);
  margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--brand, #00aebe);
}
.recruit-offer__list { margin: 0; padding-left: 1.2em; color: var(--text-secondary, #555); line-height: 1.9; font-size: 0.9rem; }
.recruit-offer__item p { margin: 0; color: var(--text-secondary, #555); line-height: 1.8; font-size: 0.9rem; }
.recruit-offer__small { font-size: 0.8rem; color: var(--text-muted, #888); }

.recruit-flow { list-style: none; margin: 0; padding: 0; max-width: 640px; margin: 0 auto; }
.recruit-flow__step { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px dashed var(--border-light, #e5e7e9); }
.recruit-flow__step:last-child { border-bottom: none; }
.recruit-flow__no {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand, #00aebe); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.recruit-flow__step h3 { font-size: 1rem; margin: 4px 0 4px; color: #1f2933; }
.recruit-flow__step p { margin: 0; font-size: 0.88rem; color: var(--text-secondary, #555); line-height: 1.7; }

.recruit-section--register { background: #fff; border-radius: 12px; padding: 36px 28px; border: 1px solid var(--border-light, #e5e7e9); }
.recruit-register-notes { max-width: 560px; margin: 0 auto 24px; color: var(--text-secondary, #555); line-height: 1.9; font-size: 0.9rem; }
.recruit-cta-wrap { text-align: center; }
.recruit-cta {
  display: inline-block; background: var(--brand, #00aebe); color: #fff; font-weight: 700;
  text-decoration: none; padding: 0.95rem 2.8rem; border-radius: 999px;
  transition: background 0.15s ease;
}
.recruit-cta:hover { background: var(--brand-dark, #00808c); color: #fff; }

/* ===== フォーム ===== */
.ae-form { background: #fff; border: 1px solid var(--border-light, #e5e7e9); border-radius: 12px; padding: 8px 28px 28px; }
.ae-section { padding: 24px 0; border-bottom: 1px solid var(--border-light, #eee); }
.ae-section:last-of-type { border-bottom: none; }
.ae-section__title { font-size: 1.15rem; font-weight: 800; color: #1f2933; margin: 0 0 6px; }
.ae-section__desc { font-size: 0.88rem; color: var(--text-secondary, #555); line-height: 1.7; margin: 0 0 16px; }
.ae-row { margin: 16px 0; }
.ae-row--cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ae-label { display: block; font-weight: 600; color: #1f2933; margin-bottom: 6px; font-size: 0.92rem; }
.ae-req { display: inline-block; background: #e8453c; color: #fff; font-size: 0.68rem; padding: 1px 6px; border-radius: 3px; vertical-align: middle; margin-left: 4px; }
.ae-note { font-weight: 400; font-size: 0.8rem; color: var(--text-muted, #888); }
.ae-input {
  width: 100%; box-sizing: border-box; border: 1px solid #cdd3d8; border-radius: 6px;
  padding: 0.6rem 0.8rem; font-size: 0.95rem; font-family: inherit; background: #fff;
  transition: border-color 0.15s ease;
}
.ae-input:focus { outline: none; border-color: var(--brand, #00aebe); }
.ae-input--date { max-width: 220px; }
.ae-textarea { resize: vertical; }
.ae-file { padding: 0.5rem; background: #f7f9fa; }
.ae-help { display: block; font-size: 0.8rem; color: var(--text-muted, #888); margin-top: 6px; line-height: 1.6; }
.ae-help a { color: var(--brand, #00aebe); }
.ae-choices { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.ae-choices--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px 14px; }
.ae-choice { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; color: #333; cursor: pointer; }
.ae-choice input { margin: 0; }
.ae-error { display: block; color: #e8453c; font-size: 0.82rem; margin-top: 6px; }
.ae-alert { background: #fdecea; border: 1px solid #f5b7b1; color: #b03a2e; border-radius: 8px; padding: 14px 16px; margin-bottom: 20px; font-size: 0.9rem; }
.ae-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ae-consent { text-align: center; padding: 24px 0 8px; }
.ae-consent a { color: var(--brand, #00aebe); }
.ae-submit-wrap { text-align: center; margin-top: 12px; }
.ae-submit {
  background: var(--brand, #00aebe); color: #fff; border: none; border-radius: 999px;
  padding: 0.95rem 3.4rem; font-size: 1rem; font-weight: 700; font-family: inherit; cursor: pointer;
  transition: background 0.15s ease;
}
.ae-submit:hover { background: var(--brand-dark, #00808c); }

/* サンクス */
.ae-done { text-align: center; background: #fff; border: 1px solid var(--border-light, #e5e7e9); border-radius: 12px; padding: 56px 24px; margin: 40px 0; }
.ae-done__icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--brand, #00aebe); color: #fff;
  font-size: 2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.ae-done__title { font-size: 1.4rem; font-weight: 800; color: #1f2933; margin: 0 0 12px; }
.ae-done__text { color: var(--text-secondary, #555); line-height: 1.9; max-width: 520px; margin: 0 auto 28px; }
.ae-done__home { display: inline-block; background: var(--brand, #00aebe); color: #fff; text-decoration: none; padding: 0.8rem 2.4rem; border-radius: 999px; font-weight: 700; }

@media (max-width: 760px) {
  .recruit-cards, .recruit-offer { grid-template-columns: 1fr; }
  .ae-row--cols { grid-template-columns: 1fr; }
  .recruit-hero__title { font-size: 1.8rem; }
  .ae-form { padding: 8px 16px 24px; }
}

/* =========================================================
   v0.20.216: フリーランス法対応(漫画家募集・作家登録・お問い合わせ)
   ========================================================= */
/* ご登録前に必ずご確認ください */
.recruit-notice {
  max-width: 860px;
  margin: 44px auto 40px;
  padding: 22px 26px;
  background: #fff8ed;
  border: 1px solid #f0d9a8;
  border-radius: 12px;
}
.recruit-notice__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #92610a;
  margin: 0 0 12px;
}
.recruit-notice__list { margin: 0; padding-left: 1.2em; }
.recruit-notice__list li { color: #4b3a17; line-height: 1.85; font-size: .92rem; margin-bottom: 8px; }
.recruit-notice__list li:last-child { margin-bottom: 0; }

/* 募集概要テーブル */
.recruit-summary {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  font-size: .92rem;
}
.recruit-summary th,
.recruit-summary td {
  text-align: left;
  vertical-align: top;
  padding: 13px 16px;
  border-bottom: 1px solid #eef1f3;
  line-height: 1.8;
}
.recruit-summary tr:last-child th,
.recruit-summary tr:last-child td { border-bottom: 0; }
.recruit-summary th {
  width: 150px;
  background: #f7f9fa;
  font-weight: 700;
  color: #374151;
  white-space: nowrap;
}
.recruit-summary td { color: #4b5563; }
.recruit-summary__sub { display: inline-block; margin-top: 4px; font-size: .82rem; color: #9199a3; }
@media (max-width: 640px) {
  .recruit-summary, .recruit-summary tbody, .recruit-summary tr, .recruit-summary th, .recruit-summary td { display: block; width: 100%; box-sizing: border-box; }
  .recruit-summary th { border-bottom: 0; padding-bottom: 2px; white-space: normal; }
  .recruit-summary td { padding-top: 4px; }
}

/* 業務委託に関する相談窓口 */
.consult-window {
  max-width: 860px;
  margin: 48px auto 0;
  padding: 26px 28px;
  background: var(--brand-pale, #e6f7f9);
  border: 1px solid #bfe9ee;
  border-radius: 12px;
  text-align: center;
}
.consult-window__title { font-size: 1.15rem; font-weight: 700; color: #0f5b63; margin: 0 0 12px; }
.consult-window__lead { color: #37474f; line-height: 1.9; font-size: .92rem; margin: 0 0 8px; text-align: left; }
.consult-window__note { color: #6b7280; line-height: 1.8; font-size: .84rem; margin: 0 0 18px; text-align: left; }
.consult-window__cta { text-align: center; }
.consult-window__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--brand, #00aebe);
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
}
.consult-window__btn:hover { background: var(--brand-dark, #008b99); color: #fff; }

/* 作家登録フォームの注意事項 */
.ae-notice {
  margin: 0 0 28px;
  padding: 18px 22px;
  background: #fff8ed;
  border: 1px solid #f0d9a8;
  border-radius: 12px;
}
.ae-notice p { color: #4b3a17; line-height: 1.85; font-size: .9rem; margin: 0 0 10px; }
.ae-notice p:last-child { margin-bottom: 0; }
.ae-notice__sample { border-top: 1px dashed #e0c689; padding-top: 10px; color: #6b5a30 !important; font-size: .85rem !important; }

/* v0.20.217: recruit-hero にアイキャッチ画像を背景設定した場合(可読性のためブランド色オーバーレイ) */
.recruit-hero--image { background-size: cover; background-position: center; position: relative; }
.recruit-hero--image::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,120,133,0.84), rgba(0,80,90,0.80));
}
.recruit-hero--image .recruit-hero__inner { position: relative; z-index: 1; }
