/* ==========================================================================
   ELBOSS redesign prototype — base styles
   ========================================================================== */
:root {
  --navy: #142247;
  --navy-2: #1e3566;
  --navy-soft: #e9eef8;
  --accent: #e5352b;
  --accent-dark: #c4261d;
  --marker: #ffe27a;
  --ink: #1a1f2b;
  --muted: #576074;
  --line: #e2e6ee;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 34, 71, .08);
  --container: 1120px;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  font-feature-settings: "palt";
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.45; margin: 0; letter-spacing: .03em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.nowrap { white-space: nowrap; }
@media (max-width: 767px) { .pc-only { display: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.marker { background: linear-gradient(transparent 62%, var(--marker) 62%); }
.todo { /* 要確認の仮テキスト */
  outline: 2px dashed #f0a500; outline-offset: 2px; background: #fff8e1;
}
.todo-note { display: inline-block; font-size: 11px; font-weight: 700; color: #8a5a00; background: #ffe7a3; border-radius: 4px; padding: 0 6px; margin-left: 6px; vertical-align: middle; letter-spacing: 0; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: .04em;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(229, 53, 43, .3); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.btn--ghost:hover { background: var(--navy-soft); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn .arrow { font-size: 1.1em; line-height: 1; }

/* Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; }
.brand__name { font-weight: 800; font-size: 17px; color: var(--navy); line-height: 1.2; }
.brand__name small { display: block; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: .06em; }
.gnav { display: none; }
.gnav ul { display: flex; gap: 26px; }
.gnav a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink); }
.gnav a:hover { color: var(--accent); }
.header-cta { display: none; }
.menu-toggle { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { content: ""; display: block; width: 22px; height: 2px; background: var(--navy); position: relative; }
.menu-toggle span::before { position: absolute; top: -7px; }
.menu-toggle span::after { position: absolute; top: 7px; }
@media (min-width: 1024px) {
  .gnav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Mobile fixed CTA */
.sp-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); }
.sp-cta .btn { min-height: 48px; padding: 0 10px; font-size: 14px; }
@media (min-width: 1024px) { .sp-cta { display: none; } }
@media (max-width: 1023px) { body { padding-bottom: 72px; } }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #f3f6fc 0%, #ffffff 55%); padding: 40px 0 56px; }
.hero::after { content: ""; position: absolute; right: -180px; top: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(30,53,102,.08), transparent 70%); pointer-events: none; }
.hero__grid { display: grid; gap: 32px; align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { margin-top: 18px; font-size: clamp(30px, 7.4vw, 46px); font-weight: 900; color: var(--navy); line-height: 1.35; letter-spacing: .02em; }
.hero h1 .em { color: var(--accent); }
.hero__lead { margin-top: 18px; font-size: clamp(15px, 2.1vw, 17px); color: var(--muted); max-width: 34em; }
.hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.hero__visual { position: relative; }
.hero__photo { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; background: #ddd; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero__badge { position: absolute; left: -8px; bottom: 18px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 12px 16px; font-size: 13px; line-height: 1.5; }
.hero__badge strong { display: block; font-size: 15px; color: var(--navy); }
@media (min-width: 900px) {
  .hero { padding: 72px 0 88px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .hero__badge { left: -32px; }
}

/* Proof bar */
.proof { background: var(--navy); color: #fff; padding: 28px 0; }
.proof__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
.proof__item { text-align: center; }
.proof__num { font-size: clamp(24px, 5vw, 34px); font-weight: 900; line-height: 1.2; letter-spacing: .01em; }
.proof__num small { font-size: .5em; margin-left: 2px; }
.proof__label { font-size: 12px; opacity: .85; line-height: 1.5; margin-top: 4px; }
@media (min-width: 768px) { .proof__list { grid-template-columns: repeat(4, 1fr); } }

/* Sections --------------------------------------------------------------- */
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #fff; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head__en { display: block; font-size: 12px; font-weight: 800; letter-spacing: .2em; color: var(--accent); text-transform: uppercase; }
.section-head h2 { margin-top: 8px; font-size: clamp(24px, 4.6vw, 36px); font-weight: 900; color: var(--navy); }
.section--navy .section-head h2 { color: #fff; }
.section-head p { margin: 14px auto 0; max-width: 40em; color: var(--muted); }
.section--navy .section-head p { color: rgba(255,255,255,.8); }

/* Pains */
.pains { display: grid; gap: 14px; }
.pain { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-weight: 600; }
.pain::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 4px; border-radius: 50%; background: var(--navy-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142247' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (min-width: 768px) { .pains { grid-template-columns: 1fr 1fr; } }
.pains-answer { margin-top: 40px; text-align: center; font-size: clamp(19px, 3.4vw, 26px); font-weight: 800; color: var(--navy); line-height: 1.6; }

/* Reasons */
.reasons { display: grid; gap: 20px; }
.reason { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 24px; position: relative; }
.reason__no { display: block; font-size: 15px; font-weight: 900; color: var(--accent); letter-spacing: .12em; line-height: 1; margin-bottom: 12px; }
.reason__no::before { content: "POINT "; }
.reason h3 { font-size: 19px; color: var(--navy); }
.reason p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.reason__fact { margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--navy); background: var(--navy-soft); border-radius: 8px; padding: 8px 12px; line-height: 1.6; }
@media (min-width: 768px) { .reasons { grid-template-columns: repeat(2, 1fr); } }

/* こんな会社とご一緒したい */
.fits { display: grid; gap: 14px; max-width: 880px; margin: 0 auto; }
.fit { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-weight: 600; }
.fit::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--navy); -webkit-mask: none; box-shadow: inset 0 0 0 6px var(--navy-soft); }
@media (min-width: 768px) { .fits { grid-template-columns: 1fr 1fr; } }

/* Services */
.services { display: grid; gap: 16px; }
.service { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.service:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.service--main { border: 2px solid var(--navy); background: linear-gradient(180deg, #fff, #f6f8fd); }
.service__tag { align-self: flex-start; font-size: 11px; font-weight: 800; color: #fff; background: var(--accent); border-radius: 4px; padding: 2px 8px; letter-spacing: .06em; margin-bottom: 10px; }
.service h3 { font-size: 18px; color: var(--navy); }
.service p { margin-top: 8px; color: var(--muted); font-size: 14px; flex: 1; }
.service__more { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--accent); }
@media (min-width: 768px) { .services { grid-template-columns: repeat(2, 1fr); } .service--main { grid-column: span 2; } }
@media (min-width: 1024px) { .services { grid-template-columns: repeat(3, 1fr); } .service--main { grid-column: span 3; flex-direction: row; align-items: center; gap: 32px; } .service--main .service__body { flex: 1; } }

/* Cases */
.cases { display: grid; gap: 20px; }
.case { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; }
.case__head { background: var(--navy-2); color: #fff; padding: 20px 22px; }
.case__industry { font-size: 12px; opacity: .8; }
.case__result { margin-top: 6px; font-size: 19px; font-weight: 800; line-height: 1.5; }
.case__body { padding: 18px 22px 22px; color: var(--muted); font-size: 14px; flex: 1; }
.case__client { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
@media (min-width: 768px) { .cases { grid-template-columns: repeat(2, 1fr); } .case--featured { grid-column: span 2; } }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.industry { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px; text-decoration: none; font-weight: 700; color: var(--navy); }
.industry small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 4px; line-height: 1.6; }
.industry:hover { border-color: var(--navy); }
@media (min-width: 900px) { .industries { grid-template-columns: repeat(3, 1fr); } }

/* Pricing */
.plans { display: grid; gap: 20px; }
.plan { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.plan--featured { outline: 3px solid var(--accent); }
.plan__ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 14px; white-space: nowrap; }
.plan h3 { font-size: 18px; color: var(--navy); }
.plan__price { margin-top: 10px; font-size: 32px; font-weight: 900; color: var(--navy); line-height: 1.2; }
.plan__price small { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan__taxed { margin-top: 2px; font-size: 13px; color: var(--muted); }
.plan__count { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--accent); }
.plan ul { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 14px; }
.plan li { padding-left: 22px; position: relative; margin-top: 6px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 10px; height: 6px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }
.plan-compare { margin-top: 28px; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 24px 12px; }
.plan-compare__title { font-size: 18px; color: var(--navy); text-align: center; }
.plan-compare__scroll { margin-top: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.plan-compare table { width: 100%; border-collapse: collapse; font-size: 12px; table-layout: fixed; }
.plan-compare th, .plan-compare td { padding: 10px 3px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; line-height: 1.5; }
.plan-compare thead th { font-size: 11px; font-weight: 800; color: var(--navy); border-bottom: 2px solid var(--navy); word-break: keep-all; letter-spacing: 0; }
.plan-compare thead th:first-child { width: 34%; }
.plan-compare tbody th { text-align: left; font-weight: 700; color: var(--navy); }
.plan-compare .is-featured { background: #fff6f5; }
.plan-compare thead .is-featured { color: var(--accent); }
.plan-compare .yes { font-size: 17px; font-weight: 900; color: var(--accent); }
.plan-compare .no { color: #a9b1c2; }
.plan-compare tbody tr:nth-child(-n+3) td { font-weight: 800; color: var(--navy); }
.plan-compare__notes { margin-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.plan-compare__notes li { padding-left: 1em; text-indent: -1em; margin-top: 4px; }
.plan-compare__notes li::before { content: "※"; }
@media (min-width: 768px) { .plan-compare { padding: 32px 36px; } .plan-compare table { font-size: 15px; } .plan-compare thead th { font-size: 14px; } .plan-compare th, .plan-compare td { padding: 10px 8px; } }
.plans-note { margin-top: 20px; text-align: center; font-size: 13px; color: rgba(255,255,255,.8); }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: start; } }

/* Flow */
.flow { display: grid; gap: 12px; counter-reset: flow; }
.flow__step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.flow__step::before { counter-increment: flow; content: counter(flow, decimal-leading-zero); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; }
.flow__step h3 { font-size: 17px; color: var(--navy); }
.flow__step p { font-size: 14px; color: var(--muted); margin-top: 4px; }
@media (min-width: 1024px) { .flow { grid-template-columns: repeat(5, 1fr); } .flow__step { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* CEO */
.ceo { display: grid; gap: 32px; align-items: center; }
.ceo__photo { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.ceo__role { font-size: 13px; color: var(--muted); }
.ceo__name { font-size: 26px; font-weight: 900; color: var(--navy); }
.ceo__name small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 10px; letter-spacing: .1em; }
.ceo__msg { margin-top: 16px; }
.ceo__career { margin-top: 20px; border-left: 3px solid var(--navy-soft); padding-left: 16px; font-size: 14px; color: var(--muted); }
.ceo__career li { margin-top: 6px; }
.ceo__career b { color: var(--navy); margin-right: 8px; }
@media (min-width: 900px) { .ceo { grid-template-columns: .8fr 1.2fr; gap: 56px; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-top: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 52px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 18px; top: 16px; font-weight: 900; color: var(--accent); font-size: 18px; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 22px; color: var(--navy); }
.faq details[open] summary::after { content: "−"; }
.faq .faq__a { padding: 0 20px 20px 52px; color: var(--muted); font-size: 15px; }

/* Column */
.posts { display: grid; gap: 16px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; text-decoration: none; display: block; }
.post-card__cat { font-size: 12px; font-weight: 700; color: var(--accent); }
.post-card h3 { margin-top: 6px; font-size: 16px; color: var(--navy); }
@media (min-width: 900px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.center { text-align: center; margin-top: 32px; }

/* Final CTA */
.final-cta { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 72px 0; }
.final-cta h2 { text-align: center; font-size: clamp(24px, 4.6vw, 36px); font-weight: 900; }
.final-cta__lead { text-align: center; margin-top: 12px; color: rgba(255,255,255,.85); }
.offers { margin-top: 36px; display: grid; gap: 16px; }
.offer { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.offer__level { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .08em; }
.offer h3 { margin-top: 4px; font-size: 19px; color: var(--navy); }
.offer p { margin-top: 8px; font-size: 14px; color: var(--muted); flex: 1; }
.offer .btn { margin-top: 16px; width: 100%; }
@media (min-width: 900px) { .offers { grid-template-columns: repeat(3, 1fr); } }
.final-cta__tel { margin-top: 24px; text-align: center; font-size: 14px; color: rgba(255,255,255,.85); }

/* Footer */
.site-footer { background: #0d1832; color: rgba(255,255,255,.8); padding: 56px 0 32px; font-size: 14px; }
.footer-grid { display: grid; gap: 32px; }
.footer-brand img { width: 48px; }
.footer-brand p { margin-top: 12px; line-height: 1.8; }
.footer-nav h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.footer-nav li { margin-top: 4px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.copyright { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; text-align: center; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ==========================================================================
   WordPress theme additions
   ========================================================================== */
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; background: #fff; padding: 8px 16px; border-radius: 8px; }
.container--narrow { max-width: 820px; }
.section--tight { padding: 48px 0 72px; }
.flow { padding: 0; list-style: none; }
.ceo__role { margin-top: 8px; }
.ceo__msg p + p { margin-top: 12px; }
.ceo__more { margin-top: 20px; }
.empty { text-align: center; color: var(--muted); }

/* Mobile navigation */
.gnav__cta { display: none; }
@media (max-width: 1023px) {
  .gnav { position: fixed; inset: 68px 0 0 0; background: #fff; padding: 24px 16px 120px; overflow-y: auto; }
  .nav-open .gnav { display: block; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav li a { display: block; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .gnav__cta { display: flex; margin-top: 24px; }
  .nav-open .menu-toggle span { background: transparent; }
  .nav-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
  .nav-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }
}

/* Page hero & breadcrumb */
.page-hero { background: linear-gradient(160deg, #f3f6fc 0%, #ffffff 70%); padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-top: 6px; font-size: clamp(26px, 5vw, 40px); font-weight: 900; color: var(--navy); }
.page-hero__lead { margin-top: 12px; color: var(--muted); max-width: 40em; }
.page-hero--service { padding: 64px 0 56px; }
.page-hero--article h1 { font-size: clamp(24px, 4.4vw, 34px); margin-top: 10px; }
.article__meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--muted); }
.breadcrumb { font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; padding-top: 10px; padding-bottom: 10px; margin: 0 auto; list-style: none; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Entry content (block editor output) */
.entry-content { font-size: 16px; line-height: 2; overflow-wrap: anywhere; }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content h2 { margin-top: 2.6em; padding: 14px 18px; background: var(--navy); color: #fff; border-radius: 8px; font-size: clamp(20px, 3.6vw, 24px); }
.entry-content h3 { margin-top: 2.2em; padding-left: 14px; border-left: 5px solid var(--accent); color: var(--navy); font-size: clamp(18px, 3.2vw, 20px); }
.entry-content h4 { margin-top: 1.8em; color: var(--navy); font-size: 17px; }
.entry-content a { color: var(--navy-2); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content li + li { margin-top: .4em; }
.entry-content img { border-radius: 10px; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }
.entry-content blockquote { margin-left: 0; margin-right: 0; padding: 16px 20px; background: var(--bg-soft); border-left: 4px solid var(--line); border-radius: 0 8px 8px 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.entry-content th { background: var(--bg-soft); white-space: nowrap; }
.entry-content .wp-block-embed iframe, .entry-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 10px; }
.entry-content .wp-block-button__link { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; }
.entry-content input:not([type=checkbox]):not([type=submit]), .entry-content textarea, .entry-content select { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #c9d0dc; border-radius: 8px; background: #fff; }
.entry-content input[type=submit] { font: inherit; font-weight: 700; min-height: 56px; padding: 0 40px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; cursor: pointer; }

/* Article */
.article__thumb { margin: 0 0 32px; }
.article__thumb img { width: 100%; border-radius: 14px; }
.author-box { margin-top: 56px; display: flex; gap: 20px; align-items: flex-start; padding: 24px; background: var(--bg-soft); border-radius: var(--radius); }
.author-box img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex: none; }
.author-box__label { font-size: 12px; font-weight: 700; color: var(--accent); }
.author-box__name { font-weight: 800; color: var(--navy); }
.author-box__bio { margin-top: 6px; font-size: 14px; color: var(--muted); }
.author-box a { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--navy); }

/* Post card additions */
.post-card { display: flex; flex-direction: column; }
.post-card__thumb { margin: -20px -22px 14px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-soft); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__date { margin-top: auto; padding-top: 10px; font-size: 12px; color: var(--muted); }
a.post-card__cat { text-decoration: none; }

/* Pagination */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 700; }
.pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }

.not-found__links { margin-top: 24px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 767px) { .industries--archive { grid-template-columns: 1fr; } }

/* Diagrams */
.diagram { margin: 0 auto; max-width: 800px; }
.diagram img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.entry-content .wp-block-image { margin-left: auto; margin-right: auto; max-width: 800px; }
.entry-content .wp-block-image img { width: 100%; height: auto; border: 1px solid var(--line); background: #fff; }
.industries--archive .industry { padding: 0; overflow: hidden; }
.industry__thumb { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; display: block; }
.industry__body { display: block; padding: 16px 18px 18px; }

/* 吹き出し（本番の /to-u/ で使っている Simple Blog Design の吹き出しブロックを、プラグインなしで表示する） */
.entry-content .sbd-balloon { --balloon-line: #999797; display: flex; align-items: flex-start; gap: 18px; margin-top: 1.8em; }
.entry-content .sbd-balloon--orange { --balloon-line: #eab060; }
.entry-content .sbd-balloon--r { flex-direction: row-reverse; }
.entry-content .sbd-balloon__profile { flex: 0 0 88px; text-align: center; }
.entry-content .sbd-balloon__icon { margin: 0; }
.entry-content .sbd-balloon__img { display: block; width: 80px; height: 80px; margin: 0 auto; border: 0; border-radius: 50%; object-fit: cover; }
.entry-content .sbd-balloon__name { margin-top: 6px; font-size: 11px; line-height: 1.4; color: var(--muted); }
.entry-content .sbd-balloon__text-box { position: relative; flex: 0 1 auto; min-width: 0; padding: 16px 20px; border: 2px solid var(--balloon-line); border-radius: 10px; background: #fff; line-height: 1.8; }
.entry-content .sbd-balloon__text-box > * { margin: 0; }
.entry-content .sbd-balloon__text-box > * + * { margin-top: .8em; }
.entry-content .sbd-balloon__text-box::before,
.entry-content .sbd-balloon__text-box::after { content: ""; position: absolute; border-style: solid; }
.entry-content .sbd-balloon--l .sbd-balloon__text-box::before { top: 20px; left: -11px; border-width: 10px 11px 10px 0; border-color: transparent var(--balloon-line) transparent transparent; }
.entry-content .sbd-balloon--l .sbd-balloon__text-box::after { top: 22px; left: -8px; border-width: 8px 9px 8px 0; border-color: transparent #fff transparent transparent; }
.entry-content .sbd-balloon--r .sbd-balloon__text-box::before { top: 20px; right: -11px; border-width: 10px 0 10px 11px; border-color: transparent transparent transparent var(--balloon-line); }
.entry-content .sbd-balloon--r .sbd-balloon__text-box::after { top: 22px; right: -8px; border-width: 8px 0 8px 9px; border-color: transparent transparent transparent #fff; }
@media (max-width: 600px) {
	.entry-content .sbd-balloon { gap: 14px; }
	.entry-content .sbd-balloon__profile { flex-basis: 64px; }
	.entry-content .sbd-balloon__img { width: 56px; height: 56px; }
	.entry-content .sbd-balloon__name { font-size: 10px; }
	.entry-content .sbd-balloon__text-box { padding: 12px 14px; font-size: 15px; }
	.entry-content .sbd-balloon--l .sbd-balloon__text-box::before, .entry-content .sbd-balloon--r .sbd-balloon__text-box::before { top: 14px; }
	.entry-content .sbd-balloon--l .sbd-balloon__text-box::after, .entry-content .sbd-balloon--r .sbd-balloon__text-box::after { top: 16px; }
}
