/* =========================================================
   共通
   ========================================================= */
.top-news-section,
.top-column-section {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  clear: both;
}

.top-news-section {
  margin: 80px auto 0;
}

.top-column-section {
  margin: 100px auto 0px;
  padding: 10px 0px 60px;
  background-image: url(/image/bg/case_bg.png);
  text-align: center;
}

.top-news-section > h2,
.top-column-section > h2 {
  /*padding: 20px 0;*/
  margin: 0 0 40px;
  text-align: center;
  color: rgb(0 77 149);
  font-weight: bold;
  font-size: 34px;
  letter-spacing: 5px;
}

/* リンク装飾解除 */
.top-news-section a,
.top-column-section a {
  text-decoration: none;
  color: inherit;
}


/* =========================================================
   ニュース（行形式）
   news.css をベースにTOP向け調整
   ========================================================= */
.top-news-section > h2 {
  background-image: url(/image/bg/news.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 220px auto;
}

.top-news-section #news {
  text-align: center;
  width: 940px;
  margin: 0 auto;
}

.top-news-section #news .items {
  width: 100%;
  margin: 0 auto;
}

/* 1件目の上線 */
.top-news-section #news .items > a:first-child .item {
  border-top: solid 1px rgb(16 107 199);
}

.top-news-section #news .item {
  border-bottom: solid 1px rgb(16 107 199);
  background: #fff;
  width: 100%;
  padding: 20px 0 10px;
  text-align: left;
  box-sizing: border-box;
}

.top-news-section #news .item:hover {
  background: #fafaff;
}

.top-news-section #news .item .image {
  display: inline-block;
  width: 200px;
  vertical-align: top;
}

.top-news-section #news .item .image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.top-news-section #news .item .body {
  padding: 10px 25px;
  text-align: left;
  display: inline-block;
  width: calc(100% - 230px);
  vertical-align: top;
  box-sizing: border-box;
}

.top-news-section #news .item .body .date {
  margin: 0;
  font-size: 14px;
}

.top-news-section #news .item .body .title {
  margin: 0 0 5px;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-wrap: break-word;
  word-break: break-all;
}

.top-news-section #news .item .body .tags p {
  border: solid 1px rgb(0 77 149);
  border-radius: 20px;
  background: #ffffff;
  color: rgb(0 77 149);
  display: inline-block;
  min-width: 115px;
  text-align: center;
  font-size: 13px;
  margin: 2px;
  padding: 2px 10px;
}

/* PCではSP専用要素を非表示 */
.top-news-section .sp_only {
  display: none;
}


/* =========================================================
   コラム（カード形式）
   column.css の #pickup をTOP向けに最適化
   ========================================================= */
.top-column-section > h2 {
  background-image: url(/image/bg/column.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 360px auto;
}

.top-column-section #pickup {
  width: 100%;
  background-repeat: no-repeat;
  background-position: center top;
  /*min-height: 905px;*/
  height: auto;
  /*padding-bottom: 40px;*/
}

.top-column-section #pickup .items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  justify-items: center;
  width: 1000px;
}

.top-column-section #pickup .item {
  border-radius: 10px;
  border: none;
  background: #fff;
  display: inline-block;
  width: 300px;
  margin: 10px;
  vertical-align: top;
  height: 93%;
  box-sizing: border-box;
}

.top-column-section #pickup .item:hover {
  border: solid 2px #5f8bb8;
  margin: 8px;
}

.top-column-section #pickup .item .image {
  height: 200px;
}

.top-column-section #pickup .item .image img {
  width: 100%;
  height: auto;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.top-column-section #pickup .item .body {
  padding: 5px 15px 20px;
  text-align: left;
}

.top-column-section #pickup .item .body .date {
  margin-bottom: 0;
  font-size: 18px;
}

.top-column-section #pickup .item .body .title {
  margin: 0px 0 7px;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-wrap: break-word;
  word-break: break-all;
}

