@charset "UTF-8";
@media screen and (max-width: 1024px) {
    /*aimate.min.css無効化*/
    .animated {
        animation-duration: 0s !important;
        /* 他の必要なスタイルをここに追加 */
    }
    * {
        line-height: 1.5 !important;
    }





    /*汎用*/
    .inner {}
    [class*="_cnt"] {
        padding: 5rem 0 !important;
    }
    .col2 {
        display: block !important;
    }
    .col2 .left {
        width: 100% !important;
        margin: 0 0 3rem !important;
    }
    .col2 .right {
        width: 100% !important;
    }



    /*header*/
    /*-----以下ハンバーガーメニュー-----*/
    #wrapper .nav.globalMenuSp {
        /*管理画面用*/
        position: initial;
        transform: initial;
    }
    /*common.cssでnavに高さが与えられている場合はheight:initial;を追加*/
    .nav.globalMenuSp {
        position: fixed;
        z-index: 20;
        top: 0;
        left: 0;
        /*background:rgba(0,0,0,0.8);*/
        color: #000;
        text-align: center;
        transform: translateY(-100%);
        transition: all 0.6s;
        width: 100%;
    }


    /* このクラスを、jQueryで付与・削除する */
    .nav.globalMenuSp.active {
        transform: translateY(0%);
    }


    .navToggle {
        display: block;
        position: fixed;
        /* bodyに対しての絶対位置指定 */
        right: 13px;
        top: 12px;
        width: 42px;
        height: 51px;
        cursor: pointer;
        z-index: 30;
        /*background: #666;*/
        text-align: center;
    }

    .navToggle span {
        display: block;
        position: absolute;
        /* .navToggleに対して */
        width: 30px;
        border-bottom: solid 3px #3a3288;
        -webkit-transition: .35s ease-in-out;
        -moz-transition: .35s ease-in-out;
        transition: .35s ease-in-out;
        left: 6px;
    }

    .navToggle span:nth-child(1) {
        top: 9px;
    }

    .navToggle span:nth-child(2) {
        top: 18px;
    }

    .navToggle span:nth-child(3) {
        top: 27px;
    }

    .navToggle span:nth-child(4) {
        border: none;
        color: #3a3288;
        font-size: 1.2rem;
        font-weight: bold;
        top: 3.5rem;
    }


    /* 最初のspanをマイナス45度に */
    .navToggle.active span:nth-child(1) {
        top: 18px;
        left: 6px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    /* 2番目と3番目のspanを45度に */
    .navToggle.active span:nth-child(2),
    .navToggle.active span:nth-child(3) {
        top: 18px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    /*横スクロール防止*/
    body {
        overflow-x: hidden;
    }
    .main {
        overflow-x: hidden;
    }
    html {
        scroll-padding-top: 8rem;
    }
    img {
        max-width: 100%;
    }

    /*header*/
    .header {
        height: 8rem;
        padding: 0 5%;
        background: rgba(252, 247, 237, 0.97);
    }
    .header .logo {
        width: auto;
        height: 6rem;
    }
    .header .logo a {
        width: auto;
        height: 100%;
        padding: 0.5rem;
    }
    .header .logo a img {
        width: auto;
        /*height: 100%;*/
    }
    .nav.globalMenuSp {
        background: #fcf7ed;
        height: 100vh;
        overflow-y: auto;
        padding: 10rem 5% 4rem;
        text-align: left;
    }
    .nav.globalMenuSp .ul {
        width: 100%;
        display: block;
    }
    .nav.globalMenuSp .li {
        height: 6rem;
        display: flex !important;
        align-items: center;
        border-bottom: 0.1rem solid #e6c9c8;
    }
    .nav.globalMenuSp .li a {
        color: #6f504f;
        text-decoration: none;
        font-size: 1.6rem;
        display: flex !important;
        gap: 0 !important;
    }
    .nav.globalMenuSp .li a::after {
        display: none !important;
    }
    /*mainimg：ヘッダー高さ分のpadding修正＋picのオーバーフロー防止*/
    .mainimg {
        height: 28rem;
        padding-top: 8rem;
        /* overflow: hidden; */
    }
    .mainimg>.pic {
        height: 20rem;
    }

    /*汎用：innerを広げてグリッドに余裕を持たせる*/
    .inner {
        width: 92%;
    }

    /*ボタン最小幅リセット：狭いグリッドセル内でのオーバーフロー防止*/
    [class^="button"] {
        min-width: 0;
        width: 100%;
    }

    .mainimg h2 {
        left: 5%;
        width: 20rem;
        font-size: 2rem;
    }
    .mainimg .reserve {
        right: 5%;
        bottom: -1.5rem;
        width: 10rem;
    }
    .mainimg .reserve img {
        width: 100%;
    }

    /*about_cnt3 背景画像用 上部余白確保*/
    .about_cnt3 {
        padding: 25rem 0 5rem !important;
    }

    /*bottom*/
    .bottom .inner .grid {
        grid-template-columns: 1fr;
        max-width: 40rem;
    }

    /*pagetop*/
    .pagetop {
        display: none;
    }

    /*titleA*/
    .titleA h3 {
        font-size: 2.2rem;
    }

    /*footer*/
    .footer .inner .col2 {
        display: block;
        margin: 0 0 4rem;
    }
    .footer .inner .col2 .left {
        width: 100%;
        margin: 0 0 3rem;
    }
    .footer .inner .col2 .left .flex {
        width: 100%;
    }
    .footer .inner .col2 .right {
        width: 100%;
    }
    .footer .inner .col2 .right .nav {
        display: none;
    }
    .footer .inner .col2 .right .nav .ul {
        width: 100%;
    }

    /*headerロゴの白背景を除去*/
    .header .logo {
        background: none;
    }

    /*ハンバーガーボタン：色とポジション修正*/
    .navToggle {
        right: 5%;
        top: calc((8rem - 51px) / 2);
    }
    .navToggle span {
        border-bottom-color: #6f504f;
    }
    .navToggle span:nth-child(4) {
        color: #6f504f;
    }

    /*マップ固定幅(120rem)解除*/
    .about_cnt4 .inner .map {
        width: 100%;
    }
}