@charset "UTF-8";

/*****************************
  pagecommon
*****************************/
.pagehead{
  padding-top: 0px;
  position: relative;
}
.pagehead-bg{
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 400px;
}
.pagehead-bg::before{
  content: "";
  background: linear-gradient(180deg,rgba(0,134,53,0.4),rgba(0,134,53,0));
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media only screen and (max-width: 1180px) {
    
}
@media only screen and (max-width: 1024px) {
    
}
@media only screen and (max-width: 820px) {
    
}
@media only screen and (max-width: 767px) {
  .pagehead-bg{
    height: 300px;
  }
}

/******************************
  ページhead
******************************/
.pagehead-ttl {
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
  font-family: "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
}
.pagehead-ttl h2 {
  font-size: 26px;
  width: 100%;
  line-height: 1;
  letter-spacing: 2px;
}
.pagehead-ttl p {
  font-size: 22px;
  width: 100%;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: 2px;
}
@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 820px) {
}

@media screen and (max-width: 767px) {
  .pagehead-ttl {
  top: 35%;
  left: unset;
  width: 100%;
  padding: 10px;
  transform: translateY(0%) translateX(0%);
}
  .pagehead-ttl h2 {
    font-size: 24px;
    line-height: 1.6;
  }
  .pagehead-ttl p {
    font-size: 20px;
  }
}

/*****************************
  top 汎用SECTION
*****************************/
.top_sec{
  margin: 30px 0;
  padding: 60px 0 60px;
}
.top_sec_shot{
  margin: 30px 0;
  padding: 30px 0 30px;
}
.top_sec_long{
  margin: 30px 0;
  padding: 30px 0 100px;
}
.top_sec_none{
  margin: 0px 0 0px;
  padding: 0px 0 0px;
}
@media screen and (max-width: 820px) {
  .top_sec,.top_sec_shot,.top_sec_long {
    margin: 0px 0;
    padding: 50px 0 50px;
  }
}

/*****************************
  下層 汎用SECTION
*****************************/
.pagesec{
  margin: 0px 0;
  padding: 60px 0 60px;
}
.pagesec_top{
  margin: 30px 0;
  padding: 60px 0 60px;
}
.pagesec_shot{
  margin: 30px 0;
  padding: 30px 0 30px;
}
.pagesec_long{
  margin: 30px 0;
  padding: 30px 0 100px;
}
.pagesec_none{
  margin: 0px 0;
  padding: 0px 0 0px;
}
@media screen and (max-width: 820px) {
  .pagesec,.pagesec_shot,.pagesec_long {
    margin: 0px 0;
    padding: 30px 0 30px;
  }
}
/*****************************
background設定
*****************************/

.bg_glay{
  background: #F5F5F5;
}


/*****************************
 fade-up
*****************************/
.fade-up{
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 1s cubic-bezier(.25,.1,.25,1),
    transform 1s cubic-bezier(.25,.1,.25,1);
}

