@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

html:lang(cn) body {
    font-family: 'Noto Sans SC';
}

html:lang(jp) body {
    font-family: 'Noto Sans JP';
}
.carousel-caption  {
    bottom: unset;
    top: 50%;
    transform: translatey(-50%);
}
.carousel-caption h3 {
    font-size: 2.625rem;
}
.top-line {
    display: none;
}
.fixed-top {
    top: 0;
}
.ety-main {
    margin-bottom: 96px !important;
}
p,label {
    margin: 0;
} 
legend {
    z-index: -1;
}
.dropdown-item {
    color: #666;
}
.dropdown-item:focus,
.dropdown-item:hover,
a:hover {
    color: #160A8B
}
#product > div:nth-child(2) {
    background: #fff;
}
.col-lg-6,.col-md-6 {
    padding: 0;
}
#product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#product .d-flex {
    padding-left: 2.5rem;
}

#board > div > .row{
    flex-flow: row;
    column-gap: 35px;
}
#board > div > .row > div {
    width: calc(50% - 17.5px);
}
.btn-dark{
    color: #fff;
}
#footer {
    background: #CCCCCC;  
    color: #343434;
}
#footer a {
    display: block;
}
#company h4 {
    color: #160A8B;
}
#company h4 > span {
    color: #343434;
    margin: 0 0 0 10px;
}
#company .item {
    margin: 0 0 35px;
}
#history h5 {
    color: #160A8B;
    font-weight: 600;
}
#history strong {
    display: block;
    margin: 0 0 5px;
    line-height: 1;
    font-weight: 500;
    font-size: 20px;
}
.media p {
    margin: 0 0 5px;
}
#certification ul {
    gap: 40px 30px;
    margin: 0 0 120px;
}
#certification li {
    width: calc(33.33% - 20px);
    border: 1px solid #ccc;
}
#certification img {
    max-width: 100%;
    width: 100%;
}
#certification p {
    border-top: 1px solid #ccc;
    padding: 16px 0 17px;
    text-align: center;
}
.facility li{
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #D9D9D9;
    margin: 0 10px 0;
}
.facility li.active {
    background: #160A8B;
}
.facility .carousel-indicators {
    position: static;
    margin: 50px auto 120px ;
}
.facility .carousel-item {
    height: 738px;
}
#orgchart img {
    display: block;
    margin: 80px auto 130px;
}
#location .map-wr {
    width: 100%;
    max-width: 40rem;
    border-top: 5px solid #160A8B;
}
#location .txt-wr {
    max-width: 29.375rem;
    width: 100%;
    padding: 0 0 0 40px;
}
#location h4 {
    font-size: 28px;
    font-weight: 500;
    color: #160A8B;
    margin: 10px 0 30px;
}
#location p {
    margin: 0 0 20px;
}
input[name=contact_phone1],
input[name=contact_phone2],
input[name=contact_phone3] {
    max-width: 5rem;
    display: inline-block;
}
input[name=contact_email1],
input[name=contact_email2] {
    max-width: 11.25rem;
    display: inline-block;
}
textarea[name=contact_content] {
    resize: none;
}
#contactForm {
    margin: 0 0 120px;
    border-top: 2px solid #343434;
}
#contactForm .row {
    border-bottom: 1px solid #ccc;
    margin: 0;
}
#contactForm label {
    display: flex;
    flex-flow: row;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#contactForm label input {
    width: unset;
    margin: 0 10px 0 0;
}
#contactForm > div:not(.agree-terms) {
    display: flex;
    flex-flow: row;
    align-items: center;
}
#contactForm select {
    display: block;
    max-width: 17.5rem;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0px;
}
#contactForm .col-md-2 {
    padding: 20px 0;
    text-align: center;
}
#contactForm .col-md-10 {
    padding: 10px 0;
}
#contact_content {
    min-height: 21.25rem;
} 
.radio-wr {
    display: flex;
    flex-flow: row;
    column-gap: 30px;
}
.agree-terms {
    padding: 20px 10px 30px;
}
.agree-terms textarea{
    width :100%;
}
.agree-terms p {
    margin: 0 0 14px;
}
.agree-terms p::before {
    display: inline-block;
    margin: 0 15px 3px 10px;
    content: '';
    width: 5px;
    height: 5px;
    background-color: #343434;
    border-radius: 50%;
}
.btn-wr .btn{
    width: 150px;
    height: 45px;
    background: transparent;
    border: 1px solid #ccc;
}
.btn-wr .sendmail {
    background: #160A8B;
    color: #fff;
}
.btn-wr  {
    display: flex;
    flex-flow: row; 
    column-gap: 10px;
    justify-content: center;
    margin: 50px 0 0 ;
}
.form-check-input {
    margin-top: 8px;
}
.card-read-more {
    display: none;
}
.bo_cate_link {
    color: #160A8B !important;
    font-size: 13px;
}
#bo_v_title .bo_v_cate {
    background: #160A8B ;
    border: 1px solid #160A8B ;
    box-shadow: none;
}
a.btn_b01, .btn_b01 {
    background: #160A8B ;
}

@media (max-width: 1024px) {
    .carousel-caption h3 {
        font-size: 1.5rem;
    }
    body {
        font-size: 14px;
    }
    #product > div:nth-child(2) .row{
        flex-wrap: wrap-reverse;
    }
    #product .d-flex {
        padding-top: 20px;
        padding-left: 0;
    }
    #product .row,
    #board .row {
        margin: 0;
    }
    #board > div > .row{
        flex-flow: column;
        column-gap: none;
    } 
    #board > div > .row > div{
        width: 100%;
    }
    .main_one_title {
        margin-left: 0;
    }
    #contactForm .col-md-2 {
        width: 16.67%;
        min-width: 6.75rem;
    } 
    #contactForm .col-md-10 {
        width: calc(100% - 16.67%);
    }
    .radio-wr {
        column-gap: 10px;
    }
    #contactForm label input {
        margin: 0 5px 0 0;
    }
    #contactForm select {
        width: 100%;
    }
    input[name=contact_email1], input[name=contact_email2]{
        width: 44.5%;
    }
    input[name=contact_phone1], input[name=contact_phone2], input[name=contact_phone3] {
        width: 28.5%;
    }
    .btn-wr .btn {
        height: 45px !important;
    }
    .ety-main {
        margin-bottom: 63px !important;
    }
}