* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: transparent; }

:root {
  --bg:     #f0e8df;
  --bg2:    #faf6f2;
  --bg3:    #f4ede4;
  --border: #e8ddd4;
  --text:   #261a14;
  --sub:    #6b5448;
  --accent: #e8364a;
  --female: #f0607a;
}

.banner {
  -webkit-text-decoration: none;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  display: flex;
  width: 100%;
  max-width: 600px;
  min-height: 108px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  background: var(--bg2);
  border: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(60,20,10,0.07);
  align-items: stretch;
  transition: box-shadow .2s, transform .2s;
}
.banner:hover {
  box-shadow: 0 8px 32px rgba(60,20,10,0.13);
  transform: translateY(-2px);
  text-decoration: none !important;
}

/* 左アクセントライン */
.ban-stripe {
  width: 5px;
  flex-shrink: 0;
  background: linear-gradient(to bottom, var(--female), var(--accent));
}

/* 本文エリア */
.ban-body {
  flex: 1;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.ban-logo {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 21px;
  color: var(--text);
  line-height: 1;
  letter-spacing: .01em;
}
.ban-logo span { color: var(--accent); }
.ban-tagline {
  font-size: 12px;
  color: var(--sub);
  line-height: 1.6;
  font-family: 'Noto Sans JP', sans-serif;
}
.ban-tagline b { color: var(--text); font-weight: 700; }
.ban-cta {
  margin-top: 4px;
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: .05em;
  font-family: 'Noto Sans JP', sans-serif;
  transition: opacity .15s;
}
.banner:hover .ban-cta { opacity: .85; }

/* 右グラフエリア */
.ban-right {
  width: 132px;
  flex-shrink: 0;
  background: var(--bg3);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 14px;
  gap: 9px;
}
.mini-bar-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.mini-bar-label {
  font-size: 9px;
  color: var(--sub);
  width: 20px;
  flex-shrink: 0;
  text-align: right;
  font-family: 'Noto Sans JP', sans-serif;
}
.mini-bar-track {
  flex: 1;
  height: 7px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.mini-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--female), var(--accent));
  animation: grow-bar 1.2s ease-out forwards;
  transform-origin: left;
  transform: scaleX(0);
}
@keyframes grow-bar { to { transform: scaleX(1); } }
.mini-bar-pct {
  font-size: 9px;
  color: var(--accent);
  width: 26px;
  flex-shrink: 0;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
}

@media (max-width: 400px) {
  .ban-right  { width: 100px; padding: 14px 10px; }
  .ban-logo   { font-size: 17px; }
  .ban-tagline { font-size: 11px; }
}