/*
Theme Name: Fukui Koumuten Theme
Theme URI: 
Author: 
Description: 福井家づくりパートナー用テーマ
Version: 1.0
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Hiragino Sans', 'Yu Gothic', sans-serif; }
.site { width: 100%; background: #fff; }

/* Header */
.header { background: #fff; border-bottom: 0.5px solid #e0e0e0; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 15px; font-weight: 500; color: #1a1a1a; }
.logo a { color: #1a1a1a; text-decoration: none; }
.nav { display: flex; gap: 24px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; padding: 0; }
.nav a { font-size: 13px; color: #666; text-decoration: none; }
.nav a:hover { color: #7a5230; }
.cta-btn { background: #7a5230; color: #fff; border: none; padding: 8px 16px; border-radius: 8px; font-size: 13px; cursor: pointer; text-decoration: none; display: inline-block; }
.cta-btn:hover { background: #6a4628; color: #fff; }

/* Hero */
.hero { background: #5a3a1a; color: #fff; padding: 60px 24px; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.15); border-radius: 20px; padding: 4px 14px; font-size: 12px; margin-bottom: 16px; }
.hero h1 { font-size: 28px; font-weight: 500; line-height: 1.4; margin-bottom: 12px; }
.hero p { font-size: 14px; opacity: 0.85; line-height: 1.7; margin-bottom: 24px; max-width: 480px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary { background: #7a5230; color: #fff; border: none; padding: 10px 20px; border-radius: 8px; font-size: 14px; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-primary:hover { background: #6a4628; color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.6); padding: 10px 20px; border-radius: 8px; font-size: 14px; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Sections */
.section { padding: 40px 24px; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 18px; font-weight: 500; margin-bottom: 8px; color: #1a1a1a; border-left: 4px solid #7a5230; padding-left: 12px; }
.section-sub { font-size: 13px; color: #666; margin-bottom: 24px; padding-left: 16px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.card { background: #fff; border: 0.5px solid #e0e0e0; border-radius: 12px; padding: 16px; }
.card-img { width: 100%; height: 80px; background: #f5f5f5; border-radius: 8px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; color: #aaa; font-size: 12px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.card h3 { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.card p { font-size: 12px; color: #666; line-height: 1.6; }
.card-tag { display: inline-block; background: #f5ede3; color: #7a5230; font-size: 11px; padding: 2px 8px; border-radius: 10px; margin-bottom: 8px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.feature { display: flex; gap: 12px; align-items: flex-start; }
.feature-icon { width: 36px; height: 36px; background: #f5ede3; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.feature h4 { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.feature p { font-size: 12px; color: #666; line-height: 1.6; }

/* Articles */
.section-gray { background: #f8f8f8; padding: 40px 24px; }
.section-gray .section-inner { max-width: 1200px; margin: 0 auto; }
.article-list { display: flex; flex-direction: column; gap: 12px; }
.article-item { background: #fff; border: 0.5px solid #e0e0e0; border-radius: 12px; padding: 16px; display: flex; gap: 12px; align-items: flex-start; }
.article-cat { display: inline-block; background: #f5ede3; color: #7a5230; font-size: 11px; padding: 2px 8px; border-radius: 10px; margin-bottom: 6px; }
.article-cat a { color: #7a5230; text-decoration: none; }
.article-item h4 { font-size: 14px; font-weight: 500; line-height: 1.5; }
.article-item h4 a { color: #1a1a1a; text-decoration: none; }
.article-item h4 a:hover { color: #7a5230; }
.article-item p { font-size: 12px; color: #666; margin-top: 4px; }

/* Footer */
.footer { background: #3a2510; color: rgba(255,255,255,0.8); padding: 32px 24px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.footer-logo { font-size: 15px; font-weight: 500; color: #fff; margin-bottom: 8px; }
.footer-desc { font-size: 12px; opacity: 0.7; line-height: 1.7; max-width: 240px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }
.footer-links li { list-style: none; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-contact { font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.8; }
.footer-contact-title { font-size: 13px; font-weight: 500; color: #fff; margin-bottom: 8px; }
.footer-bottom { border-top: 0.5px solid rgba(255,255,255,0.15); padding-top: 16px; font-size: 11px; opacity: 0.5; max-width: 1200px; margin: 0 auto; }

/* Single / Page */
.content-area { padding: 40px 24px; max-width: 800px; margin: 0 auto; }
.content-area h1 { font-size: 22px; font-weight: 500; margin-bottom: 16px; color: #1a1a1a; line-height: 1.5; }
.content-meta { font-size: 12px; color: #666; margin-bottom: 24px; }
.entry-content { font-size: 14px; line-height: 1.8; color: #333; }
.entry-content p { margin-bottom: 1em; }
.entry-content h2 { font-size: 18px; font-weight: 500; margin: 32px 0 12px; color: #1a1a1a; border-left: 4px solid #7a5230; padding-left: 12px; }
.entry-content h3 { font-size: 16px; font-weight: 500; margin: 24px 0 10px; color: #1a1a1a; }
.entry-content ul, .entry-content ol { margin: 0 0 1em 1.5em; }
.entry-content a { color: #7a5230; }
.entry-content img { max-width: 100%; height: auto; border-radius: 8px; }

/* Summary / Caution boxes */
.summary-box {
  border: 2px solid #2c7a3f;
  background: #f0f7f2;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 6px;
}
.summary-box::before {
  content: "📝 この記事のポイント";
  display: block;
  font-weight: bold;
  color: #2c7a3f;
  margin-bottom: 10px;
}
.caution-box {
  border: 2px solid #e67e00;
  background: #fff8f0;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 6px;
}
.caution-box::before {
  content: "⚠️ 注意";
  display: block;
  font-weight: bold;
  color: #e67e00;
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  .nav { display: none; }
  .hero h1 { font-size: 22px; }
  .hero-btns { flex-direction: column; }
  .footer-top { flex-direction: column; }
}

body {
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.nav a {
  font-weight: 500;
}

.section-title {
  font-weight: 600;
}

.card h3 {
  font-weight: 600;
}

.hero h1 {
  font-weight: 600;
}

body {
  -webkit-font-smoothing: antialiased;
}

.hero h1 {
  font-weight: 700;
}

.section-title {
  font-weight: 700;
}

.card h3 {
  font-weight: 700;
}

.nav a {
  font-weight: 500;
}

.feature h4 {
  font-weight: 700;
}

.article-item h4 {
  font-weight: 700;
}
