/********** Template CSS **********/
:root {
    --primary: #6FBA2C;
    --secondary: #8D9297;
    --light: #F8F9FA;
    --dark: #182333;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 25px 0;
    color: #6f6f6f;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
    font-family: YuGothic, 'Yu Gothic', 'Hiragino Sans', 'ヒラギノ角ゴシック', 'メイリオ', Meiryo, sans-serif;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    font-weight: 500;
    font-weight: 600;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}



@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
        text-align: center;
    }

    .navbar .navbar-nav {
        margin-top: 25px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar-brand img {
    width: auto;
    height: 50px;
}

@media (max-width: 576px) {

    .navbar-brand {
        width: 70%;
    }

    .navbar-brand img {
        width: 90%;
        height: auto;
    }

}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    background: rgba(0, 0, 0, .65);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--dark);
    border: 15px solid var(--dark);
    border-radius: 50px;
}

.carousel-caption .breadcrumb-item+.breadcrumb-item::before {
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
}

.carousel-item {
    height: calc(100vh - 100px);
}



.carousel-item img {
    object-fit: cover;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 3rem;
        height: 3rem;
        border-width: 12px;
    }
}

@media (orientation: portrait) {

    .carousel-item {
        height: calc(50vh - 100px);
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        display: none;
    }


}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
.facts-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, .65);
}

.facts-overlay h1 {
    font-size: 120px;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
}

.facts-overlay a:hover {
    color: var(--primary) !important;
}


/*** Service ***/
.service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: var(--primary);
    opacity: 0;
    transition: .5s;
}

.service-item:hover .service-text::before {
    height: 100%;
    opacity: 1;
}

.service-text * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-text * {
    color: #FFFFFF !important;
}


/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team-text {
    position: absolute;
    width: 75%;
    bottom: 30px;
    left: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    width: 100%;
}

.team-text * {
    transition: .5s;
}

.team-item:hover .team-text * {
    letter-spacing: 2px;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    color: #d0d0d0;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #d0d0d0;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #999999;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.logocatch {
    font-size: 0.9rem;
    text-align: center;
    color: #29872b;
}

.company-profile {
    background-color: #f9f9f9;
    border-top: 5px solid #007C36;
    border-bottom: 5px solid #6FBA2C;
    padding-top: 60px;
    padding-bottom: 60px;
}

.company-profile .section-title {
    color: #007C36;
    font-weight: 700;
    font-size: 2rem;
    border-left: 8px solid #6FBA2C;
    padding-left: 15px;
    margin-bottom: 30px;
}

.company-profile table th {
    background-color: #007C36;
    color: white;
    width: 25%;
    text-align: left;
    padding: 12px;
}

.company-profile table td {
    padding: 12px;
}

.greeting-section {
    background-color: #ffffff;
    border-left: 6px solid #007C36;
    padding: 60px 15px;
    max-width: 1200px;
}

.greeting-section .section-title {
    color: #007C36;
    font-weight: 700;
    font-size: 2rem;
    border-left: 8px solid #6FBA2C;
    padding-left: 15px;
    margin-bottom: 30px;
}

.greeting-section .greeting-content p {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 1.5rem;
    color: #333;
}

.service-section {
    background-color: #ffffff;
    padding: 60px 15px;
    border-left: 6px solid #007C36;
    padding-right: 5%;
    padding-left: 5%;
}

@media (min-width: 1200px) {
    .service-section {
        margin-bottom: 0.5rem;
        max-width: 1200px;
    }
}

.service-section .section-title {
    color: #007C36;
    font-weight: 700;
    font-size: 2rem;
    border-left: 8px solid #6FBA2C;
    padding-left: 15px;
}

.service-title {
    color: #007C36;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

@media (min-width: 1200px) {
    .service-title {
        margin-bottom: 0.5rem;
        font-size: 1.3rem;
    }
}

.service-text {
    font-size: 1.0rem;
    line-height: 1.8;
    color: #333;
}

body {
    font-family: 'Avenir', 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Sans', YuGothic, 'Yu Gothic', 'メイリオ', Meiryo, 'ヒラギノ角ゴシック', 'ＭＳ Ｐゴシック', 'MS PGothic',
        sans-serif;
    font-weight: 300;
    color: #2d2d2d;
    line-height: 1.7;
}

#header-carousel {
    height: fit-content;
}


.display-6 {
    font-family: 'Hiragino Sans', 'ヒラギノ角ゴシック', YuGothic, 'Yu Gothic', 'メイリオ', Meiryo, sans-serif;
    color: #007C36;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.1em;
}

@media (min-width: 1200px) {
    .display-6 {
        font-size: 2.3rem;
    }
}

@media (max-width: 992px) {

    .contact1,
    .contact2 {
        margin-left: auto;
        margin-right: auto;
    }

    .contact2 {
        margin-top: 3rem;
    }
}

.footer_link {
    order: 3;
}

.footer_kyoto {
    order: 1;
    letter-spacing: 0.02em;
}

.footer_osaka {
    order: 2;
    letter-spacing: 0.02em;
}

@media (min-width: 576px) {
    .footer_link {
        order: 1;
    }

    .footer_kyoto {
        order: 2;
    }

    .footer_osaka {
        order: 3;
    }
}

@media (min-width: 992px) {
    .footer_link {
        order: 3;
    }

    .footer_kyoto {
        order: 1;
    }

    .footer_osaka {
        order: 2;
    }
}

.explain {
    padding-left: 1em;
}

.mini-heading {
    color: #0f1d42 !important;
    font-weight: lighter;
}

.title_box {
    min-width: 130px;
    min-height: 130px;
    height: auto;
    width: auto;
    padding: 0;

}

@media (min-width: 576px) {
    .title_box {
        width: 200px !important;
        width: 200px !important;
    }
}

.footer .copyright {
    font-size: 0.8rem;
    color: #a7a7a7;
}

h5,
.h5 {
    font-size: 1.0rem;
    letter-spacing: 0.03em;
}

.pl-0 {
    padding-left: 0 !important;
}

.pl-1 {
    padding-left: .25rem !important;
}

.pl-2 {
    padding-left: .5rem !important;
}

.pl-3 {
    padding-left: 1rem !important;
}

.pl-4 {
    padding-left: 1.5rem !important;
}

.pl-5 {
    padding-left: 3rem !important;
}

textarea {
    color: #2d2d2d !important;
}