﻿/* ベースカラー */
:root {
    --base-color: #3A6196;
    --hover-color: #85BC5E; /* ホバー時 */
}

html {
    font-size: 14px;
    height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.btn:hover {
    box-shadow: 3px 3px 9px rgba(0, 0, 0, 0.5); /* 濃い影 */
    transform: translateY(-3px); /* 浮かび上がる効果 */
}

.body-content {
    min-height: calc(100vh - 60px); /* フッターの高さに合わせて調整 */
}

body {
    height: 100%;
}

/* フッター */
.footer {
    background-color: var(--base-color) !important;
    color: #fff !important;
    position: relative;
}

.clms-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff 50%, #3B3B3B 50%);
}

.clms-title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.clms-text {
    font-size: 10vw;
    font-weight: bold;
    letter-spacing: 0.2em;
    /* 背景と逆順のグラデーションにする */
    background: linear-gradient(135deg, #3B3B3B 50%, #fff 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    user-select: none;
    pointer-events: none;
    text-align: center;
    font-family: 'Yu Gothic', '游ゴシック', 'YuGothic','Century','Arial Black', Arial, sans-serif;
    line-height: 1.1;
}

.clms-subtext {
    font-size: 1.5vw;
    color: #3B3B3B;
    font-family: 'Yu Gothic', '游ゴシック', 'YuGothic','Century','Arial',sans-serif;
    font-weight: 600;
    margin-top: 0.5vw;
    letter-spacing: 0.05em;
    background: #fff8;
    padding: 0.2em 1em;
    border-radius: 1em;
    box-shadow: 0 2px 8px #0001;
}

.clms-title-group .open-beta {
    -webkit-text-fill-color: initial; /* 親の透明設定を無効化 */
    pointer-events: auto; /* 親の設定を上書き */
}
.open-beta {
    position: absolute;
    top: 5px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #8B8B8B;
    font-family: 'Yu Mincho', '游明朝', 'YuMincho','Century','Arial',sans-serif;
    font-size: 0.3em;
    font-weight: bold;
    padding: 4px 10px;
    transform: rotate(-15deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 100;
    -webkit-text-fill-color: initial;
    letter-spacing: -0.005em;
}

.login-box {
    position: fixed;
    right: 5vw;
    bottom: auto; /* bottomを無効化 */
    top: 20vh; /* 上からの位置を指定 */
    z-index: 10;
    max-width: 400px;
    width: 90vw;
}
@media (max-width: 768px) {
    .login-box {
        position: static; /* 固定位置を解除 */
        margin: 2rem auto; /* 上下に余白を追加し中央寄せ */
        top: auto; /* 上位置を無効化 */
        right: auto; /* 右位置を無効化 */
        bottom: auto; /* 下位置を無効化 */
        width: 90%; /* 幅を調整 */
    }
}

/* h3のスタイル (小見出し) */

h3 {
    font-size: 1.2em;
    font-weight: 600;
    position: relative;
    padding-left: 45px;
    padding-top: 10px;
    margin-bottom: 20px;
    color: var(--h3-text-color, #333);
    border-left: 4px solid var(--h3-bg-color, #42618a);
    background: linear-gradient(to right, rgba(66, 97, 138, 0.1), transparent);
}

    h3::after {
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        background-color: var(--underline-color, #ccc);
        position: absolute;
        bottom: -5px;
        left: 0;
    }

    h3::before {
        font-family: "Font Awesome 7 Free";
        content: "\f304"; /* book icon */
        font-size: 1.2em;
        color: var(--h3-bg-color, #42618a);
        font-weight: 900;
        width: 30px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        position: absolute;
        left: 5px;
        top: 50%;
        transform: translateY(-50%);
        background-color: #fff;
        border-radius: 50%;
        box-shadow: 0 0 5px rgba(0,0,0,0.1);
    }

