/* Color palette */
:root {
  --bg: #FAF4EE;
  --heading: #594639;
  --heading-en: #C19A8A;
  --body-text: #332921;
  --text: #332921;
  --muted: #332921;
  --line: #E6D2C8;
  --soft: #F5E8E1;
  --accent: #D9735A;
  --accent-dark: #D9735A;
  --accent-soft: #FFD4C4;
  --accent-warm: #C19A8A;
  --header-height: 100px;
  --font-size-body: 1rem;
  --font-size-card: 0.9375rem;
  --font-size-note: 0.8125rem;
  --bg-word-left: max(clamp(24px, 5vw, 72px), calc((100vw - 1360px) / 2 + 32px));
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --display: "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --en: "Helvetica Neue", Arial, sans-serif;
  --serif: var(--display);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--body-text);
  background: var(--bg);
  font-family: var(--sans);
  letter-spacing: 0.02em;
}

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

.site-shell {
  min-height: 100vh;
  padding-top: var(--header-height);
  background: var(--bg);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--header-height);
  padding: 14px clamp(18px, 3vw, 42px) 0;
  border-bottom: none;
  background: transparent;
  backdrop-filter: none;
  pointer-events: none;
}

.header-pill {
  width: min(1120px, 100%);
  height: 72px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 12px 34px rgba(217, 115, 90, .16);
  backdrop-filter: blur(16px);
  pointer-events: auto;
}

/* 左固定エリア */


.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: clamp(148px, 17vw, 190px);
  height: 44px;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 34px;
  object-fit: contain;
}

.left-topbar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 clamp(22px, 3vw, 38px);
}

.left-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(14px, 1.45vw, 24px);
  flex-wrap: wrap;
}

.left-nav a {
  display: grid;
  gap: 6px;
  text-align: center;
  font-weight: 700;
  line-height: 1;
  transition: opacity .25s ease;
}

.left-nav a:hover {
  opacity: .72;
}

.left-nav small {
  font-size: 9px;
  color: rgba(255,255,255,.68);
  letter-spacing: 0.04em;
  font-weight: 700;
}

.left-nav span {
  font-size: 14px;
  letter-spacing: -0.02em;
  color: #fff;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  z-index: 40;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 1px;
  background: #fff;
  transition: transform .28s ease, opacity .28s ease;
}

.hero-copy {
  transform: none;
  margin-top: clamp(64px, 10vh, 108px);
}


h1 {
  margin: 0;
  font-size: clamp(58px, 7.2vw, 112px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.075em;
  color: var(--heading);
}

.tagline {
  margin: 36px 0 0;
  font-size: clamp(21px, 2.1vw, 32px);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--accent-dark);
  line-height: 1;
}

.lead {
  max-width: 520px;
  margin: 16px 0 0;
  color: var(--body-text);
  font-size: 15px;
  line-height: 2.15;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.button-outline {
  position: relative;
  width: 220px;
  min-width: 220px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 48px;
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(217, 115, 90, .12);
  transition: color .3s ease, background .3s ease, border-color .3s ease, transform .18s ease, box-shadow .18s ease;
}

.button-outline:hover {
  color: var(--accent-dark);
  background: #FAF4EE;
  border-color: var(--accent-dark);
  transform: translateY(2px);
  box-shadow: inset 0 2px 8px rgba(217, 115, 90, .14), 0 3px 10px rgba(217, 115, 90, .08);
}

.text-link {
  position: relative;
  width: 220px;
  min-width: 220px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 48px;
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  background: #FAF4EE;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(217, 115, 90, .08);
  transition: color .3s ease, background .3s ease, border-color .3s ease, transform .18s ease, box-shadow .18s ease;
}

.text-link:hover {
  color: #fff;
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(2px);
  box-shadow: inset 0 2px 8px rgba(43, 41, 38, .18), 0 3px 10px rgba(217, 115, 90, .08);
}

.button-outline span,
.text-link span {
  position: absolute;
  right: 24px;
}

.scroll-cue {
  position: fixed;
  right: clamp(28px, 3vw, 48px);
  bottom: 38px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--heading);
}


.scroll-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--muted);
  writing-mode: vertical-rl;
}


/* 右スクロールエリア */
.scroll-area {
  width: 54vw;
  margin-left: 46vw;
  min-height: 100vh;
  border-left: none;
  background: #F5E8E1;
}


.work-card {
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color .25s ease, transform .25s ease;
}

.work-card:hover {
  border-color: var(--accent-dark);
  transform: translateY(-3px);
}

.work-thumb {
  aspect-ratio: 16 / 10;
  background: var(--soft);
  overflow: hidden;
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(5%);
}

.work-thumb--fit {
  background: #fff;
}

.work-thumb--fit img {
  object-fit: cover;
  filter: none;
}

.work-thumb--banner-summer img {
  object-position: center 16%;
}

.work-thumb--youtube-habits img {
  object-position: 62% center;
}

.work-thumb--banner-cake img {
  object-position: center 18%;
}

.work-body {
  padding: 22px;
}

.work-body small {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
}

.work-body h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -.02em;
}


.service-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}


.service-item h3 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -.03em;
}

.service-item p {
  margin: 0;
  color: var(--body-text);
  font-size: 14px;
  line-height: 1.95;
}


.content-section {
  position: relative;
  min-height: auto;
  padding: clamp(136px, 12vw, 190px) clamp(32px, 5vw, 72px) clamp(112px, 10.5vw, 156px);
  border-bottom: 1px solid rgba(17, 17, 17, .06);
  background: transparent;
}

.scroll-area > .content-section,
.scroll-area > .content-contact {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.content-section.is-paper {
  background: rgba(255,255,255,.62);
}

.content-inner {
  width: min(100%, 1080px);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.big-label {
  position: absolute;
  top: 28px;
  left: var(--bg-word-left);
  z-index: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 10vw, 132px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(193, 154, 138, .16);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.content-head {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(56px, 5.5vw, 72px);
}

.content-head > .content-lead {
  margin-top: clamp(28px, 3.5vw, 48px);
}

.content-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--heading-en);
  text-transform: uppercase;
}

.content-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--heading-en);
}

.content-title {
  margin: 0;
  color: var(--heading);
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.45;
  letter-spacing: .02em;
  font-weight: 500;
}

.content-lead{
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
  margin: 0;
}


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

.work-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(217, 115, 90, .16);
  border-radius: 26px;
  background: rgba(255,255,255,.82);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.work-card:nth-child(2) {
  margin-top: 0;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 115, 90, .35);
  box-shadow: 0 24px 60px rgba(217, 115, 90, .10);
}

.work-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--accent-soft);
}


.work-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-top: 1px solid rgba(217, 115, 90, .13);
  background: rgba(245, 232, 225, .72);
}

#works .work-body {
  background: rgba(255, 250, 247, .94);
}

.meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 27px;
  margin-bottom: 16px;
}

.tag {
  display: inline-flex;
  border: 1px solid rgba(217, 115, 90, .24);
  background: rgba(255,247,237,.72);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent-dark);
  line-height: 1;
}

.work-card h3,
.price-card h3{
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: .04em;
}

.work-card h3 {
  min-height: 0;
  margin-bottom: 10px;
}

.work-card p,
.price-card p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.work-card p {
  flex: 1;
}

.work-card .work-card-site {
  flex: 0;
  margin: 0;
  color: var(--accent-dark);
  font-family: var(--heading-ja);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: .03em;
}

.section-more {
  display: flex;
  justify-content: center;
  margin-top: clamp(34px, 5vw, 52px);
}

.more-button {
  position: relative;
  width: 220px;
  min-width: 220px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 48px;
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(217, 115, 90, .08);
  transition: color .3s ease, background .3s ease, border-color .3s ease, transform .18s ease, box-shadow .18s ease;
}

.more-button span {
  position: absolute;
  right: 24px;
}

.more-button:hover {
  color: #fff;
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(2px);
  box-shadow: inset 0 2px 8px rgba(43, 41, 38, .18), 0 3px 10px rgba(217, 115, 90, .08);
}

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

.price-list--summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 24px);
}

.price-card{
  padding: 30px;
  border: 1px solid rgba(217, 115, 90, .16);
  border-radius: 24px;
  background: rgba(255,255,255,.72);
}

.price-list--summary .price-card {
  display: flex;
  flex-direction: column;
}


.price-value {
  display: block;
  margin: 12px 0 16px;
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: .03em;
  color: var(--accent-dark);
  line-height: 1;
}

.price-list--summary .price-value {
  margin: 10px 0 14px;
  font-size: clamp(24px, 2.1vw, 28px);
}

.price-list--summary .price-note {
  margin: auto 0 0;
  padding-top: 16px;
  color: rgba(51, 41, 33, .68);
  font-size: 12px;
  line-height: 1.6;
}

.price-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.price-card li::before {
  content: "—";
  margin-right: 8px;
  color: var(--accent-warm);
}

.concept-layout,
.profile-box {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(34px, 5vw, 60px);
  align-items: start;
}

.concept-copy {
  max-width: 580px;
}

.concept-visual {
  justify-self: end;
  width: min(100%, 500px);
  margin-top: 6px;
}

.concept-visual,
.profile-visual {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(217, 115, 90, .16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 22% 28%, rgba(217,115,90,.20), transparent 28%),
    radial-gradient(circle at 78% 70%, rgba(193,154,138,.20), transparent 30%),
    #fff;
  position: relative;
}

.concept-visual::before,
.concept-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(217, 115, 90, .22);
  border-radius: 999px;
}

.concept-visual::before {
  width: 220px;
  height: 220px;
  left: 46px;
  top: 54px;
}

.concept-visual::after {
  width: 340px;
  height: 340px;
  right: -80px;
  bottom: -100px;
}

.concept-visual--photo {
  aspect-ratio: 1448 / 1086;
  min-height: auto;
  background: #fff;
  box-shadow: 0 22px 54px rgba(43, 41, 38, .08);
}

.concept-visual--photo::before,
.concept-visual--photo::after {
  display: none;
}

.concept-visual--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-box {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  grid-template-columns: .95fr .86fr;
  align-items: start;
}

.profile-copy {
  max-width: 560px;
}

.profile-visual {
  justify-self: end;
  width: min(100%, 460px);
  margin-top: 6px;
}

.profile-visual--photo {
  min-height: auto;
  aspect-ratio: 1 / 1;
  border: none;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.profile-visual--photo img {
  display: block;
  width: min(100%, 430px);
  height: auto;
  filter: drop-shadow(0 24px 42px rgba(91, 68, 58, .12));
}


.content-contact {
  position: relative;
  overflow: hidden;
  padding: clamp(136px, 12vw, 190px) clamp(32px, 5vw, 72px) clamp(112px, 10.5vw, 156px);
  background: #3A322C;
  color: #fff;
}

.content-contact::before {
  content: "CONTACT";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(70px, 13vw, 180px);
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(255,255,255,.045);
  white-space: nowrap;
}

.content-contact-inner {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin-inline: auto;
  text-align: center;
}

.content-contact h2 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 500;
  letter-spacing: .04em;
}

.content-contact p {
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 2;
}

.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.contact-button {
  width: 240px;
  min-width: 240px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .18s ease, box-shadow .18s ease;
}

.contact-button:hover {
  transform: translateY(2px);
  background: #fff;
  color: #3A322C;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .14), 0 3px 10px rgba(0, 0, 0, .08);
}

.contact-button.line-button {
  background: #D9735A;
  border-color: #D9735A;
  color: #fff;
  box-shadow: 0 10px 24px rgba(34, 185, 112, .18);
}

.contact-button.line-button:hover {
  background: #D9735A;
  border-color: #D9735A;
  color: #fff;
  transform: translateY(2px);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .18), 0 3px 10px rgba(34, 185, 112, .12);
}

.site-footer {
  padding: 34px clamp(32px, 5vw, 72px);
  background: #3A322C;
  color: rgba(255,255,255,.62);
  border-top: 1px solid rgba(255,255,255,.12);
}

.footer-inner {
  width: min(1080px, 100%);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  letter-spacing: .1em;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .72s ease, transform .72s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


.hero-mockup-image {
  width: 100%;
  max-width: 940px;
  margin-inline: auto;
}

.hero-slider {
  position: relative;
}

.mockup-device {
  position: relative;
  width: 100%;
}

.mockup-device > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
}

.hero-slider-frame {
  aspect-ratio: 2896 / 2172;
  overflow: hidden;
  border-radius: clamp(14px, 1.8vw, 26px);
  background: #fff;
  box-shadow: 0 28px 70px rgba(43, 41, 38, .12);
  isolation: isolate;
}

.hero-slider-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(43, 41, 38, .06);
  border-radius: inherit;
}

.hero-slider-frame .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.025);
  transition:
    opacity .9s cubic-bezier(.22, 1, .36, 1),
    transform 1.2s cubic-bezier(.22, 1, .36, 1);
}

.hero-slider-frame .hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider-frame .hero-slide {
    transform: none;
    transition: opacity .2s ease;
  }
}


.mockup-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.mockup-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(217, 115, 90, .42);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: width .35s ease, background .35s ease, border-color .35s ease, opacity .35s ease;
}

.mockup-dot.is-active {
  width: 28px;
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}


@media (max-width: 1180px) {
  .content-section,
  .content-contact,
  .site-footer {
    padding-left: clamp(22px, 5vw, 56px);
    padding-right: clamp(22px, 5vw, 56px);
  }

  .content-head,
.concept-layout,
.profile-box{
    grid-template-columns: 1fr;
  }

  .content-head > .content-lead {
    margin-top: 0;
  }

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

  
}

@media (max-width: 860px) {
  .works-grid,
.price-list{
    grid-template-columns: 1fr;
  }

  .work-card:nth-child(2) {
    margin-top: 0;
  }

  

  .big-label {
    font-size: clamp(52px, 16vw, 108px);
    left: 20px;
  }
}

@media (min-width: 861px) and (max-width: 1080px) {
  .price-list--summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* タブレットでは画像を中央に置き、入る幅まで横並びを保つ */
@media (min-width: 641px) and (max-width: 1180px) {
  .concept-visual,
  .profile-visual {
    justify-self: center;
  }

  .concept-copy,
  .profile-copy {
    max-width: none;
  }
}

@media (min-width: 768px) and (max-width: 1180px) {
  .concept-layout,
  .profile-box {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .8fr);
    gap: clamp(32px, 4vw, 48px);
    align-items: center;
  }
}

/* 3列表示では余白を詰めつつ、同じ段のカード高をそろえる */
@media (min-width: 861px) and (max-width: 1180px) {
  #works .works-grid {
    align-items: stretch;
    gap: 20px;
  }

  #works .work-card {
    height: 100%;
    min-height: 100%;
  }

  #works .work-body {
    flex: 1;
    padding: 20px;
  }

  #works .meta {
    margin-bottom: 12px;
  }
}

@media (max-width: 640px) {
  .content-section {
    padding-top: 138px;
    padding-bottom: 92px;
  }

  .content-contact {
    padding-top: 138px;
    padding-bottom: 92px;
  }

  

  .concept-visual,
  .profile-visual {
    justify-self: stretch;
    width: 100%;
  }

  .price-card{
    padding: 24px;
  }

  

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 1180px) {
  :root {
    --header-height: 94px;
  }

  .site-header {
    padding: 12px clamp(16px, 4vw, 34px) 0;
  }

  .header-pill {
    width: min(980px, 100%);
    height: 66px;
  }
  

  .hero-copy {
    transform: none;
    max-width: none;
    margin-block: clamp(56px, 9vh, 92px) 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 42%);
    column-gap: clamp(28px, 5vw, 72px);
    align-items: center;
  }

  .hero-copy h1,
  .hero-copy .tagline,
  .hero-copy .lead,
  .hero-copy .hero-actions {
    grid-column: 1;
  }

  .hero-copy h1 {
    font-size: clamp(58px, 8.8vw, 104px);
  }

  .scroll-area {
    width: 100%;
    margin-left: 0;
    border-left: none;
  }

  .left-topbar {
    flex-direction: row;
    align-items: center;
    gap: 22px;
    padding-inline: clamp(20px, 5vw, 56px);
  }

  .brand {
    width: clamp(142px, 24vw, 180px);
    height: 44px;
  }

  .left-nav {
    flex: 1;
    justify-content: flex-end;
    gap: 14px clamp(18px, 3vw, 34px);
  }

  .left-nav a {
    text-align: center;
  }

  .left-nav small {
    display: none;
  }

  .left-nav span {
    font-size: 12px;
  }

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  
}

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

  .site-header {
    padding: 10px 14px 0;
  }

  .header-pill {
    width: 100%;
    height: 62px;
    border-radius: 26px;
  }

  .left-topbar {
    position: relative;
    justify-content: space-between;
  }

  .hamburger {
    display: inline-flex;
  }

  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .left-nav {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    right: 0;
    z-index: 35;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 20px;
    border: 1px solid var(--line);
    background: rgba(251,250,246,.96);
    color: var(--text);
    box-shadow: 0 20px 50px rgba(0,0,0,.08);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease, transform .28s ease;
  }

  .nav-toggle:checked ~ .left-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .left-nav a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .left-nav a:last-child {
    border-bottom: none;
  }

  .left-nav small {
    display: block;
    font-size: 11px;
    color: var(--muted);
  }

  .left-nav span {
    font-size: 18px;
    color: var(--text);
  }
}

