/* ============================================
   Lumière Web — Landing Page Styles
   Cloudflare Pages: static index.html + style.css
   ============================================ */

:root {
  --white: #ffffff;
  --cream: #faf9f6;
  --cream-dark: #f3f0ea;
  --gold: #c5a059;
  --gold-light: #d4af37;
  --gold-dark: #a8893f;
  --text: #3d3a36;
  --text-muted: #7a756d;
  --text-light: #9c968c;
  --border: #ebe6de;
  --shadow: 0 12px 40px rgba(61, 58, 54, 0.06);
  --shadow-lg: 0 24px 60px rgba(61, 58, 54, 0.08);
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 50px;
  --font-serif: "Noto Serif JP", "Cormorant Garamond", serif;
  --font-sans: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Pinyon Script", cursive;
  --header-h: 80px;
  --section-pad: clamp(80px, 12vw, 140px);
  --container: min(1120px, 92vw);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --glass-bg: rgba(255, 255, 255, 0.58);
  --glass-border: rgba(255, 255, 255, 0.82);
  --glass-blur: blur(22px);
  --glow-gold: rgba(212, 175, 55, 0.22);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto auto;
  width: min(480px, 60vw);
  height: min(480px, 60vw);
  background: radial-gradient(circle, var(--glow-gold) 0%, transparent 68%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

body.nav-open {
  overflow: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.container--narrow {
  width: min(720px, 92vw);
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), opacity 0.3s;
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-dark) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.35);
}

.btn-gold:hover {
  box-shadow: 0 12px 32px rgba(197, 160, 89, 0.45);
}

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(197, 160, 89, 0.08);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 15px;
}

/* ---- Section typography ---- */

.section {
  position: relative;
  z-index: 1;
  padding-block: var(--section-pad);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 8vw, 72px);
}

.section-en {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-en--left {
  text-align: left;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--text);
}

.section-title--left {
  text-align: left;
  margin-bottom: 28px;
}

/* ---- Glass & ambient effects ---- */

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur) saturate(1.15);
  -webkit-backdrop-filter: var(--glass-blur) saturate(1.15);
  border: 1px solid var(--glass-border);
}

.ambient {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(48px);
}

.ambient--1 {
  width: min(380px, 50vw);
  height: min(380px, 50vw);
  top: 8%;
  right: 6%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.28) 0%, transparent 70%);
  animation: glow-drift 10s ease-in-out infinite;
}

.ambient--2 {
  width: min(280px, 40vw);
  height: min(280px, 40vw);
  bottom: 12%;
  left: 4%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, transparent 72%);
  animation: glow-drift 12s ease-in-out infinite reverse;
}

@keyframes glow-drift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.65;
  }
  50% {
    transform: translate(-12px, 10px) scale(1.06);
    opacity: 0.9;
  }
}

@keyframes float-soft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float-soft {
  animation: float-soft 5.5s ease-in-out infinite;
}

/* ---- Reveal animation ---- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(5px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease),
    filter 1s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

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

/* ---- Header ---- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  box-shadow: 0 4px 30px rgba(197, 160, 89, 0.04);
  transition: border-color 0.35s, box-shadow 0.35s, background 0.35s;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(235, 230, 222, 0.85);
  box-shadow: 0 8px 32px rgba(197, 160, 89, 0.1);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-mark {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
}

.nav-menu a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
}

.nav-menu a:hover {
  color: var(--gold);
}

.nav-cta {
  display: none;
}

.header-cta {
  flex-shrink: 0;
  padding: 12px 24px;
  font-size: 13px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Hero ---- */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 80px));
  padding-bottom: clamp(64px, 10vw, 100px);
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
  overflow: hidden;
}

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

.hero .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

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

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.hero-lead {
  color: var(--text-muted);
  font-size: clamp(14px, 1.8vw, 15px);
  margin-bottom: 40px;
  max-width: 420px;
}

