/*
Theme Name: Emplied News
Theme URI: https://emplied.com/
Author: Emplied
Description: 株式会社エンプライドのお知らせ・ブログ用テーマ
Version: 1.0.0
Text Domain: emplied-news
*/

:root {
  --brand: #D88574;
  --brand-light: #FAC9C6;
  --brand-pale: #FFEBEE;
  --ink: #3F2925;
  --muted: #765F5B;
  --line: #EBD6D1;
  --paper: #fff;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; line-height: 1.9; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.site-shell { width: min(calc(100% - 64px), var(--shell)); margin: 0 auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }
.header-inner { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.brand img { display: block; width: 184px; height: 58px; object-fit: cover; object-position: center; }
.brand-name { font-size: 12px; letter-spacing: .08em; }
.main-nav { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 700; }
.main-nav a { padding: 10px 0; }
.main-nav a:hover { color: var(--brand); }
.main-nav .nav-button { padding: 11px 19px; border: 1px solid var(--brand); border-radius: 999px; background: var(--brand); }
.main-nav .nav-button:hover { background: var(--brand-light); color: var(--ink); }
.page-hero { padding: 92px 0 74px; background: linear-gradient(135deg, var(--brand-pale), #fff 58%); border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 18px; color: #914F44; font-size: 12px; letter-spacing: .16em; font-weight: 800; }
.page-title { margin: 0; font-size: clamp(42px, 7vw, 88px); line-height: 1; letter-spacing: -.06em; }
.page-subtitle { max-width: 620px; margin: 25px 0 0; color: var(--muted); }
.content-area { padding: 64px 0 100px; }
.post-list { display: grid; gap: 18px; }
.post-card { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 28px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.post-card:first-child { border-top: 1px solid var(--line); }
.post-date { color: var(--muted); font-family: Manrope, sans-serif; font-size: 13px; }
.post-card h2 { margin: 0; font-size: 21px; line-height: 1.5; }
.post-card h2 a:hover { color: var(--brand); }
.post-excerpt { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.post-category { display: inline-block; padding: 4px 11px; color: #914F44; background: var(--brand-pale); border-radius: 999px; font-size: 12px; white-space: nowrap; }
.post-single { max-width: 820px; margin: 0 auto; }
.post-single .post-meta { color: var(--muted); font-size: 13px; }
.post-single h1 { margin: 10px 0 35px; font-size: clamp(30px, 5vw, 58px); line-height: 1.35; letter-spacing: -.04em; }
.entry-content { font-size: 16px; }
.entry-content h2, .entry-content h3 { margin-top: 2.2em; line-height: 1.5; }
.entry-content a { color: #914F44; text-decoration: underline; text-decoration-color: var(--brand-light); text-underline-offset: 4px; }
.entry-content blockquote { margin: 2em 0; padding: 18px 24px; border-left: 4px solid var(--brand); background: var(--brand-pale); }
.entry-content figure { margin: 2em 0; }
.post-back { display: inline-block; margin-top: 48px; color: #914F44; font-weight: 700; }
.site-footer { padding: 54px 0 28px; color: var(--ink); background: var(--brand-pale); }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 760px) {
  .site-shell { width: min(calc(100% - 40px), var(--shell)); }
  .header-inner { min-height: 84px; }
  .brand img { width: 148px; height: 47px; }
  .main-nav { gap: 12px; font-size: 11px; }
  .main-nav a:nth-child(-n+2) { display: none; }
  .main-nav .nav-button { padding: 8px 12px; }
  .page-hero { padding: 64px 0 54px; }
  .content-area { padding: 42px 0 72px; }
  .post-card { grid-template-columns: 1fr auto; gap: 7px 14px; }
  .post-date { grid-column: 1; grid-row: 1; }
  .post-category { grid-column: 2; grid-row: 1; }
  .post-card h2 { grid-column: 1 / -1; grid-row: 2; font-size: 18px; }
  .post-excerpt { grid-column: 1 / -1; grid-row: 3; }
  .footer-inner, .footer-bottom { display: block; }
  .footer-nav { margin-top: 28px; }
  .footer-bottom small { display: block; margin-top: 10px; }
}
