/* ========================================
   Harmonia Design LP — White / Modern
   ======================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f5f2;
  --bg-warm: #faf8f5;
  --ink: #2a2724;
  --ink-muted: #6b6560;
  --ink-faint: #9a938c;
  --line: #e8e3dc;
  --accent: #b85a3d;
  --accent-deep: #9a4a32;
  --ochre: #b8925a;
  --ochre-soft: #e8d5b5;
  --charcoal: #3a3632;
  --shadow: 0 18px 50px rgba(42, 39, 36, 0.08);
  --shadow-lift: 0 28px 60px rgba(42, 39, 36, 0.14);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --font-ja: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --font-display: "Shippori Mincho", "Noto Serif JP", serif;
  --font-en: "DM Sans", "Noto Sans JP", sans-serif;
  --container: 1120px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

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

body {
  margin: 0;
  font-family: var(--font-ja);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  line-height: 1.8;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 90% -5%, rgba(184, 146, 90, 0.08), transparent 55%),
    radial-gradient(700px 420px at -5% 15%, rgba(184, 90, 61, 0.05), transparent 50%),
    var(--bg);
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.02em;
  overflow-wrap: normal;
  word-break: keep-all;
  line-break: strict;
}

p {
  margin: 0;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

.u-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Japanese line locks */
.c-line,
.p-hero__line,
.p-hero__lead-line {
  display: inline-block;
  max-width: 100%;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: normal;
}

/* ----------------------------------------
   Layout
   ---------------------------------------- */
.l-container {
  width: min(100% - (var(--pad) * 2), var(--container));
  margin-inline: auto;
}

.l-container--narrow {
  width: min(100% - (var(--pad) * 2), 720px);
}

.l-section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.l-section--soft {
  background: var(--bg-soft);
}

/* ----------------------------------------
   Header
   ---------------------------------------- */
.l-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: calc(var(--header-h) + var(--safe-top));
  padding-top: var(--safe-top);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.l-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(42, 39, 36, 0.04);
}

.l-header__inner {
  width: min(100% - (var(--pad) * 2), var(--container));
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.c-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.c-logo__mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(184, 90, 61, 0.2);
  background: #f7f3ec;
}

.c-logo__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.1rem;
}

.c-logo__name {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.c-logo__tag {
  font-size: 0.68rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c-hamburger {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 110;
}

.c-hamburger__line {
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.c-hamburger[aria-expanded="true"] .c-hamburger__line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.c-hamburger[aria-expanded="true"] .c-hamburger__line:nth-child(2) {
  opacity: 0;
}

.c-hamburger[aria-expanded="true"] .c-hamburger__line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.c-nav__list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.c-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}

.c-nav__link:hover {
  color: var(--ink);
  background: var(--bg-soft);
}

.c-nav__link--cta {
  color: #fff;
  background: var(--accent);
  margin-left: 0.35rem;
}

.c-nav__link--cta:hover {
  color: #fff;
  background: var(--accent-deep);
}

@media (max-width: 900px) {
  .c-nav {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .c-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .c-nav__list {
    flex-direction: column;
    gap: 0.75rem;
  }

  .c-nav__link {
    font-size: 1.15rem;
    padding: 0.75rem 1.25rem;
  }
}

@media (min-width: 901px) {
  .c-hamburger {
    display: none;
  }
}

/* ----------------------------------------
   Buttons / Heads
   ---------------------------------------- */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s, color 0.25s;
  word-break: keep-all;
  line-break: strict;
  text-align: center;
}

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

.c-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #c46a4a 100%);
  box-shadow: 0 14px 32px rgba(184, 90, 61, 0.28);
}

.c-btn--primary:hover {
  box-shadow: 0 20px 40px rgba(184, 90, 61, 0.36);
}

.c-btn--ghost {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.c-btn--ghost:hover {
  border-color: var(--ochre);
  box-shadow: var(--shadow);
}

.c-btn--light {
  color: var(--charcoal);
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.c-btn--light:hover {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.c-btn--block {
  width: 100%;
}

.c-eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ochre);
}

.c-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 36rem;
}

.c-head__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.35rem);
  color: var(--ink);
}

.c-head__title .c-line {
  display: block;
}

.c-head__note {
  margin-top: 1rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
  max-width: 32rem;
  word-break: keep-all;
  line-break: strict;
}

.c-head--on-dark .c-eyebrow {
  color: var(--ochre-soft);
}

.c-head--on-dark .c-head__title {
  color: #fff;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(1.75rem);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

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

  .c-btn:hover {
    transform: none;
  }

  .p-tilt__card::after,
  .p-tilt__card.is-active::after {
    animation: none;
    display: none;
  }

  .p-tilt__card img {
    transition: none;
  }
}

