@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css");

@font-face {
    font-family: 'Noto Sans JP body';
    src: url("fonts/NotoSansJP-VariableFont_wght.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Noto Sans JP h';
    src: url("fonts/NotoSansJP-Medium.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}

/* css */
/*
    iPhone12,13,14  : 390x844
    iPhone15,pro,16 : 393×852
*/


body {
    padding-top: 55px;
    padding-bottom: 50px;
    background-color: #feffce;
    font-family: 'Noto Sans JP body', sans-serif;
}
h1 {
    font-size: 40px;
    font-family: 'Noto Sans JP h', sans-serif;
}
h2 {
    font-size: 25px;
    font-family: 'Noto Sans JP h', sans-serif;
    color: indigo;
}
h3 {
    font-size: 20px;
    font-family: 'Noto Sans JP h', sans-serif;
}
h4 {
    font-size: 18px;
    font-family: 'Noto Sans JP h', sans-serif;
}
h5 {
    font-size: 16px;
    font-family: 'Noto Sans JP h', sans-serif;
}
table {
    font-size: 16px;
}
iframe {
    border-width: 0;
    width: 800px;
    height: 600px;
}

#score1 {
    display: inline-block;
    padding-left: 20px;
    padding-top: 0px;
}
#score2 {
    display: inline-block;
    padding-left: 20px;
    padding-top: 0px;
}
#score3 {
    display: inline-block;
    padding-left: 20px;
    padding-top: 0px;
}
#score4 {
    display: inline-block;
    padding-left: 20px;
    padding-top: 0px;
}
#score5 {
    display: inline-block;
    padding-left: 20px;
    padding-top: 0px;
}
#score6 {
    display: inline-block;
    padding-left: 20px;
    padding-top: 0px;
}
#attendance-button {
    margin-bottom: 10px;
    height: 38px;
}
#congratulations-message {
    opacity: 0;
    transition: opacity 1s ease;
    color: gold;
    font-size: 22px;
    text-align: center;
    margin-top: 20px;
}
#congratulations-message.visible {
    opacity: 1;
}
#congratulations-message.hidden {
    opacity: 0;
}

.vocabulary {
    font-size: 16px;
    height: 25px;
}
.multiple-choice {
    font-size: 16px;
}
.fill-in-the-blank {
    width: 150px;
}
.attendance {
    padding-top: 25px;
}
.middle-text {
    font-size: 17px;
}
.small-text {
    font-size: 15px;
}
.card-text {
    font-size: 16px;
}
.nav-link {
    font-size: 16px;
}
.alert {
    margin-bottom: 0;
}
.emphasize {
    font-size: 130%;
}
.stretch {
    font-size: 110%;
}
.bar-container {
    padding: 0 8%;
}
.custom-container {
    padding: 0 8%;
}
.custom-container2 {
    padding-left: 2%;
    padding-right: 2%;
}
.starter-template {
    padding: 25px 100px;
    background-color: white;
}
.date {
    padding: 4% 5%;
}
.background {
    position: relative;
    background-image: url('../images/others/title.webp');
    background-size: cover;
    background-position: center;
}
.background-box {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 1;
}
.text-container {
    position: relative;
    display: inline-block;
    margin-top: 15px;
    margin-bottom: 40px;
    margin-left: 30px;
    margin-right: 0px;
}
.text {
    padding-top: 17.5px;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 160px;
    position: relative;
    z-index: 2;
}

.attendance-space {
    padding-left: 30px;
    position: relative;
    z-index: 2;
}
.attendance-button {
    --bs-btn-bg: #6f42c1;
    --bs-btn-color: white;
    --bs-btn-hover-bg: #9B95C9;
    --bs-btn-hover-color: white;
}

.lms {
    padding-left: 30px;
    font-size: 25px;
    position: relative;
    z-index: 2;
}
.title {
    padding: 0 70px;
    background-color: white;
}

.carousel {
    width: 100%;
    height: 375px;
    overflow: hidden;
    padding: 0 13%;
}
.overflow-auto {
    height: 350px;
}