.hero-script {
  position: absolute;
  left: -8%;
  bottom: -12%;
  font-family: var(--font-script);
  font-size: clamp(72px, 12vw, 140px);
  color: rgba(197, 160, 89, 0.12);
  pointer-events: none;
  white-space: nowrap;
  z-index: -1;
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    0 20px 50px rgba(197, 160, 89, 0.12);
  aspect-ratio: 4 / 5;
}

.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.35) 0%,
    transparent 42%,
    transparent 68%,
    rgba(197, 160, 89, 0.08) 100%
  );
  pointer-events: none;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

/* ---- Problem ---- */

.problem {
  background: var(--white);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(16px, 2vw, 32px);
}

.problem-item {
  text-align: center;
  padding: 20px 12px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 28px rgba(197, 160, 89, 0.05);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.problem-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(197, 160, 89, 0.1);
}

.problem-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, 0.4);
  background: rgba(255, 255, 255, 0.65);
  color: var(--gold);
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.8),
    0 4px 16px rgba(197, 160, 89, 0.08);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.problem-icon svg {
  width: 40px;
  height: 40px;
}

.problem-item:hover .problem-icon {
  background: rgba(197, 160, 89, 0.06);
  transform: scale(1.04);
}

.problem-item p {
  font-size: 13px;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

/* ---- Service ---- */

.service {
  background: var(--cream);
}

.service-intro {
  max-width: 520px;
  margin: -24px auto 56px;
  padding: 32px 36px;
  text-align: center;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(197, 160, 89, 0.08);
}

.service-intro-text {
  font-family: var(--font-serif);
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 2.1;
  letter-spacing: 0.06em;
  color: var(--text);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.service-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow:
    var(--shadow-lg),
    0 0 24px rgba(197, 160, 89, 0.12);
}

.service-thumb {
  aspect-ratio: 1;
  overflow: hidden;
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-thumb img {
  transform: scale(1.05);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--gold-dark);
  padding: 20px 20px 8px;
  letter-spacing: 0.04em;
}

.service-card p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-muted);
  padding: 0 20px 24px;
}

/* ---- Works ---- */

.works {
  background: var(--white);
}

.works-slider {
  display: flex;
  align-items: center;
  gap: 16px;
}

.works-track-wrap {
  flex: 1;
  overflow: hidden;
}

.works-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 4px 16px;
}

.works-track::-webkit-scrollbar {
  display: none;
}

.work-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
}

.work-mockup {
  margin: 0;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.work-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.work-card:hover .work-mockup img {
  transform: scale(1.04);
}

.work-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.72) 38%,
    transparent 72%
  );
}

.work-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.work-caption p {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text);
}

.works-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
}

.works-arrow svg {
  width: 20px;
  height: 20px;
}

.works-arrow:hover {
  background: var(--gold);
  color: var(--white);
}

/* ---- Flow ---- */

.flow {
  background: var(--cream);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.flow-steps::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 15%, var(--border) 85%, transparent);
  z-index: 0;
}

.flow-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}

.flow-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 16px;
}

.flow-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: var(--cream);
  border-radius: 50%;
}

.flow-icon svg {
  width: 32px;
  height: 32px;
}

.flow-step h3 {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.flow-step p {
  font-size: 12px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ---- Price ---- */

.price {
  background: var(--white);
}

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

.price-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 36px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s, box-shadow 0.35s;
}

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

.price-card--featured {
  background: rgba(255, 255, 255, 0.78);
  border: 2px solid rgba(197, 160, 89, 0.55);
  box-shadow:
    var(--shadow-lg),
    0 0 40px rgba(197, 160, 89, 0.14);
  transform: scale(1.03);
  z-index: 1;
}

.price-card--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.5) 0%, transparent 55%);
  pointer-events: none;
}

.price-card--featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 6px 20px;
  border-radius: var(--radius-pill);
}

.price-card h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.price-amount {
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--gold-dark);
  margin-bottom: 28px;
  line-height: 1.2;
}

.price-amount span:first-child {
  font-size: 22px;
  vertical-align: top;
}

.price-from {
  font-size: 18px;
  color: var(--text-light);
}

