@charset "utf-8";

.fv {
  position: relative;
  padding: 0 0 5rem;
  margin-bottom: 5rem;
}

.fv-img{
  position: relative;
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: 0;
}

.fv-img-sp{
    display: none;
}

.fv-text{
  position: absolute;
  top: 12%;
  right: 30%;
  z-index: 1;
  font-size: 1.5rem;
  font-weight: bold;
  color: #00A206;
  writing-mode: vertical-rl;
  text-orientation: upright;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fv-text h1{
  font-size: 3rem;
  color: #00A206;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

.fv-deco{
  position: absolute;
  width: 24px;
  height: 100%;
  top: 0;
  left: 2rem;
  z-index: -1;
}

@media screen and (max-width: 960px) {
  .fv {
    padding: 0 0 1rem;
    margin-bottom: 2rem;
  }
  .fv-text{
    top: 1rem;
    right: 30%;
    font-size: 1rem;
    margin: 0 auto;
  }
  .fv-text h1{
    font-size: 1.5rem;
  }
  .fv-deco{
    width: 10px;
    left: 1rem;
  }
}

@media screen and (max-width: 600px) {
  .fv-img{
    display: none;
  }
  .fv-img-sp{
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 0;
    padding-top: 8rem;
  }
}

/*====================
お悩み
====================*/
.worry{
  position: relative;
  margin: 5rem auto;
  width: 80%;
  display: flex;
  justify-content: space-between;
}

.worry img:nth-child(1){
  width: 25%;
  max-width: 280px;
  height: auto;
}

.worry img:nth-child(2){
  width: 50%;
  max-width: 740px;
  height: auto;
}

.worry img:nth-child(3){
  width: 15%;
  max-width: 140px;
  height: auto;
}

@media screen and (max-width: 600px) {
  .worry{
    margin: 3rem auto;
    width: 90%;
    flex-direction: column;
    gap: 1.5rem;
  }
  .worry img:nth-child(1){
    width: 50%;
    margin: 0 auto;
  }
  .worry img:nth-child(2){
    width: 100%;
    margin: 0 auto;
  }
  .worry img:nth-child(3){
    position: absolute;
    right: 0;
    top: 0;
    width: 25%;
    max-width: 140px;
    height: auto;
    z-index: -1;
  }
}
@media screen and (max-width: 600px) {
}

/*====================
解決
====================*/

.solve{
  position: relative;
  margin: 3rem auto;
  padding-bottom: 10rem;
}

.solve-img{
  position: relative;
  display: block;
  margin: 0 auto;
  width: 70%;
  height: auto;
}

.solve-img-sp{
  display: none;
}

.solve-back{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 120%;
  height: auto;
  z-index: -1;
}

@media screen and (max-width: 960px) {
  .solve{
    position: relative;
    margin: 3rem auto;
    padding-bottom: 0;
  }
  .solve-img{
    display: none;
  }
  .solve-img-sp{
    position: relative;
    display: block;
    margin: 0 auto;
    width: 90%;
    height: auto;
  }
}

/*====================
杉崎総建とは
====================*/
.about{
  position: relative;
  margin: 8rem auto;
  width: 80%;
  display: flex;
  gap: 3rem;
  justify-content: space-between;
}

.about-img{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 40%;
}

.about-img img:nth-child(2){
  margin-left: 20%;
}

.about-text{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 50%;
  font-size: 14px;
}

.about-text-title{
  position: relative;
  display: flex;
  flex-direction: column;
}

.about-text-title h2{
  font-size: 3rem;
  color: #FFA908;
}

.about-text h3{
  position: relative;
  font-size: 1.5rem;
  color: #00A109;
  line-height: 2;
  width: fit-content;
}

.about-text h3:before{
  content: "";
  position: absolute;
  top: 1.5rem;
  left: 0;
  width: 88%;
  height: 16px;
  background-color: #FFF72E;
  z-index: -1;
}

.about-btn{
  margin: 1rem 0 0;
}

@media screen and (max-width: 960px) {
  .about{
      position: relative;
      margin: 3rem auto;
      width: 90%;
      flex-direction: column;
      gap: 2rem;
  }
  .about-img{
    max-width: 90%;
  }
  .about-img img:nth-child(2){
    margin-left: 10%;
  }
  .about-text{
    max-width: 100%;
    font-size: 12px;
    align-items: center;
  }
  .about-text-title h2{
    font-size: 2rem;
  }
  .about-text h3{
    font-size: 1rem;
  }
  .about-text h3:before{
    top: 1rem;
    width: 88%;
    height: 10px;
  }
  .about-btn{
    margin: 0 auto!important;
  }
}

@media screen and (max-width: 600px) {
  .about-text{
    max-width: 100%;
    font-size: 12px;
    align-items: flex-start;
  }
}

/*====================
杉崎総建のサービス
====================*/
.service{
  position: relative;
  margin: 8rem auto;
}

.service-title{
  position: relative;
  width: 80%;
  margin: 0 auto;
  display: flex;
  gap: 5rem;
  align-items: end;
}

.service-title-item{
  width: fit-content;
}

.service-title-item h2{
  font-size: 3rem;
  color: #FFA908;
}

.service-item{
  position: relative;
  margin: 2rem auto 5rem;
  padding: 3rem 0;
}

.service-item-wrap{
  position: relative;
  width: 70%;
  margin: 2rem auto;
  display: flex;
  gap: 5%;
  row-gap: 3rem;
  flex-wrap: wrap;
}

.service-item-wrap img{
  width: 25%;
  max-width: 320px;
  height: auto;
}

.service-item-wrap img:nth-child(4){
  width: 25%;
  max-width: 320px;
  height: auto;
  margin-left: 5rem;
}

.service-item-back{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  height: auto;
  z-index: -1;
}

@media screen and (max-width: 960px) {
  .service{
    margin: 3rem auto;
  }
  .service-btn{
    display: none;
  }
  .service-title{
    width: 90%;
  }
  .service-title-item h2{
    font-size: 1.5rem;
  }
  .service-item{
    margin: 2rem auto 3rem;
    padding: 1rem 0;
  }
  .service-item-wrap{
    width: 90%;
    gap: 1rem;
    row-gap: 2rem;
  }
  .service-item-wrap img{
    width: 45%;
  }
  .service-item-wrap img:nth-child(4){
    width: 45%;
    margin-left: 0;
  }
  .service-item-back{
    position: absolute;
    bottom: 40%;
  }
}

/*====================
お客様の声
====================*/
.voice{
  position: relative;
  margin: 8rem auto;
}

.voice-title{
  text-align: center;
  margin: 0 auto;
}

.voice-title h2{
  font-size: 3rem;
  color: #FFA908;
  text-align: center;
}

.voice-cont{
  position: relative;
  width: 70%;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.voice-item{
  position: relative;
  width: 90%;
  margin: 2rem auto;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 1rem 3% 0;
  border: 3px solid #00A109;
  background-color: #FFF;
}

.voice-item:nth-child(2){
  position: relative;
  width: 90%;
  margin: 2rem auto 2rem 20%;
  display: flex;
  gap: 2.5rem;
  padding: 1rem 3% 0;
  border: 3px solid #00A109;
  background-color: #FFF;
}

.voice-item img{
  position: relative;
  width: 100px;
  height: auto;
}

.voice-item-text{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.voice-item h3{
  position: relative;
  color:  #00A109;
  font-size: 1.5rem;
  width: fit-content;
  z-index: 0;
}
.voice-item  h3:before{
  content: "";
  position: absolute;
  top: 1rem;
  left: 0;
  width: 50%;
  height: 12px;
  background-color: #FFF72E;
  z-index: -1;
}

.voice-btn{
  margin: 0 auto;
}

@media screen and (max-width: 960px) {
  .voice{
  	margin: 5rem auto;
    width: 90%;
	}
  .voice-title{
    width: fit-content;
    text-align: left;
    margin: 0;
  }
  .voice-title h2{
    font-size: 1.5rem;
    text-align: left;
  }
  .voice-cont{
    width: 100%;
    margin: 2rem auto;
    gap: 1.5rem;
  }
  .voice-item{
    width: 100%;
    margin: 1rem auto;
    flex-direction: column-reverse;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1rem 0;
    border: 2px solid #00A109;
  }
  .voice-item:nth-child(2){
    width: 100%;
    margin: 1rem auto;
    flex-direction: column-reverse;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1rem 0;
    border: 2px solid #00A109;
  }
  .voice-item img{
    width: 80px;
  }
  .voice-item h3{
    position: relative;
    color:  #00A109;
    font-size: 1rem;
    width: fit-content;
    z-index: 0;
  }
  .voice-item  h3:before{
    content: "";
    position: absolute;
    top: 1rem;
    left: 0;
    width: 50%;
    height: 12px;
    background-color: #FFF72E;
    z-index: -1;
  }
}

/*====================
自動スライダー
====================*/
.swiper {
  margin: 8rem auto;
}
/* スライドの動き等速 */
.swiper-wrapper {
  transition-timing-function: linear;
}
/* 画像のサイズ調整 */
.swiper-slide img {
  height: auto;
  width: 80%;
}

@media screen and (max-width: 960px) {
  .swiper {
    margin: 3rem auto;
  }
}

/*====================
採用情報
====================*/
.recruit{
  position: relative;
  margin: 8rem 0 8rem auto;
  width: 85%;
  display: flex;
  gap: 3rem;
  justify-content: space-between;
}

.recruit-img{
  position: relative;
  max-width: 60%;
  height: auto;
}

.recruit-text{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 45%;
}

.recruit-text h3{
  position: relative;
  font-size: 1.5rem;
  color: #00A109;
  line-height: 2;
  width: fit-content;
}

.recruit-text h3:before{
  content: "";
  position: absolute;
  top: 1.5rem;
  left: 0;
  width: 60%;
  height: 16px;
  background-color: #FFF72E;
  z-index: -1;
}

.recruit-text h3:after{
  content: "";
  position: absolute;
  bottom: 0.25rem;
  right: 0;
  width: 75%;
  height: 16px;
  background-color: #FFF72E;
  z-index: -1;
}

@media screen and (max-width: 960px) {
  .recruit{
    position: relative;
    margin: 3rem auto 5rem;
    width: 90%;
    flex-direction: column-reverse;
    gap: 2rem;
  }
  .recruit-img{
    max-width: 100%;
  }
  .recruit-text{
    gap: 1rem;
    max-width: 100%;
    align-items: center;
  }
  .recruit-text h3{
    font-size: 1.25rem;
  }
  .recruit-text h3:before{
    height: 10px;
  }
  .recruit-text h3:after{
    height: 10px;
  }
}

@media screen and (max-width: 600px) {
  .recruit-text{
    align-items: flex-start;
  }
}

/*====================
List Layout
====================*/
.news-main .webgene-blog { display:flex; flex-wrap:wrap; gap:2%; justify-content: center;}
.news-main .webgene-blog article { width:32%; max-width: 320px; font-size:clamp(1.5rem, 0.659rem + 0.3vw, 2rem); }
.news-main .webgene-blog article > a { padding:10px; display:flex; flex-direction:column; gap:1rem; border-radius: 10px; }
.news-main .webgene-blog article > a:hover { background:#7070702e; }
.newsItemTit { font-size:18px; font-weight:bold; color:#00A109; min-height: 56px;}
.newsItemText { display:flex; align-items:baseline; margin:0.5rem 0; gap:0.5rem; font-size:clamp(0.75rem, 0.659vw + 0.3vw, 1rem); color:#BDBDBD; }
.newsItem-text { font-size:14px; font-weight:400; color:#BDBDBD; }
.newsItemTime { font-size:1rem; font-weight:bold; color:#000;}
.newsDetailTxt{ font-size:1rem; font-weight:bold; color:#000;}
.newsItemCatewrap { display:flex; gap:1rem; }
.newsItemCate { 
  line-height:1; 
  font-size: 14px;
  padding: .25rem 1rem;
  border: #00A109 1px solid;
  border-radius: 30px;
  color:#00A109!important; 
  width:fit-content; 
}
.newsTextWrap { display:flex; flex-direction:column; gap: 1rem; border-bottom:1px solid #D5D5D5; width:100%; padding-bottom:2rem; }
.newsItem{ position: relative; padding: .5rem 0;}

/*====================
List Layout(blog)
====================*/
.blogLink { display:flex; flex-wrap:wrap; gap: 2rem; }
.blog-main .webgene-blog article { width:100%; font-size:clamp(1.5rem, 0.659rem + 0.3vw, 2rem);  margin: 2rem 0;}
.blog-main .webgene-blog article > a { padding:10px; display:flex;  gap:2rem; border-radius: 10px; }
.blog-main .webgene-blog article > a:hover { background:#7070702e; }
.webgene-item-main-image{
  width: 320px;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.blogItem{
	width: 100%;
    display: block;
}

.blogItem:hover{
	opacity: .7;
}

.blogItemTit { position: relative; font-size:20px; font-weight:bold; color:#00A109; width: fit-content;}
.blogItemText { display:flex; align-items:baseline; margin:0.5rem 0; gap:0.5rem; font-size:clamp(0.75rem, 0.659vw + 0.3vw, 1rem); color:#BDBDBD; }
.blogItem-text { font-size:14px; font-weight:400; color:#BDBDBD;}
.blogItemCatewrap { display:flex; gap:1rem; }
.blogItemCate { 
  line-height:1; 
  font-size: 14px;
  padding: .25rem 1rem;
  background-color: #D2EDD3;
  border-radius: 5px;
  color:#00A109!important; 
  width:fit-content; 
}
.blogTextWrap { display:flex; flex-direction:column; gap:.25rem; border-bottom:1px solid #000; width:calc(100% - 360px); padding-bottom:2rem; }
.blogDetailTxt{ font-size: 12px;}
.blog{
  position: relative;
  margin: 5rem auto;
  width: 80%;
}
.blog-btn{
  margin: 3rem auto 0;
}

.blog-back{
  position: absolute;
  top: 15%;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: -1;
}

@media screen and (max-width: 960px) {
  .blog{
    position: relative;
    margin: 1rem auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .blog-main .webgene-blog{display:flex;  gap:1rem; flex-wrap: wrap; align-items: center;}
  .blog-main .webgene-blog article { width:320px; font-size:clamp(1.5rem, 0.659rem + 0.3vw, 2rem); }
  .blog-main .webgene-blog article > a { padding:10px 10px 1.5rem; display:flex;  gap:1rem; width: fit-content; margin: 0 auto;}
  .blogTextWrap{ width: 100%; max-width: 300px;}
  .news-main .webgene-blog { 
    position: relative;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
     justify-content: flex-start;
    gap: 1rem;
  }
  .news-main .webgene-blog article { width:100%; max-width: 300px; font-size:clamp(1.5rem, 0.659rem + 0.3vw, 2rem); }
  .blog-btn{
    margin: 0 auto;
  }
}

@media screen and (max-width: 600px) {
  .news-main{
    margin: 0 auto;
  }
  .blog-main{
    margin: 0 auto;
  }
  .news-main .webgene-blog { 
    flex-direction: column;
  }
   .blog-main .webgene-blog{
     flex-direction: column;
  }
}