* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: #1f2a24;
  background: #ffffff;
  line-height: 1.7;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #e9f0ec;
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  display: block;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #08284b;
  box-shadow: 0 4px 12px rgba(8, 40, 75, 0.14);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: none;
  filter: none;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
  color: #4a5b51;
}

.nav a:hover {
  color: #148956;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(32, 187, 119, 0.12), transparent 34%),
    linear-gradient(180deg, #f7fcf9 0%, #ffffff 100%);
}

.hero-inner {
  min-height: 660px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 72px;
  padding: 80px 0;
}

.app-identity {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.app-icon {
  width: 72px;
  height: 72px;
  display: block;
  flex: 0 0 auto;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(21, 150, 94, 0.16);
}

.app-identity-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
}

.app-identity-text strong {
  color: #1f2a24;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.app-identity-text span {
  margin-top: 5px;
  color: #148956;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #148956;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.9rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero-title-line {
  display: block;
  color: #15965e;
  white-space: nowrap;
}

.hero-title-line-dark {
  color: #1f2a24;
}

.hero-text {
  max-width: 680px;
  margin: 28px 0 0;
  color: #536158;
  font-size: 1.08rem;
}

.hero-text-break {
  display: block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.google-play-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 56px;
  padding: 0 4px;
  text-decoration: none;
}

.google-play-badge {
  width: 180px;
  height: auto;
  display: block;
}

.google-play-badge-link-light {
  align-self: center;
}

.button-primary {
  background: #15965e;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(21, 150, 94, 0.22);
}

.button-primary:hover {
  background: #128253;
}

.button-secondary {
  border: 1px solid #d9e6de;
  background: #ffffff;
  color: #30443a;
}

.small-note {
  margin-top: 18px;
  color: #819087;
  font-size: 0.87rem;
}

.hero-card {
  display: flex;
  justify-content: center;
}

.hero-device-wrap {
  width: min(320px, 100%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  filter: drop-shadow(0 26px 42px rgba(34, 75, 53, 0.16));
}

.hero-device-image {
  width: 100%;
  height: auto;
  display: block;
}

.phone-shell {
  width: min(360px, 90%);
  padding: 16px;
  border-radius: 38px;
  background: #17211c;
  box-shadow: 0 32px 70px rgba(34, 75, 53, 0.18);
}

.phone-top {
  width: 92px;
  height: 7px;
  margin: 0 auto 16px;
  border-radius: 99px;
  background: #46534c;
}

.app-preview {
  min-height: 520px;
  padding: 34px 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, #f5fff9 0%, #ffffff 55%);
}

.preview-label {
  color: #15965e;
  font-size: 0.85rem;
  font-weight: 800;
}

.preview-title {
  margin: 12px 0 30px;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.preview-row {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 14px;
  margin: 14px 0;
  padding: 16px;
  border: 1px solid #e1eee7;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(46, 88, 64, 0.06);
}

.preview-icon {
  font-size: 1.5rem;
}

.preview-row strong,
.preview-row span {
  display: block;
}

.preview-row div span {
  margin-top: 3px;
  color: #75847b;
  font-size: 0.82rem;
}

.section {
  padding: 96px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading h2,
.about-card h2,
.cta-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.section-heading p {
  color: #66766d;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  min-height: 260px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2ece6;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(38, 74, 53, 0.06);
}

.feature-visual {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f5faf7;
  border-bottom: 1px solid #e7f0eb;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.feature-body {
  flex: 1;
  padding: 26px 28px 30px;
}

.feature-number {
  color: #15965e;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.feature-card h3 {
  margin: 16px 0 12px;
  font-size: 1.35rem;
}

.feature-card p {
  margin: 0;
  color: #65746b;
}

.recommendation-section {
  background: #ffffff;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.recommend-card {
  min-height: 230px;
  padding: 30px;
  border: 1px solid #dfece5;
  border-radius: 24px;
  background: #f8fcf9;
}

.recommend-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #e7f7ee;
  color: #15965e;
  font-size: 1.35rem;
  font-weight: 900;
}

.recommend-card h3 {
  margin: 18px 0 12px;
  font-size: 1.28rem;
  line-height: 1.45;
}

.recommend-card p {
  margin: 0;
  color: #65746b;
}

.section-soft {
  background: #f4faf6;
}

.about-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.about-card h2 {
  font-size: clamp(2rem, 3vw, 2.4rem);
}

.about-card p {
  margin: 0;
  color: #5e6f65;
  font-size: 1.04rem;
}

.about-text-break {
  display: block;
}

.cta-section {
  padding-top: 72px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 44px;
  border-radius: 30px;
  background: linear-gradient(135deg, #128957, #20ad70);
  color: #ffffff;
}

.cta-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.78);
}

.button-light {
  flex: 0 0 auto;
  background: #ffffff;
  color: #11764c;
}

.site-footer {
  margin-top: 24px;
  padding: 48px 0 24px;
  border-top: 1px solid #e8efeb;
  background: #fbfdfc;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.footer-brand-mark {
  width: 44px;
  height: 44px;
  display: block;
  flex: 0 0 auto;
  border-radius: 13px;
  object-fit: cover;
}

.footer-brand-text strong {
  display: block;
  font-size: 1rem;
}

.footer-brand-text p {
  margin: 6px 0 0;
  color: #75847b;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
}

.footer-links a {
  color: #54665c;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: #15965e;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #edf2ef;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #95a199;
  font-size: 0.8rem;
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 64px 0 72px;
  }

  .hero-copy {
    text-align: center;
  }

  .app-identity {
    justify-content: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .recommend-grid {
    grid-template-columns: 1fr;
  }

  .about-card {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .about-text-break {
    display: none;
  }

  .cta-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 64px;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 50px;
  }

  .app-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .app-identity {
    gap: 12px;
    margin-bottom: 20px;
  }

  .app-identity-text strong {
    font-size: 1.16rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 11vw, 2.55rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-text-break {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .google-play-badge-link {
    width: 100%;
    min-height: auto;
    padding: 0;
  }

  .google-play-badge {
    width: 190px;
  }

  .hero-device-wrap {
    width: min(310px, 82vw);
  }

  .phone-shell {
    width: 100%;
  }

  .app-preview {
    min-height: 480px;
    padding: 28px 20px;
  }

  .section {
    padding: 72px 0;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-visual {
    aspect-ratio: 4 / 5;
  }

  .feature-body {
    padding: 24px;
  }

  .recommend-card {
    min-height: auto;
    padding: 26px;
  }

  .cta-card {
    padding: 30px 24px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}
