/*
Theme Name: 測定器買取センター
Theme URI: https://sokuteiki-kaitori-center.com
Author: Ekuipp株式会社
Description: 測定器買取センター コーポレートサイトテーマ(機械買取センター準拠・ブルー配色)
Version: 3.2
*/

:root {
  --blue: #1B4B91;
  --blue-dark: #123566;
  --blue-pale: #7FB3E8;
  --orange: #F2811D;
  --orange-dark: #D96F0F;
  --orange-light: #FDF0E4;
  --teal: #1B6A64;
  --ink: #222222;
  --text: #353535;
  --text-light: #6C757D;
  --bg: #FFFFFF;
  --bg-gray: #F5F5FC;
  --bg-gray2: #F3F4F5;
  --border: #E2E2E2;
  --yellow: #FFFF00;
  --white: #FFFFFF;
  --max-width: 1360px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { opacity: 0.8; }

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--gray { background: var(--bg-gray); }

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 12px;
  line-height: 1.4;
}

.section-desc {
  font-size: 15px;
  color: var(--text);
  max-width: 640px;
}

.section-header { margin-bottom: 40px; }

/* ===========================
   Top bar
=========================== */
.top-bar {
  background: var(--bg-gray2);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.top-bar__tagline {
  font-size: 11px;
  color: var(--text-light);
  display: block;
  margin-bottom: 2px;
}

.top-bar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar__mark {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
}

.top-bar__title {
  font-size: 19px;
  font-weight: 900;
  color: var(--ink);
}

.top-bar__title span { color: var(--blue); }

.top-bar__right {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.top-bar__links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.top-bar__links a {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.top-bar__links a::before {
  content: '\25B6';
  color: var(--blue);
  font-size: 9px;
  margin-right: 6px;
}

.top-bar__phone {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar__phone-num {
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.top-bar__hours {
  text-align: center;
  font-size: 10px;
}

.top-bar__hours-badge {
  display: block;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 2px;
}

/* ===========================
   Main nav
=========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-nav { flex: 1; }

.site-nav ul {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.site-nav > ul > li {
  display: flex;
  align-items: center;
}

.site-nav > ul > li:last-child {
  margin-left: auto;
}

.site-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}

.site-nav a span {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.site-nav a:hover { color: var(--blue); opacity: 1; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white) !important;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 700;
}

.header-cta:hover { background: var(--orange-dark); opacity: 1; }

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px 14px;
  background: none;
  border: none;
}

.menu-toggle__bars { display: flex; flex-direction: column; gap: 5px; }
.menu-toggle__bars span { display: block; width: 24px; height: 2px; background: var(--ink); }
.menu-toggle__label { font-size: 10px; font-weight: 700; color: var(--ink); letter-spacing: 0.05em; }

/* ===========================
   Hero
=========================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0B2545 0%, #123566 60%, #1B4B91 100%);
  background-size: cover;
  background-position: center;
  padding: 90px 0 64px;
  overflow: hidden;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9,30,58,0.94) 0%, rgba(15,42,80,0.88) 40%, rgba(27,75,145,0.55) 75%, rgba(27,75,145,0.25) 100%);
  z-index: 0;
}

.hero__inner { position: relative; z-index: 1; max-width: 680px; }

.hero__tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 20px;
}

.hero__title em { font-style: normal; color: #FFB236; }

.hero__desc {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.9;
  margin-bottom: 28px;
}

.hero__badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 16px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
}

.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn--primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); opacity: 1; }

.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn--outline:hover { background: rgba(255,255,255,0.1); opacity: 1; }

.btn--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--dark:hover { background: #000; opacity: 1; }

.btn--red-outline { background: var(--white); color: var(--orange); border-color: var(--orange); }
.btn--red-outline:hover { background: var(--orange-light); opacity: 1; }

/* ===========================
   Stats
=========================== */
.stats { background: var(--bg-gray); padding: 56px 0; text-align: center; }
.stats__title { font-size: 26px; font-weight: 900; color: var(--ink); margin-bottom: 8px; }
.stats__desc { font-size: 14px; color: var(--text-light); margin-bottom: 32px; }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.stats__item {}
.stats__num { font-size: clamp(28px, 4vw, 40px); font-weight: 900; color: var(--ink); }
.stats__label { font-size: 14px; color: var(--text-light); font-weight: 700; margin-top: 4px; }

.stats__note-title { font-size: 20px; font-weight: 900; color: var(--ink); margin-bottom: 8px; }
.stats__note-desc { font-size: 14px; color: var(--text-light); }

/* ===========================
   Worries -> Solution (side-by-side comparison)
=========================== */
.ws-section { padding: 72px 0; }

.ws-header { text-align: center; max-width: 900px; margin: 0 auto 48px; }
.ws-header .section-label { justify-content: center; }
.ws-header .section-title { color: var(--ink); }

.ws-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.ws-col {
  border-radius: 8px;
  padding: 32px 28px;
}

.ws-col--problem { background: var(--bg-gray2); border: 1px solid var(--border); }
.ws-col--solution { background: var(--blue); color: var(--white); }

.ws-col__title { font-size: 18px; font-weight: 900; margin-bottom: 20px; }
.ws-col--problem .ws-col__title { color: var(--text-light); }
.ws-col--solution .ws-col__title { color: var(--white); }

.ws-col ul { display: flex; flex-direction: column; gap: 14px; }

.ws-col li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 700; line-height: 1.6; }

.ws-col--problem li::before { content: '\2715'; color: var(--text-light); font-weight: 900; flex-shrink: 0; }
.ws-col--solution li::before { content: '\2713'; color: var(--orange); font-weight: 900; flex-shrink: 0; }

.ws-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--blue);
  font-weight: 900;
}

.area-note { margin-top: 40px; font-size: 13px; color: var(--text-light); line-height: 2; text-align: center; }
.area-note li { margin-bottom: 4px; }

/* ===========================
   Difference cards
=========================== */
.diff-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px;
  margin-bottom: 24px;
}

.diff-card__title { font-size: 19px; font-weight: 900; color: var(--ink); margin-bottom: 12px; }
.diff-card__title span { color: var(--blue); }
.diff-card__desc { font-size: 14px; color: var(--text); margin-bottom: 20px; }

.diff-card__box {
  background: var(--bg-gray);
  border-radius: 6px;
  padding: 20px 24px;
}

.diff-card__box-title { color: var(--blue); font-weight: 900; font-size: 14px; margin-bottom: 10px; }
.diff-card__box ul { display: flex; flex-direction: column; gap: 8px; }
.diff-card__box li { font-size: 14px; padding-left: 18px; position: relative; }
.diff-card__box li::before { content: '\30FB'; position: absolute; left: 0; color: var(--blue); }

/* ===========================
   Category cards
=========================== */
.categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}

