@charset "UTF-8";

* {
    box-sizing: border-box;
}

body {
    color: #333;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.contact {
    width: 960px;
    margin: 0 auto;
    padding: 60px 0;
}

.contact-ttl {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
}

.contact-table {
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #ccc;
}

.contact-item,
.contact-body {
    padding: 20px;
    border: 1px solid #ccc;
}

.contact-item {
    text-align: left;
    width: 30%;
    background-color: #eee;
}

.contact-body {
    width: 70%;
}

.form-text {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.contact-submit , .contact-back{
    width: 200px;
    background-color: #333;
    color: #fff;
    font-weight: bold;
    display: block;
    margin: 0 auto;
    font-size: 16px;
    padding: 15px;
    border-radius: 100vh;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.contact-back{
    background-color: #fff;
    color: #333;
    border: #333 1px solid;
}

ol {list-style-type: decimal;}

.number-table{
    width:100%;
    margin:0 auto;
    margin-bottom:2rem;
}
.number-table td{
    border:1px solid #ccc;
    padding:0.4rem;
}

.form-table{
    width:100%;
    margin:0 auto;
    margin-bottom:2rem;
}
.form-table th , .form-table td{
    border:1px solid #ccc;
    padding:0.4rem;
}

.form-table th {
    background-color: #eee;
}
table {
    border-spacing: 0px;}

.number-table td:nth-child(odd){
        background: #eee;
}

.l-contents.is-fixed {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
}

/* ステップバー */
.progressbar {
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.progressbar li {
    position: relative;
    list-style-type: none;
    text-align: center;
    text-transform: uppercase;
    width: 33.333%;
    color: #999999;
    font-weight: bold;
}
.progressbar li:before {
    display: block;
    width: 18px;
    height: 18px;
    margin: 7px auto 20px auto;
    content: '';
    text-align: center;
    border-radius: 50%;
    background-color: #F5F5F5;
}
.progressbar li:after {
    position: absolute;
    z-index: -1;
    top: 15px;
    left: -50%;
    width: 100%;
    height: 2px;
    content: '';
    background-color: #F5F5F5;
}
.progressbar li:first-child:after {
    content: none;
}
.progressbar li.active,
.progressbar li.complete{
    color: #0070BD;
}
.progressbar li.active:before,
.progressbar li.complete:before {
    background-color: #0070BD;
}
.progressbar li.active:after,
.progressbar li.complete:after {
    background-color: #0070BD;
}

.btn-box{
    width:500px;
    margin:1rem auto;
    display:flex;

}

.form-textarea {
    width: 100%;
    padding: 10px;
    height: 200px;
    border-radius: 5px;
    border: 1px solid #ccc;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.send-message{
    text-align: center;
    font-weight: bold;
    margin-top: 2rem;
}

.button:hover {
    background-color: #999999;
}

.form-width{
    width:35%;
}

.form-margin{
    margin:1rem auto;
}

#id_beginning ,#id_sex, #id_dispenser, #id_noticed, #id_kind{
    list-style: none!important;
}

#id_age{
    margin-left:50px!important;
}

.confirm-text{
    text-align: center;
    font-weight: bold;
}

.text-muted{
    text-align: center;
}

.contact-back{
    text-align: center;
    text-decoration-line: none;
}
.back-btn{
    margin: 1rem auto;
}

.form-medicine{
    width:80%;
    margin:0.5rem auto;
}

/*入力チェック*/
ul.errorlist {
    margin: 0;
    padding: 0;
}
.errorlist li{
    border: .1rem solid #f00;
    color: #f00;
    background: rgba(255, 0, 0, .15);
    list-style-position: inside;
    display: block;
    padding: 1rem;
    text-align: left;
    border-radius: .3rem;
}