/* ====================
Layout
 ==================== */
/* ====================
Project
 ==================== */
.p-words {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1400px;
}

.p-words__container {
  position: relative;
  margin: 0 auto;
  padding: 32px 0;
  width: 73.143%;
}

.p-words__inner {
  position: relative;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.new {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  margin: 0 auto 52px;
  width: 100%;
}

.new::before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #000;
  width: 100%;
  height: 100%;
  content: "";
}

.new dt {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: #000;
  padding: 6px 10px;
  width: 110px;
  min-height: 35px;
  color: #fff;
  line-height: 1.5;
}

.new dd {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0px;
  flex: 1 1 0;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 6px 20px;
  min-width: 0;
  color: #000;
  line-height: 1.5;
  text-align: left;
}

.anchor {
  position: relative;
  margin: 0 auto 48px;
  width: 100%;
}

.anchor ul, .anchor ol {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.anchor li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  background: url("../img/words/btn_base.png") no-repeat center;
  background-size: contain;
  width: 72px;
  height: 72px;
  color: #000;
  font-size: 20px;
}

[data-ua="pc"] .anchor li:hover {
  opacity: .6;
}

.anchor li.none {
  opacity: .5;
  pointer-events: none;
}

.jiten {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

.jiten > li {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

.jiten > li + li {
  margin-top: 10px;
}

.jiten_list {
  position: relative;
  width: 100%;
}

.jiten_list > li {
  background: #000;
  padding: 35px;
  text-align: left;
}

.jiten_list > li + li {
  margin-top: 10px;
}

.jiten_list > li.is-new::after {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  background: url("../img/words/new.png") no-repeat right top;
  background-size: contain;
  width: 80px;
  height: 80px;
  content: "";
}

.jiten_in {
  display: block;
  position: relative;
}

.jiten_name {
  position: relative;
  margin: 0 auto 26px;
  width: 100%;
  font-size: 32px;
}

.jiten_text {
  position: relative;
  margin: 0 auto;
  width: 100%;
  font-size: 16px;
  line-height: 1.7;
}

.jiten_img {
  position: relative;
  margin-left: 30px;
  width: 340px;
}

/* ====================
COMPONENT
 ==================== */

@media screen and (max-width: 960px) {
  .p-words__container {
    padding: 12px 0;
    width: 90.667%;
  }
  .p-words__inner {
    text-align: left;
  }
  .new {
    margin-bottom: 28px;
  }
  .new dt {
    padding: 6px 5px;
    width: 70px;
    min-height: 15px;
    font-size: 13px;
  }
  .new dd {
    padding: 6px 10px;
    font-size: 13px;
  }
  .anchor {
    margin-bottom: 15px;
    max-width: 300px;
  }
  .anchor ul, .anchor ol {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .anchor li {
    margin: 0 5px 10px;
    width: 42px;
    height: 42px;
    font-size: 12px;
  }
  .jiten_list > li {
    padding: 15px;
  }
  .jiten_list > li.is-new::after {
    width: 40px;
    height: 40px;
  }
  .jiten_name {
    margin-bottom: 10px;
    font-size: 18px;
  }
  .jiten_text {
    font-size: 12px;
  }
  .jiten_img {
    margin: 20px auto 0;
    width: 100%;
  }
}

@media screen and (min-width: 961px) {
  .anchor li + li {
    margin-left: 10px;
  }
  .jiten_list > li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
  }
  .jiten_in {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 0px;
    flex: 1 1 0;
    min-width: 0;
  }
}
