body {
font-size: 15px;
font-family: 'Noto Sans JP', sans-serif;
}

a { color: #5c7e02; }
a:hover { color: #3d5400; }

#logo { width: 250px; }
@media screen and (max-width: 575px) {
#logo { width: 150px; }
}

#logo h1 {
font-size: 1rem;
font-weight: normal;
line-height: 1;
margin: 0;
padding: 0;
}

.btn-primary {
background-color: #5c7e02;
border-color: #5c7e02;
}
.btn-primary:hover {
background-color: #3d5400;
border-color: #3d5400;
}
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
background-color: #5c7e02;
border-color: #3d5400;
}
.btn-primary.focus, .btn-primary:focus {
background-color: #5c7e02;
border-color: #3d5400;
box-shadow: 0 0 0 0.2rem rgba(157,179,99,.5);
}

.form-control::placeholder{
  color: #ccc;
}

@media screen and (max-width:375px) {
    body { font-size: 12px; }
}

header {
border-bottom: 1px solid #ccc;
padding: 15px 0;
background: #5c7e02;
color: #fff;
}

#main-box {
position: relative;
}

.fade-in {
animation: fadeIn 2s ease 0s 1 normal;
-webkit-animation: fadeIn 2s ease 0s 1 normal;
}
@keyframes fadeIn {
    0% {opacity: 0; transform: translateY(30px);}
    100% {opacity: 1; transform: translateY(0px);}
}
@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

#list-area {
padding: 100px 0;
}

.effect-fade {
  opacity : 0;
  transform : translate(0, 45px);
  transition : all 300ms;
}
.effect-fade.effect-scroll {
  opacity : 1;
  transform : translate(0, 0);
}

#estimate-area {
    padding: 100px 0;
}

.table td, .table th {
border-top: none;
vertical-align: middle;
}

#apply-area {
padding: 100px 0;
}

#document-area {
padding: 100px 0;
}

.nav-link {
    display: block;
    padding: .5rem 0.5rem;
}

.nav-tabs .nav-link {
    border-width: 1px;
    border-color: #dee2e6 #dee2e6 #dee2e6 #dee2e6;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

.nav-tabs .nav-link:hover {
    background-color: rgba(157, 179, 99, 0.5);
}
.nav-tabs .nav-link:active {
    border-color: #dee2e6 #dee2e6 #fff #dee2e6;
    background: #fff;
}
.custom-file-input:lang(ja) ~ .custom-file-label::after {
  content: "参照";
}

.badge-required {
color: #fff;
background-color: #dc3545;
}

#cnfm_form { padding-top: 100px; padding-bottom: 100px; }
#cnfm_form h2 { font-size: 1.3rem; }
#cnfm_form label { color: #999; }
#cnfm_doc_mail_ins_url { font-size: 90%; }
#cnfm_doc_mail_ins_url .header { color: #999; }


@media screen and (max-width:575px) {
h1 { font-size: 1.3rem; }
header .btn-login { font-size: 1rem; }
#estimate-area table { font-size: 10px; }
#estimate-area table .btn.btn-shudan { font-size: 10px; padding: .1rem; }

#list-area, #document-area, #apply-area, #estimate-area { padding: 50px 0; }
}