﻿/* news tab */

#news_tabbox {
  clear: both;
  float: left;
  width: 720px;
  font-size: 13px;
  line-height: 1.4em;
}

#news_frame01, #news_frame02, #news_frame03 {
  overflow: auto;
/*  height: 255px;
  height: 325px;
  height: 462px;
  height: 310px;
  height: 378px;
  height: 532px;
  height: 602px; */
  height: 668px;
  width: 700px;
  margin: 10px 10px 3em;
}

#news_tabbox table {
  font-size: 13px;
  line-height: 1.4em;
}

#news_tabbox table th {
  padding: 0.25em 1em 0.5em 0;
  vertical-align: top;
  text-align: left;
  width: 1em;
  white-space: nowrap;
}

#news_tabbox table tr td {
  padding: 0.25em 0.5em 0.5em 0;
  vertical-align: top;
  position: relative;
}

#news_tabbox table tr td > a {
  text-decoration: underline;
}

p.tabs {
  margin: 0;
  margin: 20px 0 0;
  padding: 0;
}

p.tabs a {
  display: block;
  float: left;
  margin-right: 2px;
  width: 200px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  color: #27A9E0;
  border-radius: 0.5em 0.5em 0 0;
  border: 1px solid #51A5F3;
  border-bottom: 0;
  background: #DCECFF;
}

p.tabs a.tab1, p.tabs a.tab2, p.tabs a.tab3 {
  background: #DCECFF;
  color: #27A9E0;
  text-decoration: none;
}

p.tabs a.tab1:hover, p.tabs a.tab1.on,
p.tabs a.tab2:hover, p.tabs a.tab2.on,
p.tabs a.tab3:hover, p.tabs a.tab3.on {
  color: #FFFFFF;
  background: linear-gradient(to bottom, rgba(81,165,243,1) 50%,rgba(73,148,218,1) 100%);
  text-decoration: none;
}

p.tabstx {
  float: right;
  font-size: 12px;
}

.tabtx1,.tabtx2,.tabtx3 {
  position: absolute;
  right: 2em;
  bottom: 1em;
  z-index: 1;
  padding-left: 1.5em;
  background: url(../images/ico_arrow_s.png) no-repeat left center;
}

.tabtx1 a,.tabtx2 a,.tabtx3 a {
  color: #333333;
}

div.tab {
  overflow: auto;
  clear: left;
}

div#tab1, div#tab2, div#tab3 {
  border: 1px solid #2E74E5;
  background-color: #FFF;
  border-radius: 0 0.5em 0.5em 0.5em;
  position: relative;
}

div.tab p {
  margin: 0.5em;
}

/*
#news_tabbox a:link, #news_tabbox a:visited {
  text-decoration: none;
}
#news_tabbox a:hover, #news_tabbox a:active {
  color:#333333;
  text-decoration:underline;
}
*/

@media screen and (max-width: 767px) {
  #news_tabbox {
    float: none;
    width: 100%;
    margin-top: -10px;
  }
  #news_frame01, #news_frame02, #news_frame03 {
    height: auto;
    width: 97%;
  }
  p.tabs a {
    /*width: 48%;*/
    width: 32%;
    /* height: 40px; */
    height: 50px;
    line-height: 1.3;
    /* padding: 0.5em 0 1em; */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #news_tabbox table th {
    display: block;
  }
  #news_tabbox table tr td {
    display: block;
  }
}
