:root {
  --dark: #212121;
  --green: #004d3b;
  --cream: #efe2c6;
  --ink: #414141;
  --white: #fff;
  --display: "Oswald", sans-serif;
  --num: "Open Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--dark);
  color: var(--white);
  font-family: var(--display);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, p { margin: 0; }
h2 { font-weight: 500; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 16px 40px;
  position: relative;
}
.hero-logo img { width: min(380px, 84vw); }

.social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 21px;
}
.hero .social { margin-top: 38px; }
.social a {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  transition: opacity .2s;
}
.social a:hover { opacity: .7; }
.social img { max-width: 27px; max-height: 21px; width: auto; }
.social a:nth-child(n+3) img { max-height: 27px; } /* 丸アイコンは正方で表示 */

.scroll-down {
  position: absolute;
  bottom: 32px;
  color: var(--white);
  opacity: .9;
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-down svg { display: block; }
@keyframes bob { 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-down { animation: none; }
}

/* ---------- Whitepaper ---------- */
.whitepaper {
  text-align: center;
  padding: 24px 16px 56px;
}
.whitepaper h2 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 14px;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 5px 16px 5px 22px;
  border: 2px solid var(--ink);
  border-radius: 50px;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  letter-spacing: .05em;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-download:hover { background: var(--cream); }

/* ---------- Bank ---------- */
.bank {
  background: var(--green);
  padding-bottom: 32px;
  text-align: center;
}
/* アプリ（Vuetify）は html{overflow-y:scroll} で常にスクロールバーの溝を出すため、
   iframe を少し広げて溝を枠外へ押し出す。高さは本体（約960px）＋余裕 */
.bank-frame {
  max-width: 1010px;
  margin: 0 auto;
  overflow: hidden;
}
.bank-app {
  display: block;
  width: calc(100% + 20px);
  height: 1000px;
  border: 0;
}
.bank hr {
  width: 222px;
  margin: 12px auto 26px;
  border: 0;
  border-top: 1px solid var(--cream);
}
.lock-note { font-size: 14px; padding: 0 16px; }

.ranking h2, .how h2 { font-size: 28px; }
.ranking-updated { font-size: 14px; margin-top: 6px; }
.ranking dl {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  column-gap: 20px;
  row-gap: 6px;
  margin: 28px auto 30px;
  font-family: var(--num);
  font-size: 18px;
  font-weight: 700;
}
.ranking dl > div { display: contents; }
.ranking dt, .ranking dd { margin: 0; text-align: right; }
.link-cream {
  color: var(--cream);
  font-size: 14px;
}
.link-cream:hover { color: var(--white); }
.ranking { margin-bottom: 28px; }

.how a { display: inline-block; margin: 24px auto 0; transition: opacity .2s; }
.how a:hover { opacity: .75; }
.how img { width: 107px; }

/* ---------- Footer ---------- */
.footer {
  padding: 42px 16px 40px;
  text-align: center;
}
.footer p { margin-top: 26px; font-size: 15px; }

@media (max-width: 600px) {
  .ranking dl { font-size: 16px; column-gap: 14px; }
}
