:root {
  --bg: #f7f4f0;
  --bg-elevated: #ffffff;
  --bg-soft: #f1ebe4;
  --accent: #ff8a5c;
  --accent-soft: rgba(255, 138, 92, 0.12);
  --text-main: #2b2926;
  --text-muted: #7a746b;
  --border-subtle: rgba(0, 0, 0, 0.06);
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 45px rgba(31, 22, 17, 0.18);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Yu Gothic", "Noto Sans JP", sans-serif;
  background: radial-gradient(circle at top, #fff8f2 0, #f7f4f0 55%, #f1ebe4);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

@keyframes float-soft {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes glow-soft {
  0% {
    box-shadow: 0 12px 26px rgba(255, 138, 92, 0.25);
  }
  50% {
    box-shadow: 0 18px 38px rgba(255, 138, 92, 0.35);
  }
  100% {
    box-shadow: 0 12px 26px rgba(255, 138, 92, 0.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

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

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

.container {
  width: min(1120px, 100% - 40px);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(247, 244, 240, 0.96),
    rgba(247, 244, 240, 0.9),
    transparent
  );
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  padding-left: 18px;
}

.logo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, #ffb88c, #ff8a5c);
}

.global-nav {
  position: relative;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-list a:hover {
  color: var(--text-main);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: radial-gradient(
    circle at 0 0,
    rgba(255, 138, 92, 0.22),
    rgba(255, 138, 92, 0.06)
  );
  color: var(--text-main);
}

.nav-toggle {
  display: none;
}

/* Hero */
.hero {
  padding: 56px 0 72px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(34px, 5vw, 44px);
  line-height: 1.2;
  margin: 0 0 20px;
}

.hero-lead {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #ffb88c, #ff8a5c);
  box-shadow: 0 12px 30px rgba(255, 138, 92, 0.45);
  color: #2b2926;
  font-weight: 600;
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(82, 182, 255, 0.45);
}

.btn.ghost {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-main);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  width: 100%;
  max-width: 320px;
  padding: 22px 22px 20px;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, #ffe1ca, #ffffff);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  animation: float-soft 7s ease-in-out infinite;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 180deg,
    rgba(255, 138, 92, 0.13),
    transparent,
    rgba(255, 219, 179, 0.2),
    transparent
  );
  opacity: 0.7;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-card-label {
  position: relative;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0 0 12px;
}

.hero-card-text {
  position: relative;
  font-size: 13px;
  color: var(--text-main);
  margin: 0;
}

/* Sections common */
section {
  scroll-margin-top: 72px;
}

.section-heading {
  text-align: left;
  margin-bottom: 28px;
}

.section-title {
  font-size: 24px;
  margin: 4px 0 10px;
}

.section-lead {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.concept {
  padding: 26px 0 40px;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.concept-item {
  padding: 18px 18px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.95),
    rgba(255, 244, 233, 0.96)
  );
  border: 1px solid var(--border-subtle);
}

.concept-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.concept-item p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Services */
.services {
  padding: 40px 0 44px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  padding: 20px 20px 18px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 0 0, #ffe6cf, #ffffff);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 40px rgba(31, 22, 17, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease, translate 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(31, 22, 17, 0.2);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.service-card h3 span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.service-desc {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.service-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-main);
}

.service-list li + li {
  margin-top: 4px;
}

/* Works */
.works {
  padding: 44px 0;
}

.works-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.03);
  font-size: 11px;
  color: var(--text-muted);
}

.works-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
}

.work-card {
  padding: 16px 18px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border-subtle);
  min-width: 260px;
  scroll-snap-align: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(31, 22, 17, 0.18);
}

.work-category {
  font-size: 11px;
  color: var(--accent);
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.work-title {
  margin: 0 0 8px;
  font-size: 15px;
}

.work-text {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Company */
.company {
  padding: 44px 0;
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 30px;
  align-items: flex-start;
}

.company-text p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.company-table {
  margin: 0;
  padding: 16px 18px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border-subtle);
}

.company-table div {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
}

.company-table dt {
  color: var(--text-muted);
}

.company-table dd {
  margin: 0;
}

/* Topics */
.topics {
  padding: 28px 0 36px;
}

.topics-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.96);
}

.topic-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
}

.topic-label {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.topic-link {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  flex: 1;
}

.topic-date {
  color: var(--text-muted);
}

.topic-text {
  color: var(--text-main);
}

/* Contact */
.contact {
  padding: 36px 0 52px;
}

.contact-inner {
  padding: 22px 22px 26px;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, #ffe6cf, #ffffff);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-soft);
  animation: glow-soft 10s ease-in-out infinite;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 18px 0 22px;
  background: rgba(255, 255, 255, 0.85);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.footer-address {
  font-size: 12px;
  color: var(--text-muted);
  margin: 8px 0 0;
}

.footer-nav-block {
  text-align: right;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-copy {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--text-muted);
}

/* Utils */
.sp-only {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    padding: 12px 0;
  }

  .nav-toggle {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    background: rgba(255, 255, 255, 0.96);
    position: relative;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle::before,
  .nav-toggle::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 1.6px;
    border-radius: 999px;
    background: #2b2926;
    transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease,
      bottom 0.2s ease;
  }

  .nav-toggle::before {
    top: 12px;
  }

  .nav-toggle::after {
    bottom: 12px;
  }

  .nav-toggle.is-open::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }

  .nav-toggle.is-open::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
  }

  .nav-list {
    position: absolute;
    right: 0;
    top: 42px;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 16px 40px rgba(31, 22, 17, 0.22);
    min-width: 180px;
    display: none;
  }

  .nav-list.is-open {
    display: flex;
  }

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

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .concept-grid,
  .service-grid,
  .company-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-inner {
    padding: 18px 18px 20px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-nav-block {
    text-align: left;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .sp-only {
    display: inline;
  }
}