/* ----------------------------------------
   Hero
   ---------------------------------------- */
.p-hero {
  position: relative;
  padding: clamp(2rem, 5vw, 3.5rem) var(--pad) clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}

.p-hero__glow {
  position: absolute;
  inset: auto -10% -20% 40%;
  height: 60%;
  background: radial-gradient(circle, rgba(184, 146, 90, 0.16), transparent 65%);
  pointer-events: none;
}

.p-hero__grid {
  width: min(100%, var(--container));
  margin-inline: auto;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 980px) {
  .p-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.5rem;
  }
}

.p-hero__brand {
  margin: 0 0 1rem;
  font-family: var(--font-en);
  font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--charcoal);
}

.p-hero__ribbon {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  max-width: 100%;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(42, 39, 36, 0.05);
  font-size: clamp(0.78rem, 0.72rem + 0.25vw, 0.9rem);
  font-weight: 500;
  color: var(--ink-muted);
  word-break: keep-all;
  line-break: strict;
}

.p-hero__proofs {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 1.25rem 0 1.5rem;
}

.p-hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.75rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  word-break: keep-all;
  line-break: strict;
}

.p-hero__proof-label {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 0.4rem;
  background: rgba(184, 146, 90, 0.14);
  color: var(--ochre);
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.p-hero__proof-text em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.05em;
}

.p-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.15rem + 2.2vw, 2.85rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.p-hero__line {
  display: block;
}

.p-hero__line--solve {
  color: var(--accent);
  margin-top: 0.15em;
}

.p-hero__lead {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  color: var(--ink-muted);
  margin-bottom: 1.75rem;
  max-width: 28rem;
}

.p-hero__lead-line {
  display: block;
}

.p-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* 3D tilt slide */
.p-hero__stage {
  perspective: 1400px;
  padding: 0.5rem;
}

.p-tilt {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.p-tilt__scene {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: calc(var(--radius) + 0.25rem);
  transform-style: preserve-3d;
}

.p-tilt__card {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  transform: rotateY(-18deg) translateZ(-40px) scale(0.94);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  pointer-events: none;
}

.p-tilt__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.22) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  pointer-events: none;
}

.p-tilt__card.is-active::after {
  animation: tilt-shine 1.2s var(--ease) 0.25s both;
}

@keyframes tilt-shine {
  to {
    transform: translateX(120%);
  }
}

.p-tilt__card.is-active {
  opacity: 1;
  transform: rotateY(0deg) translateZ(0) scale(1);
  pointer-events: auto;
  z-index: 2;
}

.p-tilt__card.is-exit {
  opacity: 0;
  transform: rotateY(18deg) translateZ(-40px) scale(0.94);
  z-index: 1;
}

.p-tilt__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 6s linear;
}

.p-tilt__card.is-active img {
  transform: scale(1.1);
}

.p-tilt__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.35rem 1.35rem;
  background: linear-gradient(180deg, transparent, rgba(30, 26, 22, 0.72));
  color: #fff;
}

.p-tilt__caption span {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.35rem;
}

.p-tilt__caption p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
  word-break: keep-all;
  line-break: strict;
}

.p-tilt__dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.p-tilt__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: var(--line);
  cursor: pointer;
  transition: width 0.35s var(--ease), background 0.35s;
}

.p-tilt__dot.is-active {
  width: 1.6rem;
  background: var(--accent);
}

/* ----------------------------------------
   Empathy
   ---------------------------------------- */
