/* ===== tokens.css ===== */
:root {
  --navy: #3e5d6b;
  --navy-700: #304c59;
  --navy-600: #506d79;
  --ink: #2e4048;
  --muted: #5d7077;
  --coral: #b45b4e;
  --coral-600: #9b4a40;
  --sage: #9aada9;
  --sage-700: #5c7472;
  --gold: #ffca6e;
  --line: #06c755;
  --paper: #ffffff;
  --mist: #eef3f4;
  --warm: #f7f4ed;
  --border: #d8e0df;
  --shadow: none;
  --shadow-sm: none;
  --r: 4px;
  --maxw: 1180px;
  --cream: #faf7f1;
  --sagel: #f5f3ed;
  --leaf: #315d77;
  --leafd: #244b64;
  --accent: #b45b4e;
}


/* ===== base.css ===== */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Zen Maru Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  letter-spacing: 0.01em;
}
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 96px 0;
}
.section--tight {
  padding: 72px 0;
}

/* logo fills */
.brandmark .cls-2 {
  fill: var(--coral);
}
.brandmark .cls-4 {
  fill: var(--gold);
}
.brandmark .cls-5 {
  fill: var(--sage-700);
}
.brandmark .cls-1,
.brandmark .cls-3 {
  mix-blend-mode: normal;
}
.logo--light .cls-5 {
  fill: #eef2f3;
}
.logo--light .cls-4 {
  fill: var(--gold);
}

/* ---------- eyebrow system: square=法人, round=個人 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Zen Maru Gothic";
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: none;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: currentColor;
  display: inline-block;
}
.eyebrow--corp {
  color: var(--navy-600);
}
.eyebrow--corp::before {
  border-radius: 2px;
} /* square = 法人 */
.eyebrow--person {
  color: var(--coral-600);
}
.eyebrow--person::before {
  border-radius: 50%;
} /* round = 個人 */
.eyebrow--neutral {
  color: var(--sage-700);
}
.eyebrow--neutral::before {
  border-radius: 50%;
  width: 7px;
  height: 7px;
}
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(26px, 3.6vw, 38px);
}
.section-head p {
  margin-top: 18px;
  color: var(--muted);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: "Zen Maru Gothic";
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 16px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.btn--corp {
  background: var(--navy);
  color: #fff;
}
.btn--corp:hover {
  background: var(--navy-700);
  box-shadow: var(--shadow-sm);
}
.btn--person {
  background: var(--coral);
  color: #fff;
}
.btn--person:hover {
  background: var(--coral-600);
  box-shadow: var(--shadow-sm);
}
.btn--line {
  background: var(--line);
  color: #fff;
}
.btn--line:hover {
  filter: brightness(0.94);
  box-shadow: var(--shadow-sm);
}
.btn--ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--navy-600);
  box-shadow: var(--shadow-sm);
}
.btn--lg {
  padding: 19px 34px;
  font-size: 16px;
}
.btn .ico {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.bar {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand .brandmark {
  height: 34px;
  width: auto;
}
nav.main {
  display: flex;
  gap: 19px;
  margin-left: 6px;
  flex: 1 1 auto;
  justify-content: center;
}
nav.main a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}
nav.main a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--coral);
  transition: right 0.25s ease;
}
nav.main a:hover {
  color: var(--coral-600);
}
nav.main a:hover::after {
  right: 0;
}
.head-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}
.hamb {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  width: 46px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.hamb svg {
  width: 22px;
  height: 22px;
  color: var(--navy);
}

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(22, 39, 63, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.drawer.open {
  opacity: 1;
  pointer-events: auto;
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(86%, 360px);
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: auto;
}
.drawer.open .drawer-panel {
  transform: translateX(0);
}
.drawer-panel .close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  padding: 6px;
}
.drawer-panel a.dnav {
  padding: 14px 8px;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  font-size: 16px;
}
.drawer-cta {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

/* ---------- hero ---------- */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #cdd7e4;
  margin-bottom: 26px;
}
.hero-cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-cta .btn--corp {
  background: #fff;
  color: var(--navy);
}
.hero-cta .btn--corp:hover {
  background: #eef2f7;
}

/* ---------- dual choice cards ---------- */

/* ---------- reasons ---------- */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.reason {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
}
.reason .rn {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--coral-600);
  letter-spacing: 0.08em;
}
.reason .ricon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mist);
  margin: 14px 0 18px;
  color: var(--navy);
}
.reason .ricon svg {
  width: 26px;
  height: 26px;
}
.reason h3 {
  font-size: 20px;
}
.reason p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- services ---------- */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