a.category-card:hover {
  opacity: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.category-card__photo {
  height: 120px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-gray);
  border-bottom: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.category-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card__photo--blog { height: 200px; }

.category-card__body { padding: 16px; flex: 1; }

.category-card__title { font-size: 15px; font-weight: 900; color: var(--ink); margin-bottom: 2px; }
.category-card__en { font-size: 11px; color: var(--text-light); display: block; margin-bottom: 12px; }

.category-card__link {
  display: block;
  text-align: center;
  background: var(--orange);
  color: var(--white) !important;
  font-size: 13px;
  font-weight: 700;
  padding: 10px;
}

.category-card__link:hover { background: var(--orange-dark); opacity: 1; }

/* ===========================
   Maker chips
=========================== */
.maker-group { margin-bottom: 32px; }
.maker-group__title { font-size: 18px; font-weight: 900; color: var(--ink); margin-bottom: 4px; }
.maker-group__title span { font-size: 13px; color: var(--text-light); font-weight: 500; margin-left: 8px; }

.maker-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--bg-gray);
  padding: 24px;
  border-radius: 6px;
}

.maker-chip {
  background: var(--white);
  border: 1px solid var(--blue);
  color: var(--ink);
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
}

/* ===========================
   FAQ accordion (static)
=========================== */
.faq-list { display: flex; flex-direction: column; gap: 16px; max-width: 900px; margin: 0 auto; }

.faq-item { border: 1px solid var(--border); }

.faq-q, .faq-a { display: flex; align-items: flex-start; gap: 16px; padding: 20px 24px; }

