/* ============================================================
   Bye Bee — TOP (front-page) 専用スタイル
   ※ front-page.php でのみ読み込む想定（is_front_page）
   ラッパー: .bb-top
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif;
  background: #fff;
  color: #333;
}

.bb-top {
  background: #fff;
  position: relative;
  overflow-x: hidden;
  font-size: 16px;
}

.alert-bar {
  background: #e05c5c;
  color: #fff;
  padding: 9px 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
header.site-header {
  background: #2c4a6e;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
header .logo { height: 52px; width: auto; flex-shrink: 0; }
@media (min-width: 1024px) { header .logo { height: 68px; } }
header .brand { flex: 1; min-width: 0; }
header .brand-1 { color: #fff; font-size: 14.5px; font-weight: 500; line-height: 1.2; }
header .brand-2 { color: #ffd900; font-size: 12.5px; margin-top: 3px; line-height: 1.2; }
header .phone-cta {
  background: #ffd900;
  padding: 5px 11px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  border: 2px solid #000;
  flex-shrink: 0;
}
header .phone-cta .label { color: #e05c5c; font-size: 11px; font-weight: 500; line-height: 1; }
header .phone-cta .num { color: #000; font-size: 17px; font-weight: 500; line-height: 1; margin-top: 3px; }
.bee-stripe {
  height: 14px;
  background: repeating-linear-gradient(135deg, #ffd900 0, #ffd900 12px, #000 12px, #000 24px);
}
.hero { position: relative; overflow: hidden; background: #2c4a6e; }
.hero-bee { position: absolute; top: 8px; right: calc(50% - 238px); width: 192px; height: auto; z-index: 0; opacity: 0.95; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; padding: 20px 16px 24px; }
.hero-tag {
  background: #ffd900;
  color: #2c4a6e;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14.5px;
  font-weight: 500;
  margin-bottom: 10px;
  transform: rotate(-2deg);
}
.hero h1 {
  color: #fff;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: -1px;
}
.hero h1 .accent { color: #ffd900; }
.hero .subtitle { color: #fff; font-size: 14.5px; margin-bottom: 12px; line-height: 1.55; }
.hero .subtitle .brand-name { color: #ffd900; font-weight: 700; font-size: 22.5px; letter-spacing: .5px; }
.hero .subtitle .brand-yomi { color: #fff; font-size: 13.5px; font-weight: 500; margin: 0 1px; }
.hero-trust { display: flex; gap: 8px; margin-bottom: 14px; }
.hero-trust .trust-item {
  flex: 1;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
  color: #fff;
  font-size: 12.5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.hero-trust .trust-item i { color: #ffd900; font-size: 22.5px; line-height: 1; }
.hero-trust .stars { color: #ffd900; font-size: 15.5px; letter-spacing: 1px; line-height: 1; }
.hero-trust .trust-item b { color: #ffd900; font-size: 18px; font-weight: 700; }
.badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 14px;
}
.badge {
  padding: 9px;
  border-radius: 7px;
  text-align: center;
  border: 2px solid #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.badge .lbl { font-size: 11px; font-weight: 500; opacity: 0.9; }
.badge .val { font-size: 19px; font-weight: 500; line-height: 1.12; margin-top: 3px; word-break: keep-all; }
.badge-red { background: #e05c5c; color: #fff; }
.badge-yellow { background: #ffd900; color: #2c4a6e; border-color: #fff; }
.badge-green { background: #06C755; color: #fff; }
.badge-white { background: #fff; color: #2c4a6e; border-color: #ffd900; }
.price-pitch {
  background: #fff;
  color: #2c4a6e;
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 14px;
  border: 3px solid #ffd900;
  position: relative;
}
.price-pitch .stamp {
  position: absolute;
  top: -10px;
  left: 14px;
  background: #e05c5c;
  color: #fff;
  padding: 3px 11px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 500;
}
.price-pitch .price-cols { display: flex; align-items: stretch; margin-top: 8px; }
.price-pitch .price-col { flex: 1; text-align: center; }
.price-pitch .ptype { font-size: 12.5px; font-weight: 700; color: #2c4a6e; margin-bottom: 2px; }
.price-pitch .pval { font-size: 27.5px; font-weight: 700; color: #e05c5c; line-height: 1.05; letter-spacing: -0.5px; }
.price-pitch .price-divider { width: 1px; background: #e3e8ef; margin: 4px 6px; }
.price-pitch .note { font-size: 12.5px; color: #2c4a6e; margin-top: 6px; text-align: center; }
.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 12px;
  text-decoration: none;
  margin-bottom: 10px;
  border: none;
}
.cta-btn i { font-size: 28.5px; flex-shrink: 0; line-height: 1; }
.cta-ico { width: 26px; height: 26px; flex-shrink: 0; }
.cta-txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.cta-main { font-size: 20px; font-weight: 700; }
.cta-sub { font-size: 14px; font-weight: 500; opacity: 0.92; margin-top: 2px; }
.sepdot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.5; margin: 0 9px; vertical-align: middle; }
.cta-line { background: #06C755; color: #fff; }
.cta-phone { background: #ffd900; color: #2c4a6e; }
.section { background: #fff; padding: 22px 16px; }
.section-alt { background: #f5f7fa; padding: 22px 16px; }
.section-dark { background: #2c4a6e; padding: 22px 16px; color: #fff; }
.section-head { text-align: center; margin-bottom: 16px; }
.section-head .tag {
  display: inline-block;
  background: #e05c5c;
  color: #fff;
  padding: 4px 14px;
  border-radius: 14px;
  font-size: 12.5px;
  font-weight: 500;
}
.section-head .tag-y { background: #ffd900; color: #2c4a6e; }
.section-head .tag-b { background: #2c4a6e; color: #fff; }
.section-head h2 { color: #2c4a6e; font-size: 23.5px; font-weight: 500; margin: 8px 0 0; }
.section-dark .section-head h2 { color: #fff; }
.danger-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff8e1;
  padding: 14px;
  border-radius: 10px;
  border: 2px solid #ffd900;
}
.danger-card img { width: 70px; height: 70px; flex-shrink: 0; }
.danger-card .title { color: #e05c5c; font-size: 16px; font-weight: 500; line-height: 1.2; }
.danger-card .desc { color: #2c4a6e; font-size: 13px; margin-top: 5px; line-height: 1.45; }
.stat-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 7px;
}
.stat {
  background: #f5f5f5;
  padding: 11px 6px;
  border-radius: 8px;
  text-align: center;
}
.stat .pre { color: #e05c5c; font-size: 12.5px; font-weight: 500; line-height: 1; }
.stat .big { color: #2c4a6e; font-size: 23.5px; font-weight: 500; line-height: 1; margin: 5px 0; }
.stat .post { color: #666; font-size: 11px; }
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.reason {
  background: #fff;
  border: 2px solid #ffd900;
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
}
.reason .icon { color: #ffd900; font-size: 29.5px; line-height: 1; margin-bottom: 6px; }
.reason .ttl { color: #2c4a6e; font-size: 14.5px; font-weight: 500; line-height: 1.3; margin-bottom: 4px; }
.reason .desc { color: #555; font-size: 12px; line-height: 1.4; }
.reason-wide {
  grid-column: span 2;
  background: #2c4a6e;
  color: #fff;
  border-color: #2c4a6e;
}
.reason-wide .icon { color: #ffd900; }
.reason-wide .ttl { color: #fff; }
.reason-wide .desc { color: #fff; opacity: 0.9; }
.flow { display: flex; flex-direction: column; }
.flow-step { display: flex; align-items: center; gap: 14px; position: relative; padding-bottom: 16px; }
.flow { position: relative; }
.flow::before {
  content: ""; position: absolute; left: 22px; top: 40px; bottom: 56px;
  border-left: 3px dashed #ffd900; z-index: 0;
}
.flow-hex {
  flex-shrink: 0; width: 46px; height: 52px; background: #ffd900;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
}
.flow-hex::before {
  content: ""; position: absolute; inset: 2px; background: #2c4a6e;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.flow-hex span { position: relative; z-index: 1; color: #ffd900; font-size: 22.5px; font-weight: 700; line-height: 1; }
.flow-body {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px;
  background: #f5f7fa; border-radius: 10px; padding: 11px 13px;
}
.flow-icon { width: 52px; height: 58px; object-fit: contain; flex-shrink: 0; }
.flow-text { flex: 1; min-width: 0; }
.flow-text .ttl { color: #2c4a6e; font-size: 16px; font-weight: 700; }
.flow-text .desc { color: #666; font-size: 12.5px; margin-top: 4px; line-height: 1.4; }
.area-section { text-align: center; }
.area-img { width: 88%; max-width: 280px; margin: 0 auto 12px; display: block; }
.area-acc { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.area-pref { background: #fff; border: 2px solid #e3e8ef; border-radius: 10px; overflow: hidden; }
.area-pref summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 9px; padding: 12px 13px; }
.area-pref summary::-webkit-details-marker { display: none; }
.area-pref summary > i { color: #e05c5c; font-size: 21.5px; flex-shrink: 0; }
.area-pref .pref-name { flex: 1; color: #2c4a6e; font-size: 15.5px; font-weight: 700; }
.area-pref[open] .faq-plus::before { transform: scaleY(0); }
.area-cities { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 13px 13px 13px; }
.area-cities .city { background: #eef2f7; color: #2c4a6e; font-size: 13px; padding: 4px 9px; border-radius: 12px; }
.faq-item { background: #fff; border: 2px solid #eef1f5; border-radius: 10px; margin-bottom: 9px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 11px; padding: 13px 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q-mark {
  position: relative; flex-shrink: 0; width: 30px; height: 34px; background: #2c4a6e;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex; align-items: center; justify-content: center;
}
.faq-q-mark::before {
  content: ""; position: absolute; inset: 2px; background: #ffd900;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.faq-q-mark i { position: relative; z-index: 1; color: #2c4a6e; font-weight: 700; font-size: 15.5px; font-style: normal; line-height: 1; }
.faq-q-text { flex: 1; color: #2c4a6e; font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.faq-plus { flex-shrink: 0; width: 18px; height: 18px; position: relative; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: #e05c5c; border-radius: 2px; transition: transform .2s; }
.faq-plus::before { left: 8px; top: 2px; width: 2px; height: 14px; }
.faq-plus::after { left: 2px; top: 8px; width: 14px; height: 2px; }
.faq-item[open] .faq-plus::before { transform: scaleY(0); }
.faq-a { color: #555; font-size: 13px; line-height: 1.6; padding: 2px 14px 14px 55px; }
.contact-section {
  background: #2c4a6e;
  color: #fff;
  padding: 26px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-section h2 { color: #ffd900; font-size: 25.5px; font-weight: 500; margin-bottom: 8px; }
.contact-section p { font-size: 14.5px; margin-bottom: 18px; opacity: 0.92; }
.contact-section .cta-btn { margin-bottom: 10px; }
footer {
  background: #1a3050;
  color: #fff;
  padding: 20px 16px 82px;
  font-size: 12.5px;
  text-align: center;
}
footer .biz { font-size: 13.5px; font-weight: 500; margin-bottom: 6px; }
footer .addr { opacity: 0.8; line-height: 1.5; margin-bottom: 10px; }
footer .links a { color: #ffd900; text-decoration: none; margin: 0 6px; font-size: 12.5px; }
footer .copy { margin-top: 12px; opacity: 0.6; font-size: 11px; }

.hero-honeycomb { display: block; position: absolute; top: 0; left: 0; right: 0; height: 300px; z-index: 0; pointer-events: none; overflow: hidden; opacity: 1; }
.hero-honeycomb svg { position: absolute; top: -130px; right: calc(50% - 282px); width: 300px; height: auto; transform: none; }
@media (min-width: 1024px) {
  .hero-honeycomb { left: auto; right: 0; width: 52%; max-width: none; height: 100%; opacity: 1; }
  .hero-honeycomb svg { top: 50%; right: -30px; transform: translateY(-50%); width: 640px; }
}

/* phone zone: keep mobile design from stretching (center content ~440px) */
header.site-header,
.hero-inner,
.section, .section-alt, .section-dark,
.news-section, .contact-section, footer {
  padding-left: max(16px, calc((100% - 440px) / 2));
  padding-right: max(16px, calc((100% - 440px) / 2));
}

