:root {
  --black: #050505;
  --ink: #151515;
  --muted: #666;
  --paper: #fff;
  --soft: #f3f3f3;
  --line: #d8d8d8;
  --content: 1180px;
  --reading: 1050px;
  --header-height: 90px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #47a8ff;
  outline-offset: 4px;
}

.wide-container,
.narrow-container,
.header-inner {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.narrow-container {
  max-width: 900px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 14px;
  color: #000;
  background: #fff;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 100;
  min-height: var(--header-height);
  color: #fff;
  background: #000;
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.site-logo {
  flex: 0 1 355px;
}

.site-logo img {
  width: min(100%, 355px);
}

.site-navigation ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-navigation a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}

.site-navigation a:hover,
.site-navigation a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-navigation .site-return {
  padding: 7px 12px;
  border: 1px solid #777;
  border-radius: 999px;
  color: #ddd;
}

.nav-toggle {
  display: none;
}

.home-visual {
  position: relative;
  min-height: clamp(440px, 49vw, 650px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #111;
}

.home-visual > img,
.article-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-visual > img {
  object-position: center 48%;
}

.home-visual-shade,
.article-hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
}

.home-visual h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 24px;
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.home-intro {
  position: relative;
  padding: clamp(48px, 6vw, 78px) 0 clamp(78px, 8vw, 106px);
  color: #fff;
  background: #000;
  text-align: center;
}

.home-intro h2 {
  margin: 0 0 20px;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.55;
}

.home-intro p {
  margin: 6px 0;
  font-size: 0.95rem;
}

.scroll-down {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #000;
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, 50%);
}

.scroll-down span {
  width: 15px;
  height: 15px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.service-section {
  padding: clamp(105px, 11vw, 140px) 0 clamp(90px, 10vw, 135px);
}

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

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--soft);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.13);
}

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.42 / 1;
  background: #ddd;
}

.card-media::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: #fff;
  clip-path: polygon(0 0, 62% 0, 0 60%);
  pointer-events: none;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-media h3 {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 58%;
  margin: 0;
  padding: 0 0 0 2px;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.08;
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 26px 30px 30px;
}

.card-content p {
  margin: 0 0 13px;
  font-size: 0.92rem;
  line-height: 1.9;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  color: #fff;
  background: #000;
  border: 1px solid #000;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.45;
}

.card-content .button {
  align-self: center;
  margin-top: auto;
}

.consultation-section {
  padding: clamp(72px, 9vw, 110px) 0;
  color: #fff;
  background: #0b0b0b;
  text-align: center;
}

.consultation-section h2 {
  margin: 8px 0 20px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.5;
}

.consultation-section p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto 30px;
}

.eyebrow {
  margin: 0;
  color: #aaa;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
}

.button-light {
  color: #000;
  background: #fff;
  border-color: #fff;
}

