body {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.wrapper {
  overflow: hidden;
}

/****************************        下部メニュー         **********************************/
#sp-fixed-menu{
  position: fixed;
  width: 100%;
  bottom: 0px;
  font-size: 0;
  /* opacity: 0.9; */
  z-index: 99;
}

/*メニューを横並びにする*/
#sp-fixed-menu ul{
  display: flex;
  list-style: none;
  padding:0;
  margin:0;
  width:100%;
}

#sp-fixed-menu li{
  justify-content: center;
  align-items: center;
  /* width: 50%; */
  width: 100%;
  padding: 0;
  margin:0;
  /* font-size: 20px; */
}

/*左側メニューを緑色に*/
/* #sp-fixed-menu li:first-child{
  background: #38b435;
} */

/*左側メニューをオレンジ色に*/
/* #sp-fixed-menu li:last-child{
  background: #f3a324;
} */

/*ボタンを調整*/
#sp-fixed-menu li a{
  color: #fff;
  text-align: center;
  display:block;
  width: 100%;

  /* padding:20px 0; */
  padding: 0;
}

#sp-fixed-menu img {
  width: 100%;
  object-fit: contain;

}

#sp-fixed-menu li a img {
  width: 100%;
  object-fit: contain;
}

.title-frame {
  width: 100%;
  max-width: 200px;
  display: block;
  margin: auto;
  margin-top: -40px;
}

.fadein {
  /* 最初は非表示 */
  transform: translateY(30px);
  opacity: 0;
  visibility: hidden;
  transition: transform 1s, opacity 1s, visibility 1s;
}

/* フェードイン時に入るクラス */
.is-fadein {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

/* SHUTTER ANIMATION */
.shutter{
  width: 100%;
  height: 100%;
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  margin: auto;
  background-color:#fff;
  z-index:99;
  -webkit-animation: byeShutter 3.5s forwards;
  animation: byeShutter 3.5s forwards;
}
.shutter-logo {
  width: 300px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  -webkit-animation: logo 0.8s forwards;
  animation: logo 0.8s forwards;
  animation-delay: 0.2s;
}
@keyframes byeShutter {
  50% {
    opacity: 1;
  }
  100% {
    display: none;
    opacity: 0;
    z-index: -1;
  }
}
@keyframes logo {
  0% {
    opacity: 1;
  }
  50% {
    transform: rotate(10deg);     
  }
  100% {
    transform: scale(0.8);
  }
}
/* END SHUTTER ANIMATION */

/* HAMBURGER */
#hamburger {
  display: none;
}

#toggle {
  position: fixed;
  top: 30px;
  right: 30px;
}

#toggle-box {
  position: relative;
  width: 50px;
  height: 40px;
  cursor: pointer;
}

#toggle-box > span {
width: 100%;
height: 1px;
left: 0;
display: block;
background: #000;
position: absolute;
transition: transform .6s ease-in-out, top .5s ease, bottom .5s ease;
}

#toggle-box > span:nth-child(1) {
  top: 0;
}
#toggle-box > span:nth-child(2) {
  top: 50%;
  transform: translatey(-50%);
}
#toggle-box > span:nth-child(3) {
  bottom: 0;
}

#toggle {
  z-index: 1000;
}

#nav-content {
  z-index: 900;
  overflow-x: hidden;
  width: 50%;
  height: 100%;
  /* color: #00256A; */
  background: #8DBE53;
  position: relative;
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  transition:  transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
  text-align: center;
}


#nav-content ul {
list-style: none;
display: block;
position: absolute;
/* top: 10%; */
top: 15%;
left: 8%;
padding-left: 10px;
width: 80%;
line-height: 2.5em;
}

#nav-content ul li {
  width: 100%;
  border-bottom: 1px solid #fff;  
  padding: 25px 0;
}

#nav-content ul li a {
  display: block;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  color: #fff;
}

#nav-content ul li a span {
  display: block;
  line-height: 1rem;
  font-size: .8rem;
}

#nav-content a:hover {
opacity: 0.6;
}

.is-open {
  overflow: hidden;
}

.is-open #toggle-box > span {
  background: #fff;
}

.is-open #toggle-box > span:nth-child(1) {
top: 50%;
transform: rotate(45deg) translatey(-50%);
}

.is-open #toggle-box > span:nth-child(2) {
width: 0;
}

