@font-face {
  font-family: "QUON DIN";
  src: local("DIN 2014 Demi"), local("DIN2014-Demi"), local("DIN 2014");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --qg-black: #0f0f0f;
  --qg-black-2: #141414;
  --qg-black-3: #1e1e1e;
  --qg-white: #ffffff;
  --qg-muted: #bebebe;
  --qg-lime: #c3ff00;
  --qg-line: rgba(255, 255, 255, 0.2);
  --qg-max: 1490px;
  --qg-side: clamp(22px, 5.2vw, 90px);
  --qg-copy-leading: 1.72;
  --qg-copy-leading-compact: 1.65;
  --qg-display: "QUON DIN", "Arial Narrow", "Roboto Condensed", "Oswald", "Inter", sans-serif;
  --qg-sans: "Inter", "Noto Sans", sans-serif;
}

html[lang="ja"] {
  --qg-copy-leading: 1.78;
  --qg-copy-leading-compact: 1.7;
  --qg-display: "QUON DIN", "Arial Narrow", "Roboto Condensed", "Oswald", "Inter", "Noto Sans JP", sans-serif;
  --qg-sans: "Noto Sans JP", "Inter", "Noto Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  margin-top: 0 !important;
}

html:has(body.quon-global-template) {
  margin-top: 0 !important;
}

body.quon-global-template {
  margin: 0;
  background: var(--qg-black-2);
  color: var(--qg-white);
  font-family: var(--qg-sans);
  line-height: var(--qg-copy-leading);
}

html[lang="ja"] body.quon-global-template {
  font-family: var(--qg-sans);
}

body.quon-global-template.qg-menu-open {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

body.quon-global-template #wpadminbar {
  display: none;
}

body.quon-global-template .quon-language-switcher {
  display: none !important;
}

.qg-page {
  overflow: hidden;
  background: var(--qg-black-2);
}

.qg-page a {
  color: inherit;
  text-decoration: none;
}

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

.qg-generic-header {
  min-height: 112px;
  background: #111;
}

.qg-generic-page {
  background: #f7f7f5;
  color: #111;
  padding: clamp(96px, 10vw, 180px) 5vw;
}

.qg-generic-page__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.qg-generic-page__label {
  margin: 0 0 18px;
  font: 600 14px/1.2 "Inter", sans-serif;
}

.qg-generic-page h1 {
  max-width: 100%;
  margin: 0 0 clamp(56px, 6vw, 96px);
  font: 500 clamp(44px, 7vw, 112px)/0.95 "Oswald", "Noto Sans JP", sans-serif;
  overflow-wrap: anywhere;
}

.qg-generic-page__content {
  width: min(800px, 100%);
  font: 400 16px/2 "Noto Sans JP", "Noto Sans", sans-serif;
}

.qg-generic-page__content > *:first-child {
  margin-top: 0;
}

.qg-generic-page__content h2,
.qg-generic-page__content h3 {
  margin: 2.5em 0 0.75em;
  font-weight: 700;
  line-height: 1.5;
}

.qg-generic-page__content a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.qg-generic-page__content table {
  width: 100%;
  border-collapse: collapse;
}

.qg-generic-page__content th,
.qg-generic-page__content td {
  padding: 14px;
  border: 1px solid #ccc;
  text-align: left;
  vertical-align: top;
}

.qg-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 12px 16px;
  border: 2px solid #0f0f0f;
  border-radius: 4px;
  background: var(--qg-lime);
  color: #0f0f0f !important;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(calc(-100% - 18px));
  transition: transform 160ms ease;
}

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

.qg-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #101010;
}

.qg-hero__media,
.qg-hero__overlay {
  position: absolute;
  inset: 0;
}

.qg-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.qg-hero__overlay {
  background: rgba(20, 20, 20, 0.72);
}

.qg-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - (var(--qg-side) * 2));
  max-width: var(--qg-max);
  margin: 0 auto;
  padding-top: 52px;
  padding-bottom: 0;
  color: #fff;
  isolation: isolate;
  transition: padding 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qg-nav-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 112px;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.82) 0%,
    rgba(10, 10, 10, 0.64) 58%,
    rgba(10, 10, 10, 0) 100%
  );
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}

.qg-nav-backdrop.is-visible {
  opacity: 1;
}

.qg-nav.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
}

.qg-nav a {
  color: inherit;
  text-decoration: none;
}

.qg-nav-spacer {
  width: 100%;
  height: 106px;
}

.qg-logo {
  width: 194px;
  height: 54px;
  display: flex;
  align-items: center;
  transition: width 280ms cubic-bezier(0.16, 1, 0.3, 1), height 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qg-nav.is-scrolled .qg-logo {
  width: 160px;
  height: 44px;
}

.qg-logo img {
  width: 100%;
  filter: brightness(0) invert(1);
}

.qg-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.2vw, 58px);
  font-size: 16px;
  letter-spacing: 0;
}

.qg-nav__links a {
  line-height: 54px;
  transition: line-height 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qg-nav.is-scrolled .qg-nav__links a {
  line-height: 44px;
}

.qg-language {
  position: relative;
}

.qg-language__toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 54px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.qg-nav.is-scrolled .qg-language__toggle {
  height: 44px;
}

.qg-language__toggle strong {
  color: var(--qg-lime);
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
}

.qg-language__toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease, margin 180ms ease;
}

.qg-language__toggle[aria-expanded="true"]::after {
  margin-top: 4px;
  transform: rotate(225deg);
}

.qg-language__options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: flex;
  gap: 4px;
  min-width: 118px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 10, 10, 0.96);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

.qg-language__options.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.qg-nav .qg-language__options a {
  display: grid;
  width: 48px;
  height: 34px;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.qg-nav .qg-language__options a.is-active {
  background: var(--qg-lime);
  color: #0f0f0f;
}

.qg-language__toggle:focus-visible,
.qg-language__options a:focus-visible {
  outline: 1px solid var(--qg-lime);
  outline-offset: 3px;
}

.qg-nav__contact {
  min-width: 204px;
  border: 1px solid #fff;
  border-radius: 999px;
  text-align: center;
  transition: min-width 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qg-nav.is-scrolled .qg-nav__contact {
  min-width: 188px;
}

.qg-nav-toggle {
  display: none;
}

.qg-hero__content {
  position: relative;
  z-index: 2;
  width: calc(100% - (var(--qg-side) * 2));
  max-width: var(--qg-max);
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  padding-top: max(320px, calc(100svh - 400px));
}

.qg-hero__outline,
.qg-hero__location {
  position: absolute;
  margin: 0;
  font-family: var(--qg-display);
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  pointer-events: none;
}

.qg-hero__outline {
  top: max(320px, calc(100svh - 400px));
  left: 0;
  font-size: clamp(72px, 8.1vw, 140px);
  line-height: 1;
}

.qg-hero__location {
  top: max(450px, calc(100svh - 270px));
  right: 0;
  font-size: clamp(74px, 8.4vw, 146px);
  line-height: 0.9;
}

.qg-hero__location strong {
  font-size: 1.46em;
  font-weight: 600;
}

.qg-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--qg-display);
  font-size: clamp(34px, 3.15vw, 54px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
}

.qg-hero__lead {
  position: relative;
  z-index: 1;
  max-width: 709px;
  margin: 26px 0 0;
  color: #fff;
  font-family: var(--qg-display);
  font-size: 18px;
  line-height: 1.55;
}

.qg-section {
  position: relative;
  padding-left: var(--qg-side);
  padding-right: var(--qg-side);
}

.qg-section--dark {
  background: #181818;
}

.qg-section-heading {
  position: relative;
  max-width: var(--qg-max);
  margin: 0 auto;
  color: #000;
  font-family: var(--qg-display);
}

.qg-section-heading span {
  position: absolute;
  top: 12px;
  left: 0;
  display: block;
  padding-top: 8px;
  font-size: 24px;
  line-height: 1;
}

.qg-section-heading span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background: currentColor;
}

.qg-section-heading h2 {
  margin: 0 0 0 68px;
  font-size: clamp(40px, 3.36vw, 58px);
  font-weight: 600;
  line-height: 1.08;
  text-transform: uppercase;
}

.qg-section-heading p {
  margin: 9px 0 0 68px;
  color: var(--qg-lime);
  font-size: 14px;
  line-height: 1.5;
}

.qg-section-heading--light {
  color: #fff;
}

.qg-section-heading--center {
  max-width: 560px;
}

.qg-portfolio {
  padding-top: 185px;
  padding-bottom: 170px;
}

.qg-portfolio__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 35px;
  max-width: var(--qg-max);
  margin: 72px auto 0;
}

.qg-card {
  min-height: 550px;
  overflow: hidden;
  background: var(--qg-black);
  border-radius: 20px;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.05);
}

.qg-card figure {
  position: relative;
  height: 337px;
  margin: 0;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.qg-card figure::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(0deg, #0f0f0f 10%, rgba(15, 15, 15, 0));
}

.qg-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.qg-card__body {
  padding: 16px 26px 48px 32px;
  font-family: var(--qg-display);
}

.qg-card__category {
  margin: 0 0 5px;
  color: #fff;
  font-size: 10px;
  line-height: 1;
}

.qg-card h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
}

.qg-card__body > p:last-child {
  margin: 0;
  color: var(--qg-muted);
  font-size: 14px;
  line-height: 1.65;
}

.qg-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(494px, calc(100vw - 44px));
  height: 76px;
  margin: 100px auto 0;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--qg-display);
  font-size: 22px;
  line-height: 1;
}

.qg-pill::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 18px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.qg-service {
  padding-top: 120px;
  padding-bottom: 220px;
  background: #131313;
}

.qg-service__circles {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 1040px;
  margin: 110px auto 0;
}

.qg-service__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(29vw, 447px);
  aspect-ratio: 1;
  margin-left: -28px;
  border: 1px dashed rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: var(--qg-lime);
  font-family: var(--qg-display);
  font-size: clamp(18px, 2.32vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.qg-service__circle:first-child {
  margin-left: 0;
}

.qg-service__caption {
  margin: 54px 0 0;
  color: #fff;
  font-family: var(--qg-display);
  font-size: 12px;
  text-align: center;
}

.qg-clients {
  padding-top: 145px;
  padding-bottom: 150px;
  background: #fff;
  color: #000;
}

.qg-clients__numbers {
  display: flex;
  justify-content: center;
  gap: clamp(34px, 4.1vw, 70px);
  margin: 90px auto 44px;
  font-family: var(--qg-display);
  text-align: center;
}

.qg-clients__numbers strong {
  display: block;
  font-size: clamp(56px, 4.63vw, 80px);
  line-height: 1;
}

.qg-clients__numbers span {
  display: block;
  margin-top: 11px;
  color: #606060;
  font-size: 13px;
}

.qg-client-logos {
  display: grid;
  gap: 14px;
  width: 100vw;
  max-width: none;
  margin: 0 0 0 calc(50% - 50vw);
  overflow: hidden;
}

.qg-client-logos__row {
  width: 100%;
  overflow: hidden;
}

.qg-client-logos__track,
.qg-client-logos__group {
  display: flex;
  align-items: center;
  width: max-content;
}

.qg-client-logos__track {
  animation: qg-client-marquee-left 52s linear infinite;
  will-change: transform;
}

.qg-client-logos__row--reverse .qg-client-logos__track {
  animation-name: qg-client-marquee-right;
}

.qg-client-logos__group {
  flex: none;
  gap: 18px;
  padding-right: 18px;
}

.qg-client-logos img {
  flex: 0 0 150px;
  width: 150px;
  height: 46px;
  object-fit: contain;
}

@keyframes qg-client-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes qg-client-marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.qg-process {
  padding-top: 120px;
  padding-bottom: 170px;
  background: var(--qg-black-3);
}

.qg-process__list {
  width: calc(100% + (var(--qg-side) * 2));
  max-width: none;
  margin: 100px auto 0;
  margin-left: calc(var(--qg-side) * -1);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--qg-display);
}

.qg-process__item {
  position: relative;
  width: 100%;
}

.qg-process__item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.qg-process__item-inner {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  width: min(800px, 100%);
  margin: 0 auto;
  padding: 34px var(--qg-side) 48px;
}

.qg-process__item-inner > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: var(--qg-lime);
  font-size: 12px;
}

.qg-process__item h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1;
}

.qg-process__item p {
  margin: 0;
  color: #bfbfbf;
  font-size: 15px;
  line-height: 1.65;
}

.qg-process__closing {
  margin: 90px 0 0;
  color: #fff;
  font-family: var(--qg-display);
  text-align: center;
}

.qg-love {
  background: #050505;
  min-height: 1660px;
}

.qg-love__inner {
  position: relative;
  max-width: 1728px;
  min-height: 1660px;
  margin: 0 auto;
}

.qg-love h2 {
  position: absolute;
  top: 120px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  font-family: var(--qg-display);
  font-size: clamp(64px, 6.94vw, 120px);
  font-weight: 600;
  line-height: 0.86;
  text-align: center;
}

.qg-love h2 span {
  display: block;
  width: max-content;
  margin-left: 200px;
}

