:root {
  --ink: #141820;
  --ink-soft: #3a4250;
  --muted: #6b7380;
  --paper: #f7f5f2;
  --paper-2: #efeae4;
  --white: #ffffff;
  --accent: #e85d04;
  --accent-deep: #c44d03;
  --line: rgba(20, 24, 32, 0.08);
  --shadow: 0 18px 50px rgba(20, 24, 32, 0.12);
  --radius: 16px;
  --max: 1080px;
  --font: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: #fff;
  padding: 0.5rem 0.75rem;
}

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(247, 245, 242, 0.86);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.brand__logo {
  width: 148px;
  height: auto;
  display: block;
}

.brand__logo--sm {
  width: 112px;
}

.nav__cta {
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--accent-deep);
  padding: 0.55rem 0.9rem;
  border: 1.5px solid rgba(232, 93, 4, 0.35);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(232, 93, 4, 0.28), transparent 60%),
    radial-gradient(700px 420px at 90% 10%, rgba(20, 24, 32, 0.1), transparent 55%),
    linear-gradient(165deg, #1b2230 0%, #2a3344 42%, #3d2a1f 100%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: repeating-linear-gradient(
    -18deg,
    transparent 0 10px,
    rgba(255, 255, 255, 0.04) 10px 11px
  );
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 4rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 4.5rem 1.5rem 5rem;
    gap: 3rem;
  }
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffe0c8;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 224, 200, 0.25);
}

.hero h1 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.hero .lead {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  max-width: 28em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 0.95rem 1.35rem;
  border-radius: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 28px rgba(232, 93, 4, 0.35);
}

.btn--primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.btn--ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: transparent;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* estimate sheet visual */
.hero__visual {
  display: flex;
  justify-content: center;
}

.sheet {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 0.78;
  background: linear-gradient(180deg, #fff 0%, #f3f0eb 100%);
  border-radius: 18px;
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.5);
  transform: rotate(2.5deg);
  animation: float-in 0.9s ease both;
}

.sheet__stamp {
  position: absolute;
  right: 1.1rem;
  top: 1.1rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(232, 93, 4, 0.35);
}

.sheet__line {
  height: 10px;
  border-radius: 6px;
  background: #e6e1da;
  margin-bottom: 0.7rem;
}
.sheet__line--lg {
  width: 72%;
  height: 14px;
  margin-top: 0.4rem;
  margin-bottom: 1.2rem;
  background: #d9d3ca;
}
.sheet__line--md {
  width: 58%;
}

.sheet__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.85rem 0;
}
.sheet__row span {
  display: block;
  height: 9px;
  border-radius: 6px;
  background: #ebe6df;
}
.sheet__row span:first-child {
  width: 42%;
}
.sheet__row span:last-child {
  width: 28%;
}

.sheet__total {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 2px dashed #ddd6cc;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.sheet__total em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}
.sheet__total strong {
  color: var(--accent-deep);
  font-size: 1.05rem;
  font-weight: 900;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(2.5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(2.5deg);
  }
}

.hero__copy {
  animation: rise 0.7s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Sections —— */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.section--band {
  max-width: none;
  margin: 0;
  padding: 3.5rem 1.25rem 4rem;
  background: linear-gradient(180deg, var(--paper-2), #e8e2da);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--band .section__head,
.section--band .points,
.section--band .section__cta {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section__head {
  margin-bottom: 1.75rem;
}

.section__head h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 900;
  letter-spacing: 0.01em;
}

.section__head p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.section__cta {
  margin: 2rem auto 0;
  text-align: center;
}

/* steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps__num {
  flex: 0 0 auto;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: var(--ink);
}

.steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* points */
.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .points {
    grid-template-columns: repeat(3, 1fr);
  }
}

.points li {
  padding: 0.25rem 0.1rem;
}

.points h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink);
}

.points h3::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.45rem;
  border-radius: 2px;
  background: var(--accent);
  vertical-align: 0.1rem;
}

.points p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* posts */
.posts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.posts li {
  margin: 0;
}

.posts a {
  display: block;
  text-decoration: none;
  font-weight: 800;
  padding: 1.1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.posts a:hover {
  border-color: rgba(232, 93, 4, 0.45);
  transform: translateY(-1px);
}

.muted {
  color: var(--muted);
  font-weight: 600;
}

/* —— Footer —— */
.footer {
  background: #141820;
  color: rgba(255, 255, 255, 0.72);
  padding: 2.5rem 1.25rem 3rem;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

.footer .brand__logo {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer__links a:hover {
  color: #fff;
}

.footer__note {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* —— Article page —— */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  white-space: pre-wrap;
}

.article .brand {
  margin-bottom: 1.5rem;
}

.article h1 {
  font-size: 1.6rem;
  font-weight: 900;
}

.article-wrap {
  min-height: 70vh;
  background: var(--paper);
}

.article-wrap .nav {
  position: sticky;
}
