@charset "UTF-8";
/* 下層ページ「voice」だけで使う見た目（prune_lower.py が書き出し） */
main .narrow { max-width: 800px; margin: 0px auto; }
main .more { display: inline-block; color: var(--orange); font-weight: 700; font-size: 14px; text-decoration: none; }
main .illust, main .photo, main .thumb { background: var(--orange-soft); display: grid; place-items: center; color: var(--orange); font-size: 12px; font-weight: 700; text-align: center; }
main .photo { background: rgb(232, 226, 218); color: rgb(138, 129, 120); border-radius: 16px; }
main .post-ttl { font-size: 24px; line-height: 1.5; }
@media (max-width: 767px) {
  main .post-ttl { font-size: 19px; }
}
main .vhead { text-align: center; margin-bottom: 24px; }
main .vhead .post-ttl { margin: 0px 0px 10px; }
main .amount { display: inline-block; background: var(--orange-soft); color: var(--orange); font-weight: 700; font-size: 13px; padding: 3px 14px; border-radius: 999px; }
main .vhead .area { color: var(--sub); font-size: 13px; margin: 6px 0px 0px; }
main .box { background: var(--cream); border-radius: 12px; padding: 16px 20px; margin-bottom: 28px; }
main .box-ttl { display: block; font-weight: 700; color: var(--orange); margin-bottom: 4px; }
main .qa .q { font-weight: 700; font-size: 16px; margin: 24px 0px 8px; padding-left: 28px; position: relative; }
main .qa .q::before { content: "Q"; position: absolute; left: 0px; top: -1px; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: rgb(255, 255, 255); font-size: 12px; display: grid; place-items: center; }
main .comment { display: flex; gap: 16px; margin-top: 32px; padding: 20px; border: 2px solid var(--orange-soft); border-radius: 16px; }
main { padding: 56px 0px 96px; }
main[data-page="article"] { padding: 40px 0px 64px; }
main .narrow { max-width: 860px; margin: 0px auto; }
main .thumb img, main .photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
main .more { color: var(--orange); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1023px) {
  main { padding: 36px 0px 64px; }
}
main .amount { background: rgb(255, 241, 227); color: var(--orange); }
main .eyecatch, main .post > .thumb:first-of-type { box-shadow: rgb(255, 241, 227) 10px 10px 0px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px !important; margin-bottom: 28px !important; }
main .post-ttl { font-weight: 700; }
main .box { background: rgb(255, 241, 227); }
main .comment { background: rgb(255, 248, 239); border: 0px; border-radius: 20px; }
@media (max-width: 1023px) {
  main .eyecatch, main .post > .thumb:first-of-type { box-shadow: rgb(255, 241, 227) 6px 6px 0px; }
}
main .eyecatch { background: rgb(255, 255, 255); }
main .eyecatch img { object-fit: contain; padding: 12px 20px; }
.breadcrumb { padding: 12px 0px !important; }
main a.more[href="column.html"], main a.more[href="work.html"] { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: rgb(138, 123, 108); text-decoration: none; border: 0px !important; padding: 4px 2px !important; background: none !important; box-shadow: none !important; }
main a.more[href="column.html"]:hover, main a.more[href="work.html"]:hover { text-decoration: underline; text-underline-offset: 4px; }
main .comment { background: rgb(255, 241, 227); border-radius: 12px; }
main .eyecatch, main .post > .thumb:first-of-type { box-shadow: none !important; border-radius: 12px !important; }
main .eyecatch { border: 1px solid rgb(243, 230, 216); }
@media (max-width: 1023px) {
  main .eyecatch, main .post > .thumb:first-of-type { box-shadow: none !important; }
}
main a.more[href="column.html"], main a.more[href="work.html"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: currentcolor; }
main .qa .q::before { content: "" !important; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='14' fill='%23F46A00'/%3E%3Ctext x='14' y='14' text-anchor='middle' dominant-baseline='central' font-family='Noto Sans JP, Hiragino Sans, sans-serif' font-weight='700' font-size='15' fill='%23fff' dy='-0.5'%3EQ%3C/text%3E%3C/svg%3E") center center / 100% 100% no-repeat !important; }
main .qa .q::before { top: 3px !important; }

/* ==========================================================
   WordPressの記事本文（SWELLのブロック）を、デザインの見た目に合わせる
   本文の並び：補助対象経費（囲み枠）→ 写真＋質問と回答（2列）→ 担当者コメント（囲み枠）
   ========================================================== */
/* 一覧へ戻る（デザインでは href で指定していたものをクラスに） */
main .back-link { text-align: center; margin-top: 32px; }
main .back-link .more { border: 0 !important; padding: 4px 2px !important; background: none !important; box-shadow: none !important; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: rgb(138, 123, 108); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* 外側の入れ物（グループ・カラム）は飾りなしでそのまま縦に並べる */
.voice-body :is(.wp-block-group, .wp-block-columns, .wp-block-column, .swell-block-columns, .swell-block-columns__inner, .swell-block-column) { display: block; margin: 0; padding: 0; width: auto; }
/* 本文の中の写真がアイキャッチと同じときは、PHP（setup.php）で出さないようにしている。残った空のカラムは詰める */
.voice-body .swell-block-column:not(:has(> *)) { display: none; }
/* アイキャッチと別の画像（例：サービス紹介の漫画）は、大きくなりすぎないよう幅を抑えて中央に出す */
.voice-body .swell-block-column > .wp-block-image { max-width: 400px; margin: 0 auto 28px; }
.voice-body .swell-block-column > .wp-block-image img { width: 100% !important; height: auto !important; aspect-ratio: auto !important; object-fit: contain !important; border-radius: 8px; }

/* 補助対象経費（最初の囲み枠）＝デザインの .box */
.voice-body .cap_box { background: rgb(255, 241, 227); border-radius: 12px; padding: 16px 20px; margin: 0 0 28px; }
.voice-body .cap_box_ttl { display: block; font-weight: 700; color: var(--orange); margin-bottom: 4px; font-size: inherit; }
.voice-body .cap_box_ttl svg { display: none; }
.voice-body .cap_box_content p { margin: 0; text-align: left !important; }
.voice-body .cap_box_content strong { font-weight: 400; }

/* 質問と回答（SWELLのQ&Aブロック）＝デザインの .qa */
.voice-body .swell-block-faq { margin: 0; }
.voice-body .faq_q { font-weight: 700; font-size: 16px; margin: 24px 0 8px; padding-left: 28px; position: relative; }
.voice-body .faq_q strong { font-weight: 700; }
.voice-body .faq_q::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='14' fill='%23F46A00'/%3E%3Ctext x='14' y='14' text-anchor='middle' dominant-baseline='central' font-family='Noto Sans JP, Hiragino Sans, sans-serif' font-weight='700' font-size='15' fill='%23fff' dy='-0.5'%3EQ%3C/text%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.voice-body .faq_a { margin: 0; }
.voice-body .faq_a p { margin: 0 0 1em; }

/* 担当者コメント（最後の囲み枠）＝デザインの .comment */
.voice-body > .cap_box:last-child { margin: 32px 0 0; padding: 20px; border-radius: 12px; }
.voice-body > .cap_box:last-child .cap_box_content p { margin: 0 0 1em; }
.voice-body > .cap_box:last-child .cap_box_content p:last-child { margin: 0; }


/* お客様の声の画像（ロゴ・写真とも）は余白なしで枠いっぱいに広げる（2026-11-24 山田さん判断。写真ごとに切り替えない） */
main .eyecatch img { object-fit: cover; padding: 0; }

/* 記事タイトル：言葉の途中で折り返さない（「・」「（」などの区切りで折り返す） */
main .post-ttl { word-break: keep-all; overflow-wrap: anywhere; }
