/*============================ START TOPBAR STYLE ==========================*/
header ul {
    display: flex;
    list-style: none;
    padding: 0;
    justify-content: space-evenly;
    font-weight: normal;
    color: #fff;
    font-size: 20px;
    margin: 0;
}
header ul li:hover {
    color: #90BFC5;
}
header ul li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 10px!important;
    font-size: 18px;
}
header .topbar-wrapper.login ul li a{
    align-items: center;
}
header ul li a.teacher-mypage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 10px!important;
    margin-top: 10px;
}
.size-button .logout2::before {
    width: 28px !important;
    height: 28px !important;
}
header ul h6 {
    font-weight: normal;
}
header ul a p{
    font-size: 24px;
}
header ul .divider {
    border-right: 1px dashed #fff;
    height: auto;
}
header nav {
    width: 100%;
    max-width: 300px;
    font-size: 15px;
    margin-left: 8px;
}
nav.mn.space-navbar.index-menu{
    min-width: 525px;
}
nav.mn.space-navbar{
    margin-left: 0px;
    margin-right: 0px;
}
.search {
    display: flex;
    border-bottom: 1px solid #fff;
    width: 50%;
    height: 40px;
}
.search .input {
    border: none;
    font-size: 15px;
    width: 100%;
    height: 35px;
    margin-top: auto;
    color: #fff;
    margin-right: 0.5em;
}
.search .inputBlack {
    border: none;
    font-size: 15px;
    width: 100%;
    height: 35px;
    margin-top: auto;
    color: #000;
    margin-right: 0.5em;
}
.search .button {
    height: 35px;
    margin-top: auto;
    padding: 0;
    color: #1b1b1b;
    min-width: unset;
    max-width: unset;
    min-height: unset;
    display: inline-block;
}
#mobile-menu button, #mobile-menu .button, #mobile-menu .ui-button {
    min-width: unset;
    max-width: unset;
    min-height: unset;
}
header .button {
    background: transparent;
    border: none;
    width: auto;
    color: #fff;
}
header .button::before {
    content: "";
    background-size: contain;
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    display: block;
}
.search .button::before {
    background-image: url("../../resources/shashusho/img/icon-search.png");
}
header .button.icon.home {
    margin-left: 8px;
}
header .button.icon.logout2 {
    padding-left: 15px;
}
header .button.icon {
    display: flex;
    align-items: flex-end;
    padding-left: 15px;
    padding-right: 0;
    gap: 5px
}
header .button.icon::before {
    width: 22px;
    height: 22px;
    margin: auto;
}
header .button.icon.teacher::before{
    width: 27px;
    height: 22px;
    margin: auto;
}
header .button.icon.home::before {
    background-image: url("../../resources/shashusho/img/home-05.png");
    width: 30px;
    height: 30px;
}
header .button.icon.login::before {
    background-image: url("../../resources/shashusho/img/icon-user.png");
}
header .button.icon.login.teacher::before {
    background-image: url("../../resources/shashusho/img/login-teacher.png");
}
header .button.icon.logout2::before {
    background-image: url("../../resources/shashusho/img/logout-02.png");
}
header .right-item {
    display: flex;
    margin-right: 0;
    margin-left: 0;
    flex: 1;
    justify-content: flex-end;
    max-width: 500px;
    align-items: end;
    position: relative;
    top: 0px;
    align-items: center;
}
header .right-item .login-btn{
    word-break: keep-all;
}
.right-item .topbar-icon-login{
    display: flex;
}
header .search {
    margin-bottom: 0;
}
.topbar-logo {
    width: auto;
}
.topbar-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: 87px;
    justify-content: space-between;
}
#search-sm {
    display: none;
}
.topbar-wrapper .topbar-logo img {
    height: 56px;
    width: auto;
}
.header-menu {
    background-color: #000;
}
header .button.display-ipad {
    display: none;
}
header .button.display-ipad-student {
    display: none;
}


