:root {
  --ink: #10131a;
  --muted: #5c6472;
  --paper: #f7f4ec;
  --white: #ffffff;
  --gold: #d7a84b;
  --gold-dark: #9c6f19;
  --blue: #2f6df6;
  --aqua: #56d6c9;
  --line: rgba(16, 19, 26, 0.12);
  --shadow: 0 24px 80px rgba(16, 19, 26, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.75;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(247, 244, 236, 0.86);
  border-bottom: 1px solid rgba(16, 19, 26, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.header-message {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.header-message {
  flex-wrap: wrap;
  row-gap: 4px;
}

.header-message span {
  padding: 5px 8px;
  color: var(--white);
  font-size: 12px;
  line-height: 1;
  background: linear-gradient(135deg, #ff3157, #c90024);
  border-radius: 8px;
}

.header-message strong {
  font-size: 15px;
  line-height: 1.25;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), var(--gold-dark));
  border-radius: 8px;
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.header-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta,
.primary-btn {
  color: var(--white);
  background: linear-gradient(135deg, #06c755, #00a843);
  box-shadow: 0 12px 34px rgba(0, 168, 67, 0.24);
}

.secondary-btn {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 74px);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(215, 168, 75, 0.28), transparent 28%),
    linear-gradient(135deg, #0d1118 0%, #151923 52%, #292012 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.glow {
  position: absolute;
  width: 34vw;
  height: 34vw;
  border-radius: 50%;
  filter: blur(16px);
  opacity: 0.3;
  animation: drift 9s ease-in-out infinite alternate;
}

.glow-one {
  top: 8%;
  right: 18%;
  background: var(--blue);
}

.glow-two {
  bottom: 8%;
  left: 10%;
  background: var(--gold);
  animation-delay: -3s;
}

.grid-line {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.hero-copy,
.hero-visual,
.hero-manga {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.35;
}

.lead {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-proof {
  display: inline-grid;
  gap: 2px;
  margin: 0 0 22px;
  padding: 14px 18px 16px;
  color: var(--white);
  background: linear-gradient(135deg, #ff3157, #c90024);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(255, 49, 87, 0.34);
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 900;
}

.hero-proof strong {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0;
}

.hero-visual {
  min-height: 560px;
}

.hero-manga {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-manga img {
  display: block;
  width: min(100%, 520px);
  max-height: min(78vh, 760px);
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.phone-card,
.estimate-card,
.badge-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.phone-card {
  top: 12%;
  right: 7%;
  width: min(310px, 70vw);
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
}

.phone-top {
  width: 62px;
  height: 7px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: rgba(16, 19, 26, 0.18);
}

.chat {
  width: fit-content;
  max-width: 88%;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
}

.incoming {
  background: #eef1f4;
}

.outgoing {
  margin-left: auto;
  color: var(--white);
  background: #06c755;
}

.estimate-card {
  left: 0;
  bottom: 10%;
  width: min(360px, 78vw);
  padding: 22px;
  color: var(--white);
  background: rgba(16, 19, 26, 0.76);
}

.estimate-card > p {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.estimate-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.estimate-row strong {
  color: var(--aqua);
}

.price-drop {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.price-drop span {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
}

.price-drop strong {
  color: var(--gold);
  font-size: 30px;
}

.badge-card {
  right: 2%;
  bottom: 28%;
  padding: 14px 18px;
  color: var(--ink);
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), #ffe4a3);
  animation: pulse 2.4s ease-in-out infinite;
}

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

.float-fast {
  animation: floatFast 4.6s ease-in-out infinite;
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.check-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
}

.check-card,
.case-card,
.profile-card,
.flow-list li,
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 60px rgba(16, 19, 26, 0.06);
}

.check-card {
  padding: 28px;
}

.check-card span {
  color: var(--gold-dark);
  font-weight: 900;
}

.check-card p,
.reason-list p,
.case-card small,
.profile-card p,
.flow-list p,
.faq p,
.seo-copy p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
  background: var(--white);
}

.panel {
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
}

.dark-panel {
  color: var(--white);
  background: linear-gradient(135deg, #10131a, #2a2418);
}

.dark-panel p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.reason-list {
  display: grid;
  gap: 14px;
}

.reason-list div {
  padding: 26px;
  border-left: 4px solid var(--gold);
  background: #faf8f1;
}

.cases {
  background:
    radial-gradient(circle at 80% 10%, rgba(86, 214, 201, 0.18), transparent 28%),
    var(--paper);
}

.case-card {
  overflow: hidden;
  padding: 0;
  background: var(--white);
}

.case-card.featured {
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #242c3b);
  transform: translateY(-14px);
}

.case-card img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.case-caption {
  padding: 18px 20px 22px;
  background: var(--white);
}

.featured .case-caption {
  background: linear-gradient(135deg, var(--ink), #242c3b);
}

.case-caption p {
  margin-bottom: 6px;
  color: var(--muted);
  font-weight: 900;
}

.featured .case-caption p {
  color: rgba(255, 255, 255, 0.72);
}

.case-caption strong {
  color: #e61f3f;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.featured .case-caption strong {
  color: var(--gold);
}

.seo-copy {
  background: var(--white);
}

.seo-copy article {
  max-width: 920px;
  margin: 0 auto;
}

.seo-copy h2 {
  font-size: clamp(28px, 3.5vw, 44px);
}

.profile-card {
  display: grid;
  max-width: 980px;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin: 0 auto;
  padding: 28px;
}

.profile-photo {
  width: 116px;
  height: 116px;
  object-fit: cover;
  object-position: center;
  background: #eef1f4;
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 18px 44px rgba(16, 19, 26, 0.14);
}

.license-list {
  display: grid;
  gap: 4px;
  margin: 16px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.profile-name {
  margin-bottom: 8px;
  font-size: 28px;
}

.profile-title {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 900;
  background: #fff2c8;
  border: 1px solid rgba(215, 168, 75, 0.34);
  border-radius: 8px;
}

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

.flow-list {
  display: grid;
  max-width: 1040px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.flow-list li {
  padding: 28px;
}

.flow-list span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--white);
  font-weight: 900;
  background: var(--ink);
  border-radius: 50%;
}

.faq-list {
  display: grid;
  max-width: 900px;
  gap: 12px;
  margin: 0 auto;
}

.faq details {
  padding: 20px 22px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.faq p {
  margin: 12px 0 0;
}

.final-cta {
  margin: 0 clamp(20px, 5vw, 72px) clamp(28px, 5vw, 56px);
  padding: clamp(40px, 6vw, 72px);
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(215, 168, 75, 0.36), transparent 32%),
    linear-gradient(135deg, #10131a, #242414);
  border-radius: var(--radius);
}

.final-cta h2 {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
}

.note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes floatSlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(1deg);
  }
  50% {
    transform: translate3d(0, -18px, 0) rotate(-1deg);
  }
}

@keyframes floatFast {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
  50% {
    transform: translate3d(0, 14px, 0) rotate(1deg);
  }
}

@keyframes drift {
  from {
    transform: translate3d(-24px, 12px, 0) scale(1);
  }
  to {
    transform: translate3d(32px, -18px, 0) scale(1.14);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@media (max-width: 920px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 480px;
  }

  .check-grid,
  .case-grid,
  .flow-list,
  .split {
    grid-template-columns: 1fr;
  }

  .case-card.featured {
    transform: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
    gap: 10px;
  }

  .header-message {
    max-width: 190px;
    gap: 6px;
  }

  .header-message span {
    font-size: 10px;
  }

  .header-message strong {
    font-size: 12px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero {
    padding: 48px 16px 64px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-visual {
    min-height: 430px;
  }

  .phone-card {
    right: 0;
  }

  .estimate-card {
    left: 0;
    bottom: 0;
  }

  .badge-card {
    right: 0;
    bottom: 38%;
  }

  .section {
    padding: 64px 16px;
  }

  .profile-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .profile-photo {
    width: 92px;
    height: 92px;
  }

  .final-cta {
    margin: 0 16px 24px;
    padding: 42px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
