html {
  font-size: 100%;
}

/***追従するトップへ戻るボタン***/
.page-top {
  position: fixed;
  right: 5px;
  bottom: 20px;
  height: 50px;
  text-decoration: none;
  font-weight: bold;
  transform: rotate(90deg);
  font-size: 90%;
  line-height: 1.5rem;
  color: #737373;
  padding: 0 0 0 35px;
  border-top: solid 1px;
  z-index: 1000;
  display: none;
}



.page-top::before {
  content: "";
  display: block;
  position: absolute;
  top: -1px;
  left: 0px;
  width: 15px;
  border-top: solid 1px;
  transform: rotate(35deg);
  transform-origin: left top;
}

/***トップへ戻るボタンここまで***/

/*  */
#header {
  /* position: fixed; */
  width: 100%;
  z-index: 999;
  background-color: #fff;
}

.header-sp {
  display: none;
}

.humberger {
  position: fixed;
  top: 0;
  right: 0;
  border-radius: 0 0 0 10px;
  background-color: forestgreen;
  padding: 10px;
  z-index: 100;
  display: none;
}

.hum-first,.hum-second,.hum-therd {
 display: block;
 width: 40px;
 height: 3px;
 background-color: #333;
 transition: all 0.5s ease;
 /* margin-bottom:10px ; */
}

.hum-first,.hum-second {
  margin-bottom: 10px;
}
#header.UpMove {
  position: fixed;
  width: 100%;
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to{
    opacity: 0;
    transform: translateY(-100%);
  }
}

#header.DownMove {
  position: fixed;
  width: 100%;
  animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/*  */

.header-div {
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px auto;
}

.header-nav>nav {
  display: flex;
}

.header-nav > nav > a {
  text-decoration: none;
  color: #333;
  display: block;
  margin-left: 2rem;
  padding: 5px;
  /*線の基点とするためrelativeを指定*/
  position: relative;
  /*はみ出る要素を隠す*/
  overflow: hidden;
  /*アニメーションの指定*/
  transition: all .5s;
  border-radius: 5px;

}

.header-nav > nav > a:hover {
  background: forestgreen;
  color: #fff;

}

.header-nav > nav > a:hover {
  transition-delay: .5s;
}

.header-nav > nav > a:before,
.header-nav > nav > a:after {
  content: "";
  position: absolute;
  left: 0;
  height: 2px;
  width: 100%;
  background:forestgreen ;
  transition: all .5s;


}

.header-nav > nav > a::before {
  top: 0;
  transform: translateX(-100%);
  /*X方向に-100%移動*/
}

.header-nav > nav > a::after {
  bottom: 0;
  transform: translateX(100%);
  /*X方向に100%移動*/
}

/*hoverした際の線の変化*/
.header-nav > nav > a:hover::before,
.header-nav > nav > a:hover::after {
  transform: translateX(0);
  /*X方向に0%移動*/
}

.carousel-div {
  width: 100%;
  height: 80vh;
  overflow: hidden; 
}

.carouselImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom; 
}

.caorusel-section {
  position: relative;
  background-color:rgb(246, 235, 219);
}

.first-text {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  font-size: 3rem;
  background-color:rgba(255, 255, 255, 0.5);
  padding: 10px 10px;
  line-height: 1.5;
  width: 60%;
  text-align: center;
  border-radius: 10px;
  text-shadow: 5px 5px 9px #fff;
}

.slick-slide{
  height: 80vh!important;
}

.contact-btn {
  position: relative;
  text-decoration: none;
  display: inline-block;
  bottom: 150px;
  left: 50%; 
  transform: translateY(-50%)translateX(-50%);
  border-radius: 10px;
  color: #000;
  /* background-color: #fff; */
  text-shadow: 1px 2px 3px #808080;
  font-size: 2rem;
  /* padding: 20px; */
  /* border: 5px #000 solid; */

  background: transparent;
  outline: none;
  /*アニメーションの指定*/
  /* transition: all 0.2s ease; */
}


/* .contact-btn:hover {
  border-color: transparent;
} */