.price-features {
  flex: 1;
  margin-bottom: 32px;
  text-align: left;
}

.price-features li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 20px;
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
  opacity: 0.6;
}

.price-card .btn {
  width: 100%;
}

.price-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 40px;
}

/* ---- Profile ---- */

.profile {
  background: var(--cream);
}

.profile-inner {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.profile-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    var(--shadow-lg),
    0 0 48px rgba(197, 160, 89, 0.12);
}

.profile-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, transparent 55%, rgba(255, 255, 255, 0.25) 100%);
  pointer-events: none;
}

.profile-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 38%;
}

.profile-text {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.profile-text--lead {
  font-size: clamp(15px, 2vw, 17px);
  line-height: 2.1;
  color: var(--text);
  margin-bottom: 0;
}

.profile-emphasis {
  font-style: normal;
  font-family: var(--font-serif);
  color: var(--gold-dark);
  letter-spacing: 0.04em;
}

.profile-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.profile-values li {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, 0.4);
  color: var(--gold);
}

.value-icon svg {
  width: 22px;
  height: 22px;
}

/* ---- FAQ ---- */

.faq {
  background: var(--white);
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  list-style: none;
  transition: color 0.25s;
}

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

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: transform 0.3s, background 0.3s;
}

.faq-item[open] summary::after {
  content: "−";
  background: rgba(197, 160, 89, 0.1);
}

.faq-item summary:hover {
  color: var(--gold-dark);
}

.faq-item p {
  padding-bottom: 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
}

/* ---- CTA ---- */

.cta {
  position: relative;
  padding-block: clamp(100px, 14vw, 160px);
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(250, 249, 246, 0.88), rgba(250, 249, 246, 0.94)),
    url("images/cta-bg.jpg") center / cover no-repeat;
  z-index: 0;
}

.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  background: radial-gradient(ellipse at 50% 30%, rgba(212, 175, 55, 0.12) 0%, transparent 55%);
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.04em;
  margin: 16px 0 20px;
}

.cta-lead {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 14px;
}

/* ---- Footer ---- */

.footer {
  padding: 48px 0 40px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

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

.footer-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--gold-dark);
  letter-spacing: 0.06em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 28px;
}

.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
}

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

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.footer-sns {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gold);
  transition: background 0.3s, color 0.3s;
}

.footer-sns svg {
  width: 18px;
  height: 18px;
}

.footer-sns:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.copyright {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.04em;
}

/* ---- Floating LINE ---- */

.floating-line {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 999;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.92) 0%,
    rgba(197, 160, 89, 0.88) 100%
  );
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  letter-spacing: 0.06em;
  box-shadow:
    0 10px 32px rgba(197, 160, 89, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.floating-line:hover {
  transform: translateY(-5px);
  box-shadow:
    0 16px 44px rgba(197, 160, 89, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* ---- Utilities ---- */

.sp-only {
  display: none;
}

/* ---- Responsive ---- */

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .flow-steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }

  .flow-steps::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    justify-content: flex-start;
    padding: 48px 24px;
    gap: 32px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(24px) saturate(1.1);
    -webkit-backdrop-filter: blur(24px) saturate(1.1);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--ease), opacity 0.4s, visibility 0.4s;
  }

  .nav-menu.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 28px;
    width: 100%;
    text-align: center;
  }

  .nav-menu a {
    font-size: 14px;
  }

  .nav-cta {
    display: inline-flex;
    width: 100%;
    max-width: 280px;
  }

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

  .hero-visual {
    order: 0;
    max-width: 480px;
    margin-inline: auto;
  }

  .hero-script {
    left: 0;
    bottom: auto;
    top: 55%;
  }

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

  .price-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }

  .price-card--featured {
    transform: none;
    order: -1;
  }

  .price-card--featured:hover {
    transform: translateY(-4px);
  }

  .profile-inner {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-right {
    align-items: center;
  }

  .works-arrow {
    display: none;
  }
}

