/* ===== Variables & Reset ===== */
:root {
  --brown: #4A2C0A;
  --rust: #C45C26;
  --cream: #FFF8F0;
  --gold: #8B6914;
  --brown-light: #6B4423;
  --rust-light: #D97B4A;
  --bg: #FDFAF5;
  --text: #3A2A1A;
  --text-light: #7A6A5A;
  --border: #E8DDD0;
  --shadow: 0 4px 24px rgba(74,44,10,0.08);
  --shadow-lg: 0 12px 48px rgba(74,44,10,0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --header-h: 72px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brown); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.br-pc { display: inline; }
.br-sp { display: none; }

/* ===== Sample Banner ===== */
.sample-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: var(--brown);
  color: var(--cream);
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.sample-banner a { color: #F0C040; font-weight: 700; }
.sample-banner a:hover { color: #FFD760; }

/* ===== Header ===== */
.header {
  position: fixed; top: 32px; left: 0; right: 0; z-index: 1000;
  background: rgba(253,250,245,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled { background: rgba(253,250,245,0.98); box-shadow: var(--shadow); }
.header { transition: background var(--transition), box-shadow var(--transition), transform 0.35s ease; }

.header-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-family: 'Noto Serif JP', serif; font-weight: 900; font-size: 18px; color: var(--brown); line-height: 1.2; }
.logo-sub { font-size: 9px; color: var(--text-light); letter-spacing: 0.15em; font-weight: 500; }

.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-desktop a { font-size: 13.5px; color: var(--text); font-weight: 500; position: relative; }
.nav-desktop a:not(.nav-cta)::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--rust); transition: width var(--transition);
}
.nav-desktop a:not(.nav-cta):hover::after, .nav-desktop a:not(.nav-cta).active::after { width: 100%; }
.nav-desktop a:not(.nav-cta):hover, .nav-desktop a:not(.nav-cta).active { color: var(--rust); }

.nav-cta {
  background: var(--rust); color: #fff !important; padding: 8px 20px;
  border-radius: var(--radius); font-weight: 700; font-size: 13px;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--brown); transform: translateY(-1px); color: #fff !important; }

.hamburger { display: none; background: none; border: none; cursor: pointer; width: 32px; height: 24px; position: relative; }
.hamburger span {
  display: block; width: 100%; height: 2px; background: var(--brown);
  position: absolute; left: 0; transition: var(--transition);
}
.hamburger span:nth-child(1) { top: 2px; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 20px; }
.hamburger.active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* ===== Mobile Nav ===== */
.mobile-nav {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 999;
  background: rgba(253,250,245,0.98);
  backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.mobile-nav.active { opacity: 1; pointer-events: all; }

.mobile-nav-inner { text-align: center; }
.mobile-nav-link {
  display: block; font-family: 'Noto Serif JP', serif; font-size: 20px;
  color: var(--brown); padding: 12px 0; font-weight: 700;
  transform: translateY(20px); opacity: 0; transition: all 0.4s ease;
}
.mobile-nav.active .mobile-nav-link {
  transform: translateY(0); opacity: 1;
}
.mobile-nav.active .mobile-nav-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav.active .mobile-nav-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav.active .mobile-nav-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav.active .mobile-nav-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav.active .mobile-nav-link:nth-child(5) { transition-delay: 0.25s; }
.mobile-nav.active .mobile-nav-link:nth-child(6) { transition-delay: 0.3s; }
.mobile-nav.active .mobile-nav-link:nth-child(7) { transition-delay: 0.35s; }

.mobile-nav-cta {
  display: inline-block; margin-top: 20px; background: var(--rust);
  color: #fff; padding: 14px 40px; border-radius: var(--radius);
  font-weight: 700; font-size: 16px;
  transform: translateY(20px); opacity: 0; transition: all 0.4s ease 0.4s;
}
.mobile-nav.active .mobile-nav-cta { transform: translateY(0); opacity: 1; }

.mobile-nav-tel {
  margin-top: 24px; transform: translateY(20px); opacity: 0;
  transition: all 0.4s ease 0.45s;
}
.mobile-nav.active .mobile-nav-tel { transform: translateY(0); opacity: 1; }
.mobile-nav-tel span { display: block; font-size: 12px; color: var(--text-light); }
.mobile-nav-tel a { font-family: 'Noto Serif JP', serif; font-size: 24px; color: var(--brown); font-weight: 700; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: calc(var(--header-h) + 32px + 40px) 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(74,44,10,0.6) 0%,
    rgba(74,44,10,0.4) 50%,
    rgba(74,44,10,0.7) 100%
  );
}

.hero-content { position: relative; z-index: 1; text-align: center; max-width: 720px; }
.hero-lead {
  font-size: 15px; color: rgba(255,248,240,0.85); letter-spacing: 0.15em;
  margin-bottom: 16px; font-weight: 500;
}
.hero-title {
  font-family: 'Noto Serif JP', serif; font-size: clamp(28px, 5vw, 48px);
  color: var(--cream); font-weight: 900; line-height: 1.4;
  margin-bottom: 20px; letter-spacing: 0.04em;
}
.hero-desc {
  font-size: 15px; color: rgba(255,248,240,0.85); line-height: 1.9;
  margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 14px 32px; border-radius: var(--radius);
  font-size: 15px; font-weight: 700; cursor: pointer; border: none;
  transition: all var(--transition); text-align: center;
}
.btn-primary {
  background: var(--rust); color: #fff;
  box-shadow: 0 4px 16px rgba(196,92,38,0.3);
}
.btn-primary:hover {
  background: var(--brown); color: #fff;
  transform: translateY(-2px); box-shadow: 0 6px 24px rgba(74,44,10,0.3);
}
.btn-outline {
  background: transparent; color: var(--cream);
  border: 2px solid rgba(255,248,240,0.5);
}
.btn-outline:hover {
  background: rgba(255,248,240,0.1); color: var(--cream);
  border-color: var(--cream);
}
.btn-full { width: 100%; }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll span { font-size: 11px; color: rgba(255,248,240,0.6); letter-spacing: 0.15em; }
.scroll-line {
  width: 1px; height: 48px; background: rgba(255,248,240,0.3); position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--cream);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 100% { top: 100%; } }

/* ===== Numbers ===== */
.numbers { padding: 64px 0; background: var(--brown); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.number-item { color: var(--cream); }
.number-value {
  font-family: 'Noto Serif JP', serif; font-size: clamp(36px, 5vw, 52px);
  font-weight: 900; color: var(--rust-light); line-height: 1;
}
.number-unit { font-size: 18px; color: var(--rust-light); font-weight: 700; margin-left: 2px; }
.number-label { display: block; font-size: 13px; color: rgba(255,248,240,0.7); margin-top: 8px; }

/* ===== Section Common ===== */
.section-label {
  font-size: 12px; color: var(--rust); letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 700; margin-bottom: 8px;
}
.section-title {
  font-family: 'Noto Serif JP', serif; font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900; color: var(--brown); line-height: 1.4;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 15px; color: var(--text-light); line-height: 1.9;
  margin-bottom: 40px; max-width: 640px;
}

/* ===== About ===== */
.about { padding: 100px 0; }
.about-body { margin-top: 48px; }

.about-timeline { position: relative; padding-left: 32px; }
.about-timeline::before {
  content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-year {
  font-family: 'Noto Serif JP', serif; font-size: 14px; color: var(--rust);
  font-weight: 700; letter-spacing: 0.1em; margin-bottom: 6px;
}
.timeline-dot {
  position: absolute; left: -28px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--cream); border: 3px solid var(--rust);
}
.timeline-content h3 {
  font-family: 'Noto Serif JP', serif; font-size: 18px;
  font-weight: 700; color: var(--brown); margin-bottom: 6px;
}
.timeline-content p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

.about-visual { margin-top: 56px; display: flex; gap: 40px; align-items: center; }
.about-icon-wrap { flex-shrink: 0; width: 180px; height: 180px; }
.about-abstract { width: 100%; height: 100%; }

.about-philosophy h3 {
  font-family: 'Noto Serif JP', serif; font-size: 20px;
  font-weight: 700; color: var(--brown); margin-bottom: 12px;
}
.about-philosophy p { font-size: 14.5px; color: var(--text-light); line-height: 1.9; margin-bottom: 16px; }
.about-quote {
  font-family: 'Noto Serif JP', serif; font-style: italic;
  color: var(--rust); font-size: 14px; line-height: 1.9;
  padding-left: 16px; border-left: 3px solid var(--rust);
}

/* ===== Services ===== */
.services { padding: 100px 0; background: var(--cream); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }

.service-card {
  background: #fff; border-radius: var(--radius-lg); padding: 36px 32px;
  border: 1px solid var(--border); transition: all var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--rust); }

.service-icon { margin-bottom: 20px; }
.service-title {
  font-family: 'Noto Serif JP', serif; font-size: 20px;
  font-weight: 700; color: var(--brown); margin-bottom: 10px;
}
.service-desc { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.service-points { list-style: none; }
.service-points li {
  font-size: 13px; color: var(--text); padding: 4px 0 4px 20px; position: relative;
}
.service-points li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--rust); opacity: 0.5;
}

