:root {
  --ink: #111923;
  --muted: #64707c;
  --paper: #f4f1eb;
  --paper2: #fffaf2;
  --line: rgba(17, 25, 35, .14);
  --accent: #b66f31;
  --deep: #102535;
  --deep2: #071520;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  --serif: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --en: "Cormorant Garamond", Georgia, serif;
  --ease: cubic-bezier(.22, .61, .21, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.85;
  letter-spacing: .03em;
  overflow-x: hidden;
}
body.tone-town { --accent: #9a6936; --deep: #172f2c; --paper: #f3efe6; --paper2: #fffaf0; }
body.tone-urban { --accent: #c57532; --deep: #102535; --paper: #f2f3f2; --paper2: #fffaf3; }
body.tone-lifecycle { --accent: #8a7152; --deep: #202b34; --paper: #f4f1ea; --paper2: #fffaf0; }
body.tone-global { --accent: #b07632; --deep: #101a2b; --paper: #f2f0eb; --paper2: #fff9ef; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; position: relative; z-index: 2; }
.sample-bar {
  position: relative;
  z-index: 300;
  padding: 8px 14px;
  text-align: center;
  background: #fff4db;
  color: #784913;
  border-bottom: 1px solid #e5c477;
  font-size: 12px;
  font-weight: 800;
}
.sample-bar a { text-decoration: underline; text-underline-offset: 3px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 240;
  background: rgba(244, 241, 235, .93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 260px; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; background: var(--deep); color: #fff; font-family: var(--serif); font-weight: 800; }
.brand strong { display: block; font-size: 18px; line-height: 1.35; letter-spacing: .04em; }
.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 800; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 900; }
.nav a { white-space: nowrap; }
.nav a:hover { color: var(--accent); }
.head-cta { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; background: var(--accent); color: #fff; font-weight: 900; box-shadow: 0 16px 34px rgba(0,0,0,.12); }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--line); background: #fff; }
.menu-btn span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform .28s, opacity .28s; }
.hero { min-height: calc(100svh - 82px); position: relative; display: grid; align-items: end; overflow: hidden; background: var(--deep2); }
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, center); opacity: .92; animation: heroMove 15s var(--ease) forwards; }
@keyframes heroMove { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,21,32,.82), rgba(7,21,32,.5) 46%, rgba(7,21,32,.14) 78%), linear-gradient(0deg, rgba(7,21,32,.58), transparent 44%); }
.hero-copy { color: #fff; padding: clamp(92px, 13vw, 150px) 0 clamp(72px, 10vw, 118px); width: min(760px, 100%); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--en); font-size: 18px; font-style: italic; letter-spacing: .22em; color: rgba(255,255,255,.84); }
.eyebrow::before { content: ""; width: 48px; height: 1px; background: currentColor; }
.hero h1 { margin: 22px 0; font-family: var(--serif); font-size: clamp(36px, 6.3vw, 72px); line-height: 1.28; letter-spacing: .055em; font-weight: 700; }
.hero p { max-width: 660px; margin: 0; color: rgba(255,255,255,.88); font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; background: #fff; color: var(--ink); font-weight: 900; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.button.primary { background: var(--accent); color: #fff; }
.hero-panel { position: absolute; z-index: 3; right: max(24px, calc((100vw - 1160px) / 2)); bottom: 42px; width: min(360px, 30vw); padding: 24px; border: 1px solid rgba(255,255,255,.22); color: #fff; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); }
.hero-panel strong { display: block; margin-bottom: 8px; color: #ffd9a8; }
.hero-panel p { margin: 0; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.82); }
section { padding: clamp(84px, 10vw, 138px) 0; position: relative; }
.soft { background: var(--paper2); }
.dark { background: var(--deep); color: #fff; }
.section-head { margin-bottom: clamp(36px, 5vw, 70px); display: grid; gap: 12px; }
.section-head.center { text-align: center; justify-items: center; }
.label { color: var(--accent); font-family: var(--en); font-style: italic; font-size: 17px; letter-spacing: .2em; }
h2 { margin: 0; font-family: var(--serif); font-size: clamp(28px, 4.1vw, 48px); line-height: 1.42; letter-spacing: .05em; }
.section-head p { max-width: 760px; margin: 0; color: var(--muted); font-weight: 800; }
.intro { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(34px, 6vw, 80px); align-items: center; }
.intro h3 { margin: 0 0 22px; font-family: var(--serif); font-size: clamp(25px, 3.4vw, 38px); line-height: 1.6; }
.intro p { color: var(--muted); font-weight: 800; }
.frame { position: relative; overflow: hidden; margin: 0; background: #ddd; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(17,25,35,.12); }
.frame::before { content: ""; display: block; aspect-ratio: 4 / 3; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.grid { display: grid; gap: 22px; }
.service-grid { grid-template-columns: repeat(4, 1fr); }
.card { padding: 28px; background: rgba(255,255,255,.84); border: 1px solid var(--line); box-shadow: 0 24px 64px rgba(17,25,35,.07); }
.card strong { display: block; color: var(--accent); font-family: var(--en); font-size: 32px; margin-bottom: 10px; }
.card h3 { margin: 0 0 10px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-weight: 800; font-size: 14px; }
.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.consult-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.consult-list button { width: 100%; padding: 18px 20px; text-align: left; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font-weight: 900; transition: background .25s, color .25s, transform .25s; }
.consult-list button.active, .consult-list button:hover { background: var(--deep); color: #fff; transform: translateX(4px); }
.consult-result { padding: clamp(30px, 4vw, 48px); background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 64px rgba(17,25,35,.08); }
.consult-result h3 { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(25px, 3.2vw, 36px); }
.consult-result p { margin: 0; color: var(--muted); font-weight: 800; }
.works { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.work { position: relative; min-height: 360px; overflow: hidden; background: var(--deep); }
.work img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; opacity: .82; transition: transform .8s var(--ease); }
.work:hover img { transform: scale(1.04); }
.work div { position: absolute; left: 24px; right: 24px; bottom: 24px; color: #fff; }
.work h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 25px; }
.work p { margin: 0; color: rgba(255,255,255,.82); font-weight: 800; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(255,255,255,.18); }
.step { padding: 28px 18px; background: rgba(255,255,255,.08); }
.step strong { display: block; color: #ffd9a8; font-family: var(--en); font-size: 32px; margin-bottom: 12px; }
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: rgba(255,255,255,.76); font-weight: 700; font-size: 13px; }
.company { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; }
.profile, .contact { padding: clamp(28px, 4vw, 46px); background: #fff; border: 1px solid var(--line); }
dl { display: grid; grid-template-columns: 142px 1fr; margin: 0; }
dt, dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); font-weight: 900; }
dd { font-weight: 800; }
.contact { background: var(--deep); color: #fff; }
.contact h3 { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); }
.contact p { color: rgba(255,255,255,.78); font-weight: 800; }
.disclaimer { padding: 52px 0; background: #fff7e6; color: #704512; border-top: 1px solid #e7d6aa; }
.disclaimer-inner { width: min(860px, calc(100% - 40px)); margin: 0 auto; text-align: center; font-size: 13px; font-weight: 700; }
.disclaimer h2 { margin: 0 0 14px; font-size: 18px; }
.footer { padding: 34px 20px; text-align: center; color: rgba(255,255,255,.64); background: var(--deep2); font-size: 12px; font-weight: 800; }
.bottom-bar { display: none; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 1020px) {
  .container { width: min(100% - 28px, 760px); }
  .nav { position: fixed; top: 112px; left: 14px; right: 14px; display: grid; gap: 0; padding: 12px; background: var(--paper2); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(17,25,35,.16); opacity: 0; transform: translateY(-12px); pointer-events: none; transition: opacity .28s, transform .28s; }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 10px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .head-cta { display: none; }
  .menu-btn { display: block; flex: 0 0 48px; }
  .menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn.is-open span:nth-child(2) { opacity: 0; }
  .menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 88svh; }
  .hero-img img { object-position: var(--hero-mobile-pos, center); }
  .hero-panel { display: none; }
  .intro, .split, .company { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .bottom-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 260; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 999px; box-shadow: 0 18px 48px rgba(17,25,35,.24); }
  .bottom-bar a { display: grid; place-items: center; min-height: 54px; background: var(--accent); color: #fff; font-weight: 900; }
  .bottom-bar a:last-child { background: var(--deep); }
}
@media (max-width: 620px) {
  .sample-bar { font-size: 11px; }
  .brand { min-width: 0; }
  .brand-mark { width: 42px; height: 42px; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 10px; }
  .hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .hero-actions .button { width: 100%; }
  .service-grid, .works { grid-template-columns: 1fr; }
  dl { grid-template-columns: 96px 1fr; font-size: 13px; }
}