.is-open #toggle-box > span:nth-child(3) {
top: 50%;
transform: rotate(-45deg) translatey(-50%);
}

.is-open #nav-content {
z-index: 999;
transform: translateX(0);
width: 100%;
}


/* SM */
@media(max-width:519px){
  #hamburger {
    display: block;
  }

 .header-top .gnav{
    display: none;
  }
}

/*PCの場合にはメニューを表示させない*/
@media (min-width: 768px) {
  .for-sp{
     display:none;
   }
}

@media(max-width:300px) {
  #toggle-box {
    width: 35px;
    height: 25px;
  }

  #nav-content ul li {
    padding: 15px 0;
  
  }

  #nav-content ul li a {
    font-size: 1.1em;
  }

}


/* END HAMBURGER */



/* HEADER */
header{
  display: flex;
  align-items: center; 
  position: fixed;
  z-index: 999;
  width: 100%;
  box-sizing: border-box;
  /* background: #fff; */
  background: rgba(255, 255, 255, .7);
  height: 70px;

}

.header-top {
  width: 100%;
  /* height: 100px; */
  /* padding: 10px 0; */
  /* margin: auto; */
  display: flex;
  justify-content: space-around;
}

.header-top .logo {
  /* width: 10%; */
  height: 70px;
  object-fit: contain;
  margin: 0 20px;
}


/*********************************** ナビメニュー用CSS  ***********************************/
.gnav {
  /* margin-left: auto; */
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: flex-end;
}

.gnav img {
  width: 100%;
  object-fit: contain;
  vertical-align: middle;
}

.gnav ul {
  display: flex; /* li要素を横並びにする */
  align-items: center;
  width: 80%;
  margin: 0 10px;
}

.gnav li {
  /* list-style-type: none; */
  text-align: center;
  width: calc(100%/5);
  list-style: none;
}

.gnav a {
  color: #333333;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  border-bottom: 1px solid #333;
}

.gnav a span {
  display: block;
  font-size: .7em;
}

/* .gnav li:nth-child(5) {
  background-color: #8DBE53;
}

.gnav li:nth-child(5) a {
  font-size: 1em;
  color: #fff;
} */

/*********************************** ナビメニュー用CSS  ***********************************/

/*スクロールダウン全体の場所*/
.scrolldown1{
  /*描画位置※位置は適宜調整してください*/
position:absolute;
left:50%;
bottom:10px;
  /*全体の高さ*/
height:50px;
font-weight: bolder;
}

/*Scrollテキストの描写*/
.scrolldown1 span{
  /*描画位置*/
position: absolute;
left:-15px;
top: -15px;
  /*テキストの形状*/
/* color: #eee; */
color: #333;
font-size: 0.7rem;
letter-spacing: 0.05em;
}

/* .scrolldown1 span img {
  width: 100%;
  margin-top: -30px;
  margin-bottom: 5px;
} */

/* 線の描写 */
.scrolldown1::after{
content: "";
  /*描画位置*/
position: absolute;
top: 0;
  /*線の形状*/
width: 1px;
height: 30px;
/* background: #eee; */
background: #333;
  /*線の動き1.4秒かけて動く。永遠にループ*/
animation: pathmove 1.4s ease-in-out infinite;
opacity:0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
0%{
  height:0;
  top:0;
  opacity: 0;
}
30%{
  height:30px;
  opacity: 1;
}
100%{
  height:0;
  top:50px;
  opacity: 0;
}
}

/****************************レスポンシブ CSS（header/nav） ***********************************/
@media(max-width:1024px)  {


.header-top .logo {
  width: 100%;
  height: 70px;
  max-width: 200px;
  object-fit: contain;
}

  .gnav ul {
    padding: 0;
    width: 80%;
  }

  .gnav a {
    font-size: .8em;
  }

}

@media(max-width:834px) {

  .gnav a {
    font-size: .7em;
  }

  .gnav ul {
    width: 90%;
  }



}

@media(max-width:820px) {

}

@media(max-width:768px) {

}

@media(max-width:519px) {

  header {
    height: 90px;
  }

  .header-top .logo {
    margin-right: auto;
  }

  .scrolldown1{
  bottom:0;
  }

  .scrolldown1 span{
  top: -10px;
  color: #333;
  }

  .scrolldown1::after{
    top: 55px;
    height: 20px;
    background: #333;
    }

}

