/* リセットCSS */
body {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 共通
====================================================*/
body {
    background-color: #eee;
}

.content-head {
    margin: 60px;
    font-size: 1.2rem;
    text-align: left;
    width: 90%;
}

.content-head .h1 .h2 {
    text-indent: 20px;
}

.content-head h1 {
    color: #8d8d8d;
}

.underline {
    position: relative;
    padding-bottom: 10px;
    /* padding-left: 55px; */
}

.underline::after {
    content: '';
    position: absolute;
    left: 5%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    border-bottom: 3px solid #ED6D1E;
}

.login-form-wrap .underline::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    border-bottom: 3px solid #ED6D1E;
}


/* ヘッダー
====================================================*/
header {
    height: 70px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.header-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    height: 100%;
}

header img {
    width: 250px;
    margin-left: 5px;
}

.header-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-right: 10px;
}

/* ログイン中生徒 */
.header-buttons .user_name {
    color: #8d8d8d;
    font-size: 35px;
}

/* ログアウトのボタン */
.header-buttons .button:last-child {
    padding: 5px 20px;
    background-color: white;
    color: #8d8d8d;
    border: 1px solid #8d8d8d;
    text-decoration: none;
    font-size: 0.9rem;
}

.header-buttons .button:last-child:hover {
    background-color: #f4f4f4;
}

/* フッター
====================================================*/
footer {
    text-align: center;
    color: #8d8d8d;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}

/* ログイン画面
====================================================*/
.login-form-wrap {
    margin: 0 auto;
    width: 620px;
}

.login-form-wrap h1 {
    color: #8d8d8d;
    text-align: center;
    margin: 30px;
    font-size: 3rem;
}

.login-form h2 {
    color: #8d8d8d;
    text-align: center;
    font-size: 1.2rem;
}

.login-form {
    background-color: #fff;
    height: 600px;
    padding: 10% 15%;
    box-sizing: border-box;
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: 40px auto 0px;
}

.form-group label {
    margin-bottom: 5px;
}

.form-control {
    padding: 5px 45px;
    height: 55px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.icon {
    position: absolute;
    left: 15px;
    top: 65%;
    transform: translateY(-50%);
    color: #8d8d8d;
    font-size: 18px;
}

.btn {
    background-color: #ED6D1E;
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    text-align: center;
    display: block;
    margin: 70px auto 0;
    width: 100%;
    max-width: 200px;
    font-weight: bold;
    font-size: 1.5rem;
}

.btn:hover {
    background-color: #c76422;
}

.login-btn-group {
    margin-top: auto;
}

.btn.no-margin {
    margin: 0 auto;
}

.error-message {
    color: red;
    text-align: center;
    margin-top: 50px;
}


/* サービス選択画面
====================================================*/
/* タブ */
.tab-switch {
    position: absolute;
    top: -44px;
    right: 0;
    display: flex;
    gap: 10px;
}

.tab {
    padding: 6px 20px;
    color: #8d8d8d;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.tab.active {
    background-color: #fff;
    color: #ED6D1E;
}

.tab:hover {
    background-color: #c76422;
    color: white;
}

.service-wrapper {
    background-color: #fff;
    width: 90%;
    padding: 50px;
    margin: 0 auto;
    position: relative;
}

.service-wrapper ol {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    padding: 0;
    margin: 0;
    list-style: none;
    max-height: 340px;
}

.service-wrapper li {
    position: relative;
    background-color: #eee;
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.service-wrapper.no-service {
    background-color: transparent;
}

.no-service-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 1.5em;
    color: #8d8d8d;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.content-wrapper img {
    width: 50px;
    margin-bottom: 10px;
}

.content-wrapper p {
    margin: 0;
}

.service-wrapper li .triangle {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-bottom: 40px solid;
    border-top: none;
    border-right: none;
    transform: rotate(180deg);
    transform-origin: 0 0;
}

.service-during {
    background-color: #fff;
    width: 90%;
    padding: 50px;
    margin: 0 auto;
    position: relative;
}

.service-during ol {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.service-during li {
    background-color: #eee;
    padding-bottom: 100%;
    position: relative;
}

.service-during li::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-bottom: 40px solid #2e567c;
    border-top: none;
    border-right: none;
    transform: rotate(180deg);
    transform-origin: 0 0;
}

.h2 {
    font-size: 2em;
}


/* スクロール */
.scroll-area {
    max-height: 350px;
    overflow-y: auto;
}

.scroll-area::-webkit-scrollbar {
    width: 18px;
}

.scroll-area::-webkit-scrollbar-track {
    border: solid 1px #E6E6E6;
}

.scroll-area::-webkit-scrollbar-thumb {
    background-color: #ED6D1E;
}



/*
====================================================*/
