﻿:root {
    --primary: #0457CC;
    --light: #F5F5F5;
    --dark: #000;

}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

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

.shisetu01 {
	border:5px solid #FFF;
        border-radius:10px;
       box-shadow: 0 0 3px rgba(0,0,0,0.55);
}



.syokuin01{box-shadow: 8px -10px 0 #DDD;}

.marker {
  background: linear-gradient(transparent 65%, #FFDF56 65%);
}
.fa-caret-square-down{color:#9FD957;}
/*----------------------------------------------Generalise-------------------------------------*/
body{margin:0; padding:0; font-size:16px; color:#000; background:#FFF;font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;}

.bg-black{background:#333;}
.bg-white{background:#FFF;}
.bg-white2{background:url(../img/washi1.jpg) center center repeat;}
.bg-blue{background:#EDFAFA;}
.bg-blue2{background:#4EB5B5;}
.bg-gray{background:url(../img/bg2.png) center top repeat;}
.bg-cya{background:#004092;}
.bg-cya2{background:#BFAF60;}
.bg-green{background:#125936;}
.bg-green2{background:url(../img/greenbg.png) center top repeat;}
.bg-orange{background:url(../img/bg_texture2.gif) center center repeat;}
.bg-orange2{background:url(../img/bg_texture7.gif) center center repeat;}
.bg-orange3{background:#F4EDDC url(../img/line01.png) left top repeat-x;}
.bg-orange4{background:#FD951A;}
.bg-orange5{background:url(../img/bg1.png) center center repeat;}
.bg-orange6{background:#FF8F00;}
.bg-orange7{background:#F4EDDC;}
.bg-red{background:#CE4A39;}
.bg-pink{background:#FEF7F5;}
.bg-pink2{background:#CE4A39;}
.bg-yellow{background:#FFDF56;}
.service-item h4{color:#000;}
.service-item h1.black{color:#000;font-size:20px;}
.text-orange{color:#ED700A !important;}
.text-cha{color:#333 !important;}

.border-gray{border-color:#DDD !important;}
.border-cya{border-color:#BFB399 !important;}
.border-orange{position: relative;
  border-color: #1B7EF6 !important;
}
.border-orange::before{
  content: '';
  position: absolute;
  bottom: -3px;
  width: 50%;
  height: 3px;
  background: #67ABEF;/*左*/
}



.border-yellow{border-color:#FFDF56 !important;}
.border2{border:1px double;}
.bg-stripe{
background-size: auto auto;
background-color: rgba(247, 247, 247, .5);
background-image: repeating-linear-gradient(135deg, transparent, transparent 5px, rgba(238, 238, 238, 1) 5px, rgba(238, 238, 238, 1) 10px );
}
.bg-stripe2{
background-size: auto auto;
background-color: rgba(255, 255, 255, 1);
background-image: repeating-linear-gradient(135deg, transparent, transparent 3px, rgba(247, 247, 247, 1) 3px, rgba(247, 247, 247, 1) 6px );}

.ifram{
　filter: hue-rotate(100deg);
　-webkit-filter: hue-rotate(100deg);
}

.waku1{border:5px dashed #1B7EF6; border-radius:5px;padding:20px 10px 0px 10px !important;background:#FFF url(../img/note.png) center center repeat;box-shadow: 0 0 3px rgba(0,0,0,0.55);}
.waku1 p.newsdate span.new{color:#FF0000; font-weight:700; padding-right:10px;}
.waku1 p.newsdate span.date{background:#000; color:#FFF; padding:5px;}
.waku1 p.newstitle{color:#333;font-size:18px; font-weight:700; border-bottom:2px solid #1B7EF6;}
.waku1 p.news{line-height:1.5em; margin:0;}

.waku2{padding:20px 20px 0px 20px !important; background:#F7F7F7;}
.waku2 p.kijititle{color:#0457CC; font-size:24px; font-weight:700; border-bottom:1px dotted #CCC;}
.waku2 p.kiji{line-height:1.5em; margin:0;}
.waku2 p.kiji span{color:#FF6200; font-weight:700;}
.waku2 p.kiji span.blue{color:#0457CC; font-weight:700;}

.waku3{padding:20px 10px 0px 10px !important;}
.waku3 p.kijititle{color:#0457CC; font-size:18px; font-weight:700; border-bottom:1px dotted #CCC;}
.waku3 p.kiji{line-height:1.5em; margin:0;}

.service-item p.newsdate span.new{color:#FF0000; font-weight:700; padding-right:10px;}
.service-item p.newsdate span.date{border-radius:5px;background:#004092; color:#FFF; padding:5px;}
a .bg-gray2{background:#FFF;}
a:hover .bg-gray2{background:#E7E7E7;}
a.black{color:#000;}
a.black:hover{text-decoration:underline;}

p.site {border:1px solid #CCC; padding:10px; color:#000;}
p.site:hover{background:#A6CBFD;}
p.fujita{font-size:24px; margin:10px 0 0 0;}

h2.subtitle{font-size:20px;margin-bottom:0;}

.box27 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #1B7FE6;
    background: #FFF;
    text-align:center;
    font-size:20px;
    color: #333;
}
.box27 .box-title {
    position: absolute;
    display: inline-block;
    top: -37px;
    left: -3px;
    padding: 0px 9px;
    height: 35px;
    line-height: 35px;
    font-size: 17px;
    background: #1B7FE6;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.box27 p {
    margin: 0; 
    padding: 0;
}

.box27 a{color:#EF786B;}

.heading-4 {
    padding:0 .4em .2em;
    border-bottom: 3px dashed #F29286;
    color: #F29286;
}
.heading-5 {
    padding:0 .4em .2em;
    border-bottom: 3px dotted #4EB5B5;
    color: #4EB5B5;
}
.heading-6 {
  position: relative;
  display: inline-block;
  padding: 0 65px;
  text-align: center;
}

.heading-6:before,
.heading-6:after {
  position: absolute;
  top: calc(50% - 3px);
  width: 50px;
  height: 6px;
  content: '';
  border-top: solid 2px #000;
  border-bottom: solid 2px #000;
}

.heading-6:before {
  left: 0;
}

.heading-6:after {
  right: 0;
}

.heading-23 {
  color: #F29286;
  font-size:25px;
}

.heading-24 {
    position: relative;
    padding-top: 1.5em;
    color: #F29286;

}

.heading-24::before {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    color: #FFF;
    font-size: 3em;
    line-height: 1;
    content: attr(data-number);
    pointer-events: none;
}

.heading-28 {
    color: #1B7EF6;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: .04em;
    text-align: center;
}

.heading-28::before {
    display: block;
    font-weight: 700;
    font-size: 2.65rem;
    line-height: 1.5;
    letter-spacing: .02em;
    content: attr(data-label);
    color: #333;
}

.heading-29 {
    color: #4EB5B5;
    font-weight: 400;
    font-size: 1.25rem;
    letter-spacing: .04em;
    text-align: center;
}

.heading-29::before {
    display: block;
    font-weight: bold;
    font-size: 2.65rem;
    line-height: 1.5;
    letter-spacing: .02em;
    content: attr(data-label);
    color: #333;
}

.heading-30 {
    color: #4EB5B5;
    font-weight: 400;
    font-size: 1.25rem;
    letter-spacing: .04em;
    text-align: center;
}

.heading-30::before {
    display: block;
    font-weight: 700;
    font-size: 2.65rem;
    line-height: 1.5;
    letter-spacing: .02em;
    content: attr(data-label);
    color: #333;
}

.ttl_line3 {
  font-weight: bold;
  border-bottom: 3px solid #FFDF56;
  padding: 0em;
  margin-bottom: 0.5em;
  position: relative;
  line-height:2em;

  
}
.ttl_line3::after {
  content: '';
  background-color: #F29286;
  width: 2em;
  height: 3px;
  position: absolute;
  bottom: -3px;
  left: 0;
  z-index: 1;
}

h1.title{font-size:30px;}

@media (max-width: 768px) {
.section-title h1.heading-28{font-size:20px !important;}
.section-title h1.heading-28::before {font-size:30px !important;}
.section-title h1.heading-29{font-size:20px !important;}
.section-title h1.heading-29::before {font-size:30px !important;}
.section-title h1.heading-30{font-size:20px !important;}
.section-title h1.heading-30::before {font-size:30px !important;}


}

@media (max-width: 425px) {
.section-title h1.heading-28{font-size:16px !important;}
.section-title h1.heading-28::before {font-size:26px !important;}
.section-title h1.heading-29{font-size:16px !important;}
.section-title h1.heading-29::before {font-size:26px !important;}
.section-title h1.heading-30{font-size:16px !important;}
.section-title h1.heading-30::before {font-size:24px !important;}
.box27 p{text-align:left;}
h4.staffname{font-size:16px;}
.service-item h4{font-size:20px;}
p.fujita{font-size:20px;}
h5.dai{font-size:16px;}

}

@media (max-width: 375px) {
.section-title h1.heading-28{font-size:16px !important;}
.section-title h1.heading-28::before {font-size:26px !important;}
.section-title h1.heading-29{font-size:16px !important;}
.section-title h1.heading-29::before {font-size:26px !important;}
.section-title h1.heading-30{font-size:14px !important;}
.section-title h1.heading-30::before {font-size:20px !important;}
.service-item h4{font-size:16px;}
.heading-4 {font-size:20px;}
.heading-6 {font-size:20px;}
.heading-23 {font-size:20px;}
p.fujita{font-size:18px;}
h5.dai{font-size:15px;}
h4.staffname{font-size:16px;}
}


@media (max-width: 320px) {
.section-title h1.heading-28{font-size:14px !important;}
.section-title h1.heading-28::before {font-size:26px !important;}
.section-title h1.heading-29{font-size:14px !important;}
.section-title h1.heading-29::before {font-size:26px !important;}
.section-title h1.heading-30{font-size:14px !important;}
.section-title h1.heading-30::before {font-size:17px !important;}
.heading-4 {font-size:20px;}
.heading-6 {font-size:16px;}
.heading-23 {font-size:20px;}
.service-item h4{font-size:15px;}
.box27 p{font-size:16px;}
.display-3{font-size:16px !important;}
p.fujita{font-size:18px;}
h5.dai{font-size:15px;}
h4.staffname{font-size:16px;}
}


/*** 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;
    border:none;
    transition: .5s;
    border-radius: 20px 20px;
   
}
.btn:hover {
    background:#FFBE44;
}


.btn2 {
    font-weight: 600;
    transition: .5s;
    background:#004092;
    line-height:1em;
    padding:17px 0px 15px 0;
}

.btn2.btn-primary{
    color: #FFF;
    font-size:20px;
}

.btn2:hover {
    background:#0093D9;
    color:#FFF;

}
.btn21 {
    font-weight: 500;
    transition: .5s;
    background:#0458CC;
    border:2px solid #0458CC;
    padding:22px 0 21px 0;
}

.btn21.btn-primary{
    color: #FFFFFF;
    font-size:20px;
}



.btn21:hover {
    background:#387FE4;
    border:2px solid #387FE4;
}

.btn22 {
    font-weight: 500;
    transition: .5s;
    background:#0457CC;
    border:2px solid #0457CC;
    padding:22px 0 21px 0;
}

.btn22.btn-primary{
    color: #FFFFFF;
    font-size:16px;
}

.btn22:hover {
    background:#387FE4;
    border:2px solid #387FE4;
}

.btn23 {
    font-weight: 500;
    transition: .5s;
    background:#000;
    border:2px solid #000;
    padding:22px 0 21px 0;
}

.btn23.btn23-primary{
    color: #FFFFFF;
    font-size:20px;
}

.btn23:hover {
    background:#BBB;
    border:2px solid #BBB;
}
.btn3 {
    font-weight: 600;
    transition: .5s;
    background:#1B7FE6;
    line-height:1em;
    padding:17px 0px 15px 0;
}

.btn3.btn-primary{
    color: #FFF;
    font-size:20px;
}

.btn3 span.jikan, .btn2 span.jikan{
    font-size:13px;
    font-weight: 500;
}

.btn3:hover {
    background:#1B7FE6;


}

.btn4 {
    font-weight: 500;
    transition: .5s;
    background:#0458CC;
    border:2px solid #0458CC;
    padding:12px 0 11px 10px;
    border-radius: 10px 10px 10px 10px;
}

.btn4.btn-primary{
    color: #FFFFFF;
    font-size:18px;
}
.btn4:hover {
    background:#387FE4;
    border:2px solid #387FE4;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFF;
}

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

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

@media (max-width: 768px) {
.btn4.btn-primary{
    font-size:16px;
   }
}

/*** Navbar ***/
button.navbar-toggler{background:#1B7FE6;border-radius:5px;}
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;


}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    outline: none;

    
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #000;
}

.topright a{color:#FFF;}
.topright a:hover{color:#FFF;}

.dropdown-item:hover{background:#FFE3A4;border-radius:5px;}
.dropdown-menu a{color:#513201;padding:7px 0;}
.dropdown-menu{border:none; padding:5px;}

@media (max-width: 1024px) {
.navbar-light .navbar-nav .nav-link {
    margin-right: 10px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    outline: none;
    }

.btn2.btn-primary{
    text-align:center;
    padding:20px 10px 19px 10px !important;
    font-size:16px;
}

.btn21.btn-primary{
    padding:10px 10px !important;
    font-size:16px;
}

.btn3.btn-primary{
    padding:20px 10px 19px 10px !important;
    font-size:16px;
}
.btn3 span.jikan{
    font-size:10px;
}

}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
        font-size: 16px;
    }

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

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
display:inlie-block;
padding:10px 2px;
margin:5px;
border-radius:10px;
border:3px dotted #1B7FE6;
    background:#FFF;
}

.navbar-nav .nav-link:hover{background:#E0EEFC;} 

.navbar-nav span{color:#1B7FE6;}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

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

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

    }


}
@media (max-width: 320px) {
     .navbar a{margin:0 -50px 0 0;}
     .navbar h2 img{width:80%;}  


}

/*** Header ***/



@media (max-width: 1024px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        height: 370px !important;
    }
}
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        height: 400px !important;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;   
    background: #0457CC;
    border: 1px solid #0457CC;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: #387FE4;
    border-color: #387FE4;
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: transparent;
    border: 1px solid #FFFFFF;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header2 {
    background: url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.page-header22 {
    background: url(../img/carousel-3.jpg) center center no-repeat;
    background-size: cover;
}
.page-header3 {
    background: url(../img/carousel-4.jpg) center center no-repeat;
    background-size: cover;
}

.page-header4 {
    background: url(../img/carousel-7.jpg) right center no-repeat;
    background-size: cover;
}

.page-header5 {
    background: url(../img/carousel-5.jpg) center center no-repeat;
    background-size: cover;
}

.page-header6 {
    background: url(../img/carousel-6.jpg) center center no-repeat;
    background-size: cover;
}
.page-header8 {
    background: url(../img/carousel-8.jpg) center center no-repeat;
    background-size: cover;
}

.page-header9 {
    background: url(../img/carousel-9.jpg) center center no-repeat;
    background-size: cover;
}

.page-header11 {
    background: url(../img/carousel-11.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title h1 {
    position: relative;
    display: inline-block;
    padding: 0 60px;
}

.section-title.text-start h1 {
    padding-left: 0;
}


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

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

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

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


/*** Service ***/
.service-item img {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.1);
}

.service-item:hover img.nashi {
    transform: none;
}

.gradation02 {
  display: inline-block;
  background: linear-gradient(45deg, #EF786B 0%, #F29286 100%);
}
.gradation02 img {
  display: block;
  max-width: 100%;
  height: auto;
  opacity: 70%; /* 70% 透明にする */
}




@media (max-width: 425px) {
.section-title h1 {
  font-size:22px !important;
  padding:0;

   }
}

@media (max-width: 320px) {
.section-title h1 {
  font-size:18px !important;
  padding:0;

   }
.section-title h1.namae {
  font-size:25px;
  padding:0;

   }
}
/*** Feature ***/



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

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

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

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


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-item img {
    transition: .5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 0;
    bottom: 0;
    left: 50%;
    background: rgba(53, 53, 53, .7);
    transition: .5s;
}

.portfolio-item:hover .portfolio-overlay {
    width: 100%;
    height: 100%;
    left: 0;
}

.portfolio-item .portfolio-overlay .btn {
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay .btn {
    opacity: 1;
}


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

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

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

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


/*** Team ***/
.team-item{border:5px dashed #1B7FE6; border-radius:5px;background:#FFF;box-shadow: 0 0 3px rgba(0,0,0,0.55);}
.team-item h5{color:#1B7FE6 !important; border-bottom:2px solid #1B7FE6; padding-bottom:5px;}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-social {
    position: absolute;
    width: 38px;
    top: 50%;
    left: -38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover .team-social {
    left: 0;
}
.staffname {color:#ED700A !important; font-size:20px;}

p.tweetdate {}
p.tweetdate span{border-radius:5px;background:#004092; color:#FFF; padding:5px;}
p.tweetdate span.new{background:#FFF;color:#FD0000;padding-right:5px;font-weight:700;}
p span.new{color:#FD0000;padding-right:5px;font-weight:700;}
a p.tweettitle{color:#333;padding:5px 0; margin:0; font-weight:700;}

.paging span{display:inline-block; width:50px; text-align:center; color:#FFF; padding:5px 0; margin-right:10px; font-size:16px; background:#BBB; border:1px solid #CCC;}
.paging span.active{display:inline-block; width:50px; text-align:center; color:#FFF; padding:5px 0; margin-right:10px; font-size:16px; background:#1B7FE6; border:1px solid #CCC;}

.paging2 span.pre{padding:8px;border-radius:5px;text-align:center; color:#FFF; margin-right:10px; font-size:16px; background:#1B7FE6; border:1px solid #CCC;}

/*** Testimonial ***/

.testimonial-item img{border:3px double #F29286;}

.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}



.testimonial-carousel .owl-item .testimonial-text {
    display:block;
    width:200px;
    margin:0 auto;
    border-bottom: 2px solid #FFDF56;
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 320px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: #9FD957;
    font-size: 45px;
    transition: .5s;
}

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


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

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

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

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


/*** Footer ***/
.footer {
    color:#000;
    border-top:2px dotted #CCC;
    
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

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

.footer .btn.btn-link:hover {
    color: #FFF;
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    padding: 5px 0;
    font-size: 14px;
    color:#FFF;

}

.footer a {
    color: #000;
}

.footer a:hover {
    text-decoration:underline;
}

.fooerlink span{color:#1B7FE6;}

.footerimg{border-radius:8px;}

/* バナー追従
--------------------------------------------------------------------------------------------------------------- */

.right-fixed-banner {
  position: fixed;
  top:200px;
  right: 0;

  text-align: center;
  line-height: 1em;
  font-size: 28px;
  font-weight:700;
  color:#FFF;
}

.right-fixed-banner a{color:#FFF;}

.banner-box {

  padding:0 0 10px 0px;

}

.banner-box span{
 font-size:16px;
}
#banner-1 {
  background:#F09804;
}

#banner-2 {
  background:none;
}

#banner-2:hover{opacity:0.7;}

#banner-3 {
  background:none;
}
#banner-3:hover{opacity:0.7;}

#banner-4 {
  background: yellow;
}
/* 375px */

@media screen and (max-width:375px) {
.right-fixed-banner {display:none;}
.display-3 {font-size:50px !important;}
.display-3 span{font-size:30px !important;}

}

/* 480px */

@media screen and (min-width:376px) and (max-width:615px){
.right-fixed-banner {display:none;}
.display-3 {font-size:50px !important;}
.display-3 span{font-size:30px !important;}

}

/* 768px */

@media screen and (min-width:616px) and (max-width:991.98px) {
.right-fixed-banner {display:none;}
.display-3 {font-size:50px !important;}
.display-3 span{font-size:30px !important;}

}

/* レスポンシブ　電話リンク */

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

}
}



/*アコーディオンcss*/
summary{
position: relative;
max-width: 600px;
padding: 10px 50px 10px 20px;
cursor: pointer;
background-color: #4EB5B5;
color: #fff;
margin: 10px auto;
}
summary::-webkit-details-marker{
position: absolute;
color: transparent;
}
summary:hover, details[open] summary {
background-color: #43A0A0;
margin-bottom: 0px;
}
summary::after {
content: '+';
font-size: 230%;
position: absolute;
top: 50%;
right: 30px;
transform: translateY(-50%);
transition: transform.5s;
}
details[open] summary::after{
transform:translateY(-50%) rotate(45deg);
}
.answer {
padding: 20px 20px;
background-color: none;
border:1px solid #4EB5B5;
max-width: 630px;
margin: auto;
}
.answer p {
background: none;
}
details[open] .answer{
animation:fadein .5s ease-in-out;
}
@keyframes fadein {
0% { opacity: 0; }
100%{ opacity: 1; }
}
/*アコーディオンcss*/
.ribbon4 {
  display: inline-block;
  position: relative;
  height: 40px;/*高さ*/
  line-height: 40px;/*高さ*/
  text-align: center;
  padding: 0 20px 0 10px;/*文字の左右の余白*/
  font-size: 18px;/*文字サイズ*/
  background: #4EB5B5;/*背景色*/
  color: #FFF;/*文字色*/
  box-sizing: border-box;
}

.ribbon4:after {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
}

.ribbon4:after {
  top: 0;
  right: 0;
  border-width: 20px 15px 20px 0px;
  border-color: transparent #EDFAFA transparent transparent;
  border-style: solid;
}

h2.nb {
  position: relative;
  overflow: hidden;
  padding: 0.3rem 2rem 0.5rem 70px;
  word-break: break-all;
  border-radius: 12px 0 0 0;
  font-size: 20px !important;
}

h2.nb span {
  font-size: 20px !important;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  padding: 3px 20px;
  color: #fff;
  border-radius: 10px 0 20px 10px;
  background: #9FD957;
}

.ribbon6 {
  display: inline-block;
  position: relative;
  height: 60px;
  line-height: 60px;
  text-align: center;
  padding: 7px 0;
  font-size: 18px;
  background: #acd879;
  color: #FFF;
  box-sizing: border-box;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
}

.ribbon6 h3 {
  margin: 0;
  padding: 0 30px;
  border-top: dashed 2px rgba(255, 255, 255, 0.5);
  border-bottom: dashed 2px rgba(255, 255, 255, 0.5);
  line-height: 42px;
}

.ribbon6:before, .ribbon6:after {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
}

.ribbon6:before {
  top: -2px;
  left: -2px;
  border-width: 32px 0px 32px 15px;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
}

.ribbon6:after {
  top: -2px;
  right: -2px;
  border-width: 32px 15px 32px 0px;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
}