@media(max-width:300px) {
  header{
    height: 70px;
  }

  .header-top .logo {
    max-width: 130px;
  }

}


/* END HEADER */

/* TOP-TEXT */

.top-contents {
  width: 100%;
  margin-top: 70px;
  text-align: center;
}

.top-contents2 {
  width: 100%;
  display: flex;
}

.top-img {
  width: 80%;
  height: 80vh;
  margin: auto;
}

.top-text {
  width: 60%;
}

.top-text2 {
  width: 90%;
  margin: auto;
}

.top-text2 h2 {
  font-size: 2.5vw;
  font-weight: 600;
  line-height: 1.42;
  padding-bottom: 1.8vw;
  font-family: ’游明朝’, YuMincho, "’ヒラギノ明朝 ProN W3’", "’Hiragino Mincho ProN’", "’ＭＳ Ｐ明朝’", "’ＭＳ 明朝’", serif;
}

.top-text2 h3 {
  color: #333333;
  font-size: 1.34vw;
  font-weight: 600;
  padding-top: 2.1vw;
  font-family: ’游明朝’, YuMincho, "’ヒラギノ明朝 ProN W3’", "’Hiragino Mincho ProN’", "’ＭＳ Ｐ明朝’", "’ＭＳ 明朝’", serif;
}

.top-text3 ul {
  padding-top: 1vw;
  padding-bottom: 2vw;
  font-weight: 500;
  color: #333333;
}

.top-text3 li {
  font-size: 1.15vw;
  /* background: url(img/check.png) no-repeat left; */
  background-size: 5%;
  /* padding-left: 2vw; */
  text-align: left;
}

.top-contents a {
  font-size: 1em;
  font-weight: bold;
  color: #fff;
  background-color: #8DBE53;
  padding: 20px;
  width: 100%;
  max-width: 220px;
  display: block;
  margin: 30px auto;
  text-align: center;
  text-decoration: none;
  border-radius: 1000px;
}



/****************************レスポンシブ CSS（top-text） ***********************************/

  @media(max-width:1024px) {
    .top-contents2 {
      width: 95%;
      margin: auto;
    }

    .top-img {
      width: 70%;
      height: 30vh;
      margin: auto;
    }
    

  }

    @media(max-width:834px) {

      .top-contents2 img {
        width: 60%;
      }
    
    
  }

  @media(max-width:768px) {
    

  }

  @media(max-width:519px) {

    .top-contents {
      margin-top: 150px;
    }

    .top-contents2 {
      display: block;
    }

    .top-text {
      width: 95%;
      margin: auto;
    }

    .top-text2 h2 {
      font-size: 7.7vw;
      padding-bottom: 1vw;
    }

    .top-text2 h3 {
      font-size: 5.34vw;
      padding-top: 0;
    }

    .top-text3 li {
      font-size: 4.15vw;
      padding-left: .5vw;
    }

    .top-contents2 img {
      width: 90%;
    }

    .top-img {
      width: 90%;
    }
    
  }

  @media(max-width:300px) {
    .top-contents a {
      font-size: .8em;
      padding: 15px 20px;
      max-width: 150px;
    }

  }

/* END TOP-TEXT */


/* CONTENTS */
.contents-container {
  margin: 70px 0;
}

.content {
  list-style: none;
  width: 400px;
  height: 300px;
  margin: 5px;
  object-fit: contain;
}
.content:nth-child(1) {
  background: url(img/timg1.jpg);
  background-size: cover;
  background-position: center;
}

.content:nth-child(2) {
  background: url(img/timg2.jpg);
  background-size: cover;
  background-position: center;
}
.content:nth-child(3) {
  background: url(img/timg3.jpg);
  background-size: cover;
  background-position: center;
}

.content:nth-child(4) {
  background: url(img/timg4.jpg);
  background-size: cover;
  background-position: center;
}

/* .content:nth-child(5) {
  background: url(img/slide5.jpg);
  background-size: cover;
  background-position: center;
} */

.slideshow {
  display: flex;
  padding: 0;
  animation: loop-slide 70s infinite linear .5s both;
}

.wrap {
  display: flex;
  align-items: center;
  overflow: hidden;

}

@keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* 左からループスライド */
/* @keyframes infinity-scroll-right {
  from {
    transform: translateX(-100%);
  }
    to {
    transform: translateX(0%);
  }
  }
  .scroll-infinity__list--right{
    animation :infinity-scroll-right 80s infinite linear 0.5s both;
  } */
  /*  */

@media(max-width:834px) {
  .content {
    list-style: none;
    width: 200px;
    height: 150px;
    margin: 5px;
    object-fit: contain;
  }

}

@media(max-width: 519px) {
  .contents-container {
    margin: 50px 0 30px 0;
  }

}

@media(max-width: 300px) {

  .content {
    height: 200px;
  }

}

/* END CONTENTS */

.parallax_box {
  height: 100vh;
  padding: 100px 0;
 
}

.img_bg_01{
  position: relative;
  height: 80vh;
  background-image: url(img/timg1.jpg);
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
}

.img_bg_01::after {
  content: "";
  background: rgba(0,0,0,.5);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

}

.contents-text {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 50%;
  z-index: 1;
  color: #fff;
}

.contents-text h2 {
  font-size: 2.2em;
  font-family: ’游明朝’, YuMincho, "’ヒラギノ明朝 ProN W3’", "’Hiragino Mincho ProN’", "’ＭＳ Ｐ明朝’", "’ＭＳ 明朝’", serif;
  font-weight: normal;
}

.contents-text h2 span {
  display: block;
}

.contents-text p {
  line-height: 3em;
  margin-top: 50px;
}

@media(max-width:1024px) {
  .parallax_box {
    height: 40vh;
  }

  .contents-text {
    width: 70%;
  }
  
}

@media(max-width:834px) {
  .parallax_box {
    height: 50vh;
  }

  .contents-text {
    position: absolute;
    top: 3%;
    left: 5%;
    width: 80%;
    z-index: 1;
    color: #fff;
  }


}

@media(max-width:768px) {
  .contents-text {
    width: 90%;
  }

}

@media(max-width: 519px) {
  .parallax_box {
    height: 70vh;
  }

  .contents-text h2 {
    font-size: 1.3em;
  }
  
  .contents-text p {
    line-height: 2.1em;
    margin-top: 10px;
  }

}

@media(max-width: 300px) {
  .contents-text h2 {
    font-size: 1em;
  }

  .contents-text p {
    font-size: .8rem;
  }

}

/* CONTENTS1 */

.contents1 {
  padding-bottom: 80px;
}

.contents1-container {
  /* background-color: rgb(251,249,244); */
  padding: 30px;
  margin: 50px 200px 0 200px;
}

.contents1-title {
  margin: 30px 0;
}

.contents1-title h2 {
  font-size: 2.5rem;
  border-bottom: 1px solid #333333;
  width: 50%;
  margin: 0;

}

.contents1-title p {
  margin: 0;
  color: #8dbe54;
}

/*お知らせ↓ここから*/
.info {
  -webkit-overflow-scrolling: touch;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  display: -webkit-box;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  /* max-width: 600px; */
  /*付け加えた*/
  width: auto;
  height: 13em;
  margin: auto;
  overflow-y: scroll
}


@media (min-width:768px) {
  .info {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    flex-wrap: wrap
  }
}

.info dd,
.info dt {
  box-sizing: border-box;
  width: 100%;
  padding-bottom: .5em;
  padding-left: .5em
}

.info dt {
  font-style: normal;
  font-weight: initial
}

@media (min-width:768px) {
  .info dt {
    width: 12.5em;
    margin-bottom: .5em;
    border-bottom: 1px dotted #343a40
  }
}

.info dt:first-of-type {
  padding-top: .5em;
  border-bottom: 1px dotted #343a40
}

.info dt time {
  /*margin-right: .5em;*/
  float: right;
}

.info dt span {
  box-sizing: border-box;
  display: inline-block;
  width: 7em;
  margin-right: .5em;
  padding: 0 .5em;
  background-color: #009688;
  color: #fff;
  font-size: .8em;
  line-height: 1.75;
  text-align: center
}

.info time {
  color: #adb5bd
}

.info dd {
  margin-left: 0;
  margin-bottom: .5em;
  border-bottom: 1px dotted #343a40
}

@media (min-width:768px) {
  .info dd {
    width: calc(100% - 12.5em)
  }
  .info dd:first-of-type {
    padding-top: .5em;
    border-bottom: 1px dotted #343a40
  }
}

