@import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@500;600&family=Space+Grotesk:wght@400;500;600&family=Yuji+Syuku&display=swap");

:root {
  color-scheme: light;
  --ink: #101820;
  --mist: #f5f3f0;
  --sand: #efe4d5;
  --vermillion: #e4553f;
  --coral: #ff9472;
  --teal: #0f6b6b;
  --navy: #1a2b49;
  --card: rgba(255, 255, 255, 0.9);
  --shadow: 0 30px 80px rgba(16, 24, 32, 0.12);
}

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

body {
  font-family: "Space Grotesk", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #fff8ef 0%, #f7f0e6 45%, #f1e7d6 100%);
  min-height: 100vh;
  line-height: 1.7;
}

h1,
h2,
h3,
.brand-name {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1100px, 90vw);
  margin: 0 auto;
}

.bg-glow {
  position: fixed;
  inset: -30% -20% auto auto;
  height: 420px;
  width: 420px;
  background: radial-gradient(circle, rgba(255, 148, 114, 0.4), transparent 70%);
  filter: blur(10px);
  z-index: -1;
}

.site-header {
  padding: 24px 0;
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background: rgba(245, 243, 240, 0.7);
  z-index: 5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  display: block;
}

.brand-name {
  font-family: "Yuji Syuku", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-size: 34px;
  letter-spacing: 0.06em;
}

.brand-text {
  line-height: 1.15;
}

.brand-tag {
  font-size: 12px;
  margin-top: -2px;
  color: rgba(16, 24, 32, 0.65);
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav a {
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--vermillion);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.hero {
  padding: 80px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-card {
  margin-top: 48px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--teal);
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  margin: 12px 0 20px;
  white-space: nowrap;
}

.lead {
  font-size: 16px;
  color: rgba(16, 24, 32, 0.8);
}

.hero-cta {
  margin: 26px 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--vermillion);
  color: #fff;
  box-shadow: 0 12px 28px rgba(228, 85, 63, 0.3);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(16, 24, 32, 0.2);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.hero-stats .stat {
  display: inline-block;
  font-weight: 600;
  color: var(--navy);
}

.hero-card .card {
  padding: 28px;
  background: var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.card-title {
  font-weight: 600;
  margin-bottom: 16px;
  margin-top: 6px;
}

.card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.card li::before {
  content: "•";
  color: var(--vermillion);
  margin-right: 8px;
}

.card-note {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(16, 24, 32, 0.65);
}

.section {
  padding: 70px 0;
}

.section-head {
  margin-bottom: 32px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.tile {
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 40px rgba(16, 24, 32, 0.08);
  transition: transform 0.3s ease;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 600;
  color: var(--vermillion);
}

.text-link::after {
  content: "→";
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.case-tile {
  text-align: left;
}

.case-summary {
  margin: 10px 0 14px;
}

.case-points {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: rgba(16, 24, 32, 0.8);
}

.case-points li::before {
  content: "•";
  color: var(--vermillion);
  margin-right: 6px;
}

.cases .grid {
  align-items: stretch;
}

.flow-card {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.flow-diagram {
  width: 100%;
  height: auto;
  display: block;
}

.ai-hero .hero-card {
  align-self: flex-start;
  margin-top: 128px;
}

.ai-hero .hero-inner {
  align-items: flex-start;
}

.ai-detail .tile,
.ai-points .tile {
  text-align: left;
}

.tile-icon {
  width: 84px;
  height: 84px;
  display: block;
  margin-bottom: 14px;
}

.tile:hover {
  transform: translateY(-6px);
}

.about-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  align-items: center;
}

.checklist {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.checklist li::before {
  content: "✓";
  color: var(--teal);
  margin-right: 8px;
}

.about-panel {
  padding: 28px;
  background: linear-gradient(135deg, rgba(15, 107, 107, 0.1), rgba(255, 148, 114, 0.15));
  border-radius: 20px;
  border: 1px solid rgba(15, 107, 107, 0.2);
}

.panel-title {
  font-weight: 600;
  margin-bottom: 12px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.panel-note {
  margin-top: 16px;
  font-size: 13px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.step {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
}

.step-icon {
  width: 72px;
  height: 72px;
  display: block;
  margin-bottom: 12px;
}

.step span {
  font-weight: 600;
  color: var(--vermillion);
}

.contact-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
}

.contact-card {
  padding: 26px;
  border-radius: 18px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.contact-form {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
  color: #fff;
  font-size: 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-note {
  font-size: 12px;
  margin: 16px 0 20px;
  opacity: 0.8;
}

.site-footer {
  padding: 24px 0 50px;
  font-size: 12px;
  color: rgba(16, 24, 32, 0.6);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 820px) {
  .nav {
    display: none;
  }

  .site-header {
    position: static;
  }

  .hero {
    padding: 60px 0 30px;
  }

  .hero-card {
    margin-top: 12px;
  }

  .grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .header-inner {
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(980px, 92vw);
  }

  .hero h1 {
    white-space: normal;
    font-size: clamp(30px, 8vw, 42px);
  }

  .hero-card {
    margin-top: 16px;
  }

  .ai-hero .hero-card {
    margin-top: 24px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 28px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .tile,
  .step,
  .contact-card,
  .flow-card {
    padding: 18px;
  }

  .tile-icon,
  .step-icon {
    width: 64px;
    height: 64px;
  }

  .footer-inner {
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

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

.hero,
.section {
  animation: fadeInUp 0.8s ease both;
}
