@charset "utf-8";
/* CSS Document */

@media screen and (min-width:769px) {
    .sp {
        display: none!important;
    }


}



@media screen and (min-width:768px) and (max-width:1240px) {

    header {
        width: 100%;
        margin-left: 0px;
    }


    /* 
     .ns_wrapper {
         display: block;
     }*/
}


@media screen and (min-width:641px) and (max-width:768px) {
    .dl-menuwrapper li {
        width: 50%;
        float: left;
        Z-index：100;
    }
    .dl-menuwrapper li a {
        box-sizing: border-box;
        border-right: 1px solid #333;
        Z-index：100;
    }
    .dl-menuwrapper .dltel {
        width: 100%;
    }
    .dl-menuwrapper .dltel a {
        border: none;
        Z-index：100;
    }
}


@media screen and (max-width:768px) {
    .pc {
        display: none!important;
    }
    body {
        font-size: 12px;
        /*  min-width: 567px;}*/
    }


    /*****スマホ用NAV*****/
    header {
        width: 80%;
        margin-left: 10%;
    }
    nav {
        display: none;
        position: absolute;
        top: 72px;
        width: 100%;
        background: #333;
        left: 0;
        z-index: 999;
    }

    nav li {
        width: calc(100% - 2px);


    }
nav span{
    color: #f391e2;
    font-size: 2rem;
}
    header nav ul {
        display: block;
        margin: 0 auto;
        width: 90%;
    }
    header nav ul li {
        margin: 0 auto;
        text-align: center;
        border-bottom: 1px solid #fff;
    }
    header nav ul li:last-child {
        border: none;
    }
    header nav ul li a {
        display: block;
    }
    header .inner {
        display: flex;
    }

    article h1.en_copy {
        font-size: 3rem;
            margin: 0px auto 10px auto;
    }

    article h1.jn_copy {
        font-size: 1.2rem;
    }
    article h1 {
        font-size: 2rem;
        margin: 0px;
    }
    article h2 {
        font-size: 1.8rem;
    }

    article p {
        font-size: 1.2rem;
    }

    article {
       /* width: 85%;*/
    }

    .flexbox > div {
        padding: 0.3em;

    }

    .checkbox {
        padding: 10px 0px;
        width: 100%;
        font-size: 0.8rem;
    }



    /*開閉ボタン*/
    #nav_toggle {
        display: block;
        width: 40px;
        height: 40px;
        position: relative;
        top: 20px;
        z-index: 100;
    }
    #nav_toggle div {
        position: relative;
    }
    #nav_toggle span {
        display: block;
        height: 3px;
        background: #333;
        position: absolute;
        width: 100%;
        left: 0;
        -webkit-transition: 0.5s ease-in-out;
        -moz-transition: 0.5s ease-in-out;
        transition: 0.5s ease-in-out;
    }
    #nav_toggle span:nth-child(1) {
        top: 0px;
    }
    #nav_toggle span:nth-child(2) {
        top: 12px;
    }
    #nav_toggle span:nth-child(3) {
        top: 24px;
    }

    /*開閉ボタンopen時*/
    .open #nav_toggle span:nth-child(1) {
        top: 12px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        transform: rotate(135deg);
    }
    .open #nav_toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav_toggle span:nth-child(3) {
        top: 12px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }






    header img {
        max-width: 100%;
    }


    .ns_wrapper {
        flex-direction: column;
        width: 85%;
    }

    .news_box,
    .sns_box {
        width: 100%;
        /*flex: 1;*/
    }

    article {
        flex-direction: column;
    }

    article section {
        width: 100%;
        margin: 10px 0;
    box-sizing: border-box;
    }

    .container {
        padding-top: 0px;
    }
    
    .top_about {
        margin-bottom: 0px;
    }
    section p {
        font-size: 1.2rem;

    }

    #submenu ul li {
        width: 100%;
        margin-bottom: 20px;
    }
    #homecontent h2 {
        text-align: left;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    #subpage #SubNavi {
        width: 100%;
    }
    #subpage #SubNavi ul {
        width: 100%;
    }
    .headerBox {
        width: 100%;
    }
    #menu ul {
        width: 100%;
    }
    #submenu ul {
        width: 100%;
    }


    .setumei {
        text-align: center;
        display: block;
        margin-bottom: 40px;
    }

    table {
        width: 100%;
        font-size: 1.2em;

    }

    .schedule td {
        border: 1px solid #00bfff;
        padding: 0px;
        padding: 0px 2px 0px 0px;
    }
    .schedule tr {
        margin: 10px;
        line-height: 30px;
        text-indent: 10px;

    }
    .schedule th {
        background-color: #00bfff;
        border: 1px solid #fff;

        padding: 0px 2px 0px 0px;
    }

    #homecontent {
        width: 100%;
        padding-top: 30px;
    }
    #subpage h3 {
        width: 100%;
    }
    #subpage .MenuBox {
        width: 100%;
    }
    #subpage #coment {
        width: 100%;
    }
    #subpage #Access {
        width: 100%;
    }
    #subpage #message {
        width: 100%;
    }
    #subpage .Q {
        width: 100%;
    }
    #subpage .A {
        width: 100%;
    }
    #facebook {
        width: 100%;
        margin-right: auto;
        margin-left: auto;
    }
    #info {
        width: 100%;
    }

    #info .houmon {
        width: 90%;

    }
    iframe {
        width: 100%;
        data-width: 100%;
        margin-right: auto;
        margin-left: auto;
    }
    .headerBox {
        position: relative;
        width: 60%;
        margin-right: auto;
        margin-left: auto;
        padding-top: 10px;
    }
    #header.sp .headerBox h1 a {
        display: block;
        height: auto;
        position: relative;
        z-index: 1;
    }

    #toppage #homecontent {
        width: 95%;
        margin-right: auto;
        margin-left: auto;
    }
    #header {
        margin-bottom: 0px;

    }
    #submenu img {
        width: 100%;
    }
    #subpage .menuOptionL {
        text-align: center;
        width: 100%;
        margin-right: 0px;
        margin-left: 0px;
        float: none;
    }
    #subpage p.menuOptionR {
        text-align: center;
        width: 100%;
        margin-right: 0px;
        margin-left: 0;
        float: none;
    }
    #subpage .menuOption.clearfix {
        margin-right: auto;
        margin-left: auto;
        height: auto;
    }
    #subpage .MenuR,
    #subpage .MenuL {
        float: none;
        width: 100%;
        margin-right: 0px;
        margin-left: 0;
    }
    #subpage .MenuR {
        margin-right: auto;
        margin-left: auto;
        width: 90%;
        margin-bottom: 0px;
    }
    #subpage #content {
        margin-right: 0px;
        margin-left: 0;
    }
    #subpage #AccessL {
        width: 100%;
    }
    #subpage #AccessR {
        width: 100%;
        margin-top: 10px;
        margin-right: auto;
        margin-left: auto;
    }
    #subpage #Access {
        width: 90%;
        margin-right: auto;
        margin-left: auto;
    }

    #subpage .sinryou {
        width: 95%;

    }
    #subpage .sinryou p span {}

    .gmapL {

        float: none;

    }

    .gmapR {
        float: none;
        margin-top: 10px;
        text-align: center;

    }



    #subpage #messageL {
        width: 100%;
        margin-bottom: 10px;
    }
    #subpage #messageR {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    #subpage #message {
        width: 90%;
        margin-right: auto;
        margin-left: auto;
    }
    table {
        width: 100%;
    }
    #subpage #content dl,
    #subpage #content dt,
    #subpage #content dd {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
    #subpage .A .AA {
        float: none;
    }
    #subpage #content dl {
        width: 90%;
        margin-right: auto;
        margin-left: auto;
    }
    #subpage .Q {
        line-height: 1.8;
        box-sizing: border-box;
        padding: 10px;
        height: auto;
    }

    #subpage #coment {
        margin-left: 10px;
    }
    #subpage #content #staff ul {
        width: 100%;
        border-top-width: 1px;
        border-top-style: dotted;
        border-top-color: #999;
        padding-top: 20px;
    }
    #subpage #content #staff li {
        width: 100%;
        margin-bottom: 25px;
    }
    #subpage #content #staff {
        width: 90%;
        margin-right: auto;
        margin-left: auto;
    }
    #subpage #content #staffdetail {
        width: 90%;
        margin-right: auto;
        margin-left: auto;
    }
    .voiceBox {
        width: 80%;
    }

    .voiceName {
        padding: .25em 0 .5em .75em;
        border-left: 6px solid #00bfff;
        margin-bottom: 10px;
        background-color: #fff5ee;
        color: #00bfff;
        font-size: 1.1em;


    }


    /*****footer*****/
    footer {
        font-size: 1.2rem;
    }
    footer p {
        width: 91%;
        margin: 0 auto;
    }
    footer h1{
        font-size: 1.5rem;
            padding: 0 10px;
    }

    /*****about us /access *****/
    article .map_table {
        flex-direction: column;
        width: 100%;
    }
    article .map_table tr {
        margin: 0 0 0 0;
    }

    article .map_photo {
        flex-direction: column;
        width: 100%;
    }
    .access_box .contents-wrap,
    .access_box .contents-wrap:nth-child(even) {
        flex-direction: column;
    }

    .access_box .contents-text,
    .access_box .contents-img {
        width: 100%;
        /*flex: 1;*/
    }

    .access_box .contents-text {
        padding: 0;
    }

    .access_box .contents-text h3 {
        text-align: center;
        margin: 1rem 0 0 0;
    }



    /***** menu *****/
    .second-row {
        flex-direction: column;
    }

    .card {
        width: 100%;
    }

    #subpage article .menu_box {
        flex-direction: column;
    }


    .menubox_text {
        width: 85%;
        margin: 0 auto;
    }

    .menu_photo {
        width: 80%;
        margin: 0 auto;
    }

    .menu_box img {
        width: 100%;
    }
    #subpage .menu_box h1 {
        width: 90%;
    }

    .menubox_text_no_p {
        width: 80%;
    }

    .outline span {
        font-size: 0.7rem;
    }

    #subpage .card .card-title {
        font-size: 0.8rem;
    }

    #subpage .card .card-text {
        font-size: 0.8rem;
    }
    #subpage .menu_box h1 {

        font-size: 1.5rem;
    }
    #subpage .menu_box h2 {
        font-size: 1.3rem;
    }

    #subpage .menu_box p {
        font-size: 1.2rem;
    }
    .before p {
        font-size: 0.8rem;
    }
    #subpage .caution h1 {
        font-size: 0.8rem;
    }
    .caution li {

        font-size: 0.8rem;
    }
    /***** products *****/

    .step {

        flex-direction: column;


    }

    .step section {
        width: 90%;
        margin: 0 auto 20px auto;
    }

    .step section p {
        font-size: 0.8rem;
        padding: 3px;
    }

    article .map_table th {

        font-size: 1.5rem;
    }
    .access_box .contents-text h3 {
        font-size: 1rem;
    }

    #subpage .card .card-strong {
        font-size: 0.8rem;

    }

    #subpage .card .card-effect {
        font-size: 0.8rem;
    }

.btn-animation-02 {
    width: auto;
    }



}
