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





    /*汎用*/
    .col2 {
        display: block !important;
    }
    .col2 .left {
        width: 100%;
        margin: 0 0 3rem;
    }
    .col2 .right {
        width: 100%;
    }
    [class^="button"] {}
    /*-----以下ハンバーガーメニュー-----*/
    #wrapper .nav.globalMenuSp {
        /*管理画面用*/
        position: initial;
        transform: initial;
    }




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



    * {
        line-height: 1.5 !important;
    }
    h3 {
        font-size: 2.4rem !important;
    }
    h4 {
        font-size: 2.2rem !important;
    }

    /*col2b・段組み*/
    .col2b {
        display: block !important;
    }
    .col2 :is(.left, .right),
    .col2b :is(.left, .right) {
        width: 100% !important;
    }
    .col2b .left {
        margin: 0 0 3rem;
    }
    .titleA h3 {
        font-size: 2.4rem;
    }
    .titleA p {
        font-size: initial;
    }
    [class^="button"] {
        width: 100% !important;
    }



    /*header*/
    .header {
        height: 8rem;
        padding: 0 5%;
    }
    .header .info {
        display: none;
    }
    .header .logo img {
        width: auto;
        height: 5rem;
    }




    /*main*/
    .mainimg {
        height: 24rem;
    }
    .maintitle {
        left: 5%;
        bottom: 3rem;
    }
    .maintitle h2 {
        font-size: 2.8rem;
    }
    .maintitle p {
        font-size: 1.8rem;
    }




    /*bottom*/
    .bottom {
        padding: 8rem 0;
    }
    .bottom .inner .flex {
        display: block;
    }
    .bottom .inner .flex [class^="button"] {
        margin: 0 auto 2rem;
    }




    /*pagetop*/
    .pagetop {
        right: 4%;
        bottom: 3rem;
        width: 5rem;
        height: 5rem;
    }




    /*ハンバーガーメニューがスマホで収まるように*/
    .header .nav {
        align-items: start !important;
        align-content: start !important;
        overflow-y: auto !important;
        padding: 9rem 5% 4rem !important;
    }
    .header .nav .ul {
        width: 100% !important;
        max-width: 40rem;
        gap: 1.5rem 2.08vw !important;
    }
    .header .nav .li a {
        gap: 0.3rem !important;
    }
    .header .nav .li a::before {
        font-size: 2.4rem !important;
    }
    .header .nav .flex {
        width: 100%;
    }





    /*footer*/
    .footer .inner .col2 .right .nav .sitemap {
        display: none;
    }
    .footer .inner .col2 .right .nav h4 {
        display: none;
    }
    .footer .inner .col2 .right .nav .sns {
        width: 100%;
        padding: initial;
    }
    .footer .inner .col2 .right .nav .sns .ul {
        display: flex;
        gap: 3rem;
        justify-content: center;
    }
    .footer .inner .col2 .right .nav .flex {
        margin: initial;
        display: block;
    }
    .footer .inner .col2 .right .nav .flex p:has(a) {
        width: fit-content;
        height: 3rem;
        background: #dcd6ce;
        border: 0.1rem solid #bdac96;
        color: #3b3b3b;
        display: grid;
        align-items: center;
        padding: 0 1em;
        margin: 0 0 2rem;
    }
}
@media screen and (min-width:100px) {
  #wrapper .header{
background:rgba(0,0,0,0.5) !important;
  }
  #wrapper .header .nav{
  height:fit-content !important;
  }
  #wrapper .nav.globalMenuSp{
  transform:initial !important;
  top:16rem !important;
    position:fixed !important;
  }
  #wrapper .header .nav .li a::before{
  font-size:3rem !important;
  }
  #wrapper .header .info{
  display:flex !important;
    gap:initial !important;
  }
    /*common.cssでnavに高さが与えられている場合はheight:initial;を追加*/
    .header .nav {
        width: 100%;
        height: 100vh;
        background: #f5f0e9 url(/system_panel/uploads/images/menu_bg.jpg) no-repeat;
        background-size: cover;
        background-blend-mode: overlay;
        display: grid;
        align-items: center;
        align-content: center; 
    }
    .header .nav .ul {
        width: fit-content;
        height: fit-content;
        margin: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2.16vw 2.08vw;
        /*gap: 4.16vw 2.08vw;*/
        /*8 4*/
        align-items: center;
        align-content: center;
    }
    .header .nav .li {
        font-size: 1.6rem;
        list-style: none;
    }
    .header .nav .li a {
        display: grid;
        justify-content: start;
        gap: 1rem;
        text-align: left;
        color: initial;
        text-decoration: none !important;
    }
    .header .nav .li a::before {
        font-size: 6.7rem;
    }
    .header .nav .li a:hover {
        color: #d6cec3;
        transition: 0.5s;
    }
  
    .header .nav .ul .li:nth-of-type(1) {
        grid-row: 1;
        grid-column: 1;
    }
    .header .nav .ul .li:nth-of-type(2) {
        grid-row: 2;
        grid-column: 1;
    }
    .header .nav .ul .li:nth-of-type(3) {
        grid-row: 3;
        grid-column: 1;
    }
    .header .nav .ul .li:nth-of-type(4) {
        grid-row: 4;
        grid-column: 1;
    }
    .header .nav .ul .li:nth-of-type(5) {
        grid-row: 5;
        grid-column: 1;
    }
    .header .nav .ul .li:nth-of-type(6) {
        grid-row: 1;
        grid-column: 2;
    }
    .header .nav .ul .li:nth-of-type(7) {
        grid-row: 2;
        grid-column: 2;
    }
    .header .nav .ul .li:nth-of-type(8) {
        grid-row: 3;
        grid-column: 2;
    }
    .header .nav .ul .li:nth-of-type(9) {
        grid-row: 4;
        grid-column: 2;
    }
    .header .nav .ul .li:nth-of-type(10) {
        grid-row: 5;
        grid-column: 2;
    }
    .header .nav .ul .li:nth-of-type(1) a::before {
        content: "HOME";
    }
    .header .nav .ul .li:nth-of-type(2) a::before {
        content: "About us";
    }
    .header .nav .ul .li:nth-of-type(3) a::before {
        content: "Menu";
    }
    .header .nav .ul .li:nth-of-type(4) a::before {
        content: "For beginner";
    }
    .header .nav .ul .li:nth-of-type(5) a::before {
        content: "Faq";
    }
    .header .nav .ul .li:nth-of-type(6) a::before {
        content: "Recruit";
    }
    .header .nav .ul .li:nth-of-type(7) a::before {
        content: "YUMI Beauty academy";
    }
    .header .nav .ul .li:nth-of-type(8) a::before {
        content: "Blog";
    }
    .header .nav .ul .li:nth-of-type(9) a::before {
        content: "Access";
    }
    .header .nav .ul .li:nth-of-type(10) a::before {
        content: "Contact";
    }
    .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 #dcd6ce;
        -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: #dcd6ce;
        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);
    }
}