/* ========================================
   CSS Reset & Base Styles
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Hiragino Kaku Gothic Pro', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  background-color: #191919;
  color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 32px;
  font-weight: 600;
}

/* ========================================
   Container
   ======================================== */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* Hero content has its own padding to match Figma */
.hero .container {
  padding: 0;
}

/* ========================================
   Buttons
   ======================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid #fff;
  background-color: transparent;
  color: #ffffff;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #f0f0f0;
  color: #191919;
  transform: translateY(-1px);
}

.btn-large {
  padding: 16px 64px;
  font-size: 14px;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #191919;
  padding: 16px 0 8px;
  max-height: 64px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.logo-link:hover {
  opacity: 0.7;
}

.logo-text {
  font-family: 'Futura', 'Futura-Bold', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-menu a {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  white-space: nowrap;
  transition: opacity 0.3s ease;
  line-height: 1;
}

.nav-menu a:hover {
  opacity: 0.7;
}

.header-cta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin-left: auto;
}

.header-cta a{
    font-size: 12px;
}

/* Hamburger menu button (mobile) */
.header-menu-toggle {
  display: none; /* PCでは非表示。@mediaで表示に切り替える */
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  padding: 0;
  margin-left: 12px;
  /* flex-direction/alignmentsはモバイル時にも効くようにここで定義 */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.header-menu-line {
  position: relative;
  width: 14px;
  height: 1.4px;
  background-color: #ffffff;
  border-radius: 999px;
  transition: transform 0.18s ease, opacity 0.18s ease, top 0.18s ease, bottom 0.18s ease;
}

.header-menu-line + .header-menu-line {
  margin-top: 4px;
}

.header-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
}

/* Open state: transform to X icon */
.header.menu-open .header-menu-line:first-child {
  transform: translateY(2.7px) rotate(45deg);
}

.header.menu-open .header-menu-line:last-child {
  transform: translateY(-2.7px) rotate(-45deg);
}

/* Mobile navigation panel */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px; /* ヘッダー直下にぴったり重ねる */
  left: 0;
  right: 0;
  z-index: 1001;
  background-color: rgba(25, 25, 25, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  padding: 12px 0 20px; /* 上下の余白を追加（左右はviewportいっぱい） */
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px; /* メニュー内に左右余白を持たせる */
}

.mobile-nav-link {
  font-size: 14px;
  padding: 12px 0;
  font-weight: 600;
  color: #ffffff;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  text-align: left;
}

.mobile-nav-cta {
  width: 100%;
  margin-top: 16px;
  justify-content: center;
}

/* Overlay below header when mobile menu is open */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 900;
  opacity: 1;
  transition: opacity 0.2s ease;
}

/* 軽いスライド＋フェードインアニメーション */
@keyframes mobileNavEnter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header.menu-open .mobile-nav {
  animation: mobileNavEnter 0.22s ease-out;
}
/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  padding: 64px 0 0;
  background-color: #191919;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 66px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
  margin-bottom: 40px;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-text {
  flex: 0 0 500px;
  display: flex;
  flex-direction: column;
  gap: 64px;
  align-items: flex-start;
}

.hero-title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.6;
  color: #ffffff;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  letter-spacing: -0.03em;
  margin: 0;
}

