.body_box {
    text-align: center;
    margin: 30px;
}

/* inputなどをまとめるフレーム */
.content-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.content {
    width: 100%;
}

/* 技能者ID */
input.id_input_box {
    position: relative;
    width: 100%;
    height: 90px;
}

.id_input_box .group {
    position: relative;
    width: 100%;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.id_input_box .overlap-group-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    min-width: 250px;
    gap: 10px;
}

.id_input_box .text-wrapper {
    width: 100%;
    height: 20px;
    font-weight: 400;
    color: #000000;
    font-size: 20px;
    text-align: center;
    letter-spacing: 1px;
    /* スペースを反映 */
    line-height: normal;
    background: none;
    outline: none;
    display: flex;
    border: 1px solid;
    border-radius: 5px;
    padding: 21px;
}

.id_input_box .overlap {
    padding: 10px;
    border: 1px solid;
    border-radius: 5px;
    font-size: 20px;
    text-align: center;
    height: 44px;
    min-width: 45px;
}

.id_input_box .text-wrapper-2 {
    position: absolute;
    width: 100%;;
    height: 13px;
    top: 0;
    left: 0;
    font-weight: 400;
    color: #000000db;
    font-size: 15px;
    letter-spacing: 0;
    line-height: normal;
    text-align: center;
}

/* エラーフィードバック */
.id_input_box .invalid-feedback {
    display: block;
    font-size: 12px;
    position: absolute;
    bottom: 0;
    color: #ff0000;
    text-align: center;
}
.date_input_box .invalid-feedback {
    display: block;
    font-size: 12px;
    color: #ff0000;
    text-align: center;
    position: absolute;
}

.identify_num_box .invalid-feedback {
    display: block;
    font-size: 11px;
    color: #ff0000;
    text-align: center;
    position: absolute;
}

