/* 背景色 */
body {
    background-color: #ffffcc;
}

/* ログイン画面のコンテナ */
.container {
    max-width: 340px;
    margin-top: 50px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: white;
    display: flex;
    flex-direction: column;
}

/* 言語選択 */
.language-form {
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
}

/* 見出しのスタイル */
.header-title h2 {
    width: auto;
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 2px;
    padding: 5px 0;
    border: 2px solid;
    background-color: white;
    display: inline-block;
    padding-left: 8px;
    padding-right: 8px;
}

/* メッセージ表示 */
.alert {
    padding: 5px; /* 内側の余白を小さくする */
    font-size: 14px; /* テキストのサイズを小さくする */
    border-radius: 5px; /* 角の丸みを調整 */
    max-width: 100%; /* 枠の最大幅を指定（任意） */
}

/* 期間表示 */
.term {
    display: flex;
    margin-bottom: 10px;
    padding-right: 15px;
    font-size: 15px;
    color: #333;
}

/* 入力フォームのスタイル↓ */
.form-group {
    margin-top: -5px;
    margin-bottom: 6px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
    
}


input[type="text"] , input[type="email"] , input[type="password"], input[type="choice"] {
   height: 35px;
   padding: 5px;
   font-size: 14px;
   line-height: 35px;
   width: 100%;
}

.password-group {
    position: relative;
    display: block;
}

.password-group input[type="password"] {
    width: 100%;
    padding-right: 30px; /* アイコンのスペース確保 */
}

.password-group i {
    font-size: 20px;
    position: absolute;
    right: 10px; /* 右端から10pxの位置にアイコンを配置 */
    top: 52%; /* 上下中央に配置 */
    cursor: pointer;
}

.password-ms {
    font-size: 11px;
    padding: 5px;
}

.password-ms p {
    white-space: normal;
    margin-bottom: 0;
}

select {
   height: 35px;
   padding: 5px;
   font-size: 15px;
   line-height: 35px;
}

/* ログインボタン */
.btn-primary {
    background-color: #007bff;
    border: none;
    width: 100%;
    margin-bottom: 10px;
}

/* 新規登録ボタン */
.btn-success {
    background-color: #28a745;
    border: none;
    width: 100%;
    margin-bottom: 10px;
}

/* ボタンの幅を揃える */
.full-width-btn {
    width: 100%;
}

/* リンクのスタイル */
.text-center a {
    color: #007bff;
}

/* カレンダー設定↓　*/
.calendar-container {
    width: 300px;
    margin: 0 auto;
    text-align: center;
}

/* カレンダー空欄 */
.empty {
    background-color: #e0e0e0;
}

/* 日曜日を赤く */
.calendar-table th:nth-child(1),
.calendar-table td:nth-child(1) {
    color: red;
    background-color: pink;
}

/* 土曜日を青黒く */
.calendar-table th:nth-child(7),
.calendar-table td:nth-child(7) {
    color: blue;
    background-color: #ADD8E6;
}

/* 祝日を赤く */
.hol {
    color: red;
    background-color: pink;
}

/* カレンダーセルのスタイル */
.calendar-table th {
    height: 50px;
    text-align: center;
    vertical-align: middle;
}

/* カレンダーセルのスタイル */
.calendar-table td {
    position: relative;
    width: 50px;
    height: 50px;
    text-align: center;
    vertical-align: middle;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-top: 0;
    box-sizing: border-box;
}

/* 日付と情報のコンテナ */
.date-container {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0; /* パディングを削除 */
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* カレンダーベースのスタイル調整 */
.date-picker-container {
    /*margin: 0 auto; /* 水平方向に中央揃え */
    width: 100px; /* または必要に応じて調整 */
    position: relative;
    font-size: 15px;
    padding: 5px; 
}

.date-container-none {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0; /* パディングを削除 */
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* 日付部分を上段に配置 */
.date-number {
    color: blue;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
}

.date-number-confirm {
    color: black;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
}

.date-number-out {
    color: gray;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
}

/* 情報部分を下段に配置 */
.date-info {
    font-size: 1em;
    margin: 0; /* 間隔を狭める */
    padding: 0; /* パディングを削除 */
}

/* 月選択 */
.month-group {
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
    
}

/* ユーザー名とアイコンのデザイン */
.user-info {
    display: flex;
    justify-content: flex-end;
    margin-top: -20px;
    margin-bottom: 10px;
    padding-right: 15px;
    font-size: 15px;
    color: #333;
}

/* 申請ポップアップ設定↓ */
#customPopup {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明の黒 */
    z-index: 999; /* ポップアップより低い */
}

#popup , #popup-item, #popup-holerr {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    padding: 20px;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    display: none;
    border-radius: 8px; /* 角を丸める */
    font-family: 'Arial', sans-serif; /* フォントを設定 */
}

#popup-header , #popup-header-item, #popup-header-holerr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px; /* ヘッダーのフォントサイズを調整 */
    border-bottom: 1px solid #eee; /* ヘッダーの下に薄いボーダーを追加 */
    padding-top: 10px; /* ヘッダーの下の余白 */
    padding-bottom: 10px; /* ヘッダーの下の余白 */
}

#popup-date {
    font-weight: bold;
}

#popup-content, #popup-content-item, #popup-content-holerr {
    margin-top: 10px; /* コンテンツの上の余白 */
}

#popup-content button, #popup-content-item button, #popup-content-holerr button {
    display: block;
    margin: 0 auto;
}
#popup-content p , #popup-content-item p, #popup-content-holerr p{
    font-size: 16px; /* テキストのサイズ */
    color: #666; /* テキストの色 */
    line-height: 1.5; /* 行間 */
}

button[type="submit"] {
    background-color: #007BFF; /* ボタンの背景色 */
    color: white; /* ボタンのテキスト色 */
    border: none;
    padding: 10px 20px;
    border-radius: 5px; /* ボタンの角を丸める */
    cursor: pointer; /* カーソルをポインターに */
    transition: background-color 0.3s; /* 背景色のトランジションを設定 */
}

button[type="submit"]:hover {
    background-color: #0056b3; /* ホバー時の背景色 */
}

input[type="radio"] {
    margin-right: 5px;
    cursor: pointer;
}

#popup-close, #popup-close-item {
    position: absolute; /* 親要素に対して絶対位置指定 */
    top: 10px;          /* 上端から5pxの位置に配置 */
    right: 10px;        /* 右端から5pxの位置に配置 */
    width: 20px;        /* ボタンの幅を設定 */
    height: 20px;       /* ボタンの高さを設定 */
    font-size: 16px;    /* ×の文字のサイズを設定 */
    padding: 2px;       /* 内側の余白を設定 */
    color: white;       /* 文字色を白に設定 */
    background-color: gray; /* 背景色をグレーに設定 */
    border: none;       /* 枠線を非表示に設定 */
    cursor: pointer;    /* カーソルをポインターに設定 */
    display: flex;      /* Flexboxを使用してアイコンを中央に配置 */
    align-items: center; /* 縦方向の中央揃え */
    justify-content: center; /* 横方向の中央揃え */
    border-radius: 0;   /* ボタンの角を角ばったものにする */
}

.ms-container {
    display: flex; /* これにより、子要素は横並びに配置される */
    align-items: center; /* 子要素を垂直方向の中央に配置 */
    justify-content: flex-start;
    margin-top: -5px;
    margin-bottom: -1px;
    height: 50px
}