.faq-q { background: var(--bg-gray); }
.faq-a { background: var(--white); border-top: 1px solid var(--border); }

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--white);
  font-weight: 900;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-q .faq-icon { background: var(--blue); }
.faq-a .faq-icon { background: var(--ink); }

.faq-q p { font-weight: 700; font-size: 16px; color: var(--ink); padding-top: 4px; }
.faq-a p { font-size: 14px; color: var(--text); padding-top: 4px; }

/* ===========================
   Flow steps (vertical timeline)
=========================== */
.flow-timeline { position: relative; max-width: 820px; margin: 0 auto; }

.flow-timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: var(--border);
  z-index: 0;
}

.flow-item { position: relative; display: flex; align-items: flex-start; gap: 24px; padding-bottom: 32px; }
.flow-item:last-child { padding-bottom: 0; }

.flow-item__marker {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue);
}

.flow-item:first-child .flow-item__marker { background: var(--orange); box-shadow: 0 0 0 2px var(--orange); }

.flow-item__content {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
}

.flow-item__title { font-size: 17px; font-weight: 900; color: var(--ink); margin-bottom: 6px; }
.flow-item__desc { font-size: 14px; color: var(--text); }

.flow-item__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.flow-item__actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  font-weight: 700;
  font-size: 15px;
  color: var(--white) !important;
  border-radius: 4px;
}

.flow-item__actions a.is-line { background: var(--teal); }
.flow-item__actions a.is-mail { background: var(--orange); }
.flow-item__actions a.is-tel, .flow-item__actions a.is-fax { background: var(--ink); }

@media (max-width: 480px) {
  .flow-item__actions { grid-template-columns: 1fr; }
}

/* ===========================
   CTA Banner
=========================== */
.cta-banner { padding: 64px 0; }
.cta-banner__box { border: 1px solid var(--border); }
.cta-banner__head { background: var(--blue); color: var(--white); text-align: center; padding: 20px; font-size: clamp(18px, 5vw, 22px); font-weight: 900; }

.cta-banner__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 32px;
}

.cta-banner__phone {
  font-size: clamp(19px, 6.5vw, 32px);
  font-weight: 900;
  color: var(--ink);
  white-space: nowrap;
}

.cta-banner__phone-note { background: var(--yellow); color: var(--blue-dark); font-weight: 700; font-size: 13px; padding: 2px 8px; display: inline-block; margin-bottom: 6px; }

.cta-banner__hours-badge { background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700; padding: 6px 12px; display: inline-block; margin-bottom: 4px; }
.cta-banner__hours-text { font-size: 14px; color: var(--text); }

.cta-banner__actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.cta-banner__actions a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 18px 12px;
  font-weight: 700;
  font-size: 15px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.cta-banner__actions-icon {
  font-size: 24px;
  line-height: 1;
}

.cta-banner__actions a.is-mail { color: var(--orange); border-color: var(--orange); }
.cta-banner__actions a.is-fax { color: var(--orange); border-color: var(--orange); }
.cta-banner__actions a.is-line { background: var(--teal); color: var(--white) !important; border-color: var(--teal); }

/* ===========================
   Floating widget
=========================== */
.floating-widget {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0;
}

.floating-widget__pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white) !important;
  white-space: nowrap;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
}

.floating-widget__pill.is-line { background: var(--teal); }
.floating-widget__pill.is-mail { background: var(--orange); }

.floating-widget__top {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 3px solid var(--white);
  margin: 0 12px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* ===========================
   Footer
=========================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 56px 0 28px; }

.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo__mark { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: white; font-size: 14px; }
.footer-logo__text { font-size: 16px; font-weight: 900; color: var(--white); }

.footer-company-desc { font-size: 13px; line-height: 1.8; margin-bottom: 16px; }
.footer-permit { font-size: 11px; color: rgba(255,255,255,0.4); }

.footer-nav__title { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--blue-pale); text-transform: uppercase; margin-bottom: 16px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,0.7); }
.footer-nav a:hover { color: var(--white); opacity: 1; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copyright { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.4); }

/* ===========================
   Generic page
=========================== */
.page-hero { background: var(--bg-gray); border-bottom: 1px solid var(--border); padding: 48px 0; }
.page-hero__title { font-size: clamp(24px, 3.6vw, 36px); font-weight: 900; color: var(--blue); }

