/*****************************
サイドバー　基本レイアウト
*****************************/
.top_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
.top_flex aside {
  width: 350px;
  margin-bottom: 50px;
}
.top_flex article {
  width: calc(100% - 350px);
  padding-left: 30px;
  margin-bottom: 50px;
}
.side_layout_flex .side_layout_area01{
  width: 300px;
}
@media screen and (max-width: 1024px) {
  .side_layout_flex .side_layout_area01{
    width: 100%;
    padding: 10px;
  }
}


@media screen and (max-width: 1024px) {
  .top_flex aside {
    width: 100%;
    display: none;
  }
  .top_flex article {
    width: 100%;
    padding-left: 0px;
  }
}
@media screen and (max-width: 1024px) {
  .top_flex {
    flex-direction: column-reverse;
  }
}
@media screen and (max-width: 767px) {
  .top_flex article {
    margin-bottom: 0px;
  }
}

.sidebar_subtitle{
  background: #fff;
  padding: 10px;
}
.sidebar_subtitle p{
  font-size: 14px;
  color: #777;
  line-height: 1.8;
}
.nowpage .sidebar_subtitle p{
  color: #d61a35;
  font-weight: 500;
  opacity: 0.6;
}

.sidebar_subtitle p::before {
  content: "\f0da";
  font-family: FontAwesome;
  color: #777;
  padding-right: 7px;
  font-weight: 400;
}
.nowpage .sidebar_subtitle p::before {
  color: #d61a35;
  opacity: 0.6;
}

.side_list_title{
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  position: relative;
  background: linear-gradient(#316708 1px, transparent 1px), linear-gradient(to right, #316708 1px, #255500 1px);
  background-size: 15px 15px;
}


/*****************************
ニュースサイドバー レイアウト
*****************************/

.sidebar_box{
  background: #d4d4d4;
  padding: 20px 10px 100px;
  border-radius: 3px;
  background: url(../images/common/dotdot.png) repeat;
  border: 1px solid #d3d3d3;
}
@media screen and (max-width: 1024px) {
  .sidebar_box{
  margin-bottom: 50px;
  padding: 20px 30px 10px;
}
}
@media screen and (max-width: 767px) {
  .sidebar_box{
  margin-bottom: 50px;
  padding: 20px 10px 100px;
}
}
.sidebar_box_header{
  padding: 0px;
  margin-bottom: 30px;
}
.sidebar_box_header a{
  background: #345678;
  padding: 15px 10px 15px 40px;
  margin-bottom: 10px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #bcbcbc;
  text-align: left;
  color: #ffffff;
  display: block;
  letter-spacing: 2px;
  transition: 0.5s;
  position: relative;
}
.sidebar_box_header a::after{
  content: "\f0a9";
  font-family: "Font Awesome 6 Free";
  font-weight: bold;
  color: #fff;
  position: absolute;
  left: 13px;
}
.sidebar_box_header a:nth-child(1):after{
  content: "\f3c5";
  left: 16px;
}
.sidebar_box_header a:nth-child(2):after{
  content: "\f0e0";
  left: 14px;
}
.sidebar_box_header a:nth-child(3):after{
  content: "\f249";
  left: 15px;
}

.sidebar_box_header a:hover{
  opacity: 1;
  transition: 0.5s;
  position: relative;
}
.sidebar_box_header a:hover::before{
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation-name: GradietionAnimation;
    animation-iteration-count: infinite;
    animation-duration: 500s;
    animation-timing-function: linear;
    background: url(../images/common/b_item.png) repeat;
    background-size: 30px 30px;
    opacity: 0.2;
}

.sidebar_box_body{
  background: #fff;
  padding: 10px 20px 30px;
  margin-bottom: 20px;
}

.sidebar_box_body a{
  padding: 15px 10px;
  border-bottom: 1px dotted #333;
  display: block;
  letter-spacing: 2px;
  font-size: 14px;
  font-weight: 500;
  position: relative;
}
@media screen and (max-width: 820px) {
  .sidebar_box_body a{
    padding: 10px 10px;
  }
}

.sidebar_box_body a::after{
  position: absolute;
  right: 10px;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
  width: 6px;
  height: 6px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(45deg);
  transition: 0.5s;
}
.sidebar_box_body a:hover:after{
  right: 0px;
  transition: 0.5s;
}
.sidebar_box_footer{
  padding: 10px 0;
}

@media screen and (max-width: 820px) {
.sidebar_box{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.sidebar_box .sidebar_box_header{
  width: 30%;
}
.sidebar_box .sidebar_box_body{
  width: 30%;
  margin-bottom: 10px;
  padding: 10px 10px 20px;
}
.sidebar_box .sidebar_box_footer{
  width: 33%;
}
}
@media screen and (max-width: 767px) {
  .sidebar_box .sidebar_box_header{
    width: 100%;
  }
  .sidebar_box .sidebar_box_body{
    width: 100%;
    padding: 20px 20px 30px;
    margin-bottom: 30px;
  }
  .sidebar_box .sidebar_box_footer{
    width: 100%;
  }
  .sidebar-news #s-btn-area {
    left: unset;
    right: 0px;
}
  }

/*****************************
固定ページ　サイドバー レイアウト
*****************************/

.side_navi{
  background: #ffffff;
}

.side_list_header{
  background: #649027;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ffffff;
  display: block;
  letter-spacing: 1px;
}
.side_list_header p{
  color: #ffffff;
  text-align: center;
}


.side_list{
  padding: 10px 20px 20px;
  margin-bottom: 0px;
  background: #f7fbff;
}
.side_list a{
  padding: 15px 20px 15px 0px;
  border-bottom: 1px dotted #333;
  display: block;
  letter-spacing: 0px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  position: relative;
  transition: 0.5s;
}
/* 検定ページ */
.side_list .min-area {
  padding: 13px 20px 13px 0px;
  border-bottom: 1px dotted #333;
  display: block;
  letter-spacing: 0px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  position: relative;
  transition: 0.5s;
  letter-spacing: 1px;
}

.side_list a::after {
  position: absolute;
  right: 10px;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
  width: 6px;
  height: 6px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(45deg);
  transition: 0.5s;
}
.side_list a:hover,.side_list .nowpage a{
  opacity: 0.6;
  color: #649027;
  transition: 0.5s;
}
.side_list a:hover:after,.side_list .nowpage a:after{
  right: 0px;
  transition: 0.5s;
  border-top: 2px solid #649027;
  border-right: 2px solid #649027;
}



.box_line{
  border-radius: 3px;
  background: #fff;
  border: 1px solid #d3d3d3;
  margin-top: 50px;
}

.side_title{
  text-align: left;
}
.side_title h2{
  letter-spacing: 1px;
  font-size: 16px;
  position: relative;
  margin-bottom: 20px;
  color: #345678;
  font-weight: 500;
  line-height: 1.4;
  padding: 7px 10px 7px 15px;
  border-left: 4px solid #345678;
  background: #fbfbfb;
}

/* 下横線メニュータイトル */

.side_title02{
  text-align: center;
}

.side_title02 h2{
  letter-spacing: 1px;
  font-size: 16px;
  line-height: 1.4;
  position: relative;
  padding: 10px;
  margin-bottom: 10px;
  color: #649027;
  font-weight: 500;
}
.side_title02 h2::before{
content: "";
width: 200px;
height: 2px;
background: #649027;
position: absolute;
left: 50%;
bottom: -15%;
transform: translateY(-50%) translateX(-50%);
}

.side_layout_flex{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}

