body {
  font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans","BIZ UDPGothic",Meiryo,sans-serif;
  /*font-feature-settings: "palt";	letter-spacing: 1px;
  text-transform: none !important;
  line-height: 1.8em;
  font-size: 16px;*/
}

label {
    display: block;
}

li {
    list-style: none;
    display: inline;
    vertical-align: top;
    /* margin-right: 10px; */
}

dt {
    font-weight: var(--bs-body-font-weight);
}

.input-group>.form-control,
.input-group>.form-select {
    width: auto;
}

.auto_form_3 {
display: -moz-flex;
flex-wrap: wrap;
align-items: stretch;	
width: 100%;
border: 1px solid #ccc;
border-bottom: none;
}

.auto_form_3 div {
    justify-content: flex-start;
    display: flex;
}

.auto_form_3 div dt {
    min-width: 3em;
    float: left ;
    clear: left ;
    width: 200px ;
    background: #f5f5f5;
	padding: 8px 5px 8px 15px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

.auto_form_3 div dd {
    margin: 0;
    float: left ;
    background: #fff;
	padding: 8px 5px 8px 10px;
	width: calc(100% - 150px);
	border-bottom: 1px solid #ccc;
}

.d-grid {
    column-gap: 10px;
    grid-template-columns: 1fr 1fr;
}

#uma_form_check .row>*{
    padding-right: 0px;
    padding-left: 0px;
    }
    
.input-group-text {
    /*border-radius: 0.25rem !important;*/
    border-top-left-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
}

.btn-xs {
    padding: 0rem 0.5rem;
}

.nav-link {
    padding: 0.5rem 0.4em;
}

html.semi-dark .sidebar-wrapper .sidebar-header img {
    filter: none;
}

.auto_form_3 div dt img , .auto_form_3 div dd img{
    width: 100%;
}

.auto_form_3 div dt {
    width: 200px;
}

.auto_form_3 div dd {
    width: calc(100% - 200px);
}

@media screen and (max-width: 575px){
    .d-flex {
        display: block!important;
    }

    .mb-0 {
        margin-bottom: 1rem!important;
    }

    .wrapper .page-content {
        padding: 1rem;
    }

    .px-5 {
        padding-right: 1rem!important;
        padding-left: 1rem!important;
    }

    .auto_form_3 div dt {
        width: 100px;
    }

    .auto_form_3 div dd {
       width: calc(100% - 100px);
    }

    .p-3 {
        padding: 0!important;
    }

    .border {
        border: none!important;
    }
}

#modal {
    font-size: 24px;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(51, 51, 51, 0.8);
    color: white;
    z-index: 100;
    display: none;
  }
  #modal p {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    height: 100%;
  }
  
  .balloon1-left {
    /*position: absolute;*/
    display: inline-block;
    margin:  0 0 1em 0;
    padding: 7px 10px;
    min-width: 120px;
    max-width: 90%;
    color: #555;
    font-size: 16px;
    background: #efefef;
    border-radius: 15px;
    left: 0px;
    float: left;
  }
  
  .balloon1-left p {
    margin: 0;
    padding: 0;
  }
  
  .balloon1-right {
    /*position: absolute;*/
    display: inline-block;
    margin:  0 0 1em 0;
    padding: 7px 10px;
    min-width: 120px;
    max-width: 90%;
    color: #555;
    font-size: 16px;
    background: #c4f69d;
    border-radius: 15px;
    right: 0;
    float: right;
  }
  
  .balloon1-right p {
    margin: 0;
    padding: 0;
  }

/* 親要素（カード全体）を相対的な位置の基準にする */
#generation-card {
    position: relative;
  }
  
  /* インジケーターをオーバーレイとして設定 */
  #loading-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85); /* 背景を少し透過した白に */
    z-index: 10; /* 他の要素より手前に表示 */
    
    /* 中の要素（スピナーとテキスト）を中央に配置 */
    display: flex;
    flex-direction: column; /* 要素を縦に並べる */
    justify-content: center;
    align-items: center;
  }

  