:root {
  --base: #ffffff;
  --soft: #f2f2f2;
  --surface: #ffffff;
  --main: #60676a;
  --dark: #33383a;
  --text: #4D5152;
  --muted: #60676a;
  --accent: #3fb8c8;
  --line: #cdd1cf;
  --line-soft: rgba(205, 209, 207, 0.72);
  --shadow: 0 18px 44px rgba(51, 56, 58, 0.09);
  --serif: "Noto Sans JP", system-ui, sans-serif;
  --sans: "Noto Sans JP", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: #4D5152;
  background: var(--base);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.05em;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 76px;
  bottom: 0;
  z-index: 80;
  width: clamp(8px, 0.9vw, 16px);
  background: #24292B;
  pointer-events: none;
}

body::before {
  left: 0;
}

body::after {
  right: 0;
}

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

iframe,
svg {
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(22px, 6vw, 90px);
  color: #24292B;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(36, 41, 43, 0.14);
  backdrop-filter: blur(16px);
}

.header-tagline {
  position: absolute;
  top: 5px;
  left: clamp(22px, 6vw, 90px);
  right: clamp(22px, 6vw, 90px);
  margin: 0;
  color: #60676a;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.brand {
  display: inline-grid;
  gap: 0;
  line-height: 1.1;
}

.brand span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.brand small {
  color: inherit;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.site-nav,
.footer-top nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
  color: var(--surface);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.95;
}

.site-nav {
  color: #24292B;
  font-weight: 450;
}

.site-nav a,
.footer-top nav a {
  transition: color 180ms ease;
}

.site-nav a {
  display: inline-grid;
  gap: 1px;
  place-items: center;
  line-height: 1.2;
  text-align: center;
}

.site-nav a span {
  font-size: 12px;
  letter-spacing: 0.12em;
}

.site-nav a small {
  font-size: 9px;
  font-weight: inherit;
  letter-spacing: 0.04em;
}

.site-nav a:hover {
  color: #60676a;
}

.site-nav .nav-contact {
  padding: 5px 14px;
  border: 1px solid rgba(36, 41, 43, 0.42);
  line-height: 1.5;
}

.site-nav .nav-contact:hover {
  background: #24292B;
  border-color: #24292B;
  color: #ffffff;
}

.footer-top nav a:hover {
  color: var(--surface);
}

.floating-contact {
  position: fixed;
  top: 75%;
  right: clamp(8px, 0.9vw, 16px);
  z-index: 90;
  display: grid;
  width: 50px;
  color: var(--surface);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 10px 24px rgba(36, 41, 43, 0.18);
  transform: translateY(-50%) translateX(18px);
  transition: opacity 220ms ease, transform 220ms ease, box-shadow 180ms ease;
}

.floating-contact.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%);
}

.floating-contact:hover {
  box-shadow: 0 14px 30px rgba(36, 41, 43, 0.24);
  transform: translateY(-50%) translateX(-2px);
}

.floating-contact-icon,
.floating-contact-text {
  display: grid;
  place-items: center;
}

.floating-contact-icon {
  height: 50px;
  background: #ffffff;
  color: #24292B;
  font-size: 22px;
  line-height: 1;
}

.floating-contact-text {
  min-height: 132px;
  padding: 16px 0;
  background: #24292B;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 12px 8px;
}

.menu-toggle span {
  display: block;
  height: 1px;
  background: #24292B;
  transition: transform 240ms ease, opacity 240ms ease;
}

.menu-toggle span + span {
  margin-top: 9px;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(5px) rotate(32deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-5px) rotate(-32deg);
}

.popup-header {
  justify-content: space-between;
}

.popup-close {
  display: grid;
  place-items: center;
  min-width: 74px;
  height: 34px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--dark);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.popup-close:hover {
  background: #24292B;
  border-color: #33383A;
  color: var(--surface);
}

.section {
  padding: clamp(84px, 10vw, 140px) clamp(22px, 6vw, 90px);
}

.reveal-section {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 900ms ease, transform 900ms ease;
  will-change: opacity, transform;
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.soft {
  background: var(--soft);
}

#profile {
  background: var(--surface);
}

