@charset "UTF-8";

@media screen and (max-width: 1280px) {
    /* .header */
    .header {
        height: 6rem;
        width: 100%;
        left: 0;
        padding: 0 5rem 0 1.5rem;
    }
    .header .logo img {
        max-height: 3.5rem;
        width: auto;
    }
    .header .nav {
        display: block;
      min-width:initial;
    }
    .header .nav .li:first-of-type {
        display: inherit;
    }
    .pagetop {
        display: none;
    }

    /*-----以下ハンバーガーメニュー-----*/
    #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%;
        background: rgba(15, 16, 16, 0.97);
        padding: 0 0 2rem;
    }

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

    .nav.globalMenuSp .ul {
        display: block;
        gap: 0;
        width: 100%;
    }
    .nav.globalMenuSp .li {
        width: 100%;
        list-style: none;
        padding: 1.5rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav.globalMenuSp .li a {
        color: #fff;
        text-decoration: none;
    }
    .header.is-top .nav .li a {
        color: #fff;
    }
    .nav.globalMenuSp .contact {
        display: block;
        width: 80%;
        max-width: 24rem;
        height: 4rem;
        border-radius: 2rem;
        background: linear-gradient(130deg, #535b5e, #fefefe, #4a5154, #fefefe, #535b5e);
        padding: 0.1rem;
        margin: 2rem auto 0;
    }
    .nav.globalMenuSp .contact a {
        display: grid;
        place-items: center;
        width: 100%;
        height: 100%;
        color: #fff;
        background: #0f1010;
        border-radius: 2rem;
        text-decoration: none;
    }

    .navToggle {
        display: block;
        position: fixed;
        /* bodyに対しての絶対位置指定 */
        right: 0.8rem;
        top: 0.8rem;
        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);
    }
}
@media screen and (max-width: 1024px) {
    /*aimate.min.css無効化*/
    .animated {
        animation-duration: 0s !important;
        /* 他の必要なスタイルをここに追加 */
    }

    /* body */
    body {
        border: none;
        font-size: 1.6rem;
    }

    /* スクロールパディング */
    html {
        scroll-padding-top: 6rem;
    }

    /*汎用*/
    [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;
    }
    [class^="title"] {
        margin: 0 0 3rem;
        gap: 1rem;
    }
    [class^="title"] p {
        font-size: 3.5rem;
    }
    [class^="title"] h3 {
        font-size: 1.6rem;
    }
    .buttonA {
        width: 100%;
        max-width: initial;
    }







    /* sidecar 非表示 */
    .sidecar {
        display: none;
    }




    /* mainimg (サブページ共通) */
    .mainimg {
        height: 28rem;
    }
    .maintitle {
        left: 5%;
        top: 65%;
    }
    .maintitle p {
        font-size: 3.5rem;
    }





    /* bottom */
    .bottom .col2 .left {
        padding: 4rem 10%;
        margin: 0 !important;
    }
    .bottom .col2 .right {
        padding: 4rem 10%;
    }
    .bottom .col2 :is(.left, .right)>p {
        margin: 0 0 3rem;
    }

    /* .footer */
    .footer {
        padding: 4rem 0 3rem;
    }
    .footer .logo {
        margin: 0 0 3rem;
    }
    .footer .inner>p:not(.copyright) {
        line-height: 2;
        margin: 0 0 4rem;
    }

    /* webgene ページネーション */
    .webgene-pagination :is(.prev, .next),
    .webgene-pagination .ul .number.selected,
    .webgene-pagination .ul .number {
        width: 2em;
        height: 2em;
        margin: 0;
    }
    .webgene-pagination .ul {
        width: 100%;
        justify-content: space-between;
    }
    .webgene-pagination .prev {
        margin: 0;
    }
    .webgene-pagination .next {
        margin: 0;
    }


    /* form */
}