@charset "utf-8";

:root {
  --brand: #f08a24;
  --brand2: #40b9ed;
  --ink: #111827;
  --muted: #6b7280;
  /* Base Referral2026 styles + New Design styles */
  --si-primary: #FF8C00;
  --si-accent: #E53935;
  --bg: #f6f7fb;
  --card: #ffffff;
  --line: rgba(17, 24, 39, .10);
  --radius: 16px;
  --shadow: 0 14px 40px rgba(17, 24, 39, .08);
}

body {
  color: var(--ink);
  background: var(--bg);
  font-family: system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
}

a {
  text-decoration: none;
}

/* Header/Footer from Referral2026 (overrides) */
.navbar {
  background-color: #fff !important;
  border-bottom: 1px solid #eee;
}

.btn-si {
  background-color: var(--si-primary);
  border-color: var(--si-primary);
  color: #fff;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.btn-si:hover {
  background-color: #E67E00;
  border-color: #E67E00;
  color: #fff;
  transform: translateY(-2px);
}

/* New Design Styles */
.navpill a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem .9rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, .04);
  border: 1px solid rgba(17, 24, 39, .08);
  color: #111827;
  font-weight: 800;
  white-space: nowrap;
}

.navpill a:hover {
  background: rgba(17, 24, 39, .06);
}

/* HERO */
.hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
  margin-top: 60px;
  /* Adjust for fixed navbar */
}

.hero-visual {
  border-radius: var(--radius);
  border: 1px solid rgba(17, 24, 39, .10);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #fff;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-kicker {
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: .85rem;
}

.hero-title {
  font-weight: 950;
  letter-spacing: .01em;
  line-height: 1.12;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: rgba(240, 138, 36, .12);
  border: 1px solid rgba(240, 138, 36, .22);
  color: #a74f00;
  font-weight: 800;
  font-size: .92rem;
  white-space: nowrap;
}

.chip.gray {
  background: rgba(17, 24, 39, .04);
  border-color: rgba(17, 24, 39, .10);
  color: #111827;
  font-weight: 800;
}

.btn-brand {
  background: var(--brand);
  color: #fff;
  border: 0;
  font-weight: 900;
}

.btn-brand:hover {
  background: #e67e1a;
  /* Darken brand color */
  color: #fff;
}

.btn-outline {
  border: 1px solid rgba(17, 24, 39, .18);
  background: #fff;
  font-weight: 900;
  color: var(--ink);
}

.btn-outline:hover {
  background: #f8f9fa;
  border-color: rgba(17, 24, 39, .4);
  color: var(--ink);
}

/* SECTIONS */
.section {
  padding: 3rem 0;
}

.section-title {
  font-weight: 950;
  letter-spacing: .01em;
}

.cardx {
  background: var(--card);
  border: 1px solid rgba(17, 24, 39, .10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(64, 185, 237, .12);
  border: 1px solid rgba(64, 185, 237, .22);
  color: #0b6b8a;
  flex: 0 0 auto;
}

.icon.orange {
  background: rgba(240, 138, 36, .12);
  border-color: rgba(240, 138, 36, .22);
  color: #a74f00;
}

.muted {
  color: var(--muted);
}

/* STEPS */
.step {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, .10);
  background: rgba(255, 255, 255, .75);
}

.step .n {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  background: rgba(17, 24, 39, .06);
  flex: 0 0 auto;
}

/* DOWNLOAD */
.storebtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1rem;
  border-radius: 14px;
  font-weight: 900;
}


.smallnote {
  font-size: .92rem;
  color: var(--muted);
}