.section-heading {
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading.left {
  max-width: 1040px;
  text-align: left;
}

.section-heading p {
  margin: 0 0 4px;
  font-family: var(--sans);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  line-height: 1;
  color: var(--dark);
}

.section-heading h2 {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 300;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.2fr);
  align-items: center;
  gap: 0;
  padding-top: 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 590px;
  justify-self: end;
  top: -60px;
  margin-right: 24px;
  animation: slideFromLeft 900ms ease both;
}

.hero-kicker {
  position: relative;
  top: 0;
  margin: 0 0 1px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.12em;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.95), 0 1px 2px rgba(255, 255, 255, 0.9);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 18px;
}

.hero h1 {
  margin: 36px 0 0;
  color: #24292B;
  font-family: var(--sans);
  font-size: clamp(46px, 6.2vw, 72px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.1em;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.hero-line + .hero-line {
  margin-top: 24px;
}

.hero-highlight {
  display: inline-block;
  padding: 0 0.12em 0.06em;
  background: #24292B;
  color: #ffffff;
  line-height: 1.05;
}

.lead {
  display: inline-block;
  max-width: none;
  margin: 28px 0 0;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.9);
  color: #24292B;
  font-size: 15px;
  white-space: nowrap;
}

.hero-service-list {
  display: grid;
  gap: 4px;
  margin: 48px 0 0;
  padding-left: 1.2em;
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  white-space: nowrap;
}

.nowrap-note {
  white-space: nowrap;
}

.hero-image {
  position: relative;
  width: min(1240px, 80vw);
  justify-self: end;
  margin: 104px 0 0;
  overflow: hidden;
  animation: slideFromRight 950ms 120ms ease both;
}

.hero-slide {
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  transform-origin: center center;
}

.hero-slide-1 {
  animation: heroSlideFirst 16s ease-in-out 1.1s infinite both;
}

.hero-slide-2 {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  animation: heroSlideSecond 16s ease-in-out 1.1s infinite both;
}

.profile-layout {
  max-width: 880px;
  margin: 0 auto;
}

.concerns {
  position: relative;
  overflow: hidden;
}

.concerns::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 0;
  width: min(1280px, 92vw);
  aspect-ratio: 1280 / 230;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 230'%3E%3Ctext x='640' y='190' text-anchor='middle' fill='none' stroke='%23b8bec1' stroke-width='1.25' stroke-linejoin='round' font-family='Arial, Helvetica, sans-serif' font-size='210' font-weight='700' letter-spacing='4' text-rendering='geometricPrecision'%3EWORRIES%3C/text%3E%3C/svg%3E");
  pointer-events: none;
  transform: translateX(-50%);
}

.concerns > * {
  position: relative;
  z-index: 1;
}

.concerns-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.concerns .section-heading p {
  display: inline-block;
  padding: 8px 28px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.96) 18%, rgba(255, 255, 255, 0.96) 82%, rgba(255, 255, 255, 0));
  font-size: clamp(15px, 2vw, 21px);
  letter-spacing: 0.10em;
  transform-origin: center;
  will-change: transform;
}

.concerns.reveal-section.is-visible .section-heading p {
  animation: concernsHeadingGrow 1400ms ease-out 260ms both;
}

.concern-card {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(30px, 4vw, 54px);
}

.concern-card h3 {
  margin: 0 0 22px;
  color: var(--dark);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.concern-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.concern-card li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
}

.concern-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--dark);
  font-size: 15px;
  line-height: 1.8;
}

.concerns-cta {
  margin: 34px 0 0;
  text-align: center;
}

.concerns-message {
  margin: 28px 0 0;
  color: var(--dark);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.concerns-description {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.04em;
}

.concerns-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 218px;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.concerns-cta-button:hover {
  background: #33383A;
  border-color: #33383A;
  color: var(--surface);
}

.profile-text {
  background: var(--surface);
  width: 100%;
  padding: clamp(30px, 5vw, 56px);
  box-shadow: var(--shadow);
}

.profile-text h3 {
  margin: 30px 0 10px;
  color: #33383a;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.profile-text h3:first-child {
  margin-top: 0;
}

.profile-text p {
  margin: 0;
  font-size: 15px;
}

.profile-text p + p {
  margin-top: 18px;
}

.profile-cta {
  margin-top: 30px;
  text-align: center;
}

.profile-cta p {
  color: var(--muted);
}

.profile-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 210px;
  min-height: 48px;
  margin-top: 14px;
  padding: 0 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  transition: background 180ms ease, border-color 180ms ease;
}