.contact-btn span {
  position: relative;
  /* z-index: 2; */
  /*z-indexの数値をあげて文字を背景よりも手前に表示*/
  /*テキストの形状*/
  display: block;
  padding: 10px 30px;
  background: #fff;
  border-radius: 10px;
  color: #333;
  /*アニメーションの指定*/
  transition: all 0.3s ease;
}

.contact-btn:before {
  content: "";
  /*絶対配置で影の位置を決める*/
  position: absolute;
  z-index: -1;
  top: 8px;
  left: 8px;
  /*影の形状*/
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background-color: #333;
}

.contact-btn:hover span {
  /* background-color: #333; */
  color: #000;
  transform: translate(5px, 5px);
}

.news-section {
  text-align: center;
  background-color: rgb(246, 235, 219);
  padding: 40px 0 100px 0;
}

.news-section > h2 {
  position: relative;
width: 250px;
  text-align: center;
  margin: 0 auto 30px auto;
  /* margin-bottom: 30px; */
  font-size: 2rem;
  font-weight: bold;
  color:forestgreen
}

.news-section>h2>.span-left{
position: absolute;
  border: 2px solid #000;
  display: inline-block;
 bottom: -5px;
 left: 30px;
  height: 38px;
  /* margin-right:20px;
  margin-left: 20px; */
  transform: rotate(45deg);
}

.news-section>h2>.span-right {
  position: absolute;
  border: 2px solid #000;
  display: inline-block;
  bottom: -5px;
  right: 30px;
  height: 38px;
  transform: rotate(45deg);
}

.news-div {
  display: inline-block;


}

.news-div > a{
  text-decoration: none;
  display: block;
  color: #000;
  border-bottom:1px gray solid ;
  line-height: 3;
  padding: 5px 40px;
  /* width: 60%; */
  /* text-align: center; */
  transition:all 0.2s;
}

.news-div>a:hover{
background-color:lightgrey
  /* width: 60%; */
  /* text-align: center; */
}

.read-more {
  display: block;
  position: relative;
  text-decoration: none;
  text-align: center;
  margin:100px auto 0 auto;
  color: #000;
  width: 100px;
  text-shadow: 5px 5px 9px forestgreen;
  font-weight: bold;
  /* transition: all 0.3s linear; */
 /* overflow: hidden; */
}
/* 
.read-more:hover{
  font-weight: bold;
} */



.read-more::after {
  content: '';
  position: absolute;
  left: 0;
  
bottom: 0;
  width: 100%;
  height: 1px;
  /* border: red solid 1px; */
  background-color: forestgreen;
  transform: scale(0, 1);
  transition: all 0.3s linear;
  
}

.read-more:hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  /* border: red solid 1px; */
  background-color: forestgreen;
  transform: scale(1,1);
}

.case-section {
  margin-bottom: 100px;
  margin-top: 100px;
}

.case-section>h2 {
  position: relative;
  width: 250px;
  text-align: center;
  margin: 0 auto 100px auto;
  font-size: 2rem;
  font-weight: bold;
  color: forestgreen;
}

.case-section>h2>.span-left {
  position: absolute;
  border: 2px solid #000;
  display: inline-block;
  bottom: -5px;
  left: 30px;
  height: 38px;
  /* margin-right:20px;
  margin-left: 20px; */
  transform: rotate(45deg);
}

.case-section>h2>.span-right {
  position: absolute;
  border: 2px solid #000;
  display: inline-block;
  bottom: -5px;
  right: 30px;
  height: 38px;
  transform: rotate(45deg);
}

.case-section > div {
  width: 90%;
  margin: 0 auto;
}

.case-text {
  width: 35%;
  padding: 30px;
}

.case-img {
  width: 45%;
  
  overflow: hidden;
  
}

.case-img > img {
  border-radius: 10px;

}


.case-top,.case-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 100px;
}

.case-text > h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  border-bottom: forestgreen 2px solid;
  display: inline-block;
  line-height: 1.5;
}

.case-text > p {
  margin-bottom: 20px;
}





.blog-section {
  text-align: center;
  background-color: rgb(246, 235, 219);
  padding: 100px 0 100px 0;

  
}


