/*目次*/

#ez-toc-container{
  position: relative !important;
  display: table !important;
  width: auto !important;
  margin-top: 40px !important;  
  padding: 40px !important;
  background: #fafafa !important;
  border: 5px solid black !important;
  border-radius: 0px !important;
  box-shadow: none !important;
}

#ez-toc-container ul li{
  line-height: 2 !important;
  letter-spacing: 0.1em !important;
}

#ez-toc-container a{
  color: black;
  border: none;
  text-decoration: none;
}



/*topics_contents-------------------------------------------------------------*/

.topics_text{
  width: 100%;
  padding: 0 5%;
}

.topics_text h1{
  margin-bottom: 20px;
  color: black;
  font-size: 24px;
  font-weight: 700;
  text-align: left;
  letter-spacing: 0.1em;
}

.topics_text .date_text{
  margin-bottom: 60px;
  color: black;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  letter-spacing: 0.1em;
}

.topics_text h2{
  font-size: 22px;
  position: relative;
  background-color: #214936;
  color: white;
  padding: 20px;
  margin: 60px 0;
}

.topics_text h2::after{
  content: "";
  position: absolute;
  display: block;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  top: 5px;
  left: 5px;
  border: 3px solid white;
}

.topics_text h3{
  font-size: 20px;
  position: relative;
  padding: 20px 20px 20px 30px;
  margin: 40px 0;
  letter-spacing: 0.2em;
}

.topics_text h3::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 100%;
  background-color: #214936;
}

.topics_text p{
  margin-bottom: 20px;
  color: black;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  letter-spacing: 0.1em;
  line-height: 2;
}

.topics_text img{
  display: block;
  width: 100%;
  margin: 20px 0;
  object-fit: contain;
  object-position: center
}

.topics_text img.topics_sum{
  width: 100%;
  margin-bottom: 40px;
  object-fit: cover;
  object-position: center;
}

.topics_text a{
  color: #43906b;
  border-bottom: 1px solid #43906b;
}

@media only screen and (min-width: 600px){

.topics_text{
  width: 100%;
  padding: 0 5%;
}

.topics_text h1{
  margin-bottom: 20px;
  color: black;
  font-size: 36px;
  font-weight: 700;
  text-align: left;
  letter-spacing: 0.1em;
}

.topics_text .date_text{
  margin-bottom: 60px;
  color: black;
  font-size: 20px;
  font-weight: 700;
  text-align: left;
  letter-spacing: 0.1em;
}

.topics_text h2{
  font-size: 28px;
  position: relative;
  background-color: #214936;
  color: white;
  padding: 20px;
  margin: 60px 0;
}

.topics_text h2::after{
  content: "";
  position: absolute;
  display: block;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  top: 5px;
  left: 5px;
  border: 3px solid white;
}

.topics_text h3{
  font-size: 24px;
  position: relative;
  padding: 20px 20px 20px 30px;
  margin: 40px 0;
  letter-spacing: 0.2em;
}

.topics_text h3::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 100%;
  background-color: #214936;
}

.topics_text p{
  margin-bottom: 20px;
  color: black;
  font-size: 18px;
  font-weight: 500;
  text-align: left;
  letter-spacing: 0.1em;
  line-height: 2;
}

.topics_text p span{
  font-size: 20px;
  font-weight: 900;
}

.topics_text img{
  display: block;
  /*width: 80%;*/
	
  object-fit: contain;
  object-position: center;
}

.topics_text img.topics_sum{
  width: 100%;
  height: 300px;
}

}

@media only screen and (min-width: 960px){

.topics_text{
  width: 100%;
  padding: 0 10%;
}
}

/*section_contents*/

/*topics-------------------------------------------------------------------*/
/*sp*/

.topics{
  background-color: #f2f8f5;
}

.topics_wrapper{
  display: flex;
  flex-wrap: wrap;
  width: 95%;
  margin: 0 auto;
}