@media (max-width: 600px) {
  .left-topbar {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .hero-copy {
    display: block;
    max-width: 100%;
    margin-block: 56px 0;
  }

  h1 {
    font-size: clamp(48px, 17vw, 72px);
  }

  .tagline {
    margin-top: 28px;
    font-size: 21px;
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    margin-top: 28px;
  }

  .button-outline,
  .text-link {
    width: 100%;
  }

  

  .scroll-cue {
    right: 14px;
    bottom: 18px;
    opacity: .72;
  }

  

  .scroll-text {
    display: none;
  }

  

  .service-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  
}

/* Full-width hero layout overrides */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  padding: clamp(54px, 7vw, 92px) clamp(32px, 5vw, 72px) clamp(72px, 8vw, 100px);
  background: var(--bg);
}

.hero-layout {
  width: min(1360px, 100%);
  min-height: calc(100vh - var(--header-height) - clamp(126px, 15vw, 192px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-section .hero-copy {
  max-width: 560px;
  margin: 0;
  transform: none;
  display: block;
}

.hero-visual {
  width: 100%;
  min-width: 0;
}

.hero-section .hero-mockup-image {
  width: 100%;
  max-width: 920px;
  margin-left: auto;
  margin-right: 0;
}

.hero-section .mockup-device > img {
  max-height: 72vh;
  object-fit: contain;
}

.hero-section .hero-slider-frame .hero-slide {
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.hero-section .scroll-cue {
  position: absolute;
  right: clamp(24px, 4vw, 40px);
  bottom: 28px;
  z-index: 10;
}

.scroll-area {
  width: 100%;
  margin-left: 0;
  min-height: auto;
  border-left: none;
  background: #F5E8E1;
}

.scroll-area > .content-section:first-child {
  border-top: 1px solid rgba(17, 17, 17, .06);
}

@media (max-width: 1180px) {
  .hero-section {
    padding: 48px clamp(22px, 5vw, 56px) 80px;
  }

  .hero-layout {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-section .hero-copy {
    max-width: none;
    margin: 0;
    display: block;
  }

  .hero-section .hero-mockup-image {
    max-width: 760px;
    margin-inline: auto;
  }

  
}

@media (max-width: 900px) {
  .hero-section {
    padding: 40px 20px 72px;
  }

  .hero-layout {
    gap: 32px;
  }

  .hero-section .hero-mockup-image {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .hero-section .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .hero-section .button-outline,
  .hero-section .text-link {
    width: 100%;
  }

  .hero-section .scroll-cue {
    right: 14px;
    bottom: 18px;
    opacity: .72;
  }

  

  .hero-section .scroll-text {
    display: none;
  }
}

.content-contact .content-kicker {
  justify-content: center;
  gap: 14px;
  margin-inline: auto;
  margin-bottom: 20px;
  color: var(--accent-warm);
}

.content-contact .content-kicker::before,
.content-contact .content-kicker::after {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--accent-warm);
}


.price-card-label {
  margin-top: 24px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--accent-dark);
  text-transform: uppercase;
}

.price-list--summary .price-card-label {
  margin-top: 22px;
  font-size: 13px;
}

.price-list--summary .price-card ul {
  margin-top: 10px;
}

.price-detail-note {
  margin-top: clamp(34px, 5vw, 52px);
  text-align: center;
}

/* Typography harmonize */
body {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: .035em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.content-title,
.content-contact h2,
.tagline{
  font-family: var(--display);
  font-feature-settings: "palt" 1;
}

h1 {
  font-family: var(--en);
  font-weight: 800;
  letter-spacing: -.055em;
}

.tagline {
  font-weight: 700;
  letter-spacing: .035em;
}

.lead,
.content-lead,
.work-card p,
.price-card p,
.price-card ul,
.content-contact p{
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: .035em;
  line-height: 2;
}

.content-title,
.content-contact h2{
  font-weight: 600;
  letter-spacing: .035em;
}

.content-title {
  line-height: 1.5;
}

.big-label {
  font-family: var(--en);
  font-weight: 800;
  letter-spacing: .035em;
}

.content-kicker,
.tag,
.price-value,
.button-outline,
.text-link,
.contact-button,
.left-nav span,
.scroll-text,
.footer-inner{
  font-family: var(--en), var(--sans);
}

.left-nav small,
.content-kicker,
.tag,
.scroll-text,
.footer-inner{
  letter-spacing: .16em;
}

.left-nav span {
  letter-spacing: .03em;
  font-weight: 700;
}

.work-card h3,
.price-card h3{
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .035em;
  line-height: 1.55;
}

.price-value {
  font-weight: 700;
  letter-spacing: .02em;
}


/* Keep first-view mockup beside the copy on responsive screens */
@media (max-width: 1180px) {
  .hero-section .hero-layout {
    grid-template-columns: minmax(0, .95fr) minmax(320px, .8fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
  }

  .hero-section .hero-copy {
    max-width: 520px;
  }

  .hero-section .hero-mockup-image {
    max-width: 620px;
    margin-left: auto;
    margin-right: 0;
  }

  .hero-section h1 {
    font-size: clamp(52px, 7.4vw, 90px);
  }

  .hero-section .tagline {
    font-size: clamp(19px, 2vw, 28px);
  }
}

@media (max-width: 900px) {
  .hero-section .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 42vw);
    gap: 24px;
  }

  .hero-section .hero-copy {
    min-width: 0;
  }

  .hero-section .hero-mockup-image {
    max-width: 100%;
  }

  .hero-section h1 {
    font-size: clamp(46px, 8.4vw, 72px);
  }

  .hero-section .tagline {
    margin-top: 24px;
    font-size: clamp(17px, 2.6vw, 23px);
  }

  .hero-section .lead {
    font-size: 14px;
    line-height: 2;
  }

  .hero-section .hero-actions {
    gap: 14px;
  }

  .hero-section .button-outline,
  .hero-section .text-link {
    width: 200px;
    min-width: 200px;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding: 34px 18px 66px;
  }

  .hero-section .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(128px, 40vw);
    gap: 14px;
    align-items: start;
  }

  .hero-section h1 {
    font-size: clamp(38px, 11vw, 54px);
    line-height: .92;
  }

  .hero-section .tagline {
    margin-top: 20px;
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1.7;
  }

  .hero-section .lead {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.9;
  }

  .hero-section .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 22px;
  }

  .hero-section .button-outline,
  .hero-section .text-link {
    width: min(100%, 180px);
    min-width: 0;
    min-height: 46px;
    padding: 0 38px;
    font-size: 12px;
  }

  .hero-section .button-outline span,
  .hero-section .text-link span {
    right: 18px;
  }

  .hero-section .mockup-controls {
    margin-top: 10px;
  }

  .hero-section .mockup-dot {
    width: 7px;
    height: 7px;
  }

  .hero-section .mockup-dot.is-active {
    width: 20px;
  }
}

/* Smartphone first-view order: copy -> mockup -> CTA */
@media (max-width: 600px) {
  .hero-section .hero-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .hero-section .hero-copy {
    display: contents;
  }

  .hero-section h1 {
    order: 1;
  }

  .hero-section .tagline {
    order: 2;
  }

  .hero-section .lead {
    order: 3;
  }

  .hero-section .hero-visual {
    order: 4;
    width: 100%;
    margin-top: 28px;
  }

  .hero-section .hero-mockup-image {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-section .mockup-device > img {
    max-height: none;
  }

  .hero-section .hero-actions {
    order: 5;
    width: 100%;
    margin-top: 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-section .button-outline,
  .hero-section .text-link {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    font-size: 13px;
  }

  .hero-section .mockup-controls {
    margin-top: 12px;
  }
}

.about-more {
  justify-content: flex-start;
  margin-top: 30px;
}

@media (min-width: 641px) and (max-width: 767px) {
  .about-more {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .about-more .more-button {
    width: 100%;
  }
}


/* Flow-like vertical timeline */
.flow-vertical {
  width: min(100%, 860px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-step-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-step {
  width: 100%;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  border: 1px solid rgba(217, 115, 90, .16);
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 10px 26px rgba(217, 115, 90, .05);
}

.flow-step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  min-height: 88px;
  margin-inline: auto;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--en), var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.5;
  text-align: center;
}

.flow-step-body h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
}

.flow-step-body p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.flow-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 10px 0;
  border-radius: 999px;
  background: #fff;
  color: var(--accent-dark);
  border: 1px solid rgba(217, 115, 90, .2);
  box-shadow: 0 8px 18px rgba(217, 115, 90, .08);
  font-size: 20px;
  line-height: 1;
}

@media (max-width: 760px) {
  .flow-step {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
    padding: 22px 20px;
  }

  .flow-step-no {
    width: 80px;
    min-height: 80px;
  }

  .flow-step-body h3 {
    font-size: 20px;
  }
}


/* SERVICE: alternating vertical layout with flat icons */
.service-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 8px;
}

.service-item {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(24px, 3.6vw, 42px);
  align-items: center;
  padding: clamp(24px, 3.2vw, 30px);
  border: 1px solid rgba(217, 115, 90, .14);
  border-radius: 28px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 12px 26px rgba(217, 115, 90, .04);
}

.service-item.is-reverse {
  grid-template-columns: minmax(0, 1fr) 280px;
}

.service-item.is-reverse .service-visual {
  order: 2;
}

.service-item.is-reverse .service-copy {
  order: 1;
}

.service-visual {
  min-height: 200px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 212, 196, .82), rgba(255, 212, 196, .54));
  border: 1px solid rgba(217, 115, 90, .10);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-visual::before {
  content: '';
  position: absolute;
  width: 128px;
  height: 128px;
  border-radius: 999px;
  top: -22px;
  right: -22px;
  background: rgba(217, 115, 90, .16);
}

.service-visual::after {
  content: '';
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 24px;
  bottom: -18px;
  left: -18px;
  background: rgba(193, 154, 138, .10);
  transform: rotate(18deg);
}

.service-icon-shell {
  position: relative;
  z-index: 1;
  width: 144px;
  height: 144px;
  border-radius: 36px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(217, 115, 90, .10);
  box-shadow: 0 12px 28px rgba(217, 115, 90, .08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-shell svg,
.service-icon-shell img {
  width: 90px;
  height: 90px;
}

.service-icon-shell img {
  display: block;
  object-fit: contain;
}

.service-copy {
  min-width: 0;
}


.service-copy h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: -.02em;
}

.service-copy p {
  margin: 14px 0 0;
  max-width: 40em;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.service-note {
  margin-top: 14px;
  color: #8a7a75;
  font-size: 13px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .service-item,
  .service-item.is-reverse {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-item.is-reverse .service-visual,
  .service-item.is-reverse .service-copy {
    order: initial;
  }

  .service-visual {
    min-height: 170px;
  }

  .service-icon-shell {
    width: 128px;
    height: 128px;
  }

  .service-icon-shell svg,
  .service-icon-shell img {
    width: 80px;
    height: 80px;
  }

  .service-copy h3 {
    font-size: 30px;
  }

  .service-copy p {
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .service-item {
    padding: 22px 18px;
  }

  .service-visual {
    min-height: 150px;
  }

  .service-copy h3 {
    font-size: 26px;
  }

  .service-copy p {
    font-size: 14px;
  }
}


/* Font update: Zen Kaku Gothic New / Noto Sans JP / Inter */
:root {
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
  --serif: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
  --en: "Inter", "Helvetica Neue", Arial, sans-serif;
  --heading-ja: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: .02em;
}

.content-title,
.service-copy h3,
.price-card h3,
.flow-step-body h3,
.profile-copy h2{
  color: var(--heading);
  font-family: var(--heading-ja);
  font-weight: 800;
  letter-spacing: .005em;
}

.content-title {
  line-height: 1.36;
}

.content-lead,
.service-copy p,
.price-card p,
.price-card li,
.flow-step-body p,
.service-note{
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: .035em;
}

.content-kicker,
.price-value,
.flow-step-no,
.more-button{
  font-family: var(--en), var(--sans);
}


/* Heading font fix */
h1,
.content-title,
.service-copy h3,
.price-card h3,
.flow-step-body h3,
.profile-copy h2,
.concept-copy h2,
.content-contact h2{
  color: var(--heading);
  font-family: var(--heading-ja) !important;
  font-weight: 800;
}

.content-contact h2 {
  line-height: 1.35;
  letter-spacing: .005em;
}

.tagline {
  font-weight: 700;
  letter-spacing: .02em;
}

h1 {
  letter-spacing: -.055em;
}

.price-value,
.flow-step-no,
.content-kicker,
.more-button,
.button-outline,
.text-link{
  font-family: var(--en), var(--sans) !important;
}

/* First-view scroll cue */
.hero-section {
  position: relative;
}

.scroll-cue {
  position: absolute !important;
  right: clamp(22px, 3vw, 42px) !important;
  bottom: clamp(22px, 3vw, 34px) !important;
  z-index: 10 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: var(--accent-dark) !important;
  opacity: .72;
  pointer-events: none !important;
}


.scroll-cue .scroll-text {
  writing-mode: vertical-rl !important;
  font-family: var(--en), var(--sans) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: .2em !important;
  color: currentColor !important;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  right: clamp(22px, 3vw, 42px);
  bottom: clamp(22px, 3vw, 34px);
  z-index: 60;
  width: 48px;
  height: 48px;
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  color: var(--accent-dark);
  box-shadow: 0 10px 22px rgba(217, 115, 90, .12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background-color .25s ease;
}

.back-to-top.is-visible {
  opacity: .9;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  opacity: 1;
  background: rgba(255,255,255,.96);
  transform: translateY(-2px);
}

.back-to-top__icon {
  font-family: var(--en), var(--sans);
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 760px) {
  .scroll-cue {
    right: 18px !important;
    bottom: 18px !important;
  }

  .scroll-cue .scroll-text {
    display: none !important;
  }

  .back-to-top{
    width: 42px !important;
    height: 42px !important;
  }

  

  .back-to-top__icon {
    font-size: 20px;
  }
}


/* Refined scroll cue and back-to-top */


.scroll-cue {
  position: absolute !important;
  right: clamp(26px, 3.4vw, 48px) !important;
  bottom: clamp(28px, 3.6vw, 40px) !important;
  z-index: 10 !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  color: var(--accent-dark) !important;
  opacity: .72 !important;
  pointer-events: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
}

.scroll-cue::before {
  content: '';
  width: 1px;
  height: 22px;
  background: currentColor;
  opacity: .45;
}

.scroll-cue .scroll-text {
  font-family: var(--en), var(--sans) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: .24em !important;
  line-height: 1.1 !important;
  writing-mode: vertical-rl !important;
  text-orientation: mixed !important;
  color: currentColor !important;
}

.scroll-cue .scroll-arrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 14px !important;
  height: 10px !important;
  opacity: .9 !important;
  animation: scrollCueFloat 1.8s ease-in-out infinite;
}

@keyframes scrollCueFloat {
  0%, 100% { transform: translateY(0); opacity: .8; }
  50% { transform: translateY(5px); opacity: 1; }
}

.back-to-top {
  position: fixed !important;
  right: clamp(20px, 3vw, 38px) !important;
  bottom: clamp(20px, 3vw, 30px) !important;
  z-index: 60 !important;
  width: 48px !important;
  height: 48px !important;
  border: 1px solid var(--accent-dark) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.92) !important;
  color: var(--accent-dark) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 10px 22px rgba(217, 115, 90, .12) !important;
  cursor: pointer !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(8px) !important;
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background-color .25s ease !important;
}

.back-to-top.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.back-to-top:hover {
  background: #fff !important;
  transform: translateY(-2px) !important;
}

.back-to-top__icon {
  font-family: var(--en), var(--sans) !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

@media (max-width: 760px) {
  .scroll-cue {
    right: 20px !important;
    bottom: 20px !important;
  }

  .scroll-cue::before {
    height: 18px;
  }

  .scroll-cue .scroll-text {
    font-size: 9px !important;
    writing-mode: vertical-rl !important;
  }

  .scroll-cue .scroll-arrow {
    width: 12px !important;
    height: 9px !important;
  }

  .back-to-top {
    width: 42px !important;
    height: 42px !important;
    right: 16px !important;
    bottom: 16px !important;
  }
}


.scroll-cue .scroll-arrow svg {
  display: block;
  width: 14px;
  height: 10px;
}


/* Hero tagline line-height adjustment */
.tagline {
  line-height: 1.45 !important;
}


/* Contact color adjustment */
.content-contact {
  background: #3A322C !important;
}


.content-contact .content-title,
.content-contact h2 {
  color: #FFFFFF !important;
}

.content-contact .content-lead,
.content-contact p {
  color: rgba(255, 255, 255, .78) !important;
}

.contact-button.line-button {
  background: var(--accent-dark) !important;
  border-color: var(--accent-dark) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(217, 115, 90, .22) !important;
}

.contact-button.line-button:hover {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--accent-dark) !important;
}


/* Contact softer color adjustment */


.content-contact .content-lead,
.content-contact p {
  color: rgba(255, 255, 255, .82) !important;
}

.contact-button.line-button {
  background: #D9735A !important;
  border-color: #D9735A !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(217, 115, 90, .18) !important;
}

.contact-button.line-button:hover {
  background: #FFFFFF !important;
  border-color: #FFFFFF !important;
  color: #D9735A !important;
}

.contact-button:not(.line-button) {
  border-color: rgba(255, 255, 255, .58) !important;
  color: #FFFFFF !important;
}

.contact-button:not(.line-button):hover {
  background: #FFFFFF !important;
  color: #3A322C !important;
}


/* Contact kicker white adjustment */
.content-contact .content-kicker {
  color: #FFFFFF !important;
}

.content-contact .content-kicker::before,
.content-contact .content-kicker::after {
  background: rgba(255, 255, 255, .58) !important;
  border-color: rgba(255, 255, 255, .58) !important;
}

.content-contact p {
  max-width: 620px;
  margin-inline: auto;
}

/* Section background rhythm */
:root {
  --section-bg-a: #FAF4EE;
  --section-bg-b: #F5E8E1;
}

.scroll-area {
  background: var(--section-bg-a);
}

.hero-section {
  background: var(--section-bg-a);
}

#concept {
  background: var(--section-bg-b);
}

#service {
  background: var(--section-bg-a);
}

#works {
  background: var(--section-bg-b);
}

#price {
  background: var(--section-bg-a);
}

