@charset "utf-8";

/*
 MEMO:
    ここは基本的にHEADER用CSSであるが、
    コンテンツ部分の全ページに共通するCSSもここに置く
 */

/* --------------------
 Extend
-------------------- */

.cb {
  width: 960px;
  margin: 0 auto;
}

#contents-inner {
  width: 960px;
  margin: 0 auto;
  margin-bottom: 100px;
}

/* ウィンドウ幅いっぱいのレイアウト用 */

/* このクラスを 横幅いっぱいではない方に。 ※元の#contents-innerは削除する。 */
.contents-inner-not100 {
  width: 960px;
  margin: 0 auto;
}

@media (max-width: 959px) {
  /* --------------------
   Common
  -------------------- */

  html {
    overflow: auto;
  }

  body {
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
  }

  .responsive #wrapper {
    min-width: 100%;
  }

  .responsive #contents-header {
    display: none;
  }

  .responsive #contents-inner {
    width: 100%;
  }

  .responsive #contents-foot {
    display: none;
  }
}

/* ----------------
 JSOFF
 JavaScriptをオンにするようメッセージを表示する部分
---------------- */

#jsoff {
  height: 50px;
  text-align: center;
  color: #fff;
  background: #000;
  font-size: 14px;
  line-height: 50px;
}

#jsoff img {
  margin-top: -5px;
  margin-right: 8px;
  vertical-align: middle;
}

/* --------------------
 Common
-------------------- */

#header,
#nav {
  font-family: 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'Yu Gothic', YuGothic, Verdana, Helvetica, 'ＭＳ Ｐゴシック', sans-serif;
}

/* --------------------
 Header
-------------------- */

#header {
  position: relative;
  z-index: 200;
  display: flex;
  height: 50px;
  min-height: 50px;
  background: #fff;
}

#header .cb {
  display: flex;
  min-width: 960px;
  justify-content: space-between;
  align-items: center;
}

#header-logo {
  width: 200px;
  font-size: 75%;
}

#header-logo img {
  width: 100%;
  vertical-align: bottom;
}

#header-menu {
  display: flex;
  list-style: none;
  font-size: 12px;
  align-items: center;
}

#header-menu li {
  margin-left: 24px;
}

#header-menu li a {
  text-decoration: none;
  color: #555;
}

#header .fa-search {
  margin-right: 2px;
}

/* Toggle */

#toggle {
  position: relative;
  z-index: 200;
  display: none;
  width: 24px;
  height: 20px;
  cursor: pointer;
}

#toggle span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 4px;
  -webkit-transition: 0.35s ease-in-out;
  transition: 0.35s ease-in-out;
  background: #999;
}

#toggle span:nth-child(1) {
  top: 0;
}

#toggle span:nth-child(2) {
  top: 8px;
}

#toggle span:nth-child(3) {
  top: 16px;
}

/* --------------------
 Nav
-------------------- */

#nav {
  background: #f4f4f4;
}

/* Nav Main */

#nav-main ul {
  display: flex;
}

#nav-main a {
  display: block;
  width: 160px;
  height: 34px;
  text-align: center;
  text-decoration: none;
  color: #555;
  font-size: 13px;
  line-height: 34px;
  box-sizing: border-box;
}

#nav-main a:hover {
  color: #fff;
}

#nav-main .nav_rs a:hover {
  background-color: #f4ae00;
}

#nav-main .nav_vps a:hover {
  background-color: #0e9794;
}

#nav-main .nav_cloud a:hover {
  background-color: #5ba563;
}

#nav-main .nav_ds a:hover {
  background-color: #0951ad;
}

#nav-main .nav_gpu a:hover {
  background-color: #d00;
}

#nav-main .nav_iot a:hover {
  background-color: #2c95bb;
}

@media (min-width: 960px) {
  .visually-hidden {
    display: inline-block;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
    clip-path: inset(50%);
  }
}

/* Nav Section */

#nav-sub {
  display: none;
}

/* Nav Aside */

#nav-extra {
  display: none;
}

