/* ===============================
   フッター
=============================== */


footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* 資料請求バナー */
.footer-banner {
  width: 90%;
  max-width: 1000.0008px;
  height: 214.5092px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin:30px auto;
  background: #fff;
}

.footer-banner a img {
  width: 100%;
  height: auto;
}

.footer-banner a:hover{
  opacity: 0.5;
}

.pc_footer_banner{
  display: block;
}

/* ニュースコラムセクション */
.footer-news {
  width: 100%;
  padding: 70px 0;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top:85px;
}

.footer-news-inner {
  width: 90%;
  max-width: 1000px;
  background-color: #fff;
  display: flex;
  padding: 3.4rem 0 2.6rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-news-title {
  font-family: "Noto Sans JP", sans-serif;
  color: #000;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-news-title .ja {
  font-weight: 900;
  font-size: 20px;
}

.footer-news-title .en {
  font-weight: 500;
  font-size: 15px;
}

.footer-news-list {
  width: 90%;
  max-width: 800px;
  max-width: 760px;
}

.footer-news-item {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #000;
  padding: 26px 0;
  border-top: 0.5px solid #717071;
  border-bottom: 0.5px solid #717071;
  display: flex;
  gap: 10px;
}

.footer-news-item .title{
  font-family: "Noto Sans JP", sans-serif !important;
  font-weight: 500 !important;
  font-size: 15px !important;
}



.footer-news-item.no-border {
  border-top: none;
  border-bottom:none;
}

.footer-news-item .date{
  margin-right:30px;
}

.footer-news-item .title a{
  text-decoration: none;
}

.footer-news-item .title:hover{
  opacity: 0.5;
}

/* Youtubeセクション */
.footer-youtube {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 0;
  font-family: "Noto Sans JP", sans-serif;
  margin-top:85px;
  width: 90%;
}

.footer-youtube_wrap{
  width: 100%;
  aspect-ratio: 300 / 169;
  max-width: 600px;
  max-height: 338.2249px;
}

.footer-youtube-title {
  font-weight: 900;
  font-size: 24px;
  margin-bottom: 20px;
}

.footer-youtube iframe {
  width: 100%;
  height: 100%;
}

/* リンクセクション */
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  font-family: "Noto Sans JP", sans-serif;
  margin-top:85px;
}

.footer-links-icons {
  display: flex;
  gap: 60px;
  margin-bottom: 10px;
}

.footer-links-icons img {
  width: 40px;
  height: 40px;
}

.footer-links-icons a:hover{
  opacity: 0.5;
}


.footer-links-text {
  display: flex;
	justify-content: center;
	align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: #3e3a39;
  padding:30px 0;
  gap:15px;
}

.footer-links-text a{
  text-decoration: none;
}

.footer-links-text a:hover{
  opacity: 0.5;
}

/* コピーライト */
.footer-copyright {
  width: 100%;
  height: 60px;
  background: #3e3a39;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-links-pages {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: #3e3a39;
  gap: 15px;
  padding: 10px 0;
  flex-wrap: nowrap; /* 改行させない */
}

.footer-links-pages a {
  text-decoration: none;
  color: inherit;
}

.footer-links-pages .divider {
  color: #aaa;
}

.footer-links-pages a:hover{
  opacity: 0.5;
}




/* ページトップボタン */

#page-top {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #000000;
  border: solid 2px #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.pagetop__arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
  transform: translateY(20%) rotate(-45deg);
}


#page-top {
  opacity: 0;
  transition: opacity 0.4s ease-in;
}

#page-top::before {
  line-height: 48px;
}

/* fadeinクラスがついた時だけ表示する */
#page-top.fadein {
  opacity: 0.5;
}

/* ページトップボタンここまで */

.sp_footer,
.sp_footer_banner{
  display: none;
}


@media(width <= 750px){
  .sp_footer{
    background: #3e3a39;
    width: 100%;
    display: block;
  }
  .footer_logo{
    width: 63%;
    margin: 2.8rem auto 2.3rem;
  }
  .footer_nav{
    border-top: solid 1px #fff;
    border-bottom: solid 1px #fff;
  }
  .footer_nav ul{
    margin: 1.3rem auto 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    flex-wrap: wrap;
  }
  .footer_nav ul li{
    border-left: solid 1.6px #fff;
    line-height: 1.5;
    padding: 0 1.5rem;
    margin-top: 1.12rem;
    font-weight: 500;
  } 
   .footer_nav ul li:nth-child(4),
   .footer_nav ul li:first-child{
    border-left: none;
   }
  .footer_nav ul li a{
    color: #fff;
    text-decoration: none;
  }
  .footer-banner{
    background: #1E7729;
    background: linear-gradient(174deg,rgba(30, 119, 41, 1) 26%, rgba(34, 166, 56, 1) 71%, rgba(4, 96, 25, 1) 100%);
    width: 100%;
    height: auto;
    margin: 1.25rem auto 0;
  }
  .pc_footer_banner{
    display: none;
  }
  .sp_footer_banner{
    display: block;
    color: #fff;
  }
  .sp_footer_banner h3{
    font-size: var(--f36);
    font-weight: 700;
    text-align: center;
    border-bottom: solid 1px #fff;
    padding: 1em 0;
  }
  .sp_footer_banner p{
    font-size: var(--f28);
    font-weight: 400;
    width: 90%;
    margin: 1em auto 0;
    text-align: left;
    line-height: 1.7;
    font-feature-settings: "palt";
  }
  .sp_footer_banner a{
    display: block;
    width: 85%;
    margin: 1em auto;
    background: #fff;
    color: #006934;
    padding: 0.9em 1.2em;
    border-radius: 10px;
    text-decoration: none;
    text-align: left;
    position: relative;
  }
  .sp_footer_banner a span{
    font-size: 1.8rem;
    font-weight: 700;
  }
  .sp_footer_banner a .text_l{
    font-size: 3.12rem;
    font-weight: 900;
  }
  .footer-banner a .banner_book{
    width: 27.73vw;
    position: absolute;
    top: -45%;
    right: 0;
  }
  .footer-banner a .banner_shadow{
    position: absolute;
    width: 24.8vw;
    top: -45%;
    right: 0;
    mix-blend-mode: multiply;
   }
   .footer-news{
    margin-top: 0;
    padding: 2rem 0;
   }


   .footer-news-title .ja {
    font-size: var(--f36);
  }
  .footer-news-title .en {
    font-size: var(--f18);
  }
  .footer-news-item{
    flex-direction: column;
  }
  .footer-news-item .date{
    font-size: var(--f18);
  }
  .footer-news-item .title{
     text-align: left;
  }
  .footer-news-item .title a{
    font-size: var(--f28);
  }
  .footer-youtube-title{
    font-size: var(--f36);
  }
  .footer-youtube {
    margin-top:0;
    padding:4.6rem 0 2.8rem;
  }
  .footer-links{
    margin-top:0;
  }
  .footer-copyright {
    font-size: var(--f14);
    padding: 0 1em;
    box-sizing: border-box;
    text-align: center;
  }
  .sp_footer_banner h3:after{
	content: none;
  }
}

