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

:root {
  --green:   #049005;
  --green2:  #037a04;
  --green3:  #edfaed;
  --orange:  #e07b1a;
  --blue:    #049005;   /* 旧--blueはgreenで代替 */
  --blue3:   #edfaed;   /* 旧--blue3はgreen3で代替 */
  --text:    #222;
  --gray:    #666;
  --lgray:   #f5f5f3;
  --border:  #e0e0dc;
  --white:   #fff;
  --ink:     #1a1a1a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans JP', sans-serif; color: var(--text); background: var(--white); font-size: 15px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===========================
   HEADER
   =========================== */
.header-top {
  background: var(--lgray);
  border-bottom: 1px solid var(--border);
  padding: 7px 20px;
}
.header-top-inner {
  max-width: 1060px; margin: 0 auto;
  display: flex; justify-content: flex-end; align-items: center; gap: 28px;
}
.header-tel-block { display: flex; align-items: baseline; gap: 8px; }
.header-tel-label { font-size: .7rem; color: var(--gray); }
.header-tel-num { font-size: 1.45rem; font-weight: 700; color: var(--green); letter-spacing: .02em; }
.header-tel-num a { color: inherit; }
.header-tel-hours { font-size: .7rem; color: var(--gray); }
.header-contact-link {
  display: inline-block; padding: 7px 18px;
  background: var(--green); color: var(--white);
  font-size: .78rem; font-weight: 700; border-radius: 2px; white-space: nowrap;
  transition: background .2s;
}
.header-contact-link:hover { background: var(--green2); }

.header-main {
  background: var(--white);
  border-bottom: 3px solid var(--green);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.header-main-inner {
  max-width: 1060px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; height: 66px;
}
.site-logo { display: flex; flex-direction: row; align-items: center; gap: 12px; }
.site-logo img { flex-shrink: 0; }
.logo-main { font-size: 1.05rem; font-weight: 700; color: var(--green); line-height: 1.2; }
.logo-sub { font-size: .6rem; color: var(--gray); letter-spacing: .12em; }

.global-nav { display: flex; }
.global-nav a {
  display: block; padding: 0 15px; height: 66px; line-height: 66px;
  font-size: .8rem; font-weight: 700; color: var(--text);
  border-bottom: 3px solid transparent; margin-bottom: -3px;
  transition: color .2s, border-color .2s;
}
.global-nav a:hover { color: var(--green); border-bottom-color: var(--green); }
.global-nav .nav-cta {
  background: var(--orange); color: var(--white) !important;
  padding: 0 20px; border-bottom: none !important;
  margin: 13px 0 13px 12px; height: 40px; line-height: 40px;
  border-radius: 2px; letter-spacing: .03em;
  transition: background .2s;
}
.global-nav .nav-cta:hover { background: #c96d10; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .35s, opacity .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none;
  position: fixed;
  top: 66px; left: 0; right: 0;
  z-index: 199;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 20px; font-size: .88rem; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { background: var(--green); color: var(--white); text-align: center; font-weight: 700; }

/* ===========================
   HERO
   =========================== */
/* 背景写真ラッパー ②縦を十分に取る */
.hero-outer {
  min-height: 420px;
  display: flex; align-items: center;
  position: relative;
  padding: 0 20px;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1;
}
.hero-slider {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}

/* hero */
.hero {
  background: transparent;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
/* ①タイトルバー：キャッチの直上、中央寄せ */
.hero-inner {
  text-align: center;
  padding: 36px 20px;
}
.hero-title-box {
  display: inline-block;
  background: rgba(10,64,16,.85);
  color: #fff;
  padding: 6px 24px;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em;
  margin-bottom: 18px;
}
.hero-catch {
  font-size: clamp(1.5rem, 3.8vw, 2.4rem);
  font-weight: 900; color: #fff;
  line-height: 1.4; margin: 0 0 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.hero-catch em {
  color: #ffe066;
  font-style: normal;
}
/* タグ行 */
.hero-tags-row {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}
.hero-tag {
  background: #f5b300;
  color: #fff;
  font-size: .82rem; font-weight: 700;
  padding: 6px 16px;
  border-radius: 3px;
}
/* モットー */
.hero-motto {
  font-size: .88rem; font-weight: 700;
  color: rgba(255,255,255,.9);
  margin-bottom: 24px;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
/* ④お問い合わせボタン */
.hero-cta-btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: .95rem; font-weight: 700;
  padding: 14px 36px;
  border-radius: 3px;
  transition: background .2s, transform .15s;
}
.hero-cta-btn:hover { background: #c96d10; transform: translateY(-2px); }

/* ===========================
   STATS BAR
   =========================== */
.stats-bar {
  background: var(--ink);
  padding: 0 20px;
}
.stats-bar-inner {
  max-width: 1060px; margin: 0 auto;
  display: flex;
}
.stat-item {
  flex: 1; padding: 28px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; color: #7eff80;
  line-height: 1; letter-spacing: -.01em;
}
.stat-num span { font-size: .55em; font-weight: 700; }
.stat-label { font-size: .72rem; color: rgba(255,255,255,.5); margin-top: 6px; letter-spacing: .06em; }

/* ===========================
   SHARED SECTION
   =========================== */
.section { padding: 72px 20px; }
.section-gray { background: var(--lgray); }
.section-green { background: var(--green); }
.container { max-width: 1060px; margin: 0 auto; }

.sec-head { margin-bottom: 48px; }
.sec-head.center { text-align: center; }
.sec-en {
  font-family: 'Barlow', sans-serif;
  font-size: .72rem; font-weight: 700;
  color: var(--green); letter-spacing: .35em; text-transform: uppercase;
  margin-bottom: 10px; display: flex; align-items: center; gap: 12px;
}
.sec-head.center .sec-en { justify-content: center; }
.sec-en::before { content: ''; width: 24px; height: 2px; background: var(--green); flex-shrink: 0; }
.sec-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700; color: var(--ink); line-height: 1.35;
}
.sec-desc { font-size: .88rem; color: var(--gray); margin-top: 12px; line-height: 1.9; }

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  display: inline-block; padding: 14px 30px;
  background: var(--orange); color: var(--white);
  font-size: .9rem; font-weight: 700; border-radius: 2px;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: #c96d10; transform: translateY(-1px); }
.btn-secondary {
  display: inline-block; padding: 13px 26px;
  border: 2px solid rgba(255,255,255,.55); color: rgba(255,255,255,.88);
  font-size: .9rem; font-weight: 700; border-radius: 2px;
  transition: border-color .2s, background .2s;
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn-orange {
  display: inline-block; padding: 12px 28px;
  background: var(--orange); color: var(--white);
  font-size: .9rem; font-weight: 700; border-radius: 2px;
  transition: background .2s;
}
.btn-orange:hover { background: #c96d10; }
.btn-white {
  display: inline-block; padding: 12px 28px;
  background: var(--white); color: var(--green);
  font-size: .9rem; font-weight: 700; border-radius: 2px;
  transition: background .2s;
}
.btn-white:hover { background: var(--green3); }
.btn-outline-green {
  display: inline-block; padding: 12px 26px;
  border: 2px solid var(--green); color: var(--green);
  font-size: .9rem; font-weight: 700; border-radius: 2px;
  transition: all .2s;
}
.btn-outline-green:hover { background: var(--green); color: var(--white); }

/* ===========================
   CASE GRID（事例カード）
   =========================== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.case-card {
  display: block; color: inherit;
  border-radius: 4px; overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,.1);
}
.case-card-img {
  aspect-ratio: 4/3; overflow: hidden;
}
.case-card--door .case-card-img {
  aspect-ratio: 4/3;
}
.case-card--door .case-card-img {
  background: #fff;
}
.case-card--door .case-card-img img {
  object-fit: contain;
  object-position: center;
}
.case-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
  display: block;
}
.case-card:hover .case-card-img img { transform: scale(1.05); }
.case-card-body {
  padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
  border-top: 1px solid var(--border);
}
.case-card-num {
  font-family: 'Barlow', sans-serif;
  font-size: .62rem; font-weight: 700;
  color: var(--green); letter-spacing: .18em;
  flex-shrink: 0;
}
.case-card-name {
  font-size: .9rem; font-weight: 700; color: var(--ink);
}

/* ===========================
   SERVICE GRID（9アイコン）
   =========================== */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.svc-item {
  background: var(--white); padding: 32px 16px 28px;
  text-align: center; transition: background .2s;
}
.svc-item:hover { background: var(--green3); }
.svc-item-link { display: block; color: inherit; }
.svc-num {
  font-family: 'Barlow', sans-serif; font-size: .65rem; font-weight: 700;
  color: var(--green); letter-spacing: .2em; margin-bottom: 12px;
}
.svc-item-img {
  width: 76px; height: 76px; margin: 0 auto 14px;
  border-radius: 50%; overflow: hidden;
  background: var(--lgray);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid transparent; transition: border-color .2s;
}
.svc-item:hover .svc-item-img { border-color: var(--green); }
.svc-item-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-item-icon { font-size: 2rem; line-height: 1; }
.svc-item-name { font-size: .82rem; font-weight: 700; color: var(--text); line-height: 1.5; }

/* ===========================
   REASON（選ばれる理由）
   =========================== */
.reason-grid {
  display: grid; grid-template-columns: 1fr; gap: 2px;
  background: var(--border); border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
}
.reason-item {
  background: var(--white); padding: 36px 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.reason-num {
  font-family: 'Barlow', sans-serif; font-size: 3rem; font-weight: 800;
  color: var(--green); line-height: 1; opacity: .2;
}
.reason-icon { font-size: 2.2rem; }
.reason-title { font-size: 1rem; font-weight: 700; color: var(--ink); }
.reason-text { font-size: .84rem; color: var(--gray); line-height: 1.9; }

/* ===========================
   WORKS CARDS（トップ）
   =========================== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.work-card {
  background: var(--white); border-radius: 4px; overflow: hidden;
  transition: transform .3s cubic-bezier(.34,1.4,.64,1), box-shadow .3s;
  display: block; color: inherit;
}
.work-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.work-card-img {
  aspect-ratio: 4/3; background: var(--lgray); overflow: hidden;
  position: relative;
}
.work-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.work-card:hover .work-card-img img { transform: scale(1.06); }
.work-card-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.45) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.work-card:hover .work-card-img-overlay { opacity: 1; }
.work-card-body { padding: 16px 18px; }
.work-card-cat {
  display: inline-block; background: var(--green3); color: var(--green);
  font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 2px; margin-bottom: 6px;
}
.work-card-date { font-size: .72rem; color: var(--gray); margin-bottom: 4px; }
.work-card-title { font-size: .88rem; font-weight: 700; color: var(--text); line-height: 1.55; }

/* ===========================
   CTA STRIP
   =========================== */
.cta-strip {
  background: var(--green3);
  border-top: 1px solid rgba(4,144,5,.18);
  border-bottom: 1px solid rgba(4,144,5,.18);
  padding: 36px 20px;
}
.cta-strip-inner {
  max-width: 1060px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-strip-left .label { font-size: .72rem; color: var(--green); font-weight: 700; letter-spacing: .1em; margin-bottom: 4px; }
.cta-strip-left .tel {
  font-family: 'Barlow', sans-serif; font-size: 2rem; font-weight: 800;
  color: var(--green); letter-spacing: .02em; line-height: 1.1;
}
.cta-strip-left .tel a { color: inherit; }
.cta-strip-left .hours { font-size: .72rem; color: var(--gray); margin-top: 4px; }
.cta-strip-right { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===========================
   PAGE HERO（内部ページ用）
   =========================== */
.page-hero {
  background: var(--ink);
  padding: 56px 20px 48px;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .12;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 1060px; margin: 0 auto; }
.page-hero-en {
  font-family: 'Barlow', sans-serif; font-size: .7rem; font-weight: 700;
  color: var(--green); letter-spacing: .4em; text-transform: uppercase;
  margin-bottom: 10px; display: flex; align-items: center; gap: 12px;
}
.page-hero-en::before { content: ''; width: 20px; height: 2px; background: var(--green); }
.page-hero-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 700; color: var(--white);
  letter-spacing: .04em; line-height: 1.3;
}

.breadcrumb {
  background: var(--lgray); border-bottom: 1px solid var(--border);
  padding: 8px 20px; font-size: .78rem; color: var(--gray);
}
.breadcrumb-inner { max-width: 1060px; margin: 0 auto; display: flex; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--green); }

/* ===========================
   SERVICE PAGE
   =========================== */
.service-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin-bottom: 56px;
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.service-block:nth-child(even) .service-block-img { order: 2; }
.service-block-img { aspect-ratio: 4/3; background: var(--lgray); overflow: hidden; }
.service-block-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-block:hover .service-block-img img { transform: scale(1.04); }
.service-block-body { padding: 40px 40px; display: flex; flex-direction: column; justify-content: center; background: var(--white); }
.service-block-num {
  font-family: 'Barlow', sans-serif; font-size: .65rem; font-weight: 700;
  color: var(--green); letter-spacing: .3em; margin-bottom: 12px;
}
.service-block-title {
  font-size: 1.25rem; font-weight: 700; color: var(--ink);
  padding-bottom: 14px; border-bottom: 2px solid var(--orange); margin-bottom: 18px;
}
.service-block-text { font-size: .87rem; color: var(--gray); line-height: 2.1; margin-bottom: 20px; }
.trouble-box {
  background: var(--lgray); border-left: 3px solid var(--green);
  padding: 14px 16px; border-radius: 0 3px 3px 0;
}
.trouble-box p { font-size: .78rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.trouble-box li { font-size: .78rem; color: var(--gray); padding-left: 14px; position: relative; margin-bottom: 3px; }
.trouble-box li::before { content: '—'; position: absolute; left: 0; color: var(--green); }

/* ===========================
   COMPANY PAGE
   =========================== */
.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td {
  padding: 16px 20px; border: 1px solid var(--border);
  font-size: .88rem; line-height: 1.8; vertical-align: top;
}
.company-table th { width: 150px; background: var(--green3); font-weight: 700; color: var(--green); white-space: nowrap; }

.history-list { border-left: 2px solid var(--green); padding-left: 28px; margin-top: 12px; }
.history-item { position: relative; padding-bottom: 24px; }
.history-item:last-child { padding-bottom: 0; }
.history-item::before { content: ''; position: absolute; left: -35px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); border: 2px solid var(--white); outline: 2px solid var(--green); }
.history-year { font-size: .78rem; font-weight: 700; color: var(--green); margin-bottom: 3px; letter-spacing: .05em; }
.history-text { font-size: .87rem; color: var(--gray); line-height: 1.8; }

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 6px; }
.form-group label .req { background: var(--orange); color: var(--white); font-size: .68rem; padding: 2px 6px; border-radius: 2px; margin-left: 6px; vertical-align: middle; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 3px;
  font-family: 'Noto Sans JP', sans-serif; font-size: .9rem; color: var(--text);
  transition: border-color .2s; -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--green); }
.form-group textarea { min-height: 150px; resize: vertical; }
.privacy-row { display: flex; align-items: flex-start; gap: 8px; font-size: .84rem; color: var(--gray); margin-bottom: 20px; }
.privacy-row input { margin-top: 4px; accent-color: var(--green); }
.submit-btn {
  width: 100%; padding: 15px; background: var(--green); color: var(--white);
  font-size: 1rem; font-weight: 700; font-family: 'Noto Sans JP', sans-serif;
  border: none; border-radius: 3px; cursor: pointer; letter-spacing: .06em; transition: background .2s;
}
.submit-btn:hover { background: var(--green2); }
.contact-info-panel { background: var(--green); color: var(--white); padding: 28px 24px; border-radius: 4px; }
.contact-info-panel h3 { font-size: .88rem; font-weight: 700; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.2); margin-bottom: 20px; }
.ci-block { margin-bottom: 16px; }
.ci-label { font-size: .68rem; color: rgba(255,255,255,.6); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }
.ci-val { font-size: 1.1rem; font-weight: 700; }
.ci-val a { color: var(--white); }
.ci-note { font-size: .73rem; color: rgba(255,255,255,.6); margin-top: 2px; line-height: 1.7; }
.contact-free-btn {
  display: block; width: 100%; padding: 11px; background: var(--orange); color: var(--white);
  text-align: center; font-size: .85rem; font-weight: 700; border-radius: 3px; margin-top: 20px;
  transition: background .2s;
}
.contact-free-btn:hover { background: #c96d10; }
.thanks-wrap { max-width: 560px; margin: 80px auto; text-align: center; padding: 0 20px; }
.thanks-icon { width: 64px; height: 64px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--white); font-size: 1.8rem; }
.thanks-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 14px; }
.thanks-text { font-size: .9rem; color: var(--gray); line-height: 2; margin-bottom: 28px; }

/* ===========================
   FOOTER
   =========================== */
.site-footer { background: #141c14; color: rgba(255,255,255,.7); }
.footer-inner {
  max-width: 1060px; margin: 0 auto; padding: 56px 20px 40px;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px;
}
.footer-logo { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.footer-logo-en { font-size: .62rem; color: rgba(255,255,255,.3); letter-spacing: .15em; margin-bottom: 16px; }
.footer-addr { font-size: .78rem; line-height: 2.1; color: rgba(255,255,255,.55); }
.footer-nav-head { font-size: .65rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-nav li { margin-bottom: 10px; }
.footer-nav li a { font-size: .83rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-nav li a:hover { color: var(--white); }
.footer-tel-block .ft-label { font-size: .68rem; color: rgba(255,255,255,.4); letter-spacing: .1em; margin-bottom: 2px; }
.footer-tel-block .ft-num { font-family: 'Barlow', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 4px; letter-spacing: .02em; }
.footer-tel-block .ft-num a { color: inherit; }
.footer-tel-block .ft-hours { font-size: .75rem; color: rgba(255,255,255,.45); line-height: 1.9; margin-bottom: 18px; }
.footer-tel-block .ft-btn { display: block; padding: 10px; background: var(--green); color: var(--white); text-align: center; font-size: .83rem; font-weight: 700; border-radius: 2px; transition: background .2s; }
.footer-tel-block .ft-btn:hover { background: var(--green2); }
.footer-copy { border-top: 1px solid rgba(255,255,255,.06); text-align: center; padding: 18px; font-size: .72rem; color: rgba(255,255,255,.25); letter-spacing: .05em; }

/* ===========================
   CMS WORKS（内部ページ）
   =========================== */
.page-hero-works {
  background: var(--ink); padding: 56px 20px 48px; position: relative; overflow: hidden;
}
.page-hero-works-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .1; }
.page-hero-works-inner { position: relative; z-index: 1; max-width: 1060px; margin: 0 auto; }
.page-hero-works h1 { font-size: clamp(1.5rem,4vw,2.2rem); font-weight: 700; color: var(--white); }
.page-hero-works p { font-size: .85rem; color: rgba(255,255,255,.6); margin-top: 8px; }

.works-container { max-width: 1060px; margin: 0 auto; padding: 48px 20px 80px; }
.cat-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.cat-filter a {
  padding: 6px 18px; border: 1.5px solid var(--border); background: var(--white);
  color: var(--gray); font-size: .8rem; font-weight: 700;
  border-radius: 20px; transition: all .2s; text-decoration: none;
}
.cat-filter a:hover, .cat-filter a.active { border-color: var(--green); color: var(--green); background: var(--green3); }

.post-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.post-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
  transition: transform .3s, box-shadow .3s; text-decoration: none; color: inherit; display: block;
}
.post-card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(0,0,0,.1); }
.post-card .thumb { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .5s; }
.post-card:hover .thumb { transform: scale(1.04); }
.post-card .thumb-placeholder { width: 100%; aspect-ratio: 4/3; background: var(--lgray); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: #ccc; }
.post-card .body { padding: 16px 18px; }
.post-card .cat-badge { display: inline-block; background: var(--green3); color: var(--green); font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 2px; margin-bottom: 6px; }
.post-card h2 { font-size: .88rem; font-weight: 700; color: var(--text); line-height: 1.55; }
.post-card .date { font-size: .72rem; color: #aaa; margin-top: 6px; }
.no-posts { text-align: center; padding: 60px 0; color: var(--gray); grid-column: 1/-1; }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 3px; font-size: .85rem; font-weight: 700; color: var(--gray); transition: all .2s; }
.pagination a:hover, .pagination span.current { border-color: var(--green); color: var(--green); background: var(--green3); }

.article-wrap { max-width: 820px; margin: 0 auto; padding: 48px 20px 80px; }
.article-cat-badge { display: inline-block; background: var(--green3); color: var(--green); font-size: .73rem; font-weight: 700; padding: 3px 10px; border-radius: 2px; margin-bottom: 12px; }
.article-title { font-size: clamp(1.2rem,3vw,1.6rem); font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.article-date { font-size: .76rem; color: var(--gray); margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.article-thumb { width: 100%; border-radius: 4px; margin-bottom: 28px; max-height: 460px; object-fit: cover; }
.article-body { font-size: .9rem; line-height: 2.1; }
.article-body p { margin-bottom: 16px; }
.article-body img { max-width: 100%; border-radius: 4px; margin: 16px 0; }
.article-body h2 { font-size: 1.1rem; font-weight: 700; margin: 28px 0 12px; padding-left: 12px; border-left: 3px solid var(--green); }

.article-nav { display: flex; justify-content: space-between; gap: 12px; margin: 40px 0 20px; flex-wrap: wrap; }
.article-nav-prev, .article-nav-next { display: inline-block; padding: 10px 16px; border: 1px solid var(--border); border-radius: 3px; font-size: .84rem; color: var(--text); transition: border-color .2s, color .2s; max-width: 48%; }
.article-nav-prev:hover, .article-nav-next:hover { border-color: var(--green); color: var(--green); }
.article-nav-next { margin-left: auto; text-align: right; }
.article-back { text-align: center; margin: 20px 0 60px; }
.article-back a { display: inline-block; padding: 11px 28px; border: 1px solid var(--border); border-radius: 3px; font-size: .85rem; font-weight: 700; color: var(--text); transition: all .2s; }
.article-back a:hover { border-color: var(--green); color: var(--green); }
.article-cta { background: var(--green3); border-top: 1px solid rgba(4,144,5,.18); padding: 32px 20px; text-align: center; margin: 48px -20px 0; }
.article-cta-text { font-weight: 700; margin-bottom: 16px; }
.article-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-tel { display: inline-block; padding: 12px 24px; border: 2px solid var(--green); color: var(--green); font-size: .9rem; font-weight: 700; border-radius: 3px; transition: all .2s; }
.btn-tel:hover { background: var(--green3); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .works-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .reason-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .header-top { display: none; }
  .global-nav { display: none; }
  .hamburger { display: flex; }
  /* ヒーロー モバイル */
  .hero-outer { min-height: 320px; padding: 0 12px; }
  .hero-inner { padding: 28px 8px; }
  .hero-title-box { font-size: .7rem; padding: 5px 14px; margin-bottom: 14px; }
  .hero-catch { font-size: clamp(1.3rem, 6vw, 1.8rem); margin-bottom: 14px; }
  .hero-tags-row { gap: 6px; margin-bottom: 12px; }
  .hero-tag { font-size: .76rem; padding: 5px 10px; }
  .hero-motto { font-size: .8rem; margin-bottom: 18px; }
  .hero-cta-btn { font-size: .88rem; padding: 12px 24px; }
  .stats-bar-inner { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); padding: 20px; }
  .stat-item:last-child { border-bottom: none; }
  .svc-grid { grid-template-columns: repeat(3,1fr); }
  .service-block { grid-template-columns: 1fr; box-shadow: none; border: 1px solid var(--border); }
  .service-block:nth-child(even) .service-block-img { order: 0; }
  .service-block-body { padding: 28px 24px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-info-panel { order: -1; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .cta-strip-inner { flex-direction: column; text-align: center; gap: 20px; }
  .post-grid { grid-template-columns: repeat(2,1fr); }
  .case-grid { grid-template-columns: 1fr; gap: 10px; }
  .works-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .svc-grid { grid-template-columns: repeat(3,1fr); }
  .svc-item { padding: 22px 8px; }
  .svc-item-img { width: 60px; height: 60px; }
  .svc-item-name { font-size: .72rem; }
  .works-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-badge { width: 60px; height: 60px; font-size: .68rem; }
  .case-grid { grid-template-columns: 1fr; gap: 10px; }
  .section { padding: 52px 16px; }
  .post-grid { grid-template-columns: 1fr; }
  .reason-grid { gap: 0; }
}


@media (max-width: 768px) {
}
@media (max-width: 480px) {
}

/* ===== 業務内容 事例 ===== */
.service-cases {
  margin: 0 0 56px;
}
.service-case {
  margin-bottom: 40px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 16px rgba(0,0,0,.15);
  overflow: hidden;
  padding: 32px 40px;
  border: 2px solid #049005;
}
.service-case-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--green, #2e7d32);
  padding-bottom: 12px;
}
.service-case-num {
  font-size: .75rem;
  font-weight: bold;
  letter-spacing: .12em;
  color: var(--green, #2e7d32);
  background: rgba(46,125,50,.08);
  padding: 4px 12px;
  border-radius: 2px;
}
.service-case-title {
  font-size: 1rem;
  font-weight: bold;
  color: var(--text, #1a1a1a);
  margin: 0;
}
.service-case-compare {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.compare-card {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f5f5f5;
  padding: 12px;
  margin: 0;
  position: relative;
}
.compare-card img {
  max-width: 100%;
  max-height: 500px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 4px;
}
.compare-card figcaption {
  position: absolute;
  top: 0; left: 0;
  font-size: .82rem;
  font-weight: bold;
  letter-spacing: .08em;
  padding: 5px 14px;
  border-radius: 4px 0 4px 0;
}
.compare-card:first-child figcaption {
  background: rgba(15,15,15,.82);
  color: #fff;
}
.compare-card:last-child figcaption {
  background: rgba(255,255,255,.92);
  color: #111;
}

@media (max-width: 768px) {
  .service-case { padding: 24px 20px; }
  .service-case-compare { gap: 8px; }
}
@media (max-width: 480px) {
  .service-case-compare { flex-direction: column; }
  .compare-card { width: 100%; }
}