/* ---------- buyback ---------- */
.buyback {
  background: var(--mist);
}
.buy-col {
  background: #fff;
  border-radius: 22px;
  padding: 34px 32px;
  border: 1px solid var(--border);
}
.buy-col .bhead {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
}
.buy-col .bhead h3 {
  font-size: 21px;
}
.cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-radius: 13px;
  background: var(--mist);
  font-size: 14.5px;
  font-weight: 600;
}
.cat .ci {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--navy);
}
.cat .ci svg {
  width: 19px;
  height: 19px;
}
.buy-col.person .cat .ci {
  color: var(--coral-600);
}
.buy-col .btn {
  margin-top: 26px;
  width: 100%;
}

/* ---------- flow ---------- */
.flow {
  position: relative;
}
.flow-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 0 16px;
  text-align: center;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 31px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 7px, transparent 7px 13px);
}
.step .num {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--navy);
}
.step:last-child .num {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}
.step h4 {
  font-size: 16px;
}
.step p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ---------- faq band ---------- */
.faqband {
  background: var(--warm);
}
.faqband .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.faqband h2 {
  font-size: clamp(22px, 3vw, 30px);
}
.faqband p {
  margin-top: 14px;
  color: var(--muted);
  max-width: 620px;
  font-size: 14.5px;
}

/* ---------- final cta ---------- */
.finalcta {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.finalcta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 380px at 85% 120%, rgba(239, 122, 101, 0.25), transparent 60%),
    radial-gradient(600px 360px at 5% -20%, rgba(141, 162, 162, 0.18), transparent 60%);
}
.finalcta .wrap {
  position: relative;
  text-align: center;
}
.finalcta h2 {
  font-size: clamp(26px, 3.8vw, 40px);
}
.finalcta > .wrap > p {
  margin: 20px auto 0;
  max-width: 640px;
  color: #cfd9e6;
  font-size: 15.5px;
}
.final-btns {
  margin-top: 42px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.final-btns .btn {
  min-width: 210px;
}
.final-btns .btn--corp {
  background: #fff;
  color: var(--navy);
}
.final-btns .btn--corp:hover {
  background: #eef2f7;
}

/* ---------- footer ---------- */
footer.site {
  background: #101c2e;
  color: #aebacb;
  font-size: 13.5px;
  padding: 64px 0 0;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.foot-brand .brandmark {
  height: 32px;
  width: auto;
  margin-bottom: 18px;
}
.foot-brand p {
  color: #8d9bb0;
  line-height: 1.9;
}
.foot-col h4 {
  font-family: "Zen Maru Gothic";
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #7e8da4;
  font-weight: 700;
  margin-bottom: 16px;
}
.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.foot-col a:hover {
  color: #fff;
}
.licenses {
  display: grid;
  gap: 9px;
}
.licenses .lic {
  display: flex;
  gap: 8px;
}
.licenses .lic b {
  color: #cdd7e4;
  font-weight: 600;
  white-space: nowrap;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  flex-wrap: wrap;
  color: #6f7e95;
  font-size: 12.5px;
}
.foot-bottom .links {
  display: flex;
  gap: 20px;
}
.foot-bottom a:hover {
  color: #fff;
}
.placeholder {
  color: #5c6b81;
  font-style: normal;
  border-bottom: 1px dashed #3a4a63;
}

/* ---------- mobile sticky action bar ---------- */
.mobilebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px -16px rgba(22, 39, 63, 0.4);
}
.mobilebar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 11px 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
}
.mobilebar a svg {
  width: 21px;
  height: 21px;
}
.mobilebar a.tel {
  color: var(--navy);
}
.mobilebar a.lineb {
  color: var(--line);
}
.mobilebar a.est {
  color: #fff;
  background: var(--coral);
}
.mobilebar a + a {
  border-left: 1px solid var(--border);
}
.mobilebar a.est {
  border-left: none;
}