.topics_title{
  display: flex;
  width: 60px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

.topics_title h2{
  display: block;
  margin-left: 0;
  margin-right: auto;
  font-size: 32px;
  font-weight: 900;
}

.topics_view_all{
  display: block;
  width: 180px;
  height: 60px;
  margin: 40px 0 0 auto;
  border-bottom: 1px solid black;
}

.topics_view_all h4{
  position: relative;
  padding-right: 40px;
  font-size: 16px;
  font-weight: 400;
  line-height: 60px;
  text-align: center;
}

.topics_view_all h4::after{
  content: "";
  position: absolute;
  top: 10px;
  right: 20px;
  display: block;
  width: 40px;
  height: 40px;
  background-image: url(../../img/img-hp/hp-icon/icon_view_more.svg);
  transition: 0.5s all;
}

.topics_view_all h4:hover::after{
  right: 0;
}

.topics .lcp_catlist{
  width: calc(100% - 60px);
  border-bottom: 1px solid #aaaaaa;
}

.topics .lcp_catlist li{
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 30px 0 15px;
  border-top: 1px solid #aaaaaa;
}

.topics .lcp_catlist li span{
  padding-bottom: 10px;
  color: #aaaaaa;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-indent: 1px;
}

.topics .lcp_catlist li a{
  position: relative;
  padding-right: 50px;
  color: black;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-indent: 3px;
  transition: 0.2s all;
}

.topics .lcp_catlist li a::after{
  content: "";
  position: absolute;
  top: 5px;
  right: 10px;
  display: block;
  width: 30px;
  height: 100%;
  background-image: url(../../img/img-hp/hp-icon/icon_view_more.svg);
  transition: 0.5s all;
}

.topics .lcp_catlist li a:hover{
  color: #aaaaaa;
}

.topics .lcp_catlist a:hover::after{
  right: 0;
}

@media only screen and (min-width: 600px){

.topics{
  background-color: #f2f8f5;
}

.topics_wrapper{
  display: flex;
  width: 90%;
  margin: 0 auto;
}

.topics_title{
  display: flex;
  width: 80px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

.topics_title h2{
  display: block;
  margin-left: 0;
  margin-right: auto;
  font-size: 40px;
  font-weight: 900;
}

.topics_view_all{
  display: block;
  width: 180px;
  height: 60px;
  margin: 40px 0 0 auto;
  border-bottom: 1px solid black;
}

.topics_view_all h4{
  position: relative;
  padding-right: 40px;
  font-size: 18px;
  font-weight: 400;
  line-height: 60px;
  text-align: center;
}

.topics .lcp_catlist{
  width: calc(100% - 80px);
  border-bottom: 1px solid #aaaaaa;
}

.topics .lcp_catlist li{
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 40px 0 20px;
  border-top: 1px solid #aaaaaa;
}


.topics .lcp_catlist li span{
  padding-bottom: 10px;
  color: #aaaaaa;
  font-size: 16px;
  letter-spacing: 1px;
  text-indent: 1px;
}

.topics .lcp_catlist li a{
  position: relative;
  padding-right: 65px;
  color: black;
  font-size: 20px;
  line-height: 1.8;
  letter-spacing: 3px;
  text-indent: 3px;
  transition: 0.2s all;
}

.topics .lcp_catlist li a::after{
  content: "";
  position: absolute;
  top: 5px;
  right: 20px;
  display: block;
  width: 40px;
  height: 40px;
  background-image: url(../../img/img-hp/hp-icon/icon_view_more.svg);
  transition: 0.5s all;
}
}

@media only screen and (min-width: 960px){

.topics_wrapper{
  display: flex;
  width: 90%;
  margin: 0 auto;
}

.topics_title{
  display: flex;
  width: 100px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

.topics_title h2{
  display: block;
  margin-left: 0;
  margin-right: auto;
  font-size: 48px;
  font-weight: 900;
}

.topics_view_all{
  display: block;
  width: 180px;
  height: 60px;
  margin: auto 0 0 auto;
  border-bottom: 1px solid black;
}

.topics_view_all h4{
  position: relative;
  padding-right: 40px;
  font-size: 20px;
  font-weight: 400;
  line-height: 60px;
  text-align: center;
}

.topics .lcp_catlist{
  width: calc(100% - 300px);
}

}