@charset "utf-8";
/*
  style-mobile.css
  スマートフォン対応スタイル（PC表示は一切変更しません）
  @media (max-width: 768px) 以下でのみ適用
*/

/* ============================================================
   PCでは SP 専用要素を非表示
============================================================ */
.sp-header,
.sp-nav,
.sp-nav-overlay {
    display: none;
}

/* ============================================================
   スマホ共通（768px以下）
============================================================ */
@media (max-width: 768px) {

    /* ---- PC ヘッダー・ナビを隠す ---- */
    .hero2,
    .hero,
    .site-header,
    .header-change {
        display: none !important;
    }

    /* ============================================================
       SP ヘッダーバー
    ============================================================ */
    .sp-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #ebf4c9;
        padding: 8px 12px;
        position: sticky;
        top: 0;
        z-index: 9000;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    }

    .sp-header__logo a {
        display: block;
        line-height: 0;
    }

    .sp-header__logo img {
        height: 38px;
        width: auto;
    }

    /* ============================================================
       ハンバーガーボタン
    ============================================================ */
    .hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 9100;
        flex-shrink: 0;
    }

    .hamburger-btn span {
        display: block;
        width: 100%;
        height: 3px;
        background: #444444;
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform-origin: center;
    }

    /* ×（クローズ状態）アニメーション */
    .hamburger-btn.is-open span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }

    .hamburger-btn.is-open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .hamburger-btn.is-open span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }

    /* ============================================================
       オーバーレイ（メニュー背景）
    ============================================================ */
    .sp-nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 8500;
    }

    .sp-nav-overlay.is-open {
        display: block;
    }

    /* ============================================================
       SP ナビゲーション（スライドイン）
    ============================================================ */
    .sp-nav {
        display: block;
        position: fixed;
        top: 0;
        right: -105%;
        width: 82%;
        max-width: 310px;
        height: 100dvh;
        height: 100vh;
        background: #ffffff;
        z-index: 9000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: right 0.3s ease;
        padding-top: 56px;
    }

    .sp-nav.is-open {
        right: 0;
    }

    /* 閉じるボタン */
    .sp-nav__close {
        position: absolute;
        top: 10px;
        right: 14px;
        background: none;
        border: none;
        font-size: 26px;
        line-height: 1;
        cursor: pointer;
        color: #444444;
        padding: 4px 8px;
    }

    /* メニューリスト */
    .sp-nav__list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .sp-nav__list > li {
        border-bottom: 1px solid #e0e0e0;
    }

    .sp-nav__list > li > a {
        display: block;
        padding: 14px 18px;
        color: #444444;
        text-decoration: none;
        font-size: 14px;
        font-family: "Yusei Magic", sans-serif;
        font-weight: 400;
    }

    .sp-nav__list > li > a:hover {
        background: #f5faf0;
    }

    /* 子メニュートグルボタン */
    .sp-nav__child-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 14px 18px;
        background: none;
        border: none;
        color: #444444;
        font-size: 14px;
        font-family: "Yusei Magic", sans-serif;
        font-weight: 400;
        cursor: pointer;
        text-align: left;
    }

    .sp-nav__child-toggle::after {
        content: "▼";
        font-size: 9px;
        transition: transform 0.25s ease;
        flex-shrink: 0;
        margin-left: 6px;
    }

    .sp-nav__child-toggle.is-open::after {
        transform: rotate(180deg);
    }

    /* 子メニューリスト */
    .sp-nav__child {
        display: none;
        list-style: none;
        padding: 0;
        margin: 0;
        background: #f5faf0;
    }

    .sp-nav__child.is-open {
        display: block;
    }

    .sp-nav__child li {
        border-top: 1px solid #e2eecc;
    }

    .sp-nav__child li a {
        display: block;
        padding: 11px 18px 11px 30px;
        color: #555555;
        text-decoration: none;
        font-size: 13px;
        font-family: "Yusei Magic", sans-serif;
    }

    .sp-nav__child li a:hover {
        background: #eaf4d0;
    }

    /* スクロール禁止（メニューオープン時） */
    body.sp-nav-open {
        overflow: hidden;
    }

    /* ============================================================
       コンテンツ・レイアウトのレスポンシブ対応
    ============================================================ */

    /* 全般画像 */
    img {
        max-width: 100%;
        height: auto;
    }

    /* ページ全体 */
    body {
        font-size: 13px;
        word-break: break-word;
        overflow-x: hidden;
    }

    /* スワイパー（トップスライダー） */
    .swiper-container {
        height: 55vw !important;
        min-height: 180px;
        max-height: 320px;
    }

    .swiper-slide {
        padding-top: 0 !important;
    }

    .swiper-slide p.resizeimage {
        padding-top: 10px !important;
        margin-left: 15px !important;
        text-align: left !important;
    }

    .swiper-slide p.resizeimage img {
        width: 55% !important;
        max-width: 220px !important;
    }

    /* お知らせ / row */
    .row {
        width: 95% !important;
        padding: 0 8px;
        box-sizing: border-box;
    }

    /* コンテンツ幅 */
    .contents,
    .content {
        width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box;
    }

    /* 入園案内バナー（resizeimage） */
    p.resizeimage img,
    span.resizeimage img {
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
    }

    /* テーブル共通レスポンシブ */
    table {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
        font-size: 12px;
        word-break: break-word;
    }

    td, th {
        word-break: break-word;
    }

    /* main_box テーブル → 縦積み */
    .main_box table {
        width: 100% !important;
        margin: 0 auto !important;
    }

    .main_box td {
        display: block;
        width: 100% !important;
    }

    /* info h1/h2 幅 */
    .info h1,
    .info h2 {
        width: 90% !important;
        font-size: 16px !important;
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }

    /* ページタイトル */
    .page_title {
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }

    /* features_box h3 幅 */
    .features_box h3 {
        width: auto !important;
        display: inline-block;
        font-size: 13px !important;
    }

    /* intro_box */
    .intro_box {
        margin: 8px;
    }

    .intro_box p {
        font-size: 1rem !important;
        line-height: 1.7rem !important;
    }

    /* osh_title */
    .oshirase_title h2 {
        width: 90% !important;
        font-size: 18px !important;
    }

    /* float 解除（PC でフロートしている画像） */
    p .top_image_r,
    p .top_image_l {
        float: none !important;
        display: block;
        margin: 10px auto !important;
        max-width: 90% !important;
    }

    /* ============================================================
       フッター
    ============================================================ */
    .site-footer {
        padding: 15px 12px !important;
        box-sizing: border-box;
    }

    /* フッター内のfloat・position解除 */
    .site-footer > div {
        margin-left: 0 !important;
        display: block !important;
    }

    /* フッターの川の画像は非表示 */
    .site-footer img[src*="footer-river"] {
        display: none !important;
    }

    /* フッターロゴ */
    .site-footer img[src*="logo-footer"] {
        display: block;
        width: 120px !important;
        height: auto !important;
        margin: 0 auto 10px !important;
    }

    /* フッター住所 */
    .site-footer span {
        float: none !important;
        position: static !important;
        margin: 8px 0 0 0 !important;
        text-align: center !important;
        display: block !important;
        font-size: 11pt !important;
    }

    /* フッターナビ（PC版）非表示 */
    .gnav_footer {
        display: none !important;
    }

    /* stripe-red */
    .stripe-red {
        margin: 0 !important;
    }

}
/* ============================================================
   END of style-mobile.css
============================================================ */