.p-empathy__body {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 860px) {
  .p-empathy__body {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.p-empathy__pain,
.p-empathy__bridge {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.p-empathy__pain:hover,
.p-empathy__bridge:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.p-empathy__pain p + p,
.p-empathy__bridge p + p {
  margin-top: 1rem;
}

.p-empathy__ask {
  margin-top: 1.25rem !important;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
  word-break: keep-all;
  line-break: strict;
}

.p-empathy__proof {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}

/* ----------------------------------------
   Strengths
   ---------------------------------------- */
.p-strengths__list {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .p-strengths__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.p-strengths__item {
  padding: 1.75rem 1.5rem 1.85rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.p-strengths__item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.p-strengths__illust {
  width: 5.5rem;
  margin: 0 auto 1rem;
}

.p-strengths__num {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ochre);
  margin-bottom: 0.55rem;
  text-align: center;
}

.p-strengths__title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  text-align: center;
  margin-bottom: 0.85rem;
}

.p-strengths__title .c-line {
  display: block;
}

.p-strengths__text {
  color: var(--ink-muted);
  font-size: 0.95rem;
  text-align: center;
  word-break: keep-all;
  line-break: strict;
}

.p-strengths__line {
  display: block;
}

.p-strengths__note {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  opacity: 0.85;
}

/* ----------------------------------------
   Pricing
   ---------------------------------------- */
.p-pricing__grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 760px) {
  .p-pricing__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }
}

.p-plan {
  position: relative;
  padding: 2rem 1.6rem 1.75rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.p-plan:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.p-plan--featured {
  border-color: rgba(184, 90, 61, 0.35);
  background:
    linear-gradient(180deg, rgba(184, 90, 61, 0.05), transparent 40%),
    #fff;
}

.p-plan__badge {
  position: absolute;
  top: -0.7rem;
  left: 1.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  word-break: keep-all;
}

.p-plan__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.p-plan__init {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.p-plan__init-label {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.p-plan__init-value {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  color: var(--accent);
  word-break: keep-all;
}

.p-plan__init-value em {
  font-style: normal;
  font-family: var(--font-en);
  font-size: clamp(3rem, 2.4rem + 2vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.p-plan__init-value span {
  font-size: 1.15rem;
  font-weight: 700;
}

.p-plan__init-value--sm {
  color: var(--ink);
}

.p-plan__init-value--sm em {
  font-size: clamp(2.1rem, 1.8rem + 1.2vw, 2.7rem);
}

.p-plan__list {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.p-plan__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  word-break: keep-all;
  line-break: strict;
}

.p-plan__list span {
  color: var(--ink-muted);
}

.p-plan__list strong {
  font-weight: 700;
}

.p-plan .c-btn {
  margin-top: auto;
}

.p-support {
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius);
  background: var(--bg-warm);
  border: 1px solid var(--line);
}

.p-support__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.p-support__list {
  display: grid;
  gap: 0.65rem;
}

.p-support__list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  word-break: keep-all;
  line-break: strict;
}

.p-support__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--ochre);
}

/* ----------------------------------------
   Flow
   ---------------------------------------- */
.p-flow__steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .p-flow__steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
  }
}

.p-flow__step {
  position: relative;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.p-flow__step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.p-flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(184, 146, 90, 0.15);
  color: var(--ochre);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.p-flow__label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.p-flow__step p {
  color: var(--ink-muted);
  font-size: 0.92rem;
  word-break: keep-all;
  line-break: strict;
}

.p-flow__note {
  margin-top: 0.55rem;
  font-size: 0.8rem;
  line-height: 1.65;
  opacity: 0.9;
}

/* ----------------------------------------
   Testimonials / Voices
   ---------------------------------------- */
.p-voices__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .p-voices__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
  }
}

.p-voice {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius);
  background:
    linear-gradient(165deg, #fffefb 0%, #fff 42%, #faf7f2 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.p-voice::before {
  content: "“";
  position: absolute;
  top: 0.35rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 8vw, 6.5rem);
  line-height: 1;
  color: rgba(184, 146, 90, 0.18);
  pointer-events: none;
  user-select: none;
}

.p-voice:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.p-voice__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
}

.p-voice__place {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(184, 90, 61, 0.1);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  word-break: keep-all;
  line-break: strict;
}

.p-voice__place::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.p-voice__role {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.03em;
  word-break: keep-all;
  line-break: strict;
}

.p-voice__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.05rem + 0.55vw, 1.4rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
}

.p-voice__title .c-line {
  display: block;
}

.p-voice__quote {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(232, 227, 220, 0.9);
  flex: 1;
}

.p-voice__quote p {
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.85;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
  .p-voice:hover {
    transform: none;
  }
}

/* ----------------------------------------
   FAQ
   ---------------------------------------- */
.c-faq {
  display: grid;
  gap: 0.75rem;
}

.c-faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0 1.15rem;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.c-faq__item[open] {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.c-faq__q {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.75rem 1.15rem 0;
  font-weight: 600;
  position: relative;
  word-break: keep-all;
  line-break: strict;
}

.c-faq__q::-webkit-details-marker {
  display: none;
}

.c-faq__q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-en);
  font-weight: 500;
  color: var(--ochre);
  font-size: 1.25rem;
}

.c-faq__item[open] .c-faq__q::after {
  content: "–";
}

.c-faq__a {
  padding: 0 0 1.2rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  word-break: keep-all;
  line-break: strict;
}

/* ----------------------------------------
   CTA / Contact form
   ---------------------------------------- */
