@charset "utf-8";

.hero-section {
  padding: 72px 0 96px;
  background: linear-gradient(180deg, #ffd643 0%, #ffe36f 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr);
  align-items: center;
  gap: 40px;
}
.hero-copy h2 { margin-bottom: 22px; }
.hero-text {
  max-width: 560px;
  font-size: 18px;
  color: #333;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  min-height: 620px;
}
.phone {
  width: 330px;
  margin: 0 auto;
  padding: 16px;
  border-radius: 42px;
  background: #111;
  box-shadow: 0 36px 90px rgba(0,0,0,.18);
}
.phone-screen {
  min-height: 588px;
  padding: 22px;
  border-radius: 30px;
  background: linear-gradient(180deg, #f7f8fc 0%, #eef1f8 100%);
}
.screen-card {
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(0,0,0,.08);
}
.balance-card {
  padding: 28px;
}
.balance-card span,
.balance-card em { display: block; color: #666; }
.balance-card strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 34px;
  line-height: 1.15;
}
.feature-list {
  margin-top: 18px;
  padding: 10px 18px;
}
.feature-list > div {
  padding: 18px 0;
}
.feature-list > div + div {
  border-top: 1px solid rgba(17,17,17,.08);
}
.feature-list b {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}
.feature-list span { color: #666; font-size: 14px; }
.floating-card {
  position: absolute;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 45px rgba(0,0,0,.12);
}
.floating-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}
.floating-card span { color: #555; font-size: 14px; }
.fc-01 { left: 20px; top: 120px; }
.fc-02 { right: 0; bottom: 92px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
}
.service-card {
  overflow: hidden;
  border-radius: 34px;
  background: #f6f7f9;
}
.service-card.card-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}
.card-copy {
  padding: 42px;
}
.card-copy strong {
  display: block;
  margin-bottom: 16px;
  font-size: 30px;
  line-height: 1.2;
}
.card-copy p {
  font-size: 17px;
  color: #555;
}
.card-copy a {
  display: inline-flex;
  margin-top: 28px;
  font-weight: 700;
}
.card-visual {
  min-height: 280px;
}
.card-wide .card-visual { min-height: 360px; }

.feature-section { background: #fafafa; }
.feature-inner {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: center;
}
.feature-copy p:last-child {
  margin-top: 22px;
  font-size: 18px;
  color: #555;
}
.feature-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.feature-box {
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  min-height: 180px;
  box-shadow: 0 12px 32px rgba(0,0,0,.06);
}
.feature-box.dark {
  background: #111;
  color: #fff;
}
.feature-box span,
.feature-box em {
  display: block;
  color: inherit;
  opacity: .72;
}
.feature-box strong {
  display: block;
  margin: 18px 0 14px;
  font-size: 28px;
  line-height: 1.25;
}
.feature-box:first-child { grid-column: span 2; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}
.info-item {
  padding: 32px;
  border-radius: 28px;
  background: #fff7d6;
  min-height: 210px;
  transition: transform .25s ease;
}
.info-item:nth-child(2) { background: #f3f5f7; }
.info-item:nth-child(3) { background: #eef7ff; }
.info-item strong {
  display: block;
  margin-bottom: 16px;
  font-size: 28px;
}
.info-item span {
  display: block;
  font-size: 16px;
  color: #555;
}
.info-item:hover { transform: translateY(-4px); }

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 38px;
}
.story-card {
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(0,0,0,.08);
}
.story-thumb {
  aspect-ratio: 1.15 / 0.86;
}
.story-copy {
  padding: 30px;
}
.story-copy strong {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
}
.story-copy p {
  min-height: 52px;
  color: #555;
}
.story-copy a {
  display: inline-flex;
  margin-top: 22px;
  font-weight: 700;
}

.cta-section {
  padding: 90px 0;
  background: #ffe36f;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media all and (max-width: 1439px) {
  .hero-inner { grid-template-columns: .95fr 1.05fr; }
  .hero-visual { min-height: 580px; }
  .phone { width: 312px; }
  .phone-screen { min-height: 560px; }
  .card-copy strong { font-size: 28px; }
  .info-item strong { font-size: 25px; }
}

@media all and (max-width: 1279px) {
  .hero-section { padding: 52px 0 84px; }
  .hero-inner,
  .feature-inner {
    grid-template-columns: 1fr;
  }
  .hero-copy { order: 1; }
  .hero-visual {
    order: 2;
    min-height: auto;
    padding-top: 12px;
  }
  .fc-01 { left: 0; top: 80px; }
  .fc-02 { right: 8px; bottom: 34px; }
  .service-card.card-wide {
    grid-template-columns: 1fr;
  }
  .card-wide .card-visual { min-height: 300px; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media all and (max-width: 767px) {
  .hero-section { padding: 34px 0 72px; }
  .hero-text,
  .feature-copy p:last-child { font-size: 16px; }
  .hero-buttons { margin-top: 26px; }
  .hero-buttons .btn,
  .cta-actions .btn { width: 100%; }
  .hero-visual { padding-top: 24px; }
  .phone {
    width: min(100%, 320px);
    padding: 14px;
    border-radius: 36px;
  }
  .phone-screen {
    min-height: 520px;
    padding: 18px;
    border-radius: 26px;
  }
  .balance-card strong { font-size: 30px; }
  .floating-card {
    position: static;
    margin-top: 14px;
  }
  .service-grid,
  .info-grid,
  .story-grid,
  .feature-panel {
    grid-template-columns: 1fr;
  }
  .service-card.card-wide { grid-column: span 1; }
  .card-copy,
  .story-copy,
  .info-item,
  .feature-box { padding: 26px; }
  .card-copy strong,
  .info-item strong { font-size: 24px; }
  .story-copy strong { font-size: 22px; }
  .card-visual,
  .card-wide .card-visual { min-height: 220px; }
  .feature-box:first-child { grid-column: span 1; }
  .info-item { min-height: 180px; }
  .story-copy p { min-height: auto; }
  .cta-section { padding: 72px 0; }
}

@media all and (max-width: 320px) {
  .card-copy,
  .story-copy,
  .info-item,
  .feature-box,
  .balance-card { padding: 22px; }
  .balance-card strong { font-size: 28px; }
}