/* || member topbar  = topbarUser.html */
header .button.icon.logout {
    position: relative;
    width: 36px;
    padding-top: 0;
    padding-bottom: 0;
}
header .button.icon.logout::before {
    background-image: url(../../resources/shashusho/img/icon-logout.png);
    width: 28px;
    height: 28px;
    position: absolute;
    top: 6px;
    left: 13px;
}
header .button.icon.logout .ui-button-text {
    display: none
}
header .topbarUser .button.icon.home {
    margin-left: 8px;
    padding-top: 0;
    padding-bottom: 8px;
}
header .topbarUser .right-item {
    align-items: center;
}
body .ui-button.ui-button-text-icon-left .ui-button-text {
    padding: 0.429em 0em 0.429em 0em;
}
body .ui-button.ui-button-text-icon-right .ui-button-text {
    padding: 0.429em 0em 0.429em 0em;
}
header .topbarTeacher .button.icon.home {
    margin: 0;
}
header .topbarTeacher form {
    margin: 0;
}
header .button:hover {
    cursor: pointer;
    opacity: .5;
    transition: 0.2s ease-out;
}
header .button.icon.menu-sm:hover{
    opacity: 1;
}
body header .ui-button.ui-state-hover {
    border: none;
}
body header .ui-button.ui-state-active {
    background: transparent;
}
.search-topbar-sm {
    display: none;
}
.topbar-login-button {
    display: none
}
.topbar-login-button .ui-menu {
    border-radius: 0px;
}
.topbar-login-button .ui-menu .ui-menu-list .ui-menuitem .ui-menuitem-link {
    background-color: #000;
    border-radius: 0px;
    white-space: nowrap;
    padding: 7px 8px !important;
    font-size: 16px;
}
.topbar-login-button .ui-menu .ui-menu-list .ui-menuitem .ui-menuitem-link .ui-menuitem-text {
    color: #fff;
    font-size: 16px;
    margin: 0px;
}
.topbar-login-button .ui-menu.ui-menubar > .ui-menu-list > .ui-menuitem > .ui-menuitem-link .ui-icon-triangle-1-s:last-child {
    display: none;
}
.topbar-login-button .ui-menuitem .pi-save:before {
    content: "";
    background-image: url("../../resources/shashusho/img/icon-user.png");
    width: 30px;
    height: 30px;
    display: block;
    background-size: cover;
    background-position: center;
    width: 16px;
    height: 17px;
}
.topbar-login-button .ui-menuitem .login-teacher .pi-save:before {
    background-image: url("../../resources/shashusho/img/login-teacher.png");
}
.topbar-login-button .ui-menu .ui-menu-list .ui-widget-header {
    display: none;
}
.topbar-login-button .ui-menu.ui-megamenu .ui-menu-child .ui-menu-list {
    width: 100%;
}
/*============================ END TOPBAR STYLE ==========================*/

/*============================ START FOOTER STYLE ==========================*/
.footer-wrapper {
    padding: 31px 0 90px;
    background-image: url('/resources/shashusho/img/footer-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}
footer {
    font-size: 13px;
}
footer nav {
    margin-top: 15px;
    color: #fff;
}
footer ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 18px 0;
    font-size: 16px;
    flex-wrap: wrap;
}
footer ul li {
    margin-right: 23px;
    margin-bottom: 5px;
}
footer ul.policy {
    flex-flow: column;
    font-size: 12px;
    gap: 10px;
    margin-top: 30px;
}
footer ul.policy li {
    margin-right: 15px;
}
.button.footer {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    font-weight: normal;
    min-height: 36px;
    width: auto;
    cursor: pointer;
    font-size: 16px;
    min-width: 232px;
    margin: auto;
    display: block;
    padding: 1px 2.2em;
    max-width: 90%;
    margin-bottom: 20px;
    margin-right: 0;
}
.button.colorBlack.button-footer{
    width: auto;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #fff;
}
.button.footer::after {
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(292deg) brightness(112%) contrast(101%);
}
.button.footer:hover {
    background: #EB5640;
    color: #fff;
}
.logo-footer {
    height: 185px;
    margin-left: 50px;
}
footer .sns {
    display: inline-block;
    margin-left: 8px;
    text-align: right;
}
.sns .icon {
    width: 26px;
    height: 26px;
}
footer .right-side {
    text-align: right;
    display: flex;
    margin-top: 2em;
}
.wrap-sns-footer {
    margin-top: 40px;
}
footer .row2 {
    margin-top: 10px;
}
footer .icon {
    margin: 0;
}
footer nav a:hover {
    color: #90BFC5;
}
.footer-logo {
    width: auto;
}
.footer-logo img {
    height: 40px;
    width: auto;
}
#search-navigation {
    display: none;
}
footer .row2 .left-side {
    padding-left: 20px;
    position: relative;
    margin-top: 7px;
    color: #fff;
    font-size: 10px;
}
footer .c-symbol {
    position: absolute;
    font-size: 15px;
    left: 0;
    bottom: -1.5px;
}
.copyright {
    padding-left: 15px;
    position: relative;
    margin-top: 31px;
    color: #fff;
    font-size: 12px;
}
.wrap-menu-hamburger{
    display: flex;
    list-style: none;
    padding: 0;
    justify-content: flex-start;
    font-weight: normal;
    color: #fff;
    font-size: 20px;
    margin: 0;
}
.wrap-menu-mypage{
    display: flex;
    list-style: none;
    padding: 0 2em;
    justify-content: flex-start;
    font-weight: normal;
    color: #fff;
    font-size: 20px;
    margin: 0;
}
.btn-change-pass{
    margin-top: 1em;
}
.PC-only{
    display: block;
}
header .right-item #menuCorner .button.hide-ipad {
    display: none;
}
/*============================ END FOOTER STYLE ==========================*/