/* 生年月日 */
.date_input_box {
    position: relative;
    width: 100%;
    height: 92px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.date_input_box .group {
    position: relative;
    width: 100%;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.date_input_box .text-wrapper {
    width: 100%;
    height: 20px;
    font-weight: 400;
    color: #000000;
    font-size: 20px;
    text-align: center;
    letter-spacing: 1px;
    /* スペースを反映 */
    line-height: normal;
    background: none;
    outline: none;
    display: flex;
    border: 1px solid;
    border-radius: 5px;
    padding: 21px;
}

.date_input_box .text-wrapper-2 {
    position: absolute;
    width: 100%;;
    height: 13px;
    top: 0;
    left: 0;
    font-weight: 400;
    color: #000000db;
    font-size: 15px;
    letter-spacing: 0;
    line-height: normal;
    text-align: center;
}

.date_input_box .overlap-group-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    min-width: 250px;
    gap: 10px;
}

.date_input_box .frame {
    position: absolute;
    height: 44px;
    top: 20px;
    background-color: #ffffff;
    border-radius: 4px;
    border: 1px solid;
    border-color: #000000db;
    width: 90%;
    min-width: 250px;
}

.date-container {
    position: relative;
    width: 100%;
}

.date_input_box .date-picker {
    width: 100%;
    height: 44px;
    font-size: 20px;
    padding: 0;
    border: none;
    background-color: transparent;
    font-weight: 400;
    color: #0000006e;
    /* 初期文字色 */
    text-align: center;
    appearance: none;
    justify-content: center;
}

.date-picker::-webkit-calendar-picker-indicator {
    opacity: 0;
    /* デフォルトのカレンダーアイコンを非表示に */
}


/* 本人確認番号 */
.identify_num_box {
    position: relative;
    width: 100%;
    height: 67px;
}

.identify_num_box .group {
    position: relative;
    width: 100%;
    height: 67px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.identify_num_box .overlap-group-wrapper {
    position: absolute;
    height: 44px;
    top: 23px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    min-width: 250px;
    gap: 10px;
}

.identify_num_box .text-wrapper {
    width: 100%;
    font-weight: 400;
    color: #000000;
    /* 初期の文字色 */
    font-size: 20px;
    outline: none;
    /* 縦軸で中央揃え */
    background: none;
    outline: none;
    text-align: center;
    border: 1px solid;
    border-radius: 5px;
    height: 44px;
    line-height: normal;
}

.identify_num_box .div {
    width: 100%;
    height: 13px;
    top: 0;
    left: 0;
    color: #000000db;
    position: absolute;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0;
    line-height: normal;
    text-align: center;
}

.identify_num_box .p {
    height: 15px;
    min-width: 187px;
}

.identify_num_box span {
    font-weight: 400;
    color: #0d6efd;
    font-size: 13px;
}

.identify_num_box span .how-to-login-text{
    text-decoration: underline;
}

.identify_num_box .text-wrapper-2 {
    color: #000000;
    text-decoration: underline;
    cursor: pointer;
}

/* ログインボタン */
.register_box {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register_box .view {
    display: flex;
    justify-content: center;
    /* 水平方向の中央揃え */
    align-items: center;
    /* 垂直方向の中央揃え */
}

.register_box .overlap-group {
    width: 150px;
    height: 52px;
    background-color: #2d3e56;
    border-radius: 45px;
    display: flex;
    justify-content: center;
    /* 水平方向の中央揃え */
    align-items: center;
    /* 垂直方向の中央揃え */
}

/* ボタンスタイルをリセット */
button.text-wrapper{
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
}


.register_box .text-wrapper {
    font-weight: 400;
    color: #ffffff;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0;
    line-height: normal;
}

.guide-link {
    text-align: center;
    text-decoration: underline;
    color: #0d6efd;

}


/* 利用規約文書ウィンドウ start */
.terms_use_box {
    height: 70vh;
    margin: 20px 0;
}

.terms_use_box .view {
    display: flex;
    justify-content: center;
    position: relative;
    height: 100%;
    min-width: 250px;
    margin: 0 auto;
}

.terms_use_box .overlap-group {
    position: relative;
    width: 90%;
    min-width: 250px;
    border-radius: 5px;
    border: 1px solid;
    border-color: #000000ad;
    display: flex;
    align-items: center;
}

.terms_use_box .frame {
    position: relative;
    height: 95%;
    /* スクロールする範囲の高さ */
    overflow-y: auto;
    /* 縦スクロールを有効にする */
    overflow-x: hidden;
    /* 横スクロールを無効にする */
    /* スクロールバーとテキストの間に余白を追加 */
    box-sizing: content-box;
    /* 内側の余白を含める */
    -webkit-overflow-scrolling: touch;
    /* スマホでのスムーズなタッチスクロールを有効にする */
    -ms-overflow-style: none;
    scrollbar-width: none;
    font-size: 14px;
}

.terms_use_box .frame::-webkit-scrollbar {
    display: none;
}

.terms_use_box .element {
    position: relative;
    width: 100%;
    height: auto;
    font-size: 14px;
    line-height: 1.5;
}
/* 利用規約文書ウィンドウ end */


#how-to-login-modal .modal-content,
#beginner-modal .modal-content {
    width: 80%;
    margin: 0 auto;
}

/* iOS対策:タップ時ハイライトを消す */
.guide-link a {
  -webkit-tap-highlight-color: transparent;
}

/* iOS対策: タップ時のフォーカス枠を消す */
.guide-link a:focus {
  outline: none;
}




/* ======================================== */
/* 本人確認番号をマスク化 */
/* ======================================== */

.security-code-field {
    position: relative;
    flex: 1 1 160px;
    min-width: 0;
}

.identify_num_box #security_code {
  width: 100%;
  box-sizing: border-box;
  padding: 0 40px 0 12px;
}

.security-code-toggle{
  position:absolute; right:10px; top:50%;
  transform:translateY(-50%);
  border:0; background:transparent; cursor:pointer;
}

/* 本人確認番号の入力値がある場合だけ、文字を●で隠す */
#security_code.is-masked.has-value {
  -webkit-text-security: disc;
  line-height: 1;
}

/* 値がない時はマスクしない */
.identify_num_box #security_code.is-masked:not(.has-value) {
  -webkit-text-security: none;
  line-height: normal;
}

/* ======================================== */
/* iOS/Bootstrap対策: 目玉アイコンが青色になるのを防止
/* ======================================== */
.security-code-toggle {
  color: #111;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  box-shadow: none;
}

