:root {
  --color-white: #ffffff;
  --color-ink: #111827;
  --color-muted: #5d6878;
  --color-line: #d9e0ea;
  --color-soft: #f5f8fc;
  --color-navy: #0a1f44;
  --color-blue: #1b64d8;
  --color-sky: #e8f1ff;
  --shadow-soft: 0 18px 48px rgba(10, 31, 68, 0.12);
  --radius: 8px;
  --max-width: 1120px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-ink);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.75;
}

body.is-lightbox-open {
  overflow: hidden;
}

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

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

code {
  border: 1px solid var(--color-line);
  border-radius: 5px;
  background: var(--color-soft);
  padding: 0.05em 0.35em;
  font-size: 0.9em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 224, 234, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.site-logo__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 7px;
  background: var(--color-navy);
  color: var(--color-white);
  font-family: "Oswald", sans-serif;
  font-size: 1.15rem;
}

.site-logo__text {
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--color-muted);
  font-family: "Oswald", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.site-nav a {
  padding: 8px 0;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--color-blue);
}

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

.nav-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-navy);
}

.section-shell {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 96px 0;
}

.section-band {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - var(--max-width)) / 2));
  padding-left: max(20px, calc((100vw - var(--max-width)) / 2));
  background: var(--color-soft);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--color-blue);
  font-family: "Oswald", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading h2,
.profile h2,
.contact h2 {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
}

.section-heading p,
.contact p,
.profile p {
  color: var(--color-muted);
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.8fr);
  gap: 40px;
  max-width: none;
  align-items: end;
}

.hero {
  display: grid;
  grid-template-columns: minmax(390px, 0.86fr) minmax(420px, 1fr);
  gap: clamp(36px, 6vw, 74px);
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  padding-top: 60px;
  padding-bottom: 84px;
}

.hero h1 {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(3.6rem, 6.2vw, 5.8rem);
  font-weight: 900;
  line-height: 0.98;
  word-break: keep-all;
}

.hero__role {
  margin: 16px 0 0;
  color: var(--color-blue);
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.25rem, 2.8vw, 2.1rem);
  font-weight: 600;
  line-height: 1.2;
}

.hero__lead {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--color-navy);
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  font-weight: 900;
  line-height: 1.35;
}

.hero__copy {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 7px;
  border: 1px solid var(--color-navy);
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

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

.button--primary {
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.button--secondary {
  background: var(--color-white);
  color: var(--color-navy);
}

.image-button {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  cursor: zoom-in;
  font: inherit;
  text-align: left;
}

.hero__art {
  position: relative;
  margin: 0;
  justify-self: center;
}

.hero__art img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-sky);
  box-shadow: var(--shadow-soft);
}

.hero__art--welcome {
  width: min(100%, 680px);
}

.hero__art--welcome img {
  aspect-ratio: auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 24px 42px rgba(10, 31, 68, 0.14));
}

.hero__art figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-width: 180px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.9);
  padding: 14px 16px;
  box-shadow: 0 14px 30px rgba(10, 31, 68, 0.14);
}

.hero__art figcaption span {
  display: block;
  color: var(--color-blue);
  font-family: "Oswald", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__art figcaption strong {
  display: block;
  color: var(--color-navy);
  font-size: 1.05rem;
}

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

.work-card {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: var(--color-sky);
}

.work-card--sheet img,
.work-card--parts img {
  object-fit: contain;
  padding: 14px;
}

.work-card--character img {
  object-position: center 22%;
  transform: scale(1.18);
  transform-origin: 62% 24%;
}

.work-card--comic img {
  object-fit: contain;
  object-position: center;
  padding: 8px;
}

.work-card__body {
  padding: 20px 20px 22px;
}

.work-card__body span {
  color: var(--color-blue);
  font-family: "Oswald", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-card__body h3,
.service-card h3,
.strength-list h3,
.price-card h3 {
  margin: 6px 0 0;
  color: var(--color-navy);
  font-size: 1.08rem;
  line-height: 1.45;
}

.work-card__body p,
.service-card p {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.work-card__body p:first-of-type {
  color: var(--color-ink);
  font-size: 0.86rem;
  font-weight: 700;
}

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

.gallery-item {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  padding: 0;
  color: inherit;
  cursor: zoom-in;
  font: inherit;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: var(--color-sky);
}

.gallery-item--comic img {
  object-fit: contain;
  object-position: center;
  padding: 8px;
}

.gallery-item--character img {
  object-position: center 24%;
}

.gallery-item--sheet img {
  object-fit: contain;
  padding: 12px;
}

.gallery-item span {
  display: block;
  padding: 14px 16px 16px;
  color: var(--color-navy);
  font-family: "Oswald", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.service-card {
  min-height: 220px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  padding: 22px;
}

.service-card::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 24px;
  background: var(--color-blue);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.price-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  overflow: hidden;
  padding: 0 24px 24px;
  box-shadow: 0 14px 34px rgba(10, 31, 68, 0.06);
}

.price-card__image {
  display: block;
  margin: 0 -24px 22px;
  background: var(--color-soft);
}

.price-card__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 18%;
}

.price-card--fullbody .price-card__image img {
  object-fit: contain;
  object-position: center top;
  padding: 4px;
}

.price-card--chibi .price-card__image img {
  object-position: center 34%;
}

.price-card--keyvisual .price-card__image img {
  object-position: center 42%;
}

.price-card span {
  color: var(--color-blue);
  font-family: "Oswald", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card p {
  margin: 18px 0 0;
  color: var(--color-navy);
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 600;
  line-height: 1;
}

.price-card small {
  display: block;
  margin-top: 16px;
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.price-note {
  margin: 22px 0 0;
  border-left: 4px solid var(--color-blue);
  background: var(--color-soft);
  padding: 16px 18px;
  color: var(--color-muted);
}

.strength-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--color-line);
  border-left: 1px solid var(--color-line);
}

.strength-list article {
  min-height: 230px;
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: 28px;
}

.strength-list span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--color-blue);
  font-family: "Oswald", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
}