/* ===== Land Consulting ===== */
.land { padding: 100px 0; }

.land-diagram {
  display: flex; align-items: flex-start; gap: 0; margin-top: 48px;
  flex-wrap: wrap; justify-content: center;
}
.land-step {
  flex: 1; min-width: 200px; text-align: center; padding: 24px 16px;
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border);
  position: relative;
}
.land-step-num {
  font-family: 'Noto Serif JP', serif; font-size: 13px; color: var(--rust);
  font-weight: 700; letter-spacing: 0.1em; margin-bottom: 12px;
}
.land-step-icon { margin-bottom: 12px; }
.land-step h3 { font-size: 16px; font-weight: 700; color: var(--brown); margin-bottom: 8px; }
.land-step p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

.land-arrow { display: flex; align-items: center; padding: 0 8px; color: var(--rust); flex-shrink: 0; margin-top: 60px; }

.land-options {
  margin-top: 56px; background: var(--cream); border-radius: var(--radius-lg);
  padding: 40px; border: 1px solid var(--border);
}
.land-options h3 {
  font-family: 'Noto Serif JP', serif; font-size: 20px;
  font-weight: 700; color: var(--brown); margin-bottom: 24px; text-align: center;
}
.land-options-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.land-option {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); font-size: 14px; font-weight: 500;
  color: var(--brown); transition: all var(--transition);
}
.land-option:hover { border-color: var(--rust); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ===== Subsidy ===== */
.subsidy { padding: 100px 0; background: var(--cream); }

.subsidy-flow {
  display: flex; align-items: stretch; gap: 0; margin-top: 48px; flex-wrap: wrap;
  justify-content: center;
}
.subsidy-step {
  flex: 1; min-width: 200px; background: #fff; border-radius: var(--radius-lg);
  padding: 32px 24px; border: 1px solid var(--border); text-align: center;
}
.subsidy-num {
  font-family: 'Noto Serif JP', serif; font-size: 13px; color: var(--rust);
  font-weight: 700; letter-spacing: 0.1em; margin-bottom: 10px;
}
.subsidy-step h3 { font-size: 16px; font-weight: 700; color: var(--brown); margin-bottom: 8px; }
.subsidy-step p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

.subsidy-connector {
  width: 32px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.subsidy-connector::after {
  content: ''; width: 100%; height: 2px; background: var(--rust); opacity: 0.4;
}

.subsidy-note {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 40px;
  background: #fff; border-radius: var(--radius-lg); padding: 28px 32px;
  border: 1px solid var(--rust); border-left: 4px solid var(--rust);
}
.subsidy-note-icon { flex-shrink: 0; margin-top: 2px; }
.subsidy-note strong { display: block; font-size: 15px; color: var(--brown); margin-bottom: 4px; }
.subsidy-note p { font-size: 14px; color: var(--text-light); line-height: 1.8; margin: 0; }

/* ===== Works ===== */
.works { padding: 100px 0; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }

.work-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: all var(--transition);
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.work-img { position: relative; height: 200px; overflow: hidden; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.work-card:hover .work-img img { transform: scale(1.05); }
.work-tag {
  position: absolute; top: 12px; left: 12px; background: var(--rust);
  color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px;
  border-radius: 4px;
}

.work-body { padding: 24px; }
.work-body h3 { font-family: 'Noto Serif JP', serif; font-size: 16px; font-weight: 700; color: var(--brown); margin-bottom: 8px; }
.work-meta { font-size: 12px; color: var(--text-light); margin-bottom: 10px; }
.work-desc { font-size: 13.5px; color: var(--text-light); line-height: 1.8; margin-bottom: 12px; }
.work-detail { display: flex; gap: 12px; }
.work-detail span {
  font-size: 11px; background: var(--cream); color: var(--brown);
  padding: 4px 10px; border-radius: 4px; font-weight: 500;
}

/* ===== Voices ===== */
.voices { padding: 100px 0; background: var(--cream); }
.voices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }

.voice-card {
  background: #fff; border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--border); transition: all var(--transition);
}
.voice-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.voice-stars { color: #D4A017; font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.voice-text {
  font-size: 14px; color: var(--text); line-height: 1.9; margin-bottom: 20px;
  font-style: italic;
}
.voice-author { border-top: 1px solid var(--border); padding-top: 16px; }
.voice-name { display: block; font-weight: 700; font-size: 14px; color: var(--brown); }
.voice-info { font-size: 12px; color: var(--text-light); }

/* ===== Company ===== */
.company { padding: 100px 0; }
.company-table { margin-top: 48px; }
.company-table table { width: 100%; border-collapse: collapse; }
.company-table th,
.company-table td {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  text-align: left; font-size: 14px; line-height: 1.7;
}
.company-table th {
  width: 180px; font-weight: 700; color: var(--brown);
  background: var(--cream); white-space: nowrap; vertical-align: top;
}
.company-table td { color: var(--text); }
.company-table td a { color: var(--rust); }

/* ===== Contact ===== */
.contact { padding: 100px 0; background: var(--cream); }

.contact-tel {
  text-align: center; margin-bottom: 48px; padding: 32px;
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border);
}
.contact-tel-label { display: block; font-size: 13px; color: var(--text-light); margin-bottom: 4px; }
.contact-tel-number {
  font-family: 'Noto Serif JP', serif; font-size: clamp(28px, 4vw, 36px);
  font-weight: 900; color: var(--brown); letter-spacing: 0.05em;
}
.contact-tel-hours { display: block; font-size: 12px; color: var(--text-light); margin-top: 6px; }

.contact-form {
  background: #fff; border-radius: var(--radius-lg); padding: 40px;
  border: 1px solid var(--border); max-width: 720px; margin: 0 auto;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-row .form-group { margin-bottom: 0; }
.form-group label {
  display: block; font-size: 13px; font-weight: 700; color: var(--brown);
  margin-bottom: 6px;
}
.required {
  background: var(--rust); color: #fff; font-size: 10px;
  padding: 2px 6px; border-radius: 3px; margin-left: 6px; font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 15px; font-family: inherit;
  background: var(--bg); color: var(--text); transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px rgba(196,92,38,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== Footer ===== */
.footer { background: var(--brown); color: rgba(255,248,240,0.7); padding: 64px 0 0; }
.footer-top { display: flex; gap: 64px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,248,240,0.1); }
.footer-brand { flex: 1; }
.footer-logo {
  font-family: 'Noto Serif JP', serif; font-size: 22px; font-weight: 900;
  color: var(--cream); margin-bottom: 8px;
}
.footer-tagline { font-size: 13px; color: rgba(255,248,240,0.5); margin-bottom: 16px; }
.footer-addr { font-size: 13px; line-height: 1.8; }

.footer-links { display: flex; gap: 48px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--cream); margin-bottom: 12px; }
.footer-col a {
  display: block; font-size: 13px; color: rgba(255,248,240,0.6);
  padding: 3px 0; transition: color var(--transition);
}
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: 12px;
}
.footer-bottom a { color: var(--rust-light); }
.footer-bottom a:hover { color: var(--cream); }

/* ===== Animations ===== */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .works-grid { grid-template-columns: 1fr 1fr; }
  .voices-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .br-pc { display: none; }
  .br-sp { display: inline; }

  .header { height: 60px; }
  :root { --header-h: 60px; }
  .nav-desktop { display: none; }
  .hamburger { display: block; }

  .hero { min-height: 90vh; padding-top: calc(60px + 32px + 24px); }
  .hero-title { font-size: 28px; }

  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .about-visual { flex-direction: column; align-items: center; }
  .about-icon-wrap { width: 140px; height: 140px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 24px; }

  .land-diagram { flex-direction: column; align-items: center; }
  .land-step { width: 100%; min-width: 0; }
  .land-arrow { transform: rotate(90deg); padding: 8px 0; margin-top: 0; }

  .land-options-grid { grid-template-columns: repeat(2, 1fr); }

  .subsidy-flow { flex-direction: column; align-items: center; }
  .subsidy-step { width: 100%; min-width: 0; }
  .subsidy-connector { width: auto; height: 24px; }
  .subsidy-connector::after { width: 2px; height: 100%; }

  .works-grid { grid-template-columns: 1fr; }
  .voices-grid { grid-template-columns: 1fr; }

  .company-table th { width: 120px; font-size: 13px; padding: 12px; }
  .company-table td { font-size: 13px; padding: 12px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }

  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .btn-cta-tel { font-size: 16px; padding: 12px 24px; }

  .process-steps { grid-template-columns: 1fr; }
  .process-step { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 24px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .land-options-grid { grid-template-columns: 1fr; }
  .company-table th, .company-table td { display: block; width: 100%; }
  .company-table th { border-bottom: none; padding-bottom: 4px; }
  .company-table td { padding-top: 4px; }
  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .number-value { font-size: 32px; }
  .section-title { font-size: 22px; }
  .contact-tel { padding: 24px 16px; }
  .contact-tel-number { font-size: 24px; }
  .subsidy-note { flex-direction: column; padding: 20px; }
  .about-timeline { padding-left: 28px; }
  .voice-card { padding: 24px 20px; }
  .work-body { padding: 20px 16px; }
}

/* ===== CTA Banner ===== */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--brown) 0%, #5C3510 50%, var(--brown) 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(196, 92, 38, 0.08);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(196, 92, 38, 0.05);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.cta-text h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 10px;
}
.cta-text p {
  font-size: 14px;
  color: rgba(255, 248, 240, 0.75);
  line-height: 1.8;
}
.cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.btn-cta-tel {
  background: #fff;
  color: var(--brown) !important;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  transition: all var(--transition);
}
.btn-cta-tel:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
  color: var(--brown) !important;
}