.blog-section>h2 {
  position: relative;
  width: 250px;
  text-align: center;
  margin: 0 auto 100px auto;
  /* margin-bottom: 30px; */
  font-size: 2rem;
  font-weight: bold;
  color: forestgreen
}

.blog-section>h2>.span-left {
  position: absolute;
  border: 2px solid #000;
  display: inline-block;
  bottom: -5px;
  left: -15px;
  height: 38px;
  /* margin-right:20px;
  margin-left: 20px; */
  transform: rotate(45deg);
}

.blog-section>h2>.span-right {
  position: absolute;
  border: 2px solid #000;
  display: inline-block;
  bottom: -5px;
  right: -15px;
  height: 38px;
  transform: rotate(45deg);
}

.blog-item {
  width: 30%;

}

.blog-img {
  overflow: hidden;
  border-radius: 10px;
}

.blog-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 90%;
  margin: 0 auto;
  gap: 20px;
}

.blog-item img {
  border-radius: 10px;
  transition: all 0.3s linear;
  
}

.blog-item img:hover {

  transform: scale(1.1);
}


.blog-item > a {
  text-decoration: none;
  color: #000;
 
}

.blog-item > a > div > h2 {
  margin-top: 30px;
  font-size: 1.2rem;
  font-weight: bold;
  
}

.blog-item>a>div>p {
margin-top: 5px;

}

.footer-logo {
 text-align: center;
 margin: 30px 0;
}

.footer-link {
  display: flex;
  justify-content: center;
  gap: 50px;
  /* width: 90%; */
  /* margin: 0 auto; */
  margin: 30px 0;
}

.footer-link a {
text-decoration: none;
color: #000;
}
.copyright {
  text-align: center;
  margin-bottom: 30px;
}

.service-vew-div {
height: 60vh;
overflow: hidden;
}

.service-vew-div > img {
width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;

}

.service-section {
  padding-bottom: 30px;
  padding-top: 60px;
  background-color: rgb(246, 235, 219);
}

/* .service-section > div > hr {
  width: 30%;
 margin: 0 auto 0 0 ;
  color: forestgreen;
  height: 2px;
  background-color: forestgreen;
 
 
} */

.service-title>hr {
  width: 30%;
  margin: 0 auto 0 0;
  color: forestgreen;
  height: 2px;
  background-color: forestgreen;


}



.service-title {
  width: 80%;
  margin: 0px auto 100px auto;
  padding-top: 30px;
}

/* .service-section > div > h2 {
font-size: 2rem;
padding-top: 30px;
padding-bottom: 30px;
} */

.service-title>h2 {
  font-size: 2rem;
  padding-top: 30px;
  padding-bottom: 30px;
}

.service-p-top {
  margin-top: 50px;
}

.service-section > div > p {
font-size: 1.2rem;
line-height: 1.6;
}

.service-text {
  width: 80%;
  padding: 20px;
  margin: 0px auto 40px auto;
  box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.4);
  background-color: #fff;
}

/* .service-title {
  width: 80%;
  margin: 0px auto 30px auto;
  padding-top: 30px;
} */

.news-section-color {
  background-color: #fff;
}
.case-title {
  width: 80%;
  margin-top: 70px;
}


.blog-category-div {
  display: block;
  width: 50%;
  margin: 0 auto;
}


.about-page-div {
  display: block;
  width: 60%;
  margin: 0 auto;
 
}
.blog-category-div > a > span {
  margin-right: 30px;
 
}

.about-page-div > div {
  line-height: 3;
  padding: 5px 40px;
  border-bottom: 1px solid gray;
}

.about-page-div>div > span{
 margin-right: 20px;
 display: inline-block;
  width: 150px;
}

.about-flex {
  display: flex;
  align-items: center;
  
}


form {
  width: 50%;
  margin: 0 auto;
}

.contect-flex {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: #808080 solid 2px;
  /* margin-bottom: 20px; */
  padding: 20px;
  
}
.label {
  width: 300px;
}

.label-dec {
  font-weight: bold;
  font-size: 1.3rem;
}



.label > span {
  color: red;
  margin-left: 20px;
  font-weight: bold;

}

.input {
  width: 300px;
  line-height: 2;
  padding: 10px;
  border: none;
  background-color: #ece6e6;
  border-radius: 10px;
}

