@charset "UTF-8";

body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-weight: 400;
  color: #404040;
}
a {
  color: #404040;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: source-sans-pro, sans-serif;
  font-weight: 700;
  font-style: normal;
}

*:focus {
  outline: none;
}

img {
  max-width: 100%;
  vertical-align: bottom;
  height: auto;
}
li {
  list-style: none;
}

input[type="text"],textarea, input[type="email"] {
	font-size:16px;
	}

.mb0 {margin-bottom: 0px !important;}
.mb10 {margin-bottom: 1rem !important;}
.mb20 {margin-bottom: 2rem !important;}
.mb30 {margin-bottom: 3rem !important;}
.mb40 {margin-bottom: 4rem !important;}
.mb50 {margin-bottom: 5rem !important;}
.mb60 {margin-bottom: 6rem !important;}
.mb70 {margin-bottom: 7rem !important;}
.mb80 {margin-bottom: 8rem !important;}
.mb85 {margin-bottom: 8.5rem !important;}
.mb90 {margin-bottom: 9rem !important;}
.mb100 {margin-bottom: 10rem !important;}
.mb150 {margin-bottom: 15rem !important;}
.mb200 {margin-bottom: 20rem !important;}
.mb220 {margin-bottom: 22rem !important;}
.mb240 {margin-bottom: 24rem !important;}
.mb280 {margin-bottom: 28rem !important;}

.mt10 {margin-top: 1rem !important;}
.mt20 {margin-top: 2rem !important;}
.mt30 {margin-top: 3rem !important;}
.mt50 {margin-top: 5rem !important;}
.mt100 {margin-top: 10rem !important;}
.mt150 {margin-top: 15rem !important;}
.mt200 {margin-top: 20rem !important;}

@media screen and (max-width: 599px) {
	.mb50 {margin-bottom: 2.5rem !important;}
	.mb100 {margin-bottom: 3rem !important;}
	.mb150 {margin-bottom: 7.5rem !important;}
	.mb200 {margin-bottom: 10rem !important;}
	.mb220 {margin-bottom: 14rem !important;}
	.mb240 {margin-bottom: 16rem !important;}
	
  .mt100 {margin-top: 5rem !important;}
	.mt200 {margin-top: 10rem !important;}
}



/* コンテンツ幅を設定するための共通クラス */
.page_inner {
  max-width: 1280px;
  margin: 0 auto;
}
/* MainとFooter全体を囲むクラス */
.container {
  color: #404040;
  font-size: 16px;
}

.pcnon {
	display: none !important;
}


/*-------------------------------------------
ヘッダー
-------------------------------------------*/
.site-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    z-index: 999;
    padding: 50px 30px 0 0;
    position: fixed;
    top: 0;
    width: 100%;
}

.site-header.non {
    padding: 0;
    opacity: 0;
    transition: all 0.5s ease-out;
/*
    position: absolute;
    left: 0;
*/
    
}
.header-change .gnav__menu__item a{
    color: #027319;
    text-decoration: none;
}

.site-header h1 a {
  align-items: center;
  background-color: #5f996a;
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1.8rem;
  display: flex;
  flex-direction: column;
  height: 190px;
  justify-content: center;
  pointer-events: auto;
  text-align: center;
  width: 190px;
}

.site-header h1 a span {
  font-size: 2.4rem;
    margin-top: 0.4rem;
}

.site-header.non h1 a {
  width: 0px;
  height: 0px;
  font-size: 0px;
  transition: all 0.5s ease-out;
}

nav {
  display: flex;
  align-items: center;
  line-height: 1.8rem;
  pointer-events: auto;
  margin-top: -30px;
}

nav ul {
  display: flex;
  align-items: center;
}

nav ul li {
  margin-right: 30px;
}

nav ul li:last-child {
  margin-right: 0px;
}

nav ul li a {
  color: #fff;
  font-weight: bold;
}

.header-change{
    top: -100px;
    opacity: 0;
    position: fixed;
}

