/* ===================================================
   yorozuya-net.com — fonts (self-hosted, subset to this page's text)
=================================================== */
@font-face {
  font-family: "Shippori Mincho";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/shippori-mincho-500.woff2") format("woff2");
}
@font-face {
  font-family: "Shippori Mincho";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/shippori-mincho-600.woff2") format("woff2");
}
@font-face {
  font-family: "Shippori Mincho";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/shippori-mincho-700.woff2") format("woff2");
}
@font-face {
  font-family: "Shippori Mincho";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/shippori-mincho-800.woff2") format("woff2");
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/zen-kaku-gothic-new-400.woff2") format("woff2");
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/zen-kaku-gothic-new-500.woff2") format("woff2");
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/zen-kaku-gothic-new-700.woff2") format("woff2");
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../assets/fonts/zen-kaku-gothic-new-900.woff2") format("woff2");
}

/* ===================================================
   yorozuya-net.com — tokens
=================================================== */
:root {
  --paper: #f6f6f3;
  --paper-raise: #ffffff;
  --ink: #1c1c26;
  --ink-soft: #5b5c66;
  --navy: #15126e;
  --navy-deep: #0d0b4d;
  --gray: #9fa0a0;
  --line: rgba(21, 18, 110, 0.16);
  --line-soft: rgba(21, 18, 110, 0.09);
  --line-tint: rgba(21, 18, 110, 0.045);

  --font-display: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;

  --maxw: 1080px;
  --header-h: 76px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15141f;
    --paper-raise: #1c1b29;
    --ink: #ecebf3;
    --ink-soft: #a8a7b8;
    --navy: #9490ff;
    --navy-deep: #b6b3ff;
    --gray: #86869a;
    --line: rgba(255, 255, 255, 0.16);
    --line-soft: rgba(255, 255, 255, 0.09);
    --line-tint: rgba(255, 255, 255, 0.045);
  }
}
:root[data-theme="dark"] {
  --paper: #15141f;
  --paper-raise: #1c1b29;
  --ink: #ecebf3;
  --ink-soft: #a8a7b8;
  --navy: #9490ff;
  --navy-deep: #b6b3ff;
  --gray: #86869a;
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.09);
  --line-tint: rgba(255, 255, 255, 0.045);
}
:root[data-theme="light"] {
  --paper: #f6f6f3;
  --paper-raise: #ffffff;
  --ink: #1c1c26;
  --ink-soft: #5b5c66;
  --navy: #15126e;
  --navy-deep: #0d0b4d;
  --gray: #9fa0a0;
  --line: rgba(21, 18, 110, 0.16);
  --line-soft: rgba(21, 18, 110, 0.09);
  --line-tint: rgba(21, 18, 110, 0.045);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
  text-wrap: balance;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
svg { display: block; flex-shrink: 0; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.br-pc { display: inline; }
.br-sp { display: none; }

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

/* ===================================================
   Header
=================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo { display: inline-flex; align-items: baseline; gap: 10px; }
.logo img {
  height: 30px;
  width: auto;
  align-self: center;
}
@media (prefers-color-scheme: dark) {
  .logo img { filter: invert(1) brightness(1.5); }
}
:root[data-theme="dark"] .logo img { filter: invert(1) brightness(1.5); }
:root[data-theme="light"] .logo img { filter: none; }

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

.nav a {
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav a:hover { color: var(--navy); }

.nav-cta {
  padding: 9px 20px;
  border-radius: 2px;
  border: 1px solid var(--navy);
  color: var(--navy) !important;
}
.nav-cta:hover { background: var(--navy); color: var(--paper-raise) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 22px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ===================================================
   Buttons
=================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-deep); }

.btn-line {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-soft);
}
.btn-line:hover { border-color: #06c755; color: #06c755; }

/* ===================================================
   Hero
=================================================== */
.hero {
  position: relative;
  padding: 96px 0;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 34%, black 68%, black 100%);
  mask-image: linear-gradient(to right, transparent 0%, transparent 34%, black 68%, black 100%);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top right;
  filter: grayscale(0.3) contrast(1.02);
}

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

.hero-copy { max-width: 600px; }

.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--navy);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--ink);
}