@media screen and (max-width: 1130px) {
    /*============================ START TOPBAR STYLE ==========================*/
    nav.mn.space-navbar.index-menu {
        min-width: 438px;
    }
    /*============================ END TOPBAR STYLE ==========================*/
}

@media screen and (max-width: 1024px) {
    /*============================ START TOPBAR STYLE ==========================*/
    .right-item .no-mg-bottom .button.login-btn.teacher {
        margin-bottom: 0;
        padding-left: 0;
    }
    .right-item .no-mg-bottom {
        gap: 15px;
    }
    header .button.icon.home {
        margin-left: 0px;
    }
    header .button.icon.menu-sm {
        position: relative;
        margin-top: 0;
    }
    .text-login {
        display: none;
    }
    header .button.icon.menu-sm span {
        background: #fff;
        border-radius: 2px;
        display: block;
        height: 2px;
        left: 41%;
        opacity: 1;
        position: absolute;
        -webkit-transform-origin: left center;
        transform-origin: left center;
        width: 22px;
        transition: 0.5s ease-out;
    }
    header .button.icon.menu-sm span:first-child{
        top: 8px;
    }
    header .button.icon.menu-sm span:nth-child(2){
        top: 16px;
    }
    header .button.icon.menu-sm span:nth-child(3){
        top: 24px;
    }

    .right-item .topbar-icon-home .button.icon.home{
        margin-top: 0px;
        position: relative;
    }
    .right-item .topbar-icon-login .button.icon.login{
        margin-top: 0px;
        position: relative;
    }
    header .button.icon.menu-sm::after {
        content: "メニュー";
        color: #1b1b1b;
        font-weight: bold;
        word-break: keep-all;
        text-align: center;
        font-size: 8px;
        font-family: "Noto Sans JP", "Noto Sans", Roboto, Arial, sans-serif;
        display: none;
        font-weight: bold;
    }
    header .button.icon.menu-sm::after:hover{
        display: none;
    }
    header .button.icon.home::before {
        margin: auto;
        background-position: center;
        background-size: 120%;
        height: 24px;
        width: 24px;
    }
    header .button.icon.home::after {
        content: "ホーム";
        color: #1b1b1b;
        font-weight: bold;
        word-break: keep-all;
        text-align: center;
        font-size: 8px;
        font-family: "Noto Sans JP", "Noto Sans", Roboto, Arial, sans-serif;
        display: none;
        font-weight: bold;
        margin-top: 5px;
    }
    header .button.icon.login::before {
        margin: auto;
        background-size: cover;
        background-position: center;
        width: 19px;
        height: 21px;
    }
    header .button.icon.login.teacher::before {
        width: 23px;
        height: 20px;
    }
    header .button.icon.login::after {
        content: "マイページ";
        color: #1b1b1b;
        font-weight: bolder;
        word-break: keep-all;
        text-align: center;
        font-size: 8px;
        font-family: "Noto Sans JP", "Noto Sans", Roboto, Arial, sans-serif;
        display: none;
        font-weight: bold;
        margin-top: 5px;
    }
    .right-item .search .button::before {
        margin: auto;
        background-position: center;
        width: 22px;
        height: 24px;
        margin-top: 8px;
    }
    .right-item .search .button::after {
        display: none;
        content: "見つける";
        color: #1b1b1b;
        font-weight: bold;
        word-break: keep-all;
        text-align: center;
        font-size: 8px;
        font-family: "Noto Sans JP", "Noto Sans", Roboto, Arial, sans-serif;
        margin-top: 3px;
        font-weight: bold;
    }
    .right-item .button.icon.menu-sm::after{
        margin-top: 6px;
    }
    header .button.icon {
        margin: auto;
        padding-left: 14px;
        display: block;
    }
    .search .input {
        padding: 2px 0 2px 2px;
    }
    .search .button {
        margin-top: 5px;
    }
    .topbar-wrapper {
        height: 75px;
    }
    .topbar-wrapper .topbar-logo {
        width: auto;
        order: 1;
    }
    footer ul {
        margin: 18px 45px 18px 0;
    }
    footer ul li {
        margin-right: 23px;
        margin-bottom: 23px;
    }
    .topbar-wrapper .topbar-logo img {
        width: auto;
        height: 40px;
    }

    header .show-menu .index nav.mn {
        display: block;
        position: absolute;
        left: 0;
        margin: 0;
        top: 0px;
        z-index: 99;
        width: 100%;
        max-width: unset;
        -webkit-box-shadow: 0px 5px 5px lightgrey;
        background-image: url('/resources/shashusho/img/bg-sm-topbar.png');
        min-width: 525px;
    }
    header .show-menu nav.mn{
        display: block;
        position: absolute;
        left: 0;
        margin: 0;
        top: 0px;
        z-index: 99;
        width: 100%;
        max-width: unset;
        -webkit-box-shadow: 0px 5px 5px lightgrey;
        background-image: url('/resources/shashusho/img/bg-sm-topbar.png');
        /*padding-bottom: 1em;*/
    }
    header .show-menu .topbar-wrapper .right-item button.icon.menu-sm:after{
        display: none;
    }
    header .show-menu .topbar-wrapper .right-item button.icon.menu-sm span:first-child {
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        transition: 0.5s ease-out;
        width: 26px;
    }
    header .show-menu .topbar-wrapper .right-item button.icon.menu-sm span:nth-child(2) {
        display: none;
    }
    header .show-menu .topbar-wrapper .right-item button.icon.menu-sm span:nth-child(3) {
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        transition: 0.5s ease-out;
        width: 26px;
        top: 26px;
    }
    header .show-menu .topbar-wrapper .right-item .search{
        display: none;
    }
    header .show-menu .topbar-wrapper .right-item .home{
        display: none;
    }
    header .show-menu .topbar-wrapper .right-item .login{
        display: none;
    }
    header .search-menu nav#search-navigation.src {
        display: block;
        position: absolute;
        background: #fff;
        left: 0;
        margin: 0;
        top: 65px;
        z-index: 99;
        width: 100%;
        max-width: unset;
        padding: 0 1em 1em;
        -webkit-box-shadow: 0px 5px 5px lightgrey;
    }
    header .search-sm {
        display: block;
    }
    header .topbar-wrapper .right-item {
        min-width: 0;
        max-width: fit-content;
        margin-left: auto;
        order: 2;
        align-items: center;
        top: 0;
    }
    #mobile-menu {
        position: relative;
        -webkit-box-shadow: 0px 1px 5px lightgrey;
        z-index: 2;
    }
    header ul {
        flex-flow: column;
        text-align: left;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
        margin-bottom: 50px;
        flex-flow: wrap;
        max-width: 540px;
    }
    header ul li {
        text-align: left;
        padding: .5em;
        width: auto;
        padding-top: 1em;
    }
    .right-item .search {
        border-bottom: none;
    }
    .right-item .search .input {
        display: none;
    }
    header .button.icon::after {
        margin-top: 2px;
    }
    .search .button.btn-src-lg {
        display: none;
    }

    header #menuCorner .button.icon::before {
        height: 32px;
    }
    header .show-menu .button.icon.menu-sm::after {
        /*content: "閉じる";*/
    }
    header .show-menu #menuCorner .button.icon {
        left: 0px;
        z-index: 99;
    }
    header .right-item .search {
        display: block;
        margin: auto;
    }
    .search-topbar-sm {
        display: flex;
        max-width: 500px;
        margin-top: 48px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
    header ul .divider {
        display: none;
    }
    header .search-topbar-sm .button.icon::before {
        width: 25px;
        height: 25px;
    }
    .search-topbar-sm.search .button {
        height: 20px;
    }
    .search .src-sm {
        display: none!important;
    }
    .right-item .topbar-icon-login.topbar-icon-login-display {
        display: none;
    }
    .topbar-login-button {
        display: contents;
    }


    /* || member topbar  = topbarUser.html */
    header .button.icon.logout::after {
        content: "ログアウト";
        color: #1b1b1b;
        font-weight: bold;
        word-break: keep-all;
        text-align: center;
        font-size: 8px;
        font-family: "Noto Sans JP", "Noto Sans", Roboto, Arial, sans-serif;
        display: none;
        /*font-weight: normal;*/
        margin-top: 28px;
    }
    header .button.icon.logout::before {
        top: 2px;
        left: 21px;
    }
    header .button.icon.logout {
        width: 53px;
        margin-top: 16px;
    }
    header .topbarUser .button.icon.home {
        padding-bottom: 0px;
    }

    /* || teacher topbar  = topbarTeacher.html */
    header .topbarTeacher .topbar-wrapper {
        height: auto;
        padding-top: 1em;
        padding-bottom: 0.5em;
    }
    header .topbarTeacher .right-item {
        width: 100%;
        justify-content: right;
        margin: 0;
        align-items: center;
        max-width: unset;
    }
    .topbar-name-link {
        flex: 1;
        height: auto;
    }
    #mobile-menu.topbarTeacher {
        -webkit-box-shadow: none;
    }

    header .index .right-item #menuCorner .button.display-ipad {
        display: block;
    }
    header .right-item #menuCorner .button.hide-ipad {
        display: none;
    }
    header nav {
        order: 2;
        display: block;
    }
    header .index nav.mn {
        order: 2;
        display: none;
    }
    .topbar-wrapper .topbar-logo {
        width: auto;
        order: 1;
    }
    header ul li a.teacher-mypage {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 0!important;
        margin-top: 0px;
    }
    header ul a p {
        font-size: 18px;
    }

    /*============================ END TOPBAR STYLE ==========================*/
}


