@charset "UTF-8";




@media screen and (max-width:1280px) {
    /*header*/
    .header {
        height: 7rem;
    }
    .header .left h1 {
        color: #fff;
    }
    .header .right .nav {
        display: block;
        background: rgba(0, 0, 0, 0.8);
    }
    .header .right .nav .ul {
        width: 100%;
        display: block;
    }
    .header .right .nav .li {
        width: 100%;
    }
    header .right .nav .li:last-of-type {
        background: initial;
        border: initial;
    }
    .header .right .nav .info {
        min-width: initial;
        display: grid;
        justify-content: center;
    }
    .header .right .nav .info p {
        height: 3.6rem;
    }
    /*-----以下ハンバーガーメニュー-----*/
    #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%;
    }
    .pagetop {
        display: none;
    }

    /* このクラスを、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 #fff;
        -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: #fff;
        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);
    }





    /*main*/

    .mainimg {
        width: 100%;
        display: grid;
        align-items: center;
        justify-content: center;
    }
    .mainimg .title {
        position: relative;
        bottom: initial;
        left: initial !important;
        display: grid;
        margin: 0 auto;
        padding: 1rem 2rem;
        background: rgba(0, 0, 0, 0.3);
    }
    .mainimg .title h2 {}
    .mainimg .title p {
        color: #fff;
        font-size: 3rem;
        line-height: 1 !important;
    }
}

@media screen and (max-width: 1024px) {






    /*aimate.min.css無効化*/
    .animated {
        animation-duration: 0s !important;
        /* 他の必要なスタイルをここに追加 */
    }
    body,
    * {
        line-height: 1.5 !important;
    }
    h2 {}
    h3 {}
    h4 {}
    h5 {
        font-size: 1.8rem !important;
    }

    /*汎用*/
    [class*="_cnt"] {
        padding: 5rem 0 !important;
    }
    .flex {
        display: block !important;
    }
    .col2 {
        display: block !important;
    }
  .gridnew {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 4rem;
}
    .col2 :is(.left, .right) {
        width: 100% !important;
    }
    .col2 .left {
        margin: 0 auto 3rem !important;
    }
    .titleA {
        margin: 0 auto 3rem !important;
    }
    .titleA h3 {
        font-size: initial !important;
    }
    .titleA p {
        font-size: 3rem;
    }
  .bak_img p, .bak_img2 p {
        font-size: 3rem !important;
    }








    /*main*/
    .bottom {
        display: grid;
        align-content: center;
        justify-content: center;
        height: 20rem;
        margin: 0 auto 3rem;
        padding: initial;
    }
    .bottom .titleA {
        margin: auto !important;
    }





    /*footer*/
    .footer {
        padding: 5rem 0;
    }
    .footer .inner .info {
        display: block;
    }
    .footer .inner>p:not(.copyright, .link) {
        margin: 0 0 3rem;
    }
    .footer .inner .follow {
        margin: 0 auto 3rem;
    }
    .footer .inner .copyright {
        text-align: center;
    }
}