.header-change.show{
    top: 0;
    background:rgb(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    transition: .5s;
    width: 100%;
    z-index: 99;
    color: #027319;
    opacity: 1;
}

.header-change.show h1 {
  background-color: #5f996a;
  border-bottom-right-radius: 5px;
  font-size: 1rem;
  line-height: 2.4rem;
  display: flex;
  flex-direction: column;
  height: auto;
  justify-content: center;
  pointer-events: auto;
  text-align: left;
  width: auto;
  padding: 20px;
}

.header-change.show h1 a {
  color: #fff;
}

.header-change.show h1 span {
  margin-right: 10px;
  font-size: 1.2rem;
}

.header-change nav {
  display: flex;
  align-items: center;
  line-height: 1.8rem;
  pointer-events: auto;
  margin-top: 0px;
  margin-right: 30px;
}

.header-change nav ul {
  display: flex;
  align-items: center;
}

.header-change nav ul li {
  margin-right: 30px;
}

.header-change nav ul li:last-child {
  margin-right: 0px;
}

.header-change nav ul li a {
  color: #133063;
  display: block;
}
.header-change nav ul li div {
  padding-bottom: 5px;
}
.header-change nav ul li div a {
  font-family: source-sans-pro, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.4rem;
}

.header-change nav ul li div a span {
  font-size: 1rem;
}
.header-change nav ul li div a:last-child {
  background: linear-gradient(90deg, #027319 0%, #5f996a 100%);
  color: #fff;
  padding: 5px 10px;
  position: relative;
  font-size: 0.9rem;
}

.header-change nav ul li div a:last-child::after {
    content: "";
    background: url(../img/mail.webp);
    position: absolute;
    background-size: cover;
    top: 50%;
    right: 0px;
    width: 30px;
    height: 30px;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
}

.Smpheader {
  display: none;
}

.ttlVideo .fv-contact, .mainTtlBox .fv-contact {
  position: absolute;
  bottom: 10%;
  right: 0;
  padding: 15px 100px 15px 20px;
  background: linear-gradient(90deg, #027319 0%, #5f996a 100%);
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  font-family: source-sans-pro, sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
}

.ttlVideo .fv-contact span, .mainTtlBox .fv-contact span {
  display: block;
  font-size: 0.8rem;
  font-weight: normal;
}

.ttlVideo .fv-contact::after, .mainTtlBox .fv-contact::after {
  content: "";
  background: url(../img/mail.webp);
  width: 40px;
  height: 40px;
  position: absolute;
  right: 15px;
  top: 15px;
  background-size: cover;
}
@media screen and (max-width: 1024px) {
.header-change.show h1 {
  padding: 15px;
}
  .header-change nav {
  margin-right: 15px;
}
.site-header h1 a {
  align-items: center;
  background-color: #027319;
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1.8rem;
  display: flex;
  flex-direction: column;
  height: 170px;
  justify-content: center;
  pointer-events: auto;
  text-align: center;
  width: 170px;
}
}

@media screen and (max-width: 599px) {
  .pcnon {
	display: block !important;
}
  .spnon {
	display: none !important;
}
  .ttlVideo .fv-contact, .mainTtlBox .fv-contact {
  position: fixed;
  bottom: 15%;
  right: 0;
  padding: 10px 45px 10px 10px;
  letter-spacing: 0;
  z-index: 100;
}

.ttlVideo .fv-contact::after, .mainTtlBox .fv-contact::after {
  width: 30px;
  height: 30px;
  right: 10px;
}

  nav {
  margin-top: 0px;
}
  
  nav ul {
  display: block;
  align-items: center;
  width: 100%;
  padding: 10%;
}
  
nav p.menuttl {
  background: #027319;
  font-family: source-sans-pro, sans-serif;
  font-weight: 700;
  font-style: normal;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  font-size: 1rem;
  line-height: 1.4rem;
  display: flex;
  flex-direction: column;
  height: auto;
  justify-content: center;
  pointer-events: auto;
  text-align: left;
  width: auto;
  padding: 10px 20px;
}

nav p.menuttl a {
  color: #fff;
}

nav p.menuttl span {
  margin-right: 10px;
  font-size: 1.2rem;
}

  
  
#g-nav-list .fv-contact {
  background: linear-gradient(90deg, #027319 0%, #5f996a 100%);
    padding: 10px 45px 10px 10px;
    letter-spacing: 0;
  font-family: source-sans-pro, sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #fff;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  position: relative;
  width: 90%;
  margin: 0 auto;
}

#g-nav-list .fv-contact span {
  display: block;
  font-size: 1.2rem;
  font-weight: normal;
}

#g-nav-list .fv-contact::after {
  content: "";
  background: url(../img/mail.webp);
  width: 40px;
  height: 40px;
  position: absolute;
  right: 40px;
  top: 20px;
  background-size: cover;
}
  .menuTel {
    width: 90%;
    margin: 0 auto;
    display: block;
    font-family: source-sans-pro, sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #027319;
    margin-top: 20px;
    font-size: 2rem;
  }
  
  .menuTel span {
    font-size: 1rem;
  }
  /*========= ナビゲーションのためのCSS ===============*/

  .Smpheader {
  display: block;
  position: fixed;
  z-index: 100;
  top: inherit;
  left: 0;
  bottom: 0;
  width: 100%;
}
  
  .Smpheader h1 {
  background: #027319;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  font-size: 1rem;
  line-height: 1.4rem;
  display: flex;
  flex-direction: column;
  height: auto;
  justify-content: center;
  pointer-events: auto;
  text-align: left;
  width: auto;
  padding: 20px;
}

.Smpheader h1 a {
  color: #fff;
}

.Smpheader h1 span {
  margin-right: 10px;
  font-size: 1.2rem;
}
/*アクティブになったエリア*/
#g-nav.panelactive{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
  top: 0;
  width:100%;
    height: 100vh;
}

/*丸の拡大*/
.circle-bg{
    position: fixed;
    z-index:200;
    /*丸の形*/
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    /*丸のスタート位置と形状*/
    transform: scale(0);/*scaleをはじめは0に*/
    right:-50px;
    bottom:-50px;
    transition: all .8s;/*0.6秒かけてアニメーション*/
}

.circle-bg.circleactive{
  transform: scale(50);/*クラスが付与されたらscaleを拡大*/
}

/*ナビゲーションの縦スクロール*/
#g-nav-list{
    display: none;/*はじめは表示なし*/
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list{
     display: block; /*クラスが付与されたら出現*/
}

/*ナビゲーション*/
#g-nav ul {
  opacity: 0;/*はじめは透過0*/
    /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
    z-index: 999;
}