@media (max-width: 959px) {
  /* --------------------
   Open
  -------------------- */

  body.responsive.open {
    background: #e8e8e8 url(../images/nav_bg.png);
    background-size: 8px;
    height: 50px;
    overflow: hidden;
    -webkit-transition: all 0.8s;
    transition: all 0.8s;
  }

  /* --------------------
   Header
  -------------------- */

  .responsive #header {
    padding: 0 20px;
  }

  .responsive #header .cb {
    width: 100%;
    min-width: 100%;
  }

  .responsive #header-logo::after {
    left: 208px;
    width: 88px;
  }

  .responsive #header-menu {
    display: none;
  }

  /* Toggle */

  .responsive #toggle {
    display: block;
  }

  .responsive #header.open #toggle span:nth-child(1) {
    top: 8px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .responsive #header.open #toggle span:nth-child(2) {
    left: 50%;
    width: 0;
  }

  .responsive #header.open #toggle span:nth-child(3) {
    top: 8px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  /* --------------------
   Nav
  -------------------- */

  .responsive #nav {
    position: absolute;
    z-index: 100;
    top: -820px;
    box-sizing: border-box;
    width: 100%;
    min-height: 812px;
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    background: #fff;
    font-size: 16px;
  }

  /* Nav Main */

  .responsive #nav-main ul {
    display: block;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    padding: 17px 20px 12px;
  }

  .responsive #nav-main a {
    box-sizing: border-box;
    width: calc(50% - 10px);
    height: 98px;
    margin-bottom: 20px;
    padding-top: 62px;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.6;
  }

  .responsive #nav-main .nav_rs a {
    float: left;
    background: url('../images/nav_icon_rs.png') center 18px no-repeat;
    background-color: #f4ae00;
    background-size: 37px;
  }

  .responsive #nav-main .nav_vps a {
    float: right;
    background: url('../images/nav_icon_vps.png') center 19px no-repeat;
    background-color: #0e9794;
    background-size: 51px;
  }

  .responsive #nav-main .nav_cloud a {
    float: left;
    background: url('../images/nav_icon_cloud.png') center 15px no-repeat;
    background-color: #5ba563;
    background-size: 36px;
  }

  .responsive #nav-main .nav_ds a {
    float: right;
    background: url('../images/nav_icon_phy.png') center 13px no-repeat;
    background-color: #0951ad;
    background-size: 42px;
  }

  .responsive #nav-main .nav_gpu a {
    float: left;
    background: url('../images/nav_icon_gpu.png') center 12px no-repeat;
    background-color: #d00;
    background-size: 47px;
  }

  .responsive #nav-main .nav_iot a {
    float: right;
    background: url('../images/nav_icon_iot.png') center 19px no-repeat;
    background-color: #2c95bb;
    background-size: 60px;
  }

  .responsive #nav-main .nav_rs a:hover {
    background-color: #f4bf00;
  }

  .responsive #nav-main .nav_vps a:hover {
    background-color: #11a9a5;
  }

  .responsive #nav-main .nav_cloud a:hover {
    background-color: #66b76f;
  }

  .responsive #nav-main .nav_ds a:hover {
    background-color: #0951ad;
  }

  .responsive #nav-main .nav_gpu a:hover {
    background-color: #e62020;
  }

  .responsive #nav-main .nav_iot a:hover {
    background-color: #35a5ce;
  }

  /* Nav Sub */

  .responsive #nav-sub {
    display: block;
    margin: 0 20px;
  }

  .responsive #nav-sub ul {
    width: 100%;
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    background: #f8f8f8;
  }

  .responsive #nav-sub li a {
    display: flex;
    height: 50px;
    padding: 0 20px;
    color: #444;
    border-top: 1px solid #d6d6d6;
    align-items: center;
  }

  .responsive #nav-sub li a img {
    -webkit-filter: brightness(0.9) saturate(1.5);
    filter: brightness(0.9) saturate(1.5);
  }

  .responsive #nav-sub li:first-of-type a {
    border-top: none;
  }

  .responsive #nav-sub li:nth-of-type(even) a {
    background: #fff;
  }

  .responsive #nav-sub li a:hover {
    background-color: #e9f3ff;
  }

  .responsive #nav-sub a span {
    padding-right: 12px;
    flex: 1 0 auto;
  }

  .responsive #nav-sub .fa-angle-right {
    font-size: 20px;
  }

  .responsive #nav-sub figure {
    width: 32px;
  }

  .responsive #nav-sub p {
    margin: 28px 0;
  }

  .responsive #nav-sub p a {
    display: block;
    text-align: center;
    color: #444;
  }

  .responsive #nav-sub p a .fa {
    margin-right: 8px;
    color: #4886c6;
  }

  /* Nav Extra */

  .responsive #nav-extra {
    display: block;
  }

  .responsive #nav-extra ul {
    display: flex;
    overflow: hidden;
    flex-wrap: wrap;
  }

  .responsive #nav-extra li {
    box-sizing: border-box;
    width: 50%;
    min-height: 50px;
    border-top: 1px solid #d6d6d6;
    border-left: 1px solid #d6d6d6;
    line-height: 48px;
  }

  .responsive #nav-extra li:nth-of-type(odd) {
    border-left: 0;
  }

  .responsive #nav-extra li:last-of-type {
    width: 100%;
    background: #f8f8f8;
    border-left: none;
  }

  .responsive #nav-extra a {
    display: block;
    text-align: center;
    color: #444;
  }

  .responsive #nav-extra li:hover {
    background-color: #e9f3ff;
  }

  .responsive #close {
    min-height: 51px;
    text-align: center;
    color: #fff;
    background-color: #393939;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
    line-height: 50px;
  }

  .responsive #close:hover {
    background: #35465f;
  }

  .responsive #close .fa {
    margin-right: 8px;
    color: #5e8dca;
    font-size: 20px;
  }

  .responsive #close:hover {
    cursor: pointer;
  }

  /* Slide Animation */
  .responsive #nav.open {
    -webkit-transform: translateY(862px);
    transform: translateY(862px);
  }
}

@media (max-width: 349px) {
  .responsive #header-logo {
    width: 165px;
  }

  .responsive #header-logo::after {
    left: 173px;
    width: 75px;
  }

  .responsive #nav {
    font-size: 14px;
  }

  .responsive #nav-main a {
    padding-top: 64px;
    font-size: 14px;
  }
}