.profile-cta-button:hover {
  background: #33383A;
  border-color: #33383A;
  color: var(--surface);
}

#service {
  position: relative;
  overflow: hidden;
  background: var(--soft);
}

#service::before {
  content: "SERVICE";
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(92px, 17vw, 248px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%);
}

#service > * {
  position: relative;
  z-index: 1;
}

#price {
  position: relative;
  overflow: hidden;
  background: var(--soft);
}

#price::before {
  content: "PRICE";
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(92px, 17vw, 248px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%);
}

#price > * {
  position: relative;
  z-index: 1;
}

#qa {
  position: relative;
  overflow: hidden;
  background: var(--soft);
}

#qa::before {
  content: "Q & A";
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(92px, 17vw, 248px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%);
}

#qa > * {
  position: relative;
  z-index: 1;
}

#contact {
  position: relative;
  overflow: hidden;
  background: var(--soft);
}

#contact::before {
  content: "CONTACT";
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(92px, 17vw, 248px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%);
}

#contact > * {
  position: relative;
  z-index: 1;
}

#works {
  position: relative;
  overflow: hidden;
}

#works::before {
  content: "WORKS";
  position: absolute;
  top: 50%;
  left: clamp(20px, 4vw, 64px);
  z-index: 0;
  color: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(64px, 8vw, 120px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  pointer-events: none;
  text-orientation: upright;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  -webkit-text-stroke: 1px #c5cacc;
  text-stroke: 1px #c5cacc;
}

#works > * {
  position: relative;
  z-index: 1;
}

.service-grid,
.price-grid,
.works-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 26px;
}

.service-grid,
.price-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.price-card {
  background: var(--surface);
  padding: 34px 30px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(51, 56, 58, 0.05);
}

.service-card svg {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  fill: none;
  stroke: #33383A;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.service-card h3,
.price-card h3,
.flow-list h3 {
  margin: 0 0 14px;
  color: #33383a;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
}

.service-card p,
.flow-list p {
  margin: 0;
  font-size: 14px;
}

.flow-link {
  display: inline-block;
  margin-top: 12px;
  color: #2A5BB7;
  font-size: 13px;
  text-decoration-line: underline;
  text-decoration-color: rgba(42, 91, 183, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.price-card {
  position: relative;
  min-height: 100%;
}

.price-line {
  margin: 18px 0 22px;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 48px);
  line-height: 1;
}

.price-line .yen {
  margin-right: 4px;
  font-size: 0.48em;
  vertical-align: 35%;
}

.price-line small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
}

.price-details {
  margin: 18px 0 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
}

.compact-price-amount {
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  margin: 0 0 22px;
}

.compact-price-amount .yen {
  margin-right: 0;
  font-size: 1em;
  vertical-align: baseline;
}

.price-strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
}

.price-offer {
  display: inline-grid;
  gap: 2px;
  margin: 3px 0 1px;
}

.regular-price,
.monitor-price {
  color: var(--muted);
  font-size: 13px;
  font-weight: 300;
}

.monitor-price {
  color: var(--text);
  font-size: 20px;
}

.regular-price s {
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(96, 103, 106, 0.7);
}

.price-arrow {
  display: inline-block;
  margin-right: 4px;
  color: rgba(96, 103, 106, 0.68);
  font-size: 12px;
}

.sale-price {
  color: var(--text);
  font-family: var(--sans);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
}

.price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  color: var(--muted);
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 300;
}

.price-card strong {
  font-weight: 300;
}

.price-card strong.price-strong {
  font-weight: 400;
}

.limited-price {
  max-width: 880px;
  margin: 0 auto clamp(34px, 5vw, 56px);
}

.limited-price img {
  width: 100%;
  height: auto;
  box-shadow: 0 16px 38px rgba(51, 56, 58, 0.08);
}

.price-reason {
  margin-top: 32px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  background: rgba(242, 242, 242, 0.72);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.price-reason:hover {
  transform: translateY(-4px);
  border-color: #2A5CBA;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(51, 56, 58, 0.08);
}

.price-reason h4 {
  margin: 0 0 12px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.price-reason p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
}

.soft-underline {
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 226, 0, 0.50);
  text-decoration-thickness: 7.5px;
  text-underline-offset: -3px;
  text-decoration-skip-ink: none;
}

.works-grid {
  grid-template-columns: repeat(3, 1fr);
}