@media screen and (max-width: 768px) {
    /*============================ START FOOTER STYLE ==========================*/
    .no-mg-bottom .button.icon.login.login-btn.teacher{
        margin-bottom: 0;
    }
    header .right-item #menuCorner .button.display-ipad {
        display: block;
    }
    header .right-item #menuCorner .button.hide-ipad {
        display: none;
    }
    header nav {
        display: block;
    }
    .footer-wrapper .row1 {
        display: flex;
        flex-direction: row;
    }
    .footer-wrapper .left-side {
        width: 180%;
        margin: auto;
    }
    .footer-wrapper .right-side {
        display: flex;
        justify-content: flex-end;
        width: 100%;
    }
    .footer-wrapper .right-side .wrap-sns-footer {
        /*display: none;*/
        position: absolute;
        margin: 0;
        top: 175px;
        left: 3%;
    }
    .footer-wrapper .right-side .logo-footer {
        position: absolute;
        top: 230px;
        right: 2%;
    }
    .footer-wrapper .right-side form {
        display: inline-flex;
        flex-direction: column;
    }
    .button.footer {
        margin: 10px 10px;
    }
    footer ul {
        font-size: 14px;
        flex-direction: row;
        gap: 10px;
        margin: 18px 0;
    }
    .footer-link-list {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        font-size: 14px;
        row-gap: 10px;
        column-gap: 0;
        margin: -5px 0 18px 0;
    }
    .footer-list {
        margin-right: unset;
        margin-bottom: 0px;
    }
    .footer-wrapper {
        padding: 25px 0;
        position: relative;
    }
    .button.footer {
        min-width: 170px;
    }
    footer nav {
        margin-top: 40px;
    }
    footer .sns {
        margin-left: 0;
        margin-right: 8px;
    }
    .sns .icon {
        width: 40px;
        height: 40px;
    }
    footer ul.policy {
        margin-top: 11em;
        margin-bottom: unset;
        gap: 0;
    }
    .copyright {
        margin-top: 0;
    }
    .PC-only{
        display: block;
    }
    header nav {
        width: 100%;
        max-width: 245px;
        font-size: 15px;
        margin-left: 8px;
    }
    header .topbar-wrapper .right-item {
        margin-left: auto;
        order: 2;
        align-items: center;
        top: 0;
    }
    nav.mn.space-navbar {
        margin-left: 0px;
        margin-right: 0px;
    }
    /*============================ END FOOTER STYLE ==========================*/
}
@media screen and (max-width: 40.063em) {
    header .button.icon {
        padding-left: 12px;
    }
    header ul{
        display: block;
    }
    header ul li {
        padding-top: .5em;
    }
    header ul li a {
        align-items: flex-start;
    }
    header ul li .line-sm{
        border-bottom: 1px solid gray;
        margin: 0.8em 10px 0 10px;
    }
    header ul {
        flex-flow: wrap;
        text-align: left;
        width: 100%;
        margin-left: 0;
        margin-right: 1em;
        margin-top: 20px;
        margin-bottom: 50px;
        max-width: 385px;
        flex-wrap: wrap;
    }
    header .topbar-wrapper.login ul li a{
        align-items: flex-start;
    }
    .search-topbar-sm {
        display: flex;
        max-width: 390px;
        margin-top: 48px;
        margin-left: 1em;
        margin-right: 1em;
        width: 67%;
    }
    .footer-policy {
        margin-bottom: 10px;
    }
    .copyright {
        margin-top: 20px;
    }
    /*============================ START TOPBAR STYLE ==========================*/
    header .right-item #menuCorner .button.hide-ipad.menu-sm {
        display: block;
    }
    header nav {
        order: 3;
        display: none;
        position: absolute;
    }
    .wrap-menu-mypage {
        justify-content: flex-start;
    }
    .wrap-menu-hamburger {
        justify-content: flex-start;
    }
    .photo-profile-topbar{
        border-radius: 50%;
        width: 33px;
        margin-bottom: 2px;
    }
    .topbar-wrapper .topbar-logo img {
        height: 34px;
    }
    .wrap-sns-footer{
        margin-bottom: 1em;
    }

    .show-teacher-submenu ul.ui-menu-list {
        display: block!important;
    }
    .topbar-wrapper {
        height: 60px;
    }
    /*============================ END TOPBAR STYLE ==========================*/

    /*============================ START FOOTER STYLE ==========================*/
    .button.footer.ui-button .ui-button-text {
        font-size: 11px;
    }
    .footer-wrapper .right-side form {
        width: 100%;
        gap: 14px;
    }
    .button.footer {
        min-width: 47%;
        width: 50%;
        margin: 0;
    }
    body button.footer.use-arrow::after{
        width: 20px;
        height: 14px;
    }
    /*============================ END FOOTER STYLE ==========================*/
    header .button.icon.menu-sm-teacher {
        position: relative;
        margin-top: 13px;
    }
    header .button.icon.menu-sm-teacher span {
        background: #000000;
        border-radius: 2px;
        display: block;
        height: 2px;
        left: 41%;
        opacity: 1;
        position: absolute;
        -webkit-transform-origin: left center;
        transform-origin: left center;
        width: 22px;
        transition: 0.5s ease-out;
    }
    header .button.icon.menu-sm-teacher span:first-child{
        top: 7px;
    }
    header .button.icon.menu-sm-teacher span:nth-child(2){
        top: 16px;
    }
    header .button.icon.menu-sm-teacher span:nth-child(3){
        top: 25px;
    }
    header .button.icon.menu-sm-teacher::after {
        content: "メニュー";
        color: #1b1b1b;
        font-weight: bold;
        word-break: keep-all;
        text-align: center;
        font-size: 8px;
        font-family: "Noto Sans JP", "Noto Sans", Roboto, Arial, sans-serif;
        display: none;
        font-weight: bold;
    }
    header .button.icon.menu-sm-teacher::after:hover{
        display: none;
    }
    .right-item .button.icon.menu-sm-teacher::after{
        margin-top: 6px;
    }
    header .show-menu .topbar-wrapper .right-item button.icon.menu-sm-teacher:after{
        display: none;
    }
    header .show-menu .topbar-wrapper .right-item button.icon.menu-sm-teacher span:first-child {
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        transition: 0.5s ease-out;
        width: 26px;
    }
    header .show-menu .topbar-wrapper .right-item button.icon.menu-sm-teacher span:nth-child(2) {
        display: none;
    }
    header .show-menu .topbar-wrapper .right-item button.icon.menu-sm-teacher span:nth-child(3) {
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        transition: 0.5s ease-out;
        width: 26px;
    }
    .teacher-main-topbar .button.icon.home{
        display: none;
    }
    .teacher-main-topbar .button.icon.logout{
        display: none;
    }
    #mobile-menu.topbarTeacher.show-menu nav.menu-teacher-main-sm{
        display: block;
        position: absolute;
        background: #fff;
        left: 0;
        margin: 0;
        top: 65px;
        z-index: 99;
        width: 100%;
        max-width: unset;
        -webkit-box-shadow: 0px 5px 5px lightgrey;
    }
    #mobile-menu.topbarTeacher.show-menu .teacher-main-topbar .photo-profile-topbar{
        display: none;
    }
    .wrap-item-menu-tc div{
        margin: 0 1em;
        padding: 0.8em 1em 0em .4em;
        border-bottom: 1px solid gray;
    }
    .wrap-item-menu-tc .menu-main{
        padding: 0.8em 1em 0.8em .4em;
    }
    /*    .wrap-item-menu-tc .menu-course{
            padding: 0.8em 1em 0.8em .4em;
        }*/
    .wrap-item-menu-tc div.menu-course.student{
        padding: 0.8em 1em .8em .4em;
    }
    .wrap-item-menu-tc .menu-booking{
        padding: 0.8em 1em 0.8em .4em;
    }
    .wrap-item-menu-tc .menu-payment{
        padding: 0.8em 1em 0em .4em;
    }
    .wrap-item-menu-tc .menu-message{
        padding: 0.8em 1em 0.8em .4em;
    }
    .wrap-item-menu-tc div:last-child{
        border-bottom: none;
    }
    .wrap-item-menu-tc div a{
        display: flex;
        align-items: center;
        color: #ffffff;
    }
    .menu-main a:before{
        content: url('../../resources/shashusho/img/member/white/home-05.png');
        width: 20px;
        height: 20px;
        margin-right: 1em;
    }
    .menu-course.student a:before{
        content: url('../../resources/shashusho/img/member/white/file-05.png');
        width: 20px;
        height: 20px;
        margin-right: 1em;
    }
    .footer-wrapper .row1 {
        display: flex;
        flex-direction: column-reverse;
    }
    .footer-link-list {
        display: inline-grid;
        grid-template-columns: repeat(2,1fr);
        column-gap: 50px;
        font-size: 14px;
        margin: -5px 0 18px 0;
    }
    .footer-wrapper .right-side .logo-footer {
        position: absolute;
        top: 333px;
        right: 0%;
    }
    .menu-main .p-menu:after{
        content: "";
        border-bottom: 2px solid #20707A;
        border-right: 2px solid #20707A;
        transform: rotate(45deg);
        height: 10px;
        width: 10px;
        margin-left: auto;
        margin-bottom: 5px;
        transition: 0.5s ease-out;
    }
    .menu-course .p-menu:after{
        content: "";
        border-bottom: 2px solid #20707A;
        border-right: 2px solid #20707A;
        transform: rotate(45deg);
        height: 10px;
        width: 10px;
        margin-left: auto;
        margin-bottom: 5px;
        transition: 0.5s ease-out;
    }
    .menu-article .p-menu:before{
        content: url('../../resources/shashusho/img/member/white/edit-01.png');
        width: 20px;
        height: 20px;
        margin-right: 1em;
    }
    .menu-article .p-menu:after{
        content: "";
        border-bottom: 2px solid #20707A;
        border-right: 2px solid #20707A;
        transform: rotate(45deg);
        height: 10px;
        width: 10px;
        margin-left: auto;
        margin-bottom: 5px;
        transition: 0.5s ease-out;
    }
    .menu-message a:before{
        content: url('../../resources/shashusho/img/member/message-white-small.png');
        width: 20px;
        height: 20px;
        margin-right: 1em;
    }
    .menu-message .p-menu:after{
        content: "";
        border-bottom: 2px solid #20707A;
        border-right: 2px solid #20707A;
        transform: rotate(45deg);
        height: 10px;
        width: 10px;
        margin-left: auto;
        margin-bottom: 5px;
        transition: 0.5s ease-out;
    }
    .menu-user .p-menu:before{
        content: url('../../resources/shashusho/img/member/white/Icon-user.png');
        width: 20px;
        height: 20px;
        margin-right: 1em;
    }
    .menu-user .p-menu:after{
        content: "";
        border-bottom: 2px solid #20707A;
        border-right: 2px solid #20707A;
        transform: rotate(45deg);
        height: 10px;
        width: 10px;
        margin-left: auto;
        margin-bottom: 5px;
        transition: 0.5s ease-out;
    }
    .menu-course .p-menu:before{
        content: url('../../resources/shashusho/img/member/news-white-small.png');
        width: 20px;
        height: 20px;
        margin-right: 1em;
    }
    .menu-course .p-menu:after{
        content: "";
        border-bottom: 2px solid #20707A;
        border-right: 2px solid #20707A;
        transform: rotate(45deg);
        height: 10px;
        width: 10px;
        margin-left: auto;
        margin-bottom: 5px;
        transition: 0.5s ease-out;
    }
    .menu-booking .p-menu:before{
        content: url('../../resources/shashusho/img/member/booking-white-small.png');
        width: 20px;
        height: 20px;
        margin-right: 1em;
    }
    .menu-payment .p-menu:before{
        content: url('../../resources/shashusho/img/member/payment-white-small.png');
        width: 20px;
        height: 20px;
        margin-right: 1em;
    }
    /*    .menu-booking .p-menu:after{
            content: "";
            border-bottom: 2px solid #20707A;
            border-right: 2px solid #20707A;
            transform: rotate(45deg);
            height: 10px;
            width: 10px;
            margin-left: auto;
            margin-bottom: 5px;
            transition: 0.5s ease-out;
        }*/
    .menu-notice .p-menu:before{
        content: url('../../resources/shashusho/img/member/white/bell-ringing-02.png');
        width: 20px;
        height: 20px;
        margin-right: 1em;
    }
    .menu-notice .p-menu:after{
        content: "";
        border-bottom: 2px solid #20707A;
        border-right: 2px solid #20707A;
        transform: rotate(45deg);
        height: 10px;
        width: 10px;
        margin-left: auto;
        margin-bottom: 5px;
        transition: 0.5s ease-out;
    }
    .menu-payment .p-menu:after{
        content: "";
        border-bottom: 2px solid #20707A;
        border-right: 2px solid #20707A;
        transform: rotate(45deg);
        height: 10px;
        width: 10px;
        margin-left: auto;
        margin-bottom: 5px;
        transition: 0.5s ease-out;
    }
    .p-menu{
        cursor: pointer;
        transition: 500ms ease 0s;
    }
    .menu-user-inform .p-menu:before{
        content: url('../../resources/shashusho/img/member/bell.png');
        width: 20px;
        height: 20px;
        margin-right: 1.1em;
        margin-bottom: 5px;
        margin-left: -2px;
    }
    .menu-user-inform .p-menu:after{
        content: "";
        border-bottom: 2px solid #20707A;
        border-right: 2px solid #20707A;
        transform: rotate(45deg);
        height: 10px;
        width: 10px;
        margin-left: auto;
        margin-bottom: 5px;
        transition: 0.5s ease-out;
    }
    .label-notif-sm{
        margin-left: 10px;
        color: white;
        font-size: 12px;
        background-color: #E8472A;
        height: 18px;
        width: 18px;
        text-align: center;
        border-radius: 50%;
    }
    .wrap-item-menu-tc .child-menu .ui-commandlink.sm-notif-all:after{
        content: "6";
        margin-left: 8px;
        color: white;
        font-size: 12px;
        background-color: #E8472A;
        height: 18px;
        width: 18px;
        text-align: center;
        border-radius: 50%;
        line-height: 17px;
        font-weight: normal;
    }
    .wrap-item-menu-tc .child-menu .ui-commandlink.sm-notif-important:after{
        content: "2";
        margin-left: 8px;
        color: white;
        font-size: 12px;
        background-color: #E8472A;
        height: 18px;
        width: 18px;
        text-align: center;
        border-radius: 50%;
        line-height: 17px;
        font-weight: normal;
    }
    .wrap-item-menu-tc .child-menu .ui-commandlink.sm-notif-starred:after{
        content: "1";
        margin-left: 8px;
        color: white;
        font-size: 12px;
        background-color: #E8472A;
        height: 18px;
        width: 18px;
        text-align: center;
        border-radius: 50%;
        line-height: 17px;
        font-weight: normal;
    }
    .wrap-item-menu-tc .child-menu .ui-commandlink.sm-notif-school:after{
        content: "2";
        margin-left: 8px;
        color: white;
        font-size: 12px;
        background-color: #E8472A;
        height: 18px;
        width: 18px;
        text-align: center;
        border-radius: 50%;
        line-height: 17px;
        font-weight: normal;
    }
    .wrap-item-menu-tc .child-menu .ui-commandlink.sm-notif-workshop:after{
        content: "1";
        margin-left: 8px;
        color: white;
        font-size: 12px;
        background-color: #E8472A;
        height: 18px;
        width: 18px;
        text-align: center;
        border-radius: 50%;
        line-height: 17px;
        font-weight: normal;
    }
    .wrap-item-menu-tc .child-menu{
        max-height: 0;
        padding: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-out;
        margin: 14px 0 0 2.5em;
    }
    .child-menu a{
        display: block;
        padding-bottom: 12px;
        font-family: "Noto Sans JP", "Noto Sans", Roboto, Arial, sans-serif;
        color: #808080;
        font-size: 15px;
    }
    .menu-article .p-menu.active-collapsible:after{
        transform: rotate(225deg);
        transition: 0.5s ease-out;
    }
    .menu-course .p-menu.active-collapsible:after{
        transform: rotate(225deg);
        transition: 0.5s ease-out;
    }
    .menu-booking .p-menu.active-collapsible:after{
        transform: rotate(225deg);
        transition: 0.5s ease-out;
    }
    .menu-payment .p-menu.active-collapsible:after{
        transform: rotate(225deg);
        transition: 0.5s ease-out;
    }
    .menu-notice .p-menu.active-collapsible:after{
        transform: rotate(225deg);
        transition: 0.5s ease-out;
    }
    /*    .menu-message .p-menu.active-collapsible:after{
            transform: rotate(225deg);
            transition: 0.5s ease-out;
        }*/
    .wrap-item-menu-tc{
        margin-top: 1em;
    }
    header #menuCorner {
        display: block;
    }
    footer ul {
        font-size: 14px;
        flex-direction: column;
        gap: 10px;
    }
    .footer-wrapper .right-side form {
        display: inline-flex;
        flex-direction: row;
    }
    .footer-wrapper .right-side .wrap-sns-footer {
        position: absolute;
        margin: 8em 0;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .PC-only{
        display: none;
    }
    .logo-footer {
        height: 165px
    }
    header .topbar-wrapper.login ul{
        max-width: fit-content;
        flex-flow: column;
        margin-left: 0;
    }
}