#flow {
  background: var(--section-bg-b);
}

#about {
  background: var(--section-bg-a);
}

#contact {
  background: #3A322C !important;
  color: #FFFFFF !important;
}

#contact::before {
  color: rgba(255, 255, 255, .055) !important;
}

#contact .content-kicker {
  color: #FFFFFF !important;
}

#contact .content-kicker::before,
#contact .content-kicker::after {
  background: rgba(255, 255, 255, .58) !important;
  border-color: rgba(255, 255, 255, .58) !important;
}

#contact h2 {
  color: #FFFFFF !important;
}

#contact p {
  color: rgba(255, 255, 255, .82) !important;
}

#contact .contact-button.line-button {
  background: #D9735A !important;
  border-color: #D9735A !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(217, 115, 90, .18) !important;
}

#contact .contact-button.line-button:hover {
  background: #FFFFFF !important;
  border-color: #FFFFFF !important;
  color: #D9735A !important;
}

#contact .contact-button:not(.line-button) {
  border-color: rgba(255, 255, 255, .58) !important;
  color: #FFFFFF !important;
}

#contact .contact-button:not(.line-button):hover {
  background: #FFFFFF !important;
  color: #3A322C !important;
}

.work-card,
.service-item,
.price-card,
.flow-step,
.price-detail-card,
.price-detail-mini-card,
.price-option-list,
.price-confirm-list article,
.works-detail-card,
.work-item-overview,
.work-item-points article,
.contact-form-card,
.contact-confirm-card,
.contact-complete-card{
  background: rgba(245, 232, 225, .86);
}

#flow .flow-step {
  background: rgba(250, 244, 238, .96);
  border-color: rgba(217, 115, 90, .26);
  box-shadow: 0 12px 30px rgba(217, 115, 90, .10);
}

.hero-section .hero-slider,
.hero-section .mockup-device,
.hero-section .hero-slider-frame {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hero-section .hero-slider-frame::after {
  content: none !important;
  display: none !important;
}

.hero-section .hero-slider-frame .hero-slide {
  object-fit: contain;
}

/* First-view redesign */
.hero-section {
  overflow: hidden;
  isolation: isolate;
}

.hero-section::before {
  content: "NATCH\A DESIGN";
  position: absolute;
  left: var(--bg-word-left);
  top: clamp(92px, 11vw, 150px);
  z-index: 0;
  color: rgba(193, 154, 138, .14);
  font-family: var(--en), var(--sans);
  font-size: clamp(86px, 17vw, 250px);
  font-weight: 800;
  line-height: .78;
  letter-spacing: .015em;
  white-space: pre;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
}

.hero-section .hero-copy {
  max-width: 520px;
}

.hero-section .tagline {
  margin-top: 0;
  color: var(--heading);
  font-size: clamp(34px, 4.6vw, 66px);
  line-height: 1.42 !important;
  letter-spacing: .02em;
}

.hero-section .lead {
  max-width: 560px;
  margin-top: 28px;
}

.hero-section .hero-actions {
  margin-top: 42px;
}

.hero-section .hero-mockup-image {
  max-width: 900px;
}

.hero-section .hero-slider-frame {
  aspect-ratio: 1 / 1;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-section .hero-slider-frame::after {
  display: none;
}

.hero-section .hero-slider-frame .hero-slide {
  object-fit: contain;
  opacity: 0;
  transform: none;
  transition: opacity 1.35s ease;
}

.hero-section .hero-slider-frame .hero-slide.is-active {
  opacity: 1;
}

.hero-section .mockup-controls {
  position: relative;
  z-index: 2;
  margin-top: clamp(-42px, -3vw, -22px);
}

@media (max-width: 1180px) {
  .hero-section::before {
    top: clamp(92px, 12vw, 132px);
    font-size: clamp(76px, 15vw, 170px);
  }

  .hero-section .hero-layout {
    grid-template-columns: minmax(0, .95fr) minmax(320px, .9fr);
  }

  .hero-section .tagline {
    font-size: clamp(30px, 4.5vw, 50px);
  }
}

@media (max-width: 900px) {
  .hero-section::before {
    top: 88px;
    font-size: clamp(70px, 18vw, 132px);
  }

  .hero-section .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-section .hero-copy {
    max-width: 620px;
  }

  .hero-section .hero-mockup-image {
    max-width: 680px;
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .hero-section::before {
    left: 16px;
    top: 78px;
    font-size: clamp(58px, 20vw, 96px);
    line-height: .82;
  }

  .hero-section .hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-section .hero-copy {
    display: block;
  }

  .hero-section .tagline {
    font-size: clamp(28px, 9.4vw, 40px);
    line-height: 1.46 !important;
  }

  .hero-section .lead {
    margin-top: 18px;
    font-size: 13px;
  }

  .hero-section .hero-actions {
    margin-top: 24px;
  }

  .hero-section .hero-visual {
    margin-top: 0;
  }

  .hero-section .mockup-controls {
    margin-top: -18px;
  }
}

/* About detail page */
.about-page {
  padding-top: 0;
  background: var(--section-bg-a);
}

.about-detail-hero {
  position: relative;
  min-height: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  background: var(--section-bg-a);
}

.about-detail-hero__image {
  position: relative;
  height: clamp(250px, 31vw, 420px);
  background:
    linear-gradient(0deg, rgba(58, 50, 44, .18), rgba(58, 50, 44, .06)),
    linear-gradient(180deg, rgba(251,250,247,.02), rgba(251,250,247,.22)),
    url("images/about-hero-photo.webp") center / cover no-repeat;
  filter: saturate(.88) brightness(1.04);
}

.about-detail-hero__body {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-inline: auto;
  min-height: clamp(300px, 25vw, 400px);
  padding: clamp(136px, 12vw, 190px) clamp(24px, 5vw, 72px) clamp(58px, 6vw, 88px);
  box-sizing: border-box;
  --about-title-offset: max(0px, calc((100vw - 1080px) / 2 - clamp(24px, 5vw, 72px)));
}

.about-detail-hero__body::before {
  content: "ABOUT";
  position: absolute;
  left: var(--bg-word-left);
  top: 28px;
  z-index: -1;
  color: rgba(193, 154, 138, .16);
  font-family: var(--en), var(--sans);
  font-size: clamp(58px, 10vw, 132px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .035em;
  pointer-events: none;
  white-space: nowrap;
}

.about-detail-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px var(--about-title-offset);
  color: var(--heading-en);
  font-family: var(--en), var(--sans);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .18em;
}

.about-detail-hero__label::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.about-detail-hero h1 {
  width: min(980px, calc(100% - var(--about-title-offset)));
  margin: 0 0 0 var(--about-title-offset);
  color: var(--heading);
  font-family: var(--heading-ja);
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.25;
  letter-spacing: .005em;
  font-weight: 800;
}

.about-detail-section {
  position: relative;
  padding: clamp(86px, 9vw, 132px) clamp(24px, 5vw, 72px);
  border-top: 1px solid rgba(17, 17, 17, .05);
}

.about-detail-section--intro,
.about-detail-section--policy,
.about-detail-section--life,
.about-detail-cta {
  background: var(--section-bg-b);
}

.about-detail-section--plain {
  background: var(--section-bg-a);
}

.about-detail-inner {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.about-detail-split {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(280px, 1fr);
  gap: clamp(38px, 5vw, 64px);
  align-items: start;
}

.about-detail-copy,
.about-story,
.about-policy-copy,
.about-cta-box {
  color: var(--text);
}

.about-detail-copy,
.about-local-copy {
  max-width: 720px;
}

.about-story-stack > .about-story:not(.about-local-split),
.about-policy-copy,
.about-section-head,
.about-detail-section--life .about-story,
.about-cta-box > div:first-child {
  width: 100%;
  max-width: none;
}

.about-detail-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--heading-en);
  font-family: var(--en), var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.about-detail-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.about-break-heading span {
  display: block;
}

.about-detail-copy h2,
.about-story h2,
.about-section-head h2,
.about-cta-box h2 {
  margin: 0;
  color: var(--heading);
  font-family: var(--heading-ja);
  font-size: clamp(27px, 2.7vw, 38px);
  line-height: 1.42;
  letter-spacing: .01em;
  font-weight: 800;
  text-wrap: balance;
}

.about-detail-copy p,
.about-story p,
.about-policy-copy p,
.about-section-head p,
.about-service-list p,
.about-cta-box p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 2.05;
  /* 段落ごとの右端の余白をそろえて見せるため、均等化・見栄え優先の改行は使わない */
  line-break: auto;
  overflow-wrap: normal;
  text-wrap: wrap;
}

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

.about-detail-photo {
  margin: clamp(158px, 12vw, 196px) 0 0;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 22px 54px rgba(43, 41, 38, .08);
  aspect-ratio: 4 / 3;
}

.about-detail-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-story-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(70px, 8vw, 112px);
  align-items: start;
}

.about-local-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(300px, 1fr);
  gap: clamp(38px, 5vw, 64px);
  align-items: start;
}

.about-local-copy {
  min-width: 0;
}

.about-local-photo {
  margin: clamp(118px, 9vw, 152px) 0 0;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 22px 54px rgba(43, 41, 38, .08);
  aspect-ratio: 3 / 2;
}

.about-local-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-policy-layout {
  margin-top: 34px;
}

.about-service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
  margin-top: 38px;
}

.about-service-list article {
  padding: 28px 0 0;
  border-top: 1px solid rgba(217, 115, 90, .18);
}

.about-service-list img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 22px;
}

.about-service-list h3 {
  margin: 0;
  color: var(--heading);
  font-family: var(--heading-ja);
  font-size: 24px;
  line-height: 1.4;
}

.about-cta-box {
  display: block;
  padding-block: clamp(12px, 2vw, 24px);
}

.about-cta-box > div:first-child,
.about-cta-actions {
  width: 100%;
  max-width: none;
}

.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 34px;
}

.about-cta-actions .contact-button {
  border-color: rgba(217, 115, 90, .32) !important;
  color: var(--accent-dark) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.about-cta-actions .contact-button:hover {
  background: #fff !important;
  color: var(--accent-dark) !important;
  box-shadow: 0 10px 24px rgba(217, 115, 90, .10) !important;
}

.about-cta-actions .contact-button.line-button {
  background: var(--accent-dark) !important;
  border-color: var(--accent-dark) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(217, 115, 90, .18) !important;
}

.about-cta-actions .contact-button.line-button:hover {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--accent-dark) !important;
}

.about-page-return {
  background: var(--section-bg-b);
  padding: 0 clamp(24px, 5vw, 72px) clamp(64px, 7vw, 96px);
  text-align: center;
}

.about-page-return a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--heading-ja);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 115, 90, .28);
  padding: 8px 2px;
  transition: color .25s ease, border-color .25s ease;
}

.about-page-return a::before {
  content: "←";
  color: var(--accent-dark);
  font-family: var(--en), var(--sans);
}

.about-page-return a:hover {
  color: var(--accent-dark);
  border-color: rgba(217, 115, 90, .72);
}

/* ABOUTページも、横並びのタブレット幅では画像を文章の縦中央にそろえる */
@media (min-width: 961px) and (max-width: 1180px) {
  .about-detail-split,
  .about-local-split {
    align-items: center;
  }

  .about-detail-photo,
  .about-local-photo {
    margin-top: 0;
  }
}

@media (max-width: 960px) {
  .about-detail-split,
  .about-story-stack,
  .about-policy-layout,
  .about-local-split,
  .about-cta-box {
    grid-template-columns: 1fr;
  }

  .about-policy-layout {
    gap: 30px;
  }

  .about-service-list {
    grid-template-columns: 1fr;
  }

  .about-cta-actions {
    justify-content: flex-start;
    min-width: 0;
  }

  .about-detail-photo,
  .about-local-photo {
    margin-top: 30px;
  }
}

@media (max-width: 640px) {
  .about-detail-hero {
    min-height: 0;
  }

  .about-detail-hero__body {
    min-height: 300px;
    padding-top: 132px;
    --about-title-offset: 0px;
  }

  .about-detail-hero__body::before {
    font-size: clamp(58px, 18vw, 104px);
  }

  .about-detail-hero__label {
    gap: 12px;
    margin-bottom: 18px;
    font-size: 13px;
  }

  .about-detail-hero__label::before {
    width: 38px;
  }

  .about-detail-hero h1 {
    font-size: 36px;
  }

  .about-detail-section {
    padding: 74px 22px;
  }

  .about-detail-photo,
  .about-local-photo {
    border-radius: 16px;
  }

  .about-service-list img {
    margin-inline: auto;
  }

  .about-service-list h3 {
    text-align: center;
  }

  .about-cta-actions .contact-button {
    width: 100%;
    min-width: 0;
  }
}

/* タブレットではサービスの要点とCTAを中央にそろえる */
@media (min-width: 641px) and (max-width: 1180px) {
  .about-service-list img {
    margin-inline: auto;
  }

  .about-service-list h3 {
    text-align: center;
  }

  .about-cta-actions {
    justify-content: center;
  }
}

/* Price detail page */
.price-page {
  padding-top: 0;
  background: var(--section-bg-a);
}

.price-detail-hero {
  position: relative;
  min-height: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  background: var(--section-bg-a);
}

.price-detail-hero__image {
  position: relative;
  height: clamp(250px, 31vw, 420px);
  background:
    linear-gradient(0deg, rgba(58, 50, 44, .15), rgba(58, 50, 44, .05)),
    linear-gradient(180deg, rgba(251,250,247,.02), rgba(251,250,247,.22)),
    url("images/price-hero-photo.webp") center / cover no-repeat;
  filter: saturate(.9) brightness(1.04);
}

.price-detail-hero__body {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-inline: auto;
  min-height: clamp(300px, 25vw, 400px);
  padding: clamp(136px, 12vw, 190px) clamp(24px, 5vw, 72px) clamp(58px, 6vw, 88px);
  box-sizing: border-box;
  --detail-title-offset: max(0px, calc((100vw - 1080px) / 2 - clamp(24px, 5vw, 72px)));
}