.hero-description {
    letter-spacing: -0.01em;
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
  font-weight: 400;
  margin: 0;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hero-cta a {
  padding: 16px 64px;
}

.hero-image {
  flex: 0 0 654px;
  height: 494px;
}

.app-screenshot {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.scroll-down:hover {
  opacity: 0.7;
}

.scroll-text {
    color: #808080;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  letter-spacing: 0.05em;
}

.scroll-arrow {
  animation: scrollBounce 1.5s linear infinite;
  color: #808080;
}

@keyframes scrollBounce {
  0%{
    transform: translateY(0);
    opacity: 0;
  }
  40% {
    transform: translateY(3px);
    opacity: 0.6;
  }
  80% {
    transform: translateY(6px);
    opacity: 1;
  }
  100% {
    transform: translateY(8px);
    opacity: 0;
  }
}

/* ========================================
   How It Works Section
   ======================================== */
.how-it-works {
  padding: 120px 0;
  background-color: #191919;
  overflow-x: hidden;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  margin: 0;
  white-space: nowrap;
}

.section-header p {
  font-size: 14px;
  font-weight: 600;
  color: #808080;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  white-space: nowrap;
}

/* How It Works Section Styles */
.how-it-works-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.how-it-works-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 40px;
  transition: all 0.2s ease;
}

.how-it-works-card:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.how-it-works-card-header {
  margin-bottom: 32px;
}

.how-it-works-category {
  font-size: 12px;
  font-weight: 600;
  color: #808080;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  margin: 0 0 8px 0;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.how-it-works-card-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: #ffffff;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  margin: 0;
  letter-spacing: -0.01em;
}

.how-it-works-card-body {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.how-it-works-steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.how-it-works-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
}

.step-text {
  font-size: 15px;
  line-height: 1.6;
  color: #cccccc;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  margin: 0;
  padding-top: 2px;
}

.how-it-works-thumbnail {
  flex-shrink: 0;
  width: 200px;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.how-it-works-thumbnail img,
.how-it-works-thumbnail video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.how-it-works-video {
  display: block;
}

/* PCサイズでのみホバー時にサムネイルコンテナ自体を拡大 */
@media (min-width: 769px) {
  .how-it-works-card:hover .how-it-works-thumbnail {
    transform: scale(2) translateY(-10px) translateX(24px);
    z-index: 10;
  }
}

/* ========================================
   Characteristics Section
   ======================================== */
.characteristics {
  position: relative;
  padding: 104px 64px;
  background-color: #202020;
  margin: 104px 32px 0;
  border-radius: 24px;
  z-index: 2;
}

.characteristics .container {
  padding: 0;
  max-width: 100%;
}

.characteristics-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}

.characteristics-header {
  margin-bottom: 104px;
}

.characteristics-header-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.characteristics-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.characteristics-label {
  font-size: 14px;
  font-weight: 600;
  color: #808080;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  white-space: nowrap;
}

.characteristics-label-en {
  font-size: 14px;
  font-weight: 600;
  color: #808080;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  white-space: nowrap;
}

.characteristics-main-title {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  margin: 0;
  white-space: nowrap;
}

.characteristics-items {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-bottom: 64px;
}

.characteristics-item {
  display: flex;
  align-items: center;
  gap: 64px;
  width: 100%;
}

/* 偶数番目のアイテムを自動的に逆配置 */
.characteristics-item:nth-child(even) {
  justify-content: flex-end;
}

.characteristics-item:nth-child(even) .characteristics-content {
  padding-right: 16px;
}

.characteristics-item:nth-child(odd) .characteristics-content {
  padding-left: 16px;
}

.characteristics-image {
  /* flex: 0 0 560px; */
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.feature-screenshot,
.feature-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.feature-video {
  display: block;
}

/* 動画コントロールのスタイリング */
.feature-video::-webkit-media-controls-panel {
  background-color: rgba(0, 0, 0, 0.6);
}

.feature-video::-webkit-media-controls-play-button,
.feature-video::-webkit-media-controls-timeline,
.feature-video::-webkit-media-controls-current-time-display,
.feature-video::-webkit-media-controls-time-remaining-display {
  filter: brightness(0) invert(1);
}

/* 全画面表示ボタンを非表示 */
.feature-video::-webkit-media-controls-fullscreen-button {
  display: none !important;
}

.characteristics-content {
  flex: 0 0 480px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 24px;
}

.characteristics-content-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.characteristics-category {
  font-size: 14px;
  font-weight: 600;
  color: #808080;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.characteristics-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  color: #ffffff;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  margin: 0;
  letter-spacing: -0.02em;
}

.characteristics-description {
  font-size: 16px;
  line-height: 1.7;
  color: #cccccc;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  margin: 0;
}

.characteristics-description p {
  margin: 0;
}

.characteristics-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
  margin-top: 104px;
  width: 100%;
}

.characteristics-actions-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  text-align: center;
  white-space: nowrap;
  margin: 0;
  letter-spacing: 0.02em;
}

.characteristics-actions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 720px;
}

.action-badge {
  /* border: 1px solid #414141; */
  border-radius: 10px;
  padding: 24px 48px;
  font-size: 14px;
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  white-space: nowrap;
  width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.action-badge:hover {
  border-color: #555555;
  background-color: rgba(255, 255, 255, 0.02);
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
  padding: 120px 0;
  background-color: #191919;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.pricing-card-featured {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  color: #343434;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pricing-card-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-plan-name {
  font-size: 14px;
  font-weight: 600;
  color: #808080;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  margin: 0 0 16px 0;
  letter-spacing: 0.02em;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}

.pricing-price-amount {
  font-size: 40px;
  font-weight: 600;
  color: #ffffff;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1;
}

.pricing-price-period {
  font-size: 16px;
  color: #808080;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  font-weight: 400;
}

.pricing-subtitle {
  font-size: 13px;
  color: #808080;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pricing-save-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #cccccc;
  font-size: 15px;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  line-height: 1.5;
}

.pricing-feature-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #808080;
  width: 16px;
  height: 16px;
}

.pricing-feature-item span {
  flex: 1;
}

/* ========================================
   Download Section
   ======================================== */
.download {
  padding: 120px 0;
  background-color: #191919;
}

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

.download-content h2 {
  margin-bottom: 64px;
  color: #ffffff;
}

.download-note {
  margin-top: 24px;
  font-size: 13px;
  color: #808080;
  font-weight: 400;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
}

.hero-download-note {
  margin-top: 0;
  text-align: left;
}

.download-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 80px 0 40px;
  background-color: #191919;
  border-top: 1px solid #333333;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo-text {
  margin-bottom: 12px;
  color: #ffffff;
}

.footer-brand p {
  font-size: 14px;
  color: #999999;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #ffffff;
}

