/* GLOBAL STYLES
-------------------------------------------------- */
body {
    padding-top: 6rem;
    padding-bottom: 2rem;
    color: #000000;
}

a,
a:hover{
    color: #5aac36;
}

/* bootstrap.css
-------------------------------------------------- */
.font-weight-bold {
    font-weight: 600 !important;
}

.active {
    color: #5aac36;
}

.text-primary{
    color: #5aac36 !important;
}

.bg-primary {
    background-color: #5aac36 !important;
}

.bg-secondary {
    background-color: #eee !important;
}

.text-gray {
    color: #aaa;
}

.text-muted {
    background-color: #fff;
}

.btn-primary {
    background-color: #5aac36;
    border-color: #5aac36;
    border-radius: 3px;
    padding-bottom: calc(0.375rem + 5px);
    transition: all 0.3s;
    position: relative;
}

.btn-primary::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #18831a;
    border-radius: 0 0 3px 3px;
    transition: all 0.3s;
}

.btn-primary:hover {
    -ms-transform: translateY(3px);
    -webkit-transform: translateY(3px);
    transform: translateY(3px);
    background-color: #5aac36;
    border-color: #5aac36;
}

.btn-primary:hover::after {
    display: none;
}

.header .tel {
    margin-right: 1em;
}

.header .contact {
    margin-bottom: 0;
}

.header .btn-contact {
    padding-left: 4.75rem;
    background: #5aac36 no-repeat url(../images/icon_mail_01.gif) left 1rem center / auto 30px;
}

form .btn-primary,
footer .btn-primary {
    background-color: #fccd40;
    border-color: #fccd40;
    color: #393939;
}

footer .btn-primary a {
    color: #393939;
}

form .btn-primary::after,
footer .btn-primary::after {
    background-color: #d6b747;
}

form .btn-primary:hover,
form .btn-primary:focus,
form .btn-primary:disabled,
form .btn-primary:not(:disabled):not(.disabled):active,
footer .btn-primary:hover,
footer .btn-primary:focus,
footer .btn-primary:disabled,
footer .btn-primary:not(:disabled):not(.disabled):active {
    color: #393939;
    background-color: #fccd40;
}

footer .btn-primary:hover a {
    color: #393939;
}

footer .btn-contact {
    padding-left: 4.75rem;
    background: #fccd40 no-repeat url(../images/icon_mail_02.gif) left 1rem center / auto 30px;
}

footer .bg-primary {
    background: repeat url(../images/bg.gif) left top / 7.5px 8.5px;
}

.nav-item {
    -webkit-transform: skewX(150deg);
    -moz-transform: skewX(150deg);
    transform: skewX(150deg);
    border-left: 4px solid #cccccc;
    margin-left: 20px;
}

.nav-item.active {
    border-left: 4px solid #5aac36;
}

.nav-item .nav-link {
    transform: skewX(-150deg);
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0.75rem !important;
    line-height: 1;
}

/* carousel.css
-------------------------------------------------- */
#top-page .carousel-item {
    height: 30rem;
    background:
            no-repeat url(../images/tomoya_01.png) bottom 0 right 15rem / 210px 323px,
            no-repeat url(../images/bg_01.gif) bottom 0 right 1rem / contain,
            repeat url(../images/bg.gif) left top / 7.5px 8.5px;
}

#sub-page .carousel-item {
    height: 15rem;
    background: repeat url(../images/bg.gif) left top / 7.5px 8.5px;
}

.marketing .col-lg-4 p {
    margin-right: 0;
    margin-left: 0;
}

.featurette-heading {
    margin-top: 0;
}

/*
-------------------------------------------------- */
.logo {
    line-height: 1.2;
    letter-spacing: 0.2em;
    padding-left: 6rem;
    background: no-repeat url(../images/logo.gif) center left / contain;
}

#page-title {
    background: repeat url(../images/bg.gif) left top / 7.5px 8.5px;
}

#services .col-lg-4 p {
    margin-bottom: 0;
    padding-bottom: 200px;
}

#services .col-lg-4 p span {
    display: block;
    border: 2px dashed #5aac36;
    padding: 0.75rem 0.5rem;
    border-radius: 30px 10px 30px 10px;
}

.service_01 p {
    background: no-repeat url(../images/service_01.gif) bottom 0 center / auto 180px;
}
.service_02 p {
    background: no-repeat url(../images/service_02.gif) bottom -14px center / auto 180px;
}
.service_03 p {
    background: no-repeat url(../images/service_03.gif) bottom 0 center / auto 180px;
}

#strength {
    background-color: #fbf1cb;
    display: block;
    padding-bottom: 1.5rem;
}

#strength h2 {
    padding-top: 80px;
    position: relative;
    background-color: #fff;
    z-index: 0;
}

