@media (min-width: 769px) {

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Yu Gothic", "游ゴシック体", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #000;
  background: #ffffff;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

.wrap {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 16px 80px;
  background: transparent;
}

section {
  padding: 60px 0;
}

/* HERO */
.hero {
  padding-top: 80px;
  padding-bottom: 80px;
  color: #fff;
  text-align: center;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-bottom: 24px;
}

.hero-figure {
  position: relative;
  max-width: 800px;
  width: 100%;
  margin-left: auto;
}

.hero-person {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.hero-text-on-img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px 18px;
  text-align: left;
}

.hero-text-on-img .hero-label {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.7);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  background: rgba(0,0,0,0.4);
}

.hero-text-on-img .hero-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-text-on-img .hero-subtitle {
  font-size: 13px;
  color: #e5e7eb;
  margin: 0;
  text-shadow: 0 1px 5px rgba(0,0,0,0.7);
}

.hero-copy {
  font-size: 14px;
  max-width: 640px;
  margin: 0 auto 24px;
  color: #e5e7eb;
}

/* SECTION COMMON */
.section-title {
  text-align: center;
  color: #f9fafb;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  margin: 12px auto 0;
  background: linear-gradient(to right, #fbbf24, #f97316);
}

.section-lead {
  text-align: center;
  font-size: 14px;
  color: #e5e7eb;
  max-width: 680px;
  margin: 0 auto 32px;
}

/* BENEFITS */
.benefit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: radial-gradient(circle at top left, rgba(250,204,21,0.12), transparent 55%),
              #020617;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.4);
  padding: 20px 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  color: #fef9c3;
  margin-bottom: 8px;
}

.card-body {
  font-size: 13px;
  color: #e5e7eb;
}

/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.step {
  background: #020617;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.5);
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
}

.step-number {
  position: absolute;
  top: -18px;
  right: -8px;
  font-size: 72px;
  font-weight: 800;
  color: rgba(15,23,42,0.9);
}

.step-title {
  font-size: 14px;
  font-weight: 700;
  color: #fef3c7;
  margin-bottom: 6px;
}

.step-body {
  font-size: 13px;
  color: #e5e7eb;
}

/* THEMES */
#themes {
  background: radial-gradient(circle at 10% 20%, rgba(55,65,81,0.8) 0, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(30,64,175,0.7) 0, transparent 55%),
              #020617;
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.theme-card {
  background: rgba(15,23,42,0.92);
  border-radius: 18px;
  border: 1px solid rgba(250,204,21,0.6);
  padding: 18px 16px 20px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.7);
}

.theme-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.8);
  color: #e5e7eb;
  margin-bottom: 8px;
}

.theme-title {
  font-size: 15px;
  font-weight: 700;
  color: #fef9c3;
  margin-bottom: 6px;
}

.theme-desc {
  font-size: 13px;
  color: #e5e7eb;
  margin-bottom: 12px;
}

.btn-theme {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #facc15;
  font-size: 12px;
  font-weight: 700;
  color: #facc15;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn-theme:hover {
  background: #facc15;
  color: #1f2937;
  transform: translateY(-1px);
}

/* EXPERT */
.expert-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.expert-badge {
  font-size: 12px;
  color: #facc15;
  margin-bottom: 4px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.expert-name {
  font-size: 18px;
  font-weight: 700;
  color: #f9fafb;
  margin-bottom: 6px;
}

.expert-role {
  font-size: 13px;
  color: #e5e7eb;
  margin-bottom: 16px;
}

.expert-text {
  font-size: 13px;
  color: #e5e7eb;
}

.expert-card {
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.6);
  padding: 18px 16px;
  background: radial-gradient(circle at top, rgba(250,204,21,0.18), transparent 60%),
              #020617;
  text-align: center;
  color: #fefce8;
  font-size: 13px;
}

/* VOICES */
.voices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.voice {
  background: #020617;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.5);
  padding: 14px 14px 16px;
  font-size: 12px;
  color: #e5e7eb;
}

.voice-name {
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 4px;
  color: #fef9c3;
}

.voice-tag {
  font-size: 11px;
  color: #cbd5f5;
  margin-bottom: 6px;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(148,163,184,0.4);
  padding: 14px 0;
}

.faq-q {
  font-size: 14px;
  font-weight: 700;
  color: #fef9c3;
  margin-bottom: 4px;
}

.faq-a {
  font-size: 13px;
  color: #e5e7eb;
}

/* 数字選択セクション ---------------------------------- */

.number-section {
  padding-top: 60px;
  padding-bottom: 70px;
}

.number-stage-info {
  text-align: center;
  font-size: 14px;
  color: #fef9c3;
  margin-bottom: 12px;
}

.number-selected-view {
  text-align: center;
  font-size: 13px;
  color: #e5e7eb;
  margin-bottom: 18px;
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 12px;
  max-width: 520px;
  margin: 0 auto 18px;
}

.number-card {
  background: rgba(15,23,42,0.9);
  border-radius: 12px;
  border: 1px solid rgba(250,204,21,0.7);
  padding: 10px 0;
  font-size: 20px;
  font-weight: 700;
  color: #fef9c3;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.number-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.7);
  background: rgba(31,41,55,0.95);
}

