/********** Template CSS **********/
html {
    scroll-padding-top: 100px;
    /* ヘッダーの高さ */
}

:root {
    --primary: #C9813D;
    --secondary: #001064;
    --light: #F6F7F8;
    --dark: #010A35;
}

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

.noline {
    white-space: nowrap;
}

.text-left {
    text-align: left !important;
}

/*** 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 {
    transition: .5s;
}

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

.btn.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.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-brand img {
    max-height: 60px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 10px;
    padding: 10px 0;
    color: #9da2b0;
    font-weight: 400;
    outline: none;
}

@media (min-width: 1280px) {
    .navbar .navbar-nav .nav-link {
        margin-left: 25px;
    }
}

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

.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-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
    }
}

@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;
    }
}


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

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

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

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

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

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

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: var(--primary);
}


/*** Facts ***/
.facts {
    background: rgba(1, 10, 53, .8);
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .container.quote .quote-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }

    .container.quote .quote-form {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .container.quote .quote-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }

    .container.quote .quote-form {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .container.quote .quote-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }

    .container.quote .quote-form {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.container.quote .quote-text {
    background: rgba(1, 10, 53, .8);
}

.container.quote .quote-form {
    background: rgba(255, 255, 255, .8);
}

.container.quote .quote-text .h-100,
.container.quote .quote-form .h-100 {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/*** Service ***/
.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}

#servicelogo {
    margin-bottom: 20vh;
    max-width: 460px;
    text-align: center;
    object-fit: contain;
}


.construction_box {
    width: 100%;
    padding: 0px 0 50px;
    box-shadow: none;
    background-color: #fff;
    margin-bottom: 40px;
    border-bottom: 1px dotted #c9813d;
}

.construction_box:last-child {
    border-bottom: none;
    padding: 0;
}

@media (min-width: 480px) {
    .construction_box {
        width: 44%;
        padding: 0;
        border-bottom: none;
    }
}

@media (min-width: 992px) {
    .construction_box {
        box-shadow: 0px 2px 15px -4px rgba(0, 0, 0, 0.15);
        padding: 2rem 0.5rem 0.8rem;
        width: 30%;
    }

    .construction_box:last-child {
        padding: 2rem 0.5rem 1.5rem;
    }
}

.construction_title_box {
    text-align: center;
}

.construction_title {
    color: #333;
    padding: 3px 10px 3px 0;
    font-size: 1.7rem;
}

.construction_title.sub {
    font-size: 1.2rem;
    line-height: 1.1;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.construction_day {
    color: var(--primary);
    font-size: 0.8em;
    font-weight: 500;
}

.construction_ul {
    font-size: 0.8em;
    font-weight: 400;
    padding: 0;
    margin-bottom: 0.5em;
}

.construction_ul li {
    list-style: none;
}

.js-swiper-main {
    height: 60vh;
    margin-bottom: 10px;

}

@media (orientation: portrait) {
    .js-swiper-main {
        height: 33vh;
    }
}

@media (orientation: portrait) and (max-width: 992px) {
    .js-swiper-main {
        height: 40vh;
    }
}

.js-swiper-thumbs {
    height: auto;
    text-align: center;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.js-swiper-thumbs .swiper-wrapper {
    justify-content: flex-start;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    width: fit-content;
}

.js-swiper-thumbs .swiper-slide {
    width: fit-content !important;
    height: 50px !important;
    margin-bottom: 1.5px;
}

@media (min-width: 480px) {

    .js-swiper-thumbs .swiper-slide {
        height: 75px !important;
    }
}

@media (min-width: 980px) {
    .js-swiper-thumbs .swiper-slide {
        max-height: 80px !important;
    }
}

/* 選択されているサムネイルを透過 */
.swiper-slide-thumb-active {
    opacity: .6;
}

.construction_wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

@media (min-width: 480px) {
    .construction_wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
}

/*** Team ***/
.team-item .team-img::before,
.team-item .team-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(1, 10, 53, .8);
    transition: .5s;
}

.team-item .team-img::after {
    left: auto;
    right: 0;
}

.team-item:hover .team-img::before,
.team-item:hover .team-img::after {
    width: 50%;
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/
.animated.pulse {
    animation-duration: 1.5s;
}

.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    border-radius: 70px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

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

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}


/*** Footer ***/
.footer {
    color: #9da2b0;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #9da2b0;
    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: #9da2b0;
    margin-right: 10px;
}

.footer p a {
    color: #9da2b0;
}

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

.footer p a:hover {
    color: var(--primary);
}

.footer .btn.btn-square {
    color: #9da2b0;
    border: 1px solid #9da2b0;
}

.footer .btn.btn-square:hover {
    color: var(--light);
    border-color: var(--primary);
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--primary);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

@media (min-width: 751px) {
    .footer a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}

/*** recruit page ***/
.recruit {
    color: #333;
}

@media screen and (orientation: portrait) and (max-width: 480px) {
    .recruit {
        padding: 0;
        padding-bottom: 0 !important;
    }
}

.recruit .catchcopy {
    position: relative;
    background-image: repeating-linear-gradient(135deg, transparent 0 3px, #43b0db9c 3px 6px);
    background-repeat: no-repeat;
    background-size: 100% 0.5rem;
    background-position: bottom;
    font-weight: 500;
    font-size: 1.2em;
    width: 100%;
    margin: auto;
    padding-bottom: 2rem;
}

.recruit #table01,
.recruit #table02 {
    width: 80%;
    margin: auto;
}

@media screen and (orientation: portrait) and (max-width: 980px) {

    .recruit #table01,
    .recruit #table02 {
        width: 100%;
    }

    .recruit #table02 {
        min-width: 600px;
    }
}

