/*

For Corporate Pages (with submenu)

*/

/* common */
.section_bunkyo {
  padding-left: 10% !important;
  padding-right: 10% !important;
}
.section_bunkyo.footer {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: #777 !important;
}
.center {
  text-align: center;
}
.section_bunkyo h3 {
  font-size: 2em;
}
.section_bunkyo h4 {
  font-size: 1.6em;
}
.section_bunkyo h5 {
  font-size: 1.2em;
}
.section_bunkyo a {
  text-decoration: underline;
}
.section_bunkyo a.center {
  display: block;
  clear: both;
  text-align: center;
  width: 15em;
  margin: 2em auto;
}
a.btn {
  border: none !important;
  text-decoration: none !important;
  background: var(--idk-blue);
  padding: 0.5em;
  font-size: 1em !important;
  color: #fff;
}
a.btn_small {
  text-decoration: none !important;
}
a.btn.radius {
  border-radius: 5rem;
}
a.btn:hover {
  background: var(--idk-darkblue) !important;
  color: #fff;
}
/* download */
.block_dl h5 {
  margin: 1em 0 0.5em;
}
.block_dl table {
  font-size: 0.9em;
}
.block_dl table,
.block_dl tr,
.block_dl td {
  border: 0px solid #000;
  background: transparent;
}
.block_dl td {
  line-height: 1rem;
  padding: .25rem;
}
.block_dl table a::before {
  content: '\f1c1';
  font-family: "Font Awesome 5 Free";
  margin-right: 0.4em;
}
/* link */
.block_link ul {
  display: table;
  table-layout: fixed;
  width: 100%;
  margin: 0 auto 0;
  list-style: none;
}
.block_link ul li {
  display: table-cell;
  text-align: center;
}
.block_link ul a {
  display: inline-block;
  width: 95%;
}
/* news */
.block_news {
  margin: 2em auto;
}
.block_news h6 {
  color: var(--idk-red);
  background: #fff0f0;
  text-align: center;
  font-size: 1.2em;
  line-height: 1.8em;
  margin: 0;
}
div.news {
  overflow-y: scroll;
  height: 10em;
  border: 0px solid #000;
  margin: 0;
}
div.news .dl_whatsnew {
  margin: 0;
}
div.news .dl_whatsnew a {
  padding: 0.3em 0;
}
/* tab background */
.tabbg {
  height: 3em !important;
  background: #707070 !important;
}
/* tab */
.tab_bunkyo {
  box-shadow: none;
}
#cs-content .x-tab-content {
  border: none;
  box-shadow: none;
  overflow: hidden;
}
#cs-content .x-nav-tabs {
  width: 80%;
  margin: 0 auto;
  background: #707070;
  border: 0px;
  font-weight: bold;
  box-shadow: none;
  margin-bottom: 0em;
}
#cs-content .x-nav-tabs > li {
  height: 3em;
  border: none;
  border-bottom: solid 0.4em #707070;
}
#cs-content .x-nav-tabs > li > a {
	background: transparent;
	padding: 0.75em;
	border: 0;
	text-decoration: none;
  font-size: 1.2em;
  line-height: 1em;
  white-space: nowrap;
}
#cs-content .x-nav-tabs > li > a:hover, #cs-content .x-nav-tabs > .active > a:hover {
  color: var(--idk-blue);
}
#cs-content .x-nav-tabs > li > a, #cs-content .x-nav-tabs > .active > a {
  color: white;
}
#cs-content .x-nav-tabs > .active {
  border-bottom: solid 0.4em var(--idk-blue);
}
/* tab contents COMMON */
#cs-content .x-tab-content .x-tab-pane {
  padding: 4% 0 !important;
}
.tab_bunkyo h5, .tab_bunkyo h6 {
  margin-top: 0;
}
.new::after {
  content: 'NEW';
  display: inline-block;
  color: #fff;
  background: var(--idk-red);
  font-size: 0.9em;
  font-weight: bold;
  line-height: 1em;
  padding: 0.2em;
  margin-left: 0.5em;
}
span.repletion {
  font-size: 0.8em;
  line-height: 1.2em;
}
.tab_bunkyo hr:not(.x-gap), ._main hr {
  border-top: 1px solid var(--idk-blue);
  margin: 2em 0;
}
ul.ul_bunkyo {
  list-style: none;
  margin-left: 0;
}
ul.ul_bunkyo > li::before {
  content: '・';
  color: var(--idk-blue);
}
.img_right {
  float: right;
}
img._middle {
  width: 40%;
  padding: 0 2vw;
}
img._small {
  width: 30%;
  padding: 0 5vw;
}
table.table_blue {
  font-size: 0.9em;
}
th.nowrap, td.nowrap {
  white-space: nowrap;
}
table.nomargin {
  margin-bottom: 0;
}
table.table_blue,
table.table_blue th,
table.table_blue td {
  border: 1px solid #ccc;
}
.table_blue th {
  background: #dfebf6;
  color: #085178;
  font-weight: normal;
  white-space: nowrap;
}
.table_blue th.title {
  background: #085178;
  color: #fff;
}
.table_blue th .new::after {
  margin-left: 0;
}
.table_blue td.thumb {
  width: 15%;
  text-align: center;
}
.thumb img {
  margin: 0;
  transition: .2s ease;
  width: 100%;
}
.thumb a img:hover {
  opacity: 0.7;
}
table.table_gray {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
.table_gray th,
.table_gray td {
  border-top: 1px dotted #ccc;
}
.table_gray th {
  background: var(--idk-gray);
  color: #666;
  font-weight: normal;
  white-space: nowrap;
}
div.detail {
  border: 1px dotted #096277;
  background: #faf8f2;
  font-size: 0.9em;
  padding: 1em;
  margin-bottom: 3em;
}
.detail h6 {
  background: #095277;
  color: #fff;
  border-bottom: 3px solid #0075c2;
  padding: 0.5em 0.8em 0.4em;
}
.detail .item {
  background: transparent;
  color: #0a5376;
  border-bottom: 1px dotted #0a5376;
  padding: 0;
}
#cs-content .x-tab-content .x-tab-pane.caution {
  padding: 4% 2% !important;
}
.caution ul > li {
  font-size: 0.9em;
}
.caution li::before {
  margin-left: -1em;
}
.note {
  display: block;
  border: 1px solid #ccc;
  line-height: 1.2rem;
  padding: 0.5em 1em;
}

/*** bunkyo_footer ***/
#ubermenu-footer_education-140 a .ubermenu-target-title {
  text-decoration: underline;
}
#ubermenu-footer_education-140 a.ubermenu-target:hover {
  color: var(--image-color);
}
#ubermenu-footer_education-140 .ubermenu-has-submenu-stack {
  margin-bottom: 1em;
}

/*** RESPONSIVE ***/
@media (max-width:979px) {
  .x-nav-tabs.four-up>li {
    float: left;
    width: 25% !important;
  }
  #cs-content .x-nav-tabs {
    width: 100%;
  }
}
@media(max-width: 767px) {
  .section_bunkyo {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .table_blue th,
  .table_gray th {
    white-space: normal;
  }
}
@media (max-width:480px) {
  #cs-content .x-nav-tabs > li > a {
    padding: .75em .25em;
  }
  .ubermenu-footer_education .ubermenu-target.ubermenu-item-layout-default {
    padding: 0.25em 0.5em;
  }
  .ubermenu-footer_education .ubermenu-submenu-type-stack {
    width: fit-content !important;
    margin: 0 2em !important;
  }
  .ubermenu-footer_education a {
    display: inline-block !important;
  }
}