.price-detail-hero__body::before {
  content: "PRICE";
  position: absolute;
  left: var(--bg-word-left);
  top: 28px;
  z-index: -1;
  color: rgba(193, 154, 138, .16);
  font-family: var(--en), var(--sans);
  font-size: clamp(58px, 10vw, 132px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .035em;
  pointer-events: none;
  white-space: nowrap;
}

.price-detail-hero__copy {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - var(--detail-title-offset)));
  margin-left: var(--detail-title-offset);
}

.price-detail-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--heading-en);
  font-family: var(--en), var(--sans);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.price-detail-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.price-detail-hero h1 {
  margin: 0;
  color: var(--heading);
  font-family: var(--heading-ja);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .005em;
}

.price-detail-hero__copy > p:not(.price-detail-kicker) {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
  text-wrap: pretty;
}

.price-detail-hero__lead span {
  display: block;
}

.price-detail-hero__lead span + span {
  margin-top: 4px;
}

.price-detail-section {
  padding: clamp(76px, 8vw, 116px) clamp(24px, 5vw, 72px);
  background: var(--section-bg-a);
  border-top: 1px solid rgba(17, 17, 17, .05);
}

.price-detail-section--alt,
.price-detail-cta {
  background: var(--section-bg-b);
}

.price-detail-inner {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.price-detail-head {
  display: grid;
  justify-items: start;
  margin: 0 0 clamp(34px, 5vw, 56px);
  text-align: left;
}

.price-detail-head .price-detail-kicker {
  margin-bottom: 16px;
}

.price-detail-head .price-detail-kicker::before {
  width: 48px;
}

.price-detail-head h2 {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin: 0;
  color: var(--heading);
  font-family: var(--heading-ja);
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .005em;
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: balance;
}

.price-detail-head h2 span {
  display: inline-block;
  white-space: nowrap;
}

.price-detail-head--small {
  justify-items: start;
  margin-bottom: 22px;
  text-align: left;
}

.price-detail-head--small .price-detail-kicker::before {
  width: 34px;
}

.price-detail-head--small h2 {
  justify-items: start;
  font-size: clamp(25px, 2.3vw, 32px);
}

.price-detail-group + .price-detail-group {
  margin-top: clamp(58px, 7vw, 88px);
}

.price-option-block + .price-detail-group {
  margin-top: clamp(58px, 7vw, 88px);
}

.price-detail-grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}

.price-detail-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price-detail-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(20px, 3vw, 32px);
}

.price-detail-card,
.price-detail-mini-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(217, 115, 90, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 16px 44px rgba(217, 115, 90, .06);
}

.price-detail-card {
  padding: clamp(28px, 3.4vw, 42px);
}

.price-detail-mini-card {
  padding: 30px;
}

.price-detail-card.is-featured,
.price-detail-mini-card.is-featured {
  border-color: rgba(217, 115, 90, .36);
  box-shadow: 0 18px 50px rgba(217, 115, 90, .10);
}

.price-detail-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 86px;
  padding: 10px 16px 11px;
  border-radius: 0 18px 0 18px;
  background: var(--accent-dark);
  color: #fff;
  font-family: var(--heading-ja);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
}

.price-detail-card__top {
  display: block;
  margin-bottom: 24px;
}

.price-detail-card.is-featured .price-detail-card__top {
  padding-right: 54px;
}


.price-detail-card h3,
.price-detail-mini-card h3,
.price-confirm-list h3 {
  margin: 0;
  color: var(--heading);
  font-family: var(--heading-ja);
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: .005em;
}

.price-detail-card h3 {
  font-size: clamp(22px, 2vw, 28px);
}

.price-detail-mini-card h3 {
  font-size: 21px;
}

/* 「人気」リボン(最小幅86px)にタイトルが潜り込まないよう、リボン幅ぶん退避させる */
.price-detail-mini-card.is-featured h3 {
  padding-right: 92px;
}

.price-detail-card h4 {
  margin: 28px 0 12px;
  color: var(--accent-dark);
  font-family: var(--heading-ja);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
}

.price-detail-card p,
.price-detail-mini-card p,
.price-confirm-list p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
  text-wrap: pretty;
}

.price-detail-value {
  display: block;
  margin: 10px 0 0;
  color: var(--accent-dark);
  font-family: var(--en), var(--sans);
  font-size: clamp(28px, 2.9vw, 40px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
}

.price-detail-card .price-detail-value {
  color: var(--accent-dark);
  font-family: var(--en), var(--sans);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
}

.price-detail-mini-card .price-detail-value {
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.2;
}

.price-detail-tag {
  display: inline-flex;
  width: fit-content;
  margin: 14px 0 0;
  padding: 6px 12px;
  border: 1px solid rgba(217, 115, 90, .18);
  border-radius: 999px;
  background: rgba(248, 241, 239, .84);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.price-detail-card .price-detail-tag {
  display: inline-flex;
  width: fit-content;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.price-detail-checks {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.price-detail-checks li {
  position: relative;
  padding-left: 24px;
}

.price-detail-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 9px;
  height: 9px;
  border: 2px solid var(--accent-dark);
  border-radius: 50%;
  transform: translateY(-50%);
}

.price-detail-card .price-detail-note,
.price-detail-mini-card .price-detail-note,
.price-option-list + .price-detail-note {
  margin: 20px 0 0;
  padding: 13px 15px;
  border-radius: 10px;
  background: rgba(255, 241, 238, .78);
  color: #8a6f69;
  font-size: 12px;
  line-height: 1.8;
  text-align: left;
}

.price-detail-card--wide {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.price-detail-wide-text {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: clamp(28px, 4vw, 46px);
  align-items: start;
}

.price-detail-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 58px);
  align-items: start;
}

.price-option-block {
  margin-top: clamp(34px, 5vw, 58px);
}

.price-option-block .price-detail-head {
  margin-bottom: 22px;
}

.price-option-list {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(217, 115, 90, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .76);
}

.price-option-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(217, 115, 90, .10);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.price-option-list div:last-child {
  border-bottom: 0;
}

.price-option-list span {
  min-width: 0;
}

.price-option-list span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 10px 2px 0;
  border-radius: 50%;
  background: var(--accent-dark);
}

.price-option-list strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.price-confirm-list {
  display: grid;
  gap: 12px;
}

.price-confirm-list article {
  padding: 20px 22px;
  border: 1px solid rgba(217, 115, 90, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .76);
}

.price-confirm-list h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
}

.price-confirm-list h3::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent-dark);
}

.price-confirm-list p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.9;
}

.price-flow-detail .flow-vertical {
  width: min(920px, 100%);
  margin-inline: auto;
}

.price-flow-detail {
  position: relative;
  overflow: hidden;
  padding-top: clamp(150px, 14vw, 210px);
}

.price-flow-detail::before {
  content: "FLOW";
  position: absolute;
  left: var(--bg-word-left);
  top: 28px;
  color: rgba(193, 154, 138, .16);
  font-family: var(--en), var(--sans);
  font-size: clamp(58px, 10vw, 132px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .035em;
  pointer-events: none;
  white-space: nowrap;
}

.price-flow-detail .price-detail-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
}

.price-flow-detail .flow-step {
  align-items: start;
}

.price-flow-detail .flow-step-body {
  min-width: 0;
}

.price-flow-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

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

.price-flow-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .82em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-dark);
  transform: translateY(-50%);
}

.price-flow-note {
  margin: 16px 0 0 !important;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(255, 241, 238, .78);
  color: #8a6f69 !important;
  font-size: 12px !important;
  line-height: 1.8 !important;
}

.price-detail-cta {
  padding: clamp(76px, 8vw, 108px) clamp(24px, 5vw, 72px) clamp(86px, 9vw, 124px);
  text-align: center;
}

.price-detail-cta .price-detail-inner {
  overflow: hidden;
  padding: clamp(42px, 5vw, 62px) clamp(24px, 5vw, 72px);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(58, 50, 44, .94), rgba(58, 50, 44, .82)),
    url("images/price-hero-photo.webp") right center / cover no-repeat;
  color: #FFFFFF;
}

.price-detail-cta .price-detail-kicker {
  justify-content: center;
  color: rgba(255, 255, 255, .86);
}

.price-detail-cta .price-detail-kicker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.price-detail-cta h2 {
  margin: 0;
  color: #FFFFFF;
  font-family: var(--heading-ja);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .005em;
}

.price-detail-cta p:not(.price-detail-kicker) {
  width: min(620px, 100%);
  margin: 18px auto 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 2;
}

.price-detail-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.price-detail-cta__actions .contact-button.line-button {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(217, 115, 90, .18);
}

.price-detail-cta__actions .contact-button.line-button:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--accent-dark);
}

/* ===== 料金ページ改善で追加(税込表記・比較・FAQ) ===== */

/* 価格の視認性を邪魔しないよう、単位・税込表記は小さく・控えめな色にする。
   「/ 月（税込）」のような単位ごと1つのspanに入れ、中途半端な位置で改行しないようnowrapにする */
.price-tax {
  display: inline-block;
  margin-left: 6px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* 隣り合うカードで「含まれる内容」などの開始位置が文量差でずれないよう、
   subgridで行の高さをカード間で共有する。
   注意: グリッド直下カードの子要素数(大カード6個・ミニカード4個)が変わったら span の数も合わせること */
@media (min-width: 961px) {
  @supports (grid-template-rows: subgrid) {
    .price-detail-grid--two > .price-detail-card {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 6;
      row-gap: 0;
    }

    .price-detail-grid--three > .price-detail-mini-card {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 4;
      row-gap: 0;
    }

    /* トップの簡易料金カード(子要素は最大6個。注記がないカードは最終行が空になるだけでOK) */
    .price-list--summary > .price-card {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 6;
      row-gap: 0;
    }
  }
}

/* 2プランの違い・維持費の目安ブロック。プランカードより一段軽い見た目にして主役を奪わない */
.price-plan-compare {
  margin-top: clamp(20px, 3vw, 28px);
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(217, 115, 90, .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .76);
}

.price-plan-compare h3 {
  margin: 0;
  color: var(--heading);
  font-family: var(--heading-ja);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}

.price-plan-compare__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
  margin-top: 16px;
}

.price-plan-compare__grid h4 {
  margin: 0;
  color: var(--accent-dark);
  font-family: var(--heading-ja);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
}

.price-plan-compare__grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.price-plan-compare .price-detail-note {
  margin-top: 16px;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(255, 241, 238, .78);
  color: #8a6f69;
  font-size: 12px;
  line-height: 1.8;
}

/* FLOW冒頭の安心文。見出し下にそっと添える */
.price-flow-lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

/* FAQ。details/summaryのアコーディオンで、既存カードと同じ罫線トーンに揃える */
.price-faq {
  display: grid;
  gap: 12px;
}

.price-faq__item {
  border: 1px solid rgba(217, 115, 90, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .76);
}

.price-faq__item summary {
  position: relative;
  padding: 18px 48px 18px 22px;
  color: var(--heading);
  font-family: var(--heading-ja);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

/* ブラウザ標準の三角マーカーを消して＋/−に置き換える */
.price-faq__item summary::-webkit-details-marker {
  display: none;
}

.price-faq__item summary::after {
  content: "＋";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-dark);
  font-size: 16px;
  font-weight: 700;
}

.price-faq__item[open] summary::after {
  content: "−";
}

.price-faq__item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

/* トップの料金セクション共通注記。カードの下にさりげなく置く */
.price-summary-note {
  margin: 22px 0 0;
  color: rgba(51, 41, 33, .68);
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

@media (min-width: 961px) {
  /* nowrap指定だと「人気」リボンや隣カードに文字が被るため、折り返しを許可しつつ
     フォントを可変にして、なるべく1行に収める。行位置の揃えはsubgrid側で担保する */
  .price-detail-mini-card h3 {
    font-size: clamp(16px, 1.42vw, 21px);
  }
}

@media (max-width: 960px) {
  .price-detail-grid--two,
  .price-detail-grid--three,
  .price-detail-wide-text,
  .price-detail-bottom-grid,
  .price-plan-compare__grid {
    grid-template-columns: 1fr;
  }

  .price-detail-hero__copy {
    width: min(650px, calc(100% - var(--detail-title-offset)));
  }
}

@media (max-width: 640px) {
  .price-detail-hero {
    min-height: 0;
  }

  .price-detail-hero__body {
    min-height: 300px;
    padding: 132px 22px 62px;
    --detail-title-offset: 0px;
  }

  .price-detail-hero__copy {
    width: 100%;
    margin-left: 0;
  }

  .price-detail-hero__body::before,
  .price-flow-detail::before {
    top: 82px;
    font-size: clamp(64px, 19vw, 112px);
  }

  .price-detail-hero h1 {
    font-size: 36px;
  }

  .price-detail-hero__lead span + span {
    margin-top: 6px;
  }

  .price-detail-section {
    padding: 72px 22px;
  }

  .price-detail-card,
  .price-detail-mini-card {
    border-radius: 16px;
    padding: 24px 20px;
  }

  /* スマホでは価格が改行しやすいため、税込表記をさらに小さく */
  .price-tax {
    margin-left: 4px;
    font-size: 11px;
  }

  .price-faq__item summary {
    padding: 16px 42px 16px 18px;
    font-size: 14px;
  }

  .price-faq__item p {
    padding: 0 18px 18px;
  }

  .price-detail-card__top {
    padding-right: 0;
  }

  /* リボンと重なるのは1行目の見出しだけなので、h3のみ退避させて価格（税込表記つき）が改行しないようにする */
  .price-detail-card.is-featured .price-detail-card__top {
    padding-right: 0;
  }

  .price-detail-card.is-featured .price-detail-card__top h3,
  .price-detail-mini-card.is-featured h3 {
    padding-right: 84px;
  }

  .price-detail-mini-card.is-featured h3 {
    margin-top: 32px;
    padding-right: 0;
  }

  

  .price-detail-ribbon {
    border-radius: 0 16px 0 16px;
    min-width: 74px;
    padding-inline: 12px;
  }

  .price-detail-value {
    font-size: 28px;
  }

  .price-option-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .price-option-list strong {
    text-align: left;
    white-space: normal;
  }

  .price-detail-cta {
    padding: 72px 22px 88px;
  }

  .price-detail-cta .price-detail-inner {
    border-radius: 16px;
  }

  .price-detail-cta__actions .contact-button {
    width: 100%;
    min-width: 0;
  }

  .price-flow-detail .flow-step {
    text-align: center;
  }

  .price-flow-detail .flow-step-no {
    margin-inline: auto;
  }

  .price-flow-detail .price-flow-list {
    justify-items: start;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
  }

  .price-flow-detail .price-flow-list li {
    padding-left: 22px;
    text-align: left;
  }

  .price-flow-detail .price-flow-list li::before {
    position: absolute;
    display: block;
    margin: 0;
    transform: translateY(-50%);
    vertical-align: baseline;
  }

  .price-flow-detail .price-flow-note {
    text-align: center;
  }
}

/* Works detail page */
.works-page {
  padding-top: 0;
  background: var(--section-bg-a);
}

.works-page .price-detail-hero__image {
  background:
    linear-gradient(0deg, rgba(58, 50, 44, .16), rgba(58, 50, 44, .05)),
    linear-gradient(180deg, rgba(251,250,247,.02), rgba(251,250,247,.24)),
    url("images/works-hero-photo.webp") center / cover no-repeat;
  filter: saturate(.92) brightness(1.04);
}

.works-page .price-detail-hero__body::before {
  content: "WORKS";
}

.works-detail-section {
  position: relative;
  overflow: hidden;
}

.works-detail-list {
  display: grid;
  gap: clamp(66px, 8vw, 104px);
}

.works-detail-category {
  display: grid;
  gap: clamp(24px, 3vw, 34px);
  padding-top: clamp(42px, 5vw, 62px);
  border-top: 1px solid rgba(217, 115, 90, .16);
}

.works-detail-category:first-child {
  padding-top: 0;
  border-top: 0;
}

.works-detail-heading {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.works-detail-no {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--accent-dark);
  font-family: var(--en), var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
}

.works-detail-no::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.works-detail-heading h2 {
  margin: 0;
  color: var(--heading);
  font-family: var(--heading-ja);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .005em;
}

.works-detail-grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
  align-items: stretch;
}

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


.works-detail-grid--instagram-feed-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.works-detail-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(217, 115, 90, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 16px 44px rgba(217, 115, 90, .06);
  color: inherit;
  text-decoration: none;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.works-detail-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 115, 90, .34);
  box-shadow: 0 22px 54px rgba(217, 115, 90, .10);
}