#strength h2::before {
    content: "";
    display: block;
    width: 80px;
    height: 80px;
    position: absolute;
    top: 0;
    left: calc(50% - 40px);
    border-radius: 50%;
    background: #fbf1cb no-repeat url(../images/light_01.png) top 10px center / auto 60px;
}

#strength h2::after {
    content: "";
    display: block;
    width: 100%;
    height: calc(100% - 40px);
    background-color: #fbf1cb;
    position: absolute;
    bottom: 0;
    z-index: -1;
}

#strength .col-lg-4 p {
    margin-bottom: 0;
    padding-top: 240px;
}

.strength_01 {
    background: no-repeat url(../images/number_01.png) top right / auto 150px;
}

.strength_02 {
    background: no-repeat url(../images/number_02.png) top right / auto 150px;
}

.strength_03 {
    background: no-repeat url(../images/number_03.png) top right / auto 150px;
}

.strength_01 p {
    background:
            no-repeat url(../images/people_06.png) top 0 center / auto 230px,
            no-repeat url(../images/people_05.png) top 40px left 20px / auto 160px,
            no-repeat url(../images/people_04.png) top 40px right 20px / auto 160px
}

.strength_02 p {
    background: no-repeat url(../images/tomoya_02.png) top 20px center / auto 200px;
}

.strength_03 p {
    background:
            no-repeat url(../images/people_07.png) top 80px left / auto 150px,
            no-repeat url(../images/graph_01.png) top 20px right / auto 180px;
}

.navbar-light .navbar-toggler {
    border-color: rgba(0,0,0,0);
}

#contact-form .terms{
    height: 200px;
    overflow-y: scroll;
}

#contact-form .terms dd{
    text-indent: 1rem;
}

#contact-form .featurette-divider {
    margin: 2rem 0;
}



/* RESPONSIVE CSS
-------------------------------------------------- */
@media (max-width: 991.98px) {
    body {
        padding-top: 0;
    }

    .h1 {
        font-size: 1.75rem;
    }
    .h2 {
        font-size: 1.6rem;
    }
    .h3 {
        font-size: 1.5rem;
    }
    .lead {
        font-size: 1.15rem;
    }

    .btn-lg {
        width: 100%;
        font-size: 1.15rem;
    }

    footer .btn-contact {
         padding-left: 0;
         background: #fccd40;
    }

    footer .bg-primary {
        background-color: #ffffff !important;
        background: none;
        margin-bottom: 0px !important;
    }

    .header .logo {
        order: 1;
    }

    .header .tel {
        order: 2;
        margin-right: 0;
    }

    .header .tel address {
        margin-bottom: 0;
    }

    .header .tel address a {
        font-size: 1.15rem;
        display: block;
        width: 1.5em;
        height: 1.5em;
        background: no-repeat url(../images/icon_tel_01.png) center center / auto 100%;
        padding: 0;
        text-indent:100%;
        white-space:nowrap;
        overflow:hidden;
        border: none;
        margin-bottom: 0;
        white-space:nowrap;
        overflow:hidden;
        border: none;
    }

    .header .tel > p {
        display: none;
    }

    .header .contact {
        order: 3;
    }

    .header .btn-contact {
        display: inline-block;
        width: 1.9em;
        height: 1.3em;
        background: no-repeat url(../images/icon_mail_02.gif) center center / auto 100%;
        padding: 0;
        text-indent:100%;
        white-space:nowrap;
        overflow:hidden;
        border: none;
    }

    .header .btn-contact::after {
        display: none;
    }

    .header .navbar-toggler {
        order: 4;
    }

    .header .navbar-collapse {
        order: 5;
        padding-top: 10px;
    }

    .header .nav-item {
        margin-bottom: 15px;
    }

    .fixed-top {
        position: static;
    }

    .carousel {
        margin-bottom: 1.5rem;
    }

    #top-page .carousel-item {
        height: 20rem;
        background:
                no-repeat url(../images/tomoya_01.png) bottom center / 30% auto,
                no-repeat url(../images/bg_01.gif) bottom center / contain;
    }

    #sub-page .carousel-item {
        height: 5rem;
        background: none;
    }

    .carousel-caption {
        top: 0;
        right: 10%;
        left: 10%;
        padding-top: 0;
        font-size: 1rem;
    }

    .strength_01,
    .strength_02,
    .strength_03 {
        background-size: 80%;
        background-position: top center;
    }

    #contact-form {
        padding: 2rem !important;
    }

    #services .featurette .col-md-7 {
        margin-bottom: 1.5rem
    }

    #services .featurette-divider {
        margin: 2rem 0;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.0rem;
        padding-left: 5rem;
    }
    #contact-form {
        padding: 1.5rem !important;
    }
}