.qg-live {
  position: absolute;
  width: 310px;
  border: 10px solid #0e0e0e;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.qg-live--1 { left: 240px; top: 430px; width: 280px; }
.qg-live--2 { left: 760px; top: 420px; width: 380px; }
.qg-live--3 { left: 420px; top: 760px; width: 330px; transform: rotate(-7deg); }
.qg-live--4 { right: 260px; top: 760px; width: 355px; transform: rotate(8deg); }
.qg-live--5 { left: 130px; top: 1040px; width: 330px; }
.qg-live--6 { left: 700px; top: 1130px; width: 360px; transform: rotate(-3deg); }
.qg-live--7 { right: 120px; top: 1210px; width: 420px; }

.qg-faq {
  position: relative;
  min-height: 1040px;
  padding: 260px var(--qg-side) 160px;
  overflow: hidden;
  background: #101010;
}

.qg-faq__bg,
.qg-faq__bg::after {
  position: absolute;
  inset: 0;
}

.qg-faq__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.qg-faq__bg::after {
  content: "";
  background: rgba(0, 0, 0, 0.8);
}

.qg-faq .qg-section-heading,
.qg-faq__list {
  position: relative;
  z-index: 1;
}

.qg-faq .qg-section-heading {
  max-width: 1240px;
}

.qg-faq .qg-section-heading h2 {
  font-size: clamp(80px, 6.94vw, 120px);
}

.qg-faq__list {
  width: min(869px, 100%);
  margin: -88px 0 0 auto;
}

.qg-faq__item {
  position: relative;
  width: 100%;
  min-height: 77px;
  margin-bottom: 30px;
  border-radius: 10px;
  background: #fff;
  color: #000;
  font-family: var(--qg-display);
}

.qg-faq__question {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 77px;
  padding: 20px 64px 20px 60px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 24px;
  text-align: left;
  cursor: pointer;
  transition: background-color 300ms ease;
}

.qg-faq__question > .qg-faq__label {
  position: absolute;
  left: 28px;
}

.qg-faq__question-text {
  display: block;
}

.qg-faq__question i {
  position: absolute;
  right: 36px;
  width: 14px;
  height: 14px;
}

.qg-faq__question i::before,
.qg-faq__question i::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px;
  background: #000;
}

.qg-faq__question i::after {
  transform: rotate(90deg);
}

.qg-faq__answer {
  position: relative;
  z-index: 1;
  max-height: 0;
  overflow: hidden;
  background: #f3f4ef;
  opacity: 0;
  transition: max-height 520ms cubic-bezier(0.16, 1, 0.3, 1), opacity 260ms ease;
}

.qg-faq__answer-content {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  padding: 0 64px 0 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-family: var(--qg-sans);
  font-size: 16px;
  line-height: 1.65;
  transition: padding 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qg-faq__answer-label {
  color: #648500;
  font-weight: 700;
}

.qg-faq__answer p {
  margin: 0;
}

.qg-faq__item.is-open .qg-faq__answer {
  max-height: 240px;
  opacity: 1;
}

.qg-faq__item.is-open .qg-faq__question {
  background: var(--qg-lime);
}

.qg-faq__item.is-open .qg-faq__answer-content {
  padding-top: 20px;
  padding-bottom: 24px;
}

.qg-faq__item.is-open .qg-faq__question i::after {
  opacity: 0;
}

.qg-faq__question:focus-visible {
  outline: 2px solid #648500;
  outline-offset: -4px;
}

.qg-contact {
  position: relative;
  scroll-margin-top: 96px;
  padding: 170px var(--qg-side) 210px;
  background: #141414;
}

.qg-contact::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 552px;
  background: var(--qg-lime);
}

.qg-contact__heading {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto 110px;
  font-family: var(--qg-display);
  text-align: center;
}

.qg-contact__heading p {
  position: absolute;
  top: -54px;
  left: 0;
  margin: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
  font-size: clamp(92px, 11.57vw, 200px);
  line-height: 0.9;
  white-space: nowrap;
}

.qg-contact__heading h2 {
  position: relative;
  margin: 0;
  padding-top: 92px;
  font-size: clamp(48px, 5.2vw, 90px);
  line-height: 1;
}

html[lang="ja"] .qg-contact__heading h2 {
  width: 100%;
  max-width: 100%;
  font-family: var(--qg-sans);
  font-size: clamp(40px, 3.2vw, 56px);
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.qg-contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 814px) 391px;
  gap: 35px;
  max-width: 1240px;
  margin: 0 auto;
}

.qg-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 36px;
  min-height: 587px;
  padding: 47px 65px 52px;
  background: #fff;
  border-radius: 20px;
  color: #000;
  font-family: var(--qg-display);
}

.qg-contact-form__trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.qg-turnstile {
  grid-column: 1 / -1;
  min-height: 65px;
}

.qg-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qg-field--full,
.qg-check,
.qg-submit,
.qg-form-message {
  grid-column: 1 / -1;
}

.qg-field label {
  font-size: 18px;
  line-height: 1;
}

.qg-field input,
.qg-field textarea {
  width: 100%;
  min-height: 43px;
  border: 1px solid #000;
  border-radius: 5px;
  background: #f7f7f7;
  padding: 10px 20px;
  font-family: var(--qg-sans);
  font-size: 16px;
}

.qg-field textarea {
  resize: vertical;
  min-height: 72px;
}

.qg-check {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--qg-sans);
  font-size: 14px;
  font-weight: 600;
}

.qg-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #000;
}

.qg-check a {
  text-decoration: underline;
}

.qg-check__policy {
  margin-left: auto;
}

.qg-submit {
  width: min(449px, 100%);
  height: 44px;
  margin: 0 auto;
  border: 0;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-family: var(--qg-display);
  font-size: 14px;
  cursor: pointer;
}

.qg-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.qg-form-message {
  min-height: 18px;
  margin: 0;
  font-family: var(--qg-sans);
  font-size: 13px;
  text-align: center;
}

.qg-form-message.is-success {
  color: #0a7d2b;
}

.qg-form-message.is-error {
  color: #bd0000;
}

.qg-info {
  position: relative;
  min-height: 587px;
  overflow: hidden;
  border-radius: 20px;
  background: #111;
}

.qg-info__media,
.qg-info__media::after {
  position: absolute;
  inset: 0;
}

.qg-info__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.qg-info__media::after {
  content: "";
  background: rgba(0, 0, 0, 0.7);
}

.qg-info__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  box-sizing: border-box;
  flex-direction: column;
  padding: 67px 55px;
  font-family: var(--qg-display);
}

.qg-info h3 {
  margin: 0 0 60px;
  font-size: 38px;
  line-height: 1;
}

.qg-info h4 {
  margin: 0 0 24px;
  padding-top: 29px;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  font-size: 24px;
  line-height: 1;
}

.qg-info p {
  margin: 0 0 36px;
  color: #ddd;
  font-size: 16px;
  line-height: 1.38;
}

.qg-info .qg-mail {
  color: #fff;
}

.qg-social {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 8px;
}

.qg-social a {
  position: relative;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  place-items: center;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.qg-social a:hover,
.qg-social a:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.qg-social a:focus-visible {
  outline: 2px solid var(--qg-lime);
  outline-offset: 3px;
}

.qg-social img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.qg-footer {
  position: relative;
  z-index: 2;
  margin-top: -114px;
  padding: 0 var(--qg-side) 86px;
}

.qg-footer__breadcrumb {
  max-width: 1240px;
  margin: 0 auto;
  font-family: var(--qg-sans);
}

.qg-footer__breadcrumb span {
  margin: 0 12px;
}

.qg-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1240px;
  min-height: 442px;
  margin: 0 auto;
  padding: 138px 134px 90px;
  border-radius: 20px;
  background: #000;
}

.qg-footer img {
  width: 282px;
  filter: brightness(0) invert(1);
}

.qg-footer p {
  margin: 29px 0 0;
  color: #fff;
  font-family: var(--qg-sans);
  font-size: 12px;
}

.qg-footer nav {
  display: grid;
  grid-template-columns: repeat(2, 130px);
  gap: 26px 25px;
  font-family: var(--qg-sans);
  font-size: 16px;
}

.qg-footer nav a::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 14px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(-45deg);
}

@media (min-width: 1201px) {
  .qg-contact__heading {
    max-width: 968px;
    margin-bottom: 145px;
  }

  .qg-contact__heading h2 {
    white-space: nowrap;
  }

  .qg-hero {
    height: 100vh;
    height: 100svh;
  }

  .qg-nav {
    width: min(1616px, calc(100% - 136px));
    max-width: 1616px;
    margin: 0 auto;
  }

  .qg-hero__content {
    width: min(1590px, calc(100% - 138px));
    max-width: 1590px;
    height: 100%;
    min-height: 0;
    margin: 0 auto;
    padding-top: max(341px, calc(100svh - 379px));
  }

  .qg-hero__outline {
    top: max(172px, calc(100svh - 548px));
    font-size: 140px;
  }

  .qg-hero__location {
    top: max(313px, calc(100svh - 407px));
    right: 117px;
    font-size: 100px;
  }

  .qg-hero__location strong {
    font-size: 1.46em;
  }

  .qg-hero h1 {
    font-size: 54px;
    line-height: 62px;
  }

  .qg-hero__lead {
    margin-top: 25px;
    font-size: 18px;
    line-height: 28px;
  }

  .qg-portfolio {
    height: 1150px;
    padding: 185px max(90px, calc((100% - 1548px) / 2)) 0;
  }

  .qg-portfolio .qg-section-heading {
    max-width: none;
  }

  .qg-portfolio__grid {
    grid-template-columns: repeat(4, 357px);
    justify-content: space-between;
    gap: 0;
    max-width: none;
    margin-top: 72px;
  }

  .qg-card {
    min-height: 550px;
    height: 550px;
  }

  .qg-pill {
    margin-top: 80px;
  }

  .qg-service {
    height: 1116px;
    padding: 132px 0 0;
  }

  .qg-service .qg-section-heading {
    width: 456px;
    max-width: none;
  }

  .qg-service .qg-section-heading p {
    position: absolute;
    top: 116px;
    left: 50%;
    width: 1000px;
    margin: 0;
    transform: translateX(-50%);
    font-size: 36px;
    line-height: 1;
    text-align: center;
  }

  .qg-service__circles {
    position: absolute;
    top: 385px;
    left: 50%;
    width: 1233px;
    max-width: none;
    margin: 0;
    transform: translateX(-50%);
  }

  .qg-service__circle {
    flex: 0 0 447px;
    width: 447px;
    height: 447px;
    margin-left: -53px;
    border-style: solid;
    font-size: 40px;
  }

  .qg-service__caption {
    position: absolute;
    top: 914px;
    left: 50%;
    width: 594px;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #fff;
    transform: translateX(-50%);
    font-size: 36px;
    line-height: 1;
    white-space: nowrap;
  }

  .qg-service__caption small {
    font-size: 16px;
  }

  .qg-clients {
    height: 998px;
    padding: 145px 0 0;
  }

  .qg-clients .qg-section-heading {
    width: 1232px;
    max-width: none;
  }

  .qg-clients__numbers {
    position: absolute;
    top: 334px;
    left: 50%;
    justify-content: space-between;
    width: 1095px;
    margin: 0;
    transform: translateX(-50%);
    text-align: left;
  }

  .qg-clients__numbers div {
    width: 225px;
  }

  .qg-clients__numbers span {
    margin: 0 0 22px;
    color: #000;
    font-size: 22px;
    line-height: 1;
  }

  .qg-clients__numbers strong {
    font-size: 140px;
    font-weight: 600;
    line-height: 0.8;
    white-space: nowrap;
  }

  .qg-client-logos {
    position: absolute;
    top: 640px;
    left: 0;
    gap: 20px;
    width: 100%;
    max-width: none;
    margin: 0;
    transform: none;
  }

  .qg-client-logos__group {
    gap: 22px;
    padding-right: 22px;
  }

  .qg-client-logos img {
    flex-basis: 210px;
    width: 210px;
    height: 86px;
  }

  .qg-process {
    height: 1654px;
    padding: 154px 90px 0;
  }

  .qg-process .qg-section-heading {
    width: 720px;
    max-width: none;
  }

  .qg-process .qg-section-heading > span {
    left: 132px;
  }

  .qg-process .qg-section-heading h2 {
    margin-left: 200px;
  }

  .qg-process .qg-section-heading p {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin: 24px 0 0;
    transform: none;
    font-size: 38px;
    line-height: 1;
    text-align: center;
  }

  .qg-process__list {
    position: absolute;
    top: 430px;
    left: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .qg-process__item {
    position: relative;
    width: 100%;
    min-height: 224px;
    margin: 0;
  }

  .qg-process__item::after {
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    margin: 0;
  }

  .qg-process__item-inner {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 52px;
    width: min(1240px, calc(100% - 180px));
    min-height: 224px;
    margin: 0 auto;
    padding: 45px 0 48px;
  }

  .qg-process__item-inner > span {
    display: block;
    width: auto;
    height: auto;
    margin: -4px 0 0;
    border: 0;
    border-radius: 0;
    color: transparent;
    font-size: 140px;
    font-weight: 300;
    line-height: 0.8;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.7);
  }

  .qg-process__item h3 {
    margin-bottom: 20px;
    font-size: 58px;
    line-height: 1;
  }

  .qg-process__item p {
    max-width: 960px;
    font-family: var(--qg-sans);
    font-size: 16px;
    line-height: 26px;
  }

  .qg-process__closing {
    position: absolute;
    top: 1430px;
    left: 0;
    width: 100%;
    margin: 0;
    font-size: 22px;
    line-height: 40px;
  }

  .qg-love {
    position: relative;
    z-index: 2;
    height: 1503px;
    min-height: 1503px;
    overflow: visible;
  }

  .qg-love__inner {
    height: 1503px;
    min-height: 1503px;
  }

  .qg-love h2 {
    inset: 0;
    font-size: 200px;
    font-weight: 600;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
  }

  .qg-love h2 span {
    position: absolute;
    display: block;
    margin: 0;
  }

  .qg-love h2 span:nth-child(1) {
    top: 0;
    left: 14px;
  }

  .qg-love h2 span:nth-child(2) {
    top: 0.86em;
    left: 399px;
  }

  .qg-love h2 span:nth-child(3) {
    top: 1.685em;
    left: 803px;
  }

  .qg-live {
    width: 535px;
    height: 324px;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    object-fit: cover;
    transform: none;
  }

  .qg-live--1 { left: 135px; top: 611px; width: 535px; }
  .qg-live--2 { left: 1085px; top: 728px; width: 535px; }
  .qg-live--3 { left: 366px; top: 1057px; width: 535px; }
  .qg-live--4 { left: 1311px; top: 1152px; width: 535px; }
  .qg-live--5 { left: -29px; top: 1453px; width: 535px; }
  .qg-live--6 { left: 670px; top: 1291px; width: 535px; }
  .qg-live--7 { left: 1138px; top: 1715px; width: 535px; }

  .qg-faq {
    z-index: 1;
    height: 1501px;
    min-height: 1501px;
    padding: 0;
  }

  .qg-faq__bg {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .qg-faq__bg img {
    position: absolute;
    inset: 0;
    max-width: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    transform: none;
  }

  .qg-faq__bg::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.97) 0%, rgba(0, 0, 0, 0.89) 13%, rgba(0, 0, 0, 0.77) 24%, rgba(0, 0, 0, 0.72) 37%, rgba(0, 0, 0, 0.74) 68%, rgba(0, 0, 0, 0.8) 100%);
  }

  .qg-faq::before {
    content: "";
    position: absolute;
    top: 210px;
    left: 50%;
    z-index: 2;
    width: 1px;
    height: 228px;
    background: #fff;
  }

  .qg-faq::after {
    content: "";
    position: absolute;
    top: 418px;
    left: calc(50% - 43px);
    z-index: 2;
    width: 52px;
    height: 1px;
    background: #fff;
    transform: rotate(45deg);
  }

  .qg-faq .qg-section-heading {
    position: absolute;
    top: 644px;
    left: calc(50% - 619px);
    width: 300px;
    margin: 0;
  }

  .qg-faq .qg-section-heading h2 {
    font-size: 120px;
  }

  .qg-faq__list {
    position: absolute;
    top: 669px;
    right: auto;
    left: calc(50% - 249px);
    width: 869px;
    margin: 0;
  }

  .qg-contact {
    height: 1402px;
    padding: 0;
  }

  .qg-contact::after {
    top: 1542px;
    bottom: auto;
    height: 552px;
  }

  .qg-contact__heading {
    position: absolute;
    top: 162px;
    left: 50%;
    width: 980px;
    max-width: none;
    margin: 0;
    transform: translateX(-50%);
  }

  .qg-contact__heading p {
    top: 0;
    font-size: 200px;
  }

  .qg-contact__heading h2 {
    padding-top: 188px;
    font-size: 90px;
  }

  .qg-contact__grid {
    position: absolute;
    top: 538px;
    left: calc(50% - 620px);
    width: 1240px;
    max-width: none;
    margin: 0;
  }

  .qg-contact-form {
    grid-template-rows: repeat(4, 67px) 24px 44px;
    gap: 16px 36px;
    width: 814px;
    height: 587px;
    min-height: 587px;
    padding: 49px 65px 48px;
    transform: translateY(5px);
  }

  .qg-field {
    gap: 8px;
  }

  .qg-field input,
  .qg-field textarea {
    min-height: 43px;
    height: 43px;
  }

  .qg-field textarea {
    resize: none;
  }

  .qg-check {
    height: 24px;
  }

  .qg-submit {
    height: 44px;
  }

  .qg-form-message {
    position: absolute;
    right: 65px;
    bottom: 19px;
    left: 65px;
    min-height: 0;
  }

  .qg-info {
    width: 391px;
    height: 587px;
    min-height: 587px;
  }

  .qg-info__content {
    padding: 44px 40px 34px;
  }

  .qg-info h3 {
    margin-bottom: 40px;
  }

  .qg-info h4 {
    margin-bottom: 16px;
    padding-top: 20px;
  }

  .qg-info p {
    margin-bottom: 24px;
  }

  .qg-info .qg-mail {
    margin-bottom: 0;
  }

  .qg-footer {
    height: 575px;
    margin-top: -114px;
    padding: 0 90px 133px;
  }

  .qg-footer__breadcrumb {
    position: absolute;
    top: -78px;
    left: calc(50% - 620px);
    font-size: 12px;
  }
}