.strength-list p {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  position: relative;
  display: grid;
  gap: 22px;
  min-height: 150px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  padding: 22px;
}

.flow-list span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  font-family: "Oswald", sans-serif;
}

.flow-list strong {
  color: var(--color-navy);
  font-size: 1rem;
  line-height: 1.45;
}

.profile {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}

.profile__image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-soft);
}

.profile__body {
  max-width: 680px;
}

.profile__role {
  color: var(--color-blue);
  font-weight: 700;
}

.contact {
  padding-top: 40px;
}

.contact__inner {
  border-radius: var(--radius);
  background: var(--color-navy);
  color: var(--color-white);
  padding: clamp(34px, 6vw, 64px);
}

.contact__inner .eyebrow,
.contact__inner p {
  color: #a9c8ff;
}

.contact h2 {
  color: var(--color-white);
}

.contact h2 span {
  display: inline-block;
}

.contact-links {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.contact-links a {
  display: grid;
  place-items: center;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-links a:hover {
  background: var(--color-blue);
  transform: translateY(-2px);
}

.site-footer {
  padding: 30px 20px 46px;
  text-align: center;
  color: var(--color-muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 15, 34, 0.82);
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
  max-height: calc(100vh - 56px);
  display: grid;
  place-items: center;
}

.lightbox figure {
  margin: 0;
  width: 100%;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 150px);
  width: auto;
  height: auto;
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.lightbox figcaption {
  color: var(--color-white);
  font-weight: 700;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  cursor: pointer;
}

.lightbox__close {
  top: -8px;
  right: -8px;
  width: 44px;
  height: 44px;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox__nav {
  top: 50%;
  width: 48px;
  height: 56px;
  font-size: 2.4rem;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: -70px;
}

.lightbox__nav--next {
  right: -70px;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    padding: 10px;
    box-shadow: var(--shadow-soft);
  }

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

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

  .hero,
  .section-heading--split,
  .profile {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .works-grid,
  .gallery-grid,
  .strength-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .price-grid,
  .flow-list,
  .contact-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lightbox__nav--prev {
    left: 8px;
  }

  .lightbox__nav--next {
    right: 8px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    padding: 0 18px;
  }

  .section-shell {
    width: min(100% - 32px, var(--max-width));
    padding: 68px 0;
  }

  .section-band {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .hero__art figcaption {
    position: static;
    margin-top: 12px;
  }

  .works-grid,
  .gallery-grid,
  .service-grid,
  .price-grid,
  .strength-list,
  .flow-list,
  .contact-links {
    grid-template-columns: 1fr;
  }

  .strength-list {
    border-left: 0;
  }

  .strength-list article {
    border-left: 1px solid var(--color-line);
  }

  .service-card,
  .price-card,
  .strength-list article,
  .flow-list li {
    min-height: auto;
  }

  .lightbox {
    padding: 18px;
  }

  .lightbox__dialog {
    max-height: calc(100vh - 36px);
  }

  .lightbox img {
    max-height: calc(100vh - 132px);
  }

  .lightbox__close {
    top: 0;
    right: 0;
  }

  .lightbox__nav {
    top: auto;
    bottom: 0;
    transform: none;
  }

  .lightbox__nav--prev {
    left: 0;
  }

  .lightbox__nav--next {
    right: 0;
  }
}