.article-hero {
  position: relative;
  height: clamp(430px, 40vw, 560px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #111;
}

.article-hero > img {
  object-position: center 48%;
}

.article-hero h1 {
  position: relative;
  z-index: 1;
  max-width: min(92%, 1060px);
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-caption {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 50%;
  margin: 0;
  padding: 10px 26px;
  color: #fff;
  background: #000;
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.5;
  transform: translateX(-50%);
  white-space: nowrap;
}

.article-hero-quiet .article-hero-shade {
  background: rgba(0, 0, 0, 0.32);
}

.article-body {
  max-width: var(--reading);
  padding-top: clamp(62px, 7vw, 92px);
  padding-bottom: clamp(90px, 11vw, 140px);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 1rem;
}

.article-title {
  max-width: 1000px;
  margin: 0 auto clamp(38px, 5vw, 60px);
  font-family: -apple-system, BlinkMacSystemFont, "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  font-size: clamp(1.7rem, 3.1vw, 2.25rem);
  line-height: 1.55;
  text-align: center;
}

.article-lead {
  margin: 0 0 54px;
  font-family: -apple-system, BlinkMacSystemFont, "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 700;
  line-height: 1.75;
}

.article-body p {
  margin: 0 0 1.8em;
}

.article-body h2 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: clamp(70px, 9vw, 105px) 0 28px;
  font-family: -apple-system, BlinkMacSystemFont, "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.5;
}

.article-body h2::before {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: 0.55em;
  background: #000;
}

.article-body .center-heading {
  display: block;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.article-body .center-heading::before {
  display: none;
}

.content-figure {
  width: min(100%, 520px);
  margin: 44px 0 72px;
}

.content-figure-wide {
  width: min(100%, 620px);
}

.content-figure img {
  width: 100%;
}

.numbered-points {
  margin: 36px 0 46px;
  padding-left: 1.4em;
}

.numbered-points li {
  margin-bottom: 2.2em;
  padding-left: 0.3em;
}

.result-list {
  margin: 36px 0 44px;
  padding-left: 1.2em;
}

.result-list li {
  margin-bottom: 1.8em;
  padding-left: 0.25em;
}

.pain-points {
  margin: 0 0 48px;
  font-family: -apple-system, BlinkMacSystemFont, "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.65;
}

.feature-point {
  margin: 54px 0;
}

.feature-point h3 {
  position: relative;
  margin: 0 0 14px;
  padding-left: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  font-size: 1.1rem;
}

.feature-point h3::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 2px;
  width: 6px;
  height: 6px;
  background: #000;
  border-radius: 50%;
}

.article-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 100px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-family: -apple-system, BlinkMacSystemFont, "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
}

.text-link {
  font-weight: 700;
  text-underline-offset: 5px;
}

.site-footer {
  color: #fff;
  background: #0b0d0d;
}

.footer-main {
  padding: clamp(64px, 8vw, 96px) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.9fr) minmax(520px, 1.5fr);
  gap: clamp(54px, 8vw, 110px);
}

.footer-about {
  max-width: 430px;
}

.footer-kicker {
  margin: 0 0 12px;
  color: #b9a76c;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.footer-title {
  margin: 0 0 16px;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  line-height: 1.45;
}