.works-detail-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid rgba(217, 115, 90, .10);
  background:
    radial-gradient(circle at 82% 18%, rgba(217, 115, 90, .18), transparent 28%),
    linear-gradient(135deg, #FFFFFF 0%, #f7eee9 100%);
}

.works-detail-thumb img {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works-detail-thumb--filled {
  background: #fff;
}

.works-detail-thumb--filled::before,
.works-detail-thumb--filled::after {
  display: none;
}

.works-detail-thumb::before,
.works-detail-thumb::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.works-detail-thumb::before {
  inset: 15%;
  border: 1px solid rgba(217, 115, 90, .18);
  border-radius: 12px;
  background:
    linear-gradient(#332921, #332921) 12% 18% / 38% 8px no-repeat,
    linear-gradient(rgba(193, 154, 138, .62), rgba(193, 154, 138, .62)) 12% 36% / 58% 6px no-repeat,
    linear-gradient(rgba(193, 154, 138, .38), rgba(193, 154, 138, .38)) 12% 47% / 45% 6px no-repeat,
    rgba(255, 255, 255, .72);
}

.works-detail-thumb::after {
  right: 17%;
  bottom: 17%;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(217, 115, 90, .22);
}

.works-detail-thumb--instagram {
  aspect-ratio: 16 / 10;
}

.works-detail-thumb--instagram::before {
  inset: 12%;
  border-radius: 10px;
  background:
    linear-gradient(rgba(217, 115, 90, .18), rgba(217, 115, 90, .18)) center 22% / 48% 12% no-repeat,
    linear-gradient(#332921, #332921) center 58% / 52% 6px no-repeat,
    linear-gradient(rgba(193, 154, 138, .56), rgba(193, 154, 138, .56)) center 72% / 42% 5px no-repeat,
    rgba(255, 255, 255, .74);
}


.works-detail-thumb--youtube {
  aspect-ratio: 16 / 10;
}

.works-detail-thumb--youtube::before {
  inset: 14% 12%;
  border-radius: 10px;
  background:
    linear-gradient(#332921, #332921) 12% 22% / 48% 9px no-repeat,
    linear-gradient(rgba(217, 115, 90, .26), rgba(217, 115, 90, .26)) 12% 47% / 66% 8px no-repeat,
    linear-gradient(rgba(193, 154, 138, .54), rgba(193, 154, 138, .54)) 12% 64% / 38% 7px no-repeat,
    rgba(255, 255, 255, .72);
}

.works-detail-thumb--banner {
  aspect-ratio: 16 / 10;
}

.works-detail-thumb--square {
  aspect-ratio: 16 / 10;
}

.works-detail-thumb--banner::before {
  inset: 18% 10%;
  border-radius: 10px;
  background:
    linear-gradient(#332921, #332921) 12% 31% / 32% 7px no-repeat,
    linear-gradient(rgba(217, 115, 90, .24), rgba(217, 115, 90, .24)) 12% 54% / 48% 7px no-repeat,
    linear-gradient(rgba(193, 154, 138, .50), rgba(193, 154, 138, .50)) 12% 72% / 24% 6px no-repeat,
    rgba(255, 255, 255, .70);
}


.works-detail-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.works-detail-card h3 {
  margin: 0;
  color: var(--heading);
  font-family: var(--heading-ja);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: .005em;
  /* h4→h3変更に伴い、h3系グローバル指定のpaltを打ち消して従来の字送りを維持 */
  font-feature-settings: normal;
}

.works-detail-body h3 {
  min-height: 0;
}

.works-detail-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.works-detail-card .works-detail-site {
  color: var(--accent-dark);
  font-family: var(--heading-ja);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: .03em;
}

.works-detail-card--compact h4 {
  padding: 14px 14px 6px;
  font-size: 13px;
  text-align: center;
}

.works-detail-card--compact .works-detail-site {
  margin: 0;
  padding: 0 14px 16px;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

.works-detail-card--instagram-feed {
  grid-column: span 2;
}

.works-detail-grid--instagram-feed-list .works-detail-card--instagram-feed {
  grid-column: auto;
}

.works-detail-card--instagram-feed .works-detail-thumb {
  aspect-ratio: 4 / 5;
  background: #fff;
}

.works-detail-card--instagram-feed .works-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.works-detail-card--instagram-feed-body {
  padding: 18px;
}

.works-detail-card--instagram-feed-body .meta {
  min-height: 0;
  margin-bottom: 14px;
}

.works-detail-card--instagram-feed-body .tag {
  letter-spacing: .06em;
}

.works-detail-card--instagram-feed h4 {
  padding: 0;
  font-size: 15px;
  text-align: left;
}

.works-detail-card--instagram-feed .works-detail-site {
  padding: 0;
  font-size: 12px;
  line-height: 1.75;
  text-align: left;
}

.works-detail-thumb--youtube.works-detail-thumb--filled {
  padding: clamp(8px, 1vw, 12px);
  background: #fff;
}

.works-detail-thumb--youtube.works-detail-thumb--filled img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.works-detail-card--youtube-thumbnail-body {
  padding: 18px;
}

.works-detail-card--youtube-thumbnail-body .meta {
  min-height: 0;
  margin-bottom: 14px;
}

.works-detail-card--youtube-thumbnail-body .tag {
  letter-spacing: .06em;
}

.works-detail-card--youtube-thumbnail h4 {
  padding: 0;
  font-size: 15px;
  text-align: left;
}

.works-detail-card--youtube-thumbnail .works-detail-description {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.works-detail-thumb--banner.works-detail-thumb--filled {
  padding: clamp(8px, 1vw, 12px);
  background: #fff;
}

.works-detail-thumb--banner.works-detail-thumb--filled img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.works-detail-card--banner-design-body {
  padding: 18px;
}

.works-detail-card--banner-design-body .meta {
  min-height: 0;
  margin-bottom: 14px;
}

.works-detail-card--banner-design-body .tag {
  letter-spacing: .06em;
}

.works-detail-card--banner-design h4 {
  padding: 0;
  font-size: 15px;
  text-align: left;
}

.works-detail-card--banner-design .works-detail-description {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.works-detail-cta .price-detail-inner {
  background:
    linear-gradient(90deg, rgba(58, 50, 44, .94), rgba(58, 50, 44, .82)),
    url("images/works-hero-photo.webp") right center / cover no-repeat;
}


@media (max-width: 960px) {
  .works-detail-grid--instagram-feed-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .works-detail-grid--three,
  .works-detail-grid--banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  

  .works-detail-grid--instagram-feed-list {
    grid-template-columns: 1fr;
  }

  .works-detail-card--instagram-feed {
    grid-column: 1 / -1;
  }

  .works-detail-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .works-detail-list {
    gap: 64px;
  }

  .works-detail-category {
    padding-top: 44px;
  }

  .works-detail-card {
    border-radius: 16px;
  }
}

/* Individual work detail page */
.work-item-page {
  padding-top: 0;
  background: var(--section-bg-a);
}

.work-item-inner {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.work-item-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(180px, 17vw, 250px) clamp(24px, 5vw, 72px) clamp(82px, 9vw, 124px);
  background:
    radial-gradient(circle at 88% 12%, rgba(217, 115, 90, .12), transparent 28%),
    var(--section-bg-a);
}

.work-item-hero::before {
  content: "WORK DETAIL";
  position: absolute;
  left: var(--bg-word-left);
  top: clamp(92px, 9vw, 132px);
  color: rgba(193, 154, 138, .16);
  font-family: var(--en), var(--sans);
  font-size: clamp(48px, 9vw, 118px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .04em;
  white-space: nowrap;
  pointer-events: none;
}

.work-item-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
  container-type: inline-size;
}

.work-item-hero__copy {
  min-width: 0;
}

.work-item-hero h1 {
  margin: 0;
  color: var(--heading);
  font-family: var(--heading-ja);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: .005em;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: keep-all;
}

.work-item-hero__copy > p:not(.price-detail-kicker, .work-site-name) {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 2.05;
  line-break: auto;
  text-wrap: wrap;
}

.work-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}

.work-item-tags span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(217, 115, 90, .42);
  border-radius: 999px;
  background: rgba(255, 255, 255, .48);
  color: var(--accent-dark);
  font-family: var(--heading-ja);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}

.work-item-image-slot {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(217, 115, 90, .18);
  background:
    radial-gradient(circle at 82% 18%, rgba(217, 115, 90, .18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(248, 238, 232, .92));
}

.work-item-image-slot::before,
.work-item-image-slot::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.work-item-image-slot::before {
  inset: 12%;
  border: 1px solid rgba(217, 115, 90, .15);
  border-radius: 14px;
  background:
    linear-gradient(#332921, #332921) 12% 18% / 34% 8px no-repeat,
    linear-gradient(rgba(193, 154, 138, .55), rgba(193, 154, 138, .55)) 12% 37% / 58% 6px no-repeat,
    linear-gradient(rgba(193, 154, 138, .34), rgba(193, 154, 138, .34)) 12% 49% / 44% 6px no-repeat,
    rgba(255, 255, 255, .68);
}

.work-item-image-slot::after {
  right: 14%;
  bottom: 14%;
  width: 20%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(217, 115, 90, .18);
}

.work-item-image-slot--filled {
  overflow: visible;
  border: 0;
  background: transparent;
}

.work-item-image-slot--filled::before,
.work-item-image-slot--filled::after {
  display: none;
}

.work-item-image-slot--filled img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.work-item-main-visual {
  min-height: clamp(300px, 31vw, 470px);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(217, 115, 90, .12);
}

.work-item-main-visual.work-item-image-slot--filled {
  min-height: auto;
  margin-top: clamp(18px, 2.8vw, 42px);
  border-radius: 0;
  box-shadow: none;
}

.work-item-section {
  padding: clamp(78px, 8vw, 116px) clamp(24px, 5vw, 72px);
  background: var(--section-bg-b);
  border-top: 1px solid rgba(17, 17, 17, .05);
}

.work-item-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(217, 115, 90, .18);
  border-radius: 22px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 52px rgba(217, 115, 90, .06);
}

.work-item-overview article {
  min-width: 0;
  padding: clamp(28px, 4vw, 42px) clamp(18px, 2.8vw, 34px);
  border-right: 1px solid rgba(217, 115, 90, .14);
  text-align: center;
}

.work-item-overview article:last-child {
  border-right: 0;
}


.work-item-overview h2 {
  margin: 0;
  color: var(--heading);
  font-family: var(--heading-ja);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.work-item-overview p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.work-item-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 30px);
  margin-top: clamp(58px, 7vw, 92px);
}

.work-item-points article {
  padding: clamp(28px, 3.4vw, 40px);
  border: 1px solid rgba(217, 115, 90, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 16px 44px rgba(217, 115, 90, .06);
}


.work-item-points h2 {
  margin: 0;
  color: var(--accent-dark);
  font-family: var(--heading-ja);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}

.work-item-points p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}


@media (max-width: 960px) {
  .work-item-hero__grid,
.work-item-overview,
.work-item-points{
    grid-template-columns: 1fr;
  }

  .work-item-hero__grid {
    gap: 38px;
  }

  .work-item-overview article {
    border-right: 0;
    border-bottom: 1px solid rgba(217, 115, 90, .14);
  }

  .work-item-overview article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .work-item-hero {
    padding: 146px 22px 74px;
  }

  .work-item-hero::before {
    top: 84px;
    font-size: clamp(42px, 14vw, 72px);
  }

  .work-item-main-visual {
    min-height: 250px;
    border-radius: 18px;
  }

  .work-item-section {
    padding: 72px 22px;
  }

  .work-item-tags span {
    min-height: 38px;
    padding-inline: 14px;
  }
}

/* Contact form pages */
.contact-form-page {
  padding-top: 0;
  background: var(--section-bg-a);
}

.contact-form-inner {
  width: min(960px, 100%);
  margin-inline: auto;
}

.contact-form-hero {
  position: relative;
  min-height: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  background: var(--section-bg-a);
}

.contact-form-hero__image {
  position: relative;
  height: clamp(250px, 31vw, 420px);
  background:
    linear-gradient(0deg, rgba(58, 50, 44, .14), rgba(58, 50, 44, .04)),
    linear-gradient(180deg, rgba(251,250,247,.02), rgba(251,250,247,.22)),
    url("images/contact-hero-photo.webp") center / cover no-repeat;
  filter: saturate(.9) brightness(1.04);
}

.contact-form-hero__body {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: clamp(300px, 25vw, 400px);
  padding: clamp(136px, 12vw, 190px) clamp(24px, 5vw, 72px) clamp(58px, 6vw, 88px);
  box-sizing: border-box;
  --detail-title-offset: max(0px, calc((100vw - 1080px) / 2 - clamp(24px, 5vw, 72px)));
}

.contact-form-hero__body::before {
  content: "CONTACT";
  position: absolute;
  left: var(--bg-word-left);
  top: 28px;
  z-index: -1;
  color: rgba(193, 154, 138, .16);
  font-family: var(--en), var(--sans);
  font-size: clamp(58px, 10vw, 132px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .035em;
  white-space: nowrap;
  pointer-events: none;
}

.contact-form-hero .contact-form-inner {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - var(--detail-title-offset)));
  margin-left: var(--detail-title-offset);
  margin-right: 0;
}

.contact-form-hero h1 {
  margin: 0;
  color: var(--heading);
  font-family: var(--heading-ja);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .005em;
}

.contact-form-hero p:not(.price-detail-kicker) {
  width: min(680px, 100%);
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.contact-form-section {
  padding: 0 clamp(24px, 5vw, 72px) clamp(86px, 9vw, 124px);
  background: var(--section-bg-a);
}

.contact-form-card,
.contact-confirm-card,
.contact-complete-card {
  border: 1px solid rgba(217, 115, 90, .16);
  border-radius: 22px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 18px 52px rgba(217, 115, 90, .07);
}

.contact-form-card {
  padding: clamp(28px, 4vw, 48px);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.contact-field {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--text);
  font-family: var(--heading-ja);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

fieldset.contact-field {
  min-inline-size: 0;
  padding: 0;
  border: 0;
}

.contact-field legend {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 0;
}

.contact-field--full,
.contact-form-alert,
.contact-form-grid > .form-error {
  grid-column: 1 / -1;
}

.contact-field span,
.contact-field small {
  display: inline-flex;
  width: fit-content;
  margin-left: 0;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
}

.contact-field span {
  background: rgba(217, 115, 90, .12);
  color: var(--accent-dark);
}

.contact-field small {
  background: rgba(193, 154, 138, .18);
  color: var(--muted);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid rgba(217, 115, 90, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .82);
  color: var(--text);
  font: inherit;
  font-weight: 500;
  line-height: 1.7;
  outline: none;
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.contact-field input,
.contact-field select {
  min-height: 54px;
  padding: 0 16px;
}

.contact-field textarea {
  resize: vertical;
  padding: 15px 16px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: rgba(217, 115, 90, .52);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(217, 115, 90, .08);
}

.contact-field em {
  flex: 0 0 100%;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.7;
}

.contact-checks {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  padding: 18px;
  border: 1px solid rgba(217, 115, 90, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .68);
}

.contact-checks label,
.contact-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.contact-checks input,
.contact-privacy input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  margin-top: .25em;
  padding: 0;
  border-radius: 4px;
  accent-color: var(--accent-dark);
}

.contact-privacy {
  padding: 18px;
  border: 1px solid rgba(217, 115, 90, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .68);
}

.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error,
.contact-form-alert {
  flex: 0 0 100%;
  margin: 0;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.contact-form-alert {
  padding: 14px 16px;
  border: 1px solid rgba(217, 115, 90, .24);
  border-radius: 12px;
  background: rgba(255, 241, 238, .84);
}

.contact-form-actions {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.contact-submit {
  min-width: 240px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 30px;
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff;
  font-family: var(--heading-ja);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .05em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(217, 115, 90, .16);
  transition: background .25s ease, color .25s ease, transform .18s ease, box-shadow .18s ease;
}

.contact-submit:hover {
  transform: translateY(2px);
  background: #fff;
  color: var(--accent-dark);
  box-shadow: inset 0 2px 8px rgba(217, 115, 90, .14), 0 3px 10px rgba(217, 115, 90, .10);
}

.contact-submit--secondary {
  background: transparent;
  color: var(--accent-dark);
  box-shadow: none;
}

.contact-confirm-card,
.contact-complete-card {
  padding: clamp(28px, 4vw, 48px);
}

.contact-confirm-list {
  display: grid;
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(217, 115, 90, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .66);
}

.contact-confirm-list div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  border-bottom: 1px solid rgba(217, 115, 90, .10);
}

.contact-confirm-list div:last-child {
  border-bottom: 0;
}

.contact-confirm-list dt,
.contact-confirm-list dd {
  margin: 0;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.9;
}

.contact-confirm-list dt {
  color: var(--text);
  font-family: var(--heading-ja);
  font-weight: 800;
  background: rgba(255, 241, 238, .55);
}

.contact-confirm-list dd {
  min-width: 0;
  color: var(--muted);
}

.contact-confirm-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.contact-complete-card {
  text-align: center;
}

.contact-complete-card p {
  width: min(640px, 100%);
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

@media (max-width: 760px) {
  .contact-form-hero__image {
    height: 250px;
  }

  .contact-form-hero__body {
    min-height: 300px;
    padding: 132px 22px 62px;
    --detail-title-offset: 0px;
  }

  .contact-form-hero .contact-form-inner {
    width: 100%;
    margin-left: 0;
  }

  .contact-form-hero__body::before {
    top: 82px;
    font-size: clamp(64px, 19vw, 112px);
  }

  .contact-form-section {
    padding: 0 22px 78px;
  }

  .contact-form-grid,
  .contact-checks,
  .contact-confirm-list div {
    grid-template-columns: 1fr;
  }

  .contact-confirm-list dt {
    padding-bottom: 4px;
  }

  .contact-confirm-list dd {
    padding-top: 4px;
  }

  .contact-submit,
  .contact-confirm-actions form {
    width: 100%;
  }
}


/* Footer */
.site-footer {
  background: #3A322C;
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding: 34px clamp(24px, 5vw, 72px);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.footer-brand {
  margin: 0;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  line-height: 0;
}

.footer-brand img {
  display: block;
  width: clamp(136px, 14vw, 168px);
  max-width: 100%;
  height: auto;
  max-height: 28px;
  object-fit: contain;
}

.footer-text {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.9;
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 26px);
  flex-wrap: wrap;
  font-family: var(--en), var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.footer-nav a {
  color: rgba(255, 255, 255, .82);
  transition: color .25s ease;
}

.footer-nav a:hover {
  color: #FFFFFF;
}

.footer-legal {
  grid-column: 1 / -1;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-policy {
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.8;
}

.footer-policy a {
  color: rgba(255, 255, 255, .62);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .24);
  text-underline-offset: 4px;
  transition: color .25s ease, text-decoration-color .25s ease;
}

.footer-policy a:hover {
  color: #FFFFFF;
  text-decoration-color: rgba(255, 255, 255, .68);
}

.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, .56);
  font-family: var(--en), var(--sans);
  font-size: 11px;
  letter-spacing: .08em;
}

.footer-invoice {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .56);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .04em;
}

@media (max-width: 760px) {
  .site-footer {
    padding: 32px 22px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-legal {
    margin-top: 8px;
  }
}

/* Final color-only harmonization */
.work-card,
.service-item,
.price-card,
.flow-step,
.price-detail-card,
.price-detail-mini-card,
.price-option-list,
.price-confirm-list article,
.works-detail-card,
.work-item-overview,
.work-item-points article,
.contact-form-card,
.contact-confirm-card,
.contact-complete-card{
  background: rgba(245, 232, 225, .86);
}

/* First-view final balance */
.hero-section {
  padding-top: clamp(18px, 2.8vw, 40px);
}

.hero-section::before {
  top: clamp(54px, 7.5vw, 100px);
}

.hero-section .tagline {
  font-family: var(--heading-ja) !important;
  font-weight: 800 !important;
  letter-spacing: .005em;
}

.hero-section .hero-visual {
  transform: translateX(clamp(18px, 2.2vw, 34px));
}

@media (max-width: 900px) {
  .hero-section .hero-visual {
    transform: none;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding-top: 28px;
  }

  .hero-section::before {
    top: 70px;
  }
}

/* Home first-view header and responsive balance */
@media (min-width: 1100px) {
  .home-shell {
    --header-height: 82px;
  }

  .home-shell .site-header {
    height: var(--header-height);
    padding: 0;
    border-bottom: 1px solid rgba(193, 154, 138, .18);
    background: linear-gradient(180deg, rgba(250, 244, 238, .96), rgba(250, 244, 238, .9));
    box-shadow: 0 10px 30px rgba(89, 70, 57, .045);
    backdrop-filter: blur(16px);
    pointer-events: auto;
  }

  .home-shell .header-pill {
    width: min(1360px, calc(100% - clamp(64px, 10vw, 144px)));
    height: var(--header-height);
    margin: 0 auto;
    border-radius: 0;
    background: transparent;
    color: var(--heading);
    box-shadow: none;
    backdrop-filter: none;
  }

  .home-shell .left-topbar {
    gap: clamp(32px, 4vw, 64px);
    padding: 0;
  }

  .home-shell .brand {
    width: clamp(160px, 14vw, 198px);
    height: 42px;
  }

  .home-shell .brand {
    color: var(--heading);
  }

  .home-shell .hamburger {
    display: none;
  }

  .home-shell .left-nav {
    position: static;
    width: auto;
    max-height: none;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(22px, 2.4vw, 38px);
    flex-wrap: nowrap;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .home-shell .left-nav a {
    color: var(--heading);
    text-align: center;
    opacity: 1;
  }

  .home-shell .left-nav a:hover {
    color: var(--accent-dark);
    opacity: 1;
  }

  .home-shell .left-nav small {
    display: block;
    color: rgba(89, 70, 57, .56);
    font-size: 9px;
    letter-spacing: .08em;
  }

  .home-shell .left-nav span {
    color: var(--heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
  }

  .home-shell .left-nav a:last-child {
    min-height: 38px;
    padding: 0 18px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid var(--accent-dark);
    border-radius: 999px;
    background: var(--accent-dark);
    color: #fff;
    box-shadow: 0 10px 24px rgba(217, 115, 90, .12);
    transition: color .3s ease, background .3s ease, border-color .3s ease, transform .18s ease, box-shadow .18s ease;
  }

  .home-shell .left-nav a:last-child small {
    color: rgba(255, 255, 255, .72);
  }

  .home-shell .left-nav a:last-child span {
    color: #fff;
    font-size: 12px;
  }

  .home-shell .left-nav a:last-child:hover {
    color: var(--accent-dark);
    background: #FAF4EE;
    border-color: var(--accent-dark);
    transform: translateY(2px);
    box-shadow: inset 0 2px 8px rgba(217, 115, 90, .14), 0 3px 10px rgba(217, 115, 90, .08);
  }

  .home-shell .left-nav a:last-child:hover small,
  .home-shell .left-nav a:last-child:hover span {
    color: var(--accent-dark);
  }

  .home-shell .hero-section {
    padding-top: clamp(16px, 2.6vw, 36px);
    min-height: calc(100svh - var(--header-height));
  }

  .home-shell .hero-section::before {
    top: clamp(50px, 7vw, 92px);
    color: rgba(193, 154, 138, .095);
  }

  .home-shell .hero-layout {
    transform: translateY(clamp(-46px, -3vw, -34px));
  }

  .home-shell .hero-copy {
    display: block;
  }

  .home-shell .hero-slider-frame .hero-slide {
    filter: contrast(1.04) brightness(1.015) saturate(1.03);
  }

  .home-shell .mockup-controls {
    gap: 8px;
    margin-top: clamp(-36px, -2.5vw, -20px);
    opacity: .66;
  }

  .home-shell .mockup-dot {
    width: 7px;
    height: 7px;
    border-color: rgba(217, 115, 90, .32);
  }

  .home-shell .mockup-dot.is-active {
    width: 22px;
    background: rgba(217, 115, 90, .78);
    border-color: rgba(217, 115, 90, .78);
  }

  .home-shell .scroll-cue {
    right: clamp(24px, 3vw, 38px) !important;
    bottom: clamp(22px, 3vw, 32px) !important;
    gap: 6px !important;
    color: rgba(217, 115, 90, .72) !important;
    opacity: .46 !important;
  }

  .home-shell .scroll-cue::before {
    height: 18px;
    opacity: .32;
  }

  .home-shell .scroll-cue .scroll-text {
    font-size: 9px !important;
    letter-spacing: .2em !important;
  }

  .home-shell .scroll-cue .scroll-arrow {
    width: 11px !important;
    height: 8px !important;
    opacity: .68 !important;
    animation-duration: 2.3s;
  }
}

@media (max-width: 1099px) {
  .home-shell {
    --header-height: 72px;
  }

  .home-shell .site-header {
    height: var(--header-height);
    padding: 0 clamp(18px, 4vw, 34px);
    border-bottom: 1px solid rgba(193, 154, 138, .16);
    background: linear-gradient(180deg, rgba(250, 244, 238, .98), rgba(250, 244, 238, .92));
    box-shadow: 0 8px 22px rgba(89, 70, 57, .035);
    backdrop-filter: blur(14px);
    pointer-events: auto;
  }

  .home-shell .header-pill {
    width: min(960px, 100%);
    height: var(--header-height);
    margin: 0 auto;
    border-radius: 0;
    background: transparent;
    color: var(--heading);
    box-shadow: none;
    backdrop-filter: none;
  }

  .home-shell .left-topbar {
    position: relative;
    gap: 18px;
    padding: 0;
  }

  .home-shell .brand {
    width: clamp(128px, 42vw, 164px);
    height: 42px;
  }

  .home-shell .brand {
    color: var(--heading);
  }

  .home-shell .hamburger {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-color: rgba(217, 115, 90, .38);
    background: rgba(255, 255, 255, .42);
    box-shadow: 0 8px 18px rgba(217, 115, 90, .08);
  }

  .home-shell .hamburger span {
    width: 17px;
    background: var(--accent-dark);
  }

  .home-shell .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .home-shell .nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .home-shell .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .home-shell .left-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: auto;
    right: 0;
    z-index: 35;
    width: min(320px, calc(100vw - 36px));
    max-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    padding: 0 18px;
    border: 1px solid rgba(217, 115, 90, .18);
    border-radius: 18px;
    background: rgba(250, 244, 238, .98);
    color: var(--text);
    box-shadow: 0 18px 40px rgba(89, 70, 57, .08);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .24s ease, visibility .24s ease, transform .24s ease, max-height .24s ease, padding .24s ease;
  }

  .home-shell .nav-toggle:checked ~ .left-nav {
    max-height: 360px;
    padding-top: 8px;
    padding-bottom: 8px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .home-shell .left-nav a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(217, 115, 90, .12);
    color: var(--heading);
    text-align: left;
  }

  .home-shell .left-nav a:last-child {
    min-height: auto;
    padding: 14px 0;
    border: 0;
    border-bottom: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--heading);
    transform: none;
  }

  .home-shell .left-nav small,
  .home-shell .left-nav a:last-child small {
    display: block;
    color: rgba(89, 70, 57, .58);
    font-size: 10px;
  }

  .home-shell .left-nav span,
  .home-shell .left-nav a:last-child span {
    color: var(--heading);
    font-size: 17px;
  }

  .home-shell .hero-section {
    min-height: auto;
    padding: 18px clamp(22px, 5vw, 54px) clamp(38px, 5vw, 58px);
  }

  .home-shell .hero-section::before {
    left: clamp(18px, 4vw, 42px);
    top: clamp(46px, 8vw, 74px);
    color: rgba(193, 154, 138, .07);
    font-size: clamp(72px, 15vw, 132px);
    line-height: .82;
  }

  .home-shell .hero-layout {
    width: min(920px, 100%);
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: none;
  }

  .home-shell .hero-copy {
    display: contents;
  }

  .home-shell .hero-section .tagline {
    order: 1;
    margin: 0;
    font-size: clamp(34px, 5.4vw, 44px);
    line-height: 1.38 !important;
  }

  .home-shell .hero-section .lead {
    order: 2;
    width: min(620px, 100%);
    max-width: 100%;
    margin-top: clamp(12px, 1.9vw, 18px);
    color: var(--body-text);
    font-size: clamp(13px, 1.7vw, 15px);
    line-height: 1.9;
  }

  .home-shell .hero-visual {
    order: 3;
    position: relative;
    z-index: 1;
    width: min(740px, 100%);
    max-width: none;
    margin: clamp(24px, 3.4vw, 36px) auto 0;
    transform: none;
  }

  .home-shell .hero-mockup-image {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .home-shell .hero-slider-frame {
    aspect-ratio: 972 / 627;
  }

  .home-shell .hero-slider-frame .hero-slide {
    filter: none;
  }

  .home-shell .hero-section .hero-actions {
    order: 4;
    width: 100%;
    margin-top: clamp(30px, 4vw, 42px);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
  }

  .home-shell .hero-section .button-outline,
  .home-shell .hero-section .text-link {
    width: 220px;
    min-width: 0;
    min-height: 52px;
    padding-inline: 30px;
    font-size: 13px;
  }

  .home-shell .mockup-controls {
    margin-top: clamp(-28px, -3vw, -14px);
    opacity: .6;
  }

  .home-shell .scroll-cue {
    display: flex !important;
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: max-content !important;
    margin: clamp(16px, 3vw, 24px) clamp(22px, 5vw, 54px) 0 auto !important;
    opacity: .42 !important;
    color: rgba(217, 115, 90, .68) !important;
  }
}

@media (max-width: 767px) {
  .home-shell .hero-section {
    padding: 18px 18px 42px;
  }

  .home-shell .hero-section::before {
    left: 16px;
    top: 48px;
    color: rgba(193, 154, 138, .055);
    font-size: clamp(58px, 19vw, 88px);
    line-height: .84;
  }

  .home-shell .hero-section .tagline {
    font-size: clamp(32px, 9.5vw, 40px);
    line-height: 1.38 !important;
  }

  .home-shell .hero-section .lead {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.95;
  }

  .home-shell .hero-visual {
    width: calc(100% + 36px);
    margin: 24px 0 0 -18px;
  }

  .home-shell .hero-section .hero-actions {
    margin-top: 30px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .home-shell .hero-section .button-outline,
  .home-shell .hero-section .text-link {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    font-size: 13px;
  }

  .home-shell .mockup-controls {
    margin-top: -10px;
    opacity: .58;
  }
}

/* Lower-page header aligned with the home first-view header */
@media (min-width: 1100px) {
  .site-shell:not(.home-shell) {
    --header-height: 82px;
  }

  .site-shell:not(.home-shell) .site-header {
    height: var(--header-height);
    padding: 0;
    border-bottom: 1px solid rgba(193, 154, 138, .18);
    background: linear-gradient(180deg, rgba(250, 244, 238, .96), rgba(250, 244, 238, .9));
    box-shadow: 0 10px 30px rgba(89, 70, 57, .045);
    backdrop-filter: blur(16px);
    pointer-events: auto;
  }

  .site-shell:not(.home-shell) .header-pill {
    width: min(1360px, calc(100% - clamp(64px, 10vw, 144px)));
    height: var(--header-height);
    margin: 0 auto;
    border-radius: 0;
    background: transparent;
    color: var(--heading);
    box-shadow: none;
    backdrop-filter: none;
  }

  .site-shell:not(.home-shell) .left-topbar {
    gap: clamp(32px, 4vw, 64px);
    padding: 0;
  }

  .site-shell:not(.home-shell) .brand {
    width: clamp(160px, 14vw, 198px);
    height: 42px;
  }

  .site-shell:not(.home-shell) .brand {
    color: var(--heading);
  }

  .site-shell:not(.home-shell) .hamburger {
    display: none;
  }

  .site-shell:not(.home-shell) .left-nav {
    position: static;
    width: auto;
    max-height: none;
    display: flex;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(22px, 2.4vw, 38px);
    flex-wrap: nowrap;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .site-shell:not(.home-shell) .left-nav a {
    color: var(--heading);
    text-align: center;
    opacity: 1;
  }

  .site-shell:not(.home-shell) .left-nav a:hover {
    color: var(--accent-dark);
    opacity: 1;
  }

  .site-shell:not(.home-shell) .left-nav small {
    display: block;
    color: rgba(89, 70, 57, .56);
    font-size: 9px;
    letter-spacing: .08em;
  }

  .site-shell:not(.home-shell) .left-nav span {
    color: var(--heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
  }

  .site-shell:not(.home-shell) .left-nav a:last-child {
    min-height: 38px;
    padding: 0 18px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid var(--accent-dark);
    border-radius: 999px;
    background: var(--accent-dark);
    color: #fff;
    box-shadow: 0 10px 24px rgba(217, 115, 90, .12);
    transition: color .3s ease, background .3s ease, border-color .3s ease, transform .18s ease, box-shadow .18s ease;
  }

  .site-shell:not(.home-shell) .left-nav a:last-child small {
    color: rgba(255, 255, 255, .72);
  }

  .site-shell:not(.home-shell) .left-nav a:last-child span {
    color: #fff;
    font-size: 12px;
  }

  .site-shell:not(.home-shell) .left-nav a:last-child:hover {
    color: var(--accent-dark);
    background: #FAF4EE;
    border-color: var(--accent-dark);
    transform: translateY(2px);
    box-shadow: inset 0 2px 8px rgba(217, 115, 90, .14), 0 3px 10px rgba(217, 115, 90, .08);
  }

  .site-shell:not(.home-shell) .left-nav a:last-child:hover small,
  .site-shell:not(.home-shell) .left-nav a:last-child:hover span {
    color: var(--accent-dark);
  }
}

@media (max-width: 1099px) {
  .site-shell:not(.home-shell) {
    --header-height: 72px;
  }

  .site-shell:not(.home-shell) .site-header {
    height: var(--header-height);
    padding: 0 clamp(18px, 4vw, 34px);
    border-bottom: 1px solid rgba(193, 154, 138, .16);
    background: linear-gradient(180deg, rgba(250, 244, 238, .98), rgba(250, 244, 238, .92));
    box-shadow: 0 8px 22px rgba(89, 70, 57, .035);
    backdrop-filter: blur(14px);
    pointer-events: auto;
  }

  .site-shell:not(.home-shell) .header-pill {
    width: min(960px, 100%);
    height: var(--header-height);
    margin: 0 auto;
    border-radius: 0;
    background: transparent;
    color: var(--heading);
    box-shadow: none;
    backdrop-filter: none;
  }

  .site-shell:not(.home-shell) .left-topbar {
    position: relative;
    gap: 18px;
    padding: 0;
  }

  .site-shell:not(.home-shell) .brand {
    width: clamp(128px, 42vw, 164px);
    height: 42px;
  }

  .site-shell:not(.home-shell) .brand {
    color: var(--heading);
  }

  .site-shell:not(.home-shell) .hamburger {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-color: rgba(217, 115, 90, .38);
    background: rgba(255, 255, 255, .42);
    box-shadow: 0 8px 18px rgba(217, 115, 90, .08);
  }

  .site-shell:not(.home-shell) .hamburger span {
    width: 17px;
    background: var(--accent-dark);
  }

  .site-shell:not(.home-shell) .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-shell:not(.home-shell) .nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .site-shell:not(.home-shell) .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-shell:not(.home-shell) .left-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: auto;
    right: 0;
    z-index: 35;
    width: min(320px, calc(100vw - 36px));
    max-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    padding: 0 18px;
    border: 1px solid rgba(217, 115, 90, .18);
    border-radius: 18px;
    background: rgba(250, 244, 238, .98);
    color: var(--text);
    box-shadow: 0 18px 40px rgba(89, 70, 57, .08);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .24s ease, visibility .24s ease, transform .24s ease, max-height .24s ease, padding .24s ease;
  }

  .site-shell:not(.home-shell) .nav-toggle:checked ~ .left-nav {
    max-height: 360px;
    padding-top: 8px;
    padding-bottom: 8px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-shell:not(.home-shell) .left-nav a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(217, 115, 90, .12);
    color: var(--heading);
    text-align: left;
  }

  .site-shell:not(.home-shell) .left-nav a:last-child {
    min-height: auto;
    padding: 14px 0;
    border: 0;
    border-bottom: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--heading);
    transform: none;
  }

  .site-shell:not(.home-shell) .left-nav small,
  .site-shell:not(.home-shell) .left-nav a:last-child small {
    display: block;
    color: rgba(89, 70, 57, .58);
    font-size: 10px;
  }

  .site-shell:not(.home-shell) .left-nav span,
  .site-shell:not(.home-shell) .left-nav a:last-child span {
    color: var(--heading);
    font-size: 17px;
  }
}

/* Lower-page heading rhythm aligned with the TOP section headings */
@media (max-width: 860px) {
  .about-detail-hero__body::before,
  .price-detail-hero__body::before,
  .contact-form-hero__body::before,
  .price-flow-detail::before {
    top: 28px;
    left: 20px;
    font-size: clamp(52px, 16vw, 108px);
  }

  .about-detail-hero__label,
  .price-detail-hero .price-detail-kicker,
  .contact-form-hero .price-detail-kicker,
  .work-item-hero .price-detail-kicker,
  .price-flow-detail .price-detail-head > .price-detail-kicker {
    margin-bottom: 18px;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: .16em;
  }

  .about-detail-hero h1,
  .price-detail-hero h1,
  .contact-form-hero h1,
  .work-item-hero h1,
  .price-flow-detail .price-detail-head h2 {
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.36;
  }
}

@media (max-width: 640px) {
  .about-detail-hero__body,
  .price-detail-hero__body,
  .contact-form-hero__body {
    min-height: 0;
    padding-top: 138px;
  }

  .price-flow-detail {
    padding-top: 138px;
  }

  .work-item-hero {
    padding-top: 198px;
  }

  .work-item-hero::before {
    top: 92px;
    font-size: clamp(42px, 13.5vw, 72px);
  }
}

/* First-view breakpoint cleanup */
@media (min-width: 1100px) and (max-width: 1320px) {
  .home-shell .hero-section {
    min-height: auto;
    padding-top: clamp(14px, 2vw, 28px);
    padding-bottom: clamp(46px, 5vw, 70px);
  }

  .home-shell .hero-layout {
    grid-template-columns: minmax(470px, .78fr) minmax(0, 1.22fr);
    gap: 0;
  }

  .home-shell .hero-section .hero-copy {
    max-width: 520px;
  }

  .home-shell .hero-section .hero-actions {
    gap: 14px;
    flex-wrap: nowrap;
  }

  .home-shell .hero-section .button-outline,
  .home-shell .hero-section .text-link {
    width: 220px;
    min-width: 0;
    padding-inline: 42px;
  }

  .home-shell .mockup-controls {
    margin-top: clamp(-26px, -2vw, -16px);
  }

  .home-shell .scroll-cue {
    bottom: 18px !important;
  }
}

@media (max-width: 1099px) {
  .home-shell .hero-section .hero-actions {
    flex-wrap: nowrap;
  }

  .home-shell .left-nav,
  .site-shell:not(.home-shell) .left-nav {
    left: 50%;
    right: auto;
    width: 100vw;
    padding-inline: clamp(24px, 6vw, 48px);
    border-left: 0;
    border-right: 0;
    border-radius: 0 0 22px 22px;
    background: #FAF4EE;
    transform: translate(-50%, -8px);
  }

  .home-shell .nav-toggle:checked ~ .left-nav,
  .site-shell:not(.home-shell) .nav-toggle:checked ~ .left-nav {
    max-height: 520px;
    padding-top: 12px;
    padding-bottom: 12px;
    transform: translate(-50%, 0);
  }

  .home-shell .left-nav a,
  .site-shell:not(.home-shell) .left-nav a {
    padding: 18px 0;
    gap: 20px;
  }

  .home-shell .left-nav small,
  .home-shell .left-nav a:last-child small,
  .site-shell:not(.home-shell) .left-nav small,
  .site-shell:not(.home-shell) .left-nav a:last-child small {
    font-size: 12px;
    line-height: 1.4;
  }

  .home-shell .left-nav span,
  .home-shell .left-nav a:last-child span,
  .site-shell:not(.home-shell) .left-nav span,
  .site-shell:not(.home-shell) .left-nav a:last-child span {
    font-size: 21px;
    line-height: 1.25;
  }
}

@media (max-width: 767px) {
  .home-shell .hero-section .hero-actions {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 10px;
  }

  .home-shell .hero-section .button-outline,
  .home-shell .hero-section .text-link {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0 28px 0 18px;
    font-size: 12px;
    white-space: nowrap;
  }

  .home-shell .hero-section .button-outline span,
  .home-shell .hero-section .text-link span {
    right: 14px;
  }
}

/* Header / footer menu hover polish */
.left-nav a,
.footer-nav a {
  position: relative;
  text-decoration: none;
}

.left-nav a::after,
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: translateX(-50%) scaleX(.35);
  transform-origin: center;
  transition: opacity .25s ease, transform .25s ease;
}

.left-nav a:not(:last-child) {
  transition: color .25s ease, opacity .25s ease;
}

.left-nav a:not(:last-child):hover {
  color: var(--accent-dark);
  opacity: 1;
}

.left-nav a:not(:last-child):hover small,
.left-nav a:not(:last-child):hover span {
  color: var(--accent-dark);
}

.left-nav a:not(:last-child):hover::after,
.footer-nav a:hover::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.footer-nav a:hover {
  color: #FFD2C3;
}

@media (max-width: 1099px) {
  .left-nav a::after {
    bottom: 0;
    left: 0;
    width: 100%;
    transform: scaleX(.35);
    transform-origin: left;
  }

  .left-nav a:hover::after {
    transform: scaleX(1);
  }
}

/* Dental clinic work detail */
.work-dental-hero {
  padding-bottom: clamp(68px, 7vw, 104px);
  background:
    radial-gradient(circle at 82% 16%, rgba(217, 115, 90, .11), transparent 32%),
    radial-gradient(circle at 12% 88%, rgba(255, 210, 195, .22), transparent 30%),
    var(--section-bg-a);
}

.work-dental-hero .work-item-hero__grid {
  grid-template-columns: minmax(420px, .9fr) minmax(520px, 1.1fr);
  gap: clamp(32px, 4.5vw, 68px);
}

.work-dental-hero .work-item-hero__copy > p:not(.price-detail-kicker, .work-site-name) {
  max-width: 570px;
}

.work-dental-hero h1 {
  font-size: clamp(34px, 3.3vw, 48px);
}

.work-site-name {
  display: inline-block;
  min-height: 2rem;
  margin: 16px 0 0;
  padding: .375rem .875rem;
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .04em;
  border: 1px solid rgba(217, 115, 90, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .48);
}

/* 長い制作物名だけ、共通の白枠を画面幅の上限まで広げて収める。 */
.work-site-name--full-title {
  display: inline-block;
  width: fit-content;
  max-width: 100cqi;
  font-size: var(--work-title-size, clamp(.5rem, 2.4vw, .8125rem));
  white-space: nowrap;
}

.work-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 3vw, 40px);
}

.work-item-actions .contact-button {
  min-width: min(210px, 100%);
}

.work-item-page .work-item-actions .contact-button:not(.line-button) {
  border: 1px solid rgba(217, 115, 90, .45) !important;
  background: rgba(255, 255, 255, .62) !important;
  color: var(--accent-dark) !important;
  box-shadow: 0 14px 34px rgba(217, 115, 90, .07) !important;
}

.work-item-page .work-item-actions .contact-button:not(.line-button):hover {
  background: rgba(255, 210, 195, .22) !important;
  color: var(--accent-dark) !important;
}

.work-dental-main-visual.work-item-image-slot--filled {
  width: min(720px, 100%);
  margin: clamp(8px, 1.8vw, 24px) auto 0;
}

.work-dental-main-visual img {
  filter: drop-shadow(0 24px 46px rgba(89, 70, 57, .14));
}

.work-dental-detail {
  padding-top: clamp(64px, 7vw, 94px);
  background:
    linear-gradient(180deg, rgba(250, 244, 238, .88), rgba(245, 232, 225, .94));
}

.work-detail-block + .work-detail-block {
  margin-top: clamp(104px, 10vw, 144px);
}

.work-detail-heading {
  display: grid;
  justify-items: center;
  margin-bottom: clamp(24px, 3vw, 38px);
  text-align: center;
}

.work-detail-heading h2 {
  position: relative;
  z-index: 0;
  display: inline-block;
  margin: 0;
  padding: 0 .65em .16em;
  color: var(--heading);
  font-family: var(--heading-ja);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .02em;
}

.work-detail-heading h2::before,
.work-detail-heading h2::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.work-detail-heading h2::before {
  top: -14px;
  left: 50%;
  width: 58px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(217, 115, 90, .72) 0 34%, rgba(255, 210, 195, .86) 34% 100%);
  transform: translateX(-50%);
}

.work-detail-heading h2::after {
  z-index: -1;
  right: 0;
  bottom: .08em;
  left: 0;
  height: .58em;
  border-radius: 999px;
  background: rgba(255, 210, 195, .34);
}

.work-detail-panel {
  width: min(860px, 100%);
  margin-inline: auto;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(217, 115, 90, .16);
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 52px rgba(217, 115, 90, .06);
}

.work-detail-panel p {
  margin: 0;
  color: var(--body-text);
  font-size: 15px;
  line-height: 2.05;
  line-break: auto;
  text-wrap: wrap;
}

.work-detail-panel p + p {
  margin-top: 1.35em;
}

.work-dental-overview {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  gap: clamp(16px, 2vw, 24px);
}

.work-dental-overview article {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-height: 154px;
  padding: clamp(24px, 2.8vw, 34px);
  border: 1px solid rgba(217, 115, 90, .16);
  border-radius: 20px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 16px 42px rgba(217, 115, 90, .055);
  text-align: center;
}

.work-dental-overview article:last-child {
  border-right: 1px solid rgba(217, 115, 90, .16);
}

.work-overview-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 999px;
  overflow: hidden;
  background: transparent;
  color: var(--accent-dark);
}

.work-overview-icon img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
}

.work-overview-icon svg {
  width: 30px;
  height: 30px;
}

.work-overview-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-dental-overview h3,
.work-dental-points h3,
.work-page-card h3 {
  margin: 0;
  color: var(--heading);
  font-family: var(--heading-ja);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .01em;
}

.work-dental-overview h3 {
  font-size: 15px;
}

.work-dental-overview p {
  margin: 8px 0 0;
  color: var(--body-text);
  font-size: 13px;
  line-height: 1.75;
}

.work-dental-points {
  margin-top: 0;
}

.work-dental-points article {
  padding: clamp(28px, 3.2vw, 38px);
  background: rgba(255, 255, 255, .76);
}

.work-point-number {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(255, 210, 195, .42);
  color: var(--accent-dark);
  font-family: var(--en), var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.work-dental-points h3 {
  color: var(--accent-dark);
  font-size: 18px;
}

.work-dental-points p {
  margin: 13px 0 0;
  color: var(--body-text);
  font-size: 14px;
  line-height: 1.9;
}

.work-screen-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: end;
}

.work-screen-frame {
  margin: 0;
  min-width: 0;
}

.work-screen-frame--pc {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.work-screen-frame--sp {
  justify-self: center;
  width: min(360px, 100%);
  filter: drop-shadow(0 20px 38px rgba(89, 70, 57, .12));
}

.work-screen-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.work-screen-frame--pc img {
  height: auto;
  border-radius: 0;
  object-fit: contain;
  object-position: initial;
}

.work-page-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.work-page-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(217, 115, 90, .16);
  border-radius: 0;
  background: rgba(245, 232, 225, .48);
  box-shadow: 0 16px 44px rgba(217, 115, 90, .055);
  cursor: zoom-in;
  transition: border-color .25s ease, box-shadow .25s ease, transform .2s ease;
}

.work-page-card:hover,
.work-page-card:focus-visible {
  border-color: rgba(217, 115, 90, .32);
  box-shadow: 0 18px 46px rgba(217, 115, 90, .1);
  transform: translateY(-3px);
}

.work-page-card[aria-disabled="true"] {
  cursor: default;
}

.work-page-card[aria-disabled="true"]:hover,
.work-page-card[aria-disabled="true"]:focus-visible {
  border-color: rgba(217, 115, 90, .16);
  box-shadow: 0 16px 44px rgba(217, 115, 90, .055);
  transform: none;
}

.work-page-card:focus-visible {
  outline: 2px solid rgba(217, 115, 90, .46);
  outline-offset: 4px;
}

.work-page-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0;
  background: rgba(245, 232, 225, .76);
}

.work-page-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: top;
}

.work-page-thumb--access img {
  object-position: center 42%;
}

.work-image-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.work-image-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.work-image-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(58, 50, 44, .68);
  backdrop-filter: blur(3px);
}

.work-image-modal__dialog {
  position: relative;
  width: min(1100px, 100%);
  max-height: calc(100svh - clamp(36px, 8vw, 84px));
  overflow: auto;
  border: 1px solid rgba(217, 115, 90, .2);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(58, 50, 44, .26);
}

.work-image-modal__close {
  position: sticky;
  top: 14px;
  float: right;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 14px 14px 0 0;
  border: 1px solid rgba(217, 115, 90, .26);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--accent-dark);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.work-image-modal__title {
  margin: 0;
  padding: 22px 70px 18px 26px;
  color: var(--heading);
  font-family: var(--heading-ja);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
}

.work-image-modal__image {
  padding: 0 26px 30px;
}

.work-image-modal__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

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

.work-template-hero {
  padding-bottom: clamp(68px, 7vw, 104px);
  background:
    radial-gradient(circle at 82% 16%, rgba(217, 115, 90, .11), transparent 32%),
    radial-gradient(circle at 12% 88%, rgba(255, 210, 195, .22), transparent 30%),
    var(--section-bg-a);
}

.work-template-hero .work-item-hero__grid {
  grid-template-columns: minmax(420px, .9fr) minmax(520px, 1.1fr);
  gap: clamp(32px, 4.5vw, 68px);
}

.work-template-hero .work-item-hero__copy > p:not(.price-detail-kicker, .work-site-name) {
  max-width: 570px;
}

.work-template-hero h1 {
  font-size: clamp(34px, 3.3vw, 48px);
}

.work-template-main-visual.work-item-image-slot {
  width: min(720px, 100%);
  margin: clamp(8px, 1.8vw, 24px) auto 0;
}

.work-template-detail {
  padding-top: clamp(64px, 7vw, 94px);
  background:
    linear-gradient(180deg, rgba(250, 244, 238, .88), rgba(245, 232, 225, .94));
}

.work-template-overview {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  gap: clamp(16px, 2vw, 24px);
}

.work-template-overview article {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-height: 154px;
  padding: clamp(24px, 2.8vw, 34px);
  border: 1px solid rgba(217, 115, 90, .16);
  border-radius: 20px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 16px 42px rgba(217, 115, 90, .055);
  text-align: center;
}

.work-template-overview h3 {
  font-size: 15px;
}

.work-template-overview p {
  margin: 8px 0 0;
  color: var(--body-text);
  font-size: 13px;
  line-height: 1.75;
}

.work-template-points {
  margin-top: 0;
}

.work-template-points article {
  padding: clamp(28px, 3.2vw, 38px);
  background: rgba(255, 255, 255, .76);
}

.work-template-points h3 {
  color: var(--accent-dark);
  font-size: 18px;
}

.work-template-points p {
  margin: 13px 0 0;
  color: var(--body-text);
  font-size: 14px;
  line-height: 1.9;
}

/* 番号と見出しをひとまとまりにし、本文をその下に続ける */
.work-dental-points article,
.work-template-points article {
  display: grid;
  grid-template-columns: 3.375rem minmax(0, 1fr);
  column-gap: .875rem;
  align-items: center;
}

.work-dental-points .work-point-number,
.work-template-points .work-point-number {
  grid-column: 1;
  margin: 0;
}

.work-dental-points h3,
.work-template-points h3 {
  grid-column: 2;
  margin: 0;
}

.work-dental-points p,
.work-template-points p {
  grid-column: 1 / -1;
  margin: 1rem 0 0;
}


.work-screen-image {
  display: block;
  width: 100%;
  height: auto;
}

.work-item-main-visual .work-screen-image,
.work-screen-frame .work-screen-image {
  object-fit: contain;
}

.work-page-thumb .work-screen-image,
.work-thumb .work-screen-image,
.works-detail-thumb .work-screen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}


