/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.en {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  letter-spacing: 0.08em;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1), transform 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: background 0.4s ease, padding 0.4s ease;
}

.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 16px 48px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.site-logo {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.1;
}

.site-header:not(.scrolled) .site-logo.on-hero {
  color: #fff;
}

.site-logo span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  opacity: 0.7;
  margin-top: 4px;
}

.global-nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.global-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #1a1a1a;
  position: relative;
  padding: 6px 0;
}

.site-header:not(.scrolled) .global-nav a.on-hero {
  color: #fff;
}

.global-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.global-nav a:hover::after,
.global-nav a.current::after {
  width: 100%;
}

.nav-cta {
  background: #1a1a1a;
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 0;
  font-size: 12px !important;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: #444;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 20s ease-out forwards;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.5) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 48px;
  max-width: 1200px;
}

.hero-copy {
  font-size: 11px;
  letter-spacing: 0.4em;
  margin-bottom: 24px;
  opacity: 0.9;
  animation: fadeInUp 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) 0.3s backwards;
}

.hero h1 {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
  animation: fadeInUp 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) 0.5s backwards;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
  white-space: nowrap;
}

.hero-lead {
  font-size: 17px;
  line-height: 2;
  opacity: 0.95;
  margin-bottom: 48px;
  max-width: 560px;
  animation: fadeInUp 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) 0.7s backwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  animation: fadeInUp 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) 0.9s backwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.3em;
  opacity: 0.8;
  animation: fadeIn 2s ease 1.5s backwards;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: #fff;
  margin: 12px auto 0;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 0.8; }
}

/* ===== SECTION ===== */
.section {
  padding: 140px 0;
  position: relative;
}

.section-bg {
  background: #f7f5f0;
}

.section-dark {
  background: #1a1a1a;
  color: #fff;
}

.section-title {
  margin-bottom: 80px;
}

.section-title .label {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: #999;
  margin-bottom: 16px;
  display: block;
}

.section-dark .section-title .label {
  color: #888;
}

.section-title h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.section-title h2 .accent {
  color: #8b9a5b;
}

.section-title.center {
  text-align: center;
}

.section-lead {
  font-size: 16px;
  color: #666;
  max-width: 680px;
  margin-top: 24px;
  line-height: 2;
}

.section-title.center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.section-dark .section-lead {
  color: #aaa;
}

/* ===== CONCEPT ===== */
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.concept-image {
  position: relative;
  overflow: hidden;
}

.concept-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.concept-image:hover img {
  transform: scale(1.05);
}

.concept-text h3 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.concept-text p {
  font-size: 15px;
  color: #555;
  line-height: 2;
  margin-bottom: 24px;
}

.concept-text .signature {
  font-size: 13px;
  color: #999;
  letter-spacing: 0.1em;
  margin-top: 40px;
}

/* ===== FEATURES ===== */
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e5e0d5;
}

.feature-item {
  background: #f7f5f0;
  padding: 56px 40px;
  transition: background 0.4s ease;
}

.feature-item:hover {
  background: #fff;
}

.feature-number {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #999;
  margin-bottom: 32px;
  display: block;
}

.feature-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.4;
}

.feature-item p {
  font-size: 14px;
  color: #666;
  line-height: 2;
}

/* ===== WORKS GRID ===== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.works-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.work-card {
  display: block;
  position: relative;
  overflow: hidden;
}

.work-card .thumb {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

.work-card.large .thumb {
  height: 440px;
}

.work-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.work-card:hover .thumb img {
  transform: scale(1.08);
}

.work-card .thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work-card:hover .thumb::after {
  opacity: 1;
}

.work-card .body {
  padding: 24px 0 0;
}

.work-card .tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #8b9a5b;
  margin-bottom: 12px;
}

.work-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.5;
}

.work-card .meta {
  font-size: 13px;
  color: #999;
}

/* ===== STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
}

.stat-item {
  background: #1a1a1a;
  padding: 48px 32px;
  text-align: center;
}

.stat-item .number {
  font-size: 60px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  display: block;
}

.stat-item .number .unit {
  font-size: 18px;
  font-weight: 400;
  margin-left: 4px;
  color: #8b9a5b;
}

.stat-item .label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #888;
}

/* ===== PROCESS ===== */
.process-list {
  display: grid;
  gap: 1px;
  background: #e5e0d5;
}

