/* ============================================
   responsive.css
   レスポンシブ対応（SP・タブレット）
   ブレークポイント：
     PC      : 1100px以上
     タブレット: 768px〜1099px
     SP      : 767px以下
   ============================================ */


/* ============================================
   タブレット（〜1099px）
   ============================================ */
@media screen and (max-width: 1099px) {

  :root {
    --container-width: 100%;
  }

  /* ヘッダー */
  .global-nav .nav-list {
    gap: 14px;
  }

  .global-nav .nav-list li a {
    font-size: 0.8125rem;
  }

  /* ヒーロー */
  .hero-catch {
    font-size: 2.25rem;
  }

  /* 施設グリッド：タブレットは2列 */
  .facility-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* メディアグリッド：2列 */
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  /* ============================================
     TOPページ（タブレット）
     ============================================ */

  /* 縦長の装飾は非表示 */
  .deco-middle,
  .deco-bottom { display: none; }

  /* イントロ */
  .text-center {
    margin: 20px 0 !important;
    max-width: 500px !important;
  }

  /* まるのセクション */
  .circle-wrapper {
    padding: 0 30px;
    gap: 20px !important;
  }

  .circle-item {
    width: 200px;
    height: 200px;
  }

  .circle-text {
    font-size: 14px;
  }

  /* ボタン */
  .btn-group {
    gap: 30px;
  }

  /* カリキュラム */
  .page2-item {
    width: 200px;
  }

  /* 園一覧 */
  .school-section .content {
    padding: 60px 20px 40px;
  }

  /* ラッパー */
  .wrapper {
    padding: 24px 20px 40px;
  }

  /* 施設グリッド（TOP版）：3列 */
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  /* お問い合わせ */
  .contact-bottom {
    gap: 30px;
  }

  /* YouTube */
  .youtube-row {
    padding: 0 20px;
  }

  /* お知らせ */
  .news-block {
    padding: 0 20px;
    gap: 40px;
  }

  /* バナー */
  .news-banner {
    background-size: auto 65%, auto 65%;
  }

}


/* ============================================
   SP（〜767px）
   ============================================ */