@media (min-width: 1201px) and (max-width: 1599px) {
  .qg-portfolio {
    padding-right: 54px;
    padding-left: 54px;
  }

  .qg-portfolio__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .qg-love h2 {
    font-size: 11.574vw;
  }

  .qg-love h2 span:nth-child(1) {
    left: 1%;
  }

  .qg-love h2 span:nth-child(2) {
    top: 0.86em;
    left: 23%;
  }

  .qg-love h2 span:nth-child(3) {
    top: 1.685em;
    left: 47%;
  }

  .qg-live {
    width: 31vw;
    height: auto;
    aspect-ratio: 535 / 324;
  }

  .qg-live--1 { left: 7.81%; }
  .qg-live--2 { left: 62.79%; }
  .qg-live--3 { left: 21.18%; }
  .qg-live--4 { right: auto; left: 75.87%; }
  .qg-live--5 { left: -1.68%; }
  .qg-live--6 { left: 38.77%; }
  .qg-live--7 { right: auto; left: 65.86%; }
}

@media (max-width: 1200px) {
  .qg-hero {
    height: 100vh;
    height: 100svh;
  }

  .qg-hero__content {
    height: 100%;
    min-height: 0;
    padding-top: max(320px, calc(100svh - 400px));
  }

  .qg-hero__outline {
    top: max(320px, calc(100svh - 400px));
  }

  .qg-hero__location {
    top: max(450px, calc(100svh - 270px));
  }

  .qg-portfolio__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qg-contact__grid {
    grid-template-columns: 1fr;
  }

  .qg-info {
    min-height: 420px;
  }

  .qg-love {
    min-height: 1220px;
  }

  .qg-love__inner {
    min-height: 1220px;
  }

  .qg-live--1 { left: 8%; top: 360px; width: 230px; }
  .qg-live--2 { left: 48%; top: 350px; width: 310px; }
  .qg-live--3 { left: 20%; top: 620px; width: 260px; }
  .qg-live--4 { right: 8%; top: 630px; width: 290px; }
  .qg-live--5 { left: 8%; top: 850px; width: 270px; }
  .qg-live--6 { left: 42%; top: 900px; width: 280px; }
  .qg-live--7 { right: 7%; top: 980px; width: 320px; }
}

@media (min-width: 1201px) {
  .category-works .qg-contact {
    height: 1302px;
  }

  .category-works .qg-contact::after {
    top: 1496px;
  }

  .category-works .qg-contact__heading {
    top: 116px;
    left: calc(50% - 482px);
    width: 968px;
  }

  .category-works .qg-contact__heading h2 {
    padding-top: 180px;
  }

  .category-works .qg-contact__grid {
    top: 492px;
    transform: translateX(4px);
  }

  .category-works .qg-footer__breadcrumb,
  .category-works .qg-footer__inner {
    transform: translateX(4px);
  }
}