/* ===== TABLET (>=768px) ===== */
@media (min-width: 768px) {
  header.site-header,
  .section, .section-alt, .section-dark,
  .news-section, .contact-section, footer {
    padding-left: max(28px, calc((100% - 1080px) / 2));
    padding-right: max(28px, calc((100% - 1080px) / 2));
  }
  .alert-bar { font-size: 15.5px; }
  .section-head h2 { font-size: 27.5px; }
  .hero h1 { font-size: 42px; }
  .news-box { max-width: 780px; margin: 0 auto; }
  .badges { grid-template-columns: repeat(4, 1fr); }
  .reasons { grid-template-columns: repeat(3, 1fr); }
  .reason-wide { grid-column: auto; }
  .flow { max-width: 700px; margin: 0 auto; }
  .works-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .blog-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .area-acc { max-width: 720px; margin: 0 auto; }
  .faq-item { max-width: 760px; margin-left: auto; margin-right: auto; }
  .contact-section .cta-btn { max-width: 460px; margin-left: auto; margin-right: auto; }
}

/* ===== DESKTOP (>=1024px) ===== */
@media (min-width: 1024px) {
  .hero-inner { padding-top: 54px; padding-bottom: 60px; padding-left: max(28px, calc((100% - 1080px) / 2)); padding-right: max(28px, calc((100% - 1080px) / 2)); }
  .hero-inner > * { max-width: 600px; }
  .hero h1 { font-size: 46px; }
  .hero-bee { width: 400px; top: 44px; right: max(24px, calc((100% - 1056px) / 2)); }
  .reasons { grid-template-columns: repeat(5, 1fr); }
  .works-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-list { grid-template-columns: repeat(3, 1fr); }
  .cta-bar { display: none; }
  .contact-section { padding-top: 46px; padding-bottom: 56px; }
  footer { padding-bottom: 44px; padding-top: 36px; }
  .to-top { bottom: 26px; }
}