.p-cta {
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.p-cta__panel {
  padding: clamp(2.25rem, 5vw, 3.5rem);
  border-radius: calc(var(--radius) + 0.35rem);
  background:
    radial-gradient(600px 280px at 90% 0%, rgba(184, 146, 90, 0.28), transparent 55%),
    linear-gradient(145deg, #3a3632 0%, #2a2724 55%, #4a3a32 100%);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-lift);
}

.p-cta__panel .c-head {
  margin-bottom: 1.25rem;
}

.p-cta__lead {
  max-width: 34rem;
  margin-bottom: 1.5rem;
  word-break: keep-all;
  line-break: strict;
  line-height: 1.9;
}

.p-cta__layout {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.75rem;
  align-items: start;
}

@media (min-width: 880px) {
  .p-cta__layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.85fr);
    gap: 1.75rem;
  }
}

.p-cta__form {
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border-radius: 1rem;
  background: rgba(255, 252, 248, 0.97);
  color: var(--ink);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.p-cta__form-lead {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ink-muted);
  word-break: keep-all;
  line-break: strict;
}

.p-cta__field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.p-cta__field label {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  word-break: keep-all;
  line-break: strict;
}

.p-cta__req {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--accent);
  vertical-align: 0.1em;
}

.p-cta__field input,
.p-cta__field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.p-cta__field input::placeholder,
.p-cta__field textarea::placeholder {
  color: var(--ink-faint);
}

.p-cta__field input:focus,
.p-cta__field textarea:focus {
  outline: none;
  border-color: rgba(184, 90, 61, 0.55);
  box-shadow: 0 0 0 3px rgba(184, 90, 61, 0.16);
}

.p-cta__field textarea {
  resize: vertical;
  min-height: 8.5rem;
  line-height: 1.7;
}

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

.p-cta__form {
  position: relative;
}

.p-cta__status {
  min-height: 1.5rem;
  margin: 0.25rem 0 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--charcoal);
  word-break: keep-all;
  line-break: strict;
}

.p-cta__status.is-sending {
  color: var(--ink-muted);
}

.p-cta__status.is-ok {
  color: #3d6b4f;
}

.p-cta__status.is-error {
  color: #a33b2a;
}

.p-cta__submit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.p-cta__submit {
  min-width: 10.5rem;
}

.p-cta__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.p-cta__urgent {
  padding: clamp(1.25rem, 3vw, 1.65rem);
  border-radius: 1rem;
  border: 1px solid rgba(232, 213, 181, 0.35);
  background:
    linear-gradient(160deg, rgba(255, 252, 248, 0.1), rgba(184, 146, 90, 0.12));
}

.p-cta__urgent-label {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff8f0;
  word-break: keep-all;
  line-break: strict;
}

.c-btn--phone {
  width: 100%;
  justify-content: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1.2rem;
  color: var(--charcoal);
  background: linear-gradient(135deg, #fff8f0 0%, #f3e6d2 100%);
  border-color: rgba(232, 213, 181, 0.85);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.c-btn--phone:hover {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.c-btn__phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #c46a4a 100%);
}

.c-btn__phone-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  text-align: left;
}

.c-btn__phone-main {
  font-family: var(--font-en);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.c-btn__phone-sub {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.p-cta__urgent-note {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255, 248, 240, 0.72);
  word-break: keep-all;
  line-break: strict;
}

@media (max-width: 879px) {
  .p-cta__urgent {
    order: -1;
  }
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.l-footer {
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--pad) calc(2rem + var(--safe-bottom));
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, var(--bg-warm) 0%, #fff 48%);
}

.l-footer__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3vw, 2.25rem);
}

.l-footer__top {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.l-footer__info {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 28rem;
}

.l-footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.75rem;
  margin: 0;
}

.l-footer__name {
  font-family: var(--font-en);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  line-height: 1.3;
}

.l-footer__ruby {
  font-family: var(--font-ja);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  line-height: 1.4;
}

.l-footer__base {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.l-footer__locale {
  display: inline-block;
  padding-left: 0.85rem;
  position: relative;
}

.l-footer__locale::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--ochre);
  transform: translateY(-50%);
}

.l-footer__biz {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ink-muted);
  word-break: keep-all;
  line-break: strict;
}

.l-footer__biz-line {
  display: inline;
}

.l-footer__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

.l-footer__sitemap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
}

.l-footer__sitemap a {
  font-size: 0.875rem;
  color: var(--ink-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.25s var(--ease);
}

.l-footer__sitemap a:hover,
.l-footer__sitemap a:focus-visible {
  color: var(--accent);
}

.l-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-family: var(--font-ja);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.l-footer__cta:hover,
.l-footer__cta:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.l-footer__copy {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.l-footer__copy small {
  font-size: inherit;
}

@media (min-width: 768px) {
  .l-footer__top {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2.5rem;
  }

  .l-footer__aside {
    align-items: flex-end;
    text-align: right;
  }

  .l-footer__sitemap {
    justify-content: flex-end;
  }

  .l-footer__copy {
    text-align: right;
  }

  .l-footer__biz-line {
    display: block;
  }
}

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