/* ============ DESIGN LAYER ── 照らす / illuminate ============ */
/* brand ribbon (3 logo colors) */
.ribbon {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--coral) 0%, var(--gold) 48%, var(--sage) 100%);
}

/* sun-dot eyebrow marker, echoing the logo mark */
.eyebrow--neutral::before {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 202, 110, 0.5);
}

/* hero — dawn glow + horizon arc + vertical kicker + promise */

/* hero load sequence */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* choice cards — lift + warm glow on the person side */

/* reasons — glow badge + accent rule + lift */
.reason {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.reason::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
}
.reason:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 54px -32px rgba(22, 39, 63, 0.5);
}
.reason .ricon {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  margin: 18px 0 20px;
}
.reason .ricon svg {
  width: 27px;
  height: 27px;
  color: #fff;
}
.reason .ricon::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(circle, rgba(255, 202, 110, 0.45), transparent 70%);
}
.reason .rn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.reason .rn::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

/* services — refined duotone empty-state with ghost icon + gold corner */

/* buyback chips — hover lift + gold edge */
.cat {
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
  position: relative;
}
.cat:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px -16px rgba(22, 39, 63, 0.5);
  background: #fff;
}
.cat::after {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 0;
  border-radius: 2px;
  background: var(--gold);
  transition: width 0.16s ease;
}
.cat:hover::after {
  width: 3px;
}

/* flow — luminous connector + endpoint glow */
.step:not(:last-child)::after {
  height: 2px;
  opacity: 1;
  background: linear-gradient(90deg, rgba(141, 162, 162, 0.5), rgba(239, 122, 101, 0.55));
}
.step .num {
  box-shadow: 0 0 0 6px rgba(22, 39, 63, 0.04);
}
.step:last-child .num {
  box-shadow: 0 14px 28px -10px rgba(239, 122, 101, 0.65);
}

/* final cta — dawn glow stronger */
.finalcta::before {
  background:
    radial-gradient(
      760px 420px at 84% 124%,
      rgba(255, 202, 110, 0.26),
      rgba(239, 122, 101, 0.14) 40%,
      transparent 62%
    ),
    radial-gradient(620px 380px at 4% -22%, rgba(141, 162, 162, 0.18), transparent 60%);
}
.finalcta-arc {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 170px;
  opacity: 0.6;
  pointer-events: none;
}

/* header fit + drawer clip */
.site .wrap.bar {
  max-width: 1240px;
}
.bar {
  gap: 20px;
}
nav.main {
  gap: 15px;
}
nav.main a {
  font-size: 13px;
}
.head-actions {
  gap: 12px;
}
.head-actions .btn {
  padding: 13px 18px;
  font-size: 14px;
}
.drawer {
  overflow: hidden;
}
@media (max-width: 1240px) {
  nav.main {
    display: none;
  }
  .hamb {
    display: flex;
  }
}
@media (max-width: 860px) {
  .head-actions .btn--line,
  .head-actions .btn--corp {
    display: none;
  }
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  nav.main {
    display: none;
  }
}
@media (max-width: 860px) {
  .section {
    padding: 72px 0;
  }
  .hamb {
    display: flex;
  }
  .reasons,
  .services {
    grid-template-columns: 1fr;
  }
  .flow-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 8px;
  }
  .step:not(:last-child)::after {
    display: none;
  }
  .cats {
    grid-template-columns: 1fr 1fr;
  }
  .foot-top {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .mobilebar {
    display: grid;
  }
  body {
    padding-bottom: 64px;
  }
  .reason {
    padding: 30px 26px;
  }
}
@media (max-width: 480px) {
  .wrap {
    padding: 0 18px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .final-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .final-btns .btn {
    width: 100%;
  }
  .flow-grid {
    grid-template-columns: 1fr;
  }
  .cats {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .btn:hover,
  .reason:hover,
  .cat:hover {
    transform: none;
  }
}
