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

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  width: 100%;
}

body {
  width: 100%;
  margin: 0 auto;
}

.header {
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  height: 80px;
  z-index: 99;
  background-color: #fff;
}

.sidebar {
  position: fixed;
  left: 0;
  top: 80px;
  z-index: 99;
  background-color: #ffffff;
  height: 100%;
  width: 80px;
}

.main {
  width: calc(100% - 80px);
  width: -webkit-calc(100% - 80px);
  margin-left: 80px;
  margin-top: 80px;
}

.footer {
  width: calc(100% - 80px);
  width: -webkit-calc(100% - 80px);
  margin-left: 80px;
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #1e1e1e;
}

.nav {
  float: right;
  margin-right: 45px;
  position: relative;
  height: 80px;
}

.nav01,
.nav02,
.nav03,
.nav04,
.nav05,
.nav06,
.nav07 {
  padding: 0 20px;
  display: inline-block;
  height: 80px;
}

.nav01 > p,
.nav02 > p,
.nav03 > p,
.nav04 > p,
.nav05 > p,
.nav06 > p,
.nav07 > p {
  font-size: 110%;
  position: relative;
  display: inline-block;
  line-height: 1.5em;
  background-color: #fff;
  font-weight: bold;
  color: #000;
  margin-top: 2em;
  transition: 0.2s;
  -webkit-transition: 0.2s;
}

.nav01:hover p,
.nav02:hover p,
.nav03:hover p,
.nav04:hover p,
.nav05:hover p,
.nav06:hover p,
.nav07:hover p {
  color: #e6d104;
  transition: 0.2s;
  -webkit-transition: 0.2s;
}

.seco_nav {
  display: block;
  height: 0;
  position: absolute;
  top: 70px;
  background-color: #000;
  padding: 0 10px;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  overflow: hidden;
}

.nav02:hover + .seco02,
.seco02:hover {
  height: calc(14em + 20px);
  height: -webkit-calc(14em + 20px);
  padding: 20px 40px 20px 20px;
  transition: 0.2s;
  -webkit-transition: 0.2s;
}

.seco02 > li > a:hover,
.seco03 > li > a:hover,
.seco05 > li > a:hover {
  color: #e6d104;
  transition: 0.2s;
  -webkit-transition: 0.2s;
}

.nav03:hover + .seco03,
.seco03:hover {
  height: calc(8em + 20px);
  height: -webkit-calc(8em + 20px);
  padding: 20px 40px 20px 20px;
  transition: 0.2s;
  -webkit-transition: 0.2s;
}

.nav05:hover + .seco05,
.seco05:hover {
  height: calc(10em + 20px);
  height: -webkit-calc(10em + 20px);
  padding: 20px 40px 20px 20px;
  transition: 0.2s;
  -webkit-transition: 0.2s;
}

.seco_nav > li {
  list-style-type: none;
  line-height: 2em;
}

.seco_nav > li > a {
  color: #fff;
  transition: 0.2s;
  -webkit-transition: 0.2s;
}

.seco02 {
  left: 100px;
}

.seco03 {
  left: 210px;
}

.seco05 {
  left: 420px;
}

h1 {
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  background-color: #000;
  line-height: 80px;
  color: #fff;
  margin-top: 0;
  padding: 25px 0;
  font-size: 165%;
  letter-spacing: 2px;
  display: block;
  height: 320px;
}

h1 > span {
  font-size: 60%;
  padding-bottom: 1em;
}

.vertical {
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  margin: 0;
}

.e-name {
  transform: rotate(180deg);
  font-family: Arial, Helvetica, "sans-serif";
  font-size: 71%;
  line-height: 80px;
  margin: 0;
  letter-spacing: 1px;
  padding: 25px 0;
  display: inline-block;
}

.con_link {
  font-size: 100%;
  color: #000;
  line-height: 80px;
  padding: 5px 0;
  display: block;
  height: 7em;
}

.mark {
  background-image: url("../img/yel3.png");
  background-repeat: repeat-x;
  background-position: bottom;
}

.v_mark {
  position: relative;
}

.v_mark:before {
  position: absolute;
  top: 0;
  left: 51%;
  background-color: #e6d104;
  content: "";
  width: 1em;
  height: 100%;
  z-index: -1;
}