@media (max-width: 900px) {
  .qg-contact {
    scroll-margin-top: 72px;
  }

  .qg-nav {
    z-index: 1000;
    padding-top: 28px;
    translate: none !important;
    clip-path: none !important;
  }

  .qg-nav-backdrop {
    height: 100px;
  }

  .qg-nav.is-scrolled {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .qg-nav.is-scrolled .qg-logo {
    width: 142px;
    height: 40px;
  }

  .qg-nav-spacer {
    height: 78px;
  }

  .qg-logo {
    position: relative;
    z-index: 12;
    width: 156px;
    height: 44px;
  }

  .qg-nav-toggle {
    position: relative;
    z-index: 12;
    display: block;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(15, 15, 15, 0.24);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background-color 300ms ease, border-color 300ms ease, transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .qg-nav-toggle span {
    position: absolute;
    top: 20px;
    right: 13px;
    left: 13px;
    display: block;
    height: 1px;
    background: #fff;
    transform-origin: center;
    transition: top 360ms cubic-bezier(0.16, 1, 0.3, 1), transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .qg-nav-toggle span + span {
    top: 29px;
  }

  .qg-nav-toggle[aria-expanded="true"] {
    border-color: rgba(195, 255, 0, 0.7);
    background: rgba(195, 255, 0, 0.1);
    transform: rotate(90deg);
  }

  .qg-nav-toggle[aria-expanded="true"] span {
    top: 24px;
    transform: rotate(45deg);
  }

  .qg-nav-toggle[aria-expanded="true"] span + span {
    transform: rotate(-45deg);
  }

  .qg-nav__links {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-width: 0;
    padding: clamp(112px, 16vh, 150px) var(--qg-side) clamp(36px, 7vh, 64px);
    overflow: hidden;
    counter-reset: qg-mobile-menu;
    background: rgba(10, 12, 10, 0.97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-18px) scale(1.015);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    transition:
      opacity 480ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 600ms cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0s linear 600ms;
  }

  .qg-nav__links::before {
    content: "QUON";
    position: absolute;
    right: -0.08em;
    bottom: -0.18em;
    z-index: -1;
    font-family: var(--qg-display);
    font-size: clamp(170px, 52vw, 250px);
    font-weight: 600;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
    pointer-events: none;
  }

  .qg-nav__links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  .qg-nav__links a {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: baseline;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(14px, 2.4vh, 22px) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-family: var(--qg-display);
    font-size: clamp(39px, 11vw, 64px);
    font-weight: 500;
    line-height: 0.98;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 420ms ease, transform 600ms cubic-bezier(0.16, 1, 0.3, 1), color 220ms ease;
  }

  .qg-nav__links a:not(.qg-nav__contact) {
    counter-increment: qg-mobile-menu;
  }

  .qg-nav__links a:not(.qg-nav__contact)::before {
    content: "0" counter(qg-mobile-menu);
    flex: 0 0 34px;
    margin-right: 12px;
    font-family: var(--qg-sans);
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    color: var(--qg-lime);
  }

  .qg-nav__links a:not(.qg-nav__contact)::after {
    display: none;
  }

  .qg-nav__links.is-open a {
    opacity: 1;
    transform: translateY(0);
  }

  .qg-nav__links.is-open a:nth-child(1) { transition-delay: 130ms; }
  .qg-nav__links.is-open a:nth-child(2) { transition-delay: 180ms; }
  .qg-nav__links.is-open a:nth-child(3) { transition-delay: 230ms; }
  .qg-nav__links.is-open a:nth-child(4) { transition-delay: 280ms; }
  .qg-nav__links.is-open a:nth-child(5) { transition-delay: 330ms; }
  .qg-nav__links.is-open .qg-language { transition-delay: 380ms; }
  .qg-nav__links.is-open .qg-nav__contact { transition-delay: 430ms; }

  html[lang="ja"] .qg-nav__links > a {
    font-family: "Noto Sans JP", var(--qg-sans);
    font-weight: 700;
  }

  .qg-language {
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 720px;
    margin: clamp(18px, 3vh, 28px) auto 0;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 420ms ease, transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .qg-nav__links.is-open .qg-language {
    opacity: 1;
    transform: translateY(0);
  }

  .qg-language__toggle {
    height: 38px;
    pointer-events: none;
  }

  .qg-language__toggle strong,
  .qg-language__toggle::after {
    display: none;
  }

  .qg-language__options,
  .qg-language__options.is-open {
    position: static;
    display: flex;
    gap: 8px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .qg-nav .qg-language__options a {
    width: 54px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-family: var(--qg-sans);
    font-size: 12px;
    line-height: 1;
    opacity: 1;
    transform: none;
  }

  .qg-nav .qg-language__options a::before,
  .qg-nav .qg-language__options a::after {
    display: none;
  }

  .qg-nav__links a:focus-visible {
    outline: 1px solid var(--qg-lime);
    outline-offset: 5px;
  }

  .qg-nav__links .qg-nav__contact {
    justify-content: center;
    min-width: 0;
    margin-top: clamp(28px, 5vh, 42px);
    padding: 15px 28px;
    border: 1px solid var(--qg-lime);
    border-radius: 0;
    background: var(--qg-lime);
    color: #000;
    font-family: var(--qg-display);
    font-size: clamp(39px, 11vw, 64px);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: 0;
  }

  .qg-nav__contact::before {
    display: none;
  }

  @media (max-height: 680px) {
    .qg-nav__links {
      justify-content: flex-start;
      padding-top: clamp(64px, 15vh, 104px);
      padding-bottom: 12px;
      overflow-y: auto;
    }

    .qg-nav__links a {
      padding: 14px 0;
      font-size: 32px;
    }

    .qg-nav__links .qg-nav__contact {
      margin-top: 18px;
      padding: 14px 24px;
      font-size: 32px;
    }

    .qg-nav__links::before {
      display: none;
    }
  }

  .qg-hero {
    height: 100vh;
    height: 100svh;
  }

  .qg-hero__content {
    height: 100%;
    min-height: 0;
    padding-top: max(305px, calc(100svh - 375px));
  }

  .qg-hero__outline {
    top: max(280px, calc(100svh - 400px));
  }

  .qg-hero__location {
    top: max(360px, calc(100svh - 305px));
    right: auto;
    left: 0;
  }

  .qg-portfolio,
  .qg-service,
  .qg-clients,
  .qg-process,
  .qg-contact {
    padding-top: 95px;
    padding-bottom: 100px;
  }

  .qg-section-heading h2,
  .qg-section-heading p {
    margin-left: 54px;
  }

  .qg-portfolio__grid {
    gap: 24px;
    margin-top: 54px;
  }

  .qg-service__circles {
    flex-direction: column;
    align-items: center;
    margin-top: 64px;
  }

  .qg-service__circle {
    width: min(72vw, 360px);
    margin: -20px 0 0;
  }

  .qg-service__circle:first-child {
    margin-top: 0;
  }

  .qg-clients__numbers {
    flex-direction: column;
    gap: 22px;
  }

  .qg-client-logos {
    gap: 14px;
  }

  .qg-faq {
    min-height: auto;
    padding-top: 150px;
  }

  .qg-faq__list {
    margin: 50px auto 0;
  }

  .qg-contact__heading {
    margin-bottom: 70px;
  }

  .qg-contact__heading p {
    white-space: normal;
  }

  .qg-contact-form {
    padding: 36px 28px;
  }

  .qg-footer__inner {
    padding: 82px 46px 70px;
  }
}

@media (max-width: 640px) {
  :root {
    --qg-side: 18px;
  }

  .qg-logo {
    width: 126px;
  }

  .qg-hero {
    height: 100vh;
    height: 100svh;
  }

  .qg-hero__content {
    height: 100%;
    min-height: 0;
    padding-top: max(300px, calc(100svh - 340px));
  }

  .qg-hero__outline {
    top: max(260px, calc(100svh - 372px));
    font-size: 33px;
    white-space: nowrap;
  }

  .qg-hero__location {
    top: max(340px, calc(100svh - 304px));
    font-size: 48px;
  }

  .qg-hero h1 {
    font-size: 32px;
  }

  .qg-hero__lead {
    font-size: 15px;
  }

  .qg-section-heading span {
    top: 8px;
    font-size: 18px;
  }

  .qg-section-heading h2 {
    margin-left: 42px;
    font-size: 38px;
  }

  .qg-section-heading p {
    margin-left: 42px;
  }

  .qg-portfolio__grid {
    grid-template-columns: 1fr;
  }

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

  .qg-card figure {
    height: 285px;
  }

  .qg-pill {
    height: 60px;
    margin-top: 54px;
    font-size: 16px;
  }

  .qg-client-logos {
    gap: 12px;
  }

  .qg-client-logos__group {
    gap: 16px;
    padding-right: 16px;
  }

  .qg-client-logos img {
    flex-basis: 130px;
    width: 130px;
    height: 40px;
  }

  .qg-process__item {
    width: 100%;
  }

  .qg-process__item-inner {
    grid-template-columns: 42px 1fr;
  }

  .qg-love {
    min-height: 900px;
  }

  .qg-love__inner {
    min-height: 900px;
  }

  .qg-love h2 {
    top: 70px;
    font-size: 48px;
  }

  .qg-love h2 span {
    margin-left: 68px;
  }

  .qg-live {
    border-width: 6px;
  }

  .qg-live--1 { left: 7%; top: 250px; width: 150px; }
  .qg-live--2 { left: 45%; top: 270px; width: 175px; }
  .qg-live--3 { left: 20%; top: 440px; width: 170px; }
  .qg-live--4 { right: 4%; top: 510px; width: 170px; }
  .qg-live--5 { left: 4%; top: 650px; width: 170px; }
  .qg-live--6 { left: 43%; top: 690px; width: 165px; }
  .qg-live--7 { right: 4%; top: 770px; width: 190px; }

  .qg-faq .qg-section-heading h2 {
    font-size: 64px;
  }

  .qg-faq__question {
    min-height: 60px;
    padding: 16px 46px 16px 48px;
    font-size: 17px;
  }

  .qg-faq__item {
    min-height: 60px;
    margin-bottom: 16px;
  }

  .qg-faq__question > .qg-faq__label {
    left: 18px;
  }

  .qg-faq__question i {
    right: 20px;
  }

  .qg-faq__answer-content {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 8px;
    padding-right: 46px;
    padding-left: 18px;
    font-size: 14px;
  }

  .qg-faq__item.is-open .qg-faq__answer-content {
    padding-top: 16px;
    padding-bottom: 20px;
  }

  .qg-contact__heading p {
    top: -22px;
    font-size: 68px;
  }

  .qg-contact__heading h2 {
    padding-top: 60px;
    font-size: 42px;
  }

  .qg-contact-form {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 18px;
  }

  .qg-info__content {
    padding: 44px 30px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
  }

  .qg-info h3 {
    font-size: 32px;
  }

  .qg-footer {
    padding-bottom: 40px;
  }

  .qg-footer .qg-footer__breadcrumb {
    margin: 0;
    padding: 24px 0;
    color: #000;
  }

  .qg-footer__inner {
    min-height: 0;
    flex-direction: column;
    gap: 48px;
    padding: 52px 34px;
  }

  .qg-footer img {
    width: 210px;
  }

  .qg-footer nav {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Motion system */
.qg-scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9999;
  height: 3px;
  background: var(--qg-lime);
  box-shadow: 0 0 16px rgba(195, 255, 0, 0.5);
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.qg-hero {
  --qg-hero-x: 0px;
  --qg-hero-y: 0px;
  --qg-hero-scroll: 0px;
}

.qg-hero__media img {
  transform: translate3d(var(--qg-hero-x), calc(var(--qg-hero-y) + var(--qg-hero-scroll)), 0) scale(1.06);
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.qg-motion-ready .qg-nav,
.qg-motion-ready .qg-hero__outline,
.qg-motion-ready .qg-hero__location,
.qg-motion-ready .qg-hero h1,
.qg-motion-ready .qg-hero__lead {
  opacity: 0;
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    translate 1100ms cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qg-motion-ready .qg-nav {
  translate: 0 -28px;
}

.qg-motion-ready .qg-hero__outline {
  translate: -70px 0;
  clip-path: inset(0 100% 0 0);
  transition-delay: 160ms;
}

.qg-motion-ready .qg-hero__location {
  translate: 70px 0;
  clip-path: inset(0 0 0 100%);
  transition-delay: 260ms;
}

.qg-motion-ready .qg-hero h1 {
  translate: 0 55px;
  clip-path: inset(0 0 100% 0);
  transition-delay: 390ms;
}

.qg-motion-ready .qg-hero__lead {
  translate: 0 32px;
  transition-delay: 610ms;
}

.qg-intro-ready .qg-nav,
.qg-intro-ready .qg-hero__outline,
.qg-intro-ready .qg-hero__location,
.qg-intro-ready .qg-hero h1,
.qg-intro-ready .qg-hero__lead {
  opacity: 1;
  translate: 0 0;
  clip-path: inset(0 0 0 0);
}

.qg-intro-ready .qg-nav {
  clip-path: none;
}

.qg-motion-ready [data-qg-reveal] {
  opacity: 0;
  translate: 0 54px;
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    translate 900ms cubic-bezier(0.16, 1, 0.3, 1),
    scale 900ms cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 1000ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 300ms ease,
    border-color 300ms ease,
    color 300ms ease,
    box-shadow 450ms ease,
    filter 450ms ease,
    transform 180ms ease-out,
    rotate 420ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--qg-delay, 0ms);
}

.qg-motion-ready [data-qg-reveal="heading"] {
  translate: 0 42px;
  clip-path: none;
  overflow: visible;
}

.qg-motion-ready [data-qg-reveal="card"] {
  translate: 0 72px;
  scale: 0.96;
  transform-origin: center bottom;
}

.qg-motion-ready [data-qg-reveal="scale"] {
  translate: 0 0;
  scale: 0.76;
}

.qg-motion-ready [data-qg-reveal="logo"] {
  translate: 0 24px;
  scale: 0.86;
  filter: grayscale(1);
  transition-property: opacity, translate, scale, filter;
}

.qg-motion-ready [data-qg-reveal="logo-row"] {
  translate: 0 22px;
}

.qg-motion-ready [data-qg-reveal="process"] {
  translate: 52px 0;
}

.qg-motion-ready [data-qg-reveal="line"] {
  translate: var(--qg-line-x, -90px) 0;
  clip-path: inset(0 70% 0 0);
}

.qg-motion-ready [data-qg-reveal="photo"] {
  translate: 0 74px;
  scale: 0.9;
}

.qg-motion-ready [data-qg-reveal="faq"] {
  translate: 64px 0;
}

.qg-motion-ready [data-qg-reveal="left"] {
  translate: -72px 0;
}

.qg-motion-ready [data-qg-reveal="right"] {
  translate: 72px 0;
}

.qg-motion-ready [data-qg-reveal].is-inview {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  clip-path: inset(0 0 0 0);
  filter: none;
}

.qg-motion-ready [data-qg-reveal="heading"].is-inview {
  clip-path: none;
  overflow: visible;
}

.qg-motion-ready [data-qg-reveal].is-motion-settled {
  transition-delay: 0ms;
  will-change: auto;
}

.qg-nav__links a:not(.qg-nav__contact),
.qg-footer nav a {
  position: relative;
}

.qg-nav__links a:not(.qg-nav__contact)::after,
.qg-footer nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qg-footer nav a::after {
  bottom: -7px;
}

.qg-nav__links a:not(.qg-nav__contact):hover::after,
.qg-footer nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.qg-nav__contact,
.qg-pill,
.qg-submit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: color 320ms ease, border-color 320ms ease, scale 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qg-nav__contact::before,
.qg-pill::after,
.qg-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--qg-lime);
  transform: translateX(-102%);
  transition: transform 460ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qg-nav__contact:hover,
.qg-pill:hover,
.qg-submit:hover {
  border-color: var(--qg-lime);
  color: #000;
  scale: 1.018;
}

.qg-nav__contact:hover::before,
.qg-pill:hover::after,
.qg-submit:hover::before {
  transform: translateX(0);
}

.qg-card {
  transition: box-shadow 450ms ease, scale 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qg-card figure img {
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1), filter 450ms ease;
}

.qg-card:hover {
  z-index: 2;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
  scale: 1.025;
}

.qg-card:hover figure img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.055);
}

.qg-service__circle {
  --qg-magnetic-x: 0px;
  --qg-magnetic-y: 0px;
  transform: translate3d(var(--qg-magnetic-x), var(--qg-magnetic-y), 0);
  transition:
    transform 180ms ease-out,
    scale 420ms cubic-bezier(0.16, 1, 0.3, 1),
    color 320ms ease,
    border-color 320ms ease,
    background-color 320ms ease;
  will-change: transform;
}

.qg-service__circle:hover {
  z-index: 2;
  border-color: var(--qg-lime);
  background: var(--qg-lime);
  color: #090909;
  scale: 1.035;
}

.qg-client-logos img {
  transition: opacity 320ms ease, filter 320ms ease, scale 320ms ease;
}

.qg-client-logos:hover img:not(:hover) {
  opacity: 0.38;
  filter: grayscale(1);
}

.qg-client-logos img:hover {
  scale: 1.09;
}

.qg-motion-ready .qg-process__item::after {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1000ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--qg-delay, 0ms) + 180ms);
}

.qg-motion-ready .qg-process__item.is-inview::after {
  transform: scaleX(1);
}

@media (min-width: 1201px) {
  .qg-live {
    transform: translate3d(0, var(--qg-parallax-y, 0px), 0);
    transition: transform 120ms linear;
    will-change: transform;
  }
}

.qg-live {
  transition-property: opacity, translate, scale, box-shadow;
}

.qg-live:hover {
  z-index: 4;
  scale: 1.035;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.48);
}

.qg-faq__item {
  overflow: hidden;
  transition:
    background-color 300ms ease,
    color 300ms ease,
    translate 350ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 350ms ease;
}

.qg-faq__item::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -24%;
  width: 18%;
  background: rgba(195, 255, 0, 0.7);
  pointer-events: none;
  transform: skewX(-18deg);
  transition: left 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qg-faq__item:hover {
  background: var(--qg-lime);
  translate: 9px 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.qg-faq__item:hover::after {
  left: 112%;
}

.qg-faq__question i {
  transition: rotate 420ms cubic-bezier(0.16, 1, 0.3, 1), scale 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qg-faq__item:hover .qg-faq__question i {
  rotate: 90deg;
  scale: 1.15;
}

.qg-faq__item.is-open .qg-faq__question i {
  rotate: 180deg;
  scale: 1;
}

.qg-faq__item.is-tapped {
  animation: qg-faq-tap 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qg-field input,
.qg-field textarea {
  transition: border-color 240ms ease, box-shadow 240ms ease, background-color 240ms ease;
}

.qg-field input:focus,
.qg-field textarea:focus {
  outline: none;
  border-color: #7aa000;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(195, 255, 0, 0.28);
}

.qg-info__media img {
  transform: translate3d(0, var(--qg-info-y, 0px), 0) scale(1.08);
  transition: transform 180ms linear;
  will-change: transform;
}

.qg-info:hover .qg-info__media img {
  transform: translate3d(0, var(--qg-info-y, 0px), 0) scale(1.12);
}

@keyframes qg-faq-tap {
  0%, 100% { scale: 1; }
  42% { scale: 0.985; }
  68% { scale: 1.008; }
}

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

  .qg-scroll-progress {
    display: none;
  }

  .qg-client-logos__track {
    animation: none !important;
    transform: translateX(0) !important;
  }

  .qg-nav__links,
  .qg-nav__links::after,
  .qg-nav__links a,
  .qg-nav-toggle,
  .qg-nav-toggle span {
    transition: none !important;
  }

  .qg-hero__media img,
  .qg-info__media img,
  .qg-service__circle {
    transform: none !important;
  }

  .qg-motion-ready .qg-nav,
  .qg-motion-ready .qg-hero__outline,
  .qg-motion-ready .qg-hero__location,
  .qg-motion-ready .qg-hero h1,
  .qg-motion-ready .qg-hero__lead,
  .qg-motion-ready [data-qg-reveal] {
    opacity: 1 !important;
    translate: 0 0 !important;
    scale: 1 !important;
    clip-path: none !important;
    filter: none !important;
    transition: none !important;
  }

  .qg-motion-ready .qg-process__item::after {
    transform: scaleX(1);
    transition: none;
  }

  .qg-page *,
  .qg-page *::before,
  .qg-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Works archive */
.qg-works-hero {
  --qg-list-hero-padding-top: 148px;
  --qg-list-hero-padding-bottom: 38px;
  position: relative;
  background: #131313;
}

.qg-works-hero__content {
  position: relative;
  width: 976px;
  margin: 0 auto;
  padding: var(--qg-list-hero-padding-top) 0 var(--qg-list-hero-padding-bottom);
  font-family: var(--qg-display);
}

.qg-works-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 200px;
  font-weight: 600;
  line-height: 180px;
  white-space: nowrap;
}

.qg-works-hero__lead {
  width: 860px;
  margin: 51px 0 0 9px;
  color: #fff;
  font-size: 18px;
  line-height: 28px;
}

.qg-works-hero__lead p {
  margin: 0;
}

.qg-works-listing {
  position: relative;
  padding: 36px var(--qg-side) 40px;
  background: linear-gradient(to bottom, #131313 0, #131313 calc(100% - 341px), #141414 calc(100% - 341px), #141414 100%);
}

.qg-work-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 287px));
  justify-content: space-between;
  gap: 78px 30px;
  width: 100%;
  max-width: 1233px;
  margin: 0 auto;
  transform: translateX(4px);
}

.qg-work-card {
  height: 434px;
}

.qg-work-card,
.qg-work-card__link {
  min-width: 0;
}

.qg-work-card figure {
  height: 358px;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #232323;
}

.qg-work-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1), filter 450ms ease;
}

