@charset "utf-8";
#main-visual {
  width: 100%;
  height: 265px;
  background: url(../img/top/main.png) no-repeat center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
#main-visual h1 {
  font-size: 60px;
  color: #fff;
}
#resources{
  background: #ebf5fa;
  padding: 40px 10px 20px;
}
#resources > .inner {
  max-width: 1166px;
  margin: 0 auto;
}
#resources .keyword {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}
#resources .keyword h2 {
  color: #052D94;
  font-size: 22px;
  line-height: 1;
  font-weight: bold;
}
#resources .keyword .input-wrap {
  position: relative;
  flex: 1;
  margin-left: 215px;
}
#resources .keyword input:focus {
  outline-color: #0077e6;
}
#resources .keyword input[type="text"] {
  width: 100%;
  border: none;
  font-size: 16px;
  padding: 0 15px;
  height: 45px;
  line-height: 45px;
}
#resources .keyword input[type="submit"] {
  position: absolute;
  width: 45px;
  height: 45px;
  right: 0;
  top: 0;
  background: url(../img/top/icon_search.png) no-repeat center/20px transparent;
  border: none;
  font-size: 0;
  padding: 0;
  cursor: pointer;
}
#resources .sort{
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 30px;
}
#resources .sort p {
  font-size: 16px;
  color: #808080;
  margin-right: 5px;
}
#resources .sort select{
  border: none;
  background: url(../img/top/icon_select.png) no-repeat right 7px center #fff;
  appearance: none;
  padding: 5px 25px 5px 15px;
  font-size: 16px;
  min-width: 100px;
  color: #808080;
}
#resources .sort select::-ms-expand {
  display: none;
}
#resources .sort select:focus {
  outline-color: #0077e6;
}
#resources .archive{
  float: right;
  width: calc(100% - 215px);
}
#resources .archive .wp-posts li .title{
  font-size: 18px;
}
#resources .sidebar{
  float: left;
  width: 185px;
  margin-top: 40px;
}
#resources .sidebar li {
  margin-bottom: 10px;
}
#resources .sidebar a {
  color: #4D4D4D;
  font-size: 16px;
  border-radius: 10px;
  display: block;
  padding: 5px 15px;
}
#resources .sidebar a.active,
#resources .sidebar a:hover{
  background: #C0DCED;
  text-decoration: none;
  font-weight: bold;
}
#resources .pager{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}
#resources .pager li {
  margin: 0 3px;
}
#resources .pager a {
  display: flex;
  height: 50px;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 0 20px;
}
#resources .pager a:hover {
  opacity: 0.7;
  text-decoration: none;
}
#resources .pager span {
  display: flex;
  height: 50px;
  align-items: center;
  justify-content: center;
  background: #002896;
  padding: 0 20px;
  color: #fff;
}

@media screen and (max-width: 1365px) {
  #main-visual h1 {
    font-size: 5vw;
  }
}

@media screen and (max-width:768px) {
  #main-visual {
    padding: 12vw 10px;
    height: auto;
  }
  #main-visual h1 {
    font-size: 40px;
  }
  #resources{
    padding-top: 40px;
    padding-bottom: 20px;
  }
  #resources .keyword {
    display: block;
    text-align: left;
    margin-bottom: 10px;
  }
  #resources .keyword h2 {
    margin-bottom: 10px;
  }
  #resources .keyword .input-wrap {
    margin-left: 0;
  }
  #resources .keyword input[type="text"] {
    font-size: 14px;
  }
  #resources .sort{
    margin-bottom: 10px;
  }
  #resources .sort p {
    font-size: 16px;
  }
  #resources .sort select{
    padding: 5px 25px 5px 15px;
    font-size: 16px;
  }
  #resources .archive{
    float: none;
    width: 100%;
  }
  #resources .archive .wp-posts li .title{
    font-size: 18px;
  }
  #resources .sidebar{
    float: none;
    width: 100%;
    margin-top: 0;
  }
  #resources .sidebar ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  #resources .sidebar li {
    width: calc(50% - 5px);
  }
  #resources .sidebar a {
    background: #fff;
  }
  #resources .pager a {
    padding: 0 15px;
    height: 35px;
  }
  #resources .pager span {
    padding: 0 15px;
    height: 35px;
  }
}