.com_link_box {
  margin-bottom: 35px;
  width: 950px;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 1px solid #3f3f3f;
  border-top: 1px solid #3f3f3f;
  padding-bottom: 20px;
  padding-top: 20px;
}

.com_link_cel {
  padding: 0 42px;
  border-right: solid 1px #3f3f3f;
  float: left;
  width: calc(33.3% - 2px);
  width: -webkit-calc(33.3% - 2px);
}

.com_name {
  width: 100%;
}

.com_name > img {
  float: left;
  margin-right: 15px;
  margin-top: 12px;
}

.com_name > h2 {
  float: left;
  display: block;
  font-size: 152%;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.2en;
  color: #ffffff;
}

.kab {
  font-size: 55%;
}

.eng {
  font-size: 50%;
  color: #aaa;
  font-weight: 100;
}

.com_link {
  width: 100%;
  display: block;
  background-color: #000;
  color: #fff;
  font-size: 95%;
  line-height: 50px;
  text-align: left;
  padding-left: 25px;
  margin-top: 25px;
  overflow: hidden;
  position: relative;
}

.com_allow {
  content: "";
  width: 35%;
  height: calc(50% - 1px);
  height: -webkit-calc(50% - 1px);
  background-color: transparent;
  border-bottom: solid 1px #fff;
  z-index: 1;
  position: absolute;
  right: -15px;
  top: 0;
  transition: 0.2s;
  -webkit-transition: 0.2s;
}

.com_link:hover > .com_allow {
  right: 10px;
  transition: 0.2s;
  -webkit-transition: 0.2s;
}

.com_allow:after {
  content: "";
  width: 15px;
  height: 15px;
  background-color: transparent;
  border-bottom: solid 1px #fff;
  border-right: solid 1px #fff;
  z-index: 1;
  position: absolute;
  right: 2px;
  bottom: -8px;
  transform: rotate(-45deg);
}

.border_end {
  border: none !important;
}

.foot_name {
  font-size: 142%;
  font-weight: bold;
  letter-spacing: 2px;
  line-height: 2em;
  color: #ffffff;
}

.foot_add {
  line-height: 1.8em;
  font-size: 90%;
  width: 100%;
  color: #ffffff;
}

.foot_link {
  display: block;
  width: 50%;
  float: right;
  text-align: right;
  color: #ffffff;
}

.foot_link > a {
  display: inline-block;
  border-right: solid 1px #ffffff;
  line-height: 1em;
  padding: 0 30px;
  color: #ffffff;
}

.copy {
  text-align: right;
  font-size: 70%;
  margin-top: 40px;
  color: #ffffff;
}

.hov_yellow {
  transition: 0.2s;
  -webkit-transition: 0.2s;
}

.hov_yellow:hover {
  color: #e6d104;
  transition: 0.2s;
  -webkit-transition: 0.2s;
}

.t-naka {
  background-color: #ffffff;
  padding-top: 115px;
  padding-bottom: 115px;
}

.foot2 {
  width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.foot2-1 {
  width: 50%;
  float: left;
}

header {
  display: none;
}

@media screen and (max-width: 700px) {
  header {
    display: block;
  }
  .smahorogo {
    background-color: #ffffff;
    padding: 10px;
  }
  .smahorogo img {
    float: left;
    padding-right: 10px;
  }
  .smahorogo a h2 {
    color: #000000;
    font-size: 140%;
    line-height: 1.4;
    font-weight: bold;
  }
  .smahorogo a h2 span {
    font-size: 70%;
  }
  .header,
  .sidebar {
    display: none;
  }

  .main {
    width: 100%;
    margin-left: 0px;
    margin-top: 0px;
  }

  .footer {
    width: 100%;
    margin-left: 0px;
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #1e1e1e;
  }
  .com_link_box {
    width: 100%;
  }
  .com_link_cel {
    padding: 0 42px;
    border-right: solid 1px #3f3f3f;
    float: none;
    width: 100%;
    box-sizing: border-box;
  }

  .foot2 {
    width: 100%;
  }

  .foot2-1 {
    width: 100%;
    float: none;
    text-align: center;
    padding-bottom: 20px;
  }
  .vertical {
    writing-mode: horizontal-tb;
    margin: 0;
  }
  .foot_link {
    display: block;
    width: 100%;
    float: none;
    text-align: center;
  }
  .copy {
    text-align: center;
  }
}