@media screen and (max-width: 767px) {

  :root {
    --section-padding: 10px 0;
    --font-size-base: 15px;
  }

  /* ============================================
     コンテナ
     ============================================ */
  .container {
    padding: 0 16px;
  }

  /* ============================================
     セクション共通
     ============================================ */
  .section-title {
    font-size: 1.375rem;
  }

  .section-lead {
    font-size: 0.875rem;
    br { display: none; }
  }

  .section-btn-wrap {
    margin-top: 32px;
  }

  /* ============================================
     ヘッダー
     ============================================ */
  .global-nav {
    display: none;  /* PCナビを非表示 */
  }

  .hamburger-btn {
    display: flex;  /* ハンバーガーを表示 */
  }

  .header-inner {
    height: 60px;
  }

  /* ドロワートップ位置をヘッダー高さに合わせる */
  .drawer-menu {
    top: 60px;
    height: calc(100vh - 60px);
  }

  /* ============================================
     ヒーローセクション（SP）
     ============================================ */
  .hero-section {
    padding: 40px 0;
  }

  .hero-inner {
    flex-direction: column;
    gap: 24px;
  }

  .hero-catch {
    font-size: 2rem;
    text-align: center;
  }

  .hero-image {
    width: 100%;
  }

  /* 装飾は小さく */
  .hero-deco--triangle img { width: 50px; }
  .hero-deco--circle-yellow img { width: 40px; }
  .hero-deco--dots img { width: 50px; }
  .hero-deco--wave img { width: 80px; }

  /* ============================================
     コンセプトセクション（SP）
     ============================================ */
  .concept-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ============================================
     カリキュラムセクション（SP）
     ============================================ */
  .curriculum-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* ============================================
     施設一覧セクション（SP）
     ============================================ */
  .tab-wrap {
    padding: 0 16px 24px;
  }

  .tab-btn {
    padding: 12px 20px;
    font-size: 0.9375rem;
  }

  /* SP：施設は1列 */
  .facility-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ============================================
     CTAセクション（SP）
     ============================================ */
  .cta-inner {
    flex-direction: column;
    gap: 32px;
  }

  .cta-tel-number {
    font-size: 1.75rem;
  }

  /* ============================================
     メディアセクション（SP）
     ============================================ */
  .media-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* ============================================
     お知らせセクション（SP）
     ============================================ */
  .news-item__link {
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 0;
  }

  .news-item__title {
    width: 100%;
  }

  /* ============================================
     ダウンロードセクション（SP）
     ============================================ */
  .download-deco {
    display: none;  /* SPは装飾非表示 */
  }

  /* ============================================
     フッター（SP）
     ============================================ */
  .footer-nav-list {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .footer-address {
    font-size: 0.75rem;
  }

  /* ページトップボタン位置調整 */
  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }


  /* ============================================
     TOPページ（SP）
     ============================================ */

  /* 装飾画像：全て非表示 */
  .deco-top,
  .deco-right,
  .deco-middle,
  .deco-bottom { display: none; }

  /* MV */
  .mv-inner img {
    padding-top: 0;
  }

  /* イントロ */
  .top-intro {
    padding: 40px 20px;
    min-height: auto;
  }

  .text-center {
    margin: 0;
    max-width: 300px;
  }

  .text-center h2 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  /* まるのセクション */
  .circle-wrapper {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 16px;
  }

  .circle-item {
    width: 220px;
    height: 220px;
  }

  .circle-text {
    font-size: 14px;
    white-space: normal;
    text-align: center;
  }

  /* ボタン */
  .btn-group {
    flex-direction: column;
    align-items: center;
    gap: 16px !important;
    margin-top: 40px !important;
  }

  .btn-top {
    padding: 12px 50px;
    font-size: 17px;
  }

  .btn-center {
    margin-top: 24px;
  }

  /* カリキュラム */
  .curriculum-title {
    margin: 40px auto 24px;
    width: 180px;
  }

  .curriculum-text {
    font-size: 26px;
  }

  .page2-item {
    width: 100%;
    max-width: 300px;
  }

  /* 園一覧セクション */
  .school-section .content {
    padding: 40px 20px 30px;
  }

  .title-text {
    font-size: 26px;
  }

  .school-section .content h2 {
    font-size: 15px;
    margin-top: 12px;
  }

  .school-section .content p {
    font-size: 13px;
  }

  /* ラッパー */
  .wrapper {
    padding: 20px 12px 30px;
    border-radius: 16px;
    margin: 0 12px;
  }

  /* タブ */
  .top-tabs {
    gap: 8px;
  }

  .tab-btn {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 16px;
  }

  /* 施設グリッド（TOP版）：2列 */
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .card {
    padding: 12px;
  }

  .card h3 {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .address {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .card .btn {
    padding: 8px 4px;
    font-size: 12px;
  }

  /* お問い合わせ情報 */
  .contact-row {
    margin-top: 20px;
    margin-bottom: 8px;
  }

  .contact-row .left {
    width: 110px;
  }

  .contact-row .right {
    font-size: 13px;
  }

  .contact-bottom {
    flex-direction: column;
    gap: 20px;
  }

  .btn-contact {
    display: block;
    text-align: center;
    padding: 14px 20px;
  }

  .tel {
    font-size: 22px;
  }

  /* YouTube */
  .media-title {
    font-size: 15px;
    padding: 0 20px;
  }

  .youtube-row {
    flex-direction: column;
    padding: 0 20px;
    gap: 16px;
  }

  .youtube {
    max-width: 100%;
  }

  /* お知らせ */
  .news-block {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
    margin: 40px auto;
    align-items: center !important;
  }

  .news-left {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    flex: none;
  }

  .news-badge {
    width: 80px;
    height: 80px;
    margin: 0;
    background-size: contain;
  }

  .news-title {
    font-size: 22px;
  }

  .news-right {
    width: 100%;
  }

  /* バナー */
  .news-banner {
    height: 180px;
    margin: 32px 0;
    background-size: auto 45%, auto 45%;
  }

  .banner-text {
    font-size: 14px;
    width: 60%;
  }

  .banner-text h2 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .banner-text p {
    font-size: 12px;
  }

  .banner-btn {
    padding: 12px 40px !important;
    font-size: 18px !important;
  }

}