.hero-lead {
  margin-top: 30px;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 560px;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 32px;
  font-size: 0.82rem;
  color: var(--gray);
  letter-spacing: 0.01em;
}

/* ===================================================
   Sections (generic)
=================================================== */
.section { padding: 96px 0; border-bottom: 1px solid var(--line-soft); }
.section--raise { background: var(--paper-raise); }
.section--contact { border-bottom: none; }

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--navy);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}

/* ===================================================
   About
=================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
}

.about-body { max-width: 640px; }
.about-body .section-title { margin-bottom: 32px; }
.about-body p { color: var(--ink-soft); margin-bottom: 22px; }
.about-body p:last-child { margin-bottom: 0; }

.about-emphasis {
  color: var(--ink) !important;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.85;
  padding-left: 20px;
  border-left: 2px solid var(--navy);
}

/* ===================================================
   Definition list (services / strengths)
=================================================== */
.def-list {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.def-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.def-item h3 {
  font-size: 1.15rem;
  color: var(--ink);
}

.def-item p {
  color: var(--ink-soft);
  max-width: 560px;
}

/* ===================================================
   Proof (real platform rating screenshots + quotes)
=================================================== */
.proof {
  margin-top: 56px;
/*  padding-top: 48px;
  border-top: 1px solid var(--line); */
}

.proof-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.proof-shots figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper-raise);
}

.proof-shots .proof-shot-frame {
  height: 190px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proof-shots img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.proof-shots figcaption {
  border-top: 1px solid var(--line);
}

.proof-shots figcaption a {
  display: block;
  padding: 12px 16px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.proof-shots figcaption a:hover { color: var(--navy); }

.proof-quotes {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.proof-quotes blockquote {
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid var(--navy);
}

.proof-quotes p {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--ink);
}

.proof-quotes cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--gray);
}

/* ===================================================
   Step list (flow)
=================================================== */
.step-list {
  margin-top: 48px;
  display: grid;
  gap: 0;
}

.step-list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.step-list li:last-child { border-bottom: 1px solid var(--line); }

.step-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gray);
}

.step-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.step-body p {
  color: var(--ink-soft);
  /* max-width: 520px; */
}

/* ===================================================
   Contact
=================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
}

.contact-intro .section-title { margin-bottom: 22px; }
.contact-intro p { color: var(--ink-soft); }
.contact-intro .contact-actions { margin-top: 34px; }

.contact-line {
  border-left: 1px solid var(--line);
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.contact-line-label {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.contact-line-qr {
  display: block;
  padding: 10px;
  background: var(--paper-raise);
  border: 1px solid var(--line);
}
.contact-line-qr img { display: block; width: 108px; height: 108px; }

/* ===================================================
   Footer
=================================================== */
.site-footer {
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-name {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ===================================================
   Reveal-on-scroll (quiet, no motion by default on load)
=================================================== */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ===================================================
   Responsive
=================================================== */
@media (max-width: 860px) {
  .hero-visual {
    opacity: 0.4;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 52%, black 97%, black 100%);
    mask-image: linear-gradient(to right, transparent 0%, transparent 52%, black 97%, black 100%);
  }
  .about-grid { grid-template-columns: 1fr; gap: 20px; }
  .def-item { grid-template-columns: 1fr; gap: 12px; }
  .proof-shots { grid-template-columns: 1fr; }
  .proof-quotes { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-line { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }

  #contact .contact-intro > div {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  #contact .contact-line > a.contact-line-qr,
  #contact .contact-line > a.btn-line {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 720px) {
  .br-pc { display: none; }
  .br-sp { display: inline; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: color-mix(in srgb, var(--ink) 6%, var(--paper-raise));
    border-bottom: 1px solid var(--line);
    padding: 8px 28px 20px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav a:not(.nav-cta):last-child { border-bottom: none; }
  .nav a.nav-cta {
    margin-top: 12px;
    padding: 9px 0;
    font-size: 0.88rem;
    text-align: center;
    border: 1px solid var(--navy);
  }
  .nav-toggle { display: flex; }

  .hero { padding: 64px 0 64px; }
  .section { padding: 64px 0; }

  .step-list li { grid-template-columns: 1fr; gap: 10px; }
  .step-num { font-size: 1.3rem; }
}
