@charset "utf-8";

.popular-theme {
  margin: 0 0 50px;
}

.popular-theme .popular-theme-list {
  display: block;
}

.popular-theme .popular-theme-item {
  float: left;
  width: auto;
  max-width: 242px;
  margin: 0 10px;
}

.theme-list-wrap {
  padding: 60px 0;
  background: #f3f3f3;
}

.theme-list {
  margin: 0 0 40px;
  background: #fff;
}
/* その他のテーマ非表示 */
.theme-list.TL017 {
  display: none;
}


.theme-list h3 a {
  display: block;
  padding: 55px 40px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}

.TL001 h3 a {
  background: url(/common/include/images/theme01/TL001.jpg) no-repeat 50% 50%;
  background-size: cover;
}

.TL002 h3 a {
  background: url(/common/include/images/theme01/TL002.jpg) no-repeat 50% 50%;
  background-size: cover;
}

.TL003 h3 a {
  background: url(/common/include/images/theme01/TL003.jpg) no-repeat 50% 50%;
  background-size: cover;
}

.TL004 h3 a {
  background: url(/common/include/images/theme01/TL004.jpg) no-repeat 50% 50%;
  background-size: cover;
}

.TL005 h3 a {
  background: url(/common/include/images/theme01/TL005.jpg) no-repeat 50% 50%;
  background-size: cover;
}

.TL006 h3 a {
  background: url(/common/include/images/theme01/TL006.jpg) no-repeat 50% 50%;
  background-size: cover;
}

.TL007 h3 a {
  background: url(/common/include/images/theme01/TL007.jpg) no-repeat 50% 50%;
  background-size: cover;
}

.TL008 h3 a {
  background: url(/common/include/images/theme01/TL008.jpg) no-repeat 50% 50%;
  background-size: cover;
}

.TL009 h3 a {
  background: url(/common/include/images/theme01/TL009.jpg) no-repeat 50% 50%;
  background-size: cover;
}

.TL010 h3 a {
  background: url(/common/include/images/theme01/TL010.jpg) no-repeat 50% 50%;
  background-size: cover;
}

.TL011 h3 a {
  background: url(/common/include/images/theme01/TL011.jpg) no-repeat 50% 50%;
  background-size: cover;
}

.TL012 h3 a {
  background: url(/common/include/images/theme01/TL012.jpg) no-repeat 50% 50%;
  background-size: cover;
}

.TL013 h3 a {
  background: url(/common/include/images/theme01/TL013.jpg) no-repeat 50% 50%;
  background-size: cover;
}

.TL014 h3 a {
  background: url(/common/include/images/theme01/TL014.jpg) no-repeat 50% 50%;
  background-size: cover;
}

.TL015 h3 a {
  background: url(/common/include/images/theme01/TL015.jpg) no-repeat 50% 50%;
  background-size: cover;
}

.TL016 h3 a {
  background: url(/common/include/images/theme01/TL016.jpg) no-repeat 50% 50%;
  background-size: cover;
}

.TL019 h3 a {
  background: url(/common/include/images/theme01/TL019.jpg) no-repeat 50% 50%;
  background-size: cover;
}

.TL020 h3 a {
  background: url(/common/include/images/theme01/TL020.jpg) no-repeat 50% 50%;
  background-size: cover;
}

.theme-list > ul {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-justify-content: space-between;
          justify-content: space-between;
  position: relative;
  padding: 30px 25px 10px;
}

.theme-list > ul:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  margin: 0 0 0 -2px;
  background: #f3f3f3;
}

.theme-list > ul > li {
  width: 47.47474747474747%;
  margin: 0 0 20px;
}

.theme-list > ul > li > a {
  display: block;
  position: relative;
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  background: #e2e2e2;
}

.theme-list > ul > li > a:hover {
  color: #fff;
  text-decoration: none;
  background: #003780;
}

.theme-list > ul > li > a:after {
  content: "\f105";
  position: absolute;
  top: 50%;
  right: 15px;
  font-size: 18px;
  font-family: FontAwesome;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.theme-list ul ul {
  overflow: hidden;
  padding: 10px 0 0 5px;
  font-size: 14px;
}

.theme-list ul ul li {
  float: left;
  line-height: 1.2;
  margin: 0 15px 10px 0;
  padding: 0 15px 0 0;
  border-right: 1px solid #6b7fa7;
}

.theme-list ul ul li:last-child {
  margin-right: 0;
  padding: 0;
  border: none;
}

.theme-btn-top {
  text-align: center;
}

.theme-btn-top a {
  width: 500px;
}

@media screen and (max-width: 811px) {
  .popular-theme {
    margin: 0 0 30px;
  }

  .popular-theme .popular-theme-item {
    max-width: 167px;
    margin: 0 5px;
  }

  .theme-list-wrap {
    padding: 0;
    background: none;
  }

  .theme-list {
    margin: 0;
  }

  .theme-list h3 a {
    padding: 20px 15px;
    font-size: 15px;
    text-align: center;
  }

  .theme-list > ul {
    display: block;
    padding: 10px;
  }

  .theme-list > ul:after {
    content: none;
  }

  .theme-list > ul > li {
    width: auto;
    margin: 0;
    border-top: 1px solid #e2e2e2;
  }

  .theme-list > ul > li:first-child {
    border: none;
  }

  .theme-list > ul > li > a {
    padding: 10px 15px;
    border-radius: 0;
    font-size: 13px;
    text-align: left;
    background: #f3f3f3;
  }

  .theme-list ul ul {
    padding: 0;
    font-size: 12px;
  }

  .theme-list ul ul li {
    float: none;
    line-height: inherit;
    margin: 0;
    padding: 0;
    border: none;
    border-top: 1px solid #e2e2e2;
  }

  .theme-list ul ul li:last-child {
    border-top: 1px solid #e2e2e2;
  }

  .theme-list ul ul li:nth-child(n+6) {
    display: none;
  }

  .theme-list ul ul li a {
    display: block;
    position: relative;
    padding: 10px 15px;
  }

  .theme-list ul ul li a:after {
    content: "\f105";
    position: absolute;
    top: 50%;
    right: 15px;
    font-size: 14px;
    font-family: FontAwesome;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }

  .theme-list-more {
    margin: 5px 0 20px;
  }

  .theme-list-more a {
    display: block;
    padding: 10px 15px;
    border: 1px solid #ddd;
    font-weight: bold;
    text-align: center;
  }

  .theme-list-more a span {
    display: inline-block;
    position: relative;
    padding: 0 0 0 20px;
  }

  .theme-list-more a span:before {
    content: "\f196";
    position: absolute;
    top: 50%;
    left: 0;
    font-family: FontAwesome;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }

  .theme-btn-top {
    margin: 25px 15px 35px;
  }

  .theme-btn-top a {
    width: 100%;
  }
}