*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --blue: #0067FF;
  --navy: #0F172A;
  --gray: #555;
  --light-bg: #F5F8FC;
  --line-green: #06C755;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  padding-bottom: 80px;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ============ FULL-WIDTH IMAGE SECTIONS ============ */
.img-section img { width: 100%; }

/* ============ CTA ============ */
.cta-bar {
  padding: 24px 20px;
  text-align: center;
  background: #f0f6ff;
}
.btn-line-img {
  display: block;
  max-width: 480px;
  margin: 0 auto;
  transition: transform 0.2s;
}
.btn-line-img:hover { transform: translateY(-2px); }
.btn-line-img img { width: 100%; }

/* ============ SECTION HEADER ============ */
.section-header {
  text-align: center;
  padding: 48px 20px 24px;
}
.section-header h2 {
  font-size: 24px; font-weight: 900; color: var(--blue);
  margin-bottom: 4px;
}
.section-header .en-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 600; color: #999;
  letter-spacing: 2px;
}
.section-header .divider {
  width: 60px; height: 3px; background: var(--blue);
  margin: 12px auto 0; border-radius: 2px;
}

/* ============ FEATURES & SERVICE (shared) ============ */
.wine-section {
  background: #F0F6FF;
  padding: 0 24px 48px;
}
.wine-section .section-header h2 { color: var(--blue); }
.wine-section .section-header .divider { background: var(--blue); }