.info dd:nth-of-type(-n+3) {
  position: relative
}

@media(max-width: 1024px) {

  .contents1-container {
    /* background-color: rgb(251,249,244); */
    padding: 30px;
    margin: 50px;
  }

  .contents1 {
    padding-bottom: 30px;
  }
  

}


@media(max-width: 519px) {

  .info dt time {
    margin-right: 1.5em;
    float: left;
  }

  .contents1-container {
    margin: 50px auto;
  }

}

@media(max-width: 300px) {
  .contents1 {
    padding-bottom: 10px;
  }

  .contents1-container {
    margin: 10px auto;
  }

  .contents1-title h2 {
    font-size: 1.5rem;
  }

}

/* END CONTENTS1 */


/* CONTENTS2 */
.contents2 {
  padding-bottom: 100px;
  background-color: #FAFAFA;
  padding-top: 50px;
}

.contents2-title {
  letter-spacing: 1px;
  /* padding-top: 30px;
  margin-left: 50px;
   */
}

.contents2-title p {
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: #8dbe54;
  margin: 0;
  font-family: 'Lato', sans-serif;
  border-bottom: 1px solid #333333;
  width: 50%;
}

.contents2-title h2 {
  font-size: 2.8rem;
  margin: 0;
  font-family: ’游明朝’, YuMincho, "’ヒラギノ明朝 ProN W3’", "’Hiragino Mincho ProN’", "’ＭＳ Ｐ明朝’", "’ＭＳ 明朝’", serif;
  font-weight: normal;
}

.contents2 a {
  background: #eee;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 80px auto 0 auto;
    max-width: 240px;
    padding: 20px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: bolder;
    font-size: 1em;
    z-index:0;
    border-left: solid 5px #8DBE53;
}

.contents2 a:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  display: block;
  background: #8DBE53;
  transition: .3s;
  left:0;
}

.contents2 a:hover {
  color: #fff;
}

.contents2 a:hover:before {
  width: 100%;
  z-index: -1;
}

.contents2-box {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: auto;
}

.contents2-box1 {
  width: 50%;
  margin: auto;
}

.contents2-box1  h4 {
  font-size: 1.2em;
  font-weight: bold;
  line-height: 40px;
}

.contents2-box1 p {
  text-align: left;
  font-size: 1em;
  line-height: 2em;

}

.contents2-box img {
  width: 40%;
  /* box-shadow: -30px 30px 0px 0 rgb(158, 138, 119); */
  display: block;
  margin: 10px auto;
  object-fit: contain;
}

@media(max-width:1024px) {
  .contents2-box {
    width: 90%;
  }

}

@media(max-width:834px) {

  .contents2-box {
    display: block;
  }

  .contents2-box1 {
    width: 90%;
  }

  .contents2-box img {
    width: 90%;
    margin: 50px auto;
  }
   
}

@media(max-width:519px) {
  .contents2 {
    padding-bottom: 50px;
  }

  .contents2 h2 {
    font-size: 2.5em;
    width: 80%;
  }
  
  .contents2 h3 {
    font-size: 1.5em;
  }

  .contents2-box1 {
    width: 95%;
  }

  .contents2-box1  h4 {
    font-size: 1em;
    font-weight: bold;
    line-height: 40px;
  }

  .contents2-box1 p {
    text-align: left;
    font-size: 1em;
    line-height: 2.5em;
  }


  .contents2 a {
    font-size: .8em;
    padding: 18px;
    max-width: 180px;
    margin: 10px auto 0 auto;
  }

}  

@media(max-width: 300px) {
  .contents2 {
    padding-bottom: 0;
  } 

  .contents2 h2 {
    font-size: 1.5em;
    margin: 0 10px;
  }
  
  .contents2 h3 {
    font-size: 1em;
    margin: 0 10px;
  }

  .contents2-box1  h4 {
    font-size: .8em;
    line-height: 25px;
  }

  .contents2-box1 p {
    text-align: left;
    font-size: .7em;
  }

  .contents2 a {
    font-size: .8em;
    padding: 13px;
    max-width: 150px;
    margin: 10px auto 0 auto;
  }

}

/* END CONTENTS2 */


/* CONTENTS3 */

.contents3 {
  padding-bottom: 100px;
}

.contents3-title {
  letter-spacing: 1px;
  /* padding-top: 30px;
  margin-left: 50px;
   */
}

