html {
    overflow-x: hidden;
    overflow-y: scroll;
}

.wrapper {
    min-height: 100vh;
    min-width: 100vw;
    position: absolute;
    padding-bottom: 150px;
    box-sizing: border-box;
}

#header_logo {
    width: 350px; /* 親の幅を固定 */
    margin: 0 auto; /* 左右のマージンを auto にすることで中央寄せ */
}

#header_logo img {
    width: 100%;  /* 親要素(189px)いっぱいに広げる */
    height: auto; /* 縦横比を維持して自動計算 */
    display: block;
}

/* PC画面（横幅768px以上など）の時だけ適用 */
@media (min-width: 768px) {
    #header_logo {
        width: 560px; /* PCで見るときに大きくしたい幅を指定 */
    }
}

hr.hr-header {
    height: 3px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin: 1rem -50vw;
    border: none;
    background-color: black;
}

a, .text-note {
    color: #e5107d;
}

.text-alert {
    color: #ff7f00;
}

.text-danger {
    color: #ff0000;
    font-weight: bold;
}


.content {
    width: 90%;
}

.input-text-short {
    max-width: 450px;
}

.btn-black {
    color: #fff;
    background-color: #000;
    border-color: #000;
}

.btn-outline-black {
    color: #000;
    background-color: transparent;
    background-image: none;
    border-color: #000;
}

.btn[disabled] {
    pointer-events: none;
}

footer {
    color: white;
    background-color: black;
    width: 100%;
    height: 150px;
    position: absolute;
    bottom: 0;
    z-index: 0;
}

footer a {
    color: white;
}

footer .kg_copyright {

    font-size: 12px;
    position: relative;
    display: inline-block;
    padding-left: 28px;
}

footer .kg_copyright:before {
    position: absolute;
    content: " ";
    width: 20px;
    height: 24px;
    top: -5px;
    left: 0;
    background-image: url(/static/img/logo_klab_s.png);
    background-size: 100% 100%;
}

.grecaptcha-badge {
    z-index: 100;
}

input:-webkit-autofill {
    animation-name: onAutoFillStart;
    transition: background-color 50000s ease-in-out 0s;
}


.SP_Flex_container{
    width: 100%;
    margin-top: 10px;
    padding-left: 0;
    text-align: center;
    list-style: none;
}

@media screen and (min-width: 1001px){
    .SP_Flex_container{
        display: flex;
        justify-content: space-around;
        width: 100%;
        padding-left: 0;
    }
}


.section-button {
    border: 5px solid #000;
    background-color: #fff;
    position: relative;
    padding-top: 26px;
    padding-bottom: 27px;
    text-decoration: none;
    color: black;
    transition: .25s;
    font-size: 30px;
}

.select-button {
    position: relative;
    width: 480px;
    height: 120px;
    font-size: 14px;
    margin: 10px 10px 0 10px;
    text-align: center;
}

.select-button > div {
    font-size: 14px;
    margin-top: 10px;
}


.select-button-fr {
    position: relative;
    width: 480px;
    height: 200px;
    font-size: 14px;
    margin: 10px 10px 0 10px;
    text-align: center;
}


.select-button-fr > div {
    font-size: 14px;
    margin-top: 10px;
}

.klabid-login-button{
    width: 480px;
    height: 120px;
    font-size: 14px;
    margin: 0 10px 0 10px;
    text-align: center;
}

.klabid-login-button:disabled{
    color: #FFF;
    background: #AAA;
}


.consent th {
    padding: 0 10px 0 0;
}

@media screen and (max-width: 1000px) {
    .section-button {
        font-size: 25px;
    }
    .select-button {
        width: 90%;
        height: 120px;
        margin: 10px;
        border: 2px solid #000 !important;
        text-align: center;
    }

    .select-button > div {
        font-size: 12px;
        margin-top: 10px;
    }

    .select-button-fr {
        width: 90%;
        height: 200px;
        margin: 10px;
        border: 2px solid #000 !important;
        text-align: center;
    }

    .select-button-fr > div {
        font-size: 12px;
        margin-top: 10px;
    }

    .klabid-login-button {
        width: 95%;
        height: auto;
        margin: 20px 0;
        border: 2px solid #000 !important;
        text-align: center;
    }
}

/* PC対応 */
@media screen and (min-width: 861px) {
    .section-button {
        font-size: 30px;
    }
}

.error-sec {
  background-color: #f7edee;
  border-top: 3px solid #ecc8cc;
  border-bottom: 3px solid #ecc8cc;
  padding: 20px;
  text-align: left;
  color: #b94d43;
}

.message-sec {
  background-color: #edf1f2;
  border-top: 3px solid #a4c4c9;
  border-bottom: 3px solid #a4c4c9;
  padding: 20px;
  text-align: center;
  margin: 20px 0;
  font-size: 12px;
}
