/*---------------------------
dictionary 一覧
---------------------------*/
.dictionary-inner{
  margin: 0 auto;
  padding: 0 16px;
}

.index-list{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 13px;
}

.index-item{
  width: calc((100% - 22px) / 3);
  height: 60px;
  margin-bottom: 11px;
}

.index-item .dictionary-tab{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #4169E1;
  border-top: 4px solid #4169E1;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
  transition: all .3s;
}

.index-item .dictionary-tab.is-active{
  pointer-events: none;
  background-color: #fff;
  color: #4169E1;
  cursor: auto;
}

.index-item .dictionary-tab:hover{
  background-color: #fff;
  color: #4169E1;
}

.dictionary-item{
  display: none;
}

.dictionary-item.is-active{
  display: block;
}

.dictionary-list{
  padding: 30px 20px;
  background-color: #fff;
}

.dictionary-link{
  position: relative;
  padding-left: 16px;
}

.dictionary-link::before{
  position: absolute;
  content: "";
  width: 8px;
  height: 8px;
  background-color: #4169E1;
  top: 7px;
  left: 0;
}

.dictionary-link:not(:last-of-type){
  margin-bottom: 16px;
}

.dictionary-link a{
  font-size: 14px;
  text-decoration: underline;
}

.dictionary-link.detail a{
  position: relative;
  display: inline-block;
  padding-right: 80px;
  transition: all .3s;
}

.dictionary-link.detail a::after{
  position: absolute;
  content: "詳細記事";
  top: calc(50% - 12px);
  right: 0;
  margin-left: 8px;
  padding: 3px 10px;
  background-color: #00EBDF;
  border-radius: 99px;
  font-size: 12px;
}
  
.dictionary-link a:hover{
  text-decoration: none;
}
@media print, screen and (min-width: 768px){
  .dictionary-link-group{
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(8, auto);
    grid-template-columns: repeat(3,auto);
    grid-gap: 12px 12px;
    margin-bottom: 12px;
  }
}

@media print, screen and (min-width: 960px){
  .index-list{
    margin-bottom: 0;
  }
  
  .index-item{
    width: calc((100% - 80px) / 9);
    margin-bottom: 0;
  }
}

@media print, screen and (min-width: 1280px){
  .dictionary-link-group{
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(6, auto);
    grid-template-columns: repeat(4,auto);
    grid-gap: 24px 24px;
    margin-bottom: 24px;
  }

  .dictionary-link:not(:last-of-type){
    margin-bottom: 0;
  }
  
  .dictionary-link{
    padding-left: 14px;
  }

  .dictionary-link::before{
    width: 6px;
    height: 6px;
    top: 10px;
  }
}
@media print, screen and (min-width: 1600px){
  
  .dictionary-inner{
    max-width: 1576px;
    padding: 0 20px;
  }

  .index-list{
    grid-column-gap: 14px;
  }

  .index-item{
    width: auto;
    height: 58px;
    margin: 0;
    flex-grow: 1;
  }
  
  .index-item:last-of-type{
    margin-right: 0;
  }

  .index-item .dictionary-tab{
    padding: 0 0 5px;
    border-top: 5px solid #4169E1;
    font-size: 18px;
  }

  .index-item .dictionary-tab br{
    display: none;
  }

  .dictionary-list{
    padding: 70px 80px;
  }

  .dictionary-link a{
    font-size: 16px;
    transition: all .3s;
  }
  
  .dictionary-link.detail a{
    padding-right: 100px;
  }

  .dictionary-link.detail a::after{
    font-size: 16px;
    top: calc(50% - 16px);
  }
}



/*---------------------------
dictionary 詳細
---------------------------*/

.dictionary-single .dictionary-heading{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  background-color: #4169E1;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.dictionary-single .content-wrapper{
  padding: 20px 16px 18px;
  background-color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.dictionary-single .back-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin: 30px 0 10px;
  background-color: #4169E1;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: all .3s;
}
  
.dictionary-single .back-btn:hover{
  background-color: #213571;
}

.dictionary-single-ttl{
  display: flex;
  align-items: center;
  height: 30px;
  margin-bottom: 16px; 
  padding-left: 10px;
  border-left: solid 10px #4169E1;
  border-bottom: solid 2px #4169E1;
  color: #4169E1;
  font-size: 15px;
  font-weight: 500;
}

.txt-block + .dictionary-single-index{
  margin-top: 30px;
}

.dictionary-single-index-list{
  position: relative;
  z-index: 1;
}

.dictionary-single-index:has(.dictionary-single-index-list:empty){
  display: none;
}

.dictionary-single-index-item{
  padding-left: 10px;
}

.dictionary-single-index-item:not(:last-of-type){
  margin-bottom: 12px;
}

.dictionary-single-index-item a{
  color: #4169E1;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  transform: all .3s;
}
  
.dictionary-single-index-item a:hover{
  text-decoration: none;
}

.dictionary-single-section:not(:first-of-type){
  margin-top: -50px;
  padding-top: 80px;
}

.dictionary-single-ttl + .item-txt{
  padding-left: 10px;
}

.dictionary-single-section .item-txt ul{
  margin: 8px 0;
}

.dictionary-single-section .item-txt li{
  position: relative;
  margin-left: -1em;
  padding-left: 1em;
  text-indent: 1em;
}

.dictionary-single-section .item-txt li::before{
  position: absolute;
  content: "・";
  top: 0;
  left: 0;
}

@media print, screen and (min-width: 1024px){
  .dictionary-single-section:not(:first-of-type){
    margin-top: -80px;
    padding-top: 140px;
  }
}

@media print, screen and (min-width: 1600px){
  .dictionary-single .dictionary-heading{
    height: 100px;
    font-size: 26px;
  }

  .dictionary-single .content-wrapper{
    padding: 70px 120px 90px;
    font-size: 18px;
  }

  .dictionary-single .back-btn{
    width: 350px;
    height: 50px;
    margin: 50px auto;
    font-size: 16px;
  }

  .dictionary-single-ttl{
    height: 42px;
    margin-bottom: 20px; 
    padding-left: 20px;
    font-size: 20px;
  }

  .txt-block + .dictionary-single-index{
    margin-top: 60px;
  }

  .dictionary-single-index-item{
    padding-left: 0;
  }
  
  .dictionary-single-index-item:not(:last-of-type){
    margin-bottom: 16px;
  }

  .dictionary-single-index-item a{
    font-size: 18px;
  }

  .dictionary-single-ttl + .item-txt{
    padding-left: 0;
  }

  .dictionary-single-section .item-txt ul{
    margin: 14px 0;
  }
}