@charset "utf-8";

/* 汎用 */
.container {
    padding: 20px;
}

.card {
    padding: 20px;
    border: 1px solid #eaf0f6;
    border-radius: 0.25rem;
}

.required {
    color: #dc3545;
    display: inline-block;
    padding: .35em .65em;
    font-size: .75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    border-radius: .25rem;
}

.error {
    color: #dc3545;
}

.mt-1 {
    margin-top: 10px;
}
.mt-2 {
    margin-top: 20px;
}
.mt-3 {
    margin-top: 30px;
}
.mt-4 {
    margin-top: 40px;
}
.mt-5 {
    margin-top: 50px;
}
.ml-1 {
    margin-left: 10px;
}

.m-auto {
    margin: auto;
}

.text-center {
    text-align: center;
}

.w-30 {
    width: 30%;
}

.w-40 {
    width: 40%;
}

.w-50 {
    width: 50%;
}

.btn {
    /*初期スタイルリセット*/
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    appearance: none;
    text-decoration: none;
    display: inline-block;

    padding: .375rem .75rem;
    border-radius: .25rem;
}

.btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.form-block{
    margin-bottom: 16px;
}

.form-label {
    vertical-align: top;
}

.bg-color-white {
    background-color: #fff;
}

.bg-color-red {
    background-color: #fff7f7;
}

.bg-color-blue {
    background-color: #f3feff;
}

/* ヘッダー*/
.header {
    padding: 16px;
    background-color: #f8f9fa;
}

.header .navber {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .navber h1 {
    margin: 0;
}

.header .header-dropdown {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.header .header-menu {
    display: none;
    position: absolute;
    top: 30px;
    left: -60px;
    border: 1px solid #0003;
    border-radius: .25rem;
    background-color: #fff;
}

.header .header-menu ul {
    margin: 0;
    padding: 10px;
    list-style-type: none;
    white-space: nowrap;
}

.header .header-menu ul li a {
    text-decoration: none;
}

/* 新規登録 */
#auth-register .title,
#auth-confirm .title,
#auth-login .title {
    text-align: center;
}

#auth-register dd,
#auth-confirm dd,
#auth-login dd {
    margin-bottom: 16px;
}

/* プロジェクト登録 */
#project-create #advanced-setting-form {
    display: none;
}

/* プロジェクト一覧 */
#project-index .list-group {
    list-style-type: none;
}

#project-index .list-group .list-group-item {
    margin: 0 0 -1px;
    border: 1px solid #6c757d55;
    border-radius: .25rem;
}

#project-index .list-group .list-group-item a {
    display: inline-block;
    padding: 20px;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* プロジェクト詳細 */
#project-show .tasks {
    display: flex;
    justify-content: space-around;
}

#project-show .tasks .task-block {
    width: 20%;
}
#project-show .tasks .task-block h3 {
    margin: 0 0 10px;
}

#project-show .tasks .task-block #add-task {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px dotted #eee;
    border-radius: .25rem;
}

#project-show .tasks .task-block #new-task {
    display: none;
}

#project-show .tasks .task-block .form-block {
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 960px) {
    /* 960px以上に適用されるCSS（PC用） */
    .w-m-30 {
        width: 30%;
    }

    .w-m-40 {
        width: 40%;
    }

    .w-m-50 {
        width: 50%;
    }
}