.contents3-title p {
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: #8dbe54;
  margin: 0;
  font-family: 'Lato', sans-serif;
  border-bottom: 1px solid #333333;
  width: 50%;
}

.contents3-title h2 {
  font-size: 2.8rem;
  margin: 0;
  font-family: ’游明朝’, YuMincho, "’ヒラギノ明朝 ProN W3’", "’Hiragino Mincho ProN’", "’ＭＳ Ｐ明朝’", "’ＭＳ 明朝’", serif;
  font-weight: normal;
}

.contents3 a {
  background: #eee;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 80px auto 0 auto;
    max-width: 240px;
    padding: 20px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: bolder;
    font-size: 1em;
    z-index:0;
    border-left: solid 5px #8DBE53;
}

.contents3 a:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  display: block;
  background: #8DBE53;
  transition: .3s;
  left:0;
}

.contents3 a:hover {
  color: #fff;
}

.contents3 a:hover:before {
  width: 100%;
  z-index: -1;
}

.contents3-box {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: auto;
  flex-direction: row-reverse;
}


.contents3-box1 {
  width: 50%;
  margin: auto;
}

/* .contents3-box1 h2 {
  padding-top: 30px;
  margin: 0;
  font-size: 2em;
  color: #8DBE53;
  border-bottom: 1px solid #333;
}

.contents3-box1 h3 {
  margin: 0;
  font-size: 3em;
} */

.contents3-box1 p {
  text-align: left;
  font-size: 1em;
  line-height: 2em;

}

.contents3-box2 {
  margin: auto;
}

.contents3-box img {
  width: 40%;
  /* box-shadow: -30px 30px 0px 0 rgb(158, 138, 119); */
  display: block;
  margin: 10px auto;
  object-fit: contain;
}

@media(max-width:1024px) {
  .contents3-box {
    width: 90%;
  }

}

@media(max-width:834px) {

  .contents3-box {
    display: block;
  }

  .contents3-box1 {
    width: 90%;
  }

  .contents3-box img {
    width: 90%;
    margin: 50px auto;
  }

}

@media(max-width:519px) {
  .contents3 {
    padding-bottom: 50px;
  }

  .contents3-box {
    display: block;
  }
  .contents3 h2 {
    font-size: 2.5em;
    width: 80%;
  }
  
  .contents3 h3 {
    font-size: 1.5em;
  }

  .contents3-box1 {
    width: 95%;
  }

  .contents3-box1  h4 {
    font-size: 1em;
    font-weight: bold;
    line-height: 40px;
  }

  .contents3-box1  h4 span {
    display: block;
  }

  .contents3-box1 p {
    text-align: left;
    font-size: 1em;
    line-height: 2.5em;
  }

  .contents3-box img {
    max-width: 350px;
    margin: 30px auto;
  }

  .contents3 a {
    font-size: .8em;
    padding: 18px;
    max-width: 180px;
    margin: 10px auto 0 auto;
  }
  
}  

@media(max-width: 300px) {
  .contents3 {
    padding-bottom: 0;
  }

  .contents3 h2 {
    font-size: 1.5em;
    margin: 0 10px;
  }
  
  .contents3 h3 {
    font-size: 1em;
    margin: 0 10px;
  }

  .contents3-box1  h4 {
    font-size: .8em;
    line-height: 25px;
  }

  .contents3-box1 p {
    text-align: left;
    font-size: .7em;
  }

  .contents3 a {
    font-size: .8em;
    padding: 13px;
    max-width: 150px;
    margin: 10px auto 0 auto;
  }

}


/* END CONTENTS3 */

/*  CONTENTS4 */
.contents4 {
  padding-bottom: 100px;
  background-color: #FAFAFA;
}

.contents4 a {
  background: #eee;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 80px auto 0 auto;
    max-width: 240px;
    padding: 20px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: bolder;
    font-size: 1em;
    z-index:0;
    border-left: solid 5px #8DBE53;
}

.contents4 a:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  display: block;
  background: #8DBE53;
  transition: .3s;
  left:0;
}

.contents4 a:hover {
  color: #fff;
}

.contents4 a:hover:before {
  width: 100%;
  z-index: -1;
}

.contents4-title {
  letter-spacing: 1px;
  /* padding-top: 30px;
  margin-left: 50px; */
}