/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
    opacity:1;
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#g-nav.panelactive ul li{
animation-name:gnaviAnime;
animation-duration:1s;
animation-delay:.2s;/*0.2 秒遅らせて出現*/
animation-fill-mode:forwards;
opacity:0;
}
@keyframes gnaviAnime{
0% {
opacity: 0;
}
100% {
opacity: 1;
}

}


/*リストのレイアウト設定*/
#g-nav li{
  list-style: none;
  margin-right: 0px;
  text-align: left;
  border-bottom: 1px solid #027319;
}

#g-nav li a{
  color: #333;
  text-decoration: none;
  padding:20px 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}


/*========= ボタンのためのCSS ===============*/
.openbtn{
  position:fixed;
  bottom: 5px;
  right: 10px;
  z-index: 10000;/*ボタンを最前面に*/
  cursor: pointer;
  width: 50px;
  height:50px;
}
  
/*×に変化*/  
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #fff;
    width: 45%;
  }

.openbtn span:nth-of-type(1) {
  top:15px; 
}

.openbtn span:nth-of-type(2) {
  top:23px;
}

.openbtn span:nth-of-type(3) {
  top:31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
    background-color: #027319;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
    background-color: #027319;
}

}

/*-------------------------------------------
フッター
-------------------------------------------*/
footer {
  background: linear-gradient(90deg, #027319 0%, #5f996a 100%);
  color: #fff;
}

footer a {
  color: #fff;
}
.fooBg {
  max-width: 1280px;
  margin: 0 auto;
}

.sainfoBox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  top: -120px;
}

.saiyoBox {
  width: 48%;
  position: relative;
}

.saiyoBox h3, .infoBox h3 {
  -ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
  font-size: 2.4rem;
  font-weight: bold;
  background: #027319;
  padding: 10px;
  position: absolute;
  top: 0px;
  left: 20px;
  color: #fff;
  line-height: 1.4;
  z-index: 10;
}

.infoBox {
  width: 48%;
  position: relative;
}

.footer {
  display: flex;
  align-items:flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.footer h2 {
  font-size: 1.6rem;
  margin-bottom: 50px;
}

.footer h2 span {
  font-size: 1.2rem;
  display: block;
  margin-top: 20px;
}
.footer .conL p {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer ul li {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer ul li.SmTxt {
  font-size: 0.9rem;
}

p.copy {
  text-align: right;
  font-size: 0.8rem;
  padding-bottom: 5px;
}

@media screen and (max-width: 1024px) {
.fooBg {
  width: 95%;
  max-width: 100%;
}
}

@media screen and (max-width: 599px) {
.sainfoBox {
  display: block;
  top: -120px;
}

.saiyoBox {
  width: 100%;
  position: relative;
  margin-bottom: 20px;
}

.saiyoBox h3, .infoBox h3 {
  -ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
  font-size: 2rem;
  font-weight: bold;
  background: #027319;
  padding: 10px;
  position: absolute;
  top: 0px;
  left: 20px;
  color: #fff;
  line-height: 1.4;
  z-index: 10;
}

.infoBox {
  width: 100%;
  position: relative;
}
  .footer {
  display: block;
  overflow: hidden;
  margin-bottom: 20px;
}

.footer h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.footer h2 span {
  font-size: 1.2rem;
  display: block;
  margin-top: 10px;
}
  .footer .conL {
    margin-bottom: 50px;
  }
.footer .conL p {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 15px;
}
  
  .footer .conM {
    width: 50%;
    float: left;
  }
  .footer .conR {
    width: 50%;
    float: right;
  } 

.footer ul li {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 15px;
}
p.copy {
  text-align: center;
  font-size: 0.6rem;
  padding-bottom: 0px;
  clear: both;
}
  footer {
  padding-bottom: 80px;
}
}

/*-------------------------------------------
画像の縮小
-------------------------------------------*/

.zoomOut img{
	transform: scale(1.1);
	transition: .3s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
}

.zoomOut:hover img{/*hoverした時の変化*/
	transform: scale(1);/*拡大の値を変更したい場合はこの数値を変更*/
}

/*　画像のマスク　*/

.mask{
    display: block;
    line-height: 0;/*行の高さを0にする*/
    overflow: hidden;/*拡大してはみ出る要素を隠す*/
    border-radius: 5px;
}