.footer-column a {
  font-size: 14px;
  color: #999999;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid #333333;
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: #999999;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    gap: 48px;
    padding: 0 40px;
  }

  .hero-text {
    flex: 1;
    text-align: center;
    align-items: center;
    max-width: 100%;
    gap: 56px;
  }

  .hero-cta {
    gap: 16px;
    align-items: center;
  }

  .hero-download-note {
    text-align: center;
  }

  .hero-image {
    flex: 1;
    width: 100%;
    max-width: 600px;
    height: auto;
  }

  /* Mobile header: logo + hamburger in one row */
  .header-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .header-cta {
    display: none; /* モバイルではヘッダー内の大ボタンは非表示にする */
  }

  /* Mobile header layout */
  .nav-menu {
    display: none;
  }

  .header-menu-toggle {
    display: inline-flex;
  }

  .header.menu-open .mobile-nav {
    display: block;
  }

  .mobile-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .characteristics {
    padding: 80px 40px 180px;
  }

  .characteristics-item {
    gap: 48px;
  }

  .characteristics-image {
    flex: 0 0 50%;
    height: auto;
    min-height: 320px;
  }

  .characteristics-content {
    flex: 0 0 45%;
  }

  .characteristics-title {
    font-size: 24px;
  }

  .characteristics-description {
    font-size: 15px;
  }

  .action-badge {
    width: 200px;
    padding: 20px 40px;
    font-size: 16px;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .pricing-price-amount {
    font-size: 36px;
  }

  .download-content h2 {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-description {
    font-size: 16px;
    line-height: 1.8;
  }

  .btn-large {
    padding: 16px 40px;
  }

  .footer-content {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    flex-direction: column;
    gap: 32px;
  }

  .hero {
    padding: 120px 0 80px;
    min-height: auto;
  }

  .hero-text {
    gap: 40px;
  }

  .hero-content {
    padding: 0 24px;
  }

  .hero-cta {
    gap: 16px;
    align-items: center;
  }

  .nav-menu {
    flex-direction: column;
    gap: 16px;
  }

  .header {
    padding: 24px 0 8px;
  }

  .scroll-indicator {
    bottom: 20px;
  }

  .scroll-text {
    font-size: 12px;
  }

  .scroll-arrow {
    width: 20px;
    height: 20px;
  }

  .characteristics {
    padding: 80px 0 120px;
  }

  .characteristics-header {
    margin-bottom: 56px;
  }

  .characteristics-header-box {
    padding: 20px;
  }

  .characteristics-main-title {
    font-size: 20px;
  }

  .characteristics {
    padding: 56px 24px 88px;
    margin: 56px 0 0;
  }

  .characteristics-items {
    margin-bottom: 0;
  }

  .characteristics-item {
    flex-direction: column; /* モバイルでは縦並びに統一 */
    gap: 24px;
  }

  .characteristics-item:nth-child(even) {
    flex-direction: column;
  }

  .characteristics-item:nth-child(even) .characteristics-content,
  .characteristics-item:nth-child(odd) .characteristics-content {
    padding: 0;
  }

  .characteristics-image {
    flex: 1;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 220px;
    order: 2; /* 常にテキストのあとに画像が来るようにする */
  }

  .characteristics-content {
    flex: 1;
    width: 100%;
    max-width: 100%;
    order: 1; /* 常に先に表示 */
    gap: 16px;
    margin-bottom: 0;
  }

  .characteristics-title {
    font-size: 22px;
    line-height: 1.5;
  }

  .characteristics-content-header {
    gap: 12px;
  }

  .characteristics-category {
    font-size: 12px;
  }

  .characteristics-description {
    font-size: 14px;
    line-height: 1.7;
  }

  .characteristics-actions {
    margin-top: 40px;      /* PCの104pxより小さくする */
    padding: 24px 20px;
    border-radius: 32px;
  }

  .characteristics-actions-grid {
    max-width: 100%;
  }

  .action-badge {
    min-width: auto;
    width: 100%;                /* スマホでは縦1列 */
    padding: 18px 20px;
    font-size: 15px;
    justify-content: center;
    text-align: center;
  }

  /* How It Works Section Styles - Mobile */
.how-it-works {
  padding-bottom: 0;
}

  .how-it-works-content {
    gap: 24px;
  }

  .how-it-works-card {
    padding: 32px 24px;
  }

  .how-it-works-card-body {
    flex-direction: column;
    gap: 24px;
  }

  .how-it-works-thumbnail {
    width: 100%;
    height: 180px;
  }

  .how-it-works-card-title {
    font-size: 20px;
  }

  .pricing {
    padding-bottom: 0;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .pricing-price-amount {
    font-size: 32px;
  }

  .pricing-features {
    gap: 12px;
  }

  .pricing-feature-item {
    font-size: 14px;
  }

  /* Long section titles: allow wrapping on small screens */
  .section-header h2,
  .section-header p {
    white-space: normal;
  }

  .download-note {
    font-size: 12px;
    text-align: center;
  }
}