.contents4-title p {
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: #8dbe54;
  margin: 0;
  font-family: 'Lato', sans-serif;
  border-bottom: 1px solid #333333;
  width: 50%;
}

.contents4-title h2 {
  font-size: 2.8rem;
  margin: 0;
   font-family: ’游明朝’, YuMincho, "’ヒラギノ明朝 ProN W3’", "’Hiragino Mincho ProN’", "’ＭＳ Ｐ明朝’", "’ＭＳ 明朝’", serif;
  font-weight: normal;
}

/* .contents4 h2 {
  padding-top: 30px;
  margin: 0 30px;
  font-size: 2em;
  color: #8DBE53;
  border-bottom: 1px solid #333;
  width: 50%;
}

.contents4 h3 {
  margin: 0 30px;
  font-size: 3em;
} */

.contents4-box {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: auto;
}

.contents4-box1 {
  width: 50%;
  margin: auto;
}

.contents4-box1  h4 {
  font-size: 1.3em;
  font-weight: bold;
  line-height: 40px;
}

.contents4-box1 p {
  text-align: left;
  font-size: 1em;
  line-height: 2em;

}

.contents4-box img {
  width: 40%;
  /* box-shadow: -30px 30px 0px 0 rgb(158, 138, 119); */
  display: block;
  margin: 10px auto;
  object-fit: contain;
}

@media(max-width:1024px) {
  .contents4-box {
    width: 90%;
  }

}

@media(max-width:834px) {

  .contents4-box {
    display: block;
  }

  .contents4-box1 {
    width: 90%;
  }

  .contents4-box img {
    width: 90%;
    margin: 50px auto;
  }

}

@media(max-width:519px) {
  .contents4 {
    padding-bottom: 50px;
  }

  .contents4-box {
    display: block;
  }
  .contents4 h2 {
    font-size: 2.5em;
    width: 80%;
  }
  
  .contents4 h3 {
    font-size: 1.5em;
  }

  .contents4-box1 {
    width: 95%;
  }

  .contents4-box1  h4 {
    font-size: 1em;
    font-weight: bold;
    line-height: 40px;
  }

  .contents4-box1  h4 span {
    display: block;
  }

  .contents4-box1 p {
    text-align: left;
    font-size: 1em;
    line-height: 2.5em;
  
  }

  .contents4-box img {
    max-width: 350px;
    margin: 30px auto;
  }

  .contents4 a {
    font-size: .8em;
    padding: 18px;
    max-width: 180px;
    margin: 10px auto 0 auto;
  }
  
}  

@media(max-width: 300px) {
  .contents4 {
    padding-bottom: 0;
  }

  .contents4 h2 {
    font-size: 1.5em;
    margin: 0 10px;
  }
  
  .contents4 h3 {
    font-size: 1em;
    margin: 0 10px;
  }

  .contents4-box1  h4 {
    font-size: .8em;
    line-height: 25px;
  }

  .contents4-box1 p {
    text-align: left;
    font-size: .7em;
  }

  .contents4 a {
    font-size: .8em;
    padding: 13px;
    max-width: 150px;
    margin: 10px auto 0 auto;
  }

}

/*  END CONTENTS4 */

/* CONTENTS5 */
.contents5 {
  background: url(img/timg4.jpg) center bottom / cover no-repeat;
  text-align: center;
  padding: 100px 20px 200px;
  position: relative;
}

.contents5::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10,30,0,0.5);
}

.contents5-container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
}

.contents5-title {
  text-align: center;
  letter-spacing: 1px;
  position: relative;
}

.contents5-title .en {
  font-size: 2rem;
  letter-spacing: 2px;
  color: #8dbe54;
  font-family: 'Lato', sans-serif;
  margin: 0;
}

.contents5-title h2 {
  font-size: 3.2rem;
  font-family: ’游明朝’, YuMincho, "’ヒラギノ明朝 ProN W3’", "’Hiragino Mincho ProN’", "’ＭＳ Ｐ明朝’", "’ＭＳ 明朝’", serif;
  font-weight: normal;
  color: #fff;
  text-decoration: underline; /* 下線 */
  text-decoration-thickness: .4em; /* 線の太さ */
  text-decoration-color: rgba(255, 228, 0, .7); /* 線の色 */
  text-underline-offset: -0.1em; /* 線の位置。テキストに重なるようにやや上部にする */
  text-decoration-skip-ink: none; /* 下線と文字列が重なる部分でも下線が省略されない（線が途切れない） */
}


