@charset "utf-8";

/* ----------------------------------------------------------------------------------------------------
*  common
* ----------------------------------------------------------------------------------------------------*/
.img-main img {
  width: 100%;
}
.date{
  position: relative;
}
.date::before {
  content: "";
  background: url("/hmail/watch/img/ico_date.svg") no-repeat center/contain;
  position: absolute;
  transform: translateY(-50%);
  left: 0;
}

/* 目次 */
.contents__primary-list a {
  color: #000;
}

/* 銘柄リスト */
.ly-contents__companylist .button-box .button-news {
  border: 1px solid #5a5a5a;
  color: #333;
}
.ly-contents__companylist .button-box .button-news:hover {
  background: #5a5a5a;
  color: #fff;
}
.ly-contents__companylist .button-box .button-news::before {
  border-color: transparent#5a5a5a;
}


/* ----------------------------------------------------------------------------------------------------
*  PC
* ----------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 768px),
print {
  h1.heading01 {
    margin-bottom: 5px;
  }
  .date{
    font-size: 15px;
    padding-left: 23px;
  }
  .date {
    margin-right: 10px;
  }
  .date::before {
    width: 20px;
    height: 20px;
    top: 60%;
  }
  .author {
    margin: 20px 0 30px;
  }
  
  /* 目次 */
  .contents__primary-list+li {
    margin-top: 18px;
  }
  .contents__primary-list .company {
    font-size: 14px;
  }
  
  /* 関連記事 */
  .box--article h2 {
    font-size: 16px;
  }
  .box--article ul li {
    margin-bottom: 7px;
  }
  .box--article ul li:last-child {
    margin-bottom: 0;
  }
  /*account-button*/
  .account-button__btn {
    font-size: 22px;
    width: 70%;
    display: block;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    position: relative;
    margin: 0 auto;
    line-height: 1.6;
    -webkit-transition: .35s;
    transition: .35s;
    border: none;
    color: #ffffff;
    background-color: #e60000;
    padding: 8px 40px 8px 30px;
    box-shadow: 0 4px 0 0 #990303;
    border-radius: 7px;
  }
  .account-button__btn:hover {
    opacity: 0.7;
  }
  .account-button__btn:after {
    border-top: 3px solid #ffffff;
    border-right: 3px solid #ffffff;
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 3px;
  }

  /* 銘柄リスト */
  .ly-contents__companylist .heading03 {
    margin-bottom: 10px;
  }
  .ly-contents__companylist .button-box {
    margin-bottom: 20px;
  }
  .ly-contents__companylist .button-box:last-of-type {
    margin-bottom: 0;
  }
  .ly-contents__companylist .button-box a {
    width: 240px;
  }
  .ly-contents__companylist .button-box .button-news {
    width: 400px;
  }
  
  .box-2column.w43 {
    width: calc(43% - 12.5px);
  }
  .box-2column.w57 {
    width: calc(57% - 12.5px);
  }
  .box-3column.w37 {
    width: calc((100% - 40px) * 0.37);
  }
  .box-3column.w25 {
    width: calc((100% - 40px) * 0.25);
  }
  .box-3column.w35 {
    width: calc((100% - 40px) * 0.35);
  }
  .box-3column.w30 {
    width: calc((100% - 40px) * 0.3);
  }
  .caption {
    font-size: 14px;
  }
}


/* ----------------------------------------------------------------------------------------------------
*  SP
* ----------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 767.9px) {
  h1.heading01 {
    margin-bottom: 0.5rem;
  }
  .date {
    font-size: 1.4rem;
    padding-left: 2.8rem;
  }
  .date {
    margin-right: 1rem; 
  }
  .date::before {
    width: 2.5rem;
    height: 2.5rem;
    top: 50%;
  }
  .author {
    margin: 1.6rem 0 ;
  }
  
  /* 目次 */
  .contents__primary-list+li {
    margin-top: 1rem;
  }
  .contents__primary-list .company {
    font-size: 1.4rem;
  }
  
  /*account-button*/
  .account-button__btn {
    border: none;
    background-color: #e60000;
    color: #ffffff;
    padding: 1.8rem 2rem 1.8rem 1rem;
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
    display: block;
    margin: 1rem auto;
    text-align: center;
    border-radius: 8px;
    line-height: 1.5;
    -webkit-transition: .35s;
    transition: .35s;
    position: relative;
    box-shadow: 0 4px 0 0 #990303;
  }
  .account-button__btn:hover {
    opacity: 0.7;
  }
  .account-button__btn:after {
    border-top: 0.3rem solid #ffffff;
    border-right: 0.3rem solid #ffffff;
    content: '';
    position: absolute;
    top: 50%;
    right: 1.1rem;
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
    display: block;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 0.3rem;
  }
  
  img.w60 {
    max-width: 60%;
  }
  img.w70 {
    max-width: 70%;
  }
  img.w80 {
    max-width: 80%;
  }

  /* 銘柄リスト */
  .ly-contents__companylist .heading03 {
    margin-bottom: 1rem;
  }
  .ly-contents__companylist .button-box {
    margin-bottom: 2rem;
  }
  .ly-contents__companylist .button-box:last-of-type {
    margin-bottom: 0;
  }
  
  .caption {
    font-size: 1.3rem;
  }
}