.mono {
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

footer {
  padding: 2.5rem 0 5.5rem;
  color: rgba(255, 255, 255, .75);
}

footer a {
  color: rgba(255, 255, 255, 0.75);
}

footer a:hover {
  color: #fff;
}

/* New Steps Layout - Brand Colors */
.step-col-blue {
  background: #eef9fe;
  /* Light blue tint matching brand2 */
  border: 1px solid rgba(64, 185, 237, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
}

.step-col-orange {
  background: #fffaf0;
  /* Light orange tint matching brand */
  border: 1px solid rgba(240, 138, 36, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
}

.step-pill {
  border-radius: 50px;
  padding: 0.6rem 1rem;
  font-weight: 900;
  text-align: center;
  color: #fff;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 1.1rem;
}

/* Store Badges */
.store-badge {
  height: 48px;
  transition: transform .2s;
}

.store-badge:hover {
  transform: translateY(-2px);
}

.step-pill.blue {
  background: var(--brand2);
}

.step-pill.orange {
  background: var(--brand);
}

.step-circle {
  width: 32px;
  height: 32px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.condition-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 1rem;
  color: var(--muted);
  font-weight: 900;
  font-size: 1.2rem;
}

.condition-divider::before,
.condition-divider::after {
  content: "";
  flex: 1;
  height: 0;
  border-top: 3px dashed var(--brand2);
  max-width: 150px;
}

.condition-divider::after {
  border-color: var(--brand);
}

.condition-box {
  background: #fff;
  border: 2px dashed var(--brand);
  border-radius: 50px;
  padding: 1rem 2rem;
  color: var(--brand);
  font-weight: 900;
  display: inline-block;
  font-size: 1.2rem;
}

.howto-tabs {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 999px;
  padding: 6px;
  gap: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.howto-tabs .nav-link {
  border-radius: 999px !important;
  font-weight: 800;
  padding: .85rem .9rem;
  color: #334155;
  background: transparent;
  border: 0;
}

/* active: tab感を強く（白地の上に“乗る”） */
.howto-tabs .nav-link.active {
  background: #0b5ed7;
  color: #fff;
  box-shadow: 0 10px 20px rgba(11, 94, 215, .25);
}

/* 2つのタブを同じ高さ・同じ幅に */
.howto-tabs .nav-item {
  min-width: 0;
}

.howto-tab-divider {
  height: 1px;
  background: rgba(0, 0, 0, .08);
}


.step-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 18px;
  padding: 22px 18px;
  min-height: 170px;
}

.step-card--orange {
  background: #fffaf3;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.step-badge {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: #0b5ed7;
  color: #fff;
  line-height: 1;
  flex: 0 0 34px;
}

.step-badge--orange {
  background: #f59f00;
  color: #1f2a37;
}

.step-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 24px;
  flex: 0 0 28px;
}

.step-title {
  font-weight: 800;
  font-size: 1.02rem;
  margin-top: 0;
}

.step-desc {
  color: #6c757d;
  font-size: .92rem;
  margin-top: 6px;
  line-height: 1.5;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .8rem;
}

.pill-blue {
  background: #e7f5ff;
  color: #0b5ed7;
}

.pill-orange {
  background: #fff3e6;
  color: #d9480f;
}

.highlight-box {
  background: #fff9db;
  border: 2px solid #fcc419;
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(250, 176, 5, 0.15);
}

.highlight-title {
  font-weight: 800;
  color: #e67700;
  letter-spacing: .06em;
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: inline-block;
  border-bottom: 2px solid rgba(230, 119, 0, 0.3);
  padding-bottom: 2px;
}

.highlight-main {
  font-weight: 900;
  font-size: 1.25rem;
  color: #212529;
}

.highlight-num {
  font-size: 1.8rem;
  color: #d9480f;
  vertical-align: middle;
  margin: 0 .2rem;
  font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
}

.highlight-sub {
  color: #495057;
  font-size: .9rem;
  margin-top: 10px;
  font-weight: bold;
  line-height: 1.6;
}

/* Howto divider (between phase A and B) */
.howto-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.howto-divider::before,
.howto-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, .10);
}

.howto-divider__badge {
  display: inline-flex;
  align-items: center;
  padding: .45rem .9rem;
  border-radius: 999px;
  font-weight: 800;
  color: #334155;
  background: rgba(240, 138, 36, .10);
  border: 1px solid rgba(240, 138, 36, .22);
  white-space: nowrap;
  font-size: .92rem;
}

/* Scroll Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#scrollTopBtn:hover {
  background-color: rgba(0, 0, 0, 0.6);
}