.recruit #table02 {
    margin-top: 5rem;
    border: 1px solid #cbcbcb;
}

.recruit #table01 th {
    font-size: 0.95em;
    width: 8em;
    font-weight: 500;
}

.recruit #table01 td {
    font-size: 0.9em;
    padding: 1em;
    line-height: 1.6;
}

.recruit #table01 tr {
    border-bottom: 1px solid #ddd;
}

.recruit #table02 th {
    font-size: 0.87em;
    min-width: 8em;
    font-weight: 500;
    text-align: center;
    background: #f7f7f7;
    color: rgb(66 99 139);
    padding: 0 0.5em;
}

.recruit #table02 thead th {
    font-size: 0.95em;
    font-weight: 500;
    background: #2f6cbb;
    color: #ffffff;
}

.recruit #table02 th.course {
    background: #c9813d;
    color: #fff;
    padding: 1rem 0;
    border-left: 1px solid #cbcbcb;
    width: 22%;
}

.recruit #table02 tr {
    border-bottom: 1px dotted #cbcbcb;
}

.recruit #table02 td {
    font-size: 0.95em;
    padding: 0.5em;
    text-align: center;
    border-left: 1px solid #cbcbcb;
}

.recruit #table02 tr.trialperiod td {
    background-color: #f7f7f7;
    font-size: 0.85em;
    color: #454545;
}

.recruit #table02 tr.trialperiod th {
    background-color: #edecec;
    font-size: 0.85em;
}

@media screen and (max-width: 576px) {
    .recruit #table01 tr {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .recruit #table01 th,
    .recruit #table01 td {
        width: 100%;
        text-align: center;
        padding: 1em 0 1.5em;
    }

    .recruit #table01 td.left {
        text-align: left;
    }

    .recruit #table01 th {
        background: #d7d7d759;
        padding: 0.5em;
    }
}

.recruit_label {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.recruit_label label {
    display: inline-block;
    width: 10em;
    text-align: right;
    margin-right: 1em;
    height: 2.5em;
    line-height: 2.5em;
}

.recruit_label input {
    width: 20em;
    height: 2.5em;
    color: #333;
}

.recruit_label select {
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #7F8499;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    appearance: none;
    border-radius: 0px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    display: inline-block;
    width: 20em;
    height: 2.5em;
    color: #333;
}

@media screen and (max-width: 576px) {
    .recruit_label {
        flex-direction: column;
    }

    .recruit_label label,
    .recruit_label input,
    .recruit_label select {
        width: 100%;
        text-align: left;
    }

    .recruit_label label {
        margin-left: 2em;
    }
}

.recruit dt {
    line-height: 1.8;
    display: inline-block;
    font-size: 0.95em;
}

.recruit dd {
    display: inline-block;
}

.recruitbutton {
    text-align: center;
}

.recruitbutton button {
    margin: auto;
}

.recruitbutton .btn.btn-primary:hover {
    background: #2f6cbb;
    border-color: #2f6cbb;
}

.recruit {
    position: relative;
}

.recruit .imag_box {
    position: absolute;
    z-index: -5;
}

.recruit .imag_box0 {
    top: 50px;
    left: 0%;
    height: 150px;
    width: 150px;
}

.recruit .imag_box1 {
    height: 150px;
    width: 150px;
    right: 0;
    bottom: 0;
}

.recruit .imag_box2 {
    top: 35%;
    right: 0%;
    height: 160px;
    width: 161px;
}

@media screen and (orientation: portrait) and (max-width: 980px) {

    .recruit .imag_box1 {
        height: 120px;
        width: 120px;
        right: 0;
        bottom: 0;
    }

    .recruit .imag_box2 {
        top: 51%;
        right: 0%;
        height: 125px;
        width: 125px;
    }
}

@media screen and (orientation: portrait) and (max-width: 480px) {
    .recruit .imag_box0 {
        top: 50px;
        left: 0%;
        height: 110px;
        width: 110px;
    }

    .recruit .imag_box1 {
        height: 100px;
        width: 100px;
        right: 0;
        bottom: -50px;
    }

    .recruit .imag_box2 {
        top: 43%;
        right: 0%;
        height: 125px;
        width: 125px;
    }
}

.recruit .imag_box img {
    object-fit: contain;
    max-width: 100%;
}

.recruitcomplete {
    line-height: 1.8;
}

.recruitpicture {
    position: relative;
}

.recruitpicture::before {
    display: block;
    position: absolute;
    content: "";
    width: 50%;
    height: 34vh;
    background-image: url(../img/recruit-1.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    bottom: 0;
    left: 0;
    background-position: 0% 100%;
}

.recruitpicture::after {
    display: block;
    position: absolute;
    content: "";
    background-image: url(../img/recruit-2.jpg);
    width: 64%;
    height: 50vh;
    right: 0;
    top: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 100% 0%;
}

@media screen and (orientation: portrait) and (max-width: 480px) {

    .recruitpicture {
        height: 34vh;
    }

    .recruitpicture::before {
        bottom: inherit;
    }

    .recruitpicture::after {
        height: 34vh;
    }
}

.applyform {
    z-index: 10;
}

.applyform .title {
    background: #2f6cbb;
    color: #fff;
    text-align: center;
    font-size: 1.2rem;
    padding: 0.7em;
    margin: 0;
}

.applyform .applyfcontens {
    background: #f9f9f9;
    padding: 1.5rem 1rem 1rem;
}

.applyform .applyfcontens p {
    font-size: 0.9em;
    width: 90%;
    margin: 1.5em auto 0;
    color: rgb(36 77 163);
    line-height: 1.4;
}

.scroll {
    overflow-x: auto;
}