/* ════════════════════════════════════════
   らくらく送るくん — メインスタイル
════════════════════════════════════════ */
:root {
  --bg: #f5f3ee;
  --white: #ffffff;
  --blue: #2563eb;
  --blue-light: #dbeafe;
  --blue-dark: #1d4ed8;
  --green: #16a34a;
  --green-light: #dcfce7;
  --red: #dc2626;
  --red-light: #fee2e2;
  --text: #1a1a1a;
  --text-mid: #555;
  --text-light: #888;
  --border: #d4d0c8;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 4px 24px rgba(0,0,0,.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Noto Sans JP', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-weight: 400; line-height: 1.7; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--blue);
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px; height: 68px;
  display: flex; align-items: center; gap: 24px;
}
.site-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}
.logo-icon {
  width: 40px; height: 40px;
  background: var(--blue); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-icon-sm { width: 30px; height: 30px; border-radius: 8px; }
.logo-text { font-size: 20px; font-weight: 700; color: var(--text); }
.site-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 4px; }
.nav-list li a {
  display: block; padding: 8px 16px;
  font-size: 15px; font-weight: 500; color: var(--text-mid);
  border-radius: 8px; transition: all .15s; text-decoration: none;
}
.nav-list li a:hover { background: var(--blue-light); color: var(--blue); }
.nav-list li.current-menu-item a { color: var(--blue); font-weight: 700; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .2s; }

/* ─── MAIN ─── */
.site-content { min-height: calc(100vh - 68px - 200px); }
.main-content { }
.page-article { max-width: 820px; margin: 0 auto; padding: 40px 24px 80px; }
.page-header { margin-bottom: 32px; padding-bottom: 20px; border-bottom: 2px solid var(--border); }
.page-title { font-size: 28px; font-weight: 700; }
.page-body { font-size: 16px; line-height: 1.9; color: var(--text-mid); }
.page-body h2 { font-size: 22px; font-weight: 700; color: var(--text); margin: 32px 0 12px; padding-left: 12px; border-left: 4px solid var(--blue); }
.page-body h3 { font-size: 18px; font-weight: 700; color: var(--text); margin: 24px 0 8px; }
.page-body p { margin-bottom: 16px; }

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
  padding: 80px 24px;
  text-align: center;
  color: #fff;
}
.hero-inner { max-width: 700px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff; font-size: 13px; font-weight: 700;
  padding: 6px 18px; border-radius: 100px;
  margin-bottom: 20px; letter-spacing: .06em;
}
.hero-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700; line-height: 1.3;
  margin-bottom: 16px; color: #fff;
}
.hero-sub {
  font-size: 16px; color: rgba(255,255,255,.85);
  line-height: 1.8; margin-bottom: 36px;
}
.hero-btn {
  display: inline-block;
  font-size: 20px; font-weight: 700;
  padding: 18px 48px;
  background: #fff; color: var(--blue);
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: all .2s; text-decoration: none;
  margin-bottom: 40px;
}
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(0,0,0,.25); color: var(--blue-dark); text-decoration: none; }
.hero-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
}
.hero-step {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15);
  border-radius: 100px; padding: 8px 18px;
  font-size: 15px; color: #fff; font-weight: 500;
}
.hero-step-num {
  width: 26px; height: 26px;
  background: #fff; color: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.hero-step-arrow { font-size: 20px; color: rgba(255,255,255,.6); }

/* ─── FEATURES ─── */
.features { padding: 80px 24px; background: var(--white); }
.features-inner { max-width: 1000px; margin: 0 auto; }
.section-title {
  font-size: 26px; font-weight: 700; text-align: center;
  margin-bottom: 40px; color: var(--text);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 40px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.feature-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ─── HOW TO ─── */
.howto { padding: 80px 24px; background: var(--bg); }
.howto-inner { max-width: 900px; margin: 0 auto; }
.howto-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-bottom: 48px; flex-wrap: wrap;
}
.howto-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  flex: 1; min-width: 220px;
  box-shadow: var(--shadow);
  position: relative;
}
.howto-num {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px;
  background: var(--blue); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
}
.howto-icon { font-size: 44px; margin-bottom: 14px; display: block; }
.howto-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.howto-step p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.howto-arrow { font-size: 28px; color: var(--border); flex-shrink: 0; }
.howto-cta { text-align: center; }
.howto-cta .hero-btn {
  background: var(--blue); color: #fff;
  box-shadow: 0 4px 16px rgba(37,99,235,.35);
  margin-bottom: 0;
}
.howto-cta .hero-btn:hover { background: var(--blue-dark); color: #fff; }

/* ─── FOOTER ─── */
.site-footer { background: #1a1a1a; color: #ccc; padding: 48px 24px 24px; margin-top: auto; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: flex; gap: 48px; margin-bottom: 32px; flex-wrap: wrap; }
.footer-brand { flex: 1; min-width: 200px; }
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; color: #fff;
  margin-bottom: 12px;
}
.footer-desc { font-size: 13px; color: #888; line-height: 1.7; }
.footer-nav .nav-list { flex-direction: column; gap: 0; }
.footer-nav .nav-list li a { color: #888; font-size: 14px; padding: 6px 0; border-radius: 0; }
.footer-nav .nav-list li a:hover { color: #fff; background: none; text-decoration: underline; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid #333; padding-top: 20px;
  font-size: 12px; color: #666; flex-wrap: wrap; gap: 8px;
}
.footer-note { color: #555; }

/* ─── お問い合わせページ ─── */
.wpcf7-form { max-width: 600px; }
.wpcf7-form p { margin-bottom: 20px; }
.wpcf7-form label { display: block; font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%; font-family: var(--font); font-size: 16px;
  padding: 12px 16px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); outline: none;
  color: var(--text); background: var(--white);
  transition: border-color .15s;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus { border-color: var(--blue); }
.wpcf7-form textarea { min-height: 160px; resize: vertical; }
.wpcf7-form input[type="submit"] {
  font-family: var(--font); font-size: 17px; font-weight: 700;
  padding: 16px 40px; background: var(--blue); color: #fff;
  border: none; border-radius: 50px; cursor: pointer;
  box-shadow: 0 4px 16px rgba(37,99,235,.35); transition: all .15s;
}
.wpcf7-form input[type="submit"]:hover { background: var(--blue-dark); }

/* ─── レスポンシブ ─── */
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .howto-steps { flex-direction: column; }
  .howto-arrow { transform: rotate(90deg); }
  .footer-top { flex-direction: column; gap: 24px; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 12px; box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; }
  .hero { padding: 56px 20px; }
  .features, .howto { padding: 56px 20px; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-btn { font-size: 17px; padding: 16px 36px; }
}
