@charset "UTF-8";

html,
body,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p,
div {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    position: relative;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

#scd-header a:link {
    color: #1f2c5c;
}

#scd-header a:visited {
    color: #1f2c5c;
}

a:hover {
    background-color: rgba(255, 255, 255, 0);
}

.child-item-list a:hover {
    background-color: #1f2c5c85;
}

.container {
    max-width: 80%;
    margin: 0 auto;
    text-align: center;
}

.wrap {
    height: auto;
    overflow: hidden;
}

.all-items {
    position: relative;
    height: auto;
    width: 100%;
}


/*header------------------------------------------------------------------------------------*/

header {
    float: left;
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    height: 16vh;
}

.header-logo {
    width: 26%;
    z-index: 999;
    text-align: center;
    line-height: 8vh;
    height: 8vh;
}

.header-logo h1 {
    font-size: 1.8rem;
    font-family: auto;
}

.header-logo:hover {
    background-color: rgba(255, 255, 255, 0);
}

.header-item a {
    color: #1f2c5c;
}

.sticky-menu {
    top: 0;
    left: 0;
    z-index: 998;
    padding: 35px 0 20px;
    position: absolute;
    background: transparent !important;
    transition: all ease 0.3s;
}

.sticky-menu.fixed {
    position: fixed;
    z-index: 998;
    background: #1f2c5c !important;
    color: #fff !important;
    padding: 10px 0;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 1px 3px 11px 3px rgb(136 136 136 / 34%);
    height: 8vh;
    width: 100%;
}

.sticky-header-menu {
    display: none;
}

.sticky-header-menu.fixed {
    position: fixed;
    display: block;
    z-index: 999;
    background: transparent !important;
    width: 100%;
    color: #fff;
}

#scd-header {
    width: 100%;
    position: sticky;
    top: 10%;
    z-index: 999;
    height: 8vh;
}

.scd-header-list {
    line-height: 8vh;
}

.header-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.appointment {
    width: 100%;
    height: 12vh;
    z-index: 999;
}

.appointment-item {
    height: 8vh;
    line-height: 8vh;
    z-index: 999;
    text-align: center;
    width: 25%;
    margin-left: auto;
}

.appointment-item a {
    padding: 15px;
    color: #fff;
    cursor: pointer;
    background: #1f2c5c;
    color: #fff;
    text-align: center;
    font-size: 15px;
    cursor: pointer;
}

.res-header-logo {
    display: none;
    line-height: 12vh;
    font-size: 0.6rem;
}

.res-header-right {
    display: none;
}

.res-appointment-item {
    opacity: 0;
    font-size: 20px;
    background: #1f2c5c;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    width: 50px;
    height: 50px;
    line-height: 47px;
}

.res-appointment-item a {
    font-size: 15px;
    color: #fff;
}

.scd-header a {
    display: block;
    transition: all 0.5s;
    font-size: 1.1vw;
    word-wrap: break-word;
    position: relative;
}

.scd-header-title a {
    position: relative;
    color: #333;
    font-weight: 600;
}

.scd-header-title.fixed a {
    color: #ffffff !important;
}

.scd-header-title a::after {
    position: absolute;
    /*親要素であるaタグを基準に位置を指定*/
    left: 0;
    /*アンダーラインを各メニュー（aタグ）の左端に指定*/
    content: '';
    /*本来は、擬似要素に入るテキストなどを’’内に指定。今回はアンダーラインなので何も記載しない*/
    width: 100%;
    /*アンダーラインを各aタグの幅に合わせる*/
    height: 2px;
    /*アンダーラインの高さ（太さ）*/
    background: #000000;
    /*アンダーラインの色*/
    bottom: 7px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.scd-header-title a:hover {
    background: transparent;
}

.scd-header-title a:hover::after {
    visibility: visible;
    bottom: 0;
    opacity: 1;
}

.scd-header-item {
    background: transparent;
    height: 8vh;
}

.scd-header {
    position: relative;
    display: flex;
    justify-content: space-around;
    width: 100%;
    z-index: 999;
    height: 100%;
}

.login-info.res {
    display: none;
}

/*--footer-----------------------------------------------------------------------------------*/
footer {
    height: auto;
    background: #1f2c5c;
    background-size: cover;
    color: #fff;
}

.footer-items {
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
}

.footer-txt {
    font-size: 0.8rem;
    line-height: 1.8;
    letter-spacing: 0.05em;
    text-align: left;
}

.footer-menu {
    position: relative;
    width: 50%;
}

.footer-list {
    display: flex;
    position: absolute;
    bottom: 0;
    align-items: end;
}

.footer-list a {
    color: #ffffff;
}

.footer-menu-item a {
    display: block;
    transition: all 0.5s;
    font-size: 1.1rem;
    word-wrap: break-word;
    position: relative;
    border-bottom: 1px solid #fff;
}

/*----ハンバーガーメニュー------------------------------------------------------------------------------*/

#humMenu {
    margin: auto 0;
    background: white;
    display: none;
    z-index: 999;
}

#humCheck,
#humClose {
    display: none;
}

#humOpen {
    display: block;
    width: 40px;
    cursor: pointer;
}

#humOpen:hover {
    opacity: 0.5;
}

#humOpen img {
    display: block;
}

#humClose,
nav {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
}

