:root {
  --ink: #1D2528;
  --muted: #4F5B60;
  --line: #D5DBDD;
  --field: #7D8A8F;
  --paper: #F3F5F4;
  --ph: #E2E7E8;
  --accent: #2B5B6B;
  --accent-dark: #1D3F4A;
  --accent-soft: #DCE8EB;
  --signal: #C2410C;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
html[lang="ja"] {
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #FFFFFF; line-height: 1.75; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section.alt { background: var(--paper); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.section-title { font-family: var(--serif); font-size: 32px; line-height: 1.4; }
.lead { font-size: 16px; color: var(--muted); max-width: 40em; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px 64px; }
.ph { background: var(--ph); border: 1px dashed var(--field); border-radius: 4px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: 14px; padding: 8px; }

/* Sample notice */
.sample-bar { background: #FFF4E5; color: #7A2E0B; font-size: 13px; text-align: center; padding: 8px 24px; border-bottom: 1px solid #F3D3B0; }

/* Header */
.site-header { background: #FFFFFF; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand svg { flex: none; }
.brand-name { font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 1.3; }
.brand-sub { display: block; font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: 0 22px; font-size: 15px; }
.nav a { display: inline-block; padding: 11px 0; color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--accent); }
.lang { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.lang a { display: inline-block; padding: 11px 4px; }
.lang .current { font-weight: 700; }
.lang .sep { color: var(--field); }

/* Hero */
.hero { background: var(--paper); padding: 80px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: center; }
.hero h1 { font-family: var(--serif); font-size: clamp(32px, 4.6vw, 50px); line-height: 1.35; }
.hero p { font-size: 17px; line-height: 1.9; color: var(--muted); max-width: 32em; }
.hero-map { background: #FFFFFF; border: 1px solid var(--line); border-radius: 6px; padding: 16px; }
.hero-map svg { display: block; width: 100%; height: auto; }
.hero-map figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 4px; text-decoration: none; font: inherit; font-weight: 700; cursor: pointer; }
.btn-primary { background: var(--accent); color: #FFFFFF; border: 0; }
.btn-primary:hover { background: var(--accent-dark); color: #FFFFFF; }
.btn-outline { border: 1px solid var(--accent); color: var(--accent); background: #FFFFFF; }

/* Scenes */
.scenes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.scenes li { background: var(--accent-soft); color: var(--accent-dark); font-size: 14px; padding: 6px 14px; border-radius: 999px; }

/* Services */
.services { border-bottom: 1px solid var(--line); }
.service { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 48px; padding: 28px 0; border-top: 1px solid var(--line); }
.service h3 { font-size: 20px; line-height: 1.5; }
.service p { font-size: 15px; line-height: 1.9; color: var(--muted); }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 56px 20px 24px 0; border-top: 2px solid var(--accent); }
.steps li::before { content: counter(step); position: absolute; top: -17px; left: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #FFFFFF; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.steps h3 { font-size: 17px; margin-bottom: 8px; }
.steps p { font-size: 14px; line-height: 1.85; color: var(--muted); }
.steps .out { display: block; margin-top: 10px; font-size: 13px; color: var(--ink); }
.note { margin-top: 24px; font-size: 14px; color: var(--muted); }

/* Cases */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px 32px; }
.case { display: flex; flex-direction: column; gap: 12px; }
.case .ph { aspect-ratio: 3 / 2; }
.case h3 { font-size: 18px; line-height: 1.5; }
.case .meta { font-size: 13px; color: var(--muted); }
.case dl { margin: 0; display: grid; gap: 6px; font-size: 14px; line-height: 1.8; }
.case dt { font-weight: 700; }
.case dd { margin: 0 0 6px; color: var(--muted); }

/* About */
.about-text { font-size: 16px; line-height: 1.95; max-width: 34em; }
.facts { margin: 0; display: grid; grid-template-columns: minmax(7em, auto) minmax(0, 1fr); border-top: 1px solid var(--line); font-size: 15px; }
.facts dt, .facts dd { padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dt { padding-right: 16px; color: var(--muted); }
.facts dd { margin: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-size: 16px; font-weight: 700; list-style-position: outside; }
.faq details p { padding: 0 0 20px; font-size: 15px; line-height: 1.9; color: var(--muted); max-width: 46em; }

/* News */
.news { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.news li { display: flex; flex-wrap: wrap; gap: 4px 32px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.news .date { color: var(--muted); min-width: 7em; }

/* Contact */
.contact-list { margin: 0; display: grid; grid-template-columns: minmax(4em, auto) minmax(0, 1fr); gap: 10px 16px; font-size: 15px; }
.contact-list dt { color: var(--muted); }
.contact-list dd { margin: 0; }
.contact-media { display: flex; flex-wrap: wrap; gap: 16px; }
.qr { width: 128px; height: 128px; font-size: 13px; }
.map { flex: 1 1 200px; min-height: 128px; font-size: 13px; }
.form { display: flex; flex-direction: column; gap: 18px; background: var(--paper); padding: 32px; border-radius: 4px; }
.form h3 { font-size: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--field); border-radius: 4px; background: #FFFFFF; color: var(--ink); font: inherit; }
.field textarea { resize: vertical; }
.agree { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; }
.agree input { width: 20px; height: 20px; margin: 0; }
.form .btn { align-self: flex-start; }
.form-msg { font-size: 14px; color: var(--signal); min-height: 1.5em; }

/* Footer */
.site-footer { background: var(--ink); color: #E6EAEB; font-size: 14px; }
.site-footer .wrap { padding-top: 48px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 24px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 48px; }
.footer-name { font-family: var(--serif); font-size: 18px; font-weight: 700; display: block; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer-nav a { display: inline-block; padding: 11px 0; color: #CFE3E8; }
.footer-bottom { padding-top: 20px; border-top: 1px solid #3A4549; color: #C3CBCE; font-size: 13px; }

@media (max-width: 720px) {
  .site-header { position: static; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0; }
}


/* ===== v2: richer look ===== */
.brand-mark { font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 800; letter-spacing: .04em; font-size: 17px; line-height: 1.1; color: var(--ink); }
.brand-text { display: flex; flex-direction: column; }
.brand-text small { font-size: 12px; color: var(--muted); font-weight: 400; }

.hero { background: #13262D; color: #FFFFFF; padding: 88px 0 96px; }
.hero h1 { color: #FFFFFF; }
.hero p { color: #C9D6DA; }
.hero .kicker { font-size: 14px; color: #7FD1C7; letter-spacing: .04em; }
.hero .btn-primary { background: #7FD1C7; color: #0F1A1D; }
.hero .btn-primary:hover { background: #A6E1D9; color: #0F1A1D; }
.hero .btn-outline { background: transparent; border-color: #7FD1C7; color: #FFFFFF; }
.hero .btn-outline:hover { color: #7FD1C7; }
.hero-media { margin: 0; }
.hero-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.hero-media figcaption { margin-top: 10px; font-size: 13px; color: #9FB3B9; }

.values { background: #FFFFFF; border-bottom: 1px solid var(--line); }
.values .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; }
.value { display: flex; gap: 14px; align-items: flex-start; padding: 28px 24px 28px 0; }
.value svg { flex: none; }
.value strong { display: block; font-size: 16px; }
.value span { font-size: 14px; color: var(--muted); line-height: 1.7; }

.service { grid-template-columns: 56px minmax(0, 1fr); align-items: start; }
.service .body { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 40px; }
.icon-box { width: 48px; height: 48px; border-radius: 10px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; }

.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: start; }
.process-grid .steps { grid-template-columns: 1fr; }
.process-grid .steps li { border-top: 0; border-left: 2px solid var(--accent); padding: 0 0 26px 32px; margin-left: 16px; }
.process-grid .steps li:last-child { border-left-color: transparent; }
.process-grid .steps li::before { top: -4px; left: -17px; }
.floor { margin: 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.floor svg { display: block; width: 100%; height: auto; }
.floor figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

.case img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; background: var(--ph); }
.about-photo { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: var(--ph); }

.cta { background: var(--accent); color: #FFFFFF; padding: 56px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { font-family: var(--serif); font-size: 28px; line-height: 1.4; }
.cta p { color: #D6E6EA; font-size: 15px; margin-top: 6px; }
.cta .btn { background: #FFFFFF; color: var(--accent-dark); }
.cta .btn:hover { background: #E6F1F3; color: var(--accent-dark); }

.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px 48px; }
.footer-cols h3 { font-size: 14px; color: #FFFFFF; margin-bottom: 8px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols a { display: inline-block; padding: 6px 0; color: #CFE3E8; text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; color: #FFFFFF; }
.footer-cols p { color: #C3CBCE; line-height: 1.9; }

@media (max-width: 720px) {
  .hero { padding: 56px 0 64px; }
  .value { padding: 18px 0; }
  .service { grid-template-columns: 1fr; }
}

html[lang="ja"] .hero h1 { font-size: clamp(28px, 3.8vw, 42px); }
