/* ==========================================================================
   Chari Stroll — パートナー募集LP
   ========================================================================== */

:root {
  --color-cream: #FDF6E9;
  --color-cream-soft: #FFFFFF;
  --color-green-dark: #3A6020;
  --color-green-light: #5A7A2E;
  --color-orange: #E8743B;
  --color-yellow: #F0C040;
  --color-text: #2C2C2A;
  --color-text-soft: #5C5D55;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Josefin Sans', sans-serif;

  --shadow-card: 0 10px 30px rgba(58, 96, 32, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--color-green-dark);
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.section--alt {
  background: var(--color-cream-soft);
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-head p {
  color: var(--color-text-soft);
}

.eyebrow {
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--color-orange);
  margin-bottom: 10px;
}

h2 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
}

h3 {
  font-size: clamp(1.15rem, 3.5vw, 1.4rem);
  margin-bottom: 8px;
}

h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-body);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-green-dark);
  color: var(--color-cream);
}

.btn-primary:hover {
  background: var(--color-green-light);
  box-shadow: 0 8px 20px rgba(58, 96, 32, 0.25);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-green-dark);
  color: var(--color-green-dark);
}

.btn-outline:hover {
  background: var(--color-green-dark);
  color: var(--color-cream);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(253, 246, 233, 0.6);
  color: var(--color-cream);
}

.btn-outline-light:hover {
  background: var(--color-cream);
  color: var(--color-green-dark);
}

.btn-accent {
  background: var(--color-orange);
  color: #FFFFFF;
}

.btn-accent:hover {
  background: #d4622c;
  box-shadow: 0 8px 20px rgba(232, 116, 59, 0.3);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.85rem;
}

.btn--sm .icon {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 246, 233, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(58, 96, 32, 0);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 14px rgba(58, 96, 32, 0.08);
  border-bottom-color: rgba(58, 96, 32, 0.08);
}

.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-green-dark);
}

.brand img {
  width: 36px;
  height: 36px;
}

.brand span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-top: 0;
  padding-bottom: 64px;
}

.hero__inner {
  padding-top: 40px;
}

.hero__text {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.2rem, 7.5vw, 3.6rem);
  margin-bottom: 18px;
}

.hero .lead {
  font-size: 1.05rem;
  color: var(--color-text-soft);
  max-width: 520px;
  margin: 0 auto 28px;
}

@keyframes badge-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-yellow);
  color: var(--color-green-dark);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  padding: 16px;
  margin-bottom: 18px;
  animation: badge-pulse 2.5s ease-in-out infinite;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero__cta--center {
  justify-content: center;
}

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

/* --------------------------------------------------------------------------
   Concept diagram & steps
   -------------------------------------------------------------------------- */
.concept-diagram {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  max-width: 920px;
  margin: 0 auto 56px;
}

.concept-node {
  flex: 1;
  background: var(--color-cream-soft);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.concept-node--cs {
  background: var(--color-green-dark);
  color: var(--color-cream);
}

.concept-node--cs h3 {
  color: var(--color-cream);
}

.concept-node h3 {
  margin-bottom: 8px;
}

.concept-node p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-text-soft);
}

.concept-node--cs p {
  color: rgba(253, 246, 233, 0.85);
}

.concept-node .icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-green-dark);
}

.concept-node--cs .icon-wrap {
  background: rgba(253, 246, 233, 0.12);
}

.concept-node--cs .icon-wrap img {
  width: 32px;
  height: 32px;
}

.concept-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-green-light);
  transform: rotate(90deg);
}

.steps-title {
  text-align: center;
  margin-bottom: 32px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  max-width: 920px;
  margin: 0 auto;
}

.step {
  text-align: center;
  background: var(--color-cream-soft);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
  box-shadow: var(--shadow-card);
}

.step__num {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-orange);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.step .icon-wrap {
  width: 52px;
  height: 52px;
  margin: 12px auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-green-dark);
}

.step h4 {
  margin-bottom: 6px;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-green-light);
  transform: rotate(90deg);
  padding: 2px 0;
}

/* --------------------------------------------------------------------------
   Voice cards
   -------------------------------------------------------------------------- */
.voice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.voice-card {
  background: var(--color-cream-soft);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid rgba(58, 96, 32, 0.08);
}

.section--alt .voice-card {
  background: var(--color-cream);
  border-color: rgba(58, 96, 32, 0.06);
}

.voice-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(232, 116, 59, 0.12);
  color: var(--color-orange);
  margin-bottom: 16px;
}

.voice-card p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-green-dark);
}

/* --------------------------------------------------------------------------
   Benefit cards
   -------------------------------------------------------------------------- */
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.benefit-card {
  background: var(--color-cream-soft);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border-top: 4px solid var(--color-yellow);
}

.benefit-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--color-cream);
  color: var(--color-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.benefit-card h3 {
  font-size: 1.15rem;
}

.benefit-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

.benefit-download {
  text-align: center;
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   Flyer preview & modal
   -------------------------------------------------------------------------- */
.flyer-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 640px;
  margin: 40px auto 0;
}

.flyer-preview__item {
  position: relative;
  display: block;
  padding: 0;
  border: none;
  background: var(--color-cream-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.flyer-preview__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(58, 96, 32, 0.14);
}

.flyer-preview__item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.flyer-preview__label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-green-dark);
  color: var(--color-cream);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.flyer-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.flyer-modal[hidden] {
  display: none;
}

.flyer-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 44, 42, 0.85);
}

