/* 日本語案内ページ共通スタイル（/ja/howto-beginner/ /ja/vip/ /ja/gps/ で使用。body.howto-guide 配下に限定） */
body.howto-guide main {
  background: #f4f6fb;
  color: #2b3043;
  font-size: 16px;
  line-height: 1.85;
  padding-bottom: 80px;
}
body.howto-guide .hg-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1d2b64 0%, #3a4fa3 55%, #6b7fd8 100%);
  color: #fff;
  padding: 150px 20px 70px;
}
body.howto-guide .hg-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(255, 255, 255, .18), transparent 55%);
  pointer-events: none;
}
body.howto-guide .hg-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
body.howto-guide .hg-hero__text { flex: 1 1 55%; }
body.howto-guide .hg-hero__label {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .15em;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 999px;
  padding: 2px 14px;
  margin-bottom: 16px;
}
body.howto-guide .hg-hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
body.howto-guide .hg-hero p { font-size: 18px; margin: 0; }
body.howto-guide .hg-hero__visual { flex: 1 1 45%; text-align: center; }
body.howto-guide .hg-hero__visual img { max-width: 100%; max-height: 360px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35)); }

body.howto-guide .hg-container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
body.howto-guide .hg-section { margin-top: 64px; }
body.howto-guide .hg-section__title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: #1d2b64;
  margin: 0 0 12px;
}
body.howto-guide .hg-section__lead { text-align: center; margin: 0 0 32px; }

/* 流れ */
body.howto-guide .hg-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
body.howto-guide .hg-flow a {
  display: block;
  height: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 14px 8px;
  text-align: center;
  color: #1d2b64;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(29, 43, 100, .08);
  transition: transform .2s;
}
body.howto-guide .hg-flow a:hover { transform: translateY(-2px); }
body.howto-guide .hg-flow span {
  display: block;
  font-size: 22px;
  color: #3a4fa3;
}

