/* Base styles */

html {
  background-color: #eff2f8;
}

body {
  color: #333333;
  font-family: meiryo, helvetica, arial, 'hiragino kaku gothic pro', 'ms pgothic', sans-serif;
  font-size: 13px;
  font-weight: lighter;
  line-height: 1.2;
  margin: 0;
  padding-bottom: 50px;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

img[width], img[height] {
  max-width: none;
}

figure > img {
  display: block;
}

a {
  color: #1b7ebf;
  font-family: meiryo, helvetica, arial, 'hiragino kaku gothic pro', 'ms pgothic', sans-serif;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
}
[dir=rtl] table {
  text-align: right;
}

td, th {
  border-color: #669933;
  border-style: solid;
  padding: 10px;
  border-width: 1px;
}

th {
  border-width: 1px;
  color: #000;
  font-size: 11px;
  font-weight: normal;
  white-space: nowrap;
  text-align: inherit;
  background-color: #eeffee;
}

h1, h2, h3, h4, h5, h6 {
  color: #000;
  font-weight: 400;
}

h1 {
  font-size: 20px;
}

input, label {
  display: inline-block;
  vertical-align: middle;
}

label, select {
  font-size: 12px;
}

input[type="checkbox"] + label {
  margin-left: 5px;
}
[dir=rtl] input[type="checkbox"] + label {
  margin-left: 0;
  margin-right: 5px;
}

input, textarea, select {
  border: 1px solid #ddd;
  border-radius: 2px;
}

input, textarea {
  padding: 10px;
}

textarea {
  height: 100px;
  padding: 7px 10px;
  resize: vertical;
}

textarea, input[type=text] {
  width: 100%;
}

input, textarea, select {
  color: #555;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border: 1px solid #999;
}

input::-ms-clear {
  display: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

::-webkit-input-placeholder {
  color: #ccc;
}

:-ms-input-placeholder {
  color: #ccc;
}

::-moz-placeholder {
  color: #ccc;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 5px 10px;
  min-width: 141px;
  background: url("$assets-zd-dropdown-arrow-svg") no-repeat #fff;
  background-size: 10px 5px;
  background-position: calc(100% - 10px) 50%;
}
select::-ms-expand {
  display: none;
}
[dir=rtl] select {
  background-position: 10px 50%;
}

iframe {
  border: none;
  width: 100%;
}

/* Buttons */
button, [role=button], [type=button], [type=submit] {
  border-radius: 4px;
  border: 1px solid #ddd;
  color: #1b7ebf;
  cursor: pointer;
  display: inline-block;
  padding: 5px 10px;
  position: relative;
  vertical-align: middle;
  white-space: nowrap;
}

a[role=button]:hover {
  text-decoration: none;
}

input[type=submit] {
  background: #444;
  border-color: transparent;
  color: #fff;
  padding: 10px 30px;
}

input[type=submit][disabled] {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
  /* IE 8 */
  opacity: .4;
}

button img, [role=button] img {
  border-radius: 4px;
  margin: 0 5px 0 0;
  height: 20px;
  position: relative;
  top: -1px;
  vertical-align: middle;
}
[dir=rtl] button img, [dir=rtl] [role=button] img {
  margin: 0 0 0 5px;
}


/* Metadata */
.meta, .meta-group {
  color: #ccc;
  display: inline-block;
  font-size: 11px;
}

.meta-group * + *:before {
  content: "\2022";
  font-size: 8px;
  margin: 0 10px;
}

/* Helper classes */
.clearfix:before, .clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

/* ====================================================
   Content frame
   ==================================================== */
main {
  margin: 0 auto;
  padding: 0 20px;
  width: 1200px;
}

.header {
  background: #eff2f8;
}

.header-inner {
  margin: 0 auto;
  padding: 0 20px;
  width: 1200px;
  display: table;
  height: 100px;
}

.logo, .user-nav {
  display: table-cell;
  vertical-align: middle;
}

.logo img {
  max-height: 50px;
}

.user-nav {
  text-align: right;
}
.user-nav > * {
  display: inline-block;
  margin: 0 0 0 25px;
}
[dir=rtl] .user-nav {
  text-align: left;
}
[dir=rtl] .user-nav > * {
  margin: 0 25px 0 0;
}

.language-selector {
  padding: 10px;
  border-radius: 5px;
}

.footer-inner {
  margin: 0 auto;
  padding: 15px 20px;
  width: 100%;
  text-align: center;
}

.footer-inner ul{
  font-size: 0;
}

.footer-inner li{
  display: inline-block;
  font-size: 12px;
  width: auto;
  margin: 0 0 0 25px;
}

.footer-inner a{
  color: #fff;
}

.footer-inner span{
  color: #fff;
}

.footer {
  background: #5ab4bd;
  border-top: 1px solid #eee;
  margin-top: 50px;
}

.footerbar {
  background: #f8f8f8;
  border-radius: 5px;
  margin: 30px 0px;
  padding: 5px 30px 20px;
  font-size: 12px;  
}

/*
 * Column size
 */
.main-column, .side-column {
  display: inline-block;
  vertical-align: top;
}

.main-column {
  width: 600px;
}

.side-column {
  width: 250px;
  margin-left: 45px;
}
[dir=rtl] .side-column {
  margin-left: 0;
  margin-right: 45px;
}


/* ====================================================
   Navigation pages
   ==================================================== */
.help-center-name {
  display: table-cell;
  float: center;
  vertical-align: middle;
  color: #000;
  font-size: 28px;
  font-weight: bold;
}

.help-center-name + .search {
  margin-bottom: 135px;
}

.hrbchelp {
  margin: 20px;
}

.hrbchelp a {
  display: table-cell;
  vertical-align: middle;
  padding: 10px;
  background-color: #72A93B;
  color: #ffffff;
  font-weight: 590;
  text-align: center;
  border-radius:10px;
}

.hrbcsupport-link a:hover {
  text-decoration: none;
}

/* ====================================================
   tab
   ==================================================== */
.ChangeElem_Btn_Content {
  background-color: #eff2f8;
  width: 100%;
  margin: auto;
}

/*タブの中身を初期非表示に*/
.ChangeElem_Panel {
  display: none;
}

/*タブを横並べに*/
.ChangeElem_Btn_Content {
  display: flex;
  justify-content: space-around;
}

/*通常時のタブ装飾*/
.ChangeElem_Btn {
  width: calc(100%/3);
  height: 50px;
  border-bottom: 3px solid #5ab4bd;
  background-color: #d9d9d9;
  color: #333333;
  font-size: 16px;
  text-align: center;
  display: block;
  float: left;
  font-weight: bold;
}

/*カレントとホバー時のタブ装飾*/
.ChangeElem_Btn:hover,
.ChangeElem_Btn.is-active {
  background: #5ab4bd;
  box-sizing: border-box;
  color: #333333;
}

.ChangeElem_Btn:hover {
  opacity: 0.75;
}

.ChangeElem_Panel h1, h2 {
  margin: 30px 30px 5px 30px;
}

.ChangeElem_Panel h3, h4, h5, h6, p {
  margin: 2px 30px 2px 30px;
}

.currentstatus {
  width: 600px;
  height: 100px;
  display: block;
  margin: auto;
}

/* ====================================================
   Error pages
   ==================================================== */
.error-page {
  margin: 0 auto;
  max-width: 500px;
  padding-top: 5%;
}

.error-page h1 {
  font-size: 52px;
  margin-bottom: 0;
}

.error-page h2 {
  font-size: 16px;
  margin-bottom: 5px;
}

.error-page > a {
  display: block;
  margin-top: 25px;
}
