/********** Template CSS **********/


.tableform{
    border-collapse:  collapse;     /* セルの線を重ねる */
    width: 100%;
}

.tableform td{
    border: solid 1px #dddddd;
    padding: 20px;
    text-align: left;
    line-height: 160%;
}

.tableform th{
    border: solid 1px #dddddd;
    padding: 20px;
    font-weight: bold;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    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: 600;
    transition: .5s;
    border-radius: 50px;
}

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

.btn-primary {
    color: var(--bs-white);
}


/*** Navbar ***/
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    transition: .5s;
    background-color:rgba(255,255,255, 0.5)
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 20px 0;
    color: #111;
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
    transition: .5s;
}

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

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link,
    .navbar.bg-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid var(--bs-light);
    }
}

@media (min-width: 992px) {
    .navbar.bg-dark .navbar-nav .nav-link {
        padding: 20px 0;
    }

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

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


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 100px;
    background: rgba(0, 0, 0, .3);
    z-index: 1;
}

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

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

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 350px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

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

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-white);
}


/*** Title ***/
.title {
    margin-bottom: 2rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid #aaa;
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
    
}


/*** Service ***/
.service-item {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
}

.service-item .service-img {
    position: relative;
    display: inline-block;
}



.service-item.service-item-left {
    border-radius: 500px 0 0 500px;
    background: linear-gradient(rgba(141,196,224,0.2),rgba(57,148,194,0.6));
}

.service-item.service-item-right {
    border-radius: 0 500px 500px 0;
    background: linear-gradient(rgba(141,196,224,0.2),rgba(57,148,194,0.6));
}

@media (max-width: 767.98px) {
    .service-item.service-item-left,
    .service-item.service-item-right {
        border-radius: 500px 500px 0 0;
        background: linear-gradient(rgba(141,196,224,0.2),rgba(57,148,194,0.6));
        text-align: left;
        padding-bottom: 10px;
    }
}


/*** Team ***/
.team-item {
    position: relative;
}

.team-item .team-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 111, 191, .7);
}

.team-item .team-body {
    position: relative;
    overflow: hidden;
}

.team-item .team-body .team-before,
.team-item .team-body .team-after {
    position: absolute;
    content: "";
    width: 0;
    height: calc(100% - 60px);
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
}

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

.team-item .team-body .team-before {
    text-align: right;
}

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

.team-item .team-body .team-before span,
.team-item .team-body .team-after span {
    margin: 5px;
    color: var(--bs-white);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-body .team-before span,
.team-item:hover .team-body .team-after span {
    opacity: 1;
    transition-delay: .2s;
}


/*** Testimonial ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: var(--bs-dark);
    border-radius: 100px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .1;
    transition: .5s;
    border-radius: 100px;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
@keyframes footerAnimatedBg {
	0% {
        background-position: 0 0;
    }

	100% {
        background-position: -1000px 0;
    }
}

.footer {
	background-image: url(../img/footer-bg.png);
	background-position: 0px 0px;
    background-repeat: repeat-x;
	animation: footerAnimatedBg 50s linear infinite;
}


/*ウィンドウサイズが 768px以内の場合に上書きされる*/
@media screen and (max-width: 768px) {
 
  table#demo_1,
  table#demo_1 caption,
  table#demo_1 tbody,
  table#demo_1 tfoot,
  table#demo_1 tr,
  table#demo_1 th,
  table#demo_1 td {
    display: block;
    width: 100% !important;
  }
  
  table#demo_1 th,
  table#demo_1 td {
    padding-left: 0;
    padding-right: 0;
  }
  
  table#demo_1 th {
    display: none;
  }
    
  table#demo_1 td {
    border: none;
    text-align: left;
  }
  
  table#demo_1 td {
    border-bottom: 1px solid #DDD;
  }
  
  table#demo_1 td:first-child {
    font-weight: bold;
  }
  
  table#demo_1 td:last-child {
    border-bottom: 2px solid #DDD;
  }
  
  /*JavaScriptで追加する要素*/
  table#demo_1 td .inner {
    display: table;
    table-layout: fixed;
    width: 100%;
  }
  
  /*JavaScriptで追加する要素*/
  table#demo_1 td .thTitle,
  table#demo_1 td .tdContents {
    display: table-cell;
  }
  
  /*JavaScriptで追加する要素*/
  table#demo_1 td .thTitle {
    font-weight: bold;
    width: 20%;
  }
  
  /*JavaScriptで追加する要素*/
  table#demo_1 td .tdContents {
    padding-left: 20px;
    width: 80%;
  }
}




table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 14px;
}
table th {
  width: 30%;
  background: #f7f7f7;
  border: 1px solid #ccc;
  box-sizing: border-box;
  padding: 15px;
  vertical-align: middle;
  font-weight: bold;
  text-align: center;
    line-height: 170%;
}
table td {
  background: #fff;
  border: 1px solid #ccc;
  box-sizing: border-box;
  padding: 15px;
  vertical-align: top;
  text-align: left;
}
@media all and (max-width: 768px) {
  table th, table td {
    display: block;
    border-bottom: none;
      width: 100%;
  }
  table tr:last-child td:last-child {
    border-bottom: 1px solid #ccc;
  }
}

.kado{
   border-radius: 5px;         /* CSS3 */
   -moz-border-radius: 5px;    /* Firefox */
   -webkit-border-radius: 5px; /* Safari,Chrome */
}



.colo-black {color: #000000}
.colo-gray {color: #666666}
.colo-silver {color: #c0c0c0}
.colo-white {color: #ffffff}
.colo-navy {color: #000080}
.colo-teal {color: #008080}
.colo-aqua {color: #00ffff}
.colo-blue {color: #0054ff}
.colo-olive {color: #808000}
.colo-green {color: #008000}
.colo-lime {color: #00ff00}
.colo-yellow {color: #ffff00}
.colo-orange {color: #ffa200}
.colo-marron {color: #800000}
.colo-purple {color: #800080}
.colo-fuchsia {color: #db01db}
.colo-red {color: #cc0000}

.m1 {margin	                :1px;}
.m3 {margin	                :3px;}
.m5 {margin	                :5px;}
.m10 {margin			    :10px;}
.m15 {margin			    :15px;}
.t1 {margin-top				:1px;}
.t3 {margin-top				:3px;}
.t5 {margin-top				:5px;}
.t10 {margin-top			:10px;}
.t15 {margin-top			:15px;}
.t20 {margin-top			:20px;}
.t30 {margin-top			:30px;}
.r1 {margin-right			:1px;}
.r3 {margin-right			:3px;}
.r5 {margin-right			:5px;}
.r10 {margin-right			:10px;}
.r15 {margin-right			:15px;}
.r20 {margin-right			:20px;}
.l1 {margin-left			:1px;}
.l3 {margin-left			:3px;}
.l5 {margin-left			:5px;}
.l10 {margin-left			:10px;}
.l15 {margin-left			:15px;}
.l20 {margin-left           :20px;}
.l30 {margin-left           :30px;}
.b1 {margin-bottom          :1px ;}
.b3 {margin-bottom          :3px ;}
.b5 {margin-bottom          :5px ;}
.b7 {margin-bottom          :7px ;}
.b10 {margin-bottom         :10px;}
.b15 {margin-bottom         :15px;}
.b20 {margin-bottom         :20px;}

.f10 {font-size:10px;}
.f12 {font-size:12px;}
.f14 {font-size:14px;}
.f16 {font-size:16px;}
.f18 {font-size:18px;}
.f20 {font-size:20px;}

.b {font-weight:bold;}
.ss{font-size:x-small;}