/* ウォレット */
body.howto-guide .hg-wallets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
body.howto-guide .hg-wallet {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(29, 43, 100, .1);
  display: flex;
  flex-direction: column;
  align-items: center;
}
body.howto-guide .hg-wallet--partner { border: 3px solid #1fb6c9; }
body.howto-guide .hg-wallet__order {
  position: absolute;
  top: 12px;
  left: 14px;
  font-size: 13px;
  color: #6b7390;
}
body.howto-guide .hg-wallet__icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 12px;
}
body.howto-guide .hg-wallet__icon--bitget { background: linear-gradient(135deg, #1fb6c9, #17839a); }
body.howto-guide .hg-wallet__icon--metamask { background: linear-gradient(135deg, #f6a44a, #e2761b); }
body.howto-guide .hg-wallet__icon--brave { background: linear-gradient(135deg, #ff6a3d, #e0402a); }
body.howto-guide .hg-wallet h3 { font-size: 22px; font-weight: 700; margin: 0 0 8px; color: #1d2b64; }
body.howto-guide .hg-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 10px; }
body.howto-guide .hg-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 12px;
  line-height: 1.7;
}
body.howto-guide .hg-badge--partner { background: #1fb6c9; color: #fff; }
body.howto-guide .hg-badge--plan { background: #fff; color: #17839a; border: 1px dashed #17839a; }
body.howto-guide .hg-wallet p { font-size: 15px; margin: 0 0 16px; flex-grow: 1; }
body.howto-guide .hg-wallet__note {
  background: #eaf8fa;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
  color: #145f70;
}
body.howto-guide .hg-btn {
  display: inline-block;
  background: #3a4fa3;
  color: #fff !important;
  border-radius: 999px;
  padding: 8px 24px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s;
}
body.howto-guide .hg-wallet .hg-btn { margin-top: auto; }
body.howto-guide .hg-btn:hover { opacity: .85; }
body.howto-guide .hg-wallets__caption { text-align: center; font-size: 14px; color: #6b7390; margin: 16px 0 0; }

/* 注意事項 */
body.howto-guide .hg-alert {
  background: #fff8e6;
  border: 2px solid #f0b429;
  border-radius: 16px;
  padding: 28px 32px;
}
body.howto-guide .hg-alert__title {
  font-size: 22px;
  font-weight: 700;
  color: #8a5a00;
  margin: 0 0 16px;
  text-align: center;
}
body.howto-guide .hg-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
body.howto-guide .hg-role {
  background: #fff;
  border-radius: 12px;
  padding: 14px 18px;
}
body.howto-guide .hg-role dt { font-weight: 700; font-size: 18px; color: #1d2b64; }
body.howto-guide .hg-role dd { margin: 4px 0 0; font-size: 15px; }
body.howto-guide .hg-role--gas { border-left: 6px solid #8247e5; }
body.howto-guide .hg-role--pay { border-left: 6px solid #1fb6c9; }
body.howto-guide .hg-checklist { list-style: none; margin: 0; padding: 0; }
body.howto-guide .hg-checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 8px;
  font-size: 16px;
}
body.howto-guide .hg-checklist li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f0b429;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
body.howto-guide .hg-checklist strong { color: #b3261e; }

/* 手順 */
body.howto-guide .hg-steps { list-style: none; margin: 0; padding: 0; }
body.howto-guide .hg-step {
  display: flex;
  gap: 32px;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(29, 43, 100, .08);
  scroll-margin-top: 90px;
}
body.howto-guide .hg-step__media { flex: 0 0 38%; }
body.howto-guide .hg-step__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #eef1fa;
}
body.howto-guide .hg-step__body { flex: 1 1 auto; }
body.howto-guide .hg-step__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
body.howto-guide .hg-step__no {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a4fa3, #6b7fd8);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.howto-guide .hg-step h3 { font-size: 23px; font-weight: 700; color: #1d2b64; margin: 0; line-height: 1.4; }
body.howto-guide .hg-step p { margin: 0 0 12px; }
body.howto-guide .hg-step ul { margin: 0 0 12px; padding-left: 1.3em; }
body.howto-guide .hg-step li { margin-bottom: 4px; }
body.howto-guide .hg-point {
  background: #f1f3fb;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 15px;
}
body.howto-guide .hg-point strong { color: #1d2b64; }
body.howto-guide .hg-currency {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 8px 0 12px;
}
body.howto-guide .hg-currency section {
  border: 1px solid #d7ddf0;
  border-radius: 12px;
  padding: 12px 16px;
}
body.howto-guide .hg-currency h4 { font-size: 18px; font-weight: 700; color: #17839a; margin: 0 0 6px; }
body.howto-guide .hg-currency ol { margin: 0; padding-left: 1.3em; font-size: 15px; }
body.howto-guide .hg-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

/* 案内ページ共通（/ja/vip/ /ja/gps/） */
body.howto-guide .hg-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 32px;
  margin-top: 20px;
  box-shadow: 0 4px 16px rgba(29, 43, 100, .08);
}
body.howto-guide .hg-card p { margin: 0 0 12px; }
body.howto-guide .hg-card p:last-child { margin-bottom: 0; }
body.howto-guide .hg-card ul { margin: 0 0 12px; padding-left: 1.3em; }
body.howto-guide .hg-card li { margin-bottom: 6px; }
body.howto-guide .hg-tiles {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
body.howto-guide .hg-tiles li {
  background: #fff;
  border-radius: 12px;
  padding: 16px 8px;
  text-align: center;
  color: #1d2b64;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(29, 43, 100, .08);
}
body.howto-guide .hg-soon {
  display: inline-block;
  background: #eef1fa;
  color: #3a4fa3;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  margin-left: 6px;
}

@media screen and (max-width: 1024px) {
  body.howto-guide .hg-hero { padding: 110px 20px 50px; }
  body.howto-guide .hg-hero h1 { font-size: 34px; }
  body.howto-guide .hg-flow { grid-template-columns: repeat(3, 1fr); }
}

@media screen and (max-width: 768px) {
  body.howto-guide main { font-size: 15px; padding-bottom: 56px; }
  body.howto-guide .hg-hero { padding: 90px 16px 40px; }
  body.howto-guide .hg-hero__inner { flex-direction: column-reverse; gap: 12px; text-align: center; }
  body.howto-guide .hg-hero h1 { font-size: 28px; }
  body.howto-guide .hg-hero p { font-size: 16px; }
  body.howto-guide .hg-hero__visual img { max-height: 200px; }
  body.howto-guide .hg-container { padding: 0 16px; }
  body.howto-guide .hg-section { margin-top: 44px; }
  body.howto-guide .hg-section__title { font-size: 23px; }
  body.howto-guide .hg-section__lead { text-align: left; }
  body.howto-guide .hg-flow { grid-template-columns: repeat(2, 1fr); }
  body.howto-guide .hg-wallets { grid-template-columns: 1fr; }
  body.howto-guide .hg-alert { padding: 20px 16px; }
  body.howto-guide .hg-roles, body.howto-guide .hg-currency { grid-template-columns: 1fr; }
  body.howto-guide .hg-tiles { grid-template-columns: repeat(2, 1fr); }
  body.howto-guide .hg-tiles li { font-size: 14px; padding: 12px 6px; }
  body.howto-guide .hg-card { padding: 20px 16px; }
  body.howto-guide .hg-step { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px 16px; }
  body.howto-guide .hg-step__media { flex-basis: auto; }
  body.howto-guide .hg-step h3 { font-size: 19px; }
  body.howto-guide .hg-step__no { width: 44px; height: 44px; font-size: 20px; }
}