#humClose {
    z-index: 2;
    width: 100%;
    background: gray;
    opacity: 0.8;
    transition: 0.5s;
}

nav {
    z-index: 9999;
    width: 70%;
    background: white;
    transition: 0.5s;
    transform: translateX(-100%);
}

#humCheck:checked~#humClose {
    display: block;
}

#humCheck:checked~nav {
    transform: translateX(0);
}

nav ul {
    overflow: hidden;
    list-style: none;
}

nav li {
    text-align: center;
    padding: 15px 0;
    margin: 10px 0;
}

nav li:hover {
    opacity: 0.5;
}

nav li a {
    font-size: 20px;
    text-decoration: none;
    font-size: 20px;
    color: black !important;
}

/* タイトル --------------------------------------------------------------------------------------- */
.list-title {
    font-family: 'Roboto', sans-serif;
    display: inline-block;
    text-align: center;
    font-weight: 700;
    padding: 70px 20px 20px 20px;
    font-size: 25px;
    letter-spacing: 0.18em;
    color: #1f2c5c;
}

.title-line {
    background-color: #1f2c5c;
    content: '';
    display: block;
    height: 2px;
    margin-top: 8px;
}

/* 管理者画面ログイン情報表示 ----------------------------------------------------------------------------- */
.login-info {
    width: 26%;
}

.login-info-item {
    display: flex;
    justify-content: end;
    gap: 5px;
    height: 8vh;
    line-height: 8vh;
}

.login-user,
.logout-btn {
    text-align: right;
    font-size: 15px;
    white-space: nowrap;
}

/* 管理者画面menu ----------------------------------------------------------------------------- */
.menu {
    height: 8vh;
}

.res-menu {
    display: none;
    height: 12vh;
}

.mobile-menu {
    display: none;
    margin-top: 20vh;
}

.menu-list,
.res-menu-list,
.mobile-menu-list {
    display: flex;
    justify-content: center;
    width: 100%;
    border-bottom: 1px solid #ddd;
    margin: 0 auto;
    height: 100%;
}

.current-menu {
    border-bottom: 2px solid #1f2c5c;
    position: relative;
    /* background: #dddddd98; */
}

.mobile-menu-item.current-menu{
    border: 1px solid #1f2c5c;
    background: #1f2c5c;
}

.current-menu .tag {
    position: absolute;
    width: 20px;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
}

.current-menu .tag2 {
    position: absolute;
    width: 18px;
    bottom: -8px;
    left: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
}

.menu-item a {
    display: block;
    padding: 0 10px;
    height: 100%;
    line-height: 8vh;
    color: #1f2c5c;
}

.res-menu-item a,
.mobile-menu-item a {
    display: block;
    padding: 0 10px;
    height: 100%;
    color: #1f2c5c;
}

.res-menu-item a p {
    height: 100%;
    line-height: 12vh;
}

.mobile-menu-item.current-menu a{
    color: #fff;
}

.menu-item a:hover,
.res-menu-item a:hover,
.mobile-menu-item a:hover {
    background-color: #dddddd98;
    transition: .5s;
}

/*--レスポンシブ対応--------------------------------------------------------------------------------------*/
@media screen and (max-width:1050px) {
    header {
        /* position: fixed; */
        background-color: #fff;
        height: 12vh;
    }

    .res-fixed {
        position: fixed;
        width: 100%;
        box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.1);
        background-color: #fff;
        border-bottom: none;
        -webkit-animation: slide_down_menu 0.5s ease;
        animation: slide_down_menu 0.5s ease;
        z-index: 995;
    }

    @-webkit-keyframes slide_down_menu {
        0% {
            top: -60px;
        }

        100% {
            top: 0px;
        }
    }

    @keyframes slide_down_menu {
        0% {
            top: -60px;
        }

        100% {
            top: 0px;
        }
    }

    .header-logo {
        padding: 0;
    }

    .header-logo h1 {
        font-size: 1.5rem;
    }

    .header-item {
        height: 12vh;
    }

    .res-header-right {
        display: flex;
        align-items: center;
        gap: 20px;
        z-index: 999;
    }

    #scd-header {
        display: none;
    }

    .appointment {
        display: flex;
        justify-content: space-between;
        padding: 0;
        margin: auto;
    }

    .appointment-item {
        display: none;
    }

    .header-logo {
        display: none;
    }

    .res-header-logo {
        display: block;
        z-index: 999;
    }

    .res-appointment-item {
        opacity: 1;
    }

    #humMenu {
        display: block;
    }

    .list-title {
        font-size: 20px;
    }

    .login-info {
        display: none;
    }

    .login-info.res {
        display: block;
    }

    .menu {
        display: none;
    }

    .login-info-item {
        display: block;
    }

    .login-info-item {
        height: 6vh;
        line-height: 6vh;
    }

    .res-menu {
        display: block;
    }

}

@media screen and (max-width:950px) {
    .footer-items {
        justify-content: center;
    }

    .footer-txt {
        text-align: center;
    }

    .footer-menu {
        display: none;
    }
}

@media screen and (max-width:600px) {
    .header-logo h1 {
        font-size: 1.0rem;
    }

    .login-info {
        width: 60%;
    }

    .title-line {
        height: 1px;
    }

    .res-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }
}

@media screen and (max-width:480px) {
    .list-title {
        font-size: 4vw;
        padding: 50px 0 10px 0;
    }

}