/********** Template CSS **********/
:root {
    --primary: #2878EB;
    --secondary: #F14D5D;
    --light: #ECF4FF;
    --dark: #120F2D;
}


[class^=flaticon-]:before,
[class*=" flaticon-"]:before,
[class^=flaticon-]:after,
[class*=" flaticon-"]:after {
    font-size: inherit;
    margin-left: 0;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 500 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: Century Gothic, Arial, "游ゴシック", sans-serif;
    font-weight: 600;
    transition: .5s;
}

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

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

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

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

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

.navbar-light .navbar-nav .nav-link {
    font-family: Century Gothic, Arial, "游ゴシック", sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
}

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

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}

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

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 15, 45, .5);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
/*        font-size: 30px;*/
        font-weight: 600 !important;
    }
}

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

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

.carousel-indicators {
    align-items: flex-end;
}

.carousel-indicators [data-bs-target] {
    width: 5px;
    height: 25px;
}

.carousel-indicators .active {
    height: 45px;
}

.hero-header {
    background: linear-gradient(rgba(18, 15, 45, .5), rgba(18, 15, 45, .5)), url(../images/top_banner.jpg) top right no-repeat;
    background-size: cover;
}

.service-item div {
    z-index: 1;
}

.service-item div::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 2px 2px 0 0;
    transition: .5s;
    z-index: -1;
}

.service-item div:hover::after {
    width: 100%;
    background: var(--primary);
}

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

.service-item:hover * {
    color: var(--light) !important;
}

.bg-offer {
    background: linear-gradient(rgba(18, 15, 45, .5), rgba(18, 15, 45, .5)), url(../images/carousel-2.jpg) top right no-repeat;
    background-size: cover;
}

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

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 5px;
    height: 25px;
    background: #DDDDDD;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    height: 45px;
    background: var(--primary);
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.blog-date {
    position: absolute;
    width: 90px;
    height: 65px;
    top: 75px;
    left: -25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--secondary);
}

.blog-date::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -25px;
    left: 0;
    border: 13px solid;
    border-color: transparent #D34351 #D34351 transparent;
    z-index: -1;
}
.text_left{
	text-align:left;
}
.text_center{
	text-align:center;
}
.text_right{
	text-align:right;
}
.nd,
.nt{
	font-size:18px;
}
.i-pin::before { content:url(../icon/i_pin.png); }
.i-tel::before { content:url(../icon/i_tel.png); }
.i-fax::before { content:url(../icon/i_fax.png); }
.i_mail::before { content:url(../icon/i_mail.png); }

.f_ul{
	list-style:none;
}
.f_ul li{
	padding:5px 0;
}

.f_ul .l_pin{
	padding-left: 30px;
	background: url(../icon/i_pin.png) left 0px top 10px no-repeat;
}
.f_ul .l_tel{
	padding-left: 30px;
	background: url(../icon/i_tel.png) left 0px top 5px no-repeat;
}
.f_ul .l_fax{
	padding-left: 30px;
	background: url(../icon/i_fax.png) left 0px top 5px no-repeat;
}
.f_ul .l_mail{
	padding-left: 30px;
	background: url(../icon/i_mail.png) left 0px top 5px no-repeat;
}

.h5_t{
    font-size:42px;/* !important;*/
}

.s_h_4{
font-size: 1.5em;/* フォントサイズ */
font-weight: bold;/* フォント太さ */
padding-top: 1em;
padding-bottom: 1em;
margin-bottom: 2em;
border-top: 3px solid #3f9613;/* 上の線 */
border-bottom: 3px solid #409614;/* 下の線 */
color: #409614;/* フォント色 */
text-align: center;/* テキストの位置 */
}

.s_h_13{
font-size: 1.2em;/* フォントサイズ */
font-weight: bold;/* フォント太さ */
position: relative;
padding: 0.6em;
margin-bottom: 2em;
background-color: #6196e0;/* 背景色 */
color:#ffffff;/* フォント色 */
}

.s_h_13:after {
position: absolute;
content: '';
top: 99%;
left: 25px;
width: 0;
height: 0;
border: 15px solid transparent;
border-top: 15px solid #6196e0;
}

ol {
  /*2px 水色 破線を指定*/
  border: 0px skyblue dashed; 
}

ul {
  list-style-type: square;
}

.box {width: 100%; margin-left: auto;}
.img-wrap {margin-left: auto; width:257px;}
.box2{
  position: relative;
}
.box2 a{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* table01 */
#table01 tr {
  width: 70%;
  border-bottom: 1px solid #b5b1b1;
}

#table01 th,
#table01 td {
  padding: 24px 0;
  border: none;
}

#table01 th {
  width: 30%;
}

/* sp */
@media only screen and (max-width: 480px) {
  #table01 th,
  #table01 td {
    width: 100%;
    display: block;
  }

  #table01 th {
    width: 100%;
  }

  #table01 td {
    padding-top: 0;
  }
}

table.table2 {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

table.table2 tr {
  border-bottom: solid 2px white;
}

table.table2 tr:last-child {
  border-bottom: none;
}

table.table2 th {
  position: relative;
  text-align: left;
  font-weight: 400;
  width: 30%;
  background-color: #5796DD;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 16px;
}

table.table2 th:after {
  display: block;
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  top: calc(50% - 10px);
  right: -10px;
  border-left: 10px solid #5796DD;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

table.table2 td {
  text-align: left;
  width: 70%;
  background-color: #E8F2FF;
  padding: 30px 30px;
  font-size: 16px;
  font-weight: 400;
}

.flow_design10 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding:0 10px;
}

.flow10 {
  padding-left: 0;
}

.flow10 > li {
  list-style-type: none;
  border: 2px solid #4A96DA;
  padding: 20px;
  border-radius: 20px;
}

.flow10 > li:not(:last-child) {
  margin-bottom: 40px;
  position: relative;
}

.flow10 > li:not(:last-child)::after {
  content: '';
  position: absolute;
  border: 20px solid transparent;
  width: 0;
  height: 0;
  bottom: -53px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  border-top-color: #4A96DA;
}

.flow10 > li dl dt {
  font-size: 1.3em;
  font-weight: bold;
  border-bottom: 2pt dashed #ccc;
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
}

.flow10 > li .icon10 {
  color: #4A96DA;
  margin-right: 0.5em;
}

.flow10 > li dl dd {
  margin: 0;
}
.flow10 img{ max-width:100%;}

.sp-only {
  display: none;
}
.ttitle{
	text-align:center;
}
@media screen and (max-width: 575px) {
	.sp-only {
		display: block;
	}
	.ttitle{
		text-align:left;
	}
}
.error{
	color:#CC0000;
}  