:root {
  --green: #DEE9D3;
  --timeline_boder_1: #7dbdce;
  --timeline_content_1: #7dbdce;
  --timeline_boder_2: #ece956;
  --timeline_content_2: #ece956;
  --timeline_boder_3: #8bc751;
  --timeline_content_3: #8bc751;

}

/*******************************/
/******* Page Header CSS *******/
/*******************************/

.page-header {
    position: relative;
    height: 25rem;
    margin-bottom: 45px;
    margin-top: -12rem;
    padding: 90px 0;
    text-align: center;
    display: block;

    /* background: rgba(225, 225, 225, .2); */
    /* background: linear-gradient(rgba(225, 225, 225, .2), rgba(225, 225, 225, .2)), url(../img/contact_bg_1.jpeg); */
    background-image: url(../img/contact_bg_1.jpeg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* background-attachment: fixed; */
    object-fit: cover;
    opacity: .8;
}
.page-header h1 {
    position: relative;
    color: #fff;
    font-size: 60px;
    font-weight: 700;
    padding-top: 8rem;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.page-header h1::after {
    position: absolute;
    content: "";
    width: 100px;
    height: 2px;
    left: calc(50% - 50px);
    bottom: -10px;
    background: #fff;
}

.page-header p {
    padding: 0 12px;
    font-size: 22px;
    color: #fff;
}


@media (max-width: 767.98px) {
    .page-header h1 {
        font-size: 35px;
    }

    .page-header a {
        font-size: 18px;
    }
}

/*****************************å**/
/********* お問い合わせ CSS *********/
/*******************************/

.contact-form .content{
  width: 100%;
}
.contact-form table{
  width: 100%;
}
.contact th{
  padding-left: 15px;
  color: #00544a;
  width: 25%;
  border-bottom: 2px solid #00544a;
  /* background: #308ac7; */
}
.contact td{
  border-bottom: 2px solid #ced4da;
  padding: 15px 0;
}
.contact .contact-form{
    margin: auto;
}
.contact .contact-form input {
    font-size: 13px;
    padding: 0 3%;
    height: 50px;
    /* border: 0;
    border-width: 1px; */
    /* border-color: #2c94d8; */
}
.contact .contact-form textarea {
    font-size: 13px;
    padding: 0 3%;
    height: 200px;
    /* border-radius: 25px;
    border-width: 1px;
    border-color: #2c94d8; */
}

.contact .contact-form .btn {
    margin-top: 30px;
    margin-bottom: 40px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    background: #8dc33e;
    border: 2px solid #00544a;
    border-radius: 15px;
    transition: .3s;
}

.contact .contact-form .btn:hover {
    color: #fff;
    background: #00544a;
}
@media screen and (max-width: 903px) {
    .contact td{
      border-bottom: 0px;
    }
    .contact th{
      width: 100%;
      position: relative;
      padding-bottom: .5em;
      border-bottom: 2px solid #ced4da;
    }
    .contact th::after{
      position: absolute;
       bottom: -2px;
       left: 0;
       z-index: 2;
       content: '';
       width: 30%;
       height: 2px;
       background-color: #00544a;
    }
}
@media (max-width: 991.98px){
    .page-header{
      margin-top: 0px!important;
      /* background-position: center; */
    }
}
@media (max-width: 540px){
    .page-header{
      height: 16rem;
    }
    .page-header h1{
      padding-top: 0;
    }
}

/*****************************å**/
/********* あいさつ CSS *********/
/*******************************/


.greeting h1{
  margin-bottom: 70px;
  color: #00544a;
}
 .greeting h2, .greeting h4{
   margin-bottom: 15px;
   text-align: center;
 }
 .location_detail .text{
   top: 20%!important;
 }
 .location_detail p{
   text-align: center;
 }
.greeting p{
  font-size: 18px;
  position: relative;
  color: #000;
  margin-right: 20px;
}
.greeting .name{
  font-size: 16px;
  text-align: right;
  color: #00544a;
  padding-right: 20px;
}
.greeting i{
  position: absolute;
  top: -45px;
  font-size: 100px;
  color: #5d50c6;
  opacity: .2;
  z-index: -1;
}
/* @keyframes image-slide {
	 0% {
		 transform: translatex(-250px) scale(0);
	}
	 60% {
		 transform: translatex(-250px) scale(1);
	}
	 90% {
		 transform: translatex(240px) scale(1);
	}
	 100% {
		 transform: translatex(240px) scale(1);
	}
}
 @keyframes text-slide {
	 0% {
		 width: 100%;
	}
	 60% {
		 width: 100%;
	}
	 75% {
		 width: 0;
	}
	 100% {
		 width: 0;
	}
}

 .greeting .container {
	 min-height: 500px;
	 display: block;
	 position: relative;
	 overflow: hidden;
}
 .greeting .image {
	 position: absolute;
	 top: 0%;
	 right: 0;
	 -webkit-transform: translate(-50%, -50%);
	 transform: translate(-50%, -50%);
	 z-index: 2;
}
 .greeting .image img {
	 -webkit-animation: image-slide 4s cubic-bezier(0.5, 0.5, 0, 1);
	 animation: image-slide 4s cubic-bezier(0.5, 0.5, 0, 1);
	 animation-fill-mode: forwards;
	 -webkit-animation-fill-mode: forwards;
	 height: 700px;
   width: 100%;
   position: absolute;
   top: -160px;
   object-fit: contain;
   right: 0;
}
 .greeting .text {
	 position: absolute;
	 top: 45%;
	 left: 24%;
	 -webkit-transform: translate(-40%, -50%);
	 transform: translate(-40%, -50%);
	 z-index: 1;
}
 .greeting .text  .fading-effect {
	 position: absolute;
	 top: 0;
	 bottom: 0;
	 right: 0;
	 width: 100%;
	 background: white;
	 -webkit-animation: text-slide 4s cubic-bezier(0.5, 0.5, 0, 1);
	 animation: text-slide 4s cubic-bezier(0.5, 0.5, 0, 1);
	 animation-fill-mode: forwards;
	 -webkit-animation-fill-mode: forwards;
} */

#about {
    background-size:10%;
    position:relative;
    width: 100%;
	overflow:hidden;
}
#about .animated img{
  width: 100%;
}
#about::before {
    background:rgba(255, 255, 255, 0.5);
    content:"";
    height: 10%;
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}
#about h1 span
{
    color:#ff4c00;
}
@media screen and (max-width: 575px){
#about .animated img{
  margin-bottom: 1.5rem;
}
}