/* ===== Process ===== */
.process {
  padding: 100px 0;
}

.process-steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.process-step {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.process-step:hover {
  border-color: var(--rust);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.process-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--rust);
  opacity: 0.4;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 4px;
}

.process-content h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 6px;
}
.process-content p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.8;
}

/* Process stagger */
.process-steps .process-step:nth-child(1).fade-up { transition-delay: 0s; }
.process-steps .process-step:nth-child(2).fade-up { transition-delay: 0.08s; }
.process-steps .process-step:nth-child(3).fade-up { transition-delay: 0.16s; }
.process-steps .process-step:nth-child(4).fade-up { transition-delay: 0.24s; }
.process-steps .process-step:nth-child(5).fade-up { transition-delay: 0.32s; }
.process-steps .process-step:nth-child(6).fade-up { transition-delay: 0.4s; }

.process-steps .process-step:nth-child(1).fade-up.visible { transition-delay: 0s; }
.process-steps .process-step:nth-child(2).fade-up.visible { transition-delay: 0.08s; }
.process-steps .process-step:nth-child(3).fade-up.visible { transition-delay: 0.16s; }
.process-steps .process-step:nth-child(4).fade-up.visible { transition-delay: 0.24s; }
.process-steps .process-step:nth-child(5).fade-up.visible { transition-delay: 0.32s; }
.process-steps .process-step:nth-child(6).fade-up.visible { transition-delay: 0.4s; }

