:root {
  --ink: #22272e;
  --accent: #ff6a2b;       /* オレンジ＝活力・親しみ */
  --accent-deep: #e8551a;
  --gray: #6b7280;
  --line: #e5e7eb;
  --light: #f5f6f8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  color: var(--ink);
  line-height: 1.85;
  background: #fff;
}
.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }

/* sample banner */
.sample-banner {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  padding: 8px 16px;
}
.sample-banner a { color: var(--accent); text-decoration: none; }

/* header */
header {
  background: #fff;
  position: sticky; top: 0; z-index: 100;
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--line);
}
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.35rem; font-weight: 800; color: var(--ink); letter-spacing: 0.04em; }
.logo span { display: block; font-size: 0.55rem; letter-spacing: 0.25em; color: var(--gray); font-weight: 600; }
.nav-cta {
  background: var(--accent); color: #fff; text-decoration: none;
  padding: 10px 20px; border-radius: 6px; font-weight: 700; font-size: 0.9rem;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-deep); }

/* hero */
.hero {
  min-height: 78vh; display: flex; align-items: center; color: #fff;
  background: linear-gradient(rgba(34,39,46,0.72), rgba(34,39,46,0.6)),
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1500&q=80") center/cover no-repeat;
}
.hero-inner { max-width: 1000px; margin: 0 auto; padding: 0 24px; width: 100%; }
.hero-sub { font-size: 0.85rem; letter-spacing: 0.25em; color: var(--accent); font-weight: 700; margin-bottom: 16px; }
.hero h1 { font-size: 2.8rem; font-weight: 800; line-height: 1.4; margin-bottom: 20px; }
.hero-lead { font-size: 1.05rem; max-width: 540px; margin-bottom: 32px; color: rgba(255,255,255,0.92); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; background: var(--accent); color: #fff; font-weight: 700;
  padding: 15px 34px; text-decoration: none; border-radius: 6px; transition: transform 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-3px); background: var(--accent-deep); }
.btn-line { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.5); }
.btn-line:hover { background: rgba(255,255,255,0.2); }

/* sections */
section { padding: 84px 0; }
.section-label { text-align: center; font-size: 0.78rem; letter-spacing: 0.3em; color: var(--accent); font-weight: 700; margin-bottom: 8px; }
section h2 { text-align: center; font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; }
.lead { text-align: center; color: var(--gray); margin-bottom: 40px; }
.note { text-align: center; font-size: 0.8rem; color: #aaa; margin-top: 24px; }
.bg-light { background: var(--light); }
.bg-dark { background: var(--ink); }
section h2.light { color: #fff; }

/* works / before-after */
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,0.05); }
.ba { display: flex; }
.ba-img {
  flex: 1; aspect-ratio: 1/1; background-size: cover; background-position: center;
  position: relative;
}
.ba-img span {
  position: absolute; top: 10px; left: 10px;
  font-size: 0.7rem; font-weight: 700; color: #fff; padding: 3px 10px; border-radius: 3px;
}
.ba-img.before { filter: grayscale(70%) brightness(0.78) contrast(0.9); }
.ba-img.before span { background: #555; }
.ba-img.after { filter: saturate(1.12); }
.ba-img.after span { background: var(--accent); }
.case-title { padding: 16px 18px; font-weight: 700; font-size: 0.98rem; }

/* service */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.svc { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 26px 24px; border-radius: 4px; }
.svc h3 { font-size: 1.1rem; margin-bottom: 10px; }
.svc p { font-size: 0.9rem; color: var(--gray); }

/* reason */
.reason-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.reason { text-align: center; padding: 10px; }
.rn { display: inline-block; font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.reason h3 { font-size: 1.15rem; margin: 8px 0 10px; }
.reason p { font-size: 0.9rem; color: var(--gray); text-align: left; }

/* area */
.area-inner { text-align: center; }
.area-inner p { color: var(--gray); }

/* contact */
.contact-inner { text-align: center; }
.light-sub { color: rgba(255,255,255,0.85); margin-bottom: 20px; }
.contact-tel { font-size: 2.6rem; font-weight: 800; color: var(--accent); letter-spacing: 0.04em; margin-bottom: 6px; }
.contact-tel a { color: var(--accent); text-decoration: none; }
.contact-note { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 28px; }

/* footer */
footer { background: #14181d; color: rgba(255,255,255,0.55); text-align: center; padding: 26px 0; font-size: 0.85rem; }

@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  section { padding: 60px 0; }
}
