@charset "utf-8";
/* CSS Document */

@media screen and (max-width: 768px) {
  /* 768px 以下の画面サイズに適用されるスタイル */

  #contents .box2_b {
    margin-right: 0;
    width: 100%;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1), /* 上 */ 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0 15px 15px;
    box-sizing: border-box;
    height: auto;
    margin-bottom: 30px;
  }
  #contents .box2_b h2,
  #contents .new_material h2 {
    font-size: 2rem;
    border-bottom: 1px solid #2d9b49;
    background: none;
    padding-bottom: 10px;
    margin-bottom: 10px;
    box-sizing: inherit;
  }
  #contents .box2_b p {
    line-height: 2.7rem;
    margin-bottom: 15px;
    padding-right: 10px;
  }
  .link_btn {
    background-color: #2d9b49;
    color: white;
    border-radius: 25px;
    text-align: center;
    padding-left: 0px !important;
    position: relative;
    width: 96%;
    font-size: 1.6rem;
    padding-top: 5px;
    padding-bottom: 5px;
    box-sizing: border-box;
  }
  #contents {
    margin-bottom: 30px;
  }
  .link_btn {
    /* ▼重要：三角をこのボタン基準で配置するために必要です */
    position: relative;

    /* 三角が文字に被らないように右側に少し余白を作ります */
    padding-right: 20px;
  }

  /* 三角形を作る設定 */
  .link_btn::after {
    content: "";
    position: absolute;
    top: 50%; /* 上から50%の位置 */
    right: 15px; /* 右端からの距離（調整してください） */
    transform: translateY(-50%); /* 正確な上下中央配置 */

    /* ▼ここからが三角形を作る魔法の記述 */
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 6px; /* 上 右 下 左 の太さ */
    border-color: transparent transparent transparent #fff; /* 左側の線だけ白くする＝右向き三角 */
  }
  #contents .related_link h4 {
    width: 100%;
    font-size: 1.6rem;
    font-weight: bold;
  }
  #contents .new_material dl {
    width: 100%;
  }
  #contents .new_material dl dt {
    float: none;
    width: 100%;
    margin-left: 15px;
    margin-bottom: 10px;
    font-size: 1.6rem;
    height: auto;
  }
  #contents .new_material .btn {
    float: left;
    width: 100%;
    margin-top: 10px;
    color: inherit;
  }
  #contents .new_material dl {
    font-size: 1.6rem;
  }
  #contents .new_material dl dd {
    margin-left: 25px;
    margin-bottom: 10px;
  }
  #contents .related_link ul li,
  #lnav_others li {
    float: none;
    margin-bottom: 20px;
  }
  #contents .related_link ul li a,
  #lnav_others a {
    color: inherit;
    background: url(../../../img/150625/arrow_pic_002.png) no-repeat left 4px;
    padding: 0 0 0 15px;
    font-size: 1.6rem;
    width: 100%;
  }
  #contents .related_link {
    border: none;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
  }
  aside {
    display: block;
    width: 96%;
    float: inline-end;
    margin-bottom: 40px;
  }
  aside > div > h4,
  #lnav,
  #news_pdf {
    display: none;
  }
  aside div {
    border: none;
  }
  #container aside #stock_info p a,
  #container aside #calender ul li a {
    border: 1px solid #2d9b49;
  }
  #lnav_others a:hover {
    text-decoration: none;
  }
  .pcbr {
    display: none;
  }
  #container aside #stock_info p a span {
    font-size: 1.4rem;
    margin-left: 10px;
  }
  #contents .new_material .btn .download {
    color: inherit;
    text-decoration: none !important;
  }
}