.footer-about > p:not(.footer-kicker, .footer-title) {
  margin: 0;
  color: #b8bcbc;
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer-cta {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 18px;
  color: #fff;
  border: 1px solid #555;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.footer-cta:hover {
  color: #000;
  background: #fff;
  border-color: #fff;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.footer-column > p {
  margin: 0 0 20px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-column ul {
  display: grid;
  gap: 11px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column a {
  color: #b8bcbc;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-column a:hover,
.footer-column a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-bottom {
  padding: 18px 0;
  color: #888d8d;
  background: #050606;
  border-top: 1px solid #242727;
}

.footer-bottom .wide-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
}

.legal-hero {
  padding: clamp(70px, 9vw, 110px) 0;
  color: #fff;
  background: #101212;
}

.legal-hero .eyebrow {
  color: #b9a76c;
}

.legal-hero h1 {
  margin: 10px 0 18px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.35;
}

.legal-hero p:last-child {
  max-width: 720px;
  margin: 0;
  color: #c5c8c8;
}

.legal-content {
  max-width: 900px;
  padding-top: clamp(58px, 7vw, 84px);
  padding-bottom: clamp(90px, 11vw, 140px);
}

.legal-content > p:first-child {
  margin-top: 0;
}

.legal-content h2 {
  margin: 54px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.25rem, 2.1vw, 1.55rem);
  line-height: 1.5;
}

.legal-content p,
.legal-content li,
.legal-content dd {
  line-height: 1.95;
}

.legal-content ul {
  padding-left: 1.35em;
}

.legal-content a {
  text-underline-offset: 4px;
}

.operator-summary {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  margin: 24px 0 32px;
  border-top: 1px solid var(--line);
}

.operator-summary dt,
.operator-summary dd {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.operator-summary dt {
  background: #f3f3f3;
  font-weight: 700;
}

.legal-related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 70px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.legal-date {
  margin-top: 48px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  :root {
    --header-height: 78px;
  }

  .wide-container,
  .narrow-container,
  .header-inner {
    width: min(calc(100% - 36px), var(--content));
  }

  .site-logo {
    flex-basis: 300px;
  }

  .site-navigation ul {
    gap: 16px;
  }

  .site-navigation a {
    font-size: 0.82rem;
  }

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

  .card-content {
    padding: 22px;
  }

  .card-media h3 {
    font-size: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  body.nav-open::after {
    content: "";
    position: fixed;
    z-index: 80;
    inset: var(--header-height) 0 0;
    background: rgba(0, 0, 0, 0.5);
  }

  .site-logo {
    flex-basis: 275px;
  }

  .nav-toggle {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 1px solid #666;
    border-radius: 4px;
    cursor: pointer;
  }

  .nav-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    width: 23px;
    height: 2px;
    display: block;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle-icon {
    position: relative;
  }

  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-icon::before {
    top: -7px;
  }

  .nav-toggle-icon::after {
    top: 7px;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon {
    background: transparent;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-navigation {
    position: absolute;
    z-index: 90;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 12px 18px 22px;
    background: #000;
    border-top: 1px solid #333;
  }

  .site-navigation.is-open {
    display: block;
  }

  .site-navigation ul {
    display: block;
  }

  .site-navigation li + li {
    border-top: 1px solid #333;
  }

  .site-navigation a,
  .site-navigation .site-return {
    width: 100%;
    display: block;
    padding: 13px 8px;
    border: 0;
    border-radius: 0;
    font-size: 0.95rem;
  }

  .home-visual {
    min-height: min(68vh, 560px);
  }

  .home-visual h1 {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
  }

  .home-intro {
    padding-inline: 8px;
  }

  .service-grid {
    gap: 36px;
  }

  .service-card {
    max-width: 520px;
    margin-inline: auto;
  }

  .card-media h3 {
    font-size: clamp(1.15rem, 4.8vw, 1.45rem);
  }

  .article-hero {
    height: min(66vw, 430px);
    min-height: 330px;
  }

  .article-hero h1 {
    font-size: clamp(1.55rem, 6.5vw, 2.1rem);
  }

  .hero-caption {
    width: min(94%, 680px);
    font-size: 1rem;
    text-align: center;
    white-space: normal;
  }

  .article-body {
    font-size: 0.98rem;
    line-height: 1.85;
  }

  .article-body h2 {
    margin-top: 65px;
  }

  .article-title {
    text-align: left;
  }

  .content-figure {
    margin-bottom: 54px;
  }

  .article-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 72px;
  }
}

@media (max-width: 640px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-column + .footer-column {
    padding-top: 28px;
    border-top: 1px solid #292c2c;
  }

  .footer-bottom .wide-container {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .operator-summary {
    grid-template-columns: 1fr;
  }

  .operator-summary dt {
    padding-bottom: 6px;
    border-bottom: 0;
  }

  .operator-summary dd {
    padding-top: 6px;
  }
}

@media (max-width: 430px) {
  .wide-container,
  .narrow-container,
  .header-inner {
    width: min(calc(100% - 28px), var(--content));
  }

  .site-logo {
    flex-basis: 235px;
  }

  .home-visual {
    min-height: 500px;
  }

  .home-visual > img {
    object-position: 49% center;
  }

  .home-visual h1 {
    padding-inline: 18px;
  }

  .home-intro h2 br {
    display: none;
  }

  .card-media::before {
    clip-path: polygon(0 0, 68% 0, 0 64%);
  }

  .card-media h3 {
    width: 63%;
  }

  .article-hero {
    min-height: 300px;
  }

  .page-case-study .article-hero > img {
    object-position: 45% center;
  }

  .page-organic-flow .article-hero > img {
    object-position: 47% center;
  }

  .article-body {
    padding-top: 50px;
  }

  .article-title {
    font-size: 1.55rem;
  }

  .article-body h2 {
    font-size: 1.3rem;
  }

  .footer-main {
    padding-block: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