.number-card.selected {
  background: linear-gradient(135deg, #facc15, #f97316);
  color: #1f2937;
  box-shadow: 0 14px 30px rgba(0,0,0,0.8);
}

.number-card:disabled {
  cursor: default;
  opacity: 0.7;
}

.number-roll-btn {
  margin: 0 auto 16px;
  display: inline-block;
}

.number-result {
  max-width: 640px;
  margin: 24px auto 0;
  padding: 18px 16px 20px;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
  font-size: 14px;
  text-align: center;
  display: none;
}

.number-result.show {
  display: block;
}

.number-grid.animating .number-card {
  animation: flicker 0.3s linear infinite alternate;
}

@keyframes flicker {
  from { opacity: 0.4; }
  to   { opacity: 1; }
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(148,163,184,0.5);
  padding: 18px 0 0;
  font-size: 11px;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-links a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.footer-copy {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 8px;
}

.company-info {
  font-size: 11px;
  color: #9ca3af;
}


.content {
  position: relative;
  z-index: 3;
}

/* 画面全体に固定される背景コンテナ */
.bg {
  position: fixed;
  top: 0;
   left: 50%;
  width: 750px;
  height: 100vh;
  transform: translateX(-50%);
  z-index: -1;
  overflow: hidden;
}

/* 一番下に敷く動画 */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;   /* 横長動画でも画面全体をカバー */
}

/* 動画の上に重ねる、半透明の静止画レイヤー */
.bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url("img/27012025.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  opacity: 0.7;          /* 透過度：ここを 0.2〜0.7 の間で調整 */
  pointer-events: none;  /* クリックを邪魔しないように */
}


.dial-rotate {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: dialSpin 80s linear infinite;
  opacity: 0.9;
}

@keyframes dialSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* スマホ調整 */
@media (max-width: 768px) {
  .hero-visual {
    justify-content: center;
  }
  .hero-figure {
    max-width: 280px;
  }
  .hero-text-on-img .hero-title {
    font-size: 18px;
  }
  .hero-text-on-img .hero-subtitle {
    font-size: 12px;
  }
  .hero-title {
    font-size: 24px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  section {
    padding: 44px 0;
  }
  .expert-layout {
    grid-template-columns: 1fr;
  }
  .number-grid {
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 円盤の位置を画面左側に固定表示で強制配置 */
.dial-wrap {
  position: absolute !important;   /* hero内で位置調整する */
  top: -300px !important;           /* 必ずpxをつける */
  left: 100px !important;
  width: 900px !important;         /* 大きさ変更 */
  height: 900px !important;
  z-index: 0;              /* 背景より前・コンテンツより少し後ろでも可 */
  pointer-events: none;
}


/* ★ 選択肢パネル（sentaku2.png）の背景エリア */
.choice-bg {
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;        /* コンテンツ手前に表示 */
}

/* ★ 背景画像を横幅いっぱいに広げる */
.choice-bg-img {
  width: 100%;
  height: auto;
  display: block;
}



/* ★ 鑑定紹介用の枠画像パネル */
.waku-area {
  width: 100%;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
}

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

.choice-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
/* sentaku2 の背景パネル */
.choice-bg {
  width: 100%;
  position: relative;
  margin: 40px 0;  /* 余白は調整可 */
}

/* 背景画像は幅いっぱい */
.choice-bg-img {
  width: 100%;
  height: auto;
  display: block;
}

/* 背景の上に内容（数字選択）を重ねる */
.choice-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px; /* 背景の内側に余白をつけると綺麗 */
  box-sizing: border-box;
}
.waku-area {
  width: 100%;
  margin: 0 auto;
  position: relative;
  text-align: center; /* 中央寄せの補強 */
}

.waku-img {
  display: block;      /* ←画像をブロック要素にする */
  margin: 0 auto;      /* ←ブロック要素なら中央寄せが効く */
  width: 100%;         /* 幅いっぱいにしたいならこれも維持 */
  height: auto;
}
/* ▼「お客様の声」縦並びエリア */
.voice-vertical {
  width: 100%;
  max-width: 480px;      /* スマホ幅に合わせて中央寄せ */
  margin: 0 auto;        /* セクション中央寄せ */
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;             /* 各枠の上下の間隔 */
}

/* ▼ 各アイテム（画像の外側の枠） */
.voice-item {
  width: 100%;
  padding: 0 16px;       /* 左右の余白（調整OK） */
  box-sizing: border-box;
}

/* ▼ uservoice 画像（幅いっぱい・中央寄せ） */
.voice-img {
  width: 100%;
  height: auto;
  display: block;
}
/* ▼ お客様の声（縦配置）の中央寄せを強制する */
.voice-vertical {
  width: 100%;
  max-width: 480px;      /* スマホ幅想定（変更可） */
  margin: 0 auto;        /* 中央寄せ */
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;   /* ←★これが中央寄せの決定打 */
  gap: 24px;
}

/* 画像を入れる枠（必ず中央） */
.voice-item {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center; /* ← これも中央寄せ */
  padding: 0 16px;         /* 左右の余白 */
  box-sizing: border-box;
}

/* 画像本体 */
.voice-img {
  width: 100%;
  height: auto;
  display: block;
}

}