@charset "UTF-8";
/* clearfix */
.clearfix {
  *zoom: 1;
}
.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}

/*----------------------------------------------------
	再設定
----------------------------------------------------*/
html {
  font-size: 10px;
}

body {
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Segoe UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  color: #333;
  font-size: 1.6rem;
  background: #f5f5f5;
}

a {
  transition: all 0.3s;
  text-decoration: none;
}
a:link, a:visited {
  color: #2489ce;
}
a:hover, a:active {
  color: #72b7e6;
}

img {
  max-width: 100%;
  height: auto;
  width: auto;
}

@media (max-width: 767px) {
  body {
    font-size: 1.4rem;
  }
}
/*----------------------------------------------------
	共通レイアウト
----------------------------------------------------*/
header h1 {
  text-align: center;
  padding: 40px 0;
  font-size: 2rem;
  font-weight: bold;
}

#tab {
  margin-bottom: 50px;
}
#tab ul li {
  transition: all 0.3s;
  width: 49%;
  background: #f5f5f5;
}
#tab ul li span {
  display: block;
  text-align: center;
  padding: 14px 2rem;
  border: 1px solid #ccc;
  font-weight: bold;
}
#tab ul li.active, #tab ul li:hover {
  background: #cf2030;
  color: #fff;
}
#tab ul li:hover {
  cursor: pointer;
}

#main .desc {
  text-align: center;
  margin-bottom: 40px;
}
#main .memberlist .member_tab {
  width: 100%;
  border: 1px solid #ccc;
  margin-bottom: 30px;
}
#main .memberlist .member_tab .child {
  width: 20%;
  border: 1px solid #ccc;
}
#main .memberlist .member_tab .child a {
  display: block;
  text-align: center;
  padding: 10px 0;
  background: #fff;
  color: #333;
  font-weight: bold;
}
#main .memberlist .member_tab .child a:hover {
  background: #eee;
}
#main .memberlist ul {
  width: 100%;
}
#main .memberlist ul::before {
  content: "";
  display: block;
  width: 24%;
  order: 1;
}
#main .memberlist ul::after {
  content: "";
  display: block;
  width: 24%;
}
#main .memberlist li {
  width: 24%;
  padding: 20px;
  border: 1px solid #ccc;
  margin-bottom: 30px;
  background: #fff;
}
#main .memberlist li .name {
  font-weight: bold;
  font-size: 1.8rem;
  border-bottom: 2px solid #cf2030;
  margin-bottom: 4px;
  padding-bottom: 4px;
}
#main .memberlist li .name small {
  font-size: 1.2rem;
}
#main .memberlist li .cat {
  margin-bottom: 10px;
  font-size: 1.2rem;
}
#main .memberlist li .pic {
  width: 100%;
}
#main .memberlist li .pic a {
  display: block;
}
#main .memberlist li .pic a:hover {
  opacity: 0.7;
  cursor: pointer;
}
#main .memberlist li .bt {
  margin-bottom: 2px;
}
#main .memberlist .items {
  display: none;
}
#main .memberlist .items.show {
  display: flex;
  flex-wrap: wrap;
}
#main .memberlist .items.items--member li .pic.photo {
  margin-bottom: 4px;
}

@media (max-width: 1200px) {
  #main .memberlist ul::before {
    width: 32%;
  }
  #main .memberlist ul::after {
    width: 32%;
  }
  #main .memberlist li {
    width: 32%;
  }
}
@media (max-width: 767px) {
  #main .memberlist li {
    width: 48%;
  }
}
@media (max-width: 480px) {
  #main .desc {
    font-size: 1.2rem;
  }
  #main .memberlist li {
    width: 49%;
    padding: 16px 2%;
    margin-bottom: 20px;
  }
  #main .memberlist li .name {
    font-size: 1.5rem;
    text-align: center;
  }
  #main .memberlist li .name small {
    display: block;
    font-size: 1rem;
  }
  #main .memberlist li .cat {
    text-align: center;
    font-size: 1rem;
  }
}
footer {
  background-color: #fff;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.pagetop {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  color: #fff;
  background: #cf2030;
  text-orientation: none;
  transition: all 0.3s;
}
.pagetop:hover {
  opacity: 0.7;
  cursor: pointer;
}
