/*
  芝キング(48king.com) 業種別LP 共通スタイルシート
  本家サイトのブランドカラー・フォントに準拠(2026-07-07 style.min.css解析結果より)
  各LP(lp/*/index.html)はこのファイルを共有する
*/

:root {
  --c-green: #76cc2d;
  --c-green-dark: #56a318;
  --c-text: #383e32;
  --c-bg-soft: #f2f5e9;
  --c-bg-mid: #e8f2c7;
  --c-bg-strong: #cbebaf;
  --c-orange: #faa32d;
  --c-orange-dark: #dd8612;
  --c-line: #00b900;
  --c-white: #fff;
  --font-body: "Noto Sans JP", "Yu Gothic", "游ゴシック体", "Hiragino Kaku Gothic Pro", "メイリオ", sans-serif;
  --font-accent: "Quicksand", var(--font-body);
  --radius: 16px;
  --shadow: 0 8px 24px rgba(56, 62, 50, 0.12);
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-text);
  line-height: 1.8;
  background: var(--c-white);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ===== header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-white);
  border-bottom: 3px solid var(--c-green);
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; }
.site-header .brand img { height: 44px; }
.site-header .brand { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.crumb-back { font-size: .8rem; color: var(--c-green-dark); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta a { font-weight: 700; }
.tel-link { font-family: var(--font-accent); font-size: 1.2rem; color: var(--c-green-dark); }
.tel-link small { display: block; font-size: .6rem; font-weight: 400; color: var(--c-text); }

/* ===== breadcrumb ===== */
.breadcrumb { font-size: .8rem; color: #888; padding: 10px 0; }
.breadcrumb a { color: var(--c-green-dark); }
.breadcrumb span[aria-hidden] { margin: 0 6px; }

/* ===== hero ===== */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--c-bg-mid) 0%, var(--c-bg-soft) 55%, #fff 100%);
  padding: 56px 0 64px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: auto -10% -30% -10%;
  height: 220px;
  background: var(--c-green);
  opacity: .08;
  transform: rotate(-3deg);
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero__badge {
  display: inline-block;
  background: var(--c-green);
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: .05em;
}
.hero h1 {
  font-size: clamp(1.6rem, 4.2vw, 2.6rem);
  font-weight: 900;
  color: var(--c-text);
}
.hero h1 span { color: var(--c-green-dark); }
.hero__lead {
  max-width: 720px; margin: 18px auto 0;
  font-size: 1.05rem;
}
.hero__stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: 28px;
}
.hero__stats li {
  background: #fff; border: 2px solid var(--c-bg-strong);
  border-radius: 12px; padding: 10px 18px;
  font-weight: 700; font-size: .9rem;
  box-shadow: var(--shadow);
}
.hero__stats strong { font-family: var(--font-accent); font-size: 1.3rem; color: var(--c-green-dark); margin-right: 4px; }
.hero__gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  max-width: 820px; margin: 34px auto 0;
}
.hero__gallery img { border-radius: 12px; box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.hero__actions { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* ===== buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; border-radius: 999px; font-weight: 700; font-size: 1.05rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn--fill { background: var(--c-orange); color: #fff; box-shadow: 0 6px 18px rgba(250,163,45,.4); }
.btn--fill:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(250,163,45,.5); }
.btn--line { background: var(--c-line); color: #fff; box-shadow: 0 6px 18px rgba(0,185,0,.35); }
.btn--line:hover { transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--c-green-dark); border: 2px solid var(--c-green); }
.btn--sm { padding: 10px 20px; font-size: .9rem; }
.btn--block { width: 100%; justify-content: center; }

/* ===== section basics ===== */
.section { padding: 72px 0; }
.section--soft { background: var(--c-bg-soft); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-eyebrow {
  font-family: var(--font-accent); font-weight: 700; letter-spacing: .12em;
  color: var(--c-green); text-transform: uppercase; font-size: .85rem;
}
.section-head h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 6px; font-weight: 900; }
.section-head p { margin-top: 12px; color: #555; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ===== problem/solution ===== */
.problems { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.problem-card {
  background: #fff; border-radius: var(--radius); padding: 26px 22px;
  box-shadow: var(--shadow); border-top: 5px solid var(--c-orange);
}
.problem-card .mark { font-size: 1.6rem; margin-bottom: 8px; }
.problem-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.problem-card p { font-size: .92rem; color: #555; margin: 0; }

/* ===== feature list ===== */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow);
  border: 2px solid var(--c-bg-mid);
}
.feature-card .num {
  font-family: var(--font-accent); font-weight: 700; color: var(--c-green);
  font-size: 1.6rem; display: block; margin-bottom: 6px;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { font-size: .92rem; color: #555; margin: 0; }

/* ===== gallery / case studies ===== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.gallery-item {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-item figcaption { padding: 14px 16px; font-size: .88rem; color: #555; }
.gallery-item figcaption strong { display: block; color: var(--c-text); font-size: .95rem; margin-bottom: 4px; }

/* ===== staff / supervisor card ===== */
.staff-card {
  display: flex; gap: 28px; background: #fff; border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); border: 3px solid var(--c-green);
  align-items: flex-start;
}
.staff-card img { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; border: 4px solid var(--c-bg-mid); flex-shrink: 0; }
.staff-card .role { font-size: .8rem; color: var(--c-green-dark); font-weight: 700; letter-spacing: .05em; }
.staff-card h3 { font-size: 1.3rem; margin: 4px 0 10px; }
.staff-card .cred { font-size: .82rem; color: #777; margin-bottom: 12px; }
.staff-card p.bio { font-size: .92rem; color: #444; margin: 0; }
@media (max-width: 640px) {
  .staff-card { flex-direction: column; align-items: center; text-align: center; }
}

/* ===== flow ===== */
.flow-list { counter-reset: flow; display: grid; gap: 18px; }
.flow-list li {
  position: relative; background: #fff; border-radius: var(--radius);
  padding: 22px 26px 22px 78px; box-shadow: var(--shadow);
}
.flow-list li::before {
  counter-increment: flow; content: counter(flow);
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-green); color: #fff; font-family: var(--font-accent);
  font-weight: 700; font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
}
.flow-list h3 { font-size: 1rem; margin-bottom: 4px; }
.flow-list p { font-size: .88rem; color: #555; margin: 0; }

/* ===== faq ===== */
.faq-list { display: grid; gap: 14px; }
.faq-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.faq-q {
  display: flex; align-items: center; gap: 14px; padding: 20px 24px; cursor: pointer;
  font-weight: 700; font-size: .98rem;
}
.faq-q::before { content: "Q"; font-family: var(--font-accent); color: #fff; background: var(--c-orange); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.faq-q::after { content: "+"; margin-left: auto; font-size: 1.4rem; color: var(--c-green); }
.faq-item[open] .faq-q::after { content: "−"; }
.faq-a { padding: 0 24px 22px 68px; font-size: .92rem; color: #555; }

/* ===== cta banner ===== */
.cta-banner {
  background: var(--c-green); color: #fff; text-align: center; padding: 56px 0;
}
.cta-banner h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,.9); margin-bottom: 26px; }
.cta-banner .btn--fill { background: #fff; color: var(--c-orange-dark); }
.cta-banner .btn--line { background: #fff; color: var(--c-line); }

/* ===== badges row ===== */
.badge-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 24px; }
.badge-row li {
  background: #fff; border-radius: 10px; padding: 10px 16px; font-size: .82rem; font-weight: 700;
  box-shadow: var(--shadow); color: var(--c-green-dark);
}

/* ===== footer ===== */
.site-footer { background: var(--c-text); color: #eee; padding: 48px 0 24px; }
.site-footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.site-footer img { height: 50px; filter: brightness(0) invert(1); opacity: .9; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; font-size: .85rem; }
.footer-links a:hover { color: var(--c-green); }
.copyright { font-size: .75rem; color: #999; }

/* ===== related lp links ===== */
.related-lp { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.related-lp a {
  background: #fff; border-radius: 12px; padding: 16px; box-shadow: var(--shadow);
  font-weight: 700; font-size: .88rem; text-align: center; border: 2px solid transparent;
}
.related-lp a:hover { border-color: var(--c-green); }

/* ===== category hub cards ===== */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.category-card {
  display: block; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 2px solid var(--c-bg-mid); transition: transform .15s ease, box-shadow .15s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(56,62,50,.18); border-color: var(--c-green); }
.category-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.category-card__body { padding: 20px 22px 24px; }
.category-card__tag { font-family: var(--font-accent); font-size: .75rem; font-weight: 700; color: var(--c-green-dark); letter-spacing: .06em; }
.category-card h3 { font-size: 1.1rem; margin: 6px 0 10px; }
.category-card p { font-size: .86rem; color: #555; margin: 0 0 10px; }
.category-card .more { font-size: .82rem; font-weight: 700; color: var(--c-orange-dark); }

/* ===== sticky mobile cta ===== */
.mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  display: none; background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.12);
  padding: 10px 14px;
}
.mobile-cta .row { display: flex; gap: 10px; }
.mobile-cta .btn { flex: 1; padding: 14px 10px; font-size: .9rem; justify-content: center; }
@media (max-width: 780px) {
  .mobile-cta { display: block; }
  body { padding-bottom: 74px; }
  .hero__gallery { grid-template-columns: repeat(2, 1fr); }
  .staff-card { padding: 22px; }
}

/* utility */
.only-pc { display: inline; }
.only-sp { display: none; }
@media (max-width: 780px) {
  .only-pc { display: none; }
  .only-sp { display: inline; }
}
