html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
}

/* 独自のスタイルを追記 */

/* タイトル付き枠 */
.card-box {
    position: relative;
    margin: 20px 0;
    padding: 0.5em 1em;
    border: solid 1px gray;
    border-radius: 8px;
    max-width: 98%;
}

.card-box-fit-content {
    position: relative;
    margin: 20px 0;
    padding: 0.5em 1em;
    border: solid 1px gray;
    border-radius: 8px;
    width: fit-content;
}

.card-box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    /* font-size: 19px;*/
    background: white;
    color: black;
    font-weight: bold;
}

.card-box-title-normal {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    /* font-size: 19px;*/
    background: white;
    color: black;
    font-weight: normal;
}


/* 日付入力欄の幅を固定する */
.custom-date-width-input{
    width: 150px;
}

/* 編集画面のボタン幅を固定する */
.btn-fixed-width {
    width: 120px;
}

/* ステッパー代わりのパンくずリスト */
.breadcrumb {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: scroll;
    list-style: none;
}

.stepper-item {
    position: relative;
    padding-left: 25px; /* 区切り線のための余白を確保 */
}

.stepper-item:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 20px;
    height: 1px;
    background-color: darkgray; /* Bootstrapのデフォルト灰色 */
    transform: translateY(-50%);
}

.circle_number_gray {
    width: 30px;
    height: 30px;
    padding-top: 2px;
    border: 1px solid gray;
    background-color: lightslategray;
    color: white;
    border-radius: 50%;
    text-align: center;
    box-sizing: border-box;
    display: inline-block;
}

.circle_number_blue {
    width: 30px;
    height: 30px;
    padding-top: 2px;
    border: 1px solid darkblue;
    background-color: #008CFF;
    color: white;
    border-radius: 50%;
    text-align: center;
    box-sizing: border-box;
    display: inline-block;
}

.stepper-item_gray {
    color: darkgray;
}

.stepper-item_blue {
    color: #008CFF;
}

/* ボタンなど幅固定に使用 */
.w170 {
    width: 170px;
}

.w200 {
    width: 200px;
}

.div_border {
    border: 1px solid gray;
}

.bgcolor-green {
    background-color: #D5E8D4;
}

.bgcolor-blue {
    background-color: #CCE5FF;
}

.bgcolor-rose {
    background-color: mistyrose;
}

.font-size12 {
    font-size: 12px;
}