
* { box-sizing: border-box; }
body { margin: 0; font-family: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif; color: #2b2a25; background: #fff; line-height: 1.95; }
a { color: #4A6FA5; } a:hover { color: #3D6A3D; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.55; }
.site-header { background: #3D6A3D; padding: 12px max(16px, calc((100% - 1080px) / 2)); position: sticky; top: 0; z-index: 10; }
.logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 900; font-size: 17px; letter-spacing: .02em; text-decoration: none; }
.hub-nav { display: flex; gap: 6px; overflow-x: auto; white-space: nowrap; background: #fff; border-bottom: 1px solid #F5F2EE; padding: 8px max(12px, calc((100% - 1080px) / 2)); -webkit-overflow-scrolling: touch; }
.hub-nav a { flex-shrink: 0; font-size: 12px; font-weight: 700; color: #3D6A3D; background: #F5F0E8; padding: 5px 12px; border-radius: 99px; text-decoration: none; }
.hub-nav a:first-child { background: #B94646; color: #fff; }
.hero { position: relative; max-width: 1080px; margin: 0 auto; background: #3D6A3D; }
.hero-plain { background: #3D6A3D; padding: 34px 16px 30px; }
.hero-plain .hero-copy { position: static; background: none; padding: 0; }
.hero img { display: block; width: 100%; max-height: 400px; object-fit: cover; object-position: center 30%; }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 14px; background: linear-gradient(transparent, rgba(43,42,37,0.85)); color: #fff; font-size: 20px; font-weight: 900; line-height: 1.5; }
.listing, .article { max-width: 720px; margin: 0 auto; padding: 0 16px 40px; }
.feature-banner { display: flex; align-items: center; gap: 12px; background: #B94646; border-radius: 8px; padding: 14px 16px; margin-top: 14px; text-decoration: none; }
.fb-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fb-txt strong { color: #fff; font-size: 15px; font-weight: 900; }
.fb-txt small { color: #FBEEEE; font-size: 11.5px; }
.sec-h { display: flex; align-items: baseline; gap: 10px; margin: 28px 0 12px; border-left: 4px solid #3D6A3D; padding-left: 10px; }
.sec-h h1, .sec-h h2 { font-size: 17px; font-weight: 900; margin: 0; }
.sec-h-hub { border-color: #B94646; }
.sec-h-teal { border-color: #4A6FA5; }
.cards { display: flex; flex-direction: column; gap: 12px; }
.card { display: flex; gap: 12px; text-decoration: none; color: #2b2a25; border: 1px solid #F5F2EE; border-radius: 8px; overflow: hidden; }
.card-img { width: 128px; min-height: 92px; background: #F5F2EE; flex-shrink: 0; }
.card-img img, .noimg { width: 100%; height: 100%; object-fit: cover; display: block; background: #F5F2EE; }
/* min-width:0 が無いとflexの子が縮まず、長いタイトルで横にはみ出す（8/19） */
.card-body { padding: 10px 12px 10px 0; display: flex; flex-direction: column; gap: 6px; justify-content: center; min-width: 0; overflow-wrap: anywhere; }
.card-title { font-size: 14px; font-weight: 700; line-height: 1.55; }
.card-meta { display: flex; gap: 8px; align-items: center; font-size: 11px; color: #8a8578; }
.card-big { display: flex; flex-direction: column; text-decoration: none; color: #2b2a25; border: 1px solid #F5F2EE; border-radius: 8px; overflow: hidden; }
.cb-img { max-height: 240px; overflow: hidden; background: #F5F2EE; }
.cb-img img { width: 100%; display: block; }
.cb-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.cb-title { font-size: 15.5px; font-weight: 900; line-height: 1.55; }
.cards-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.card-sm { display: flex; flex-direction: column; text-decoration: none; color: #2b2a25; border: 1px solid #F5F2EE; border-radius: 8px; overflow: hidden; }
.cs-img { height: 84px; background: #F5F2EE; }
.cs-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-title { padding: 10px; font-size: 12.5px; font-weight: 700; line-height: 1.5; }
.hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hub-card { display: flex; flex-direction: column; gap: 6px; background: #F5F0E8; border-radius: 8px; padding: 14px; text-decoration: none; color: #2b2a25; }
.hc-name { font-size: 13.5px; font-weight: 900; }
.hc-sub { font-size: 11px; color: #8a8578; }
.hub-hero { padding: 24px 16px; color: #fff; }
.hub-hero h1 { font-size: 22px; font-weight: 900; margin: 4px 0 6px; }
.hub-hero p { margin: 0; font-size: 12.5px; opacity: .9; }
.hh-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; opacity: .85; }
.ch-img { display: block; width: 100%; height: auto; }
.cat-hero { padding-top: 28px; padding-bottom: 26px; }
.cat-hero h1 { font-size: 24px; }
.cat-hero .ch-copy { margin: 0; font-size: 15px; font-weight: 700; opacity: .96; line-height: 1.7; }
.cat-hero .ch-sub { margin: 6px 0 0; font-size: 12.5px; opacity: .85; line-height: 1.8; }
.ch-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; max-width: 480px; }
.ch-btn { display: block; text-align: center; background: #fff; color: #2b2a25; font-size: 14.5px; font-weight: 900; text-decoration: none; padding: 13px 18px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.ch-btn:hover { color: #2b2a25; opacity: .92; }
.ch-btn-sub { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.85); box-shadow: none; }
.ch-btn-sub:hover { background: rgba(255,255,255,.12); color: #fff; }
.leads { display: flex; flex-direction: column; gap: 8px; }
.lead-row { display: flex; align-items: center; gap: 12px; border: 1px solid #F5F2EE; border-radius: 8px; padding: 10px 12px; text-decoration: none; color: #2b2a25; }
.lead-n { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; color: #3D6A3D; flex-shrink: 0; }
.lead-t { font-size: 13.5px; font-weight: 700; line-height: 1.55; min-width: 0; overflow-wrap: anywhere; }
.chip { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 2px 9px; border-radius: 3px; text-decoration: none; }
.chip-hub { background: #B94646; color: #fff; }
.chip-pr { color: #8a8578; border: 1px solid #C9B68F; padding: 1px 8px; }
.breadcrumb { font-size: 11.5px; color: #8a8578; padding-top: 12px; }
.breadcrumb a { color: #8a8578; text-decoration: none; } .breadcrumb a:hover { color: #3D6A3D; }
.a-head { padding-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.a-head h1 { font-size: 22px; font-weight: 900; margin: 0; }
.a-meta { font-size: 11.5px; color: #8a8578; }
.a-hero { margin: 14px 0 0; } .a-hero img { border-radius: 8px; width: 100%; display: block; }
.toc { background: #F5F0E8; border-radius: 8px; padding: 14px 16px; margin: 16px 0 0; }
.toc-head { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 900; color: #3D6A3D; margin-bottom: 8px; }
.toc-items { display: flex; flex-direction: column; gap: 7px; }
/* flexにすると長い見出しが折り返さず、ページ全体が横にはみ出す（8/19に踏んだ）。
   blockのぶら下げインデントにして必ず折り返させる。 */
.toc-items a { display: block; padding-left: 1.9em; text-indent: -1.9em; font-size: 13px; font-weight: 500; color: #2b2a25; text-decoration: none; overflow-wrap: anywhere; }
.toc-items a:hover { color: #3D6A3D; }
.toc-n { display: inline-block; width: 1.5em; color: #5B8C5A; font-weight: 900; font-size: 12px; text-indent: 0; }
.a-body { font-size: 15px; padding-top: 4px; }
.a-body h2, .article > h2 { font-size: 18px; font-weight: 900; background: #3D6A3D; color: #fff; padding: 11px 14px; border-radius: 6px; margin: 36px 0 16px; scroll-margin-top: 70px; }
.a-body h3, .article > h3 { font-size: 16px; font-weight: 900; border-left: 4px solid #3D6A3D; background: #FBF8F2; padding: 8px 0 8px 12px; margin: 30px 0 12px; }
.a-body table, .article table { border-collapse: collapse; width: 100%; font-size: 13px; margin: 14px 0; }
/* 狭い画面では表を横スクロールさせる（1セル3文字で折り返して読めなくなるため・8/19） */
.table-scroll { margin: 14px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.a-body figure.wp-block-table { margin: 14px 0; }
.a-body .table-scroll table { min-width: 520px; }
.a-body th, .a-body td, .article th, .article td { border: 1px solid #F5F2EE; padding: 8px 9px; text-align: left; }
.a-body th { background: #F5F0E8; color: #3D6A3D; font-weight: 700; }
.a-body .is-style-stripes tr:nth-child(even) td { background: #FBF8F2; }
.a-body a[rel~="sponsored"] { display: inline-block; background: #A04A0A; color: #fff; font-weight: 700; text-decoration: none; padding: 12px 24px; border-radius: 6px; margin: 4px 0; }
.a-body a[rel~="sponsored"]:hover { color: #fff; opacity: .9; }
.cta-box { background: #F5F0E8; border-radius: 10px; padding: 18px 18px 20px; margin: 28px 0; }
.cta-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 900; color: #3D6A3D; }
.cta-pr { font-size: 10px; font-weight: 700; color: #8a8578; border: 1px solid #C9B68F; border-radius: 3px; padding: 0 6px; }
.cta-main-name { font-size: 17px; font-weight: 900; margin-top: 10px; line-height: 1.5; }
.cta-main-sub { font-size: 13px; color: #6b6754; margin-top: 2px; line-height: 1.7; }
/* .a-body a[rel~="sponsored"] より詳細度を上げる（同じ橙ボタンになって枠からはみ出すため） */
.a-body .cta-box .cta-btn { display: block; width: 100%; box-sizing: border-box; text-align: center; background: #A04A0A; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; padding: 14px 16px; border-radius: 6px; margin: 14px 0 0; }
.a-body .cta-box .cta-btn:hover { color: #fff; opacity: .92; }
.cta-subs { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.a-body .cta-subs a { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; box-sizing: border-box; background: #fff; color: #3D6A3D; border: 1px solid #5B8C5A; font-size: 13.5px; font-weight: 700; text-decoration: none; padding: 11px 14px; border-radius: 6px; margin: 0; }
.cs-name { text-align: left; line-height: 1.45; }
.cs-act { flex-shrink: 0; font-size: 11.5px; font-weight: 700; color: #A04A0A; white-space: nowrap; }
.a-body .cta-subs a:hover { background: #FBF8F2; color: #3D6A3D; }
.article table th { background: #F5F0E8; color: #3D6A3D; }
.article table th, .article table td { border: 1px solid #F5F2EE; padding: 8px 10px; font-size: 13.5px; }
.article table { border-collapse: collapse; width: 100%; }
.swell-block-faq { margin: 14px 0; }
.swell-block-faq__item, .faq-item { border: 1px solid #F5F2EE; border-radius: 8px; margin-bottom: 10px; padding: 12px 14px; }
.faq_q { font-weight: 700; color: #3D6A3D; margin-bottom: 6px; }
.faq_a { font-size: 14px; }
.more { text-align: center; margin-top: 14px; }
.more a { display: inline-block; font-size: 13px; font-weight: 700; color: #3D6A3D; border: 1px solid #3D6A3D; border-radius: 99px; padding: 8px 22px; text-decoration: none; }
.more a:hover { background: #F5F0E8; }
.site-footer { margin-top: 40px; background: #2b2a25; padding: 22px max(16px, calc((100% - 1080px) / 2)) 26px; }
.logo-f { color: #fff; font-weight: 900; font-size: 15px; }
.f-cats { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; }
.f-cats a { color: #F5F0E8; font-size: 12.5px; text-decoration: none; }
.f-cats a:hover { color: #FCE9C5; }
.f-links { font-size: 11px; margin-top: 12px; color: #C9B68F; } .f-links a { color: #C9B68F; }
@media (min-width: 760px) {
  .listing { max-width: 1080px; }
  .article { max-width: 760px; }
  .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cards-2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-copy { font-size: 26px; padding: 40px 24px 18px; }
  .hub-hero { padding: 30px max(16px, calc((100% - 1048px) / 2)); }
  .ch-btns { flex-direction: row; max-width: 640px; }
  .ch-btn { flex: 1; }
  /* PC幅は画像をフル寸で出すと名前とCTAが1画面から押し出される。トップの.heroと同じ高さ制限 */
  .ch-img { max-height: 400px; object-fit: cover; object-position: left center; }
  .card-big { flex-direction: row; }
  .cb-img { width: 46%; max-height: none; }
  .cb-img img { height: 100%; object-fit: cover; }
  .cb-body { flex: 1; justify-content: center; padding: 18px 20px; }
  .cb-title { font-size: 18px; }
}