.top-column-section #pickup .item .body .tags p {
  border: solid 1px rgb(0 77 149);
  border-radius: 20px;
  background: #ffffff;
  color: rgb(0 77 149);
  display: inline-block;
  min-width: 115px;
  text-align: center;
  font-size: 13px;
  margin: 2px;
  padding: 2px 10px;
}


/* =========================================================
   ニュース・コラム一覧ボタン
   TOPページの .detail_button と同じ見た目
   ========================================================= */
#news-column-buttons {
  margin-top: 40px;
  text-align: center;
}

#news-column-buttons .detail_button {
  text-align: center;
}

#news-column-buttons .detail_button a {
  text-decoration: none;
}

#news-column-buttons .detail_button p,
#news-column-buttons .detail_button button {
  width: 440px;
  margin: 0 auto;
  padding: 10px;
  font-weight: bold;
  font-size: 21px;
  letter-spacing: 4px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  display: inline-block;
  line-height: 1.4;
  box-sizing: border-box;
  font-family: inherit;
}



/* =========================================================
   タブレット
   ========================================================= */
@media screen and (max-width: 1499px) {
  .top-column-section #pickup {
    width: 100%;
  }
}


/* =========================================================
   スマホ
   ========================================================= */
@media screen and (max-width: 480px) {

  .top-news-section {
    margin-top: 50px;
  }

  .top-news-section > h2,
  .top-column-section > h2 {
    font-size: 27px;
    margin-bottom: 30px;
  }

  /* -------------------------
     ニュース
     ------------------------- */
  .top-news-section > h2 {
    background-size: 170px auto;
  }
  
  .top-news-section #news {
    width: 100%;
    margin: 0;
  }

  .top-news-section #news .items {
    width: 84%;
    margin: 0 auto;
  }

  .top-news-section #news .item {
    text-align: left;
    position: relative;
    padding: 20px 0;
  }

  .top-news-section .pc_only {
    display: none;
  }

  .top-news-section .sp_only {
    display: block;
  }

  .top-news-section #news .item .image {
    width: 40%;
    height: unset;
    display: inline-block;
    vertical-align: top;
  }

  .top-news-section #news .item .image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .top-news-section #news .item .body {
    padding: 10px 0;
    text-align: left;
    width: auto;
    display: block;
  }

  .top-news-section #news .item .half_right {
    width: 56%;
    display: inline-block;
    margin-left: 5px;
    vertical-align: top;
  }

  .top-news-section #news .item .body .title {
    font-size: 16px;
  }

  .top-news-section #news .item .body .tags p {
    font-size: 14px;
    padding: 4px;
    min-width: 120px;
    margin: 3px 10px 3px 0;
  }

  /* -------------------------
     コラム
     ------------------------- */
  .top-column-section > h2 {
    background-size: 270px auto;
  }
  .top-column-section #pickup {
    /*background-image: url("/image/sp/bg/pickup.png");*/
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 100% auto;
    margin-top: 0;
    width: 100%;
    min-height: auto;
    padding-bottom: 30px;
  }

  .top-column-section #pickup .items {
    display: block;
    width: 100%;
  }

  .top-column-section #pickup .item {
    width: 90%;
    margin: 10px auto;
    height: auto;
  }

  .top-column-section #pickup .item .image {
    height: unset;
    margin-bottom: -25px;
  }

  .top-column-section #pickup .item .body {
    padding: 3px 20px;
    text-align: left;
  }

  .top-column-section #pickup .item .body .date {
    font-size: 12px;
    margin-top: 25px;
    margin-bottom: -4px;
  }

  .top-column-section #pickup .item .body .title {
    font-size: 15px;
  }

  .top-column-section #pickup .item .body .tags p {
    font-size: 14px;
    padding: 4px;
    min-width: 120px;
    margin: 3px 10px 3px 0;
  }

  /* -------------------------
     ボタン
     ------------------------- */
  #news-column-buttons {
    margin-top: 30px;
    padding: 0 20px;
  }

  #news-column-buttons .detail_button p,
  #news-column-buttons .detail_button button {
    width: 280px;
    font-size: 17px;
    letter-spacing: 2px;
    padding: 13px;
  }
}