* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', YuGothic, Meiryo, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #d6cfc1;
  color: #111827;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Hero Section */
.hero-section {
  background: linear-gradient(to bottom, #736356, #362c24);
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-text {
  max-width: 435px;
  flex: 1 1 400px;
}

.hero-heading {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.35px;
  margin-bottom: 28px;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.hero-heading-white {
  display: block;
  color: #ffffff;
}

.hero-heading-gold {
  display: block;
  background: linear-gradient(to bottom, #c29544 0%, #eee29b 50%, #c29544 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mobile-tablet-only {
  display: none;
}

.hero-description {
  font-size: 20px;
  line-height: 1.625;
  color: #d6cfc1;
  margin-bottom: 48px;
  letter-spacing: -0.45px;
}

.app-store-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.app-store-buttons img {
  height: 44px;
  width: auto;
}

.app-store-buttons img.googleplay-btn {
  height: 47px;
}

.hero-image {
  flex: 0 0 auto;
}

.hero-image img {
  width: 256px;
  height: auto;
}

/* Main Content */
.main-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 160px 24px 0;
}

/* Section Heading */
.section-heading {
  font-size: 36px;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  background: linear-gradient(to bottom, #736356, #362c24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.37px;
  margin-bottom: 12px;
}

.section-subheading {
  font-size: 16px;
  text-align: center;
  color: #573c39;
  letter-spacing: -0.31px;
  margin-bottom: 40px;
}

/* Features Section */
.features-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 120px;
}

.feature-card {
  background: linear-gradient(to bottom, #736356, #362c24);
  border: 4px solid #c29544;
  border-radius: 16px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(214, 207, 193, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.feature-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: #ffffff;
  letter-spacing: -0.44px;
  margin-bottom: 12px;
}

.feature-description {
  font-size: 14px;
  line-height: 1.625;
  color: #d9ceb8;
  letter-spacing: -0.15px;
  text-align: left;
}

/* Mission Section */
.mission-section {
  margin-bottom: 120px;
}

.mission-card {
  background: linear-gradient(to bottom, #736356, #362c24);
  border: 4px solid #c29544;
  border-radius: 16px;
  padding: 41px;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 8px 10px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.mission-list {
  list-style: none;
  margin-bottom: 24px;
}

.mission-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.mission-item:last-child {
  margin-bottom: 0;
}

.mission-item svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background-color: rgba(214, 207, 193, 0.2);
  border-radius: 50%;
  padding: 4px;
  margin-top: 4px;
}

.mission-item h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  letter-spacing: -0.31px;
  margin-bottom: 4px;
}

.mission-item p {
  font-size: 14px;
  line-height: 1.4;
  color: #d9ceb8;
  letter-spacing: -0.15px;
}

.mission-footer {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: #d9ceb8;
  text-align: center;
  letter-spacing: -0.15px;
  padding-top: 25px;
  border-top: 1px solid rgba(203, 175, 67, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sparkle-icon {
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 4px;
}

/* How to Use Section */
.howto-section {
  margin-bottom: 120px;
}

.howto-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.howto-step {
  text-align: center;
}

.howto-icon-wrapper {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.howto-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(to bottom, #736356, #362c24);
  border: 2px solid #c29544;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

.howto-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  background-color: #cbaf43;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  color: #111827;
  letter-spacing: -0.15px;
}

.howto-step h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #111827;
  letter-spacing: -0.44px;
  margin-bottom: 12px;
}

.howto-step p {
  font-size: 14px;
  line-height: 1.4;
  color: #573c39;
  letter-spacing: -0.15px;
  white-space: nowrap;
}

/* Screenshots Section */
.screenshots-section {
  margin-bottom: 160px;
}  /* CTAの上の余白 */

.screenshots-section .section-heading {
  margin-bottom: 48px;
}

.screenshot-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.screenshot-carousel {
  display: flex;
  gap: 24px;
  justify-content: center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.screenshot-carousel::-webkit-scrollbar {
  display: none;
}

.screenshot-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: 260px;
}

.screenshot-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.carousel-dots {
  display: none;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(115, 99, 86, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease;
}

.carousel-dot.active {
  background-color: #c29544;
}

.carousel-dot:hover {
  background-color: rgba(194, 149, 68, 0.6);
}

.carousel-dot:focus {
  outline: 2px solid #c29544;
  outline-offset: 2px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(to bottom, #736356, #362c24);
  padding: 80px 24px;
  text-align: center;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-heading {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.37px;
  margin-bottom: 32px;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.cta-heading-white {
  display: inline;
  color: #ffffff;
}

.cta-heading-gold {
  display: inline;
  background: linear-gradient(to bottom, #c29544 0%, #eee29b 50%, #c29544 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-description {
  font-size: 18px;
  line-height: 1.6;
  color: #d6cfc1;
  margin-bottom: 32px;
}

/* Footer */
.footer {
  background-color: #000000;
  padding: 56px 24px;
}

.footer-content {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.footer-company {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-support {
  font-size: 14px;
  line-height: 1.2;
  color: #d9ceb8;
  margin-bottom: 32px;
}

.footer-support a {
  color: #d9ceb8;
  text-decoration: none;
}

.footer-support a:hover {
  text-decoration: underline;
}

.footer-copyright {
  font-size: 13px;
  line-height: 1.2;
  color: #97847b;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    flex-wrap: nowrap;
  }

  .hero-text {
    flex: 0 1 auto;
    max-width: 350px;
  }

  .hero-heading {
    font-size: 40px;
  }

  .hero-description {
    font-size: 18px;
    margin-bottom: 32px;
  }

  .hero-image img {
    width: 220px;
  }
}

@media (max-width: 480px) {
  .mobile-tablet-only {
    display: inline;
  }

  body {
    text-align: left;
  }

  .section-heading,
  .section-subheading {
    text-align: center;
  }

  .footer-content {
    text-align: center;
  }

  .cta-heading,
  .cta-description {
    text-align: center;
  }

  .screenshots-section {
    margin-left: -16px;
    margin-right: -16px;
  }

  .screenshots-section .section-heading {
    padding: 0 16px;
  }

  .screenshot-carousel {
    padding: 0;
    gap: 16px;
  }

  .cta-heading-white,
  .cta-heading-gold {
    display: block;
  }

  .hero-section {
    min-height: auto;
    padding: 60px 24px;
  }

  .hero-content {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto auto;
    gap: 0;
    align-items: center;
    justify-content: center;
    justify-items: start;
  }

  .hero-text {
    display: contents;
  }

  .hero-heading {
    font-size: 24px;
    width: 180px;
    grid-column: 1;
    grid-row: 1;
    text-align: left;
    margin-top: 30px;
    margin-bottom: 0;
  }

  .hero-heading-white {
    white-space: nowrap;
  }

  .hero-heading-gold {
    white-space: normal;
  }

  .hero-image {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .hero-image img {
    width: 160px;
  }

  .hero-description {
    font-size: 16px;
    width: 170px;
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    margin-top: -16px;
    margin-bottom: 0;
    align-self: start;
  }

  .hero-description br {
    display: none;
  }

  .app-store-buttons {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 24px;
    flex-direction: row;
    justify-content: center;
    justify-self: center;
  }

  .main-content {
    padding: 60px 16px 0;
  }

  .section-heading {
    font-size: 24px;
  }

  .cta-section {
    padding: 48px 24px;
  }

  .cta-heading {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .cta-description {
    margin-bottom: 16px;
  }

  .features-section {
    grid-template-columns: 1fr;
  }

  .howto-steps {
    grid-template-columns: 1fr;
  }

  .howto-step p {
    white-space: normal;
  }

  .screenshot-carousel {
    justify-content: flex-start;
  }

  .screenshot-item {
    width: 200px;
  }

  .carousel-dots {
    display: flex;
  }

  .app-store-buttons img {
    height: 44px;
    width: auto;
  }

  .mission-card {
    padding: 24px;
  }
}