.wine-block { margin-bottom: 48px; }
.wine-block-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 8px;
}
.wine-block-body { padding: 16px 0 0; }
.wine-block-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px; font-weight: 900;
  color: rgba(0, 103, 255, 0.12);
  line-height: 1; margin-bottom: 4px;
}
.wine-block-body h3 {
  font-size: 20px; font-weight: 900; color: var(--blue);
  line-height: 1.5; margin-bottom: 16px;
}
.wine-block-body p { font-size: 14px; color: var(--gray); line-height: 2; }
.wine-block-body p strong { color: #FF4F81; font-weight: 800; }
.wine-block-tag {
  display: inline-block; margin-top: 16px;
  color: var(--blue); font-size: 13px; font-weight: 700;
  border-bottom: 1px solid var(--blue); padding-bottom: 2px;
}

/* ============ REVENUE ============ */
.revenue-section {
  padding: 48px 0;
  background: linear-gradient(180deg, #0055DD 0%, #003DA5 100%);
  color: #fff;
}
.revenue-section .section-header h2 { color: #fff; }
.revenue-section .section-header .en-sub { color: rgba(255,255,255,0.5); }
.revenue-section .section-header .divider { background: rgba(255,255,255,0.3); }

.revenue-cards { padding: 0 20px; }
.revenue-card {
  margin-bottom: 20px; border-radius: 16px; overflow: hidden;
  background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.revenue-card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; background: #fff;
  border-bottom: 2px solid var(--blue);
}
.revenue-card-header h4 { font-size: 16px; font-weight: 800; color: var(--blue); }
.revenue-card-header .rev-badge {
  font-size: 11px; font-weight: 700;
  background: #FF4F81; color: #fff;
  padding: 3px 10px; border-radius: 20px;
}
.revenue-card-body { position: relative; padding: 20px; }

/* ---- bar chart ---- */
.rev-chart { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding-bottom: 24px; border-bottom: 1px solid #e0e0e0; position: relative; overflow: visible; }
.rev-bar-group { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; position: relative; }
.rev-bar { width: 70%; background: #5AC8FA; border-radius: 3px 3px 0 0; min-height: 2px; height: var(--h); transition: height 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.rev-bar-label { font-size: 9px; color: #999; font-family: 'Montserrat', sans-serif; position: relative; bottom: auto; margin-top: 4px; }
.rev-chart-legend { display: flex; justify-content: flex-end; gap: 12px; margin-top: 8px; font-size: 10px; color: #999; }
.rev-chart-legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: middle; }
.rev-chart-legend .leg-sales::before { background: #5AC8FA; }

/* ---- animations ---- */
.revenue-card { opacity: 0; transform: translateY(40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.revenue-card.is-visible { opacity: 1; transform: translateY(0); }
.revenue-card:not(.is-visible) .rev-bar { --h: 0% !important; }
.revenue-card.is-visible .rev-bar-group:nth-child(1) .rev-bar { transition-delay: 0.2s; }
.revenue-card.is-visible .rev-bar-group:nth-child(2) .rev-bar { transition-delay: 0.4s; }
.revenue-card.is-visible .rev-bar-group:nth-child(3) .rev-bar { transition-delay: 0.6s; }
.revenue-card.is-visible .rev-bar-group:nth-child(4) .rev-bar { transition-delay: 0.8s; }
.revenue-card .rev-table tbody tr { opacity: 0; transform: translateX(-20px); transition: opacity 0.4s ease, transform 0.4s ease; }
.revenue-card.is-visible .rev-table tbody tr { opacity: 1; transform: translateX(0); }
.revenue-card.is-visible .rev-table tbody tr:nth-child(1) { transition-delay: 0.5s; }
.revenue-card.is-visible .rev-table tbody tr:nth-child(2) { transition-delay: 0.7s; }
.revenue-card.is-visible .rev-table tbody tr:nth-child(3) { transition-delay: 0.9s; }
.revenue-card.is-visible .rev-table tbody tr:nth-child(4) { transition-delay: 1.1s; }
.revenue-card .revenue-card-stat { opacity: 0; transition: opacity 0.5s ease 1s; }
.revenue-card.is-visible .revenue-card-stat { opacity: 1; }

/* ---- data table ---- */
.rev-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 12px; }
.rev-table thead { background: #f5f5f5; }
.rev-table th { padding: 8px 6px; font-weight: 700; color: #666; font-size: 11px; text-align: center; }
.rev-table td { padding: 10px 6px; text-align: center; border-bottom: 1px solid #f0f0f0; color: #333; }
.rev-table td:first-child { text-align: left; color: #666; }
.rev-table .td-sales { font-weight: 700; font-family: 'Montserrat', sans-serif; }
.revenue-card-stat {
  display: flex; justify-content: space-around;
  padding: 12px 16px; background: #F0F6FF;
  border-top: 1px solid #E0EAFF;
}
.rev-stat-item { text-align: center; }
.rev-stat-item .rs-value { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 800; color: var(--blue); }
.rev-stat-item .rs-label { font-size: 10px; color: var(--gray); }
.revenue-note { font-size: 11px; color: rgba(255,255,255,0.5); text-align: center; margin-top: 16px; padding: 0 20px; }

/* ============ FLOW ============ */
.flow-section { background: #fff; padding: 48px 20px; }
.flow-section .section-header h2 { color: var(--blue); }
.flow-section .section-header .divider { background: var(--blue); }
.flow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.flow-card { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; }
.flow-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flow-card-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 80, 200, 0.6);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; text-align: center; padding: 16px;
}
.flow-card-overlay .flow-num { font-family: 'Montserrat', sans-serif; font-size: 36px; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.flow-card-overlay .flow-line { width: 30px; height: 2px; background: #fff; margin: 8px auto; }
.flow-card-overlay .flow-label { font-size: 14px; font-weight: 700; line-height: 1.5; }
.flow-card:last-child { grid-column: 1 / 2; }

/* ============ ABOUT ============ */
.about-section { padding: 48px 20px; background: #fff; }
.about-profile { max-width: 700px; margin: 0 auto; text-align: left; border-left: 4px solid var(--blue); padding-left: 20px; }
.about-profile .about-label { font-size: 2rem; font-weight: bold; margin: 0; }
.about-profile .about-subtitle { font-size: 1.1rem; color: #666; margin-top: 4px; }
.about-profile .about-name { font-size: 2rem; margin: 24px 0 0; }
.about-profile .about-name-en { color: #999; font-size: 1rem; margin-top: 4px; }
.about-profile .about-photo { width: 100%; border-radius: 8px; margin: 20px 0; }
.about-profile .about-title { font-weight: bold; font-size: 1.1rem; margin-bottom: 8px; }
.about-profile .about-desc { line-height: 1.8; font-size: 14px; }

/* ============ STICKY CTA ============ */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  padding: 12px 20px;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  max-width: 500px; margin: 0 auto;
}
.sticky-cta .btn-line-img { max-width: 100%; }
.sticky-cta .btn-line-img img { width: 100%; }