.entry-content h2 { font-size: 24px; font-weight: 900; color: var(--ink); margin: 40px 0 16px; }
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 { font-size: 18px; font-weight: 900; color: var(--blue); margin: 32px 0 12px; }
.entry-content p { margin-bottom: 16px; }
.entry-content ul, .entry-content ol { margin: 0 0 20px 20px; list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 8px; }

.entry-content .wp-block-table { margin-bottom: 24px; overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content table tr { border-bottom: 1px solid var(--border); }
.entry-content table td { padding: 16px 20px; font-size: 15px; vertical-align: top; }
.entry-content table td:first-child { width: 200px; font-weight: 700; color: var(--ink); background: var(--bg-gray); }

.entry-content .wp-block-button__link {
  display: inline-flex;
  background: var(--orange);
  color: var(--white) !important;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.entry-content .wp-block-buttons { margin: 24px 0; display: flex; gap: 16px; }

.notice-box {
  background: var(--orange-light);
  border-left: 4px solid var(--orange);
  padding: 24px 28px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.notice-box__title { color: var(--orange-dark); font-weight: 900; font-size: 15px; margin-bottom: 12px; }
.notice-box p { font-size: 14px; color: var(--text); margin-bottom: 0; }
.notice-box .btn { margin-top: 16px; }

/* Contact Form 7 */
.wpcf7-form { max-width: 720px; }
.wpcf7-form .form-row { margin-bottom: 20px; }
.wpcf7-form label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"], .wpcf7-form select, .wpcf7-form textarea {
  width: 100%; max-width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 15px; font-family: inherit; color: var(--text); background: var(--white);
}
.wpcf7-form textarea { height: 160px; resize: vertical; }
.wpcf7-form input[type="submit"] { background: var(--orange); color: var(--white); border: none; padding: 14px 40px; font-size: 15px; font-weight: 700; border-radius: var(--radius); cursor: pointer; font-family: inherit; }
.wpcf7-form input[type="submit"]:hover { background: var(--orange-dark); }

/* ===========================
   Blog list
=========================== */
.post-list__item { display: flex; gap: 24px; border-bottom: 1px solid var(--border); padding: 24px 0; }

.post-list__thumb {
  flex-shrink: 0;
  width: 180px;
  height: 120px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-list__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-list__thumb-fallback { font-size: 36px; }
.post-list__body { flex: 1; min-width: 0; }
.post-list__title { font-size: 18px; font-weight: 900; color: var(--ink); margin-bottom: 8px; }
.post-list__date { font-size: 13px; color: var(--blue); margin-bottom: 8px; }
.post-list__excerpt { font-size: 14px; color: var(--text); overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.post-list__excerpt p { margin: 0; }

.single-eyecatch { margin-bottom: 32px; border-radius: 8px; overflow: hidden; }
.single-eyecatch img { width: 100%; height: auto; }

.entry-content .wp-block-image { margin: 32px 0; }
.entry-content .wp-block-image img { border-radius: 8px; width: 100%; height: auto; }
.entry-content .wp-block-image a { display: block; }

/* ===========================
   Blog: hero / tabs / meta
=========================== */
.page-hero--blog { padding: 40px 0 32px; border-bottom: 0; }
.page-hero__eyebrow { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.page-hero__eyebrow a { color: var(--blue); }
.page-hero__desc { margin-top: 12px; max-width: 820px; font-size: 15px; line-height: 1.8; color: var(--text); }

.blog-tabs { background: var(--bg-gray); border-bottom: 1px solid var(--border); }
.blog-tabs__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.blog-tabs__list::-webkit-scrollbar { display: none; }
.blog-tabs__link { display: flex; align-items: center; gap: 6px; white-space: nowrap; padding: 14px 16px 12px; font-size: 14px; font-weight: 700; color: var(--text-light); border-bottom: 3px solid transparent; }
.blog-tabs__link:hover { color: var(--blue); }
.blog-tabs__link.is-current { color: var(--blue); border-bottom-color: var(--orange); background: var(--white); }
.blog-tabs__count { font-size: 12px; font-weight: 500; color: var(--text-light); }

.post-list__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 8px; }
.post-list__meta .post-list__date { margin-bottom: 0; }
.post-list__cat { display: inline-block; font-size: 12px; font-weight: 700; line-height: 1.6; padding: 1px 8px; color: var(--blue); border: 1px solid var(--blue); border-radius: var(--radius); }
.post-list__cat:hover { background: var(--blue); color: var(--white); }

/* ===========================
   Machine pages
=========================== */
.section.section--tight { padding-top: 0; }
.machine-content { max-width: 960px; }
.machine-content table { margin-bottom: 16px; }
.machine-content th { padding: 12px 20px; font-size: 14px; text-align: left; color: var(--white); background: var(--blue); }
.machine-content table td:first-child { width: auto; }
.machine-article { display: flex; gap: 20px; align-items: center; max-width: 960px; margin-top: 24px; padding: 16px; background: var(--white); border: 1px solid var(--border); border-radius: 8px; color: var(--ink); }
.machine-article:hover { border-color: var(--blue); opacity: 1; }
.machine-article__thumb { flex-shrink: 0; width: 200px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: var(--bg-gray); }
.machine-article__thumb img { width: 100%; height: 100%; object-fit: cover; }
.machine-article__body { display: flex; flex-direction: column; gap: 8px; }
.machine-article__title { font-size: 17px; font-weight: 900; line-height: 1.6; }
.machine-article__more { font-size: 14px; font-weight: 700; color: var(--blue); }

.machine-cta { margin: 40px 0 8px; padding: 24px 28px; background: var(--orange-light); border-left: 4px solid var(--orange); border-radius: 6px; }
.machine-cta__label { font-size: 18px; font-weight: 900; color: var(--ink); margin-bottom: 8px; }
.entry-content .machine-cta__text { font-size: 15px; margin-bottom: 16px; }
@media (max-width: 600px) {
  .machine-article { flex-direction: column; align-items: stretch; }
  .machine-article__thumb { width: 100%; }
  .machine-cta { padding: 20px; }
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 900px) {
  .site-nav a { padding: 12px 12px; font-size: 13px; }
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar__links { display: none; }
  .section { padding: 48px 0; }

  .site-nav { display: none; }
  .site-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--border); padding: 16px 24px; z-index: 50; }
  .site-nav.is-open ul { flex-direction: column; }
  .site-nav.is-open a { flex-direction: row; justify-content: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .header-cta { margin-top: 12px; justify-content: center; padding: 14px; }
  .top-bar__inner { padding: 0 12px; }
  .menu-toggle { display: flex; padding: 8px 0 8px 10px; }
  .top-bar__right { width: 100%; justify-content: space-between; gap: 10px; }
  .top-bar__phone { gap: 8px; }
  .top-bar__phone-num { font-size: 19px; }
  .header-inner { padding: 0 16px; min-height: 0; }
  .site-header { border-bottom: none; }
  .site-nav.is-open { border-top: 1px solid var(--border); }

  .hero { padding: 56px 0 48px; }
  .hero__badges { flex-direction: column; }

  .stats__grid { grid-template-columns: 1fr; gap: 20px; }
  .categories__grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }

  .ws-grid { grid-template-columns: 1fr; }
  .ws-arrow { transform: rotate(90deg); padding: 8px 0; }
  .ws-col { padding: 24px 20px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .flow-timeline::before { left: 19px; }
  .flow-item { gap: 16px; }
  .flow-item__marker { width: 40px; height: 40px; font-size: 16px; }
  .flow-item__content { padding: 16px 18px; }

  .cta-banner { padding: 40px 0 100px; }
  .cta-banner__head { padding: 16px; }
  .cta-banner__body { flex-direction: column; align-items: flex-start; padding: 16px; }
  .cta-banner__phone { white-space: nowrap; }
  .cta-banner__actions { grid-template-columns: 1fr; gap: 10px; }
  .cta-banner__actions a { padding: 14px 12px; }

  .entry-content table td:first-child { width: 120px; padding: 12px; }
  .entry-content table td { padding: 12px; }

  .floating-widget__pill { padding: 12px 10px; font-size: 12px; }
  .floating-widget__top { width: 40px; height: 40px; margin: 0 6px; font-size: 15px; }

  .post-list__item { flex-direction: column; gap: 12px; }
  .post-list__thumb { width: 100%; height: 200px; }
  .post-list__excerpt { -webkit-line-clamp: 2; }
}
