/* ===== リセット・基本 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; color: #333; background: #f8f8f8; line-height: 1.7; }
a { color: #1a6b2e; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ===== レイアウト ===== */
.container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.layout { display: grid; grid-template-columns: 1fr 280px; gap: 32px; padding: 24px 0; }
@media (max-width: 768px) { .layout { grid-template-columns: 1fr; } .sidebar { order: -1; } }

/* ===== ヘッダー ===== */
.site-header { background: #1a6b2e; color: #fff; padding: 12px 0; position: sticky; top: 0; z-index: 100; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.site-logo { color: #fff; font-size: 1.3rem; font-weight: bold; }
.global-nav { display: flex; gap: 16px; flex-wrap: wrap; }
.global-nav a { color: #d4f5d4; font-size: 0.9rem; }
.global-nav a:hover { color: #fff; }

/* ===== 広告エリア ===== */
.ad-header, .ad-inline, .ad-sidebar, .ad-footer { text-align: center; padding: 8px 0; }

/* ===== パンくず ===== */
.breadcrumb { font-size: 0.85rem; color: #666; margin-bottom: 16px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li:not(:last-child)::after { content: " › "; margin-left: 4px; }

/* ===== ページタイトル ===== */
h1 { font-size: 1.6rem; color: #1a6b2e; margin-bottom: 8px; border-left: 4px solid #1a6b2e; padding-left: 12px; }
.update-date { font-size: 0.8rem; color: #888; margin-bottom: 16px; }

/* ===== エディトリアルイントロ ===== */
.editorial-intro { background: #f0f9f0; border-left: 4px solid #4caf50; padding: 16px; border-radius: 4px; margin-bottom: 24px; }

/* ===== コースカード ===== */
.ranking-list { display: flex; flex-direction: column; gap: 24px; }
.course-card { background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.08); display: grid; grid-template-columns: 56px 320px 1fr; gap: 0; overflow: hidden; }
@media (max-width: 768px) { .course-card { grid-template-columns: 48px 1fr; } .course-image { display: none; } }
.course-rank { background: #1a6b2e; color: #fff; font-size: 1.2rem; font-weight: bold; display: flex; align-items: center; justify-content: center; padding: 8px; }
.course-image img { width: 320px; height: 213px; object-fit: cover; }
.no-image { width: 320px; height: 213px; background: #e8e8e8; display: flex; align-items: center; justify-content: center; color: #aaa; font-size: 0.85rem; letter-spacing: 0.05em; }
.course-info { padding: 16px; }
.course-name { font-size: 1.15rem; margin-bottom: 8px; }
.course-name a { color: #1a6b2e; font-weight: bold; }
.course-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.rating-score { font-size: 1.4rem; font-weight: bold; color: #e67e22; }
.rating-stars { color: #f39c12; font-size: 1rem; }
.course-meta { font-size: 0.85rem; color: #555; display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; margin-bottom: 12px; }
.course-meta dt { font-weight: bold; white-space: nowrap; }
.editorial-comment { font-size: 0.9rem; color: #444; background: #f9f9f9; padding: 8px 12px; border-radius: 4px; margin-bottom: 12px; font-style: italic; }
.course-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ===== ボタン ===== */
.btn { display: inline-block; padding: 8px 16px; border-radius: 4px; font-size: 0.875rem; font-weight: bold; transition: opacity .2s; }
.btn:hover { opacity: .85; text-decoration: none; }
.btn-reserve { background: #e74c3c; color: #fff; }
.btn-detail  { background: #1a6b2e; color: #fff; }
.btn-review  { background: #f39c12; color: #fff; }

/* ===== FAQ ===== */
.faq-section { margin-top: 40px; }
.faq-section h2 { font-size: 1.2rem; margin-bottom: 16px; }
.faq-list dt { background: #e8f5e9; padding: 10px 14px; border-left: 4px solid #1a6b2e; font-weight: bold; margin-top: 12px; }
.faq-list dt::before { content: "Q. "; color: #1a6b2e; }
.faq-list dd { padding: 10px 14px; background: #fff; border: 1px solid #e8f5e9; border-top: none; }
.faq-list dd::before { content: "A. "; color: #e74c3c; font-weight: bold; }

/* ===== エリアナビ ===== */
.area-nav, .area-search { margin-top: 24px; margin-bottom: 24px; }
.area-nav h2, .area-search h2 { font-size: 1.2rem; margin-bottom: 12px; }
.area-list { display: flex; flex-wrap: wrap; gap: 8px; }
.area-list li a { background: #fff; border: 1px solid #ccc; padding: 4px 10px; border-radius: 16px; font-size: 0.85rem; }
.area-list li a:hover { background: #1a6b2e; color: #fff; border-color: #1a6b2e; }

/* ===== サイドバー ===== */
.sidebar-widget { background: #fff; border-radius: 8px; padding: 16px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.sidebar-widget h3 { font-size: 1rem; color: #1a6b2e; margin-bottom: 10px; border-bottom: 2px solid #1a6b2e; padding-bottom: 4px; }
.sidebar-widget ul li { border-bottom: 1px solid #f0f0f0; }
.sidebar-widget ul li a { display: block; padding: 6px 0; font-size: 0.9rem; }

/* ===== トップページ ===== */
.site-description { font-size: 1rem; color: #555; margin-bottom: 24px; }
.category-list li a { display: flex; flex-direction: column; background: #fff; padding: 14px 16px; border-radius: 8px; margin-bottom: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.category-list li a strong { color: #1a6b2e; }
.category-list li a span { font-size: 0.85rem; color: #666; }
.top5-list { display: flex; flex-direction: column; gap: 12px; }
.top5-list li { display: flex; align-items: center; gap: 12px; background: #fff; padding: 12px; border-radius: 8px; }
.guide-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.guide-list li { display: flex; }
.guide-list li a { display: flex; flex-direction: column; background: #fff; padding: 14px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.06); width: 100%; }
.guide-list li a strong { color: #1a6b2e; }
.guide-list li a span { font-size: 0.85rem; color: #666; }

/* ===== フッター ===== */
.site-footer { background: #1a6b2e; color: #d4f5d4; padding: 24px 0; margin-top: 48px; font-size: 0.85rem; text-align: center; }
.footer-note { margin-bottom: 8px; }