@media (max-width: 600px) {
  .sp-only {
    display: inline;
  }

  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .problem-icon {
    width: 72px;
    height: 72px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }

  .flow-steps {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
  }

  .profile-values {
    grid-template-columns: 1fr 1fr;
  }

  .floating-line {
    right: 16px;
    bottom: 16px;
    padding: 12px 18px;
    font-size: 12px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .float-soft,
  .ambient {
    animation: none !important;
  }

  body::before {
    display: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* ---- Safe restore image rule: prevent distortion only ---- */
.hero-image-wrap img,
.service-thumb img,
.work-mockup img,
.profile-visual img {
  object-fit: cover;
  transform: none;
}


/* ---- Profile image final: show both people fully, no crop ---- */
.profile-visual {
  background: #faf9f6;
}

.profile-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  filter: none !important;
}


/* natural profile fit */
.profile-visual img{
 object-fit: cover !important;
 object-position: center center !important;
}


/* ---- Brand copy ---- */

.hero-kana{
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 10px;
  opacity: 0.92;
}

.hero-meaning{
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.08em;
  margin-bottom: 26px;
  font-style: italic;
}

.profile-brand-copy{
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0.9;
}


/* ---- PC/SP text break control ---- */
.service-intro-text--sp,
.sp-copy {
  display: none;
}

.service-intro-text--pc,
.pc-copy {
  display: inline;
}

@media (max-width: 600px) {
  .service-intro-text--pc,
  .pc-copy {
    display: none;
  }

  .service-intro-text--sp,
  .sp-copy {
    display: inline;
  }

  .service-intro-text--sp {
    display: block;
  }
}


}


/* PC only: move hero LINE button lower */
@media (min-width: 901px) {
  .hero-content .btn.btn-gold.btn-lg,
  .hero-copy .btn,
  .hero .btn {
    margin-top: 28px !important;
  }
}

/* ---- PC/SP text display control ---- */
.sp-copy {
  display: none;
}

.pc-copy {
  display: inline;
}

@media (max-width: 600px) {
  .pc-copy {
    display: none !important;
  }

  .sp-copy {
    display: inline !important;
  }

  .service-intro-text--pc {
    display: none !important;
  }

  .service-intro-text--sp {
    display: block !important;
  }
}


/* SP service card text: keep requested 2-line rhythm */
@media (max-width: 600px) {
  .service-card .sp-copy {
    display: inline !important;
    word-break: keep-all;
    overflow-wrap: normal;
    line-break: strict;
  }
}


/* FINAL: mobile only text switching */
@media (max-width: 600px) {
  .service-card .pc-copy {
    display: none !important;
  }
  .service-card .sp-copy {
    display: inline !important;
  }
}

@media (min-width: 601px) {
  .service-card .pc-copy {
    display: inline !important;
  }
  .service-card .sp-copy {
    display: none !important;
  }
}


/* FINAL: service card mobile/pc text switching */
@media (max-width: 600px) {
  .service-card .pc-copy {
    display: none !important;
  }
  .service-card .sp-copy {
    display: inline !important;
  }
}

@media (min-width: 601px) {
  .service-card .pc-copy {
    display: inline !important;
  }
  .service-card .sp-copy {
    display: none !important;
  }
}


/* FINAL ABSOLUTE FIX: LINE/SNS mobile text only */
.line-sns-sp {
  display: none !important;
}

.line-sns-pc {
  display: inline !important;
}

@media (max-width: 900px) {
  .line-sns-pc {
    display: none !important;
  }

  .line-sns-sp {
    display: inline !important;
  }
}


/* FINAL FIX: service card PC/SP text switch */
.service-card-sp-text {
  display: none !important;
}

.service-card-pc-text {
  display: inline !important;
}

@media (max-width: 900px) {
  .service-card-pc-text {
    display: none !important;
  }
  .service-card-sp-text {
    display: inline !important;
  }
}

@media (min-width: 901px) {
  .service-card-pc-text {
    display: inline !important;
  }
  .service-card-sp-text {
    display: none !important;
  }
}
