/*
Theme Name: Mikami Masaya Campaign
Theme URI: https://mikamimasaya.jp
Author: 三上まさや後援会
Description: 三上まさや 公式サイト用カスタムテーマ
Version: 1.0
License: Private
Text Domain: mikamimasaya
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700;900&family=Noto+Sans+JP:wght@400;500;700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Noto Sans JP', sans-serif; color: #1a1a1a; background: #fff; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; }

/* NAV */
.site-nav { background: #C9A227; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; height: 56px; position: sticky; top: 0; z-index: 100; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-party { background: #0A2E6E; color: #C9A227; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 2px; letter-spacing: .05em; }
.nav-name { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: .08em; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { color: rgba(255,255,255,.9); font-size: 12px; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-cta { background: #0A2E6E; color: #C9A227; font-size: 12px; font-weight: 700; padding: 7px 16px; border-radius: 3px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 1px; }
.mobile-menu { display: none; background: #0A2E6E; padding: 16px 24px; flex-direction: column; gap: 14px; }
.mobile-menu a { color: #C9A227; font-size: 14px; font-weight: 500; padding: 6px 0; border-bottom: 0.5px solid rgba(201,162,39,.2); }
.mobile-menu.open { display: flex; }

/* HERO */
.hero { background: #C9A227; }
.hero-inner { display: flex; align-items: stretch; min-height: 300px; }
.hero-left { flex: 1; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.hero-eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.hero-eyebrow-line { height: 2px; width: 26px; background: #0A2E6E; }
.hero-eyebrow-text { color: #0A2E6E; font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.hero-title-area { margin-bottom: 16px; }
.hero-title-area img { max-height: 120px; width: auto; }
.hero-catch { font-family: 'Noto Serif JP', serif; color: #0A2E6E; font-size: 30px; font-weight: 900; line-height: 1.35; margin-bottom: 6px; }
.hero-sub { color: rgba(10,46,110,.72); font-size: 13px; line-height: 1.95; margin-bottom: 24px; border-left: 3px solid #0A2E6E; padding-left: 14px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-blue { background: #0A2E6E; color: #C9A227; font-size: 13px; font-weight: 700; padding: 11px 22px; border-radius: 3px; border: none; cursor: pointer; display: inline-block; }
.btn-blue:hover { background: #0c3a8a; color: #C9A227; }
.btn-wh { background: #fff; color: #0A2E6E; font-size: 13px; font-weight: 600; padding: 11px 22px; border-radius: 3px; border: none; cursor: pointer; display: inline-block; }
.btn-wh:hover { background: #f5f5f5; }
.hero-right { width: 210px; background: rgba(10,46,110,.08); border-left: 1.5px solid rgba(10,46,110,.15); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 28px 18px; flex-shrink: 0; }
.hero-photo { width: 138px; height: 166px; background: rgba(255,255,255,.22); border: 2px solid rgba(10,46,110,.25); border-radius: 4px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-name-block { text-align: center; }
.hero-name { color: #0A2E6E; font-size: 17px; font-weight: 700; font-family: 'Noto Serif JP', serif; letter-spacing: .1em; }
.hero-role { color: rgba(10,46,110,.6); font-size: 10px; margin-top: 5px; line-height: 1.7; }

/* STRIP */
.strip { background: #fff; border-top: 3px solid #C9A227; border-bottom: 3px solid #C9A227; display: flex; flex-wrap: wrap; }
.strip-label { background: #C9A227; color: #fff; font-size: 11px; font-weight: 700; padding: 12px 20px; white-space: nowrap; letter-spacing: .1em; display: flex; align-items: center; }
.strip-items { display: flex; flex: 1; flex-wrap: wrap; }
.strip-item { flex: 1; min-width: 120px; text-align: center; padding: 12px 6px; border-right: 0.5px solid #e0e0e0; font-size: 12px; font-weight: 700; color: #0A2E6E; }
.strip-item:last-child { border-right: none; }

/* SECTION */
.sec { padding: 40px; }
.sec-alt { background: #f7f5f0; }
.sec-tag { font-size: 10px; font-weight: 700; color: #C9A227; letter-spacing: .22em; margin-bottom: 6px; }
.sec-title { font-family: 'Noto Serif JP', serif; font-size: 22px; font-weight: 700; color: #0A2E6E; margin-bottom: 4px; }
.sec-line { width: 36px; height: 3px; background: #C9A227; margin: 8px 0 18px; }
.sec-lead { font-size: 13px; color: #555; line-height: 1.95; }

/* STORY */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.story-card { background: #fff; border: 0.5px solid #e0e0e0; border-radius: 10px; padding: 20px 18px; position: relative; overflow: hidden; }
.story-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: #C9A227; }
.story-card.blue::before { background: #0A2E6E; }
.story-num { font-size: 32px; font-weight: 900; color: rgba(201,162,39,.1); position: absolute; top: 6px; right: 10px; font-family: 'Noto Serif JP', serif; line-height: 1; }
.story-icon { font-size: 20px; margin-bottom: 8px; }
.story-tag { display: inline-block; background: #EEF3FB; color: #0A2E6E; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 2px; margin-bottom: 8px; }
.story-h { font-size: 13px; font-weight: 700; color: #0A2E6E; margin-bottom: 6px; line-height: 1.5; }
.story-p { font-size: 11px; color: #555; line-height: 1.85; }

/* POLICY */
.policy-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.policy-item { background: #fff; border: 0.5px solid #e0e0e0; border-radius: 10px; padding: 18px 20px; display: flex; gap: 16px; }
.policy-num { font-size: 28px; font-weight: 900; color: #C9A227; font-family: 'Noto Serif JP', serif; line-height: 1; flex-shrink: 0; width: 32px; }
.policy-cat { font-size: 10px; font-weight: 700; color: #fff; background: #0A2E6E; padding: 2px 8px; border-radius: 2px; display: inline-block; margin-bottom: 6px; letter-spacing: .05em; }
.policy-h { font-size: 13px; font-weight: 700; color: #0A2E6E; margin-bottom: 6px; }
.policy-p { font-size: 12px; color: #555; line-height: 1.8; }
.policy-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.policy-tag { font-size: 10px; border: 0.5px solid #C9A227; border-radius: 2px; padding: 2px 8px; color: #8a6c10; }

/* CONTACT FORM */
.form-sec { background: #fff; padding: 40px; }
.form-desc { font-size: 13px; color: #555; line-height: 1.85; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 12px; font-weight: 700; color: #0A2E6E; display: flex; align-items: center; gap: 5px; }
.form-req { font-size: 9px; background: #C9A227; color: #fff; padding: 1px 5px; border-radius: 2px; font-weight: 700; }
.form-opt { font-size: 9px; background: #f0f0f0; color: #777; padding: 1px 5px; border-radius: 2px; }
.form-input, .form-select, .wpcf7-form-control { border: 0.5px solid #ccc; border-radius: 6px; padding: 9px 12px; font-size: 13px; font-family: 'Noto Sans JP', sans-serif; background: #f8f8f8; color: #1a1a1a; width: 100%; }
.form-textarea, .wpcf7-textarea { border: 0.5px solid #ccc; border-radius: 6px; padding: 9px 12px; font-size: 13px; font-family: 'Noto Sans JP', sans-serif; background: #f8f8f8; color: #1a1a1a; width: 100%; height: 110px; resize: vertical; }
.form-check-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.form-check { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #1a1a1a; cursor: pointer; }
.form-check input { accent-color: #C9A227; }
.form-privacy { background: #fffbf0; border: 0.5px solid #e8d48a; border-radius: 4px; padding: 10px 14px; font-size: 11px; color: #555; line-height: 1.7; margin: 14px 0; }
.form-privacy a { color: #0A2E6E; }
.form-submit, .wpcf7-submit { background: #C9A227; color: #fff; font-size: 15px; font-weight: 700; padding: 14px 48px; border-radius: 3px; border: none; cursor: pointer; letter-spacing: .08em; display: block; margin: 0 auto; }
.form-note { text-align: center; font-size: 11px; color: #888; margin-top: 10px; }

/* NEWS */
.news-sec { background: #f7f5f0; padding: 28px 40px; }
.news-list { display: flex; flex-direction: column; }
.news-row { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 0.5px solid #ddd; flex-wrap: wrap; }
.news-row:first-child { border-top: 0.5px solid #ddd; }
.news-date { font-size: 11px; color: #C9A227; font-weight: 700; flex-shrink: 0; width: 80px; }
.news-cat { font-size: 10px; font-weight: 700; color: #0A2E6E; background: #EEF3FB; padding: 1px 7px; border-radius: 2px; flex-shrink: 0; }
.news-title { font-size: 12px; color: #1a1a1a; line-height: 1.5; }
.news-title a { color: #1a1a1a; }
.news-title a:hover { color: #0A2E6E; }
.news-more { margin-top: 12px; text-align: right; }
.news-more a { font-size: 12px; color: #0A2E6E; font-weight: 700; border-bottom: 1.5px solid #C9A227; padding-bottom: 1px; }

/* SNS */
.sns-bar { background: #f7f5f0; border-top: 0.5px solid #e0e0e0; padding: 16px 40px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sns-label { font-size: 12px; color: #777; white-space: nowrap; }
.sns-items { display: flex; gap: 8px; flex-wrap: wrap; }
.sns-btn { background: #fff; border: 0.5px solid #ccc; color: #1a1a1a; font-size: 12px; font-weight: 500; padding: 6px 14px; border-radius: 3px; cursor: pointer; display: inline-block; }
.sns-btn:hover { background: #f5f5f5; color: #1a1a1a; }

/* CTA */
.cta { background: #fff; border-top: 4px solid #C9A227; padding: 36px 40px; text-align: center; }
.cta-title { font-family: 'Noto Serif JP', serif; font-size: 22px; font-weight: 700; color: #0A2E6E; margin-bottom: 10px; }
.cta-sub { font-size: 13px; color: #555; margin-bottom: 22px; line-height: 1.8; }
.cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-cta-gold { background: #C9A227; color: #fff; font-size: 14px; font-weight: 700; padding: 13px 30px; border-radius: 3px; border: none; cursor: pointer; display: inline-block; }
.btn-cta-gold:hover { background: #b8911f; color: #fff; }
.btn-cta-outline { background: transparent; color: #0A2E6E; font-size: 14px; font-weight: 700; padding: 13px 30px; border-radius: 3px; border: 2px solid #0A2E6E; cursor: pointer; display: inline-block; }
.btn-cta-outline:hover { background: #0A2E6E; color: #fff; }

/* FOOTER */
.site-footer { background: #F5F0E8; border-top: 3px solid #C9A227; padding: 22px 40px; display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-l { color: #0A2E6E; font-size: 12px; font-weight: 700; }
.footer-l span { display: block; color: #777; font-size: 10px; margin-top: 3px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: #777; font-size: 10px; }
.footer-links a:hover { color: #0A2E6E; }
.footer-party { background: #0A2E6E; color: #C9A227; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 2px; letter-spacing: .05em; }

/* RESPONSIVE — Smartphone */
@media(max-width:600px) {
  .site-nav { padding: 0 16px; height: 52px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero-inner { flex-direction: column; }
  .hero-right { width: 100%; border-left: none; border-top: 1.5px solid rgba(10,46,110,.15); flex-direction: row; justify-content: center; padding: 18px 16px; gap: 18px; }
  .hero-left { padding: 28px 20px 20px; }
  .hero-catch { font-size: 22px; }
  .hero-sub { font-size: 12px; }
  .hero-btns { flex-direction: column; gap: 8px; }
  .btn-blue, .btn-wh { width: 100%; text-align: center; padding: 13px; }
  .strip { flex-direction: column; }
  .strip-label { justify-content: center; }
  .strip-items { flex-wrap: wrap; }
  .strip-item { min-width: 50%; border-right: none; border-bottom: 0.5px solid #e0e0e0; font-size: 11px; padding: 9px 4px; }
  .strip-item:nth-child(odd) { border-right: 0.5px solid #e0e0e0; }
  .sec { padding: 28px 20px; }
  .sec-title { font-size: 19px; }
  .story-grid { grid-template-columns: 1fr; }
  .policy-item { flex-direction: column; gap: 6px; }
  .policy-num { font-size: 22px; width: auto; }
  .form-sec { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .news-sec { padding: 20px; }
  .sns-bar { padding: 12px 20px; }
  .cta { padding: 28px 20px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .btn-cta-gold, .btn-cta-outline { width: 100%; max-width: 300px; text-align: center; }
  .site-footer { padding: 18px 20px; flex-direction: column; gap: 12px; }
  .footer-links { flex-direction: column; gap: 8px; }
}

/* RESPONSIVE — Tablet */
@media(min-width:601px) and (max-width:768px) {
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 11px; }
  .hero-catch { font-size: 24px; }
  .hero-right { width: 170px; }
  .story-grid { grid-template-columns: 1fr; }
  .sec { padding: 32px 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
}