/* ===== Hover & Focus States ===== */
@media (hover: hover) {
  .service-card:hover .service-icon svg {
    transform: scale(1.08);
    transition: transform 0.3s ease;
  }
  .land-step:hover {
    border-color: var(--rust);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    transition: all var(--transition);
  }
  .subsidy-step:hover {
    border-color: var(--rust);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    transition: all var(--transition);
  }
  .voice-card:hover .voice-stars {
    transform: scale(1.05);
    transition: transform 0.3s ease;
  }
  .footer-col a:hover {
    padding-left: 4px;
    transition: all var(--transition);
  }
}

/* ===== Selection ===== */
::selection {
  background: rgba(196, 92, 38, 0.2);
  color: var(--brown);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}

/* ===== Additional Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-feature-settings: 'palt';
}

p {
  font-feature-settings: 'palt';
  word-break: break-all;
  overflow-wrap: break-word;
}

/* ===== Section Separators ===== */
.about::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--rust);
  margin-bottom: 0;
  opacity: 0;
}

.services::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--rust);
  margin-bottom: 0;
  opacity: 0;
}

/* ===== Loading Placeholder for Images ===== */
.work-img {
  background: linear-gradient(135deg, var(--cream) 0%, var(--border) 100%);
}

.hero-bg {
  background: var(--brown);
}

