/* bootstrap reset */
input[type="radio"], input[type="checkbox"] {
    margin: 0;
    margin-right: 10px;
}

.btn{
    border: none;
}

p{
    margin: 0;
}

a:hover, a:focus {
    color: transparent;
    text-decoration: none;
}

/* base */
*{
    font-family: 'ヒラギノ角ゴ Pro', Hiragino Kaku Gothic Pro, 'メイリオ', Meiryo, Verdana, Arial, sans-serif, 'ＭＳ Ｐゴシック';
    color: #333333;
}

h3{
    margin-top: 50px;
}

p{
    line-height: 2;
}



/* header */
.header{
    box-shadow: 0 3px 5px rgb(0 0 0 / 20%);
}

.header .container{
    max-width: 1200px;
    margin: 0 auto;
}

.header-logo{
    width: 170px;
    margin: 20px 0;
}

.header-logo-img{
    width: 100%;
}

/* panel */
.panel{
    margin-top: 50px;
}

.panel-heading{
    font-size: 30px;
    font-weight: 700;
    text-align: center;
}

.policy .h2{
    font-weight: 700;
    text-align: center;
}

/* table */

.table{
    border-top: 1px solid gray;
}

.table > thead > tr > th{
    border:1px solid gray;
}
.table > tbody > tr > td{
    border:1px solid gray;
}

.min-w100{
    min-width: 100px;
}

.blue{
    background-color: #d9edf7;
}

/* address */
.address{
    text-align: right;
    margin-top: 30px;
}

.address-text{
    text-align: left;
    display: inline-block;
    border: 1px solid gray;
    padding: 10px;
}

/* form-check */
.form-check{
    text-align: center;
    margin-top: 50px;
}

.form-check-input{
    transform:scale(2.0); 
}

.form-check-label{
    font-size: 18px;
}

/* current-date */
#current-date{
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    text-align: right;
}

@media(min-width: 768px){
    #current-date{
        margin-bottom: 30px;
        margin-right: 50px;
    }
}

/* form */
.control-label{
    font-size: 18px;
    margin-top: 5px;
}

.tag{
    display: inline-block;
    background-color: #ef9b9b;
    padding: 2px 5px;
    margin-left: 10px;
    font-size: 12px;
}

.submit-btn-center{
    text-align: center;
}

.submit-btn{
    width: 220px;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    margin: 50px 0;
    background-color: #fdae14;
    color: #fff;
    box-shadow: inset 0 -4px 0 0 #fd8714;
    border-radius: 4px;
}

.submit-btn:disabled{
    cursor: default;
    color: #eee;
    opacity: .4;
    background-color: #bfbfbf;
    border: #959595;
    box-shadow: none;
}

.submit-btn:hover:not(:disabled),
.submit-btn:hover:not(:disabled){
    opacity: 0.8;
}

.errors{
    text-align: center;
}

.label{
    display: inline-block;
    font-size: 12px;
    padding: 5px;
}

@media(min-width: 768px){
    .form-group{
    margin: 0;
    }

    .label{
       margin-top: 20px;
       font-size: 15px;
    }
}

/* footer */
.footer{
    background-color: #006fcc;
}

.footer-logo{
    width: 150px;
    margin: 20px 0;
}

.footer-logo-img{
    width: 100%;
}

/*
***************
 complete.php 
***************
*/
/*
*************
alert.php 
*************
*/

.complete,
.error{
    min-height: calc(100vh - 79px - 75px);
    padding-top: 100px;
    text-align: center;
}

.complete h1,
.error h1{
    font-size: 30px;
}

.close-text{
    margin-top: 50px;
    font-size: 14px;
}

@media(min-width: 768px){
    .sp-only{
        display: none;
    }

    .close-text{
        font-size: 16px;
    }
}

.back-link{
    text-decoration: none;
    display: inline-block;
    width: fit-content;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    margin: 50px 0;
    background-color: #fdae14;
    box-shadow: inset 0 -4px 0 0 #fd8714;
    border-radius: 4px;
    color: #fff;
}

.back-link:hover,
.back-link:focus{
    color: #fff;
    opacity: 0.8;
}