:root {
  color-scheme: light;
  --ink: #111111;
  --graphite: #1d1d1f;
  --muted: #6e6e73;
  --line: #e5e5ea;
  --paper: #f5f5f7;
  --white: #ffffff;
  --teal: #118478;
  --teal-dark: #096c65;
  --amber: #bf7b22;
  --blue: #315fba;
  --violet: #6f55b5;
  --mint: #e8f5f1;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(229, 229, 234, 0.72);
  background: rgba(251, 251, 253, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 220ms ease, background 220ms ease;
}

.site-header[data-scrolled="true"] {
  background: rgba(251, 251, 253, 0.86);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 92px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.brand-mark img {
  width: 74px;
  height: auto;
  object-fit: contain;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
}

.nav-cta {
  padding: 9px 15px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
  min-height: auto;
  padding: clamp(54px, 7vw, 104px) clamp(20px, 5vw, 72px) clamp(58px, 7vw, 96px);
  background:
    radial-gradient(circle at 86% 18%, rgba(230, 243, 241, 0.9), transparent 36%),
    linear-gradient(180deg, #fbfbfd 0%, #ffffff 68%, #f5f5f7 100%),
    var(--paper);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 1120px;
}

.motion-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background:
    linear-gradient(120deg, transparent 0 35%, rgba(0, 0, 0, 0.035) 36%, transparent 37% 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px) 0 0 / 96px 96px;
  animation: grid-drift 18s linear infinite;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: #14746f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: 0;
}

h1 {
  max-width: 1120px;
  font-size: 68px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(34px, 5vw, 58px);
}

h3 {
  font-size: 22px;
}

.lead {
  max-width: 820px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
}

.button.large {
  min-width: min(100%, 260px);
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
  width: 100%;
}

.photo-stage {
  overflow: hidden;
  contain: paint;
  display: grid;
  max-width: 100%;
  min-height: clamp(440px, 54vw, 680px);
  place-items: center;
  border-radius: 18px;
  background: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.16);
  isolation: isolate;
}

.photo-stage::before,
.photo-stage::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.photo-stage::before {
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.3), transparent 44%),
    linear-gradient(0deg, rgba(17, 17, 17, 0.5), transparent 48%);
}

.photo-stage::after {
  inset: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  animation: panel-breathe 7s ease-in-out infinite;
}

.photo-stage img {
  width: 100%;
  height: 100%;
  min-height: clamp(440px, 54vw, 680px);
  object-fit: cover;
  transform: scale(1.02);
  animation: photo-drift 12s ease-in-out infinite;
}

.photo-stage figcaption {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.photo-stage figcaption span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 12px 17px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--white);
  background: rgba(17, 17, 17, 0.42);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.2);
  backdrop-filter: blur(12px);
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 800;
  white-space: nowrap;
  animation: tag-drift 6.4s ease-in-out infinite;
}

.photo-stage figcaption span:nth-child(1) {
  top: 13%;
  left: 9%;
}

.photo-stage figcaption span:nth-child(2) {
  top: 19%;
  right: 10%;
  animation-delay: -1.5s;
}

.photo-stage figcaption span:nth-child(3) {
  bottom: 17%;
  left: 8%;
  animation-delay: -2.4s;
}

.photo-stage figcaption span:nth-child(4) {
  right: 9%;
  bottom: 13%;
  animation-delay: -3.1s;
}

.band {
  background: var(--paper);
}

.intro,
.company {
  background: #ffffff;
}

.services {
  background:
    radial-gradient(circle at 75% 0%, rgba(0, 0, 0, 0.06), transparent 34%),
    linear-gradient(180deg, #f5f5f7 0%, #f5f5f7 100%);
}

.intro,
.services,
.company,
.contact {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: block;
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto 38px;
}

.section-heading.narrow {
  display: block;
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

.company .section-heading {
  text-align: center;
}

.company .section-heading h2 {
  margin-inline: auto;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 42px);
  max-width: 1180px;
  margin: 0 auto;
}

.intro-grid p {
  margin: 0;
  padding-top: 22px;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, #86868b, rgba(191, 123, 34, 0.48)) 1;
  color: #515154;
  font-size: 17px;
}

.intro-grid p:nth-child(2) {
  border-image: linear-gradient(90deg, #86868b, rgba(20, 116, 111, 0.48)) 1;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 44px auto 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.08);
}

.service-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  min-height: 420px;
  padding: clamp(30px, 4vw, 52px);
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 246, 248, 0.92)),
    var(--white);
  box-shadow: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-card::before {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.8), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(0, 0, 0, 0.055), transparent 24%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.service-card::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  content: "";
  background: currentColor;
  opacity: 0.18;
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 260ms ease, opacity 220ms ease;
}