.works-grid:has(.work-card:only-child) {
  max-width: 360px;
  grid-template-columns: 1fr;
}

.work-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--soft);
}

.work-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.work-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-visual::before,
.work-visual::after {
  content: "";
  position: absolute;
  display: block;
}

.work-01 {
  background: linear-gradient(135deg, #f5f5f2, #e8e8e4);
}

.work-01::before {
  inset: 22% 15%;
  background: repeating-linear-gradient(90deg, var(--main) 0 3px, transparent 3px 26px), var(--surface);
  box-shadow: 26px 22px 0 rgba(255, 255, 255, 0.75), -18px -12px 0 rgba(63, 184, 200, 0.24);
  transform: rotate(-8deg);
}

.work-02 {
  background: linear-gradient(135deg, var(--soft), var(--surface));
}

.work-02::before {
  inset: 19% 18%;
  background: var(--surface);
  border: 9px solid var(--dark);
  box-shadow: 0 20px 0 #d5dadd;
}

.work-02::after {
  inset: 32% 34% 30% 34%;
  background: linear-gradient(135deg, #33383A, #e8e8e4);
}

.work-03 {
  background: #cdd1cf;
}

.work-03::before {
  width: 34%;
  height: 58%;
  left: 18%;
  top: 21%;
  background: #60676a;
  box-shadow: 48px 0 0 #f5f5f2;
}

.work-03::after {
  width: 58px;
  height: 58px;
  left: 24%;
  top: 36%;
  border: 1px solid #33383A;
}

.work-04 {
  background: #d7d8d6;
}

.work-04::before {
  inset: 22% 13%;
  background: #fbfbf8;
  border: 12px solid #808380;
}

.work-04::after {
  inset: 46% 33%;
  background: linear-gradient(90deg, transparent, rgba(51, 56, 58, 0.3), transparent);
  height: 1px;
}

.work-05 {
  background: linear-gradient(135deg, #f5f5f2, #cdd1cf);
}

.work-05::before {
  width: 30%;
  height: 62%;
  left: 18%;
  top: 19%;
  background: #24292b;
  border-radius: 14px;
  box-shadow: 70px 15px 0 #e9eef0;
}

.work-05::after {
  width: 22%;
  height: 42%;
  left: 22%;
  top: 27%;
  background: linear-gradient(140deg, #3fb8c8, #e8e8e4);
  border-radius: 8px;
}

.work-06 {
  background: linear-gradient(135deg, var(--surface), var(--soft));
}

.work-06::before {
  inset: 14% 29%;
  background: var(--surface);
  border: 1px solid #c9cdce;
  box-shadow: 0 16px 34px rgba(51, 56, 58, 0.12);
}

.work-06::after {
  inset: 32% 37% 54%;
  background: #33383A;
  box-shadow: 0 28px 0 #cfdadb, 0 42px 0 #e5e8e9;
}

.work-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: var(--surface);
  background: rgba(51, 56, 58, 0.64);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.work-card:hover .work-caption,
.work-card:focus-within .work-caption {
  opacity: 1;
  transform: translateY(0);
}

.work-caption h3,
.work-caption p {
  margin: 0;
}

.work-caption h3 {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
}

.work-caption p,
.work-caption time {
  font-size: 12px;
  line-height: 1.7;
}

.work-caption time {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.work-detail {
  padding-top: 132px;
}

.work-detail-inner {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}

.work-detail h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 500;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.work-title-break {
  display: inline-block;
  overflow-wrap: normal;
  word-break: keep-all;
}

.work-title-break:first-child {
  white-space: nowrap;
}

.work-detail time {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.work-detail .lead {
  display: block;
  width: 100%;
  max-width: 720px;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}

.work-detail-visual {
  margin: 44px 0 0;
  overflow: hidden;
}

.work-detail-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-detail-card {
  width: 100%;
  min-width: 0;
  margin-top: 34px;
  padding: clamp(28px, 5vw, 46px);
  background: var(--soft);
  overflow: hidden;
}

.work-detail-card dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 28px;
}

.work-detail-card--full dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.work-detail-card dt {
  color: #33383A;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.95;
  letter-spacing: 0.06em;
}

.work-detail-card dd {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 300;
}

.work-detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.work-detail-section {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.work-detail-section h2 {
  margin: 0 0 8px;
  color: #33383A;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.95;
  letter-spacing: 0.06em;
}

.work-detail-section p {
  color: var(--text);
  font-weight: 300;
}

.work-detail-section p + p {
  margin-top: 14px;
}

.work-detail-section ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--text);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.work-detail-section li::marker {
  color: #33383A;
}

.work-detail-section li {
  min-width: 0;
  margin-top: 9px;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.work-detail-section li:first-child {
  margin-top: 0;
}

.work-detail-cta-card {
  padding-top: 34px;
  margin-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.work-detail-card .work-detail-cta {
  padding: clamp(20px, 4vw, 28px);
  background: var(--surface);
  color: var(--text);
  font-weight: 300;
  line-height: 2;
  overflow-wrap: anywhere;
}

.work-detail-card .work-detail-cta p {
  margin: 0;
  color: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.work-detail-card .work-detail-cta strong {
  color: var(--text);
  font-weight: 500;
}

.work-detail-contact-link {
  display: grid;
  gap: 2px;
  place-items: center;
  width: max-content;
  min-width: 94px;
  margin: 18px auto 0;
  padding: 9px 14px 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  line-height: 1.2;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.work-detail-contact-link span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.work-detail-contact-link small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.work-detail-contact-link:hover {
  background: #24292B;
  border-color: #24292B;
  color: #ffffff;
}

.work-site-link {
  margin: 28px 0 0;
  background: var(--surface);
}

.text-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 180px;
  min-height: 46px;
  margin: 42px auto 0;
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 15px;
  transition: background 180ms ease, border-color 180ms ease;
}

.text-button:hover {
  background: #33383A;
  border-color: #33383A;
  color: var(--surface);
}

#flow {
  position: relative;
  overflow: hidden;
}

#flow::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 0;
  width: min(920px, 82vw);
  aspect-ratio: 920 / 230;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 920 230'%3E%3Ctext x='460' y='190' text-anchor='middle' fill='none' stroke='%23b8bec1' stroke-width='1.25' stroke-linejoin='round' font-family='Arial, Helvetica, sans-serif' font-size='210' font-weight='700' letter-spacing='4' text-rendering='geometricPrecision'%3EFLOW%3C/text%3E%3C/svg%3E");
  pointer-events: none;
  transform: translateX(-82%);
}

#flow.reveal-section.is-visible::before {
  animation: flowBackgroundMove 18000ms linear 180ms both;
}

#flow > * {
  position: relative;
  z-index: 1;
}

.flow-list {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.flow-list li {
  position: relative;
  padding: 0 22px;
}

.flow-list span {
  display: block;
  margin-bottom: 18px;
  color: #33383A;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
}

.faq-list {
  max-width: 880px;
  margin: 0 auto;
}

.faq-list details {
  border-top: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.42);
}

.faq-list details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 220ms ease, content-visibility 220ms ease allow-discrete;
}

.faq-list details[open]::details-content {
  block-size: auto;
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.faq-list summary {
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 22px 6px;
  font-size: 15px;
  font-weight: 400;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  margin-left: auto;
  color: #33383A;
  font-size: 24px;
  font-weight: 300;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list summary > span,
.faq-list p > span:first-child {
  color: #33383A;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
}

.faq-list .faq-answer {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.faq-list .faq-link {
  text-decoration-line: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.faq-list p {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0 6px 24px;
  font-size: 14px;
}

.contact {
  padding-bottom: clamp(70px, 8vw, 110px);
}

.contact-note {
  max-width: 640px;
  margin: -18px auto 22px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.contact-note a {
  color: #2A5BB7;
  text-decoration-line: underline;
  text-decoration-color: rgba(42, 91, 183, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.form-frame {
  max-width: 640px;
  margin: 0 auto;
  background: var(--soft);
  padding: 12px;
}

.form-frame iframe {
  display: block;
  width: 100%;
  height: 760px;
  border: 0;
  background: var(--surface);
}

.site-footer {
  padding: 36px clamp(22px, 6vw, 90px) 22px;
  color: var(--surface);
  background: #24292B;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.sns {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--surface);
  color: var(--surface);
  font-family: var(--serif);
  font-size: 18px;
}

.copyright {
  margin: 30px 0 0;
  color: var(--surface);
  text-align: center;
  font-size: 12px;
}

@keyframes slideFromLeft {
  from {
    opacity: 0;
    transform: translateX(-36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideFromRight {
  from {
    opacity: 0;
    transform: translateX(36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroSlideFirst {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  42% {
    opacity: 1;
    transform: scale(1.08);
  }
  50% {
    opacity: 0;
    transform: scale(1.09);
  }
  92% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroSlideSecond {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  42% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
  92% {
    opacity: 1;
    transform: scale(1.08);
  }
  100% {
    opacity: 0;
    transform: scale(1.09);
  }
}

@keyframes concernsHeadingGrow {
  0% {
    transform: scale(0.96);
  }
  68% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes flowBackgroundMove {
  from {
    transform: translateX(-82%);
  }
  to {
    transform: translateX(12%);
  }
}

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

  .hero-copy,
  .hero-image,
  .reveal-section {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-slide {
    animation: none;
    transform: none;
  }

  .hero-slide-2 {
    display: none;
  }

  .concerns .section-heading p {
    animation: none;
    transform: none;
  }

  #flow::before {
    animation: none;
    transform: translateX(12%);
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
  }

  .hero-copy {
    display: contents;
    justify-self: start;
    top: auto;
    margin-right: 0;
  }

  .hero-kicker,
  .hero-service-list,
  .lead {
    white-space: normal;
  }

  .hero-kicker {
    order: 1;
    justify-self: start;
    width: 100%;
    top: auto;
    margin: 8px 0 0;
  }

  .hero-image {
    order: 2;
    justify-self: end;
    width: min(720px, 92%);
    margin-top: 0;
  }

  .lead {
    order: 3;
    margin: 2px 0 0;
    padding: 10px 0;
  }

  .hero h1 {
    order: 4;
    margin: 20px 0 0;
  }

  .hero-line + .hero-line {
    margin-top: 12px;
  }

  .hero-service-list {
    order: 5;
    margin-top: 20px;
  }

  .lead br:first-child {
    display: none;
  }

  .service-grid,
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-list {
    grid-template-columns: 1fr;
    gap: 26px;
    max-width: 720px;
  }

  .flow-list li {
    padding-left: 72px;
  }

  .flow-list span {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    writing-mode: vertical-rl;
  }

  .footer-top {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .sns {
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 66px;
    padding-inline: 18px;
  }

  body::before,
  body::after {
    top: 66px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 14px 22px 24px;
    background: rgba(242, 242, 242, 0.96);
    box-shadow: 0 18px 28px rgba(51, 56, 58, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .section {
    padding: 72px 20px;
  }

  .hero {
    padding-top: 78px;
    overflow: hidden;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(30px, 8.8vw, 40px);
  }

  .hero-line {
    max-width: 100%;
  }

  .lead {
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-image {
    width: 100%;
    margin-top: 0;
  }

  .hero-slide {
    width: 100%;
  }

  .profile-layout,
  .concerns-grid,
  .service-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .profile-text {
    padding: 28px 22px;
  }

  .service-card,
  .price-card {
    padding: 30px 24px;
  }

  .price-reason {
    padding: 20px 18px;
  }

  .works-grid {
    gap: 14px;
  }

  .work-caption {
    position: static;
    opacity: 1;
    transform: none;
    color: var(--text);
    background: var(--surface);
    padding: 14px;
  }

  .work-caption time {
    color: var(--muted);
  }

  .work-detail {
    padding-top: 98px;
  }

  .work-detail-card dl {
    grid-template-columns: 1fr;
  }

  .faq-list summary,
  .faq-list p {
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.8;
  }

  .form-frame {
    padding: 8px;
  }

  .form-frame iframe {
    height: 680px;
  }

  .work-detail h1 {
    font-size: clamp(30px, 9.2vw, 40px);
  }

  .work-title-break {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .work-detail .lead {
    max-width: 100%;
    font-size: 13px;
  }

  .nowrap-note {
    font-size: clamp(10px, 3.3vw, 13px);
  }
}

@media (max-width: 520px) {
  .section {
    padding-inline: 16px;
  }

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

  .work-caption h3 {
    font-size: 18px;
  }

  .work-caption p,
  .work-caption time {
    font-size: 11px;
  }

  .footer-top nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
  }

  .popup-close {
    min-width: 62px;
    height: 32px;
    font-size: 13px;
  }
}

@media (max-width: 370px) {
  .hero h1 {
    font-size: 30px;
  }

  .service-card,
  .price-card,
  .profile-text {
    padding-inline: 18px;
  }

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