.qg-work-card__body {
  padding: 18px 2px 0;
  font-family: var(--qg-display);
}

.qg-work-card h2,
.qg-work-card h3 {
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-family: var(--qg-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qg-post-status-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 22px;
  margin-right: 10px;
  padding: 4px 9px 3px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #d9d9d9;
  font-family: "Noto Sans JP", var(--qg-sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  vertical-align: middle;
  white-space: nowrap;
}

.qg-post-status-tag--protected {
  border-color: rgba(222, 171, 83, 0.52);
  background: rgba(222, 171, 83, 0.14);
  color: #e5bd79;
}

.qg-work-card .qg-post-status-tag {
  min-height: 18px;
  margin-right: 7px;
  padding: 3px 7px 2px;
  font-size: 9px;
  vertical-align: 2px;
}

.qg-work-card__body p {
  margin: 0;
  color: #9a9a9a;
  font-family: "Noto Sans JP", var(--qg-sans);
  font-size: 12px;
  line-height: 28px;
}

.qg-work-card__link {
  display: block;
}

.qg-work-card:hover figure img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.035);
}

.qg-pagination {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: max-content;
  max-width: 100%;
  min-height: 43px;
  margin: 79px auto 0;
  transform: translateX(4px);
  font-family: var(--qg-display);
  font-size: 20px;
  line-height: 1;
}

.qg-pagination .page-numbers:not(.dots) {
  display: inline-flex;
  flex: 0 0 43px;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #2f2f2f;
  color: #fff;
  transition: background-color 250ms ease, color 250ms ease, transform 250ms ease;
}

.qg-pagination .page-numbers.current,
.qg-pagination .page-numbers:not(.current):hover {
  background: var(--qg-lime);
  color: #000;
}

.qg-pagination .page-numbers:not(.current):hover {
  transform: translateY(-2px);
}

.qg-pagination .page-numbers.next,
.qg-pagination .page-numbers.prev {
  flex-basis: 22px;
  width: 22px;
  height: 43px;
  border-radius: 0;
  background: transparent;
  font-size: 24px;
}

.qg-motion-ready .qg-works-hero h1,
.qg-motion-ready .qg-works-hero__lead {
  opacity: 0;
  translate: 0 42px;
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), translate 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qg-motion-ready .qg-works-hero__lead {
  transition-delay: 180ms;
}

.qg-intro-ready .qg-works-hero h1,
.qg-intro-ready .qg-works-hero__lead {
  opacity: 1;
  translate: 0 0;
}

@media (max-width: 1200px) {
  .qg-works-hero {
    --qg-list-hero-padding-top: 112px;
    --qg-list-hero-padding-bottom: 70px;
  }

  .qg-works-hero__content {
    width: min(860px, calc(100% - (var(--qg-side) * 2)));
  }

  .qg-works-hero h1 {
    font-size: 130px;
    line-height: 120px;
  }

  .qg-works-hero__lead {
    width: min(760px, 100%);
    margin-top: 38px;
    margin-left: 0;
  }

  .qg-works-listing {
    padding-top: 48px;
  }

  .qg-work-grid {
    grid-template-columns: repeat(3, minmax(0, 287px));
    justify-content: center;
    transform: none;
  }
}

@media (max-width: 900px) {
  .qg-works-hero {
    --qg-list-hero-padding-top: 132px;
    --qg-list-hero-padding-bottom: 90px;
  }

  .qg-works-hero h1 {
    font-size: 96px;
    line-height: 0.95;
  }

  .qg-works-hero__lead {
    margin-top: 36px;
    font-size: 16px;
    line-height: 25px;
  }

  .qg-work-grid {
    grid-template-columns: repeat(2, minmax(0, 287px));
    gap: 62px 28px;
  }

  .qg-works-listing {
    background: #131313;
  }
}

@media (max-width: 620px) {
  .qg-works-hero {
    --qg-list-hero-padding-top: 110px;
    --qg-list-hero-padding-bottom: 80px;
  }

  .qg-works-hero__content {
    width: calc(100% - 44px);
  }

  .qg-works-hero h1 {
    font-size: 64px;
    line-height: 1;
  }

  .qg-works-hero__lead {
    margin-top: 34px;
    font-size: 15px;
    line-height: 24px;
  }

  .qg-work-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 54px;
  }

  .qg-work-card {
    height: auto;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .qg-work-card figure {
    height: auto;
    aspect-ratio: 287 / 358;
  }

  .qg-pagination {
    gap: 5px;
    margin-top: 64px;
    transform: none;
    font-size: 18px;
  }

  .qg-pagination .page-numbers:not(.dots) {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .qg-pagination .page-numbers.next,
  .qg-pagination .page-numbers.prev {
    flex-basis: 20px;
    width: 20px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qg-motion-ready .qg-works-hero h1,
  .qg-motion-ready .qg-works-hero__lead {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }
}

/* Blog archive */
.qg-blog-listing {
  padding-top: 36px;
}

.qg-blog-grid {
  grid-template-columns: repeat(3, minmax(0, 391px));
  gap: 72px 31px;
  max-width: 1235px;
  transform: none;
}

.qg-blog-grid .qg-work-card {
  height: auto;
  min-height: 330px;
}

.qg-blog-grid .qg-work-card figure {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.qg-blog-grid .qg-work-card figure img {
  object-position: center;
}

.qg-blog-grid .qg-work-card__body {
  padding-top: 20px;
}

.qg-blog-grid .qg-work-card h2 {
  display: -webkit-box;
  min-height: 60px;
  overflow: hidden;
  font-family: "Noto Sans JP", var(--qg-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.qg-blog-grid .qg-work-card__body p {
  margin-top: 7px;
  color: #a8a8a8;
  font-size: 12px;
  line-height: 20px;
}

.qg-blog-listing__empty {
  grid-column: 1 / -1;
  margin: 60px 0;
  color: #fff;
  font-family: var(--qg-sans);
  text-align: center;
}

@media (max-width: 900px) {
  .qg-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .qg-blog-hero h1 {
    font-size: 58px;
  }

  .qg-blog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .qg-blog-grid .qg-work-card {
    max-width: 360px;
    min-height: 0;
  }
}

/* Work detail */
.qg-work-detail-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
}

.qg-work-detail {
  position: relative;
  height: auto;
  padding: 207px 0 130px;
  background: #131313;
  color: #fff;
  font-family: var(--qg-display);
}

.qg-work-detail__title,
.qg-related > h2 {
  width: min(1232px, calc(100% - (var(--qg-side) * 2)));
  margin: 0 auto;
  color: #fff;
  font-family: var(--qg-display);
  font-size: 100px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
}

.qg-work-detail__title {
  width: min(1232px, calc(100% - (var(--qg-side) * 2)));
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: wrap;
}

.qg-work-detail__title .qg-post-status-tag {
  min-height: 26px;
  margin-right: 14px;
  padding: 6px 11px 5px;
  font-size: 12px;
  vertical-align: middle;
}

@media (min-width: 1201px) {
  .qg-work-detail__title:not(.qg-work-detail__title--long):not(.qg-work-detail__title--xlong) {
    white-space: normal;
  }

  .qg-work-detail__title--long {
    font-size: 72px;
    line-height: 1.08;
  }

  .qg-work-detail__title--xlong {
    font-size: 54px;
    line-height: 1.08;
  }
}

.qg-work-detail__intro {
  width: min(1232px, calc(100% - (var(--qg-side) * 2)));
  margin: 36px auto 0;
  font-size: 18px;
  line-height: 28px;
}

.qg-work-detail__intro p {
  max-width: 822px;
  margin: 0;
}

.qg-work-detail__media {
  display: grid;
  grid-template-columns: minmax(0, 2.37fr) minmax(0, 1fr);
  gap: 54px;
  width: min(1236px, calc(100% - (var(--qg-side) * 2)));
  height: 622px;
  margin: 48px auto 0;
}

.qg-work-detail__media figure {
  height: 622px;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #232323;
}

.qg-work-detail__image-button {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.qg-work-detail__image-button:focus-visible {
  outline: 3px solid var(--qg-lime);
  outline-offset: -3px;
}

.qg-work-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  .qg-work-detail__image-button:hover img {
    transform: scale(1.015);
  }
}

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

.qg-work-lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  padding: 72px clamp(16px, 3vw, 48px) 48px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(7, 7, 7, 0.97);
}

.qg-work-lightbox[hidden] {
  display: none;
}

.qg-work-lightbox__content {
  width: min(1600px, 100%);
  min-height: 100%;
  margin: 0 auto;
  outline: none;
}

.qg-work-lightbox__content img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  background: #171717;
}

.qg-work-lightbox__close {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.82);
  color: #fff;
  cursor: pointer;
}

.qg-work-lightbox__close span::before,
.qg-work-lightbox__close span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1px;
  background: currentColor;
}

.qg-work-lightbox__close span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.qg-work-lightbox__close span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.qg-work-lightbox__close:hover {
  border-color: var(--qg-lime);
  color: var(--qg-lime);
}

.qg-work-lightbox__close:focus-visible {
  outline: 2px solid var(--qg-lime);
  outline-offset: 3px;
}

.qg-project-meta {
  display: grid;
  grid-template-columns: minmax(0, 590px) minmax(0, 547px);
  gap: 94px;
  width: min(1231px, calc(100% - (var(--qg-side) * 2)));
  margin: 76px auto 0;
  font-size: 18px;
  line-height: 28px;
}

.qg-project-meta dl {
  margin: 0;
}

.qg-project-meta dl:only-child {
  grid-column: 1 / -1;
}

.qg-project-meta dl > div {
  display: grid;
  min-height: 76px;
  margin: 0;
}

.qg-project-meta__primary > div {
  grid-template-columns: 189px minmax(0, 1fr);
}

.qg-project-meta__secondary > div {
  grid-template-columns: 114px minmax(0, 1fr);
}

.qg-project-meta dt,
.qg-project-meta dd {
  margin: 0;
}

.qg-case-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 71px;
  width: min(1232px, calc(100% - (var(--qg-side) * 2)));
  min-height: 383px;
  margin: 68px auto 0;
  padding: 76px 83px 70px;
  border-radius: 20px;
  background: #1e1e1e;
}

.qg-case-panel h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
}

.qg-case-panel p {
  margin: 32px 0 0;
  color: #fff;
  font-family: var(--qg-sans);
  font-size: 16px;
  line-height: 28px;
}

.qg-site-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 283px;
  height: 46px;
  margin: 50px auto 0;
  border: 1px solid #fff;
  border-radius: 999px;
  font-size: 18px;
  line-height: 28px;
  transition: background-color 240ms ease, color 240ms ease;
}

.qg-site-link:hover {
  background: #fff;
  color: #000;
}

.qg-related {
  margin-top: 84px;
}

.qg-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 287px));
  justify-content: space-between;
  width: min(1232px, calc(100% - (var(--qg-side) * 2)));
  margin: 52px auto 0;
}

.qg-related__all {
  width: min(494px, calc(100vw - 44px));
  margin: 72px auto 0;
}

@media (min-width: 1201px) {
  .qg-work-detail + .qg-contact {
    height: 1348px;
  }

  .qg-work-detail + .qg-contact::after {
    top: 1542px;
  }

  .qg-work-single .qg-footer {
    height: 650px;
    padding-top: 54px;
  }

  .qg-work-single .qg-footer__breadcrumb {
    top: -20px;
  }
}

.qg-motion-ready .qg-work-detail__title,
.qg-motion-ready .qg-work-detail__intro {
  opacity: 0;
  translate: 0 42px;
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), translate 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qg-motion-ready .qg-work-detail__intro {
  transition-delay: 180ms;
}

.qg-intro-ready .qg-work-detail__title,
.qg-intro-ready .qg-work-detail__intro {
  opacity: 1;
  translate: 0 0;
}