.contents5-title .read {
  margin: 10px 0 30px;
  font-size: 1.3rem;
  color: #fff;
  line-height: 3em;
}

.contents5-title img {
  width: 30%;
  display: block;
  margin: auto;
}

@media(max-width:1024px) {

 
}

@media(max-width:834px) {

  .contents5-title h2 {
    font-size: 2.5rem;
  }

  .contents5-title .read {
    font-size: 1rem;
  }


}

.contents5-box_title h3 {
  font-size: 1rem;
}

@media(max-width:768px) {
  

}

@media(max-width:519px) {

  .contents5 {
    background: url(img/timg4.jpg) center bottom / cover no-repeat;
    text-align: center;
    padding: 50px 20px;
    position: relative;
  }

  .contents5-title h2 {
    font-size: 2rem;
  }

  .contents5-title img {
    width: 80%;
    display: block;
    margin: auto;
  }

  .contents5-title .en {
    font-size: 1.3rem;
  }

  
}  

@media(max-width: 300px) {
  .contents5 {
    padding: 50px 10px;
  }

  .contents5-title h2 {
    font-size: 1.5rem;
  }

  .contents5-title .read {
    font-size: .8rem;
    line-height: 2.5em;
  }
 

}



/* END CONTENTS5 */





/* FOOTER */


.footer-bottom {
  padding: 60px 40px 0;
  display: flex;
  justify-content: space-between;
}

.footer-bottom_container {
  width: 60%;
  margin: auto;
}

.footer-bottom_container img {
  width: 40%;
  display: block;
  margin: 20px auto;
}

.footer-bottom_container ul {
  display: flex;
  justify-content: space-around;
  padding: 0;
}

.footer-bottom_container ul li {
  list-style: none;
  border-left: 2px solid #fff;
  margin: 30px 0;
  width: calc(100%/4);
  text-align: center;
}

.footer-bottom_container ul li:last-child {
  border-right: 2px solid #fff;

}

.footer-bottom_container ul li a {
  text-decoration: none;
  font-size: .8em;
  font-weight: bold;
  color: #333;
  border-bottom: 1px solid #333;
}

.footer-bottom_container ul li a:hover {
  color: #fff;
}

.footer-bottom_container ul li a span {
  display: block;
}

footer .copy {
  font-size: 15px;
  line-height: 30px;
  letter-spacing: .06em;
  text-align: center;
  background-color: #8dbe54;
  margin: 0;
  padding: 10px 0;
  color: #fff;
}

@media(max-width:1024px) {
  .footer-bottom_container{
    width: 80%;
  }
}

@media(max-width:834px) {

.footer-table {
  width: 100%;
}

.footer-container {
  display: block;
}

.footer-map {
  width: 100%;
  height: 500px;
}

table {
  width: 65%;
}

.footer-bottom_container{
  width: 95%;
}
 
}

@media(max-width:519px) {

  footer {
    margin-bottom: 80px;
  }

  .footer-bottom {
    padding: 10px;
    margin-bottom: 0;
  }
  

  .footer-bottom_container ul {
    display: block;
    margin: 0;
    line-height: 2em;
  }


.footer-bottom_container ul li {
  border-left:none;
  border-bottom: 1px solid #333;
  width: 50%;
  margin: auto;
  padding: 0 30px;
}

.footer-bottom_container ul li a {
  font-size: 1em;
}

.footer-bottom_container p {
  color: #fff;
  font-size: 10px;
  line-height: 30px;
  font-family: none;
}

.footer-bottom_container ul li:last-child {
  border-right: none;
}

.footer-table p span {
  display: block;
  margin: 0;
}

table {
  width: 90%;
}

.footer-bottom_container img {
  width: 70%;
  display: block;
  margin: 20px auto;
}
  
}

@media(max-width:300px) {
  .footer-bottom {
    margin-bottom: 40px;
  }

  table {
    font-size: .7em;
  }

  td {
    padding-left: 30px;
  }

  .footer-bottom_container img {
    width: 70%;
    display: block;
    margin: 20px auto;
  }

  .footer-bottom_container .insta {
    width: 90%;
  }

}

/* END FOOTER */