.nav-toggle-cb { display: none; }
.nav-toggle { position: relative; flex-shrink: 0; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.nav-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: nav-spin 8s linear infinite; }
.nav-ring text { fill: #ffd900; font-size: 13px; font-weight: 700; letter-spacing: 0.5px; }
.nav-bee { position: relative; z-index: 1; width: 20px; height: auto; }
@keyframes nav-spin { to { transform: rotate(360deg); } }
@media (min-width: 1024px) { .nav-toggle { width: 58px; height: 58px; } .nav-bee { width: 26px; } }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: #ffd900; border-radius: 2px; transition: .25s; }
.nav-toggle-cb:checked ~ header .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle-cb:checked ~ header .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-toggle-cb:checked ~ header .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 76%; max-width: 300px; background: #2c4a6e; z-index: 50; transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; padding: 44px 20px 24px; box-shadow: -8px 0 30px rgba(0,0,0,.35); }
.nav-toggle-cb:checked ~ .drawer { transform: translateX(0); }
.drawer a { color: #fff; text-decoration: none; font-size: 17px; font-weight: 500; padding: 13px 6px; border-bottom: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; gap: 11px; }
.drawer a i { color: #ffd900; font-size: 21.5px; }
.drawer .drawer-line { margin-top: auto; background: #06C755; border-radius: 10px; border-bottom: none; justify-content: center; font-weight: 700; padding: 14px; }
.drawer .drawer-line i { color: #fff; }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 49; opacity: 0; pointer-events: none; transition: opacity .28s; }
.drawer-close { align-self: flex-end; display: flex; align-items: center; gap: 6px; color: #fff; font-size: 14px; font-weight: 500; line-height: 1; padding: 4px 2px; cursor: pointer; margin: -4px 0 14px; }
.drawer-close i { font-size: 20px; color: #ffd900; }
.nav-toggle-cb:checked ~ .drawer-overlay { opacity: 1; pointer-events: auto; }

/* スクロールするまで非表示（CSSスクロール駆動アニメ。未対応ブラウザは常時表示にdegrade） */
@keyframes toTopReveal {
  from { opacity: 0; visibility: hidden; }
  to   { opacity: 1; visibility: visible; }
}
.to-top { position: fixed; right: 70px; bottom: 74px; z-index: 41; display: flex; flex-direction: column; align-items: center; gap: 5px; text-decoration: none; animation: toTopReveal linear both; animation-timeline: scroll(root); animation-range: 300px 380px; }
.to-top-hex { position: relative; width: 54px; height: 60px; background: #ffd900; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 4px 11px rgba(0,0,0,.35)); }
.to-top-hex::before { content: ""; position: absolute; inset: 2.5px; background: #2c4a6e; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }
.to-top-bee { position: relative; z-index: 1; width: 34px; height: auto; }
.to-top-label { background: #2c4a6e; color: #ffd900; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 10px; white-space: nowrap; letter-spacing: .3px; }

.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; box-shadow: 0 -4px 16px rgba(0,0,0,.18); }
@media (max-width: 1023px) { .cta-bar { display: flex; } }
.cta-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 9px 8px; text-decoration: none; }
.cta-bar a i { font-size: 27.5px; flex-shrink: 0; }
.cta-bar a span { display: flex; flex-direction: column; line-height: 1.15; }
.cta-bar a b { font-size: 17px; font-weight: 700; }
.cta-bar a small { font-size: 10.5px; opacity: .92; margin-top: 1px; }
.cta-bar-line { background: #06C755; color: #fff; }
.cta-bar-tel { background: #ffd900; color: #2c4a6e; }

/* お知らせ */
.news-section { padding-top: 16px; padding-bottom: 16px; }
.news-box { border: 2px solid #e3e8ef; border-radius: 12px; padding: 13px 14px 11px; background: #fff; }
.news-head { display: flex; align-items: center; gap: 7px; color: #2c4a6e; font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.news-head i { color: #ffd900; font-size: 21.5px; }
.news-list { list-style: none; }
.news-list li { border-top: 1px solid #eef1f5; }
.news-list a { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; padding: 9px 2px; text-decoration: none; }
.news-date { color: #8a93a0; font-size: 12.5px; font-weight: 600; flex-shrink: 0; }
.news-tag { background: #e05c5c; color: #fff; font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 4px; align-self: center; }
.news-text { color: #2c4a6e; font-size: 13.5px; line-height: 1.45; flex: 1; min-width: 60%; }
.news-more { display: inline-flex; align-items: center; gap: 3px; color: #2c4a6e; font-size: 13.5px; font-weight: 700; text-decoration: none; margin-top: 9px; }
.news-more i { color: #ffd900; }
/* common more button */
.more-btn { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 16px; padding: 12px; background: #ffd900; color: #2c4a6e; border-radius: 10px; font-size: 14.5px; font-weight: 700; text-decoration: none; }
.more-btn i { color: #2c4a6e; }
/* 施工事例 */
.works-grid { display: flex; flex-direction: column; gap: 12px; }
.work-card { display: flex; gap: 12px; background: #fff; border-radius: 12px; overflow: hidden; text-decoration: none; }
.work-thumb { flex-shrink: 0; width: 104px; align-self: stretch; background: linear-gradient(135deg, #3a5a82, #1a3050); display: flex; align-items: center; justify-content: center; min-height: 92px; }
.work-thumb i { color: rgba(255,217,0,.5); font-size: 32px; }
.work-body { flex: 1; min-width: 0; padding: 11px 13px 11px 0; }
.work-tags { display: flex; gap: 5px; margin-bottom: 6px; }
.wtag { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.wtag-area { background: #2c4a6e; color: #fff; }
.wtag-type { background: #ffd900; color: #2c4a6e; }
.work-ttl { color: #2c4a6e; font-size: 15px; font-weight: 700; line-height: 1.35; margin-bottom: 5px; }
.work-date { color: #9aa3ad; font-size: 12.5px; }
/* ブログ */
.blog-list { display: flex; flex-direction: column; gap: 10px; }
.blog-card { display: flex; gap: 12px; align-items: center; background: #fff; border: 2px solid #eef1f5; border-radius: 10px; padding: 9px; text-decoration: none; }
.blog-thumb { flex-shrink: 0; width: 58px; height: 58px; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, #ffe24d, #f0c800); display: flex; align-items: center; justify-content: center; }
.blog-thumb i { color: #2c4a6e; font-size: 26.5px; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { flex: 1; min-width: 0; }
.blog-ttl { color: #2c4a6e; font-size: 14.5px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; }
.blog-meta { display: flex; align-items: center; gap: 8px; }
.blog-cat { background: #eef2f7; color: #2c4a6e; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.blog-date { color: #9aa3ad; font-size: 12.5px; }

/* ============ Animations (SWELL-style, light) ============ */
/* whole-page fade-in on load (no JS, like SWELL) */
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageFade .45s ease both; }

/* button + card hover / press */
.cta-btn, .phone-cta { transition: transform .15s ease, box-shadow .15s ease; }
.cta-btn:hover, .phone-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.cta-btn:active, .phone-cta:active { transform: translateY(0); box-shadow: 0 3px 8px rgba(0,0,0,.18); }
.work-card, .blog-card, .reason { transition: transform .18s ease, box-shadow .18s ease; }
.work-card:hover, .blog-card:hover, .reason:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }

/* accordion open (subtle) */
@keyframes accOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq-item[open] > .faq-a, .area-pref[open] > .area-cities { animation: accOpen .24s ease; }
.faq-plus { transition: transform .2s ease; }

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  .faq-item[open] > .faq-a, .area-pref[open] > .area-cities { animation: none; }
  .cta-btn, .phone-cta, .work-card, .blog-card, .reason, .faq-plus { transition: none; }
}

/* ---- WP実装後の微調整 ---- */

/* スマホ：ヘッダー説明文が折り返して窮屈なので非表示（ロゴ＋電話＋メニューに集約） */
@media (max-width: 767px) {
  .site-header .brand { display: none; }
}

/* スマホでも「トップへ戻る」を表示（右下・CTAバーの上・コンパクト） */
@media (max-width: 1023px) {
  .to-top { display: flex; left: auto; right: 20px; bottom: 96px; gap: 0; }
  .to-top-hex { width: 62px; height: 69px; }
  .to-top-bee { width: 40px; }
  .to-top-label { display: none; }
}