/* JACS公式サイト
   旧サイト（WordPress + Enfold）の見た目を引き継いでいる。色は Enfold の「Flower Green」と子テーマの設定から */

:root {
  --green: #719430;          /* メインカラー */
  --green-band: #5e7b28;     /* ページタイトルの帯 */
  --green-footer: #658529;   /* フッター */
  --green-socket: #425719;   /* 最下部 */
  --green-light: #eff5e3;    /* コラムの h2 背景 */
  --green-marker: #dcefb9;   /* コラムの太字マーカー */
  --green-bright: #72af00;
  --column-gradient: linear-gradient(-45deg, #85cd00 0%, #68a000 100%);
  --orange: #f89509;         /* コラムのボタン */
  --text: #222;
  --text-sub: #666;
  --text-muted: #999;
  --line: #e1e1e1;
  --bg: #f9f9f9;
  --bg-sidebar: #f2f2f2;
  --width: 1210px;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; color: var(--text); background: var(--bg); font-family: var(--font); font-size: 15px; line-height: 1.75; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { line-height: 1.4; }
.wrap { max-width: var(--width); margin: 0 auto; padding: 0 16px; }
.sp-only { display: none; }
.icon { vertical-align: -2px; }
.button { display: inline-block; padding: 10px 28px; background: var(--green); color: #fff; border-radius: 3px; font-weight: bold; }
.button:hover { background: var(--green-band); text-decoration: none; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: stretch; justify-content: space-between; min-height: 60px; }
.logo { display: flex; align-items: center; }
.logo img { width: 115px; height: auto; }
.global-nav ul { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; }
.global-nav li { display: flex; border-left: 1px solid var(--line); }
.global-nav li:last-child { border-right: 1px solid var(--line); }
.global-nav a { display: flex; align-items: center; padding: 0 13px; color: #555; font-size: 13px; font-weight: bold; }
.global-nav a:hover, .global-nav .current a { color: var(--text); text-decoration: none; background: #fafafa; }
.global-nav .current a { box-shadow: inset 0 -2px 0 var(--green); }
.nav-search a { padding: 0 20px; color: #888; }
.nav-toggle, .nav-toggle-button { display: none; }

/* ---------- ページタイトルの帯 ---------- */
.title-band { background: var(--green-band); color: #fff; text-align: center; padding: 18px 0 40px; }
.title-band--column { background: var(--column-gradient); }
.band-title { margin: 0; font-size: 40px; font-weight: normal; letter-spacing: .04em; line-height: 1.35; }
.band-subtitle { margin: 6px 0 0; font-size: 14px; font-weight: bold; }

/* 区切り線（線の中央に点3つ） */
.divider { position: relative; max-width: 345px; height: 12px; margin: 10px auto 0; }
.divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line); }
.divider span { position: relative; display: block; width: 24px; height: 12px; margin: 0 auto; background: var(--bg); }
.divider span::before { content: "•••"; display: block; color: var(--green); font-size: 9px; line-height: 12px; letter-spacing: 1px; text-align: center; }
.divider--light::before { border-color: rgba(255, 255, 255, .7); }
.divider--light span { background: var(--green-band); }
.divider--light span::before { color: #fff; }
.title-band--column .divider--light span { background: transparent; }
.title-band--column .divider--light::before { left: 0; right: calc(50% + 14px); }
.title-band--column .divider--light::after { content: ""; position: absolute; right: 0; left: calc(50% + 14px); top: 50%; border-top: 1px solid rgba(255, 255, 255, .7); }

/* ---------- 本文＋サイドバー ---------- */
.layout { padding-bottom: 0; }
.layout-inner { display: grid; grid-template-columns: minmax(0, 1fr) 300px; padding: 0; }
.layout--overlap .layout-inner { margin-top: -30px; position: relative; }
.layout--full .layout-inner { grid-template-columns: minmax(0, 1fr); }
.content { background: #fff; padding: 30px 30px 50px; }
.sidebar { background: var(--bg-sidebar); padding: 30px 26px 40px; font-size: 13px; }
.single-post .layout-inner, .single-column .layout-inner { margin-top: 0; }
.single-post .sidebar, .single-column .sidebar { background: #fff; border-left: 1px solid var(--line); }
.single-post .layout, .single-column .layout { background: #fff; }

.breadcrumb { font-size: 13px; color: var(--text-muted); margin: 10px 0 4px; }
.entry-meta { margin: 0 0 16px; font-size: 12px; color: var(--text-muted); }
.entry-title { margin: 0 0 14px; font-size: 26px; }
.nowrap { display: inline-block; }
.entry-thumbnail { display: block; width: 100%; border-radius: 3px; }
.single-post .entry { max-width: 820px; margin: 0 auto; }

/* 写真のスライド表示 */
.gallery { position: relative; margin: 0 0 10px; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 3px; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 3; background: #f2f2f2; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gallery-prev, .gallery-next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 30px; line-height: 40px; cursor: pointer; }
.gallery-prev { left: 10px; } .gallery-next { right: 10px; }
.gallery-prev:hover, .gallery-next:hover { background: rgba(0,0,0,.7); }
.gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.gallery-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #ccc; cursor: pointer; }
.gallery-dots button.is-active { background: var(--green-band); }
.page-content .gallery { max-width: 760px; margin-left: auto; margin-right: auto; }  /* 固定ページでは写真を引き伸ばしすぎない */

/* 本文 */
.entry-content { word-wrap: break-word; }
.entry-content h2 { font-size: 22px; margin: 2em 0 .8em; }
.entry-content h3 { font-size: 18px; margin: 1.8em 0 .6em; }
.entry-content table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.entry-content th { background: #fafafa; font-weight: normal; width: 22%; }
.entry-content iframe { max-width: 100%; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }

/* サイドバーの部品 */
.widget { margin-bottom: 44px; }
.widget-title { margin: 0 0 14px; font-size: 14px; font-weight: bold; letter-spacing: .02em; }
.widget-facebook .widget-title, .widget-recent .widget-title { text-transform: uppercase; }
.widget-recent ul { margin: 0; padding: 0; list-style: none; }
.widget-recent li { padding: 6px 0 6px 8px; border-bottom: 1px solid var(--line); line-height: 1.6; }
.widget-recent a { color: var(--green); font-size: 12px; }
.facebook-link { display: block; padding: 12px; background: #fff; border: 1px solid var(--line); color: #1877f2; font-weight: bold; text-align: center; }
.search-form { display: flex; }
.search-form input { flex: 1; min-width: 0; padding: 7px 10px; border: 1px solid var(--line); border-right: 0; font: inherit; font-size: 13px; background: #fff; }
.search-form button { width: 40px; border: 0; background: var(--green); color: #fff; cursor: pointer; }
.mini-list { margin: 0; padding: 0; list-style: none; }
.mini-list li { display: grid; grid-template-columns: 70px 1fr; gap: 12px; margin-bottom: 18px; }
.mini-list .thumb img { width: 70px; height: 42px; object-fit: cover; border: 1px solid var(--line); }
.mini-list .title { display: block; color: var(--green); font-weight: bold; font-size: 12.5px; line-height: 1.5; }
.mini-list time { display: block; font-size: 11px; color: var(--text-sub); }
.mini-list .excerpt { margin: 2px 0 0; font-size: 11px; line-height: 1.6; color: var(--text-sub); }

/* ---------- お知らせ ---------- */
.post-card { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.post-card-title { margin: 0 0 12px; font-size: 24px; }
.post-card-title a { color: var(--text); }
.post-card-thumb { width: 100%; border-radius: 3px; margin-bottom: 12px; }
.post-card .excerpt { margin: 0; color: var(--text-sub); font-size: 13px; }
.single-post .entry-content { color: #444; }

/* ---------- コラム ---------- */
.column-header { margin: -30px -30px 24px; padding: 30px 20px 18px; background: var(--column-gradient); color: #fff; }
.column-header .entry-title { font-size: 20px; color: #fff; }
.column-header .entry-thumbnail { max-height: 340px; object-fit: cover; border-radius: 0; }
.column-header .breadcrumb, .column-header .breadcrumb a, .column-header .entry-meta { color: #fff; }
.column-header .entry-meta { margin: 0; }
.column-content { font-size: 14px; }
.column-content p { margin: 0 0 1.4em; }
.column-content h2 { background: var(--green-light); border-left: 10px solid var(--green); padding: .75rem 1rem; font-size: 22px; }
.column-content h3 { border-left: 10px solid var(--green); padding: .4rem 1rem; font-size: 18px; }
.column-content h4 { position: relative; border-bottom: 3px solid #d4e1bb; padding-bottom: 5px; margin-bottom: 20px; }
.column-content h4::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 20%; border-bottom: 3px solid #568009; }
.column-content strong, .column-content b { background: linear-gradient(transparent 60%, var(--green-marker) 0); }
.column-content .green-maru { color: var(--green-bright); }
.column-content .btn { display: block; width: 50%; margin: 1rem auto; padding: 15px 0; background: var(--orange); color: #fff; border-radius: 4px; text-align: center; font-weight: bold; font-size: 13px; }
.column-content .btn a { color: #fff; }
/* 「この記事を書いた人」 */
.column-content table.blog-table { border: 1px solid #ccc; margin: 30px 0; }
.column-content table.blog-table td { border: 0; width: 50%; vertical-align: middle; padding: 0; }
.column-content table.blog-table p { font-size: 12px; line-height: 1.6; margin: .8em 0; }
.column-content table.blog-table td.col2-2 { width: 100%; }
.column-content table.blog-table td.col2-2 p { text-align: center; }
.column-content table.blog-table td.col2 { width: 100%; background: #f7f7f7; padding: 0 1rem; }
.column-content table.blog-table .kiji-logp-bpx { width: 80%; margin: 0 auto; }
.column-content table.blog-table .kiji-logp-bpx img { width: 100%; }
/* 目次 */
.column-content #toc_container { display: table; min-width: 60%; margin: 0 0 2em; padding: 12px 16px; border: 1px solid #aaa; background: #f9f9f9; font-size: 13px; }
.column-content .toc_title { text-align: center; font-weight: bold; margin: 0 0 6px; }
.column-content .toc_list, .column-content .toc_list ul { list-style: none; margin: 0; padding: 0; }
.column-content .toc_list ul { padding-left: 1.2em; }
.column-content .toc_toggle { display: none; }
/* Amazon の本 */
.column-content table.column-book { border: 1px solid #dee; margin-bottom: 30px; }
.column-content table.column-book td { border: 0; padding: 10px; }
.column-content table.column-book td.l-box { width: 30%; }
.column-content table.column-book td.r-box { width: 70%; }
.column-content table.column-book p.title { margin-top: 0; font-size: 1.2em; }

/* コラム一覧 */
.archive-title { margin: 0; font-size: 24px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.column-list { list-style: none; margin: 16px 0 0; padding: 0; }
.column-list li { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 20px 0; }
.column-list .thumb img { width: 70px; height: 42px; object-fit: cover; border: 1px solid var(--line); }
.column-list .tags { display: flex; gap: 6px; }
.tag { display: inline-block; padding: 0 5px; border-radius: 3px; background: var(--green); color: #fff; font-size: 12px; font-weight: bold; }
.tag:hover { text-decoration: none; opacity: .85; }
.column-list .title { display: block; margin-top: 2px; color: var(--green); font-weight: bold; }
.column-list time { display: block; font-size: 12px; color: var(--text-sub); }
.column-list .excerpt { margin: 2px 0; font-size: 12px; color: var(--text-sub); line-height: 1.6; }
.column-list .more { display: block; text-align: right; font-size: 11px; }

/* ページ送り */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 30px; }
.pager a, .pager span { min-width: 34px; padding: 4px 10px; border-radius: 3px; text-align: center; font-size: 13px; }
.pager a { background: #ccc; color: #fff; }
.pager a:hover { background: var(--green); text-decoration: none; }
.pager .current { background: var(--green-band); color: #fff; }
.pager .gap { color: var(--text-muted); }

/* ---------- 固定ページ ---------- */
.page-content { color: #555; }
.page-content h2 { font-size: 24px; font-weight: normal; letter-spacing: .08em; color: var(--text); margin: 0 0 4px; }
.page-content h2 + .divider { margin: 0 0 28px; max-width: none; }
.page-content h2 + .divider span { margin: 0 auto; background: #fff; }
.layout--full .page-content h2 { text-align: center; }
.page-content .center { text-align: center; }
.page-content .button { margin: 6px 0 40px; padding: 14px 40px; box-shadow: 0 3px 0 var(--green-band); }
.page-content figure { margin: 0 0 20px; }
.page-content .note { font-size: 13px; color: var(--text-sub); }
.page-content .quote p { color: var(--green); font-weight: bold; margin: 0 0 12px; }
.page-content .profile { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 16px; margin: 0 0 30px; }
.page-content .profile p { margin: 0 0 12px; }
.page-content h3.sub { margin: 40px 0 16px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--text); }
.page-content .note-red { color: #d00; }
.video, .map { position: relative; aspect-ratio: 16 / 9; margin: 0 0 24px; }
.map { aspect-ratio: 4 / 3; max-width: 600px; margin-top: 10px; }
.video iframe, .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.testimonial { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.testimonial h2 { font-size: 20px; font-weight: bold; letter-spacing: 0; margin-bottom: 12px; }
.testimonial h2 a { color: var(--text); }
.testimonial img { display: block; margin: 0 auto 14px; }
.page-content section + section { margin-top: 50px; }
.page-content .media { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 16px; align-items: start; }
.page-content .media--wide { grid-template-columns: minmax(0, 1fr) 40%; }
.page-content .media img { border: 1px solid var(--line); }
.page-content .lead { color: var(--green); font-weight: bold; }
.page-content ol.plain, .page-content ul.plain { padding-left: 0; list-style: none; }

/* ---------- トップページ ---------- */
.hero { display: flex; align-items: center; justify-content: center; min-height: 560px; background: center / cover no-repeat; color: #fff; text-align: center; text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.hero h1 { margin: 0 0 8px; font-size: 50px; letter-spacing: .06em; }
.hero p { margin: 0; font-size: 30px; line-height: 1.5; }
.floral-band { height: 84px; background: var(--green) url("../img/floral-dark.png") top center repeat; }
.home-body { padding: 20px 0 50px; }
.home-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 70px; margin-bottom: 40px; }
.home-card { display: block; padding: 30px; background: #fff; color: var(--text-sub); }
.home-card:hover { text-decoration: none; box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
.home-card img { width: 100%; aspect-ratio: 740 / 430; object-fit: cover; border-radius: 3px; }
.home-card h2 { margin: 20px 0 8px; color: var(--text); font-size: 18px; font-weight: normal; }
.home-card p { margin: 0; font-size: 13px; }
.home-card .more { color: var(--green); white-space: nowrap; }
.home-news { padding: 30px; background: #fff; }
.section-title { margin: 0; font-size: 18px; font-weight: normal; text-align: center; color: #555; }
.home-news .divider { max-width: none; margin-bottom: 30px; }
.home-news .divider span { background: #fff; }
.home-news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.home-news-main img { width: 100%; padding: 5px; border: 1px solid var(--line); }
.home-news-main time, .home-news-list time { display: block; margin-top: 10px; font-size: 11px; color: var(--text-muted); }
.home-news-main h3 { margin: 4px 0; font-size: 14px; }
.home-news-main h3 a, .home-news-list .title { color: var(--text); font-weight: bold; }
.home-news-main .excerpt { margin: 0; font-size: 12px; color: var(--text-muted); }
.home-news-list { margin: 0; padding: 0 0 0 48px; list-style: none; border-left: 1px solid var(--line); }
.home-news-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; margin-bottom: 14px; }
.home-news-list .thumb img { width: 40px; height: 40px; object-fit: cover; padding: 2px; border: 1px solid var(--line); }
.home-news-list time { margin-top: 0; }
.home-news-list .title { font-size: 13px; line-height: 1.5; }
.home-news-more { margin: 30px 0 0; text-align: center; }

/* ---------- 検索 ---------- */
.search-form--large { max-width: 560px; }
.search-form--large input { padding: 10px 14px; font-size: 15px; }
.search-form--large button { width: 52px; }
.search-results { list-style: none; margin: 10px 0 0; padding: 0; }
.search-results li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.search-results time { display: block; font-size: 12px; color: var(--text-muted); }
.search-results .title { font-weight: bold; }
.search-results .excerpt { margin: 4px 0 0; font-size: 13px; color: var(--text-sub); }

/* ---------- フッター ---------- */
.site-footer { margin-top: auto; color: #fff; font-size: 13px; }
.footer-widgets { padding: 40px 0 34px; background: var(--green-footer) url("../img/floral-dark.png") top center repeat; }
.footer-widgets .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 70px; }
.footer-col h3 { margin: 0 0 14px; font-size: 14px; }
.footer-col address { font-style: normal; line-height: 1.8; }
.footer-news { margin: 0; padding: 0; list-style: none; }
.footer-news li { display: grid; grid-template-columns: 36px 1fr; gap: 0 10px; margin-bottom: 12px; }
.footer-news .thumb { grid-row: span 2; }
.footer-news .thumb img { width: 36px; height: 36px; object-fit: cover; }
.footer-news .title { color: #fff; font-size: 12px; font-weight: bold; line-height: 1.5; }
.footer-news time { font-size: 11px; opacity: .9; }
.socket { background: var(--green-socket); font-size: 11px; }
.socket .wrap { display: flex; justify-content: space-between; align-items: center; padding-block: 14px; }
.socket .copyright { margin: 0; }
.social { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; }
.social a { color: #fff; }

/* ---------- スマートフォン ---------- */
@media (max-width: 989px) {
  .layout-inner { grid-template-columns: 1fr; }
  .sidebar { border-left: 0 !important; }
  .home-cards { gap: 24px; }
}
@media (max-width: 767px) {
  body { font-size: 14px; }
  .sp-only { display: inline; }
  .site-header .wrap { align-items: center; }
  .nav-toggle-button { display: block; position: relative; width: 44px; height: 44px; cursor: pointer; }
  .nav-toggle-button span, .nav-toggle-button span::before, .nav-toggle-button span::after { position: absolute; left: 11px; width: 22px; height: 2px; background: #555; content: ""; }
  .nav-toggle-button span { top: 21px; }
  .nav-toggle-button span::before { left: 0; top: -7px; }
  .nav-toggle-button span::after { left: 0; top: 7px; }
  .global-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); }
  .nav-toggle:checked ~ .global-nav { display: block; }
  .global-nav ul { flex-direction: column; }
  .global-nav li { border: 0 !important; border-top: 1px solid var(--line) !important; }
  .global-nav a { width: 100%; padding: 12px 16px; font-size: 14px; }
  .nav-search .icon { margin-right: 6px; }
  .band-title { font-size: 26px; }
  .content { padding: 20px 16px 40px; }
  .sidebar { padding: 24px 16px; }
  .layout--overlap .layout-inner { margin-top: -20px; }
  .layout-inner { padding: 0; }
  .wrap.layout-inner { padding: 0; }
  .column-header { margin: -20px -16px 20px; padding: 20px 12px 14px; }
  .column-content h2 { font-size: 1.3rem; padding: .5rem .75rem; }
  .column-content h3 { border-left-width: 5px; padding: .25rem .5rem; font-size: 1.1rem; }
  .column-content .btn { width: 90%; }
  .post-card-title { font-size: 19px; }
  .entry-title { font-size: 21px; }
  .hero { min-height: 300px; padding: 20px 16px; }
  .hero h1 { font-size: 8vw; }
  .hero p { font-size: 3.7vw; line-height: 2; }
  .floral-band { height: 30px; }
  .home-cards, .home-news-grid, .footer-widgets .wrap { grid-template-columns: 1fr; }
  .home-card, .home-news { padding: 20px 16px; }
  .home-news-list { padding: 20px 0 0; border-left: 0; }
  .page-content .media, .page-content .media--wide { grid-template-columns: 1fr; }
  .socket .wrap { flex-direction: column; gap: 8px; }
  .alignleft, .alignright { float: none; margin: 0 auto 1em; display: block; }
}

/* サービス一覧：無料小冊子（表紙と説明を横並び、スマホは縦） */
.booklet { display: flex; gap: 32px; align-items: flex-start; }
.booklet > img { width: 260px; flex-shrink: 0; height: auto; box-shadow: 0 4px 14px rgba(0,0,0,.18); border-radius: 2px; }
.booklet > div { flex: 1; min-width: 0; }
.booklet-lead { font-size: 17px; font-weight: bold; color: var(--green); }
@media (max-width: 767px) {
  .booklet { flex-direction: column; align-items: center; gap: 20px; }
  .booklet > img { width: 200px; }
}

/* ---------- 公式ブログ（問答） ----------
   構成は小冊子『井上定雄 治療家の姿勢』に合わせ、色と文字はサイト共通 */
.blog-band { background: var(--green-band); color: #fff; text-align: center; padding: 34px 16px 30px; }
.blog-band .kicker { font-size: 12px; letter-spacing: .3em; color: rgba(255,255,255,.75); margin: 0 0 6px; }
.blog-band .name { font-size: 26px; font-weight: bold; letter-spacing: .08em; line-height: 1.5; margin: 0; }
.blog-band .rule { width: 48px; height: 1px; background: rgba(255,255,255,.7); margin: 14px auto 12px; }
.blog-band .sub { font-size: 14px; font-weight: bold; margin: 0; }

.qa-wrap { max-width: 760px; margin: 0 auto; padding: 0 16px 60px; }
.qa-layout { max-width: 1140px; margin: 36px auto 60px; padding: 0 16px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.qa-article { background: #fff; padding: 48px 56px 56px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.qa-article .breadcrumb { margin-bottom: 26px; }
.qa-meta { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--text-sub); letter-spacing: .08em; }
.qa-tag { display: inline-block; border: 1px solid var(--green); color: var(--green); font-size: 12px; padding: 1px 10px; letter-spacing: .1em; }
.qa-title { font-size: 28px; line-height: 1.55; color: var(--text); margin: 10px 0 18px; letter-spacing: .02em; }
.qa-profile { font-size: 13px; line-height: 1.7; color: var(--text-sub); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 9px 0; margin: 0 0 32px; }
.qa-profile b { color: var(--green-band); margin-right: .8em; }

.qa-label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: bold; letter-spacing: .15em; margin: 0 0 12px; }
.qa-label .mark { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green-band); color: #fff; font-size: 14px; letter-spacing: 0; }
.qa-label--a .mark { background: var(--orange); }
.qa-question { background: var(--green-light); border-left: 3px solid var(--green); padding: 22px 26px 12px; margin: 0 0 44px; font-size: 14.5px; line-height: 1.9; }
.qa-question p { margin: 0 0 1em; }

.qa-answerer { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; }
.qa-answerer img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.qa-answerer .role { font-size: 12px; color: var(--text-sub); letter-spacing: .08em; }
.qa-answerer .who { font-size: 18px; font-weight: bold; letter-spacing: .15em; }
.qa-answer { font-size: 16px; line-height: 2; text-align: justify; }
.qa-answer p { margin: 0 0 1.3em; text-indent: 1em; }
.qa-pull { margin: 34px 24px; padding: 18px 0; border-top: 1px solid var(--green); border-bottom: 1px solid var(--green); }
.qa-pull p { text-indent: 0; margin: 0; font-size: 20px; line-height: 1.75; font-weight: bold; color: var(--green-band); }

.qa-points { border: 1px solid var(--green-marker); background: var(--green-light); padding: 20px 26px 16px; margin: 44px 0 0; }
.qa-points h2 { font-size: 13px; letter-spacing: .2em; color: var(--green); margin: 0 0 10px; }
.qa-points ol { margin: 0; padding-left: 1.4em; font-size: 16px; line-height: 1.8; }
.qa-points li { margin-bottom: 6px; }

.qa-nav { display: flex; gap: 12px; margin: 48px 0 0; }
.qa-nav a { flex: 1; border: 1px solid var(--line); padding: 14px 18px; color: var(--text); font-size: 15px; line-height: 1.6; background: #fff; }
.qa-nav a:hover { border-color: var(--green); text-decoration: none; }
.qa-nav a span { display: block; font-size: 11px; color: var(--green); letter-spacing: .15em; margin-bottom: 2px; }
.qa-nav a.next { text-align: right; }

.qa-cta { background: var(--column-gradient); color: #fff; margin: 56px 0 0; padding: 40px 44px; display: flex; gap: 36px; align-items: center; position: relative; }
.qa-cta::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255,255,255,.4); pointer-events: none; }
.qa-cta img { width: 170px; flex-shrink: 0; box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.qa-cta .kicker { font-size: 12px; letter-spacing: .3em; color: rgba(255,255,255,.85); margin: 0 0 8px; }
.qa-cta h2 { font-size: 23px; line-height: 1.55; margin: 0 0 12px; }
.qa-cta p { font-size: 14px; line-height: 1.9; margin: 0 0 20px; }
.qa-cta .btn { display: inline-block; background: var(--orange); color: #fff; font-weight: bold; padding: 15px 34px; letter-spacing: .1em; font-size: 15px; border-radius: 4px; box-shadow: 0 3px 0 #c97505; position: relative; }
.qa-cta .btn:hover { background: #ffa526; text-decoration: none; }
.qa-cta small { display: block; font-size: 12px; color: rgba(255,255,255,.85); margin-top: 10px; }

.qa-side { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.06); padding: 24px 22px; position: sticky; top: 20px; }
.qa-side h2 { font-size: 15px; margin: 0 0 10px; padding-bottom: 10px; border-bottom: 2px solid var(--green); }
.qa-side ul { list-style: none; margin: 0; padding: 0; }
.qa-side li { border-bottom: 1px solid var(--line); }
.qa-side a { display: block; padding: 12px 4px; color: var(--text); font-size: 14px; line-height: 1.6; }
.qa-side a:hover { color: var(--green); text-decoration: none; }
.qa-side .cat { display: block; font-size: 11px; color: var(--green); letter-spacing: .08em; }
.qa-side li.current a { font-weight: bold; color: var(--green-band); background: var(--green-light); padding-left: 10px; border-left: 3px solid var(--green); }
.qa-side-more { display: block; text-align: right; font-size: 13px; margin-top: 12px; }

.qa-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 18px; }
.qa-chips button { border: 1px solid var(--line); background: #fff; color: var(--text); font: inherit; font-size: 13px; padding: 5px 14px; cursor: pointer; }
.qa-chips button.on { background: var(--green); border-color: var(--green); color: #fff; }
.qa-toc { list-style: none; margin: 36px 0 0; padding: 0; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.qa-chips + .qa-toc { margin-top: 0; }
.qa-toc li { border-bottom: 1px solid var(--line); }
.qa-toc a { display: grid; gap: 4px; padding: 22px 28px; color: inherit; }
.qa-toc a:hover { background: var(--green-light); text-decoration: none; }
.qa-toc .ttl { font-size: 19px; font-weight: bold; line-height: 1.55; }
.qa-toc .pf { font-size: 13px; color: var(--text-sub); line-height: 1.7; }
.qa-toc .pf time { margin-left: 1em; color: var(--text-muted); }
.qa-empty { margin: 36px 0 0; padding: 40px; background: #fff; text-align: center; color: var(--text-sub); }

@media (max-width: 767px) {
  .blog-band .name { font-size: 20px; }
  .qa-layout { display: block; margin-top: 0; padding: 0; }
  .qa-article { padding: 28px 18px 36px; box-shadow: none; }
  .qa-title { font-size: 22px; }
  .qa-question { padding: 18px 16px 8px; font-size: 14px; }
  .qa-pull { margin: 28px 4px; }
  .qa-pull p { font-size: 18px; }
  .qa-points { padding: 16px 16px 10px; }
  .qa-nav { flex-direction: column; }
  .qa-cta { flex-direction: column; text-align: center; padding: 34px 22px; gap: 22px; }
  .qa-article .qa-cta { margin-left: -18px; margin-right: -18px; }
  .qa-cta img { width: 140px; }
  .qa-cta .btn { display: block; }
  .qa-side { position: static; margin: 24px 16px 0; }
  .qa-wrap { padding: 0 0 40px; }
  .qa-chips { margin: 20px 16px 16px; }
  .qa-toc a { padding: 18px 16px; }
  .qa-toc .ttl { font-size: 17px; }
  .qa-empty { margin: 24px 16px 0; }
}
