
/* =================================================
   Mobile（基準）
================================================= */

@media (max-width: 768px) {

  /* ---------------------
     Base
  --------------------- */

  body {
    font-size: 16px;
  }

  /* ---------------------
     Search Navigation
  --------------------- */

  .search-nav .search-inner {
    justify-content: center;
    padding: 0.75rem 1rem;
  }

  .search-nav form.header-search {
    width: 100%;
    justify-content: center;
  }

  .search-nav input[type="search"] {
    width: 100%;
    max-width: 260px; /* ← 少し余裕 */
    min-width: 0;
  }

  /* ---------------------
     Hero
  --------------------- */

 @media (max-width: 768px) {

  .site-hero {
    height: auto;        /* vhをやめる */
    min-height: unset;  /* 最低高も解除 */
    padding: 2.5rem 0;  /* 余白で高さを作る */

  .hero-content {
    padding: 0 1.25rem;
  }

  .hero-content h1 {
    margin-bottom: 0.75rem; /* デカい余白を殺す */
  }

  .hero-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
  }

}

  /* ---------------------
     Hero Navigation
  --------------------- */

  .hero-nav .hero-nav-list {
    justify-content: flex-start;
    gap: 1.25rem;
    padding: 0.75rem 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; /* ← 体感向上 */
  }

  .hero-nav .hero-nav-list > * {
    scroll-snap-align: start;
  }

  .hero-nav .hero-nav-list::-webkit-scrollbar {
    display: none;
  }

  /* ---------------------
     Sections
  --------------------- */

  .section {
    padding: 3.5rem 0;
  }

  .section-inner {
    max-width: none;
    padding: 0 1.25rem;
  }

  /* ---------------------
     Spots / Cards
  --------------------- */

  .spots-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* ---------------------
     Notice
  --------------------- */

  .section-notice .notice-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .section-notice .notice-list time {
    font-size: 0.75rem;
  }

  /* ---------------------
     Footer
  --------------------- */

  .footer-nav ul {
    flex-wrap: wrap;
    gap: 1rem;
  }

}


/* =================================================
   Small Mobile（差分のみ）
================================================= */

@media (max-width: 480px) {

  body {
    font-size: 15px;
  }

  /* ヒーロー自体を小さく */
  .site-hero {
    height: 45vh;
    min-height: 260px;
  }

  .hero-content h1 {
    font-size: 1.6rem;   /* ← ここが一番効く */
    line-height: 1.3;
  }

  /* 横余白を最小限に */
  .section-inner {
    padding: 0 1rem;
  }

    .page-hero-title {
    font-size: 1.4rem;   /* ← まずはここ */
    line-height: 1.35;
  }

}


/* =================================================
   Mobile: Page Navigation OFF
================================================= */

@media (max-width: 768px) {

  /* ヒーロー直下のページナビを非表示 */
  .page-nav {
    display: none;
  }

}
