*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green: #2d7a3a;
  --green2: #4caf50;
  --yellow: #99cc00;
  --brown: #8b5e3c;
  --text: #2c2c2c;
  --muted: #666;
  --bg: #f9faf5;
  --white: #fff;
  --border: #e0e8d8;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}
body { font-family: 'Noto Sans JP', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; }

/* Header */
header { background: var(--white); border-bottom: 3px solid var(--yellow); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow); }
.header-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; flex-direction: column; text-decoration: none; }
.logo-name { font-size: 22px; font-weight: 900; color: var(--green); letter-spacing: -0.5px; }
.logo-sub { font-size: 11px; color: var(--muted); }
.header-tel { text-align: right; }
.header-tel a { font-size: 22px; font-weight: 700; color: var(--green); text-decoration: none; }
.header-tel small { display: block; font-size: 11px; color: var(--muted); }

/* Nav */
#main-nav { background: var(--green); position: sticky; top: 70px; z-index: 150; }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: flex; }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: flex; }
#main-nav > .nav-inner > .nav-item { position: relative; }
#main-nav a { color: #fff; text-decoration: none; padding: 12px 18px; font-size: 13px; font-weight: 500; display: block; transition: background 0.15s; }
#main-nav a:hover, #main-nav a.active { background: var(--yellow); color: var(--text); }
.nav-item { position: relative; }
.nav-item > a::after { content: ''; }
.nav-item.has-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-item.has-dropdown > a::after { content: '▾'; font-size: 10px; margin-left: 2px; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.15); border-radius: 0 0 8px 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.18s; z-index: 200;
}
.nav-item.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
#main-nav .dropdown a { color: var(--text); padding: 12px 18px; border-bottom: 1px solid var(--border); font-size: 13px; }
.dropdown a:last-child { border-bottom: none; }
#main-nav .dropdown a:hover { background: #f0f5e8; color: var(--green); }