@media screen and (max-width: 380px) {
    header ul {
        flex-flow: wrap;
        text-align: left;
        width: 100%;
        margin-left: 0em;
        margin-right: 0em;
        margin-top: 20px;
        margin-bottom: 50px;
        max-width: 375px;
        flex-wrap: wrap;
    }
    .search-topbar-sm {
        display: flex;
        max-width: 345px;
        margin-top: 48px;
        margin-left: 1em;
        margin-right: 1em;
        width: 65%;
    }
    header ul li .line-sm {
        border-bottom: 1px solid gray;
        margin: 0.8em 10px 0 5px;
    }
    .padding-left05 {
        padding-left: 0!important;
    }
}

@media screen and (max-width: 320px) {
    .topbar-wrapper .topbar-logo img {
        height: 31px;
    }
    header .button.icon {
        padding-left: 7px;
    }
    header .button.icon.menu-sm span {
        left: 33%;
    }
    .wrap-menu-mypage {
        margin-left: -1.5em;
    }
    .wrap-menu-hamburger {
        margin-left: -1.5em;
    }
    header ul {
        flex-flow: wrap;
        text-align: left;
        width: 100%;
        margin-left: 0em;
        margin-right: 0em;
        margin-top: 20px;
        margin-bottom: 50px;
        max-width: 320px;
        flex-wrap: wrap;
    }
    .search-topbar-sm {
        display: flex;
        max-width: 290px;
        margin-top: 48px;
        margin-left: 1em;
        margin-right: 1em;
        width: 55%;
    }
    body .ui-button.ui-button-text-icon-left .ui-button-text {
        padding: 0.429em 0em 0.429em 0em!important;
    }
    .padding-left05 {
        padding-left: 0!important;
    }
}
