/* 背景色テーマ */
.bg-theme {
    background-color: #001B2B;
}

/* bg-theme上のテキストデザイン */
.plane-text {
    color: #ffff;
    font-size: 12px;
}

/* 下部 影 */
.shadow-bottom {
    box-shadow: 0px 3px 6px #00000029 !important;
}

/* ヘッダーロゴサイズ */
.header-logo {
    width: 100%;
    height: 40px;
}

/* ヘッダーメニューロゴボタン */
.header-menus {
    display: flex;
    align-items: flex-end;
    width: 17px;
    height: 17px;
}

.study-timer {
    position: fixed;
    top: 72px;
    left: 0;
    z-index: 1200;
    display: flex;
    align-items: stretch;
    min-width: 140px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 27, 43, 0.9);
    color: #FFFFFF;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    font-size: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.study-timer.is-collapsed {
    transform: translateX(calc(-100% + 40px));
}

.study-timer__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px 12px 16px;
    border-radius: 12px;
    background: transparent;
    color: inherit;
}

.study-timer__toggle {
    position: absolute;
    top: 50%;
    right: -26px;
    transform: translateY(-50%);
    width: 38px;
    height: 56px;
    border: none;
    border-radius: 26px;
    background: rgba(0, 27, 43, 0.85);
    color: #FFFFFF;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.study-timer__toggle:hover,
.study-timer__toggle:focus {
    background: rgba(255, 189, 49, 0.4);
    transform: translateY(-50%) translateX(1px);
}

.study-timer__toggle-icon {
    transition: transform 0.2s ease;
}

.study-timer__toggle-icon.is-expanded {
    transform: rotate(180deg);
}

.study-timer__label {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.85;
}

.study-timer__display {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 22px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.study-timer__controls {
    display: flex;
    gap: 6px;
}

.study-timer__button {
    flex: 1;
    padding: 6px 0;
    border-radius: 8px;
    border: none;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 189, 49, 0.2);
    color: #FFFFFF;
    transition: background 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.study-timer__button:hover,
.study-timer__button:focus {
    background: rgba(255, 189, 49, 0.4);
    transform: translateY(-1px);
}

.study-timer__button:active {
    transform: translateY(0);
}

.study-timer__button i {
    font-size: 14px;
}

.study-timer__unit {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .study-timer {
        top: 68px;
        left: 0;
        min-width: 120px;
    }

    .study-timer__display {
        font-size: 18px;
    }

    .study-timer__unit {
        font-size: 11px;
    }

    .study-timer__button {
        font-size: 11px;
        padding: 5px 0;
    }

    .study-timer__toggle {
        width: 34px;
        height: 52px;
        right: -24px;
    }
}

.view-switcher__button {
    position: fixed;
    top: 110px;
    right: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 22px;
    background: linear-gradient(135deg, #FFE1C7 0%, #FFC38F 45%, #FFA874 100%);
    box-shadow: 0 16px 36px rgba(198, 120, 62, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    z-index: 1100;
    backdrop-filter: blur(6px);
}

.view-switcher__button img {
    width: 32px;
    height: 32px;
}

.view-switcher__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 48px rgba(198, 120, 62, 0.32);
    border-color: rgba(255, 255, 255, 0.75);
}

.view-switcher__button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.85);
    outline-offset: 4px;
}

@media (max-width: 768px) {
    .view-switcher__button {
        top: auto;
        bottom: 24px;
        right: 16px;
        width: 58px;
        height: 58px;
        border-radius: 20px;
        box-shadow: 0 18px 42px rgba(198, 120, 62, 0.28);
    }

    .view-switcher__button img {
        width: 30px;
        height: 30px;
    }

    .view-switcher__button:hover {
        transform: translateY(-2px);
    }
}

/* ログインユーザ表示 */
.header-user-name {
    color: #FFFFFF !important;
    font-size: 14px;
    margin-top: 5px;
    margin-right: 24px;
    margin-left: 5px;
    padding: 0 8px !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* テキスト入力欄 */
.input-text {
    width: 100%;
    height: auto;
    padding: 10px 30px;
    border: 2px solid #009D5B;
    border-radius: 26px;
    background: #001B2B;
    color: #FFFFFF;
    text-align: center;
} ::placeholder {
    color: #8B8B8B;
}

/* テキスト入力欄 秘匿系 */
.input-text-secret {
    width: 100%;
    height: auto;
    padding: 10px 30px;
    border: 2px solid #009D5B;
    border-radius: 26px;
    background: #001B2B;
    color: #FFFFFF;
    text-align: center;
} ::placeholder {
    color: #8B8B8B;
}

/* 新デザイン用submitボタン */
.input-submit-btn {
    width: 100%;
    padding: 10px;
    border-radius: 26px;
    border: 0px;
    text-align: center;
    font-weight: bold;
    color: #FFFFFF;
    /* background: transparent linear-gradient(270deg, #009D5B 0%, #009D5B 50%, #009D5B 100%) 0% 0% no-repeat padding-box; */
    background: transparent linear-gradient(270deg, #FFBD31 0%, #FF9129 50%, #FF6621 100%) 0% 0% no-repeat padding-box;
}

/* 進捗率円グラフ */
.progress-rate {
    width: 150px;
    aspect-ratio: 0.4 / 0.4;
}

/* 進捗率「％」 */
.progress-rate-calc-result {
    font-size: 14px;
    font-weight: bold;
}

/* フッター全体 start */
footer {
    background: #FFFFFF;
    padding: 50px 0 45px 0;
    width: 100%;
}

footer .container {
    max-width: 1040px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    padding-bottom: 35px;
}

/* ロゴ画像側 */
.left {
    margin-bottom: 0;
}

.footer-logo {
    display: block;
    position: relative;
    width: 170px;
    height: auto;
}

/* リンク側 */
.right {
    display: flex;
    text-align: right;
}

.services {
    display: flex;
    flex-flow: column;
    justify-content: left;
    text-align: left;
    padding-left: 30px;
    line-height: 1.2;
    width: 200px;
    margin-right: 10px;
}

.services p {
    font-size: 16px;
    border-bottom: 1px solid #707070;
    margin-bottom: 12px;
    line-height: 1.4;
    display: flex;
    align-items: left;
}

.services ul {
    padding-left: 0;
}

/* メニューリスト */
.services ul li {
    /* liタグデフォルトの「・」を非表示 */
    list-style: none;
}

/* aタグ内のデザイン */
.services ul li a {
    font-size: 12px;
    line-height: 2.5;
    color: #797979;
    text-decoration: none;
}

/* 管理ページ系 start */
footer .manager-footer-container {
    position: fixed; /* フッターを固定する */
    bottom: 0; /* 上部から配置の基準位置を決める */
    left: 0; /* 左から配置の基準位置を決める */
    width: 100%; /* フッターの横幅を指定する */
    height: 85px; /* フッターの高さを指定する */
    padding:10px; /* フッター内側の余白を指定する(上下左右) */
    /* background-color: #31a9ee; フッターの背景色を指定する */
    color: #FFFFFF; /* フッターのフォントの色を指定する */
}


.manager-footer-container .right {
    display: flex;
    text-align: center;
    justify-content: flex-end;
    padding-right: 30px;
}

.btn-get-delete-list {
    background: none;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
}