/* エリアメニュー（3階層目: 府県 > 市） */
.dropdown .sub-item { position: relative; }
.dropdown .sub-item > a { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dropdown .sub-item > a::after { content: '▸'; font-size: 10px; color: var(--text-muted, #999); }
.sub-dropdown {
  position: absolute; top: 0; left: 100%; min-width: 160px;
  background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.15); border-radius: 8px;
  opacity: 0; visibility: hidden; transform: translateX(-6px);
  transition: all 0.18s; z-index: 110;
}
.dropdown .sub-item:hover .sub-dropdown { opacity: 1; visibility: visible; transform: translateX(0); }
#main-nav .sub-dropdown a { color: var(--text); padding: 10px 16px; border-bottom: 1px solid var(--border); font-size: 13px; }
.sub-dropdown a:last-child { border-bottom: none; }
#main-nav .sub-dropdown a:hover { background: #f0f5e8; color: var(--green); }

/* Hero */
.hero { background: linear-gradient(135deg, #2d7a3a 0%, #4caf50 50%, #99cc00 100%); color: #fff; text-align: center; padding: 80px 20px; }
.hero h1 { font-size: clamp(24px, 5vw, 42px); font-weight: 900; margin-bottom: 16px; text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.hero p { font-size: 16px; opacity: 0.9; margin-bottom: 32px; }
.btn-hero { background: var(--yellow); color: var(--text); padding: 14px 36px; border-radius: 50px; font-size: 16px; font-weight: 700; text-decoration: none; display: inline-block; box-shadow: 0 4px 16px rgba(0,0,0,0.15); transition: transform 0.15s; }
.btn-hero:hover { transform: translateY(-2px); }

/* Ticker */
.ticker { background: #333; padding: 10px 0; overflow: hidden; }
.ticker-inner { display: flex; gap: 60px; animation: ticker 20s linear infinite; white-space: nowrap; }
.ticker-inner a { color: orange; text-decoration: none; font-size: 13px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Section */
.section { padding: 60px 20px; }
.section-alt { background: var(--white); }
.container { max-width: 1100px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 28px; font-weight: 900; color: var(--green); position: relative; display: inline-block; padding-bottom: 12px; }
.section-title h2::after { content: ''; display: block; width: 60px; height: 3px; background: var(--yellow); margin: 8px auto 0; border-radius: 2px; }
.section-title p { color: var(--muted); margin-top: 8px; font-size: 14px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform 0.15s; }
.card:hover { transform: translateY(-4px); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 16px; }
.card-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.card-meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.card-text { font-size: 13px; color: var(--muted); }

/* Before/After */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.ba-label { display: block; text-align: center; font-size: 12px; font-weight: 700; padding: 4px; }
.ba-before { background: #eee; color: #666; }
.ba-after { background: var(--yellow); color: var(--text); }
.ba-grid img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; }

/* Voice cards */
.voice-card { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border-left: 4px solid var(--yellow); }
.voice-stars { color: #f59e0b; font-size: 18px; margin-bottom: 8px; }
.voice-text { font-size: 14px; margin-bottom: 12px; line-height: 1.8; }
.voice-name { font-size: 13px; color: var(--muted); font-weight: 600; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { text-align: center; padding: 32px 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-icon { font-size: 48px; margin-bottom: 12px; }
.feature h3 { font-size: 16px; font-weight: 700; color: var(--green); margin-bottom: 8px; }
.feature p { font-size: 13px; color: var(--muted); }

/* Form */
.form-wrap { max-width: 680px; margin: 0 auto; background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 14px; font-family: inherit; background: var(--bg); color: var(--text); transition: border-color 0.15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--green); }
.form-textarea { resize: vertical; min-height: 140px; }
.btn-submit { background: var(--green); color: #fff; border: none; padding: 14px 40px; border-radius: 50px; font-size: 16px; font-weight: 700; cursor: pointer; width: 100%; transition: background 0.15s; }
.btn-submit:hover { background: var(--green2); }

/* Blog */
.post-list { display: flex; flex-direction: column; gap: 20px; }
.post-item { background: var(--white); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); display: flex; gap: 20px; align-items: flex-start; text-decoration: none; color: inherit; transition: transform 0.15s; }
.post-item:hover { transform: translateX(4px); }
.post-item img { width: 100px; height: 70px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.post-date { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.post-title { font-size: 15px; font-weight: 700; }

/* CTA */
.cta { background: var(--green); color: #fff; text-align: center; padding: 60px 20px; }
.cta h2 { font-size: 28px; font-weight: 900; margin-bottom: 8px; }
.cta p { opacity: 0.9; margin-bottom: 24px; }
.cta .btn-hero { background: var(--yellow); }
.cta-tel { font-size: 32px; font-weight: 900; margin: 16px 0 4px; }
.cta-tel a { color: #fff; text-decoration: none; }

/* Breadcrumb */
.breadcrumb { margin-top: 0; background: var(--white); padding: 8px 20px; font-size: 13px; color: #333333; border-bottom: 1px solid var(--border); z-index: 2; }
.breadcrumb a { color: var(--green); text-decoration: none; }
.breadcrumb span::before { content: ' › '; }

/* Page hero */
.page-hero { background: linear-gradient(135deg, var(--green) 0%, var(--green2) 100%); color: #fff; text-align: center; padding: 48px 20px; position: relative; z-index: 1; }
.page-hero h1 { font-size: 30px; font-weight: 900; text-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.page-hero p { opacity: 0.85; margin-top: 8px; }

/* Info table */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; }
.info-table th { background: #f0f5e8; width: 160px; font-weight: 600; color: var(--green); }

/* Thanks */
.thanks-box { text-align: center; padding: 60px 20px; }
.thanks-box .icon { font-size: 64px; margin-bottom: 16px; }
.thanks-box h2 { font-size: 24px; font-weight: 700; color: var(--green); margin-bottom: 12px; }

/* 施工レポート（Before/After記事） */
.report-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 32px; border: 4px solid #99cc00; border-radius: 8px; overflow: hidden; }
.report-ba > div { position: relative; }
.report-ba img { width: 100%; height: 280px; object-fit: cover; display: block; }
.report-ba .ba-tag { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,0.65); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.report-ba-inline { margin: 24px 0; border-width: 3px; }
.report-ba-inline img { height: 220px; }
.ba-empty { height: 280px; display: flex; align-items: center; justify-content: center; color: #ccc; background: #f5f5f5; font-size: 13px; }

.report-single { position: relative; margin: 24px 0; border: 3px solid #99cc00; border-radius: 8px; overflow: hidden; }
.report-single img { width: 100%; height: 320px; object-fit: cover; display: block; }
.report-single .ba-tag { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,0.65); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; }

.report-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 20px 0; }
.report-related-card { display: block; border: 1px solid #eee; border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit; background: #fff; transition: transform 0.15s; }
.report-related-card:hover { transform: translateY(-2px); border-color: #99cc00; }
.report-related-card img { width: 100%; height: 110px; object-fit: cover; display: block; }
.report-related-noimg { width: 100%; height: 110px; background: #f0f7f0; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.report-related-title { display: block; padding: 8px 10px; font-size: 12px; font-weight: 700; line-height: 1.5; }

a.auto-link { color: var(--green); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 2px; }

.report-layout { display: grid; grid-template-columns: 1fr 220px; gap: 24px; align-items: start; }
.report-main h2 { font-size: 18px; font-weight: 700; color: var(--green); margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--yellow); }
.report-main h2:first-child { margin-top: 0; }
.report-main p { margin-bottom: 14px; line-height: 1.9; font-size: 15px; }
.report-main img { width: 100%; border-radius: 8px; margin: 16px 0; }

.report-side {
  background: repeating-linear-gradient(-45deg, rgba(139,198,202,.15), rgba(139,198,202,.15) 10px, #f1fff4 0, #f1fff4 20px);
  border: 3px solid #8ABB0A; border-radius: 8px; padding: 20px; position: sticky; top: 80px;
}
.report-side h4 { font-size: 13px; color: var(--green); margin-bottom: 6px; font-weight: 700; }
.report-side .work-detail { font-size: 13px; white-space: pre-line; line-height: 1.7; margin-bottom: 16px; }
.report-side .work-time { font-size: 13px; margin-bottom: 16px; }
.report-price {
  text-align: center; margin-top: 60px; background: #fffbea; border: 2px dashed #e31e2b;
  border-radius: 12px; padding: 24px;
}
.report-price .label { display: inline-block; background: var(--yellow); color: #333; padding: 4px 16px; border-radius: 20px; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.report-price .amount { font-size: 32px; font-weight: 900; color: #e31e2b; }

@media (max-width: 768px) {
  .report-layout { grid-template-columns: 1fr; }
  .report-side { position: static; }
  .report-ba { grid-template-columns: 1fr; }
  .report-ba img { height: 200px; }
}

/* SEOお悩み解決枠 */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.grid-box { border-radius: 8px; padding: 16px; }
.grid-box-text { margin-top: 8px; font-size: 14px; line-height: 1.7; color: #444; }
@media (max-width: 768px) { .problem-grid { grid-template-columns: 1fr; } }

/* アコーディオン */
.report-accordion { border: 2px solid var(--border); border-radius: 12px; margin-bottom: 16px; overflow: hidden; background: #fff; }
.report-accordion summary {
  cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: space-between; background: #f7faf2;
  color: var(--green); user-select: none;
}
.report-accordion summary::-webkit-details-marker { display: none; }
.report-accordion summary::after { content: '＋'; font-size: 18px; color: var(--green); transition: transform 0.2s; }
.report-accordion[open] summary::after { content: '－'; }
.report-accordion .accordion-body { padding: 20px; }

/* Footer */
footer { background: #1a2e1f; color: #aaa; padding: 40px 20px 20px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-brand .name { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-brand p { font-size: 13px; line-height: 1.8; }
.footer-links h4 { color: #fff; font-size: 13px; margin-bottom: 12px; }
.footer-links a { display: block; color: #aaa; text-decoration: none; font-size: 13px; margin-bottom: 6px; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { text-align: center; font-size: 12px; padding-top: 20px; border-top: 1px solid #2d4a35; }

/* フッター：植木図鑑スライダー */
.footer-plant-slider { max-width: 1100px; margin: 0 auto 32px; padding-bottom: 32px; border-bottom: 1px solid #2d4a35; }
.footer-plant-slider-title { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 14px; text-align: center; }
.footerPlantSwiper { width: 100%; padding: 4px 2px 10px; }
.footerPlantSwiper .swiper-slide { width: 150px; }
.footerPlantSwiper .swiper-slide a { display: block; text-decoration: none; color: #ddd; }
.footerPlantSwiper .swiper-slide img {
  width: 150px; height: 110px; object-fit: cover; border-radius: 8px;
  display: block; border: 2px solid #2d4a35; background: #0f1a12;
}
.footerPlantSwiper .swiper-slide a:hover img { border-color: var(--yellow); }
.footer-plant-name {
  display: block; text-align: center; font-size: 12px; margin-top: 6px;
  color: #ccc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.footer-plant-more { color: var(--yellow); font-size: 13px; text-decoration: none; font-weight: 700; }
.footer-plant-more:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .features { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .nav-inner { flex-wrap: wrap; }
  #main-nav a { padding: 10px 12px; font-size: 12px; }
  .ba-grid { grid-template-columns: 1fr; }
  .post-item img { display: none; }
  .header-tel a { font-size: 16px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; min-width: 100%; border-radius: 0; }
  .nav-item.has-dropdown.open .dropdown { display: block; }
  .nav-item.has-dropdown:hover .dropdown { display: none; }
  .nav-item.has-dropdown.open .dropdown { display: block; }
  .sub-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; min-width: 100%; padding-left: 16px; background: #f7faf2; }
  .dropdown .sub-item.open .sub-dropdown { display: block; }
  .dropdown .sub-item > a::after { content: '▾'; }
}

/* パンくず（拡張） */
.breadcrumb ol { display:flex; flex-wrap:wrap; list-style:none; max-width:1100px; margin:0 auto; padding:0; align-items:center; gap:4px; }
.breadcrumb li::before { content:'›'; margin-right:4px; color:var(--muted); }
.breadcrumb li:first-child::before { content:''; margin:0; }
.breadcrumb a:hover { text-decoration:underline; }

/* 目次 */
.toc-box {
  background:#f7faf2; border:2px solid var(--yellow); border-radius:8px;
  padding:20px 24px; margin-bottom:28px;
}
.toc-box .toc-title { font-size:14px; font-weight:700; color:var(--green); margin-bottom:12px; display:flex; align-items:center; gap:6px; }
.toc-box ol { padding-left:20px; margin:0; }
.toc-box li { margin-bottom:6px; font-size:13px; line-height:1.5; }
.toc-box a { color:var(--green); text-decoration:none; }
.toc-box a:hover { text-decoration:underline; }
.toc-box .toc-h3 { margin-top:4px; padding-left:16px; list-style:circle; }

/* トップページ各種 */
.top-btn-card {
  display:flex; flex-direction:column; align-items:center; gap:10px;
  background:#fff; border:2px solid #99cc00; border-radius:12px; padding:24px 16px;
  text-decoration:none; color:var(--text); font-weight:700; transition:transform 0.15s;
}
.top-btn-card:hover { transform:translateY(-4px); }
.top-btn-primary { background:var(--green); border-color:var(--green); color:#fff; }

.reason-card {
  background:#fff; border-radius:var(--radius); padding:24px; box-shadow:var(--shadow);
  border-top:4px solid var(--yellow); position:relative;
}
.reason-num {
  font-size:40px; font-weight:900; color:#e8f5e0; position:absolute;
  top:12px; right:16px; line-height:1;
}
.reason-card h3 { font-size:16px; font-weight:700; color:var(--green); margin-bottom:8px; }
.reason-card p { font-size:13px; color:var(--muted); line-height:1.8; }

.service-icon-card {
  display:flex; flex-direction:column; align-items:center; gap:8px;
  background:#fff; border:2px solid #99cc00; border-radius:8px; padding:16px 8px;
  text-decoration:none; color:var(--text); transition:all 0.15s;
}
.service-icon-card:hover { background:#f0f7e0; transform:translateY(-2px); }
.service-icon { font-size:36px; }
.service-name { font-size:12px; font-weight:700; color:var(--green); text-align:center; }

.trouble-item {
  background:#f0f7f0; border:1px solid var(--yellow); border-radius:8px;
  padding:12px 16px; font-size:13px; font-weight:600; color:var(--text);
}

/* 吹き出し */
.balloon-wrap { display:flex; align-items:flex-start; gap:12px; margin:20px 0; }
.balloon-right { flex-direction:row-reverse; }
.balloon-icon { display:flex; flex-direction:column; align-items:center; flex-shrink:0; }
.balloon-emoji { font-size:36px; line-height:1; }
.balloon-name { font-size:11px; color:var(--muted); margin-top:4px; text-align:center; white-space:nowrap; }
.balloon-text { position:relative; background:#fff; border:2px solid #99cc00; border-radius:12px; padding:12px 16px; font-size:14px; line-height:1.7; max-width:80%; }
.balloon-text-left::before { content:''; position:absolute; top:16px; left:-12px; border:6px solid transparent; border-right-color:#99cc00; }
.balloon-text-left::after { content:''; position:absolute; top:17px; left:-9px; border:5px solid transparent; border-right-color:#fff; }
.balloon-text-right { background:#f0f7f0; border-color:#2e7d32; }
.balloon-text-right::before { content:''; position:absolute; top:16px; right:-12px; border:6px solid transparent; border-left-color:#2e7d32; }
.balloon-text-right::after { content:''; position:absolute; top:17px; right:-9px; border:5px solid transparent; border-left-color:#f0f7f0; }

/* ハンバーガーボタン */
.hb-line { display:block; width:24px; height:2px; background:var(--green); border-radius:2px; transition:all 0.3s; }

/* オーバーレイナビ */
.overlay-nav-link {
  display:block; width:100%; padding:18px 40px; color:#fff; text-decoration:none;
  font-size:18px; font-weight:700; border-bottom:1px solid rgba(255,255,255,0.1);
  text-align:center; transition:background 0.15s;
}
.overlay-nav-link:hover, .overlay-has-sub:hover { background:rgba(255,255,255,0.08); }
.overlay-has-sub { cursor:pointer; }
.overlay-sub { background:rgba(0,0,0,0.3); }
.overlay-sub-link {
  display:block; padding:14px 60px; color:#ccc; text-decoration:none;
  font-size:15px; border-bottom:1px solid rgba(255,255,255,0.05);
  text-align:center;
}
.overlay-sub-link:hover { color:#99cc00; }

/* スマホ対応 */
@media(max-width:768px){
  #hamburger-btn { display:flex!important; }
  #main-nav { display:none!important; }
  .header-tel small { display:none; }
  .header-tel a { font-size:14px; }
  .logo-sub { display:none; }
  .logo-name { font-size:16px; }
  .container { padding:0 12px; }
  .breadcrumb ol { padding: 0 12px; }
  .card-grid { grid-template-columns:1fr; }
  .features { grid-template-columns:1fr; }
  .footer-inner { grid-template-columns:1fr; gap:20px; }
  .report-layout { grid-template-columns:1fr; }
  .problem-grid { grid-template-columns:1fr; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .section { padding:32px 12px; }
  .page-hero h1 { font-size:22px; }
  .hero h1 { font-size:24px; }
  .cta h2 { font-size:20px; }
  .cta-tel { font-size:24px; }
}

/* =========================
   麻の葉フレーム + 和紙背景
   施工事例記事用
========================= */

.frame-wrapper {
  padding: 20px;
  border: 12px solid transparent;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'>\
<defs>\
<pattern id='asanoha' width='80' height='80' patternUnits='userSpaceOnUse'>\
<g stroke='%23c9a227' stroke-width='1.5' fill='none'>\
<path d='M40 0 L80 40 L40 80 L0 40 Z'/>\
<path d='M40 0 L60 40 L40 80 L20 40 Z'/>\
<path d='M0 40 L40 60 L80 40 L40 20 Z'/>\
<path d='M20 0 L40 20 L60 0'/>\
<path d='M20 80 L40 60 L60 80'/>\
<path d='M0 20 L20 40 L0 60'/>\
<path d='M80 20 L60 40 L80 60'/>\
</g>\
</pattern>\
</defs>\
<rect width='80' height='80' fill='url(%23asanoha)'/>\
</svg>");
  background-repeat: repeat;
  background-origin: border-box;
  background-clip: border-box;
}

.frame-inner {
  background:
    linear-gradient(rgba(255,253,245,0.88), rgba(255,253,245,0.88)),
    url("/static/images/washi.jpg") center/cover no-repeat;
  border: 2px solid #c9a227;
  padding: 30px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .frame-wrapper { padding: 10px; border-width: 8px; }
  .frame-inner { padding: 16px; }
}

/* 記事合成検索ページ（/plant-search/） */
.article-hero { background: linear-gradient(135deg, var(--green) 0%, var(--green2) 100%); background-size: cover; background-position: center; color: #fff; text-align: center; padding: 56px 20px; position: relative; z-index: 1; }
.article-hero.has-image { background-blend-mode: multiply; }
.article-hero h1 { font-size: 28px; font-weight: 900; text-shadow: 0 2px 6px rgba(0,0,0,0.35); }
.article-hero p { opacity: 0.9; margin-top: 8px; font-size: 14px; }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.tag-pill { display: inline-block; padding: 5px 16px; background: rgba(255,255,255,0.22); border: 1px solid rgba(255,255,255,0.6); color: #fff; font-size: 12px; font-weight: 700; border-radius: 20px; }

.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.article-main.report-main { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 28px; }

.side-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 18px; margin-bottom: 18px; }
.side-card h4 { font-size: 14px; color: var(--green); margin-bottom: 10px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.side-card .info-table th { width: 90px; font-size: 12px; padding: 10px 8px; }
.side-card .info-table td { font-size: 13px; padding: 10px 8px; }

.side-case-card { display: flex; gap: 10px; text-decoration: none; color: inherit; margin-bottom: 10px; }
.side-case-card img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.side-case-card .noimg { width: 64px; height: 64px; border-radius: 6px; flex-shrink: 0; background: #f0f7f0; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.side-case-card span { font-size: 12px; line-height: 1.5; font-weight: 600; }
.side-case-card:hover span { color: var(--green); text-decoration: underline; }

.side-article-link { display: block; font-size: 13px; padding: 8px 0; border-bottom: 1px dashed var(--border); color: var(--text); text-decoration: none; }
.side-article-link:last-child { border-bottom: none; }
.side-article-link:hover { color: var(--green); }

.faq-item { margin-bottom: 12px; }
.faq-item .q { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.faq-item .q::before { content: 'Q. '; color: var(--green); }
.faq-item .a { font-size: 12px; color: var(--muted); line-height: 1.7; padding-left: 4px; }

.side-cta-box { background: var(--green); color: #fff; border-radius: 10px; padding: 20px 18px; text-align: center; }
.side-cta-box p { font-size: 13px; line-height: 1.7; margin-bottom: 14px; opacity: 0.95; }
.side-cta-box a { display: inline-block; background: #fff; color: var(--green); font-weight: 700; font-size: 13px; padding: 10px 20px; border-radius: 50px; text-decoration: none; }

@media (max-width: 768px) {
  .article-layout { grid-template-columns: 1fr; }
}

/* ==========================================================
   記事合成：本文用デザインパーツ（article_builderのbody_templateで使用）
   問題提起・対処方法・管理ポイント・まとめ・お問い合わせ の各ボックスと、
   冒頭の大きな画像・作業前後の比較写真のスタイル。
   ========================================================== */
.article-eye-catch img { width: 100%; border-radius: 15px; }

.problem-box,
.solution-box,
.care-box,
.summary-box { background: #fff; padding: 25px; margin: 30px 0; border-radius: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }

.point-box { background: #f4fff0; border-left: 5px solid #4CAF50; padding: 20px; margin: 25px 0; }

.before-after { display: flex; gap: 15px; margin: 20px 0; }
.before-after img { width: 50%; border-radius: 10px; }

.caption { text-align: center; color: #666; font-size: 14px; }

.contact-box { background: #e8f5e9; text-align: center; padding: 30px; border-radius: 15px; }

.btn-contact { display: inline-block; background: #4CAF50; color: #fff; padding: 15px 30px; border-radius: 50px; text-decoration: none; margin-top: 15px; }
.btn-contact:hover { opacity: 0.9; }

@media (max-width: 600px) {
  .before-after { flex-direction: column; }
  .before-after img { width: 100%; }
}

/* ==========================================================
   トップページ：「お庭のお悩みから探す」タブ切り替えFAQ
   ========================================================== */
.garden-faq-section { padding: 70px 0; background: #f5f6f4; font-family: "Noto Sans JP", sans-serif; }

/* このセクション内だけで見出しデザインを上書きする（サイト共通の.section-titleには影響させない） */
.garden-faq-section .section-title { text-align: center; margin-bottom: 40px; }
.garden-faq-section .section-title h2 { font-size: 28px; font-weight: 700; color: #2f3e2f; border: none; padding: 0; }
.garden-faq-section .section-title h2::after { display: none; }
.garden-faq-section .section-title p { color: #666; margin-top: 10px; font-size: 15px; }

/* タブ */
.faq-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }

.faq-tab { padding: 10px 22px; border-radius: 30px; background: #fff; border: 1px solid #dcdcdc; cursor: pointer; transition: 0.25s; font-size: 15px; color: #333; }
.faq-tab:hover { background: #eef0ed; }
.faq-tab.active { background: #3a5f3a; color: #fff; border-color: #3a5f3a; }

/* FAQカード */
.faq-problem { background: #fff; border-radius: 12px; margin-bottom: 18px; border: 1px solid #e5e5e5; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }

/* 質問ボタン */
.faq-question { width: 100%; padding: 20px 24px; background: #fff; border: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 17px; font-weight: 600; border-left: 4px solid #3a5f3a; text-align: left; }

.faq-icon { width: 18px; height: 18px; border-right: 2px solid #3a5f3a; border-bottom: 2px solid #3a5f3a; transform: rotate(45deg); transition: 0.25s; flex-shrink: 0; margin-left: 12px; }

/* 回答（アニメーション） */
.faq-answer { max-height: 0; overflow: hidden; padding: 0 24px; transition: max-height 0.35s ease, padding 0.35s ease; }

.faq-problem.open .faq-answer { max-height: 300px; padding-bottom: 24px; }
.faq-problem.open .faq-icon { transform: rotate(225deg); }

/* 詳細リンク */
.faq-detail-link { display: inline-block; margin-top: 12px; font-weight: bold; color: #3a5f3a; text-decoration: none; }
.faq-detail-link:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .garden-faq-section { padding: 50px 15px; }
  .faq-tab { font-size: 14px; padding: 9px 16px; }
  .faq-question { padding: 18px; font-size: 15px; }
}

/* 植木図鑑：詳細ページの各セクション（②特徴〜⑦おすすめ記事） */
.plant-block { margin-bottom: 32px; }
.plant-block-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 14px;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 8px;
}
.plant-block-body { line-height: 1.9; white-space: pre-wrap; color: #333; }
.plant-problem-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.plant-problem-list li {
  position: relative;
  padding: 10px 16px 10px 36px;
  background: #fff8e6;
  border-radius: 6px;
  line-height: 1.6;
}
.plant-problem-list li::before {
  content: "？";
  position: absolute;
  left: 12px;
  top: 10px;
  color: var(--yellow, #e0a800);
  font-weight: 700;
}