.select {
  width: 320px;
  height: 54px;
}

textarea {
  width: 300px;
  height: 200px;
  padding: 10px;
  border: none;
    background-color: #ece6e6;
    border-radius: 10px;
 
}

.submit {
margin:20px auto 20px auto;
  padding:0 20px;
  display: block;
  background-color: forestgreen;
  border-radius: 10px;
  font-size: 1.6rem;
  color: #fff;
  font-weight: bold;
  border: 5px forestgreen solid;
  width: 150px;
  transition: all 0.3s ease;
  box-sizing: border-box;
    /* 追加 */
 
}
.submit:hover {
  color: forestgreen;
  background-color: #fff;
  border: forestgreen 5px solid;
  
}

form {
  margin-bottom: 100px;
}

.news-single-div {
  width: 80%;
  margin: 0 auto;
}

.news-single-div > p {
  margin-top: 30px;
  line-height: 1.5;
  font-size: 1.2rem;
}

.news-single-img {
  height: 50vh;
  overflow: hidden;
 
}

.news-single-img > img{
  width: 100%;
  height: 100%;
 object-fit: cover;
  object-position: center;
 
}

@media screen and (max-width: 768px) {
.header-pc {
  display: none;
}

.page-top {

  display: block;
}

.page-top.none {
  display: none; 
}


.header-sp {
  display: block;
}
.humberger {

  display: block;
}
/*  */
.remove {
  transform: translateX(0);
  transition: all 0.5s ease;
}
.toggle {
  transform: translateX(100%);
  transition: all 0.5s ease;
}



/*  */
.humberger.active .hum-first {
  transform: translateY(15px)rotate(-45deg);
  background-color: #fff;
  transition: all 0.5s ease;
}

.humberger.active .hum-second {
  opacity: 0;
}

.humberger.active .hum-therd{
 
  transform:translateY(-10px)rotate(45deg);
  background-color: #fff;
  transition: all 0.5s ease;
}





.header-sp {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 99;
  background-color: forestgreen;
 
}
/*  */

.first-text {
  width: 100%;
  font-size: 1.7rem;
}

.news-div>a {
  padding: 10px 10px;
  line-height: 2;
}

.read-more {
  margin: 30px auto 0 auto;
}

.news-section {
  padding: 40px 0;
}

.case-section>div {
  width: 100%;
  
}

.case-section>h2 {

  margin: 0 auto 30px auto;
 
}

.case-text {
  width: 100%;
  padding: 0;
  text-align: center;
}
.case-text > h2{
font-size: 1.8rem;
}

.case-top ,.case-bottom {
  padding: 10px;
}

.case-img {
  width: 100%;
}

.case-order01 {
  order: 01;
}

.case-order02 {
  order: 02;
}

.case-bottom {
  margin-bottom: 30px;
}

.blog-section>h2 {

  margin: 0 auto 60px auto;
}

.blog-item {
 width: 100%;
}

.blog-section {

  padding: 100px 0 100px 0;
}

.footer-link > div{
  text-align: center;
}
.footer-link {
  display: block;

}

.service-vew {
  display: none;
}

.service-title>hr {
  width: 100%;

}

.service-title>h2 {

  text-align: center;
}

 .news-div>a {
margin-bottom: 15px;

 }

 .case-bottom > .case-img {
  order: 2;
 }

 .case-top {
  margin-bottom: 50px;
 }

 .case-bottom {
  margin-bottom: 50px;
 }

 .blog-category-div {
width: 95%;
 }

.about-page-div {
 width: 95%;
 
}

.about-page-div>div {

  padding: 5px 5px;
  
}


.about-page-div>div>span {
margin-right: 5px;
  width: 100px;
}

.about-flex {
  gap: 15px;
}

.about-page-div>div {
  line-height: 2;

}

form {
  width: 100%;
}
 .section {
  overflow: hidden;
} 

.header-sp  nav > a {
margin-top: 35px;
  display: block;
  width: 100vw;
  padding: 10px;
 text-decoration: none;
  color: #fff;
  font-size: 1.5rem;
  border-bottom: 1px solid #fff;
}

/* *{
  outline:  red solid 2px;
} */



}