.fade-up.is-show{
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------
fade-up用 delay
------------------------------------------*/
.animate__delay-01s { transition-delay: 0.1s; }
.animate__delay-02s { transition-delay: 0.2s; }
.animate__delay-03s { transition-delay: 0.3s; }
.animate__delay-04s { transition-delay: 0.4s; }
.animate__delay-05s { transition-delay: 0.5s; }
.animate__delay-06s { transition-delay: 0.6s; }
.animate__delay-07s { transition-delay: 0.7s; }
.animate__delay-08s { transition-delay: 0.8s; }
.animate__delay-09s { transition-delay: 0.9s; }
.animate__delay-10s { transition-delay: 1.0s; }
.animate__delay-11s { transition-delay: 1.1s; }
.animate__delay-12s { transition-delay: 1.2s; }
.animate__delay-13s { transition-delay: 1.3s; }
.animate__delay-14s { transition-delay: 1.4s; }
.animate__delay-15s { transition-delay: 1.5s; }
.animate__delay-16s { transition-delay: 1.6s; }
.animate__delay-17s { transition-delay: 1.7s; }
.animate__delay-18s { transition-delay: 1.8s; }
.animate__delay-19s { transition-delay: 1.9s; }
.animate__delay-20s { transition-delay: 2.0s; }

/*****************************
  プラポリ
*****************************/
.page-privacy{
  margin-top: 60px;
  margin-bottom: 60px;
}
.pagebox{
  width: 100%;
  margin: 10px auto 10px;
}
.page-privacy .pplist .pplist .ppbox{
  margin: 2rem 0;
}

.page-privacy .pplist .ttl{
  border-left: 5px solid #4F9C42;
  color: #4F9C42;
  font-size: 2rem;
  font-weight: bold;
  margin: 5rem 0 2rem;
  padding: 0rem 1.5rem;
  letter-spacing: 1px;
  font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

.page-privacy .pplist .ttl span{
font-size: 3rem;
margin-right: 10px;
}




.page-privacy .pplist .content .add{
  margin-top: 2rem;
}
.page-privacy p,
.page-privacy .pplist .content{
  line-height: 1.8;
}
.page-privacy .pplist .content ul{
  margin-top: 1rem;
  margin-left: 2rem;
}
.page-privacy .pplist .content li{
  list-style: "・";
}
@media only screen and (max-width: 767px) {
  .page-privacy .pplist .ttl{
      font-size: 1.8rem;
  }
  .page-privacy .pplist .ttl span{
      font-size: 2.4rem;
      margin-right: 10px;
}
}

/*****************************
  サイトマップ
*****************************/
.sitemap_m{
margin-bottom: 60px;
}
.sitemaplist {
display:flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
margin-top: 0px;
}
.sitemaplist li {
width: 47%;
list-style: none;
margin: 10px;
}
@media screen and (max-width: 767px) {
.sitemaplist li {
width: 100%;
list-style: none;
}
}
.sitemaplist li a{
display: block;
border: 1px solid;
padding: 10px 20px;
position: relative;
    border-color: #008635;
    color: #008635;
opacity: 1;
}
.sitemaplist li a:hover{
display: block;
border: 1px solid;
padding: 10px 20px;
position: relative;
background: #008635;
color: #fff;
}
.sitemaplist li a::after {
content: ">";
display: block;
position: absolute;
right: 20px;
font-size: 20px;
top: 8px;
color: #008635;
}
.sitemaplist li a:hover::after {
content: ">";
display: block;
position: absolute;
right: 20px;
font-size: 20px;
top: 8px;
color: #fff;
}
.sitemap-current a{
color: #fff !important;
border: 1px solid;
background: #008635;
}
.sitemap-current a::after {
content: ">";
display: block;
position: absolute;
right: 20px;
font-size: 20px;
top: 8px;
color: #fff !important;
}


/*****************************
  フォーム コンタクトフォーム(width: 900px;)
*****************************/

.privacy-link{
  margin-left: 10px;
}
@media screen and (max-width: 767px) {
.privacy-link{
  margin-left: 35px;
  display: block;
}
}

.firsttxt{
  max-width: 900px;
  margin: 10px auto 30px;
}
.ppbox{
  max-width: 900px;
  margin: 10px auto 10px;
}
.formbox{
  max-width: 900px;
  margin: 0 auto;
}
.formbox .fomin{
  background: #008635;
  border-top: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  overflow: hidden;
}
.formbox .fomin:not(:first-of-type){
  border-top: 0;
}
.formbox .fomttl{
  font-weight: bold;
  padding: 0 1rem;
  text-align: left;
  width: 230px;
  color: #fff;
}
.formbox .fomttl span{
background: #EF3647;
  border-radius: 4px;
  color: #fff;
  display: block;
  font-size: 1.2rem;
  line-height: 1;
  padding: 5px 10px;
  display: table;
  margin: 5px 0;
}
.formbox .fomttl span.any{
  background: #004AAB;
  border-radius: 4px;
  color: #fff;
  display: block;
  font-size: 1.2rem;
  line-height: 1;
  padding: 5px 10px;
  display: table;
  margin: 5px 0;
}
.formbox .fomcontent{
  background: #fff;
  padding: 2rem 1rem;
  width: calc(100% - 230px);
}
.formbox .fomcontent span.error{
  background: none;
  margin: 0;
}
.formbox .fomcontent dl{
  margin-bottom: 1rem;
}
.formbox .fomcontent dt{
  width: 145px;
}
.formbox .fomcontent dd{
  margin-left: auto;
  width: calc(100% - 165px);
}
.formbox .input-check{
  text-align: left;
}
.formbox .input-radio .wpcf7-list-item,
.formbox .input-check .wpcf7-list-item{
  display: block;
  margin-right: 1rem;
  margin-left: 0;
}
.input-submit{
  margin: 3rem auto;
  text-align: center;
}
.formtxt{
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem 0 0;
}
.formtxt .inbox{
  margin: 2rem 0;
}
.formtxt .inbox p{
  margin-bottom: 2rem;
}

/* .formbox input,
.formbox textarea,
.formbox select,
.input-submit input{
} */
.formbox .input-txt input,
.formbox .input-num input,
.formbox .input-age input,
.formbox .input-zip input,
.formbox .input-txtarea textarea,
.formbox .input-select select {
  background: #f3f3f3;
  border: 1px solid #9f9f9f;
  border-radius: 3px;
  width: 100%;
}
.formbox .input-age input,
.formbox .input-num input{
  margin-right: 1rem;
  max-width: 100px;
}
.formbox .input-day:first-child{
  margin-bottom: 1rem;
}
.formbox .input-day input{
  width: calc(100% - 145px);
}

.formbox .input-txt input,
.formbox .input-num input,
.formbox .input-age input,
.formbox .input-zip input,
.formbox .input-select select {
  font-size: 1.6rem;
  height: 36px;
  padding: 0 .5rem;
}
.formbox .input-date input{
  margin: .5rem 0;
}
.formbox .input-select select{
  appearance: auto;
}
.formbox .input-txtarea textarea {
  padding: .5em;
}
.formbox .input-add{
  margin-top: 1rem;
}
.formbox .input-zip input{
  margin: 0 1rem;
  width: 100px;
}
.formbox .input-zip .subtxt{
  display: block;
  font-size: 1.4rem;
  margin-top: 10px;
  margin-bottom: -5px;
}

.formbox .input-submit {
  text-align: center;
  margin-top: 2em;
}
.formbox .input-submit div {
  display: inline-block;
  vertical-align: middle;
}
.formbox .input-submit input {
  height: 50px;
  padding: 0 30px;
}
.pagesec-contact{
  position: relative;
}
.pagesec-contact .inner1{
  position: relative;
}
.pagesec-contact .ttlbox1{
  margin-bottom: 2rem;
}
.pagesec-contact .firsttxt{
  margin: 0 auto ;
  max-width: 900px;
  padding: 1rem;
}
.pagesec-contact .firsttxt p{
  font-size: 18px;
}
.pagesec-contact .txtbox{
  margin: 2rem auto ;
  max-width: 900px;
  padding: 1rem;
  position: relative;
}
.pagesec-contact .txtbox .attention{
  color: #A42020;
  font-weight: bold;
  margin-top: -1rem;
}
.pagesec-contact .txtbox .telbox{
  margin-top: 2rem;
}
.pagesec-contact .txtbox .telbox a{
  color: #003da5;
  font-size: 2.4rem;
  font-weight: bold;
}
.pagesec-contact .txtbox .telbox a i{
  margin-right: .3rem;
}
.pagesec-contact .txtbox .telbox p{
  font-weight: bold;
  margin: 0;
}

.pagesec-contact .box{
  margin-top: 2rem;
  position: relative;
  padding-top: 1rem;
}
.pagesec-contact .ppbox{
  margin: 2rem auto;
  max-width: 900px;
}
.pagesec-contact .ppbox a{
  text-decoration: underline;
}
.formblock .lastcheck{
  margin: 0 auto;
  max-width: 900px;
}
.pagesec-contact .wpcf7-spinner {
  margin: 0;
  position: absolute;
  bottom: -4rem;
  left: 50%;
  transform: translateX(-50%);
}
form.sent .formblock,
form .sent-after,
form.sent .fomb{
  display: none;
}
form.sent .sent-after{
  display: block;
  margin: 0 auto 2rem;
  max-width: 900px;
  padding: 1rem;
  position: relative;
  text-align: center;
}
.pagesec-contact .wpcf7 form .wpcf7-response-output{
  margin: 0 auto;
  max-width: 900px;
  padding: 20px;
  text-align: center;
}

.fomb {
  max-width: 300px;
  margin: 2rem auto 0;
}
.fomb input{
  background: #008635;
  border: 1px solid #008635;
  box-shadow: 6px 8px 15px rgb(0 0 0 / 0%);
  color: #fff;
  display: inline-block;
  min-width: 180px;
  opacity: 1 !important;
  padding: .5rem 2rem ;
  position: relative;
  transition: .3s;
}
.fomb:hover input{
  background-color: #fff;
  color: #008635;
}
.fomb input:disabled{
  background: #b5b5b5 !important;
  color: #ebebeb;
  border: 1px solid #b5b5b5;
  box-shadow: 6px 8px 15px rgb(0 0 0 / 30%);
}


@media only screen and (max-width: 1180px) {
  
}
@media only screen and (max-width: 1024px) {
  
}
@media only screen and (max-width: 820px) {

}
@media only screen and (max-width: 768px) {
  
}
@media only screen and (max-width: 767px) {
  .formbox .input-zip .subtxt{
    margin-bottom: 1rem;
    text-align: left;
  }
  .formbox .fomttl {
    padding: 1rem;
    text-align: left;
    width: 100%;
  }
  .formbox .fomcontent{
    padding: 1.5rem 1rem;
    width: 100%;
  }
  .contactlink .fbox{
    margin: .5rem 0;
    width: 100%;
  }
  .formbox .input-age input, .formbox .input-num input {
    margin-right: 1rem;
    max-width: 70px;
  }
  .pagesec-contact .ppbox .formpp h3 {
    font-size: 2.4rem;
  }
  .pagesec-contact .wpcf7 form .wpcf7-response-output{
    margin: 0 auto;
    max-width: 800px;
    padding: 20px;
    text-align: left;
  }
  .pagesec-contact .txtbox,
  form.sent .sent-after{
    text-align: left;
  }

  .formbox .fomcontent dt,
  .formbox .fomcontent dd{
    width: 100%;
  }
  .formbox .input-add {
    margin: 0 0 1rem;
  }
  .pagesec-contact .formlinks li{
    margin: 0 auto;
    width: 80%;
  }
  .pagesec-contact .formlinks li a{
    border: 1px solid #0F2453;
    border-bottom: 0;
  }
  .pagesec-contact .formlinks li:last-of-type{
    border-bottom: 1px solid #0F2453;
  }
}



/* ----------------------------------------
animate.cssカスタム
------------------------------------------*/
.animate__delay-01s {animation-delay: calc(var(--animate-delay) * 0.1);}
.animate__delay-02s {animation-delay: calc(var(--animate-delay) * 0.2);}
.animate__delay-03s {animation-delay: calc(var(--animate-delay) * 0.3);}
.animate__delay-04s {animation-delay: calc(var(--animate-delay) * 0.4);}
.animate__delay-05s {animation-delay: calc(var(--animate-delay) * 0.5);}
.animate__delay-06s {animation-delay: calc(var(--animate-delay) * 0.6);}
.animate__delay-07s {animation-delay: calc(var(--animate-delay) * 0.7);}
.animate__delay-08s {animation-delay: calc(var(--animate-delay) * 0.8);}
.animate__delay-09s {animation-delay: calc(var(--animate-delay) * 0.9);}
.animate__delay-10s {animation-delay: calc(var(--animate-delay) * 1.0);}
.animate__delay-11s {animation-delay: calc(var(--animate-delay) * 1.1);}
.animate__delay-12s {animation-delay: calc(var(--animate-delay) * 1.2);}
.animate__delay-13s {animation-delay: calc(var(--animate-delay) * 1.3);}
.animate__delay-14s {animation-delay: calc(var(--animate-delay) * 1.4);}
.animate__delay-15s {animation-delay: calc(var(--animate-delay) * 1.5);}
.animate__delay-16s {animation-delay: calc(var(--animate-delay) * 1.6);}
.animate__delay-17s {animation-delay: calc(var(--animate-delay) * 1.7);}
.animate__delay-18s {animation-delay: calc(var(--animate-delay) * 1.8);}
.animate__delay-19s {animation-delay: calc(var(--animate-delay) * 1.9);}
.animate__delay-20s {animation-delay: calc(var(--animate-delay) * 2);}

/*****************************
  scroll to TOP
*****************************/

.scroll-top { 
  scroll-behavior: smooth; 
} /* アンカー時なども滑らかに */

.scroll-top{
  position: fixed;
  right: clamp(12px, 2vw, 20px);
  bottom: calc(clamp(12px, 2vw, 20px) + env(safe-area-inset-bottom, 0px));

  /* 変数を直書き */
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  color: #0a4701;

  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.18), 0 2px 5px rgba(0,0,0,.12);
  cursor: pointer;
  z-index: 1000;

  opacity: 0;
  transform: scale(.8);
  transition: opacity .2s ease, transform .2s ease, filter .2s ease;
  pointer-events: none; /* 非表示時はクリックさせない */

  border: 2px solid #0a4701;
}

@media screen and (max-width: 767px) {
  .scroll-top{
    bottom: calc(clamp(80px, 2vw, 20px) + env(safe-area-inset-bottom, 0px));
  }
}

.scroll-top.is-show{
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.scroll-top:hover{ 
  filter: brightness(1.05); 
}

.scroll-top:focus-visible{
  outline: 3px solid #928573;
  outline-offset: 3px;
}

.scroll-top svg{
  width: 24px;
  height: 24px;
}

/* 省エネ設定の人にはアニメ抑制 */
@media (prefers-reduced-motion: reduce){
  .scroll-top{ transition: none; }
  html{ scroll-behavior: auto; }
}


/*****************************
top_standard_flex
*****************************/
.top_standard_flex{
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: flex-start;
align-content: center;
margin-bottom: 30px;
}

.top_standard_flex .left_area{
width: 52%;
margin-right: 3%;
align-items: center;
}
.top_standard_flex .right_area{
width: 45%;
padding: 0px;
}

.top_standard_flex img{
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

@media screen and (max-width: 1024px) {
.top_standard_flex{
  margin-bottom: 50px;
}
.top_standard_flex .left_area{
width: 600px;
max-width: 100%;
margin: 0 auto 30px;
align-items: center;
}
.top_standard_flex .right_area{
width: 100%;
padding: 0px;
}
}

/*****************************
top_standard_flex02
*****************************/

.top_standard_flex02{
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: flex-start;
align-content: center;
margin-bottom: 30px;
}

.top_standard_flex02 .left_area{
width: 45%;
margin-right: 3%;
padding: 0px;
}
.top_standard_flex02 .right_area{
width: 52%;
align-items: center;
}

@media screen and (max-width: 1024px) {
.top_standard_flex02 .left_area{
  width: 100%;
  padding: 0px;
}

.top_standard_flex02 .right_area{
width: 600px;
max-width: 100%;
margin: 0 auto 30px;
align-items: center;
}
}

.top_standard_flex02 img{
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

@media screen and (max-width: 1024px) {
.top_standard_flex02{
  flex-direction: column-reverse;
}
}

/*****************************
new-label
*****************************/
.date {
  display: flex;
  vertical-align: middle;
  font-size: 14px;
  color: #777;
  width: 100%;
  line-height: 1.8;
  align-items: center;
  justify-content: flex-start;
}
.new-label {
    font-size: 12px;
    vertical-align: inherit;
    background: #EF3647;
    color: #fff;
    font-weight: bold;
    margin-right: 5px;
    text-align: center;
    display: inline-block;
    width: 45px;
    align-content: center;
    line-height: 1.8;
}


/******************************
Googlemap レスポンシブ
******************************/
.gmap {
    height: 0;
    overflow: hidden;
    padding-bottom: 35%;
    position: relative;
    }
@media screen and (max-width: 1024px) {
.gmap {
padding-bottom: 45%;
  }
}    
@media screen and (max-width: 767px) {
.gmap {
padding-bottom: 80%;
  }
}
    .gmap iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    }

.gmap_link{
    color: #551a8b;
    text-decoration: underline;
    font-size: 14px;
    font-weight: 400;
}


/******************************
経営理念
******************************/

.philosophy-box{
  margin-top: 60px;
}

.philosophy-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
}

.philosophy-list li{
  position: relative;
  width: min(800px, 100%);
  margin: 0 auto;
  background: #fff;
  border: 1px solid #d6d6d6;
  border-left: 8px solid #008a34;
  padding: 15px 28px 15px 62px;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.6;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
  font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

.philosophy-list li::before{
  content: "■";
  position: absolute;
  left: 28px;
  top: 19px;
  color: #008a34;
  font-size: 1.4rem;
}

@media screen and (max-width: 767px){

  .philosophy-box{
    margin-top: 40px;
  }

  .philosophy-list{
    gap: 14px;
  }

  .philosophy-list li{
    padding: 18px 18px 18px 48px;
    font-size: 1.6rem;
  }

  .philosophy-list li::before{
    left: 20px;
    top: 19px;
  }

}


/******************************
沿革
******************************/

.history-area{
  margin-top: 70px;
}

.history-list{
  position: relative;
  padding: 0 0 0 180px;
}

.history-list::before{
  content: "";
  position: absolute;
  top: 8px;
  bottom: 0;
  left: 150px;
  width: 2px;
  background: #008a34;
}

.history-item{
  position: relative;
  margin-bottom: 34px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.history-item.is-show{
  opacity: 1;
  transform: translateY(0);
}

.history-item::before{
  content: "";
  position: absolute;
  left: -36px;
  top: 12px;
  width: 14px;
  height: 14px;
  background: #008a34;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 6px #fff;
  transition: transform .35s ease, box-shadow .35s ease;
}

.history-item.is-show::before{
  animation: historyPulse 1.4s ease;
}

.history-year{
  position: absolute;
  left: -150px;
  top: -8px;
  font-size: 3rem;
  font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  line-height: 1;
  color: #555;
  letter-spacing: .03em;
}

.history-content{
  position: relative;
  font-size: 1.6rem;
  line-height: 2;
  color: #333;
  padding-left: 25px;
  max-width: 760px;
  top: 20px;
}

.history-content::before{
  content: "■";
  position: absolute;
  left: 0;
  top: 0;
  color: #333;
  font-size: 1.6rem;
}

@keyframes historyPulse{
  0%{
    transform: scale(1);
    box-shadow: 0 0 0 6px #fff, 0 0 0 0 rgba(0,138,52,.35);
  }
  70%{
    transform: scale(1.15);
    box-shadow: 0 0 0 6px #fff, 0 0 0 12px rgba(0,138,52,0);
  }
  100%{
    transform: scale(1);
    box-shadow: 0 0 0 6px #fff, 0 0 0 0 rgba(0,138,52,0);
  }
}

/* =================================
SP
================================= */
@media screen and (max-width: 767px){

  .history-area{
    margin-top: 45px;
  }

  .history-list{
    padding-left: 82px;
  }

  .history-list::before{
    left: 62px;
  }

  .history-item{
    display: block;
    margin-bottom: 30px;
  }

  .history-item::before{
    left: -26px;
    top: 12px;
    width: 12px;
    height: 12px;
  }

  .history-year{
    left: -82px;
    top: -10px;
    font-size: 1.6rem;
  }

  .history-content{
    font-size: 1.4rem;
    line-height: 1.9;
    padding-left: 16px;
  }

  .history-content br{
    display: none;
  }

}

/******************************
コンタクトページ
******************************/

/* =========================
ページ途中 TEL
========================= */

.mid-tel-box{
  background: #f7f7f7;
  padding: 30px 20px;
  text-align: center;
  margin: 40px auto;
}

.mid-tel-box__lead{
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.mid-tel-box__tel{
  position: relative;
  display: inline-block;
  padding-left: 55px;
  line-height: 1;
}

.mid-tel-box__tel::before{
    position: absolute;
    content: "";
    background-image: url(../images/common/top_contact_icon.webp);
    background-repeat: no-repeat;
    display: inline-block;
    background-size: cover;
    width: 40px;
    aspect-ratio: 1 / 1;
    left: 0px;
    top: 11px;
}

.mid-tel-box__tel a{
  font-size: 50px;
  line-height: 1.2;
  letter-spacing: 2px;
  color: #0A4701;
  text-decoration: none;
    font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

.mid-tel-box__time{
  font-size: 18px;
  color: #8a8a8a;
  line-height: 1.7;
  letter-spacing: 0.12em;
}

/* =========================
SP
========================= */

@media screen and (max-width: 767px){
  .mid-tel-box{
        padding: 15px 15px;
        margin: 10px auto 50px;
  }

  .mid-tel-box__lead{
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.4;
  }

  .mid-tel-box__tel{
    padding-left: 36px;
    margin-bottom: 5px;
  }

  .mid-tel-box__tel::before{
    width: 28px;
    top: 5px;
  }

  .mid-tel-box__tel a{
    font-size: 34px;
    letter-spacing: 0.04em;
  }

  .mid-tel-box__time{
    font-size: 14px;
    line-height: 1.6;
  }

}

/******************************
1日の流れ　タブ切り替え
******************************/

.schedule-tabs-wrap {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.schedule-tabs {
  display: flex;
  border-bottom: 2px solid #008a34;
}

.schedule-tab {
  min-width: 180px;
  padding: 12px 20px;
  border: 1px solid #008a34;
  border-bottom: none;
  background: #008a34;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
}

.schedule-tab + .schedule-tab {
  margin-left: 2px;
}

.schedule-tab.is-active {
  background: #012f18;
  border-color: #012f18;
}

.schedule-panels {
  padding: 40px 30px 50px;
  background: #fff;
}

.schedule-panel {
  display: none;
}

.schedule-panel.is-active {
  display: block;
}

.schedule-timeline {
  position: relative;
}

.schedule-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: start;
  position: relative;
}

.schedule-item + .schedule-item {
  margin-top: 22px;
}

.schedule-time {
  position: relative;
  padding-top: 6px;
  padding-right: 16px;
  text-align: right;
  font-family: serif;
  font-size: 22px;
  line-height: 1.2;
  color: #333;
  height: 100%;
  font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

.schedule-time::after {
  content: "";
  position: absolute;
  top: 40px;
  right: 46px;
  width: 2px;
  height: 80%;
  background: #008a34;
}

.schedule-card {
  position: relative;
  min-height: 68px;
  padding: 12px 24px 12px 32px;
  border: 1px solid #9f9f9f;
  background: #fff;
}

.schedule-card::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -9px;
  width: 16px;
  height: 22px;
  background: #fff;
  border-left: 1px solid #9f9f9f;
  border-bottom: 1px solid #9f9f9f;
  transform: skewX(-35deg);
}

.schedule-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 1px;
}

.schedule-card__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

@media screen and (max-width: 767px) {
  .schedule-tabs {
    overflow-x: auto;
    white-space: nowrap;
  }

  .schedule-tab {
    min-width: unset;
    padding: 10px 20px;
    font-size: 14px;
  }

  .schedule-panels {
    padding: 25px 15px 25px;
  }

  .schedule-item {
    grid-template-columns: 70px 1fr;
  }

  .schedule-time {
    font-size: 18px;
    padding-right: 15px;;
  }

  .schedule-time::after {
    top: 30px;
    right: 39px;
  }

  .schedule-card {
    padding: 16px 16px 16px 16px;
  }

  .schedule-card__title {
    font-size: 16px;
  }

  .schedule-card__text {
    font-size: 14px;
  }
}

/******************************
募集要項　タブ切り替え
******************************/

.job-tabs-wrap{
  max-width: 1000px;
  margin: 0 auto;
}

.job-tabs{
  display: flex;
}

.job-tab{
    min-width: 180px;
    padding: 12px 20px;
    border: 1px solid #008a34;
    border-bottom: none;
    background: #008a34;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
}
.job-tab + .job-tab {
    margin-left: 2px;
}

.job-tab.is-active{
  background: #012f18;
  border-color: #012f18;
}

.job-panels{
  padding: 40px 30px 50px;
  background: #fff;
}

.job-panel{
  display: none;
}

.job-panel.is-active{
  display: block;
}

.job-table{
  width: 100%;
}

.job-row{
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px dotted #999;
}

.job-heading{
    padding: 20px 10px;
    font-size: 16px;
    line-height: 1.6;
}

.job-content{
    padding: 20px 10px;
    font-size: 16px;
    line-height: 1.6;
}

@media screen and (max-width: 767px){

  .job-tabs{
    overflow-x: auto;
    white-space: nowrap;
  }

  .job-tab{
    min-width: unset;
    padding: 10px 20px;
    font-size: 14px;
  }

  .job-row{
    grid-template-columns: 1fr;
  }

  .job-heading{
    font-weight: bold;
    background: #f5f5f5;
    padding: 10px 10px;
  }

  .job-panels {
  padding: 25px 15px 25px;
}

}


/******************************
  フロー図
******************************/

.flow-step {
  width: 100%;
  overflow-x: auto;
  padding: 20px 0 10px;
}

.flow-step__list {
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: flex-start;
  justify-content: center;
}

.flow-step__item {
  position: relative;
  min-width: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-step__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -28px;
  width: 28px;
  height: 17px;
  background: #014322;
  clip-path: polygon(0 0, 68% 0, 100% 50%, 68% 100%, 0 100%);
}

.flow-step__icon {
  width: 45px;
  height: 45px;
  margin-bottom: 0px;
  background: #fff;
  /* border: 1px solid #9fc8aa; */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.flow-step__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.flow-step__box {
  width: 100%;
  min-height: 300px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 5px 14px;
  border: 1px solid #014322;
  /* background: linear-gradient(135deg, #008635 0%, #167c43 45%, #014322 100%); */
}

.flow-step__box p {
  margin: 0;
  color: #014322;
font-size: 18px;
line-height: 1.8;
letter-spacing: 0.4em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-weight: 500;
  font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

/******************************
  SP
******************************/

@media screen and (max-width: 767px) {

.flow-step {
  overflow-x: visible;
  padding: 10px 0;
}

.flow-step__list {
  display: block;
}

.flow-step__item {
  flex-direction: row;
  align-items: stretch;
  min-width: 0;
  margin-bottom: 34px;
}

.flow-step__item:last-child {
  margin-bottom: 0;
}

.flow-step__item:not(:last-child)::after {
  top: auto;
  right: auto;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  width: 40px;
  height: 30px;
  clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 100%, 0 50%);
}

.flow-step__icon {
  width: 44px;
  height: auto;
  min-height: 50px;
  margin: 0;
  border-right: none;
  flex-shrink: 0;
}

.flow-step__icon img {
  width: 38px;
  height: 38px;
}

.flow-step__box {
  min-height: 50px;
padding: 10px 18px;
  align-items: center;
  justify-content: flex-start;
}

.flow-step__box p {
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

}

/******************************
  施工紹介
******************************/

.construction-intro {
  display: flex;
  align-items: flex-start;
  gap: 45px;
}

.construction-intro__photos {
  width: 44%;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.construction-intro__photo {
  margin: 0;
}

.construction-intro__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.construction-intro__photo figcaption {
    margin-top: 5px;
    font-size: 18px;
    line-height: 1.6;
}

.construction-intro__text {
  width: 56%;
}

.construction-intro__text p {
    font-size: 16px;
    line-height: 2;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.construction-intro__text h3 {
font-size: 22px;
  font-weight: bold;
  line-height: 1.6;
  letter-spacing: 1px;
  margin-bottom: 5px;
  font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  color: #008a34;
}
@media screen and (max-width: 767px) {
.construction-intro__text h3 {
font-size: 18px;
}
}


.construction-intro__text p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 820px) {

.construction-intro {
  flex-direction: column;
  gap: 30px;
}

.construction-intro__photos {
  width: min(400px, 100%);
  margin: 0 auto;
}
.construction-intro__text {
  width: 100%;
}

.construction-intro__photos {
  gap: 24px;
}

.construction-intro__text p {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 24px;
}

}

@media screen and (max-width: 480px) {

.construction-intro {
  gap: 24px;
}

.construction-intro__photo figcaption {
  font-size: 16px;
}

.construction-intro__text p {
  line-height: 1.8;
}

}


/******************************
  アコーディオンメニュー追加
******************************/
.nav-business {
  position: relative;
}

.nav-business-sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .25s ease;
  z-index: 100;
}
@media screen and (max-width: 1024px) {
  .nav-business-sub {
    transition: none !important;
  }
}

.nav-business:hover .nav-business-sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-business-sub li {
  margin: 0;
  background: #fff;
  border: 1px solid #dcdcdc;
}

.nav-business-sub li a {
  display: block;
  padding: 12px 10px 12px 30px;
  color: #333;
  font-size: 14px;
  line-height: 1.2;
  background: #fff;
  transition: .2s ease;
}

.nav-business-sub li a:hover {
  background: #008635;
  color: #fff;
}
.cmnhead.on .nav-business-sub li a:hover {
  background: #008635;
  color: #fff;
}

/* =========================
SP・タブレット時
事業一覧 子メニュー常時表示
========================= */
@media screen and (max-width: 1024px) {

  .cmnnav.active .nav-business-sub {
    display: block !important;
    position: static !important;
    width: 100%;
    margin: 10px 0 0;
    padding: 0;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    transform: none !important;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .cmnnav.active .nav-business-sub li {
    display: block !important;
    width: 100%;
    height: auto !important;
    margin: 0 0 8px;
    padding: 0;
    opacity: 1 !important;
    visibility: visible !important;
  }

  
  .cmnnav.active .nav-business-sub li a {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 42px;
    padding: 0.8rem 1rem;

    background: #E7EFEB !important;
    color: #333 !important;
    border: 1px solid rgba(255,255,255,.45);

    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    text-align: center;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    margin: 0rem 0;
  }

    .cmnnav.active .nav-business-sub li a:hover, .cmnnav.active .nav-business-sub li.nowpage a{
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 42px;
    padding: 0.8rem 1rem;

    background: #012f18 !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.45);

    line-height: 1.5;
    text-align: center;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    margin: 0rem 0;
  }

}

@media screen and (max-width: 1024px) {

  .nav-business {
    position: relative;
    z-index: 20;
  }

  .nav-business > a {
    position: relative;
    z-index: 1;
  }

  .nav-business-sub {
    position: relative !important;
    z-index: 30 !important;
    pointer-events: auto !important;
  }

  .nav-business-sub li,
  .nav-business-sub li a {
    position: relative;
    z-index: 31;
    pointer-events: auto !important;
  }

}

/* ----------------------------------------
投稿ギャラリー
------------------------------------------*/
.single-gallery {
  margin-top: 60px;
}
.single-gallery__title {
  margin: 0 0 25px;
  font-size: 24px;
}
.single-gallery__list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.single-gallery__item {
  width: calc((100% - 40px) / 3);
}
.single-gallery__button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
}
.single-gallery__button img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .3s;
}
.single-gallery__button:hover img {
  transform: scale(1.05);
}
.single-gallery__text {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.7;
}

/* ----------------------------------------
ギャラリー拡大表示
------------------------------------------*/
.single-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 70px 80px 40px;
  background: rgba(0, 0, 0, .9);
}
.single-gallery-modal.is-open {
  display: flex;
}
.single-gallery-modal__image {
  max-width: 100%;
  max-height: 100%;
  text-align: center;
}
.single-gallery-modal__image img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 190px);
  width: auto;
  height: auto;
  margin: auto;
  object-fit: contain;
}
.single-gallery-modal__text {
  margin: 15px 0 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.7;
  white-space: pre-line;
}
.single-gallery-modal__text:empty {
  display: none;
}
.single-gallery-modal__count {
  margin: 8px 0 0;
  color: #fff;
  font-size: 16px;
}
.single-gallery-modal__close,
.single-gallery-modal__prev,
.single-gallery-modal__next {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}
.single-gallery-modal__close {
  top: 18px;
  right: 25px;
  width: 44px;
  height: 44px;
  font-size: 42px;
}
.single-gallery-modal__prev,
.single-gallery-modal__next {
  top: 50%;
  width: 50px;
  height: 70px;
  transform: translateY(-50%);
  font-size: 60px;
}
.single-gallery-modal__prev {
  left: 15px;
}
.single-gallery-modal__next {
  right: 15px;
}

@media only screen and (max-width: 767px) {
  .single-gallery {
    margin-top: 40px;
  }
  .single-gallery__title {
    font-size: 20px;
  }
  .single-gallery__list {
    gap: 10px;
  }
  .single-gallery__item {
    width: calc((100% - 10px) / 2);
  }
  .single-gallery__text {
    font-size: 14px;
  }
  .single-gallery-modal {
    padding: 65px 45px 35px;
  }
  .single-gallery-modal__image img {
    max-height: calc(100vh - 180px);
  }
  .single-gallery-modal__text,
  .single-gallery-modal__count {
    font-size: 14px;
  }
  .single-gallery-modal__prev,
  .single-gallery-modal__next {
    width: 40px;
    font-size: 45px;
  }
  .single-gallery-modal__prev {
    left: 2px;
  }
  .single-gallery-modal__next {
    right: 2px;
  }
}