@charset "UTF-8";

/* ---------------------------

header

------------------------------ */
header{
  background: var(--lgreen);  
}

/* ハンバーガーメニュー
-------------------------------- */
.hamNav {
  position: relative;
  font-size: 1.6rem;
  display: block;
}

/*.gnavBtn
---------------------------------*/

/*   ボタンタグ設定   */
button.gnavBtn {
  display: block;
  background: #fff;
  border: none;
  width: 6rem;
  height: 6rem;
  border-radius: 3rem;
  color: var(--bgreen);
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  position: fixed;
  top: 1%;
  right: 2%;
  z-index: 99999;
  outline: none;
  transition: 0.5s;
}
/*   ハンバーガーボタン3本線   */
button span.bar {
  display: block;
  width: 2rem;
  height: 0.2rem;
  background-color: var(--bgreen);
  margin: 0.4rem auto;
  transition: 0.3s;
  transform-origin: center;
}
button span.bar:last-child {
  margin-bottom: 0;
}
/*  メニューアクティブ時  */
button.active span.bar {
  width: 2.5rem;
}
button.active .bar1 {
  transform: translateY(0.6rem) rotate(45deg);
}
button.active .bar2 {
  opacity: 0;
}
button.active .bar3 {
  transform: translateY(-0.6rem) rotate(-45deg);
}
button.gnavBtn:hover span {
  opacity: 0.6;
}
button.active.gnavBtn:hover .bar2 {
  opacity: 0;
}

/*------------- .gnavBtn li -------------*/
.hamNav ul {
  background: #fff;
  color: #333;
  width: 100vw;
  height:100vh;
  font-size: 1.4rem;
  font-weight: bold;
  padding: 8rem 2.5rem 0.1rem;
  position: fixed;
  top: 0;
  right: -100vw;
  z-index: 9999;
  transition: 0.5s;
}
.hamNav.active > ul {
  right: 0;
}
.hamNav li {
  border-top: 1px #777 dotted;
}
.hamNav li:last-child {
  border-bottom: none;
}
.hamNav li a {
  display: block;
  line-height: 1;
  padding: 1.8rem 3.5rem 1.8rem 0;
  margin: 0 auto;
  color: #333;
  text-decoration: none;
  transition: 0.5s;
  position: relative;
}
.hamNav li a::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 0.2rem var(--bgreen) solid;
  border-bottom: 0.2rem var(--bgreen) solid;
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: rotate(45deg) translateY(-50%);
}

/* ハンバーガーメニュー内 CTA */
.sp-header-bnr {
  width: 100vw;
  background: var(--green);
  padding: 1rem;
  position: fixed;
  top: 56rem;
  right: -100vw;
  z-index: 999999;
  transition: 0.5s;
}
.hamNav.active + .sp-header-bnr {
  right: 0;
}
.sp-header-bnr ul {
  display: flex;
  justify-content: space-between;
}
.sp-header-bnr li{
  width: 31.5%;
  text-align: center;
  background: #fff;
  border-radius: 1rem;
}
.sp-header-bnr li a{
  display: block;
  padding: 1rem 0 0.5rem;
}
.sp-header-bnr li a img{
  display: block;
  width: 4rem;
  margin: 0 auto;
}
.sp-header-bnr li:nth-child(2) a img{
  width: 4.25rem;
}
.sp-header-bnr li a span{
  display: block;
  font-size: 1rem;
  font-weight: bold;
}
.sp-header-bnr li:last-child a span{
  padding-top: 0.2rem;
  letter-spacing: 0.05em;
  font-size: 1.2rem;
}


/*----------------------------------------------------
タブレット用 414- 
----------------------------------------------------*/
@media screen and (min-width:414px) {

  .sp-header-bnr li a span{
    font-size: 1.2rem;
  }
  .sp-header-bnr li:last-child a span{
    font-size: 1.4rem;
  }

}

/*----------------------------------------------------
タブレット用 750- 
----------------------------------------------------*/
@media screen and (min-width:750px) {

  /* --------------- header --------------- */
  .sp-header-bnr li a img{
    width: 5rem;
  }
  .sp-header-bnr li:nth-child(2) a img{
    width: 5.25rem;
  }
  .sp-header-bnr li a span{
    font-size: 1.4rem;
  }
  .sp-header-bnr li:last-child a span{
    font-size: 1.6rem;
  }

}

/*----------------------------------------------------
PC  1000- 
----------------------------------------------------*/
@media screen and (min-width:1000px) {

/* --------------- header --------------- */
  .hamNav {
    display: none;
  }

  .sp-header {
    display: none;
  }

} 


/* ---------------------------

footer

------------------------------ */

footer {
  background: #fff;
  color: #333;
  font-size: 1.2rem;
  text-align: center;
  padding: 4rem 0 9.5rem;
}

/* --------------- 追従バナー --------------- */
.follow-bnr {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9999;
}
.follow-bnr ul {
  display: flex;
  background: var(--green);
}
.follow-bnr li {
  width: 50%;
}
.follow-bnr li a {
  display: block;
  padding: 1rem 2.5rem 0;
}
.follow-bnr li:nth-child(1) a {
  background: var(--green);
  text-align: right;
}
.follow-bnr li:nth-child(2) a {
  background: var(--red);
}


/* --------------- topに戻るボタン --------------- */
#pageTop a {
  display: none;
}



/*----------------------------------------------------
タブレット用 750- 
----------------------------------------------------*/
@media screen and (min-width:750px) {

  /* --------------- footer --------------- */
  footer {
    padding: 2rem 0 11.5rem;
  }

  /* --------------- 追従バナー --------------- */

  .follow-bnr li a {
    padding: 1rem 5rem 0;
  }

}

/*----------------------------------------------------
タブレット用 750- 
----------------------------------------------------*/
@media screen and (min-width:1000px) {

  /* --------------- topに戻るボタン --------------- */
  #pageTop a{
    display: block;
    width: 8rem;
    height: 8rem;
    position: fixed;
    right: 4rem;
    bottom: 20rem;
    z-index: 9999;
  }

}

/*----------------------------------------------------
PC用 1200- 
----------------------------------------------------*/
@media screen and (min-width:1200px) {

  /* --------------- topに戻るボタン --------------- */
  #pageTop a {
    right: 4rem;
    bottom: 20rem;
  }

}


/*----------------------------------------------------
PC用 1400- 
----------------------------------------------------*/
@media screen and (min-width:1400px) {

  /* --------------- topに戻るボタン --------------- */
  #pageTop a {
    right: 6rem;
    bottom: 26rem;
  }
  

}