.flyer-modal__content {
  position: relative;
}

.flyer-modal__img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(90vw, 900px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.flyer-modal__close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-cream-soft);
  color: var(--color-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

/* --------------------------------------------------------------------------
   Traveler value list
   -------------------------------------------------------------------------- */
.value-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.value-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--color-cream-soft);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.value-item .icon {
  color: var(--color-green-light);
  margin-top: 3px;
}

.value-item p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Revenue simulation
   -------------------------------------------------------------------------- */
.sim-note {
  background: var(--color-cream-soft);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.sim-note p {
  margin: 0;
  color: var(--color-text-soft);
}

.sim-note strong {
  color: var(--color-green-dark);
}

.sim-table-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.sim-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-cream-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.sim-table th,
.sim-table td {
  padding: 16px;
  text-align: center;
}

.sim-table thead th {
  background: var(--color-green-dark);
  color: var(--color-cream);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  font-weight: 400;
  font-size: 1rem;
}

.sim-table tbody th {
  background: var(--color-cream);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--color-green-dark);
}

.sim-table tbody td {
  font-weight: 600;
  color: var(--color-green-dark);
  border-bottom: 1px solid rgba(58, 96, 32, 0.07);
}

.sim-table tbody tr:last-child td {
  border-bottom: none;
}

.sim-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-soft);
  margin: 20px 0 0;
}

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-cream-soft);
  border-radius: var(--radius-md);
  border: 1px solid rgba(58, 96, 32, 0.08);
  overflow: hidden;
}

.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-green-dark);
  cursor: pointer;
}

.faq-item__q .icon {
  color: var(--color-orange);
  transition: transform 0.25s ease;
}

.faq-item[data-open="true"] .faq-item__q .icon {
  transform: rotate(180deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item__a p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--color-text-soft);
}

/* --------------------------------------------------------------------------
   Final CTA & footer
   -------------------------------------------------------------------------- */
.cta-section {
  background: var(--color-green-dark);
  color: var(--color-cream);
}

.cta-section .section-head h2,
.cta-section .section-head p {
  color: var(--color-cream);
}

.cta-section .section-head p {
  opacity: 0.85;
}

.site-footer {
  background: var(--color-cream);
  color: var(--color-text-soft);
  padding: 40px 0;
  font-size: 0.9rem;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.site-footer__links p {
  margin: 0 0 8px;
}

.site-footer__links p:last-child {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--color-green-dark);
  font-weight: 600;
  text-decoration: underline;
}

.site-footer .copyright {
  opacity: 0.6;
  font-size: 0.8rem;
}

.site-footer__social {
  display: flex;
  gap: 12px;
}

.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-cream-soft);
  color: var(--color-green-dark);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.site-footer__social a:hover {
  background: var(--color-green-dark);
  color: var(--color-cream);
  transform: translateY(-2px);
}

.site-footer__social .icon {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   Static content pages (privacy policy etc.)
   -------------------------------------------------------------------------- */
.policy__inner {
  max-width: 760px;
}

.policy h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
}

.policy__content {
  background: var(--color-cream-soft);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
}

.policy__content h2 {
  margin-top: 32px;
}

.policy__content p,
.policy__content li {
  color: var(--color-text-soft);
}

.policy__content ul {
  list-style: disc;
  padding-left: 1.4em;
  margin: 0 0 16px;
}

.policy__content li {
  margin-bottom: 4px;
}

.policy__content a {
  color: var(--color-green-dark);
  font-weight: 600;
  text-decoration: underline;
}

.policy__meta {
  margin: 32px 0 0;
  font-size: 0.85rem;
  text-align: right;
}

.policy__back {
  text-align: center;
  margin-top: 32px;
}

/* --------------------------------------------------------------------------
   Responsive: tablet (>= 640px)
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .voice-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .voice-grid--4,
  .benefit-grid,
  .value-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-item:last-child {
    grid-column: 1 / -1;
  }

  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .site-footer__links p:last-of-type {
    text-align: right;
  }
}

/* --------------------------------------------------------------------------
   Responsive: desktop (>= 960px)
   -------------------------------------------------------------------------- */
@media (min-width: 960px) {
  .concept-diagram {
    flex-direction: row;
    align-items: center;
  }

  .concept-connector {
    transform: none;
  }

  .steps {
    flex-direction: row;
    align-items: stretch;
  }

  .step {
    flex: 1;
  }

  .step-arrow {
    transform: none;
    padding: 0 4px;
  }

  .voice-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .benefit-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Responsive: simulation table -> cards on small screens
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
  .sim-table thead {
    display: none;
  }

  .sim-table,
  .sim-table tbody,
  .sim-table tr,
  .sim-table th,
  .sim-table td {
    display: block;
    width: 100%;
  }

  .sim-table tr {
    border-bottom: 8px solid var(--color-cream);
  }

  .sim-table tr:last-child {
    border-bottom: none;
  }

  .sim-table tbody th {
    text-align: center;
    padding: 14px 16px;
  }

  .sim-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    padding: 12px 20px;
  }

  .sim-table tbody td::before {
    content: attr(data-label);
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-text-soft);
  }
}
