/* ============================================
   yNote Introduction Site - Responsive Styles
   ============================================ */

/* --- Tablet (768px - 1023px) --- */
@media screen and (max-width: 1023px) {
  .hero-catch {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .section {
    padding: 60px 0;
  }

  .guide-section {
    padding: 48px 0;
  }
}

/* --- Smartphone (767px and below) --- */
@media screen and (max-width: 767px) {
  /* Header */
  .hamburger {
    display: flex;
  }

  .global-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
  }

  .global-nav.open {
    max-height: 300px;
    padding: 16px 0;
  }

  .global-nav-list {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .global-nav-list li {
    width: 100%;
    text-align: center;
  }

  .global-nav-list a {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
  }

  .global-nav-list a::after {
    display: none;
  }

  /* Hero */
  .hero {
    padding: 64px 0 56px;
  }

  .hero-catch {
    font-size: 1.6rem;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Sections */
  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 32px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  /* Guide */
  .guide-nav {
    padding: 12px 0;
    top: 64px;
  }

  .guide-nav-list {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding: 0 16px;
  }

  .guide-nav-list a {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 6px 14px;
  }

  .guide-section {
    padding: 40px 0;
  }

  .guide-section-title {
    font-size: 1.25rem;
  }

  .screenshot-placeholder {
    aspect-ratio: 4 / 3;
  }

  /* Contact */
  .contact-text {
    font-size: 0.95rem;
  }
}
