/*
Theme Name: Kanamori CPA
Theme URI: https://www.kanamori-cpa.co.jp/
Author: Kanamori CPA Office
Description: 金森公認会計士事務所 公式サイト用オリジナルテーマ
Version: 1.0.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: kanamori-cpa
*/

body {
  margin: 0;
  background: #fdfdfc;
  font-family: 'Noto Sans JP', system-ui, sans-serif;
  color: #13233d;
}
html { scroll-behavior: smooth; }
input, select, textarea { font-family: 'Noto Sans JP', sans-serif; }

@keyframes heroXfade {
  0% { opacity: 1; }
  20% { opacity: 1; }
  26.7% { opacity: 0; }
  93.3% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
@media (max-width: 768px) {
  [data-mq~="pad"] { padding-left: 24px !important; padding-right: 24px !important; }
  [data-mq~="stack"] { flex-direction: column !important; align-items: flex-start !important; gap: 14px !important; }
  [data-mq~="cols1"] { grid-template-columns: 1fr !important; }
  [data-mq~="cols2"] { grid-template-columns: 1fr 1fr !important; }
  [data-mq~="h1"] { font-size: 30px !important; }
  [data-mq~="nav"] { gap: 14px 18px !important; font-size: 12px !important; flex-wrap: wrap !important; }
  [data-mq~="wrap"] { flex-wrap: wrap !important; }
  [data-mq~="heroText"] { padding-top: 48px !important; padding-bottom: 48px !important; }
  [data-mq~="heroImg"] { min-height: 300px !important; }
  [data-mq~="vpad"] { padding-top: 56px !important; padding-bottom: 56px !important; }
  [data-mq~="gap32"] { gap: 32px !important; }
  [data-mq~="gapsm"] { gap: 10px !important; }
}

/* ---- article body (single posts) ---- */
.post-body { font-size: 15px; line-height: 2.15; color: #3d4759; }
.post-body p { margin: 0 0 26px; }
.post-body h2 {
  font-family: 'Zen Old Mincho', serif;
  font-size: 22px; font-weight: 600; letter-spacing: .05em; line-height: 1.7;
  color: #13233d; margin: 54px 0 24px; padding: 14px 20px;
  background: #f2f4f6; border-left: 4px solid #13233d;
}
.post-body h3 {
  font-size: 17px; font-weight: 600; color: #13233d;
  margin: 40px 0 16px; padding-bottom: 10px; border-bottom: 1px solid #dde2e8;
}
.post-body ul, .post-body ol { margin: 0 0 26px; padding-left: 2px; list-style: none; }
.post-body ul > li { position: relative; padding-left: 22px; margin-bottom: 12px; }
.post-body ul > li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 8px; height: 8px; background: #13233d; }
.post-body strong { color: #13233d; }
.post-body a { color: #2c4a7c; }
.post-body blockquote {
  margin: 0 0 26px; padding: 20px 24px; border: 1px solid #dde2e8;
  background: #fbfbfa; font-size: 14px;
}
.post-body blockquote p { margin: 0; }
.post-body em { font-style: normal; font-size: 13px; color: #6b7482; }