.work-page-card__body {
  flex: 1;
  padding: 18px 18px 22px;
  border-top: 1px solid rgba(217, 115, 90, .22);
  background: rgba(255, 255, 255, .76);
}

.work-page-card h3 {
  font-size: 15px;
  text-align: center;
}

.work-page-card p {
  margin: 12px 0 0;
  color: var(--body-text);
  font-size: 12px;
  line-height: 1.75;
}


.work-instagram-main-visual.work-item-image-slot--filled {
  width: min(240px, 68vw);
  margin: clamp(8px, 1.8vw, 24px) auto 0;
  transform: translateX(clamp(16px, 2.2vw, 34px));
}

.work-instagram-main-visual img {
  filter: drop-shadow(0 24px 46px rgba(89, 70, 57, .14));
}


.work-instagram-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.work-instagram-post-tile {
  margin: 0;
  min-width: 0;
}

.work-instagram-post-tile img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.work-thumbnail-main-visual.work-item-image-slot--filled {
  width: min(640px, 100%);
  margin: clamp(14px, 2.4vw, 34px) auto 0;
}

.work-banner-main-visual.work-item-image-slot--filled {
  width: min(520px, 100%);
  margin: clamp(14px, 2.4vw, 34px) auto 0;
}


.work-thumbnail-image-tile{
  width: min(760px, 100%);
}

