@charset "utf-8";

/* ----------------------------------------------------------------------------------------------------
*  common
* ----------------------------------------------------------------------------------------------------*/
.date {
  position: relative;
}
.date::before {
  content: "";
  background: url("/learn/article/img/ico_date.svg") no-repeat center/contain;
  position: absolute;
  transform: translateY(-50%);
  left: 0;
}

.js-toggle-trigger {
  margin-bottom: 0;
  cursor: pointer;
  position: relative;
}
.js-toggle-trigger::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  content: "＋";
  display: inline-block;
  margin-left: 10px;
  vertical-align: 1px;
  right: 0;
}
.js-toggle-trigger.is-active::after {
  content: "－";
}
.list-contents ul .contents__primary-list:last-child {
  margin-bottom: 0;
}
.list-contents ul .contents__primary-list > p a {
  color: #000;
  text-decoration: none;
}
.list-contents ul .contents__primary-list > p a.link-anchor {
  text-decoration: underline;
}
.list-contents ul .contents__primary-list > p a:hover {
  color: #876528;
}

.button-title{
  font-weight: bold;
}

.heading_figure {
  font-weight: bold;
  text-align: center;
}
figure figcaption {
  font-weight: 500;
  text-align: left;
}
.note-text_figure {
  margin: 0;
}


/* ----------------------------------------------------------------------------------------------------
*  PC
* ----------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 768px),
print {
  
  .date {
    font-size: 15px;
    padding-left: 23px;
  }
  .date::before {
    width: 20px;
    height: 20px;
    top: 60%;
  }

  .mainvisual img{
    max-width: 100%;
  }
  
  .list-contents {
    margin: 30px 0 0;
    max-width: 700px;
  }
  .js-toggle-panel {
    margin-top: 20px;
  }
  .list-contents ul .contents__primary-list {
    margin-bottom: 18px;
  }
  
  .button-block__list{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .button-block__list:nth-of-type(2){
    margin-top: 20px;
  }
  .button-title {
    position: relative;
    width: 320px;
    font-size: 18px;
    margin-right: 4px;
    padding-left: 13px;
  }
  .button-title::before {
    content: "";
    position: absolute;
    top: calc(50% - 5px);
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #876528;
    vertical-align: middle;
  }
  .button-block__list .button-box{
    width: 940px;
  }
  .button-box .button:last-child{
    margin-right: 0;
  }

  .flex-block{
    display: flex;
    justify-content: space-between;
  }
  .flex-block .flex-box:nth-of-type(1){
    width: calc(60% - 12.5px);
  }
  .flex-block .flex-box:nth-of-type(2){
    width: calc(40% - 12.5px);
  }
  .heading_figure {
    font-size: 20px;
    margin-bottom: 10px;
  }
  figure.box-image {
    padding: 0;
  }
  figure.box-image img {
    max-width: 100%;
    width: auto;
  }
  figure figcaption {
    font-size: 14px;
    margin-top: 12px;
  }
}


/* ----------------------------------------------------------------------------------------------------
*  SP
* ----------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 767.9px) {
  
  .date {
    font-size: 1.4rem;
    padding-left: 2.8rem;
  }
  .date::before {
    width: 2.5rem;
    height: 2.5rem;
    top: 50%;
  }
  
  .list-contents {
    margin: 3rem 0 0;
  }
  .js-toggle-panel {
    margin-top: 1.5rem;
  }
  .list-contents ul .contents__primary-list {
    margin-bottom: 2rem;
  }
  
  .button-block__list:nth-of-type(2){
    margin-top: 2rem;
  }
  .button-title {
    position: relative;
    font-size: 1.8rem;
    padding-left: 1.3rem;
  }
  .button-title::before {
    content: "";
    position: absolute;
    top: calc(50% - 5px);
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #876528;
    vertical-align: middle;
  }
  
  .heading_figure {
    font-size: 2rem;
    margin: 1.5rem 0 1rem;
    line-height: 1.5;
  }
  figure.box-image img {
    width: 100%;
  }
  figure figcaption {
    font-size: 1.4rem;
    margin-top: 1rem;
  }
}