/* ===== Service Card Stagger Animation ===== */
.services-grid .service-card:nth-child(1).fade-up { transition-delay: 0s; }
.services-grid .service-card:nth-child(2).fade-up { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3).fade-up { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(4).fade-up { transition-delay: 0.3s; }

.services-grid .service-card:nth-child(1).fade-up.visible { transition-delay: 0s; }
.services-grid .service-card:nth-child(2).fade-up.visible { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3).fade-up.visible { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(4).fade-up.visible { transition-delay: 0.3s; }

/* ===== Works Card Stagger ===== */
.works-grid .work-card:nth-child(1).fade-up { transition-delay: 0s; }
.works-grid .work-card:nth-child(2).fade-up { transition-delay: 0.12s; }
.works-grid .work-card:nth-child(3).fade-up { transition-delay: 0.24s; }

.works-grid .work-card:nth-child(1).fade-up.visible { transition-delay: 0s; }
.works-grid .work-card:nth-child(2).fade-up.visible { transition-delay: 0.12s; }
.works-grid .work-card:nth-child(3).fade-up.visible { transition-delay: 0.24s; }

/* ===== Voices Card Stagger ===== */
.voices-grid .voice-card:nth-child(1).fade-up { transition-delay: 0s; }
.voices-grid .voice-card:nth-child(2).fade-up { transition-delay: 0.1s; }
.voices-grid .voice-card:nth-child(3).fade-up { transition-delay: 0.2s; }

.voices-grid .voice-card:nth-child(1).fade-up.visible { transition-delay: 0s; }
.voices-grid .voice-card:nth-child(2).fade-up.visible { transition-delay: 0.1s; }
.voices-grid .voice-card:nth-child(3).fade-up.visible { transition-delay: 0.2s; }

/* ===== Number Items Stagger ===== */
.numbers-grid .number-item:nth-child(1).fade-up { transition-delay: 0s; }
.numbers-grid .number-item:nth-child(2).fade-up { transition-delay: 0.1s; }
.numbers-grid .number-item:nth-child(3).fade-up { transition-delay: 0.2s; }
.numbers-grid .number-item:nth-child(4).fade-up { transition-delay: 0.3s; }

.numbers-grid .number-item:nth-child(1).fade-up.visible { transition-delay: 0s; }
.numbers-grid .number-item:nth-child(2).fade-up.visible { transition-delay: 0.1s; }
.numbers-grid .number-item:nth-child(3).fade-up.visible { transition-delay: 0.2s; }
.numbers-grid .number-item:nth-child(4).fade-up.visible { transition-delay: 0.3s; }

/* ===== Timeline Animation ===== */
.timeline-item .timeline-dot {
  transition: transform 0.3s ease, background 0.3s ease;
}
.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  background: var(--rust);
}
.timeline-item .timeline-content {
  transition: transform 0.3s ease;
}
.timeline-item:hover .timeline-content {
  transform: translateX(4px);
}

/* ===== Button Active States ===== */
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn-primary:active {
  box-shadow: 0 2px 8px rgba(196, 92, 38, 0.2);
}

/* ===== Form Input Animations ===== */
.form-group input,
.form-group select,
.form-group textarea {
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--text-light);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: #fff;
}