.work-thumbnail-image-grid {
  display: grid;
  justify-items: center;
}

.work-banner-image-grid {
  display: grid;
  justify-items: center;
}

.work-thumbnail-image-tile {
  margin: 0;
}

.work-banner-image-tile {
  width: min(560px, 100%);
  margin: 0;
}

.work-thumbnail-image-tile img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.work-banner-image-tile img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 1100px) {
  .work-template-hero .work-item-hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .work-template-main-visual.work-item-image-slot {
    width: min(780px, 100%);
  }

  .work-dental-hero .work-item-hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .work-dental-main-visual.work-item-image-slot--filled {
    width: min(780px, 100%);
  }

  .work-instagram-main-visual.work-item-image-slot--filled {
    width: min(240px, 68vw);
    transform: none;
  }

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

  /* 1カラム化後は、案件名のまとまりを残してから制作物を見せる */
  :is(.work-template-hero, .work-dental-hero) .work-item-hero__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  :is(.work-template-hero, .work-dental-hero) .work-item-hero__copy {
    display: contents;
  }

  :is(.work-template-hero, .work-dental-hero) .work-item-hero__copy > .price-detail-kicker,
  :is(.work-template-hero, .work-dental-hero) .work-item-hero__copy > h1,
  :is(.work-template-hero, .work-dental-hero) .work-site-name {
    order: 1;
  }

  :is(.work-template-hero, .work-dental-hero) .work-site-name {
    align-self: flex-start;
  }

  :is(.work-template-hero, .work-dental-hero) .work-item-main-visual {
    order: 2;
    margin: 1.75rem auto 0;
  }

  :is(.work-template-hero, .work-dental-hero) .work-item-hero__copy > p:not(.price-detail-kicker, .work-site-name) {
    order: 3;
    width: min(35.625rem, 100%);
    margin-inline: auto;
    text-align: left;
  }

  :is(.work-template-hero, .work-dental-hero) .work-item-tags {
    order: 4;
    justify-content: center;
  }

  :is(.work-template-hero, .work-dental-hero) .work-item-actions {
    order: 5;
    justify-content: center;
  }
}