@media (max-width: 1200px) {
  .qg-work-detail-header {
    position: relative;
    min-height: 106px;
    background: #131313;
  }

  .qg-work-detail {
    height: auto;
    padding: 100px var(--qg-side) 130px;
  }

  .qg-work-detail__title,
  .qg-related > h2,
  .qg-work-detail__intro,
  .qg-work-detail__media,
  .qg-project-meta,
  .qg-case-panel,
  .qg-site-link,
  .qg-related__grid,
  .qg-related__all {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    transform: none;
  }

  .qg-work-detail__title,
  .qg-related > h2 {
    font-size: 76px;
    line-height: 1;
  }

  .qg-work-detail__intro {
    max-width: 822px;
    margin-top: 56px;
  }

  .qg-work-detail__media {
    grid-template-columns: minmax(0, 2.37fr) minmax(0, 1fr);
    gap: 32px;
    height: 52vw;
    max-height: 622px;
    margin-top: 48px;
  }

  .qg-work-detail__media figure {
    height: 100%;
  }

  .qg-project-meta {
    grid-template-columns: 1fr 1fr;
    gap: 54px;
    margin-top: 76px;
  }

  .qg-project-meta__primary > div,
  .qg-project-meta__secondary > div {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .qg-case-panel {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    min-height: 0;
    margin-top: 68px;
    padding: 60px;
  }

  .qg-site-link {
    width: 283px;
    margin: 50px auto 0;
  }

  .qg-related {
    margin-top: 84px;
  }

  .qg-related__grid {
    grid-template-columns: repeat(3, minmax(0, 287px));
    justify-content: center;
    gap: 56px 30px;
    margin-top: 52px;
  }

  .qg-related__all {
    width: min(494px, calc(100vw - 44px));
    margin: 72px auto 0;
  }
}

@media (max-width: 900px) {
  .qg-work-detail {
    padding-top: 76px;
  }

  .qg-work-detail__title,
  .qg-related > h2 {
    font-size: 60px;
  }

  .qg-project-meta {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .qg-case-panel {
    grid-template-columns: 1fr;
  }

  .qg-related__grid {
    grid-template-columns: repeat(2, minmax(0, 287px));
  }
}

@media (max-width: 620px) {
  .qg-work-lightbox {
    padding: 66px 10px 24px;
  }

  .qg-work-lightbox__close {
    top: 12px;
    right: 12px;
  }

  .qg-work-detail-header {
    min-height: 80px;
  }

  .qg-work-detail {
    padding-top: 64px;
    padding-bottom: 100px;
  }

  .qg-work-detail__title,
  .qg-related > h2 {
    font-size: 44px;
    line-height: 1.08;
  }

  .qg-work-detail__intro {
    margin-top: 36px;
    font-size: 15px;
    line-height: 24px;
  }

  .qg-work-detail__media {
    gap: 12px;
    height: 238px;
    margin-top: 38px;
  }

  .qg-project-meta {
    margin-top: 54px;
    font-size: 15px;
    line-height: 23px;
  }

  .qg-project-meta dl > div,
  .qg-project-meta__primary > div,
  .qg-project-meta__secondary > div {
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 0;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .qg-case-panel {
    gap: 44px;
    margin-top: 54px;
    padding: 38px 24px;
    border-radius: 12px;
  }

  .qg-case-panel h2 {
    font-size: 27px;
    line-height: 1.2;
  }

  .qg-case-panel p {
    margin-top: 22px;
    font-size: 14px;
    line-height: 24px;
  }

  .qg-site-link {
    width: min(283px, 100%);
  }

  .qg-related {
    margin-top: 76px;
  }

  .qg-related__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 52px;
    margin-top: 42px;
  }

  .qg-related__all {
    margin-top: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qg-motion-ready .qg-work-detail__title,
  .qg-motion-ready .qg-work-detail__intro {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }
}

/* Blog detail */
.qg-blog-detail-header {
  position: relative;
  z-index: 20;
  min-height: 122px;
  background: #131313;
}

.qg-blog-detail-page .qg-page {
  overflow: clip;
}

.qg-blog-detail {
  background: #131313;
  color: #fff;
  font-family: var(--qg-sans);
}

.qg-blog-article {
  padding: 38px var(--qg-side) 150px;
}

.qg-blog-article__cover {
  width: min(1240px, 100%);
  aspect-ratio: 16 / 6.5;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: #222;
}

.qg-blog-article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.qg-blog-article__grid {
  display: grid;
  grid-template-columns: 52px minmax(0, 760px) minmax(260px, 328px);
  gap: 0 42px;
  width: min(1240px, 100%);
  margin: 58px auto 0;
}

.qg-blog-share {
  position: sticky;
  top: 122px;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qg-blog-share > span {
  margin-bottom: 6px;
  color: #8f8f8f;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  writing-mode: vertical-rl;
}

.qg-blog-share a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.qg-blog-share a:hover,
.qg-blog-share a:focus-visible {
  border-color: var(--qg-lime);
  background: var(--qg-lime);
  color: #0f0f0f;
}

.qg-blog-breadcrumb {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  margin-bottom: 46px;
  color: #8f8f8f;
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
}

.qg-blog-breadcrumb > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.qg-blog-breadcrumb a:hover,
.qg-blog-breadcrumb a:focus-visible {
  color: var(--qg-lime);
}

.qg-blog-article__category {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 4px 13px;
  border: 1px solid var(--qg-lime);
  border-radius: 999px;
  color: var(--qg-lime) !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.qg-blog-article__main > h1 {
  margin: 24px 0 0;
  font-family: "Noto Sans JP", var(--qg-sans);
  font-size: clamp(38px, 3.6vw, 60px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.qg-blog-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.qg-blog-byline img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.qg-blog-byline strong {
  display: block;
  font-size: 14px;
}

.qg-blog-byline p {
  display: flex;
  gap: 14px;
  margin: 5px 0 0;
  color: #8f8f8f;
  font-size: 11px;
}

.qg-blog-article__standfirst {
  margin: 58px 0 0;
  padding: 0 0 0 24px;
  border-left: 3px solid var(--qg-lime);
  color: #e4e4e4;
  font-family: "Noto Sans JP", var(--qg-sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 2;
}

.qg-blog-entry {
  margin-top: 64px;
  color: #e9e9e9;
  font-family: "Noto Sans JP", var(--qg-sans);
  font-size: 17px;
  line-height: 2.05;
}

.qg-blog-entry > *:first-child,
.qg-blog-entry > .wp-block-group:first-child > .wp-block-group__inner-container > *:first-child {
  margin-top: 0;
}

.qg-blog-entry p,
.qg-blog-entry ul,
.qg-blog-entry ol {
  margin: 0 0 30px;
}

.qg-blog-entry h2 {
  margin: 86px 0 30px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 34px;
  line-height: 1.45;
}

.qg-blog-entry h2::before {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  margin-bottom: 20px;
  background: var(--qg-lime);
}

.qg-blog-entry h3 {
  margin: 58px 0 24px;
  font-size: 25px;
  line-height: 1.5;
}

.qg-blog-entry h4 {
  margin: 42px 0 20px;
  font-size: 20px;
  line-height: 1.5;
}

.qg-blog-entry a {
  color: var(--qg-lime);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.qg-blog-entry strong {
  color: #fff;
}

.qg-blog-entry ul,
.qg-blog-entry ol {
  padding-left: 1.5em;
}

.qg-blog-entry li + li {
  margin-top: 10px;
}

.qg-blog-entry blockquote {
  margin: 48px 0;
  padding: 30px 34px;
  border: 0;
  border-left: 4px solid var(--qg-lime);
  background: #1d1d1d;
  color: #fff;
}

.qg-blog-entry blockquote > *:last-child {
  margin-bottom: 0;
}

.qg-blog-entry figure,
.qg-blog-entry .wp-block-image,
.qg-blog-entry .wp-block-video,
.qg-blog-entry .wp-block-embed {
  width: 100%;
  margin: 52px 0;
}

.qg-blog-entry img,
.qg-blog-entry video {
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 0;
  border-radius: 8px;
}

.qg-blog-entry iframe {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
}

.qg-blog-entry figcaption {
  margin-top: 12px;
  color: #8f8f8f;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.qg-blog-entry .wp-block-group,
.qg-blog-entry .wp-block-group__inner-container {
  margin: 0;
  padding: 0;
}

.qg-blog-entry table {
  width: 100%;
  margin: 44px 0;
  border-collapse: collapse;
  font-size: 14px;
}

.qg-blog-entry th,
.qg-blog-entry td {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
}

.qg-blog-entry th {
  background: #202020;
}

.qg-blog-author {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 24px;
  margin-top: 100px;
  padding-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.qg-blog-author > img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
}

.qg-blog-author p {
  margin: 0;
  color: #a7a7a7;
  font-size: 13px;
  line-height: 1.8;
}

.qg-blog-author h2 {
  margin: 6px 0 12px;
  font-size: 22px;
  line-height: 1.3;
}

.qg-blog-sidebar {
  position: sticky;
  top: 122px;
  align-self: start;
  margin-top: 93px;
}

.qg-blog-sidebar > h2 {
  margin: 0;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--qg-display);
  font-size: 24px;
  line-height: 1;
}

.qg-blog-sidebar__item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.qg-blog-sidebar__item figure {
  width: 104px;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #222;
}

.qg-blog-sidebar__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qg-blog-sidebar__item h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-family: "Noto Sans JP", var(--qg-sans);
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.qg-blog-sidebar__item time {
  display: block;
  margin-top: 8px;
  color: #858585;
  font-size: 10px;
}

.qg-blog-sidebar__item:hover h3,
.qg-blog-sidebar__item:focus-visible h3 {
  color: var(--qg-lime);
}

.qg-blog-sidebar__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  color: var(--qg-lime) !important;
  font-size: 12px;
  font-weight: 700;
}

.qg-blog-sidebar__all span {
  font-size: 20px;
}

.qg-blog-more {
  padding: 110px var(--qg-side) 140px;
  background: #f2f2f0;
  color: #111;
}

.qg-blog-more__heading,
.qg-blog-more__grid {
  width: min(1240px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.qg-blog-more__heading > p {
  margin: 0 0 12px;
  color: #6d6d6d;
  font-size: 12px;
  font-weight: 700;
}

.qg-blog-more__heading > h2 {
  margin: 0;
  font-family: var(--qg-display);
  font-size: 64px;
  line-height: 1;
}

.qg-blog-more__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 54px;
}

.qg-blog-more__item figure {
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #ddd;
}

.qg-blog-more__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qg-blog-more__item p {
  margin: 18px 0 0;
  color: #6d6d6d;
  font-size: 11px;
}

.qg-blog-more__item h3 {
  margin: 10px 0 0;
  font-family: "Noto Sans JP", var(--qg-sans);
  font-size: 20px;
  line-height: 1.6;
}

.qg-blog-more__item a:hover img,
.qg-blog-more__item a:focus-visible img {
  transform: scale(1.035);
}

@media (max-width: 1100px) {
  .qg-blog-article__grid {
    grid-template-columns: 44px minmax(0, 1fr) 280px;
    gap: 0 28px;
  }

  .qg-blog-sidebar__item {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .qg-blog-sidebar__item figure {
    width: 88px;
  }
}

@media (max-width: 900px) {
  .qg-blog-detail-header {
    min-height: 92px;
  }

  .qg-blog-article {
    padding-top: 24px;
  }

  .qg-blog-article__cover {
    aspect-ratio: 16 / 7;
  }

  .qg-blog-article__grid {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .qg-blog-article__main {
    grid-row: 1;
  }

  .qg-blog-share {
    position: static;
    grid-row: 2;
    flex-direction: row;
    justify-content: flex-start;
    margin-top: 54px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .qg-blog-share > span {
    margin: 0 8px 0 0;
    writing-mode: horizontal-tb;
  }

  .qg-blog-sidebar {
    position: static;
    grid-row: 3;
    margin-top: 72px;
  }

  .qg-blog-sidebar__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
  }

  .qg-blog-more__heading > h2 {
    font-size: 52px;
  }
}

@media (max-width: 620px) {
  .qg-blog-detail-header {
    min-height: 80px;
  }

  .qg-blog-article {
    padding: 12px 18px 100px;
  }

  .qg-blog-article__cover {
    aspect-ratio: 16 / 9;
    border-radius: 6px;
  }

  .qg-blog-article__grid {
    margin-top: 32px;
  }

  .qg-blog-breadcrumb {
    margin-bottom: 32px;
    font-size: 10px;
  }

  .qg-blog-article__main > h1 {
    margin-top: 20px;
    font-size: 30px;
    line-height: 1.4;
  }

  .qg-blog-byline {
    margin-top: 26px;
  }

  .qg-blog-article__standfirst {
    margin-top: 44px;
    padding-left: 17px;
    font-size: 17px;
    line-height: 1.9;
  }

  .qg-blog-entry {
    margin-top: 50px;
    font-size: 16px;
    line-height: 2;
  }

  .qg-blog-entry p,
  .qg-blog-entry ul,
  .qg-blog-entry ol {
    margin-bottom: 26px;
  }

  .qg-blog-entry h2 {
    margin-top: 64px;
    font-size: 27px;
  }

  .qg-blog-entry h3 {
    margin-top: 46px;
    font-size: 22px;
  }

  .qg-blog-entry figure,
  .qg-blog-entry .wp-block-image,
  .qg-blog-entry .wp-block-video,
  .qg-blog-entry .wp-block-embed {
    margin: 38px 0;
  }

  .qg-blog-entry blockquote {
    margin: 38px 0;
    padding: 24px 20px;
  }

  .qg-blog-author {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
    margin-top: 72px;
  }

  .qg-blog-author > img {
    width: 64px;
    height: 64px;
  }

  .qg-blog-sidebar__list {
    grid-template-columns: 1fr;
  }

  .qg-blog-sidebar__item {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .qg-blog-sidebar__item figure {
    width: 96px;
  }

  .qg-blog-more {
    padding: 82px 18px 100px;
  }

  .qg-blog-more__heading > h2 {
    font-size: 42px;
  }

  .qg-blog-more__grid {
    grid-template-columns: 1fr;
    gap: 46px;
    margin-top: 42px;
  }
}

/* Company */
.qg-company-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
}

.qg-company-page {
  position: relative;
  height: 7141px;
  overflow: visible;
  background: #000;
  color: #fff;
  font-family: var(--qg-display);
}

.qg-company-hero h1 {
  position: absolute;
  top: 256px;
  left: calc(50% - 432px);
  width: 865px;
  height: 180px;
  margin: 0;
  font-family: var(--qg-display);
  font-size: 200px;
  font-weight: 600;
  line-height: 180px;
  letter-spacing: 0;
  white-space: nowrap;
}

.qg-company-hero__lead {
  position: absolute;
  top: 487px;
  left: calc(50% - 429px);
  width: 860px;
  font-size: 18px;
  line-height: 28px;
}

.qg-company-hero__lead p {
  margin: 0;
}

.qg-company-gallery {
  position: absolute;
  top: 710px;
  left: 50%;
  width: 1489px;
  height: 852px;
  transform: translateX(-50%);
}

.qg-company-gallery figure {
  position: absolute;
  width: 323px;
  height: 677px;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #171717;
}

.qg-company-gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
}

.qg-company-gallery figure:nth-child(1) { top: 0; left: 0; }
.qg-company-gallery figure:nth-child(2) { top: 175px; left: 389px; width: 322px; }
.qg-company-gallery figure:nth-child(3) { top: 0; left: 777px; }
.qg-company-gallery figure:nth-child(4) { top: 175px; left: 1166px; }
.qg-company-gallery figure:nth-child(3)::after { background: rgba(0, 0, 0, 0.2); }

.qg-company-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.qg-company-philosophy h2,
.qg-company-team > h2:not(.qg-company-great) {
  position: absolute;
  margin: 0;
  color: transparent;
  font-family: var(--qg-display);
  font-size: 140px;
  font-weight: 600;
  line-height: 179px;
  letter-spacing: 0;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
}

.qg-company-philosophy h2 {
  top: 1685px;
  left: calc(50% - 542px);
  width: 1086px;
}

.qg-company-philosophy__statement {
  position: absolute;
  top: 1918px;
  left: 50%;
  width: 983px;
  margin: 0;
  transform: translateX(-50%);
  color: var(--qg-lime);
  font-size: 60px;
  font-weight: 600;
  line-height: 77px;
  text-align: center;
}

.qg-company-philosophy__lead {
  position: absolute;
  top: 2098px;
  left: 50%;
  width: 607px;
  margin: 0;
  transform: translateX(-50%);
  font-size: 20px;
  line-height: 26px;
  text-align: center;
}

.qg-company-story {
  position: absolute;
  top: 2311px;
  left: 0;
  width: 100%;
  height: 1525px;
  background: #171717;
}

.qg-company-story::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  width: 1px;
  height: 148px;
  background: rgba(255, 255, 255, 0.45);
}

.qg-company-story > h2 {
  position: absolute;
  top: 141px;
  left: 50%;
  width: 501px;
  margin: 0;
  transform: translateX(-50%);
  font-size: 100px;
  font-weight: 600;
  line-height: 100px;
  text-align: center;
  white-space: nowrap;
}

.qg-company-story__list {
  position: absolute;
  inset: 0;
}

.qg-story-card {
  position: absolute;
  left: calc(50% + 2px);
  width: 1236px;
  height: 421px;
  overflow: hidden;
  border-radius: 20px;
  transform: translateX(-50%);
  background: #111;
}

.qg-story-card:nth-child(1) { top: 345px; }
.qg-story-card:nth-child(2) { top: 832px; }
.qg-story-card:nth-child(3) { top: 1323px; }

.qg-story-card > img,
.qg-story-card__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.qg-story-card > img {
  object-fit: cover;
  object-position: center;
}

.qg-story-card__overlay {
  background: linear-gradient(90.5deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.765) 50%, rgba(0, 0, 0, 0) 100%);
}

.qg-story-card__content {
  position: absolute;
  top: 86px;
  left: 80px;
  width: 552px;
}

.qg-story-card h3 {
  margin: 0 0 38px;
  font-size: 40px;
  font-weight: 600;
  line-height: 40px;
}

.qg-story-card p {
  margin: 0;
  color: #d7d7d7;
  font-family: var(--qg-display);
  font-size: 16px;
  line-height: 28px;
}

.qg-company-team {
  position: absolute;
  top: 4167px;
  left: 0;
  width: 100%;
  height: 2974px;
  overflow: visible;
  background: #000;
}

.qg-company-team > h2:not(.qg-company-great) {
  top: 0;
  left: 50%;
  width: 640px;
  transform: translateX(-50%);
  text-align: center;
}

.qg-company-team__background {
  position: absolute;
  top: 1637px;
  left: -49px;
  width: calc(100% + 98px);
  height: 1501px;
  overflow: hidden;
}

.qg-company-team__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.qg-company-team__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.qg-company-team__fade {
  position: absolute;
  top: 196px;
  left: -49px;
  z-index: 1;
  width: calc(100% + 98px);
  height: 2170px;
  background: linear-gradient(to bottom, #000 0%, #000 65.385%, rgba(0, 0, 0, 0) 100%);
}

.qg-company-team__collage {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 2;
  width: 1920px;
  transform: translateX(-50%);
}

.qg-team-photo {
  position: absolute;
  width: 535px;
  height: 324px;
  border-radius: 10px;
  object-fit: cover;
}

.qg-team-photo--1 { top: 556px; left: 195px; }
.qg-team-photo--2 { top: 718px; left: 1025px; }
.qg-team-photo--3 { top: 291px; left: 597px; }
.qg-team-photo--4 { top: 1047px; left: 366px; }
.qg-team-photo--5 { top: 1142px; left: 1311px; }
.qg-team-photo--6 { top: 1705px; left: 949px; }
.qg-team-photo--7 { top: 1281px; left: 670px; }
.qg-team-photo--8 { top: 1443px; left: -49px; }

.qg-company-great {
  position: absolute;
  inset: 0;
  z-index: 3;
  margin: 0;
  color: var(--qg-lime);
  font-family: "Roboto Condensed", "Arial Narrow", var(--qg-display);
  font-size: 200px;
  font-weight: 700;
  line-height: 180px;
  letter-spacing: 0;
  white-space: nowrap;
}

.qg-company-great span {
  position: absolute;
  display: block;
  transform: scaleX(0.731);
  transform-origin: left center;
}

.qg-company-great span:nth-child(1) { top: 2268px; left: 10px; }
.qg-company-great span:nth-child(2) { top: 2444px; left: 474px; transform: scaleX(0.7275); }
.qg-company-great span:nth-child(3) { top: 2622px; left: 792px; transform: scaleX(0.7334); }

@media (min-width: 1687px) {
  .qg-company-great {
    inset: 0 auto 0 50%;
    width: 1687px;
    transform: translateX(-50%);
  }

  .qg-company-great span:nth-child(1) { left: 0; }
  .qg-company-great span:nth-child(2) { left: 464px; }
  .qg-company-great span:nth-child(3) { left: 782px; }
}

.qg-company-transition-line {
  position: absolute;
  top: 7163px;
  left: calc(50% + 37px);
  z-index: 8;
  width: 1px;
  height: 300px;
  background: rgba(255, 255, 255, 0.45);
}

@media (min-width: 1201px) {
  .qg-company-page + .qg-contact {
    height: 1697px;
  }

  .qg-company-page + .qg-contact::after {
    top: 1837px;
  }

  .qg-company-page + .qg-contact .qg-contact__heading {
    top: 457px;
  }

  .qg-company-page + .qg-contact .qg-contact__heading h2 {
    padding-top: 180px;
  }

  .qg-company-page + .qg-contact .qg-contact__grid {
    top: 833px;
  }

  .qg-company-single .qg-footer {
    height: 586px;
  }

  .qg-company-single .qg-footer__breadcrumb {
    top: -74px;
  }
}

.qg-motion-ready .qg-company-hero h1,
.qg-motion-ready .qg-company-hero__lead {
  opacity: 0;
  translate: 0 42px;
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), translate 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qg-motion-ready .qg-company-hero__lead {
  transition-delay: 180ms;
}

.qg-intro-ready .qg-company-hero h1,
.qg-intro-ready .qg-company-hero__lead {
  opacity: 1;
  translate: 0 0;
}

@media (max-width: 1200px) {
  .qg-company-header {
    position: relative;
    min-height: 106px;
    background: #000;
  }

  .qg-company-page {
    height: auto;
    overflow: hidden;
  }

  .qg-company-hero,
  .qg-company-philosophy,
  .qg-company-story,
  .qg-company-team {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
  }

  .qg-company-hero {
    padding: 100px var(--qg-side) 130px;
  }

  .qg-company-hero h1,
  .qg-company-hero__lead,
  .qg-company-gallery,
  .qg-company-philosophy h2,
  .qg-company-philosophy__statement,
  .qg-company-philosophy__lead,
  .qg-company-story > h2,
  .qg-company-story__list,
  .qg-story-card,
  .qg-company-team > h2:not(.qg-company-great),
  .qg-company-great,
  .qg-company-great span {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    transform: none;
  }

  .qg-company-hero h1 {
    font-size: 120px;
    line-height: 1;
  }

  .qg-company-hero__lead {
    max-width: 860px;
    margin-top: 56px;
  }

  .qg-company-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 80px;
  }

  .qg-company-gallery figure,
  .qg-company-gallery figure:nth-child(1),
  .qg-company-gallery figure:nth-child(2),
  .qg-company-gallery figure:nth-child(3),
  .qg-company-gallery figure:nth-child(4) {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 323 / 677;
  }

  .qg-company-gallery figure:nth-child(even) {
    margin-top: 70px;
  }

  .qg-company-philosophy {
    padding: 90px var(--qg-side) 130px;
  }

  .qg-company-philosophy h2,
  .qg-company-team > h2:not(.qg-company-great) {
    font-size: 92px;
    line-height: 1.05;
    text-align: center;
    white-space: normal;
  }

  .qg-company-philosophy__statement {
    margin: 70px auto 0;
    font-size: 48px;
    line-height: 1.2;
  }

  .qg-company-philosophy__lead {
    max-width: 607px;
    margin: 36px auto 0;
  }

  .qg-company-story {
    padding: 120px var(--qg-side) 130px;
  }

  .qg-company-story::before {
    top: -56px;
    height: 112px;
  }

  .qg-company-story > h2 {
    font-size: 76px;
    line-height: 1;
  }

  .qg-company-story__list {
    display: grid;
    gap: 40px;
    max-width: 1236px;
    margin: 70px auto 0;
  }

  .qg-story-card,
  .qg-story-card:nth-child(1),
  .qg-story-card:nth-child(2),
  .qg-story-card:nth-child(3) {
    top: auto;
    left: auto;
    height: 421px;
  }

  .qg-company-team {
    min-height: 2100px;
    padding: 120px var(--qg-side) 0;
  }

  .qg-company-team__background {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 900px;
  }

  .qg-company-team__fade {
    top: auto;
    right: 0;
    bottom: 420px;
    left: 0;
    width: 100%;
    height: 1100px;
  }

  .qg-company-team__collage {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1050px;
    margin: 80px auto 0;
    transform: none;
  }

  .qg-team-photo,
  .qg-team-photo--1,
  .qg-team-photo--2,
  .qg-team-photo--3,
  .qg-team-photo--4,
  .qg-team-photo--5,
  .qg-team-photo--6,
  .qg-team-photo--7,
  .qg-team-photo--8 {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 535 / 324;
  }

  .qg-team-photo:nth-child(2),
  .qg-team-photo:nth-child(5),
  .qg-team-photo:nth-child(8) {
    transform: translateY(64px);
  }

  .qg-company-great {
    z-index: 3;
    display: flex;
    flex-direction: column;
    margin: 180px 0 0;
    font-size: 112px;
    line-height: 0.9;
    white-space: normal;
  }

  .qg-company-great span {
    display: block;
  }

  .qg-company-great span:nth-child(2) { margin-left: 24%; }
  .qg-company-great span:nth-child(3) { margin-left: 42%; }
  .qg-company-great span:nth-child(1),
  .qg-company-great span:nth-child(2),
  .qg-company-great span:nth-child(3) {
    top: auto;
    left: auto;
    width: max-content;
    max-width: 100%;
    transform: none;
  }

  .qg-company-transition-line {
    display: none;
  }
}

@media (max-width: 700px) {
  .qg-company-header {
    min-height: 80px;
  }

  .qg-company-hero {
    padding-top: 64px;
    padding-bottom: 90px;
  }

  .qg-company-hero h1 {
    font-size: 58px;
  }

  .qg-company-hero__lead {
    margin-top: 38px;
    font-size: 15px;
    line-height: 24px;
  }

  .qg-company-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 54px;
  }

  .qg-company-gallery figure:nth-child(even) {
    margin-top: 42px;
  }

  .qg-company-philosophy {
    padding-top: 70px;
    padding-bottom: 100px;
  }

  .qg-company-philosophy h2,
  .qg-company-team > h2:not(.qg-company-great) {
    font-size: 52px;
  }

  .qg-company-philosophy__statement {
    margin-top: 50px;
    font-size: 30px;
  }

  .qg-company-philosophy__lead {
    margin-top: 28px;
    font-size: 16px;
    line-height: 24px;
  }

  .qg-company-story {
    padding-top: 92px;
    padding-bottom: 100px;
  }

  .qg-company-story > h2 {
    font-size: 52px;
  }

  .qg-company-story__list {
    gap: 28px;
    margin-top: 52px;
  }

  .qg-story-card,
  .qg-story-card:nth-child(1),
  .qg-story-card:nth-child(2),
  .qg-story-card:nth-child(3) {
    height: 360px;
    border-radius: 12px;
  }

  .qg-story-card__overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.72) 72%, rgba(0, 0, 0, 0.25) 100%);
  }

  .qg-story-card__content {
    top: 44px;
    left: 24px;
    width: calc(100% - 48px);
  }

  .qg-story-card h3 {
    margin-bottom: 28px;
    font-size: 27px;
    line-height: 1.1;
  }

  .qg-story-card p {
    font-size: 14px;
    line-height: 23px;
  }

  .qg-company-team {
    min-height: 1590px;
    padding-top: 90px;
  }

  .qg-company-team__collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 58px;
  }

  .qg-team-photo:nth-child(2),
  .qg-team-photo:nth-child(5),
  .qg-team-photo:nth-child(8) {
    transform: translateY(28px);
  }

  .qg-company-great {
    margin-top: 120px;
    font-size: 46px;
    line-height: 0.9;
  }

  .qg-company-great span:nth-child(2) { margin-left: 10%; }
  .qg-company-great span:nth-child(3) { margin-left: 18%; }

  .qg-motion-ready .qg-company-great span[data-qg-reveal] {
    opacity: 1;
    translate: 0 0;
    clip-path: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qg-motion-ready .qg-company-hero h1,
  .qg-motion-ready .qg-company-hero__lead {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }
}

/* Service page */
.qg-service-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
}

.qg-service-page {
  position: relative;
  height: 4349px;
  overflow: visible;
  background: #000;
  color: #fff;
}

.qg-service-hero h1 {
  position: absolute;
  top: 256px;
  left: calc(50% - 586px);
  width: 1173px;
  height: 180px;
  margin: 0;
  font-family: var(--qg-display);
  font-size: 200px;
  font-weight: 600;
  line-height: 180px;
  letter-spacing: 0;
  white-space: nowrap;
}

.qg-service-hero__lead {
  position: absolute;
  top: 487px;
  left: calc(50% - 430px);
  width: 860px;
  font-family: var(--qg-display);
  font-size: 18px;
  line-height: 28px;
}

.qg-service-hero__lead p {
  margin: 0;
}

.qg-service-cards {
  position: absolute;
  top: 674px;
  left: 50%;
  z-index: 2;
  width: 1240px;
  height: 3964px;
  transform: translateX(-50%);
}

.qg-service-card {
  position: absolute;
  left: 0;
  width: 1240px;
  height: 941px;
  overflow: hidden;
  border: 1px solid #292929;
  border-radius: 20px;
  background: #101010;
  font-family: var(--qg-sans);
}

.qg-service-card:nth-child(1) { top: 0; }
.qg-service-card:nth-child(2) { top: 1001px; }
.qg-service-card:nth-child(3) { top: 2012px; }
.qg-service-card:nth-child(4) { top: 3023px; }

.qg-service-card--featured {
  border-color: #ade102;
}

.qg-service-card > h2 {
  position: absolute;
  top: 67px;
  left: 81px;
  margin: 0;
  color: var(--qg-lime);
  font-size: 40px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0;
}

.qg-service-card__description {
  position: absolute;
  top: 136px;
  left: 81px;
  width: 983px;
  margin: 0;
  font-size: 20px;
  line-height: 30px;
}

.qg-service-card__tags {
  position: absolute;
  top: 265px;
  left: 81px;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qg-service-card__tags li {
  display: flex;
  min-width: 117px;
  height: 27px;
  align-items: center;
  justify-content: center;
  padding: 3px 18px;
  border: 1px solid #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
}

.qg-service-card__tags li:nth-child(n + 3) {
  min-width: 139px;
}

.qg-service-card__visuals {
  position: absolute;
  inset: 0;
}

.qg-service-card__visual {
  position: absolute;
  top: 345px;
  width: 246px;
  height: 306px;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #191919;
}

.qg-service-card__visual:nth-child(1) { left: 64px; }
.qg-service-card__visual:nth-child(2) { left: 355px; }
.qg-service-card__visual:nth-child(3) { left: 643px; }
.qg-service-card__visual:nth-child(4) { left: 928px; }

.qg-service-card__visual img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
}

.qg-service-card__point,
.qg-service-timeline {
  position: absolute;
  top: 691px;
}

.qg-service-card__point {
  left: 81px;
  width: 492px;
}

.qg-service-card__point h3,
.qg-service-timeline h3 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 30px;
}

.qg-service-card__point p {
  width: 492px;
  margin: 28px 0 0;
  font-size: 20px;
  line-height: 30px;
}

.qg-service-timeline {
  left: 639px;
  width: 535px;
  height: 159px;
}

.qg-service-card:nth-child(2) .qg-service-timeline {
  left: 632px;
}

.qg-service-timeline > p {
  margin: 30px 0 0 2px;
  font-size: 14px;
  line-height: 30px;
}

.qg-service-timeline ol {
  position: absolute;
  top: 106px;
  left: 2px;
  width: 533px;
  height: 53px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qg-service-timeline ol::before {
  content: "";
  position: absolute;
  top: 9px;
  right: 0;
  left: 0;
  height: 1px;
  background: #fff;
}

.qg-service-timeline ol::after,
.qg-service-timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 18px;
  background: #fff;
}

.qg-service-timeline ol::after {
  right: 0;
}

.qg-service-timeline li {
  position: absolute;
  top: 14px;
  font-size: 12px;
  line-height: 19px;
  white-space: nowrap;
}

.qg-service-timeline li::before {
  top: -14px;
  left: 0;
}

.qg-service-timeline li:nth-child(1) { left: 0; padding-left: 12px; }
.qg-service-timeline li:nth-child(2) { left: 88px; padding-left: 17px; text-align: center; }
.qg-service-timeline li:nth-child(3) { left: 171px; padding-left: 19px; }
.qg-service-timeline li:nth-child(4) { left: 285px; padding-left: 35px; }
.qg-service-timeline li:nth-child(5) { left: 446px; padding-left: 17px; }

.qg-motion-ready .qg-service-hero h1,
.qg-motion-ready .qg-service-hero__lead {
  opacity: 0;
  translate: 0 42px;
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), translate 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qg-motion-ready .qg-service-hero__lead {
  transition-delay: 180ms;
}

.qg-intro-ready .qg-service-hero h1,
.qg-intro-ready .qg-service-hero__lead {
  opacity: 1;
  translate: 0 0;
}

@media (min-width: 1201px) {
  .qg-service-page + .qg-contact {
    height: 1697px;
  }

  .qg-service-page + .qg-contact::after {
    top: 1837px;
  }

  .qg-service-page + .qg-contact .qg-contact__heading {
    top: 457px;
  }

  .qg-service-page + .qg-contact .qg-contact__heading h2 {
    padding-top: 180px;
  }

  .qg-service-page + .qg-contact .qg-contact__grid {
    top: 833px;
  }

  .qg-service-single .qg-footer {
    height: 564px;
  }

  .qg-service-single .qg-footer__breadcrumb {
    top: -66px;
    left: calc(50% - 617px);
  }
}

@media (max-width: 1200px) {
  .qg-service-header {
    position: relative;
    min-height: 106px;
    background: #000;
  }

  .qg-service-page {
    height: auto;
    overflow: hidden;
    padding: 100px var(--qg-side) 130px;
  }

  .qg-service-hero h1,
  .qg-service-hero__lead,
  .qg-service-cards,
  .qg-service-card,
  .qg-service-card:nth-child(1),
  .qg-service-card:nth-child(2),
  .qg-service-card:nth-child(3),
  .qg-service-card:nth-child(4),
  .qg-service-card > h2,
  .qg-service-card__description,
  .qg-service-card__tags,
  .qg-service-card__visuals,
  .qg-service-card__visual,
  .qg-service-card__point,
  .qg-service-timeline {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    transform: none;
  }

  .qg-service-hero h1 {
    font-size: 120px;
    line-height: 1;
    white-space: normal;
  }

  .qg-service-hero__lead {
    max-width: 860px;
    margin: 46px auto 0;
  }

  .qg-service-cards {
    display: grid;
    gap: 54px;
    max-width: 1240px;
    margin: 76px auto 0;
  }

  .qg-service-card {
    min-height: 0;
    padding: 64px;
  }

  .qg-service-card > h2 {
    margin: 0;
  }

  .qg-service-card__description {
    margin: 30px 0 0;
  }

  .qg-service-card__tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 32px;
  }

  .qg-service-card__visuals {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    margin-top: 52px;
  }

  .qg-service-card__visual {
    aspect-ratio: 246 / 306;
  }

  .qg-service-card .qg-service-card__visual {
    left: auto;
  }

  .qg-service-card__lower {
    display: grid;
    grid-template-columns: minmax(0, 492px) minmax(0, 535px);
    justify-content: space-between;
    gap: 50px;
    margin-top: 48px;
  }

  .qg-service-card__point p {
    width: 100%;
  }

  .qg-service-timeline > p {
    margin-top: 28px;
  }

  .qg-service-card:nth-child(2) .qg-service-timeline {
    left: auto;
  }

  .qg-service-timeline ol {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-top: 16px;
  }
}

@media (max-width: 760px) {
  .qg-service-page {
    padding: 70px 18px 100px;
  }

  .qg-service-hero h1 {
    font-size: 58px;
  }

  .qg-service-hero__lead {
    margin-top: 32px;
    font-size: 16px;
    line-height: 25px;
  }

  .qg-service-cards {
    gap: 28px;
    margin-top: 54px;
  }

  .qg-service-card {
    padding: 38px 18px 56px;
    border-radius: 12px;
  }

  .qg-service-card > h2 {
    font-size: 30px;
    line-height: 1.15;
  }

  .qg-service-card__description,
  .qg-service-card__point p {
    font-size: 15px;
    line-height: 24px;
  }

  .qg-service-card__description {
    margin-top: 24px;
  }

  .qg-service-card__tags {
    gap: 8px;
    margin-top: 28px;
  }

  .qg-service-card__tags li,
  .qg-service-card__tags li:nth-child(n + 3) {
    min-width: 0;
    height: 26px;
    padding: 3px 12px;
    font-size: 11px;
  }

  .qg-service-card__visuals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 36px;
  }

  .qg-service-card__lower {
    display: flow-root;
    margin-top: 40px;
  }

  .qg-service-card__point h3,
  .qg-service-timeline h3 {
    font-size: 24px;
    line-height: 1;
  }

  .qg-service-card__point p {
    margin-top: 22px;
  }

  .qg-service-timeline {
    margin-top: 42px;
  }

  .qg-service-timeline > p {
    margin-top: 20px;
    font-size: 12px;
    line-height: 20px;
  }

  .qg-service-timeline ol {
    height: 62px;
    margin-top: 18px;
  }

  .qg-service-timeline li {
    font-size: 9px;
    line-height: 14px;
  }

  .qg-service-timeline li:nth-child(1) { left: 0; padding-left: 4px; }
  .qg-service-timeline li:nth-child(2) { left: 17%; padding-left: 5px; }
  .qg-service-timeline li:nth-child(3) { left: 34%; padding-left: 5px; }
  .qg-service-timeline li:nth-child(4) { left: 57%; padding-left: 5px; }
  .qg-service-timeline li:nth-child(5) { right: 0; left: auto; padding-left: 0; }

  .qg-service-timeline li:nth-child(5)::before {
    right: 0;
    left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qg-motion-ready .qg-service-hero h1,
  .qg-motion-ready .qg-service-hero__lead {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }
}

/* Shared reading rhythm */
.qg-hero__lead,
.qg-card__body > p:last-child,
.qg-process__item p,
.qg-faq__answer-content,
.qg-works-hero__lead,
.qg-blog-grid .qg-work-card__body p,
.qg-work-detail__intro,
.qg-project-meta,
.qg-case-panel p,
.qg-company-hero__lead,
.qg-company-philosophy__lead,
.qg-story-card p,
.qg-service-hero__lead,
.qg-service-card__description,
.qg-service-card__point p {
  line-height: var(--qg-copy-leading);
}

.qg-section-heading p,
.qg-info p,
.qg-blog-sidebar__item h3,
.qg-blog-more__item h3 {
  line-height: var(--qg-copy-leading-compact);
}

/* Password-protected works portal */
.qg-private-works-hero h1 {
  font-size: 128px;
  line-height: 1;
}

.qg-private-works-gate {
  display: grid;
  min-height: 560px;
  padding: 88px var(--qg-side) 120px;
  place-items: start center;
  background:
    radial-gradient(circle at 50% 0, rgba(122, 92, 255, 0.16), transparent 42%),
    #131313;
  color: #fff;
}

.qg-private-works-gate__panel {
  width: min(100%, 560px);
  padding: 52px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.qg-private-works-gate__eyebrow {
  margin: 0 0 18px;
  color: #a89aff;
  font-family: var(--qg-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.qg-private-works-gate h2 {
  margin: 0;
  font-family: var(--qg-display);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.2;
}

.qg-private-works-gate h2 + p {
  margin: 24px 0 0;
  color: #b9b9b9;
  font-size: 15px;
  line-height: 1.8;
}

.qg-private-works-gate__error {
  margin: 22px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 125, 125, 0.34);
  border-radius: 8px;
  background: rgba(255, 90, 90, 0.09);
  color: #ffb0b0;
  font-size: 13px;
  line-height: 1.6;
}

.qg-private-works-gate form {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.qg-private-works-gate label {
  color: #dedede;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.qg-private-works-gate input[type="password"] {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  outline: 0;
  background: #0e0e0e;
  color: #fff;
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.qg-private-works-gate input[type="password"]:focus {
  border-color: #8f7aff;
  box-shadow: 0 0 0 3px rgba(143, 122, 255, 0.18);
}

.qg-private-works-gate button,
.qg-private-works-toolbar button {
  border: 0;
  cursor: pointer;
  font-family: var(--qg-display);
  font-weight: 600;
}

.qg-private-works-gate button {
  height: 54px;
  margin-top: 4px;
  border-radius: 999px;
  background: #7659ff;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: background 180ms ease, transform 180ms ease;
}

.qg-private-works-gate button:hover {
  background: #8c74ff;
  transform: translateY(-1px);
}

.qg-private-works-listing {
  padding-top: 34px;
}

.qg-private-works-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1233px, 100%);
  margin: 0 auto 30px;
  color: #aaa;
  font-family: var(--qg-display);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.qg-private-works-toolbar form {
  margin: 0;
}

.qg-private-works-toolbar button,
.qg-private-works-toolbar > a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  color: #d5d5d5;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.qg-private-works-toolbar button:hover,
.qg-private-works-toolbar > a:hover {
  border-color: rgba(255, 255, 255, 0.44);
  color: #fff;
}

.qg-private-works-toolbar--detail {
  width: min(1232px, calc(100% - (var(--qg-side) * 2)));
  margin-bottom: 38px;
}

.qg-private-works-empty {
  width: min(1233px, 100%);
  min-height: 240px;
  margin: 0 auto;
  color: #aaa;
}

@media (max-width: 1200px) {
  .qg-private-works-hero h1 {
    font-size: 96px;
  }

  .qg-private-works-toolbar--detail {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .qg-private-works-hero h1 {
    font-size: 72px;
  }

  .qg-private-works-gate {
    min-height: 500px;
    padding-top: 64px;
  }
}

@media (max-width: 620px) {
  .qg-private-works-hero h1 {
    font-size: 46px;
    white-space: normal;
  }

  .qg-private-works-gate {
    min-height: 460px;
    padding: 42px 22px 88px;
  }

  .qg-private-works-gate__panel {
    padding: 32px 24px;
  }

  .qg-private-works-gate h2 {
    font-size: 28px;
  }

  .qg-private-works-toolbar {
    margin-bottom: 24px;
  }

  .qg-private-works-toolbar--detail {
    align-items: flex-start;
    gap: 14px;
  }

  .qg-private-works-toolbar button,
  .qg-private-works-toolbar > a {
    min-height: 34px;
    padding: 0 12px;
    font-size: 10px;
  }
}