.service-card:hover {
  box-shadow: none;
  transform: translateY(-4px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  opacity: 0.48;
  transform: scaleY(1);
}

.service-card,
.company-table div {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 540ms ease var(--reveal-delay, 0ms),
    transform 540ms ease var(--reveal-delay, 0ms),
    box-shadow 220ms ease;
}

.service-card.is-visible,
.company-table div.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card.is-visible:hover {
  transform: translateY(-3px);
}

.service-card h3,
.service-card p,
.service-points,
.service-icon,
.service-index {
  position: relative;
  z-index: 1;
}

.service-index {
  position: absolute;
  top: 30px;
  right: 34px;
  color: rgba(0, 0, 0, 0.16);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  transition: color 220ms ease, transform 220ms ease;
}

.service-card:hover .service-index {
  color: currentColor;
  transform: translateY(-2px);
}

.service-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.service-points {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-points li {
  position: relative;
  padding-left: 18px;
  color: #515154;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.service-points li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 999px;
  background: currentColor;
  opacity: 0.58;
}

.service-icon {
  position: relative;
  overflow: hidden;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 22px;
  color: var(--teal-dark);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(232, 245, 241, 0.8)),
    var(--mint);
  box-shadow:
    inset 0 0 0 1px rgba(9, 108, 101, 0.1),
    0 18px 34px rgba(0, 0, 0, 0.06);
}

.service-icon::before {
  position: absolute;
  inset: 9px;
  content: "";
  border-radius: calc(var(--radius) - 2px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), transparent),
    currentColor;
  opacity: 0.1;
  transform: rotate(45deg) scale(0.86);
}

.service-icon::after {
  position: absolute;
  inset: -40% auto auto -40%;
  width: 70%;
  height: 160%;
  content: "";
  background: rgba(255, 255, 255, 0.46);
  transform: rotate(28deg);
  transition: transform 520ms ease;
}

.service-card:hover .service-icon::after {
  transform: translateX(170%) rotate(28deg);
}

.service-icon svg {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  fill: none;
  stroke: url("#icon-business");
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.1));
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.72;
}

.service-icon circle,
.service-icon rect {
  vector-effect: non-scaling-stroke;
}

.service-icon.amber svg {
  stroke: url("#icon-solution");
}

.service-icon.blue svg {
  stroke: url("#icon-ai");
}

.service-icon.violet svg {
  stroke: url("#icon-web3");
}

.service-icon.amber {
  color: var(--amber);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 242, 225, 0.92)),
    #fff2e1;
  box-shadow:
    inset 0 0 0 1px rgba(191, 123, 34, 0.14),
    0 14px 34px rgba(17, 17, 17, 0.08);
}

.service-icon.blue {
  color: var(--blue);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(232, 240, 255, 0.92)),
    #e8f0ff;
  box-shadow:
    inset 0 0 0 1px rgba(49, 95, 186, 0.14),
    0 14px 34px rgba(17, 17, 17, 0.08);
}

.service-icon.violet {
  color: var(--violet);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(240, 236, 255, 0.92)),
    #f0ecff;
  box-shadow:
    inset 0 0 0 1px rgba(111, 85, 181, 0.14),
    0 14px 34px rgba(17, 17, 17, 0.08);
}

.company-table {
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.company-table div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  color: var(--muted);
  font-weight: 800;
}

.company-table dd {
  margin: 0;
}

.company-table a {
  color: var(--teal-dark);
  font-weight: 800;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 18px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.98), rgba(36, 36, 36, 0.94)),
    var(--ink);
}

.contact-panel .eyebrow,
.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel p {
  max-width: 720px;
  margin: 18px 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 10px;
}

.footer-links a {
  color: var(--graphite);
  font-size: 13px;
}

.back-to-top {
  white-space: nowrap;
}

.policy-main {
  padding: clamp(36px, 6vw, 80px) clamp(16px, 5vw, 72px) clamp(56px, 8vw, 104px);
  background:
    radial-gradient(circle at 82% 6%, rgba(232, 245, 241, 0.9), transparent 34%),
    linear-gradient(180deg, #fbfbfd 0%, #ffffff 42%, #f5f5f7 100%);
}

.policy-article {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid rgba(229, 229, 234, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.08);
}

.policy-article h1 {
  max-width: 100%;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.policy-article h2 {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.policy-article p,
.policy-article li {
  color: #515154;
  font-size: 15px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.policy-article ol,
.policy-article ul {
  padding-left: 1.4em;
}

.policy-article .policy-date {
  margin-top: 34px;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 880px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 13px 12px;
  }

  .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 48px;
  }

  .photo-stage {
    min-height: 360px;
  }

  .photo-stage img {
    min-height: 360px;
  }

  .section-heading,
  .intro-grid,
  .service-list,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .section-heading.narrow {
    text-align: left;
  }

  .service-card {
    min-height: auto;
  }

  .contact-panel {
    justify-items: start;
  }
}

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 240px 0, 84px 84px;
  }
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-10px) scale(1.015);
  }
}

@keyframes photo-drift {
  0%,
  100% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  50% {
    transform: scale(1.07) translate3d(-10px, -6px, 0);
  }
}

@keyframes panel-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.62;
  }

  50% {
    transform: scale(1.025);
    opacity: 0.95;
  }
}

@keyframes tag-drift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .service-card {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 56px;
  }

  .policy-article h1 {
    font-size: 36px;
    line-height: 1.3;
  }

  .policy-article h2 {
    font-size: 23px;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: 48px;
    line-height: 1.12;
  }

  .policy-article h1 {
    font-size: 32px;
    line-height: 1.32;
  }

  .policy-article h2 {
    font-size: 21px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.14;
  }

  .hero,
  .intro,
  .services,
  .company,
  .contact {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .service-card {
    grid-template-columns: 1fr;
    padding: 30px 26px;
  }

  .company-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .policy-main {
    padding-right: 12px;
    padding-left: 12px;
  }

  .policy-article {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .policy-article h1 {
    font-size: 30px;
    line-height: 1.32;
  }

  .policy-article h2 {
    font-size: 21px;
  }

  .policy-article p,
  .policy-article li {
    font-size: 14px;
    line-height: 1.85;
  }

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