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



    /*汎用*/
    [class*="_cnt"] {
        padding: 5rem 0 !important;
    }
    .flex {
        display: block !important;
    }
    .col2 {
        display: block !important;
    }
    .col2 :is(.left, .right) {
        width: 100% !important;
    }
    .col2 .left {
        margin: 0 0 3rem !important;
    }
    [class^="title"] {
        gap: 1rem !important;
    }
    [class^="title"] p {
        line-height: 1 !important;
    }
    .buttonA {
        width: 100% !important;
    }
    .buttonB {
        width: 100% !important;
    }





    /*header*/
    .header {
        padding: 0 7.29vw;
    }
    .header .col2 {
        height: initial;
    }
    .header .col2 .left .logo {
        max-width: 15rem;
    }
    .header .col2 .right .nav {
        display: block;
        background: rgba(255, 255, 255, 0.7);
    }
    .header .col2 .right .nav .ul {
        width: 100%;
        display: block;
        padding: 0 10%;
    }
    .header .col2 .right .nav .ul .li{
        height: initial;
    }
    .header .col2 .right .nav > .ul > .li{
        min-height: 4rem;
    }
    .header .col2 .right .nav > .ul > .li p{
        width: 100%;
        min-height:inherit ;
              color: #3366a8;
    }
    .header .col2 .right .nav > .ul > .li > .ul > .li {
        min-height: 4rem;
    }
    .header .col2 .right .nav > .ul > .li > .ul > .li > .buttonA{
        background: initial !important;
    }
    .header .col2 .right .nav > .ul > .li > .ul > .li > .buttonA a::after{
        content: initial;
    }
    .header .col2 .right .nav .ul .li a{
  color: #2e3033 !important;}
  .header .col2 .right .nav > .ul > .li:last-of-type a{
    color: #fff !important;
  }
    /*
    .header .col2 .right .nav .ul .li:not(:has(>a)){
        display: none;
    }*/
    .header .col2 .right .nav>.ul>.li:first-of-type{
        display: block;
    } 
    .header .col2 .right .nav>.ul>.li:nth-of-type(2)>.ul ,
    .header .col2 .right .nav>.ul>.li:nth-of-type(3)>.ul {
        display: block !important;
    }
    .header .col2 .right .nav>.ul>.li:nth-of-type(2)>.ul>.li ,
    .header .col2 .right .nav>.ul>.li:nth-of-type(3)>.ul>.li{
        position: initial;
        background: none;
    }
    .header .col2 .right .nav>.ul>.li:nth-of-type(2)>.ul>.li.buttonA :is(a, span)::after ,
    .header .col2 .right .nav>.ul>.li:nth-of-type(3)>.ul>.li.buttonA :is(a, span)::after {
        content: initial;
    }
    .header .col2 .right .nav .tel {
        justify-content: center;
    }
    .header .col2 .right .nav>.ul>.li:nth-of-type(2):hover>.ul {
        display: block;
        position: relative;
        top: initial;
    }
    .header .col2 .right .nav>.ul>.li:nth-of-type(3):hover>.ul {
        display: block;
        position: relative;
        top: initial;
    }

    /*-----以下ハンバーガーメニュー-----*/
    #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);
    }





    /*main*/
    .mainimg h2{
        font-size: 2.4rem;
    }
    .mainimg p{
        font-size: 3rem;
        line-height: 1 !important;
    }
    .bottom{
        padding:5rem 0 0;
    }
    .bottom .inner .titleB{
        margin: 0 auto 3rem;
    }
    .bottom .inner .col2 .left .tel a{
        justify-content: center;
    }
}