/* 蒼樹建設株式会社 — design sample (Sapporo Web) */
:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --navy-3: #0a1a31;
  --amber: #f2a900;
  --amber-dark: #d99500;
  --ink: #17233a;
  --ink-soft: #5b6779;
  --bg: #f3f5f8;
  --line: #dde3ea;
  --sans: "Noto Sans JP", "Hiragino Sans", "Meiryo", sans-serif;
  --cond: "Barlow Condensed", "Noto Sans JP", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.9 var(--sans); letter-spacing: .02em; padding-bottom: 64px; -webkit-text-size-adjust: 100%; }
h1, h2, h3 { text-wrap: balance; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
.nb { display: inline-block; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }

/* ---- sample banner (fixed) ---- */
.sample-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 20px;
  padding: 10px 16px; background: #1d1d1f; color: #fff; font: 700 13px/1.5 "Zen Kaku Gothic New", "Hiragino Sans", "Meiryo", sans-serif;
  letter-spacing: .02em; text-align: center; border-top: 3px solid #ffd23f;
}
.sample-bar strong { background: #ffd23f; color: #1d1d1f; padding: 1px 8px; border-radius: 4px; margin-right: 4px; }
.sample-bar__link { color: #fff; text-underline-offset: 3px; white-space: nowrap; }
.capture .sample-bar { display: none; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; gap: 32px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name { display: flex; flex-direction: column; font: 900 22px/1.2 var(--sans); letter-spacing: .1em; }
.brand__name small { font: 600 10.500px/1.3 var(--cond); letter-spacing: .16em; color: #9fb2cf; margin-top: 1px; }
.nav { display: flex; gap: 28px; font: 500 14px var(--sans); }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; color: #dbe5f3; }
.nav a:hover { color: #fff; border-color: var(--amber); }
.header-cta { background: var(--amber); color: var(--navy); font: 700 14px/1 var(--sans); padding: 14px 24px; text-decoration: none; letter-spacing: .08em; border-radius: 3px; }
.header-cta:hover { background: #ffc233; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 36px; background: var(--amber); color: var(--navy); font: 700 16px/1.2 var(--sans); letter-spacing: .08em; text-decoration: none; border: 2px solid var(--amber); border-radius: 3px; transition: background .2s; }
.btn:hover { background: #ffc233; border-color: #ffc233; }
.btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--line:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--navy); }
.btn--light:hover { background: var(--amber); border-color: var(--amber); }

/* ---- hero ---- */
.hero { position: relative; background: var(--navy-3); color: #fff; padding: 56px 0 0; overflow: hidden; min-height: clamp(700px, calc(100vh - 66px), 860px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scaleX(-1); opacity: .95; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,22,45,.92) 0, rgba(8,22,45,.55) 55%, rgba(8,22,45,.15) 100%), linear-gradient(0deg, rgba(8,22,45,.95) 0, rgba(8,22,45,0) 45%); }
.hero-inner { position: relative; padding-bottom: 44px; }
.hero__tag { display: inline-block; font: 700 13px/1 var(--sans); letter-spacing: .2em; color: var(--amber); border-left: 4px solid var(--amber); padding: 2px 0 2px 14px; margin-bottom: 22px; }
.hero h1 { font: 900 clamp(36px, 4.8vw, 66px)/1.3 var(--sans); letter-spacing: .04em; margin: 0 0 22px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero__lead { max-width: 640px; color: #d4deec; font-size: 16.500px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.stats { position: relative; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; color: var(--ink); border-top: 5px solid var(--amber); transform: translateY(1px); box-shadow: 0 -20px 50px -30px rgba(0,0,0,.5); }
.stats div { padding: 22px 26px 20px; border-left: 1px solid var(--line); }
.stats div:first-child { border-left: 0; }
.stats dt { font: 700 12.500px/1.2 var(--sans); letter-spacing: .14em; color: var(--ink-soft); margin-bottom: 6px; }
.stats dd { margin: 0; font-size: 14px; line-height: 1.5; }
.stats b { font: 700 44px/1 var(--cond); color: var(--navy); letter-spacing: .02em; margin-right: 2px; }

/* ---- sections ---- */
.section { padding: 104px 0; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head--left { text-align: left; margin-bottom: 36px; }
.eyebrow { font: 600 15px/1 var(--cond); letter-spacing: .3em; color: var(--navy-2); margin: 0 0 12px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--amber); }
.section-head:not(.section-head--left) .eyebrow { justify-content: center; }
.eyebrow--amber { color: var(--amber); }
.section-title { font: 900 clamp(28px, 3.2vw, 40px)/1.4 var(--sans); letter-spacing: .08em; margin: 0 0 10px; color: var(--navy); }
.lead { color: var(--ink-soft); margin: 0; }

/* business */
.business-inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; }
.business__intro .lead { margin-bottom: 30px; }
.business__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; box-shadow: 18px 18px 0 -2px var(--bg); }
.business__list { list-style: none; margin: 0; padding: 0; counter-reset: b; }
.business__list li { display: flex; gap: 26px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.business__list li:first-child { padding-top: 6px; }
.num { font: 700 46px/1 var(--cond); color: var(--amber); flex: none; width: 56px; letter-spacing: .02em; }
.business__list h3 { font: 900 21px/1.5 var(--sans); letter-spacing: .06em; margin: 0 0 6px; color: var(--navy); }
.business__list p { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.9; }

/* strength */
.strength { background: var(--navy); color: #fff; padding: 96px 0; position: relative; }
.strength::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: repeating-linear-gradient(135deg, var(--amber) 0 18px, var(--navy) 18px 36px); }
.section-head--light .section-title { color: #fff; }
.section-head--light .eyebrow { color: #9fb2cf; }
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.strength-grid article { background: var(--navy); padding: 42px 36px 40px; }
.strength__no { font: 700 56px/1 var(--cond); color: var(--amber); display: block; margin-bottom: 14px; }
.strength-grid h3 { font: 900 21px/1.5 var(--sans); letter-spacing: .06em; margin: 0 0 12px; }
.strength-grid p { color: #bccae0; font-size: 15px; margin: 0; }

/* works */
.works { background: var(--bg); }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work { background: #fff; box-shadow: 0 16px 36px -28px rgba(11,31,58,.6); }
.work__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.work:hover .work__img img { transform: scale(1.05); }
.chip { position: absolute; left: 0; top: 16px; background: var(--amber); color: var(--navy); font: 700 12.500px/1 var(--sans); padding: 8px 16px 8px 14px; letter-spacing: .1em; }
.chip--blue { background: #fff; color: var(--navy); }
.work__body { padding: 20px 24px 22px; border-top: 4px solid var(--navy); }
.work h3 { font: 700 18px/1.55 var(--sans); letter-spacing: .04em; margin: 0 0 4px; color: var(--navy); }
.work p { margin: 0; font-size: 13.500px; color: var(--ink-soft); line-height: 1.7; }

.work--more { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 36px; background: var(--navy); color: #fff; text-decoration: none; box-shadow: none; border-top: 4px solid var(--amber); min-height: 260px; }
.work--more__en { font: 600 15px/1 var(--cond); letter-spacing: .3em; color: var(--amber); }
.work--more strong { font: 900 22px/1.6 var(--sans); letter-spacing: .06em; }
.work--more__go { font: 700 14px/1 var(--sans); letter-spacing: .1em; }
.work--more__go i { font-style: normal; color: var(--amber); margin-left: 6px; transition: margin .2s; }
.work--more:hover .work--more__go i { margin-left: 14px; }

/* company */
.company-inner { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: start; }
.company-table { width: 100%; border-collapse: collapse; border-top: 3px solid var(--navy); }
.company-table th, .company-table td { text-align: left; vertical-align: top; padding: 20px 8px; border-bottom: 1px solid var(--line); font-size: 15.500px; line-height: 1.85; }
.company-table th { width: 9.500em; font-weight: 700; color: var(--navy); background: transparent; padding-left: 20px; letter-spacing: .1em; white-space: nowrap; }
.company-table tr:nth-child(odd) { background: #f8f9fb; }

/* recruit */
.recruit { position: relative; color: #fff; overflow: hidden; background: var(--navy-3); }
.recruit__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.recruit__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,25,50,.94) 0, rgba(9,25,50,.78) 60%, rgba(9,25,50,.55) 100%); }
.recruit-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px 56px; padding: 88px 0; flex-wrap: wrap; }
.recruit h2 { font: 900 clamp(26px, 3.2vw, 40px)/1.5 var(--sans); letter-spacing: .08em; margin: 0 0 16px; }
.recruit p:not(.eyebrow) { color: #d0dbec; max-width: 560px; margin: 0; }
.recruit .eyebrow { color: var(--amber); }

/* contact */
.contact { background: var(--navy-2); color: #fff; padding: 88px 0; position: relative; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.contact h2 { font: 900 clamp(26px, 3vw, 36px)/1.5 var(--sans); letter-spacing: .06em; margin: 0 0 14px; }
.contact__text p:not(.eyebrow) { color: #c6d3e6; margin: 0; }
.contact__boxes { display: grid; gap: 16px; }
.contact-box { display: flex; flex-direction: column; text-decoration: none; padding: 24px 30px 22px; border-radius: 4px; transition: transform .2s; }
.contact-box:hover { transform: translateY(-2px); }
.contact-box--tel { background: var(--amber); color: var(--navy); }
.contact-box--mail { background: #fff; color: var(--navy); }
.contact-box__label { font: 700 13px/1.5 var(--sans); letter-spacing: .14em; }
.contact-box__num { font: 700 46px/1.2 var(--cond); letter-spacing: .05em; }
.contact-box__num--mail { font-size: 32px; letter-spacing: .03em; word-break: break-all; }
.contact-box__sub { font-size: 13px; opacity: .8; }

/* footer */
.site-footer { background: var(--navy-3); color: #aebbd0; padding: 32px 0; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px 40px; flex-wrap: wrap; }
.site-footer p { margin: 0; }
.footer-brand { font: 900 19px/1.5 var(--sans); letter-spacing: .1em; color: #fff; }
.copy { color: #7f8ea8; }

/* ---- tablet / phone ---- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .hero { min-height: 0; padding-top: 72px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .business-inner, .company-inner, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .strength-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 76px 0; }
}
@media (max-width: 600px) {
  body { font-size: 15px; padding-bottom: 78px; }
  .wrap { width: calc(100% - 32px); }
  .sample-bar { font-size: 11px; flex-direction: column; gap: 1px; padding: 7px 8px; }
  .sample-bar strong { padding: 0 6px; }
  .header-inner { gap: 10px; padding: 10px 0; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 18px; }
  .brand__name small { font-size: 9px; letter-spacing: .08em; }
  .header-cta { padding: 11px 14px; font-size: 13px; }
  .hero { padding-top: 56px; }
  .hero__bg { object-position: 30% 20%; }
  .hero__shade { background: linear-gradient(0deg, rgba(8,22,45,.96) 0, rgba(8,22,45,.7) 55%, rgba(8,22,45,.35) 100%); }
  .hero h1 { font-size: 36px; }
  .hero__lead { font-size: 15px; }
  .hero__lead br { display: none; }
  .hero-inner { padding-bottom: 36px; }
  .hero__actions .btn { flex: 1 1 100%; padding: 16px; }
  .stats div { padding: 16px 16px 14px; }
  .stats b { font-size: 36px; }
  .stats dd { font-size: 12px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .business__list li { gap: 16px; padding: 22px 0; }
  .num { font-size: 36px; width: 42px; }
  .business__list h3 { font-size: 18px; }
  .business__photo { box-shadow: 10px 10px 0 -2px var(--bg); width: calc(100% - 10px); }
  .strength { padding: 64px 0; }
  .strength-grid article { padding: 30px 24px; }
  .works-grid { grid-template-columns: 1fr; gap: 20px; }
  .company-table th, .company-table td { display: block; width: auto; padding: 0 16px; border: 0; }
  .company-table th { padding-top: 14px; font-size: 13px; color: var(--ink-soft); letter-spacing: .12em; }
  .company-table td { padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .recruit-inner { padding: 60px 0; }
  .recruit .btn { width: 100%; }
  .contact { padding: 60px 0; }
  .contact h2 { font-size: 24px; }
  .company-inner { gap: 0; }
  .contact-box { padding: 20px 20px 18px; }
  .contact-box__num { font-size: 40px; }
  .contact-box__num--mail { font-size: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