/* ===== Logo Hover ===== */
.logo {
  transition: opacity var(--transition);
}
.logo:hover {
  opacity: 0.85;
}
.logo-icon {
  transition: transform 0.3s ease;
}
.logo:hover .logo-icon {
  transform: rotate(-3deg) scale(1.05);
}

/* ===== CTA Pulse ===== */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(196, 92, 38, 0.3); }
  50% { box-shadow: 0 4px 24px rgba(196, 92, 38, 0.5); }
}

.hero-btns .btn-primary {
  animation: ctaPulse 3s ease infinite;
}
.hero-btns .btn-primary:hover {
  animation: none;
}

/* ===== Subtle Grain Texture ===== */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

/* ===== Print Styles ===== */
@media print {
  .sample-banner,
  .header,
  .mobile-nav,
  .hero-scroll,
  .contact-form,
  .hamburger { display: none !important; }

  .hero { min-height: auto; padding: 40px 0; }
  .hero-overlay { background: rgba(74,44,10,0.3); }

  body { font-size: 12pt; }
  .container { max-width: 100%; padding: 0 20px; }

  .services-grid,
  .works-grid,
  .voices-grid { grid-template-columns: 1fr; }

  .fade-up { opacity: 1 !important; transform: none !important; }

  a { color: var(--brown); }
  a::after { content: ' (' attr(href) ')'; font-size: 10pt; }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up {
    opacity: 1;
    transform: none;
  }
  .scroll-line::after {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ===== High Contrast Mode ===== */
@media (prefers-contrast: high) {
  :root {
    --border: #8B6914;
    --text-light: #3A2A1A;
  }
  .service-card,
  .voice-card,
  .work-card,
  .subsidy-step,
  .land-step {
    border-width: 2px;
  }
  .btn-outline {
    border-width: 3px;
  }
}

/* ===== Dark Mode Hint (for future) ===== */
@media (prefers-color-scheme: dark) {
  /* Reserved for dark mode implementation */
}

/* ===== Landscape Phone ===== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: calc(60px + 32px + 16px);
    padding-bottom: 40px;
  }
  .hero-scroll { display: none; }
  .numbers { padding: 40px 0; }
}

/* ===== Tablet Portrait ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .container { padding: 0 32px; }
  .services-grid { gap: 20px; }
  .service-card { padding: 28px 24px; }
  .footer-top { gap: 40px; }
  .footer-links { gap: 32px; }
  .about-visual { gap: 28px; }
  .land-options { padding: 32px; }
  .contact-form { padding: 32px; }
}

/* ===== Large Desktop ===== */
@media (min-width: 1400px) {
  .container { max-width: 1200px; }
  body { font-size: 16px; }
  .hero-title { font-size: 52px; }
  .section-title { font-size: 40px; }
  .service-card { padding: 40px 36px; }
  .work-img { height: 240px; }
}