.program {
    border: 1px solid black;
    background-color: rgb(244, 250, 255);
}
.ubuntu {
    border: 1px solid black;
    background-color: rgb(241, 241, 241);
}
.dotubuntu {
    border: 1px dotted black;
    background-color: white;
}
.vscode {
    border: 1px solid black;
    background-color: white;
}
.picture {
    width: 100%;
    max-width: 135px;
    display: block;
    margin-left: auto;
    margin-right: 0;
}
.pink {
    color: pink;
}
.reduction {
    max-width: 50%;
    padding-bottom: 3%;
    padding-left: 3%
}
.small-picture {
    max-width: 40%;
}
.small-picture2 {
    max-width: 80%;
}
.enter-form {
    padding-bottom: 10px;
}
.top-space {
    padding-top: 13px;
}
.bottom-space {
    padding-bottom: 6px;
}
.left-space {
    padding-left: 13px;
}
.right-space {
    padding-right: 6px;
}

.card-container {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 5px 5px;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.2) transparent;
}
.scroll-container::-webkit-scrollbar {
    height: 6px;
}
.card {
    width: 300px;
    height: 230px;
    flex-shrink: 0;
}

.highlight-container {
    position: relative;
    display: inline-block;
}
.highlight {
    position: absolute;
    border-radius: 6px;
    background: rgba(255, 255, 0, 0.55);
    pointer-events: none;
    animation: glow 2s infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.same-row {
    display: flex;
}
.right-side {
    display: inline-block;
    margin-left: auto;
    margin-right: 0;
}
.custom-select {
    width: 150px;
    font-size: 14px;
}
.custom-select option {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
    display: block;
}
.login-container {
    padding: 50px 20%;
}
.grayed-out {
    opacity: 0.4;
}

.custom-tooltip {
    --bs-tooltip-bg: var(--bs-light);
}

.custom-tooltip .tooltip-inner {
    color: red;
    font-size: 17px;
}

.custom-modal {
    max-width: 575px;
}

.underline {
    text-decoration: underline;
}

.raid {
    width: 80%;
    height: 80%;
    padding-top: 3%;
    padding-bottom: 3%;
    display: block;
    margin: auto;
}

/* タブレット */
@media (min-width: 813px) and (max-width: 1024px) {
    h1 {
        font-size: 35px;
    }
    h2 {
        font-size: 20px;
    }
    h3 {
        font-size: 16px;
    }
    p {
        font-size: 14px;
    }
    table {
        font-size: 12.5px;
    }
    label {
        font-size: 15px;
    }
    iframe {
        width: 100%;
        height: 550px;
    }
    input::placeholder {
        font-size: 0.8rem;
    }
    textarea::placeholder {
        font-size: 15px;
    }
    .bar-container {
        padding: 0 5.5%;
    }
    .custom-container {
        padding: 0 5%;
    }
    .starter-template {
        padding: 25px 35px;
        background-color: white;
    }
    .date {
        padding: 1% 4%;
    }
    .lms {
        font-size: 20px;
    }
    .title {
        padding: 0 30px;
    }
    .accordion-button {
        font-size: 16px;
    }
    .enter-form {
        padding-bottom: 15px;
    }
    .nav-link {
        font-size: 15.3px;
    }
    .middle-text {
        font-size: 16px;
    }
    .small-text {
        font-size: 0.8rem;
    }
    .top-space {
        padding-top: 6px;
    }
    .left-space {
        padding-left: 9px;
    }
    .card {
        width: 300px;
        height: 235px;
        flex-shrink: 0;
    }
    .btn-xs {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}

/* スマホとタブレットの間 */
@media (min-width: 601px) and (max-width: 812px) {
    h1 {
        font-size: 32.5px;
    }
    h2 {
        font-size: 20px;
    }
    h3 {
        font-size: 16px;
    }
    h5 {
        font-size: 17px;
    }
    p {
        font-size: 14px;
    }
    table {
        font-size: 12.5px;
    }
    label {
        font-size: 15px;
    }
    iframe {
        width: 100%;
        height: 500px;
    }
    input::placeholder {
        font-size: 0.8rem;
    }
    textarea::placeholder {
        font-size: 15px;
    }
    .bar-container {
        padding: 0 1.5%;
    }
    .custom-container {
        padding-left: 0;
        padding-right: 0;
    }
    .starter-template {
        padding: 25px 28px;
        background-color: white;
    }
    .lms {
        font-size: 20px;
    }
    .title {
        padding: 0 18px;
    }
    .date {
        padding: 1% 2%;
    }
    .carousel {
        max-height: 330px;
        padding: 0 8%;
    }
    .overflow-auto {
        height: 300px;
    }
    .accordion-button {
        font-size: 15.5px;
    }
    .enter-form {
        padding-bottom: 15px;
    }
    .nav-link {
        font-size: 14.7px;
    }
    .middle-text {
        font-size: 16px;
    }
    .small-text {
        font-size: 0.8rem;
    }
    .alert {
        font-size: 15px;
    }
    .card-text {
        font-size: 14px;
    }
    .form-select {
        font-size: 15px;
    }
    .top-space {
        padding-top: 6px;
    }
    .left-space {
        padding-left: 11px;
    }
    .card {
        width: 300px;
        height: 235px;
        flex-shrink: 0;
    }
    .btn-xs {
        font-size: 13px;
        padding: 0.2rem 0.4rem;
    }
}

/* スマホ */
@media (max-width: 600px) {
    h1 {
        font-size: 30px;
    }
    h2 {
        font-size: 20px;
    }
    h3 {
        font-size: 17px;
    }
    h4 {
        font-size: 16px;
    }
    h5 {
        font-size: 15px;
    }
    p {
        font-size: 13px;
    }
    table {
        font-size: 10.5px;
    }
    label {
        font-size: 14px;
    }
    iframe {
        width: 100%;
        height: 400px;
    }

    input::placeholder {
        font-size: 0.8rem;
    }
    textarea::placeholder {
        font-size: 14px;
    }

    #attendance-button {
        padding-top: 4px;
        margin-bottom: 5px;
        height: 30px;
        font-size: 13px;
    }
    #congratulations-message {
        font-size: 18px;
        margin-top: 12px;
    }

    .vocabulary {
        font-size: 14.5px;
        height: 22px;
    }
    .multiple-choice {
        font-size: 14.5px;
    }
    .fill-in-the-blank {
        width: 100px;
    }
    .attendance {
        padding-bottom: 5px;
        padding-left: 0;
    }
    .middle-text {
        font-size: 16px;
    }
    .small-text {
        font-size: 0.7rem;
    }
    .card-container {
        margin-bottom: 10px;
    }
    .card {
        width: 280px;
        height: 220px;
        flex-shrink: 0;
    }
    .card-text {
        font-size: 14px;
    }
    .alert {
        font-size: 14px;
    }
    .nav-link {
        font-size: 14px;
    }
    .form-select {
        font-size: 14px;
    }
    .bar-container {
        padding: 0 12px;
    }
    .text-container {
        position: relative;
        display: inline-block;
        margin-top: 20px;
        margin-right: 20px;
        margin-left: 15px;
        margin-bottom: 40px;
    }
    .custom-container {
        padding-left: 0;
        padding-right: 0;
    }
    .starter-template {
        padding: 10px 15px;
    }
    .text {
        padding-left: 20px;
        padding-right: 50px;
    }
    .title {
        padding: 0 0;
    }
    .date {
        padding-top: 30px;
        padding-bottom: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .carousel {
        width: 100%;
        height: 225px;
        padding: 0 0;
    }
    .overflow-auto {
        height: 200px;
    }
    .picture {
        width: 100%;
        max-width: 100px;
        display: block;
        margin-left: auto;
        margin-right: 0;
    }

    .attendance-space {
        padding-left: 20px;
    }
    .lms {
        font-size: 20px;
        padding-left: 20px;
    }

    .accordion-button {
        font-size: 15px;
    }
    .enter-form {
        padding-bottom: 0px;
    }
    .top-space {
        padding-top: 8px;
    }
    .left-space {
        padding-left: 8px;
    }
    .btn-xs {
        font-size: 14px;
        padding: 0.2rem 0.4rem;
    }
    .modal-sm {
        width: 60%;
        left: 18%;
    }

    .raid {
        width: 100%;
        height: 100%;
    }
}