@media (max-width: 960px) {
  .work-instagram-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .work-instagram-main-visual.work-item-image-slot--filled {
    width: min(200px, 64vw);
  }

  

  .work-instagram-post-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1101px) {
  .work-template-hero h1 {
    white-space: normal;
  }

  .work-dental-hero h1 {
    white-space: normal;
  }
}

@media (max-width: 960px) {
  .work-template-overview {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .work-dental-overview {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .work-screen-showcase {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .work-screen-frame--sp {
    width: min(460px, 86%);
  }
}

@media (max-width: 640px) {
  .work-template-hero {
    padding-bottom: 58px;
  }

  .work-dental-hero {
    padding-bottom: 58px;
  }

  .work-item-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .work-item-actions .contact-button {
    width: 100%;
  }

  .work-template-overview,
  .work-template-points,
  .work-dental-overview,
  .work-dental-points,
  .work-page-grid {
    grid-template-columns: 1fr;
  }

  .work-template-overview article,
  .work-dental-overview article {
    min-height: 0;
  }

  .work-detail-heading {
    justify-items: center;
    text-align: center;
  }

  .work-detail-panel {
    padding: 26px 22px;
  }

  .work-screen-frame--sp {
    width: min(100%, 360px);
  }

  .work-image-modal {
    padding: 14px;
  }

  .work-image-modal__dialog {
    max-height: calc(100svh - 28px);
    border-radius: 14px;
  }

  .work-image-modal__title {
    padding: 18px 62px 14px 18px;
  }

  .work-image-modal__image {
    padding: 0 14px 20px;
  }
}

/* Lower-page box contrast */
.works-page .works-detail-card,
.price-page .price-detail-card,
.price-page .price-detail-mini-card,
.price-page .price-option-list,
.price-page .price-confirm-list article,
.price-page .flow-step,
.work-item-page .work-detail-panel,
.work-item-page .work-dental-overview article,
.work-item-page .work-template-overview article,
.work-item-page .work-dental-points article,
.work-item-page .work-template-points article,
.work-item-page .work-page-card,
.contact-form-page .contact-form-card,
.contact-form-page .contact-confirm-card,
.contact-form-page .contact-complete-card {
  background: rgba(255, 255, 255, .9);
}

.work-item-page .work-site-name,
.work-item-page .work-item-tags span {
  background: rgba(255, 255, 255, .82);
}

.work-item-page .work-page-thumb {
  background: rgba(255, 250, 247, .94);
}

.work-item-page .work-page-card__body {
  background: rgba(255, 255, 255, .96);
}


.contact-form-page .contact-checks,
.contact-form-page .contact-privacy,
.contact-form-page .contact-confirm-list {
  background: rgba(255, 255, 255, .82);
}

/* Decorative background word animation */
.has-bg-word-motion::before {
  content: "" !important;
}

.bg-word-target,
.bg-word-motion {
  --bg-word-y: 12px;
  --bg-word-blur: 3px;
}

.bg-word-motion {
  position: absolute;
  display: block;
  pointer-events: none;
  white-space: nowrap;
  text-transform: uppercase;
}

.bg-word-letter {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, var(--bg-word-y), 0);
  filter: blur(var(--bg-word-blur));
  will-change: opacity, transform, filter;
}

.is-bg-word-visible .bg-word-letter {
  animation: bgWordLetterIn .68s cubic-bezier(.2, .85, .25, 1) forwards;
  animation-delay: var(--bg-word-delay, 0ms);
}

.hero-section > .bg-word-motion {
  left: var(--bg-word-left);
  top: clamp(54px, 7.5vw, 100px);
  z-index: 0;
  color: rgba(193, 154, 138, .14);
  font-family: var(--en), var(--sans);
  font-size: clamp(86px, 17vw, 250px);
  font-weight: 800;
  line-height: .78;
  letter-spacing: .015em;
  white-space: pre;
}

.content-contact > .bg-word-motion {
  left: 50%;
  top: 50%;
  z-index: 0;
  color: rgba(255, 255, 255, .055);
  font-family: var(--serif);
  font-size: clamp(70px, 13vw, 180px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
  transform: translate(-50%, -50%);
}

.about-detail-hero__body > .bg-word-motion,
.price-detail-hero__body > .bg-word-motion,
.contact-form-hero__body > .bg-word-motion {
  left: var(--bg-word-left);
  top: 28px;
  z-index: 0;
  color: rgba(193, 154, 138, .16);
  font-family: var(--en), var(--sans);
  font-size: clamp(58px, 10vw, 132px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .035em;
}

.about-detail-hero__body > :not(.bg-word-motion),
.price-detail-hero__body > :not(.bg-word-motion),
.contact-form-hero__body > :not(.bg-word-motion) {
  position: relative;
  z-index: 1;
}

.price-flow-detail > .bg-word-motion {
  left: var(--bg-word-left);
  top: 28px;
  z-index: 0;
  color: rgba(193, 154, 138, .16);
  font-family: var(--en), var(--sans);
  font-size: clamp(58px, 10vw, 132px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .035em;
}

.work-item-hero > .bg-word-motion {
  left: var(--bg-word-left);
  top: clamp(92px, 9vw, 132px);
  z-index: 0;
  color: rgba(193, 154, 138, .16);
  font-family: var(--en), var(--sans);
  font-size: clamp(48px, 9vw, 118px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .04em;
}

@keyframes bgWordLetterIn {
  0% {
    opacity: 0;
    transform: translate3d(0, var(--bg-word-y), 0) scale(.985);
    filter: blur(var(--bg-word-blur));
  }

  55% {
    opacity: .82;
    filter: blur(1px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 640px) {
  .bg-word-target,
  .bg-word-motion {
    --bg-word-y: 7px;
    --bg-word-blur: 1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-word-letter {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
}

/* ===== Phase 3 追加分 ===== */

/* B-2: プライバシーポリシーページ(price-detailの型を流用) */
.privacy-page .price-detail-hero__body::before {
  content: "PRIVACY";
}

.privacy-policy-section,
.privacy-page-return {
  background: var(--section-bg-a);
}

.privacy-policy-inner {
  width: min(860px, 100%);
}

.privacy-policy-content {
  margin-top: clamp(30px, 4vw, 46px);
  border-top: 1px solid rgba(217, 115, 90, .16);
}

.privacy-policy-content article {
  padding: clamp(24px, 3vw, 34px) 0;
  border-bottom: 1px solid rgba(217, 115, 90, .14);
}

.privacy-policy-content h3 {
  margin: 0 0 12px;
  color: var(--heading);
  font-family: var(--heading-ja);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
  letter-spacing: .02em;
}

.privacy-policy-content p {
  margin: 0;
  color: rgba(51, 41, 33, .84);
  font-size: 14px;
  line-height: 2.05;
}

.privacy-policy-content p + p {
  margin-top: 12px;
}

.privacy-policy-content .price-detail-note {
  margin-top: 18px;
  color: rgba(51, 41, 33, .62);
  font-size: 13px;
}

@media (max-width: 760px) {
  .privacy-policy-content {
    margin-top: 26px;
  }

  .privacy-policy-content article {
    padding: 22px 0;
  }

  .privacy-policy-content p {
    font-size: 13px;
    line-height: 1.95;
  }
}

/* B-2: フォーム同意チェック下のポリシーリンク */
.contact-privacy-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.contact-privacy-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-contact__lead span {
  display: inline-block;
}

@media (max-width: 767px) {
  .content-contact__lead span {
    display: block;
    white-space: nowrap;
  }

  .content-contact .contact-actions {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
  }

  .content-contact .contact-button {
    width: 100%;
    min-width: 0;
  }
}

/* B-8: キーボード操作時のみハンバーガーにフォーカスリングを表示 */
.nav-toggle:focus-visible + .hamburger {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
}

/* B-5: FV通過後にSCROLL表示をフェードアウト */
.home-shell .scroll-cue {
  transition: opacity .4s ease;
}

.home-shell .scroll-cue.is-hidden {
  opacity: 0 !important;
  pointer-events: none;
}

/* ========== 文字サイズの統一 ========== */
/* 長文をスマホでも無理なく読める大きさに揃え、補足情報だけを一段下げる */
.lead,
.hero-section .lead,
.home-shell .hero-section .lead,
.content-lead,
.content-contact p,
.about-detail-copy p,
.about-story p,
.about-policy-copy p,
.about-section-head p,
.about-service-list p,
.about-cta-box p,
.price-detail-hero__copy > p:not(.price-detail-kicker),
.work-item-hero__copy > p:not(.price-detail-kicker, .work-site-name),
.work-detail-panel p,
.contact-form-hero p:not(.price-detail-kicker),
.contact-complete-card p,
.privacy-policy-content p {
  font-size: var(--font-size-body);
}

.service-item p,
.work-card p,
.price-card p,
.price-card li,
.price-detail-card p,
.price-detail-mini-card p,
.price-detail-checks,
.price-option-list div,
.price-confirm-list p,
.price-flow-list,
.price-faq__item p,
.price-detail-cta p:not(.price-detail-kicker),
.works-detail-card p,
.works-detail-card .works-detail-site,
.works-detail-card--youtube-thumbnail .works-detail-description,
.works-detail-card--banner-design .works-detail-description,
.work-item-overview p,
.work-item-points p,
.work-dental-overview p,
.work-dental-points p,
.work-template-overview p,
.work-template-points p,
.work-page-card p,
.contact-field,
.contact-checks label,
.contact-privacy,
.contact-confirm-list dt,
.contact-confirm-list dd,
.contact-submit {
  font-size: var(--font-size-card);
}

.work-item-overview h2,
.work-dental-overview h3,
.work-template-overview h3,
.work-page-card h3 {
  font-size: 1.0625rem;
}

.price-detail-card .price-detail-note,
.price-detail-mini-card .price-detail-note,
.price-option-list + .price-detail-note,
.price-flow-note,
.price-summary-note,
.price-note,
.service-note,
.contact-field em,
.contact-privacy-note,
.privacy-policy-content .price-detail-note {
  font-size: var(--font-size-note);
}
