/* shared/lp.css — トップページ（LP）とコラムのスタイル（2026-11-16 会長指示で写真・漫画・コラム入りに作り直し）
   配色は base.css の変数を使う。スマホ優先、760px 以上で横並び。インラインのスタイルは使わない（CSP） */
body.lp { background: #fff; }
.lp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.lp img { max-width: 100%; height: auto; display: block; }

/* ヘッダー */
.lp-head { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.95); border-bottom: 1px solid #f1e9e6; backdrop-filter: blur(6px); }
.lp-head .lp-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.lp-logo { font-weight: 800; color: var(--ink); text-decoration: none; line-height: 1.2; }
.lp-logo small { display: block; font-size: 10px; letter-spacing: .18em; color: var(--coral-d); font-weight: 700; }
.lp-nav { display: none; gap: 20px; }
.lp-nav a { color: #555; text-decoration: none; font-size: 14px; font-weight: 600; }
.lp-nav a:hover { color: var(--coral-d); }
.lp-head-btns { display: flex; gap: 8px; }
.lp-head-btns .btn { width: auto; min-height: 40px; padding: 8px 14px; font-size: 14px; }
.lp-head-btns .only-pc { display: none; }

/* ヒーロー */
.lp-hero { position: relative; overflow: hidden; background: #fbeee9; }
.lp-hero picture img { width: 100%; height: 100%; object-fit: cover; }
.lp-hero .media { position: relative; aspect-ratio: 4 / 5; width: 100%; }
.lp-hero .media img { position: absolute; inset: 0; object-position: center 20%; }
.lp-hero .copy { position: relative; margin: -72px 12px 0; padding: 22px 18px; border-radius: 24px; background: #fff; box-shadow: 0 10px 30px rgba(214,120,96,.18); display: flex; flex-direction: column; gap: 10px; }
.lp-hero .eyebrow { color: var(--coral-ink); letter-spacing: .14em; }
.lp-hero h1 { font-size: 28px; line-height: 1.35; letter-spacing: .02em; }
.lp-hero h1 em { font-style: normal; color: var(--coral-d); }
.lp-hero .lead { font-size: 15px; color: #444; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { background: #fff; border: 2px solid var(--coral); color: var(--coral-ink); border-radius: 999px; padding: 3px 12px; font-size: 13px; font-weight: 800; }
.lp-hero .ctas { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.lp-hero-pad { height: 12px; }

/* セクション共通 */
.lp-sec { padding: 56px 0; }
.lp-sec.tint-peach { background: #fff6f3; }
.lp-sec.tint-lav { background: #f7f3ff; }
.lp-sec.tint-mint { background: #edf9f5; }
.sec-head { text-align: center; margin-bottom: 28px; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.sec-head .en { font-size: 12px; letter-spacing: .24em; color: var(--coral-d); font-weight: 800; }
.sec-head h2 { font-size: 24px; line-height: 1.4; }
.sec-head p { color: #666; font-size: 15px; max-width: 640px; }
.mid-cta { margin: 32px auto 0; max-width: 420px; }

/* お仕事の種類 */
.jobs { display: grid; gap: 18px; }
.job { border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 8px 24px rgba(214,120,96,.12); }
.job img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.job .tx { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.job h3 { font-size: 18px; }
.job p { font-size: 14px; color: #555; }

/* 漫画 */
.manga { display: grid; gap: 20px; max-width: 980px; margin: 0 auto; }
.manga figure { background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 8px 28px rgba(76,61,104,.12); }
.manga img { width: 100%; border-radius: 10px; }
.manga figcaption { font-size: 12px; color: #888; text-align: center; padding-top: 6px; }

/* 安心の仕組み */
.safe-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.safe-photos img { aspect-ratio: 1; object-fit: cover; border-radius: 18px; width: 100%; }
.safe-list { display: grid; gap: 12px; }
.safe-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 20px; padding: 16px 18px; border: 1px solid #e6efec; }
.safe-item .no { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--mint); color: #1d4e40; font-weight: 800; display: grid; place-items: center; }
.safe-item h3 { font-size: 16px; margin-bottom: 2px; }
.safe-item p { font-size: 14px; color: #555; }

/* 登録の流れ */
.flow { display: grid; gap: 12px; counter-reset: step; max-width: 760px; margin: 0 auto; }
.flow li { list-style: none; position: relative; background: #fff; border-radius: 20px; padding: 16px 18px 16px 70px; border: 1px solid #f1e3de; }
.flow li::before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--coral), var(--coral-d)); color: #fff; font-weight: 800; display: grid; place-items: center; }
.flow h3 { font-size: 16px; }
.flow p { font-size: 14px; color: #555; }
.note-box { max-width: 760px; margin: 16px auto 0; background: #fff; border: 2px dashed var(--lav); border-radius: 18px; padding: 14px 16px; font-size: 14px; color: var(--lav-ink); }

/* コラム */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.col-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid #eee; text-decoration: none; color: var(--ink); transition: transform .15s; }
.col-card:hover { transform: translateY(-2px); }
.col-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.col-card .tx { padding: 10px 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.col-card .tag { align-self: flex-start; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #efe9ff; color: var(--lav-ink); }
.col-card h3 { font-size: 14px; line-height: 1.5; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 18px; border: 1px solid #eee; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q.'; color: var(--coral-d); margin-right: 6px; font-weight: 800; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 20px; color: #aaa; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 16px; color: #555; font-size: 15px; }

/* 依頼者向け */
.client-box { display: grid; gap: 20px; align-items: center; }
.client-box img { border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.client-box ul { list-style: none; display: grid; gap: 8px; }
.client-box li { padding-left: 26px; position: relative; font-size: 15px; }
.client-box li::before { content: '✓'; position: absolute; left: 0; color: var(--mint-ink); font-weight: 800; }
.btn-dark { background: #2f4a43; color: #fff; }

/* 最終CTA */
.final { background: linear-gradient(135deg, var(--coral), #ff9f8a 60%, #ffc2b2); color: #fff; text-align: center; }
.final h2 { font-size: 26px; line-height: 1.4; margin-bottom: 8px; }
.final p { margin-bottom: 20px; }
.final .btn { max-width: 420px; background: #fff; color: var(--coral-d); box-shadow: 0 8px 20px rgba(0,0,0,.12); }

/* フッター */
.lp-foot { background: #3b3533; color: #ddd; padding: 28px 0 100px; font-size: 13px; }
.lp-foot a { color: #fff; }
.lp-foot .links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 10px; }

/* スマホ下部に固定の登録ボタン */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid #f1e3de; }
.sticky-cta .btn { min-height: 48px; }

/* 登録・ログインのダイアログ */
dialog.entry { border: 0; border-radius: 24px; padding: 0; width: min(440px, calc(100vw - 24px)); max-height: calc(100vh - 32px); }
dialog.entry::backdrop { background: rgba(40,30,30,.5); }
dialog.entry .entry-in { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
dialog.entry .close { align-self: flex-end; font-size: 14px; color: #888; min-height: 40px; padding: 0 6px; }

/* コラム記事 */
.article { max-width: 760px; margin: 0 auto; padding: 24px 16px 80px; }
.article .crumb { font-size: 13px; color: #888; margin-bottom: 12px; }
.article .crumb a { color: #888; }
.article .eyecatch { border-radius: 20px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin: 16px 0 20px; }
.article h1 { font-size: 24px; line-height: 1.45; }
.article .meta { font-size: 13px; color: #888; margin-top: 6px; }
.article h2 { font-size: 19px; margin: 32px 0 10px; padding-left: 12px; border-left: 5px solid var(--coral); }
.article p { margin: 10px 0; }
.article ul, .article ol { margin: 10px 0 10px 1.4em; }
.article li { margin: 4px 0; }
.article .point { background: #fff6f3; border-radius: 16px; padding: 14px 16px; margin: 16px 0; }
.article .cta-box { margin-top: 36px; background: #f7f3ff; border-radius: 20px; padding: 20px; text-align: center; display: flex; flex-direction: column; gap: 10px; }
.article .more { margin-top: 36px; }

@media (min-width: 760px) {
  .lp-nav { display: flex; }
  .lp-head-btns .only-pc { display: inline-flex; }
  .lp-hero .media { aspect-ratio: auto; height: min(680px, 78vh); }
  .lp-hero .copy { position: absolute; left: 0; top: 0; bottom: 0; margin: 0; width: 50%; border-radius: 0; box-shadow: none; padding: 48px 48px 48px max(48px, calc((100vw - 1120px) / 2 + 16px)); justify-content: center; background: linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.78) 70%, rgba(255,255,255,0)); }
  .lp-hero .ctas { flex-direction: row; }
  .lp-hero-pad { display: none; }
  .lp-hero .ctas .btn { width: auto; padding: 14px 26px; }
  .lp-hero h1 { font-size: 44px; }
  .lp-hero .lead { font-size: 17px; }
  .lp-sec { padding: 88px 0; }
  .sec-head h2 { font-size: 32px; }
  .jobs { grid-template-columns: repeat(3, 1fr); }
  .manga { grid-template-columns: 1fr 1fr; }
  .safe-list { grid-template-columns: 1fr 1fr; }
  .cols { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .col-card h3 { font-size: 16px; }
  .client-box { grid-template-columns: 1fr 1fr; gap: 40px; }
  .final h2 { font-size: 34px; }
  .sticky-cta { display: none; }
  .lp-foot { padding-bottom: 32px; }
  .article h1 { font-size: 30px; }
}
a.btn { text-decoration: none; }
.lp-sec { scroll-margin-top: 72px; }