/*****************************å**/
/********* あいさつ CSS *********/
/*******************************/

.underline_tt {
  width: 100%;
}
.underline_tt h2{
  position: relative;
  padding: 15px;
  border-bottom: 5px solid #f2f9fd;
}

.underline_tt h2:before {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 20%;
  height: 5px;
  content: '';
  background: var(--timeline_boder);
}



/*******************************/
/********* モデル detail CSS ********/
/*******************************/

.timeline {
  display: inline-block;
}
 .timeline .content p, .content h3{
	 /* color: #034944; */
   color: #fff;
}
.content_right p{
  margin: 0;
}
.timeline .timeline-list li .content:first-child{
  padding-top: 80px;
}
.timeline .content{
  margin-bottom: 20px;
}
.timeline img{
  border-radius: 20px;
  width: 100%;
}

.content .content_right{
  position: relative;
  width: fit-content;
  border-radius: 20px;
  margin-left: 15px;
  background-color: var(--green);
  box-shadow: 0 1px 3px rgb(0 0 0 / 3%);
  padding: 20px;
}
.content .content_right::before{
  border-right-width: 15px;
  border-right-style: solid;
  border-right-color: var(--green);
  right: 100%;
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
/* .timeline_tt .content_right::before{
  border-left-width: 15px;
  border-left-style: solid;
  border-left-color: var(--green);
  left: 100%;
  border-right: 0;
}
.timeline_tt{
  position: absolute;
  top: 0;
} */
.timeline_tt .content_right{
  font-size: 30px;
  /* margin-top: -.8rem; */
  padding-top: 1.5rem;
  color: #005249;
  width: 100%;
  height: 6rem;
  background-size: contain;
  background-color: none!important;
  background-repeat: no-repeat;
  background-position: center;
}
.entry:first-child .timeline_tt .content_right{
  background-image: url(../img/timeline_blue.png)!important;
}
.entry:nth-child(2) .timeline_tt .content_right{
  background-image: url(../img/timeline_yellow.png)!important;
}
.entry:nth-child(3) .timeline_tt .content_right{
  background-image: url(../img/timeline_green.png)!important;
}

.entry {
  clear: both;
  text-align: left;
  position: relative;
}
.entry .title {
  margin-bottom: 0.5em;
  float: left;
  width: 15%;
  min-width: 150px;
  padding-right: 30px;
  text-align: center;
  position: relative;
}
.entry .body {
  margin-top: -1rem;
  float: right;
  width: 84%;
  padding-left: 30px;
}
.entry .body ul {
  color: #aaa;
  padding-left: 0;
  list-style-type: none;
}
 .l-block-spacing {
	 min-height: 80vh;
	 padding: 2em 0 4em 0;
}
 .l-contained {
	 /* max-width: 1000px; */
	 margin-left: auto;
	 margin-right: auto;
	 padding-left: 1em;
	 padding-right: 1em;
}
 @media all and (min-width: 40em) {
	 .l-contained {
		 padding-left: 2em;
		 padding-right: 2em;
	}
}
 .timeline-list {
	 padding-bottom: 1em;
	 position: relative;
}
 .timeline-list:before {
	 content: "";
	 left: -0.25em;
	 top: 2em;
	 height: 100%;
	 position: absolute;
	 bottom: 0;
	 /* top: 0; */
	 transform-origin: 0 0;
	 animation: scaleVertical 3s 1s ease both 1;
}
 .entry:last-child .timeline-list:after {
	 content: "";
	 clear: both;
	 position: absolute;
	 bottom: -2px;
	 left: -12px;
	 width: 20px;
	 height: 20px;
	 border-radius: 50%;
	 background: none repeat scroll 0% 0% #ddd;
	 border: 5px solid #ddd;
	 box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
	 animation: revealScaleUp 0.75s 2.82s ease both 1;
}
 .timeline-list li {
	 margin: 0 0 3em 0;
	 padding: 0 2em 0em 2em;
	 position: relative;
}

 .circle_am:before {
	 content: "AM";
	 position: absolute;
	 top: 0.5em;
	 left: -43px;
	 width: 80px;
	 height: 80px;
   font-size: 30px;
   text-align: center;
   padding-top: 12px;
	 border-radius: 50%;
	 background: none repeat scroll 0% 0% #fff;
	 animation: revealScaleUp 0.75s 0s ease both 1;
}
.circle_pm:before {
  content: "PM";
  position: absolute;
  top: 0.5em;
  left: -43px;
  width: 80px;
  height: 80px;
  font-size: 30px;
  padding-top: 12px;
  text-align: center;
  border-radius: 50%;
  background: none repeat scroll 0% 0% #fff;
  animation: revealScaleUp 0.75s 1s ease both 1;
}
.timeline .entry:first-child .circle_am:before,
.timeline .entry:first-child .circle_pm:before{
  color: var(--timeline_boder_1);
  border: 3px solid var(--timeline_boder_1);
}
.timeline .entry:first-child .timeline-list:before{
  color: var(--timeline_boder_1);
  border: 2px solid var(--timeline_boder_1);
}
.timeline .entry:first-child .content .content_right{
  background: var(--timeline_content_1);
}
/* .timeline .entry:first-child .timeline_tt .content_right::before{
  border-left-color: var(--timeline_content_1);
} */
.timeline .entry:first-child .content .content_right::before{
 border-right-color: var(--timeline_content_1);
}

.timeline .entry:nth-child(2) .circle_am:before,
.timeline .entry:nth-child(2) .circle_pm:before{
  color: var(--timeline_boder_2);
  border: 3px solid var(--timeline_boder_2);
}
.timeline .entry:nth-child(2) .timeline-list:before{
  color: var(--timeline_boder_2);
  border: 2px solid var(--timeline_boder_2);
}
.timeline .entry:nth-child(2) .content .content_right{
  background: var(--timeline_content_2);
}
/* .timeline .entry:nth-child(2) .timeline_tt .content_right::before{
  border-left-color: var(--timeline_content_2);
} */
.timeline .entry:nth-child(2) .content .content_right::before{
 border-right-color: var(--timeline_content_2);
}
.timeline .entry:nth-child(2) .content p{
  color: #000;
}

.timeline .entry:nth-child(3) .circle_pm:before,
.timeline .entry:nth-child(3) .circle_am:before{
  color: var(--timeline_boder_3);
  border: 3px solid var(--timeline_boder_3);
}
.timeline .entry:nth-child(3) .timeline-list:before{
  color: var(--timeline_boder_3);
  border: 2px solid var(--timeline_boder_3);
}
.timeline .entry:nth-child(3) .content .timeline-list:before{
  color: var(--timeline_boder_3);
  border: 2px solid var(--timeline_boder_3);
}
.timeline .entry:nth-child(3) .content .content_right{
  background: var(--timeline_content_3);
}
/* .timeline .entry:nth-child(3) .timeline_tt .content_right::before{
  border-left-color: var(--timeline_content_3);
} */
.timeline .entry:nth-child(3) .content .content_right::before{
 border-right-color: var(--timeline_content_3);
}


 .timeline-list {
	 animation: reveal 2s 0 ease both 1;
}
 .timeline-list li .content {
	 animation: revealFromLeft 0.5s 0s ease both 1;
}
 .timeline-list li:nth-child(1):before {
	 animation-delay: 0.85s;
}
 .timeline-list li:nth-child(1) .content {
	 animation-delay: 1.05s;
}
 @keyframes revealFromLeft {
	 0% {
		 transform: translateX(-1em);
		 opacity: 0;
	}
	 100% {
		 opacity: 1;
		 transform: translateX(0);
	}
}
 @keyframes reveal {
	 0% {
		 opacity: 0;
	}
	 100% {
		 opacity: 1;
	}
}
 @keyframes scaleVertical {
	 0% {
		 transform: scaleY(0);
	}
	 100% {
		 transform: scaleY(1);
	}
}
 @keyframes revealScaleUp {
	 0% {
		 opacity: 0;
		 transform: scale(0.5);
	}
	 50% {
		 opacity: 1;
		 transform: scale(1.3);
	}
	 100% {
		 opacity: 1;
		 transform: scale(1);
	}
}
@media screen and (max-width: 1199px) {
  .entry .body{
    width: 80%;
  }
}
@media screen and (max-width: 992px) {
  .entry .body{
    width: 75%;
  }
  .timeline_img .col-sm-6:first-child{
    padding: 0!important;
  }
  .timeline_img .col-sm-6:last-child{
    padding-right: 0!important;
  }
}
@media screen and (max-width: 767px) {
  /* .entry .body{
    width: 75%;
  } */
  .l-contained{
    padding: 0!important;
  }
  .entry .title{
    min-width: 110px;
    padding-right: 0;
  }
  .timeline_tt .content_right{
    padding-top: 1.8rem;
    font-size: 25px;
  }
   .circle_am:before, .circle_pm:before{
     top: .8em;
     left: -32px;
     width: 60px;
     height: 60px;
     font-size: 22px;
     padding-top: 10px;
   }
}
@media screen and (max-width: 575px) {
  .entry .title{
    min-width: 85px;
  }
  .entry .body{
    padding-left: 20px;
  }
  .timeline_img .col-sm-6:last-child{
    padding-left: 0!important;
    padding-top: 15px;
  }
  .timeline-list li{
    padding: 0 2em 0em 1em;
  }
  .circle_am:before, .circle_pm:before{
    top: 1.2em;
  }
}
@media screen and (max-width: 575px) {
  .entry .title{
    min-width: 70px;
  }
  .circle_am:before, .circle_pm:before{
    top: 1.2em;
  }
  .timeline_tt .content_right{
    font-size: 20px;
    margin-top: -0.8rem;
    padding-top: 2rem;
  }
  .circle_am:before, .circle_pm:before{
    left: -22px;
    width: 40px;
    height: 40px;
    font-size: 16px;
    padding-top: 5px;
  }
}
@media screen and (max-width: 320px){
  .entry .title{
    min-width: 55px;
  }
  .timeline_tt .content_right{
    margin-top: -1.2rem;
    font-size: 18px;
    padding-top: 2.1rem;
  }
}