.process-item {
  background: #fff;
  padding: 40px 0;
  display: grid;
  grid-template-columns: 100px 180px 1fr;
  gap: 40px;
  align-items: center;
}

.process-item .step {
  font-size: 60px;
  font-weight: 700;
  color: #8b9a5b;
  line-height: 1;
  letter-spacing: -0.02em;
}

.process-item h3 {
  font-size: 22px;
  font-weight: 700;
}

.process-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.9;
}

/* ===== ABOUT ROW ===== */
.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-photo {
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.about-photo:hover img {
  transform: scale(1.05);
}

.about-text h3 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.about-text p {
  font-size: 15px;
  color: #555;
  line-height: 2;
  margin-bottom: 20px;
}

/* ===== INFO TABLE ===== */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.info-table tr {
  border-bottom: 1px solid #eee;
}

.info-table tr:first-child {
  border-top: 1px solid #1a1a1a;
}

.info-table tr:last-child {
  border-bottom: 1px solid #1a1a1a;
}

.info-table th {
  text-align: left;
  padding: 24px 0;
  font-weight: 600;
  width: 240px;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.info-table td {
  padding: 24px 0;
  color: #555;
  font-size: 14px;
  line-height: 1.9;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: #1a1a1a;
  color: #fff;
  padding: 200px 0 100px;
  text-align: center;
}

.page-header .label {
  font-size: 11px;
  letter-spacing: 0.4em;
  opacity: 0.6;
  margin-bottom: 16px;
  display: block;
}

.page-header h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ===== CONTACT FORM ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}

.contact-info h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.5;
}

.contact-info p {
  font-size: 14px;
  color: #666;
  line-height: 2;
  margin-bottom: 32px;
}

.contact-info .tel {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  display: block;
}

.contact-info .tel-note {
  font-size: 12px;
  color: #999;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.form-group .required {
  display: inline-block;
  font-size: 10px;
  color: #fff;
  background: #c03a3a;
  padding: 2px 6px;
  margin-left: 10px;
  letter-spacing: 0.1em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 0;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.3s;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a1a1a;
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn::after {
  content: '→';
  display: inline-block;
  transition: transform 0.3s ease;
}

.btn:hover::after {
  transform: translateX(4px);
}

.btn-primary {
  background: #1a1a1a;
  color: #fff;
}

.btn-primary:hover {
  background: #333;
}

.btn-outline {
  background: transparent;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
}

.btn-outline:hover {
  background: #1a1a1a;
  color: #fff;
}

.btn-light {
  background: #fff;
  color: #1a1a1a;
}

.btn-light:hover {
  background: #f0f0f0;
}

/* ===== CTA ===== */
.cta {
  position: relative;
  padding: 160px 0;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.cta-inner {
  position: relative;
  z-index: 2;
  color: #fff;
}

.cta h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.cta p {
  font-size: 16px;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 2;
}

/* ===== SECTION MORE ===== */
.section-more {
  text-align: center;
  margin-top: 80px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #0a0a0a;
  color: #fff;
  padding: 80px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.footer-logo span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  opacity: 0.5;
  margin-top: 6px;
  letter-spacing: 0.2em;
}

.footer-info {
  font-size: 13px;
  line-height: 2;
  opacity: 0.7;
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  opacity: 0.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 13px;
  opacity: 0.8;
}

.footer-col a:hover {
  opacity: 1;
}

.footer-copy {
  text-align: center;
  font-size: 11px;
  opacity: 0.4;
  letter-spacing: 0.1em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 48px; }
  .section { padding: 80px 0; }
  .section-title h2 { font-size: 36px; }
  .concept-grid, .about-row { grid-template-columns: 1fr; gap: 40px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .process-item { grid-template-columns: 60px 140px 1fr; gap: 24px; padding: 32px 0; }
  .process-item .step { font-size: 40px; }
}

@media (max-width: 640px) {
  .container { padding: 0 24px; }
  .site-header { padding: 20px 24px; }
  .site-header.scrolled { padding: 14px 24px; }
  .global-nav { display: none; }
  .hero-inner { padding: 0 24px; }
  .hero h1 { font-size: 36px; }
  .section-title h2 { font-size: 28px; }
  .works-grid { grid-template-columns: 1fr; }
  .cta h2 { font-size: 32px; }
  .page-header { padding: 140px 0 60px; }
  .page-header h1 { font-size: 36px; }
}
