@charset "UTF-8";

/*======================================================
 * Title	: Screen Styles - 1column fixed center -
 * Name		: 1col_fixed_c.css
 * Description	: Style Sheet for Layout
 * Version	: 1.0
 * Since	: 2007-06-01
 * Modified	: 2007-06-01
 * Editor	: ---
======================================================*/

/*======================================================
 * Contents
	1. Base Set
	2. Wire Frame Set
======================================================*/

/* -----------------------------------------------------
 * 1. Base Set
 * -------------------------------------------------- */
html,
body {
  height: 100%;
}

body {
  text-align: center; /* Hack for IE5 */
  font-size: 12px; /* 基本文字サイズ */
  color: #333333;
  background: #ffffff url(../images/bg_body.gif) repeat-x center top;
}

/* -----------------------------------------------------
 * 2. Wire Frame Set
 * -------------------------------------------------- */

/* 外枠
----------------------------------------------------- */
div#container {
  text-align: left;
  padding: 0;
}

/* ヘッダー枠
----------------------------------------------------- */
div#header-wrapper {
  background: url(../images/bg_header.gif) repeat-x center bottom;
}
div#header {
  width: 950px;
  margin-left: auto;
  margin-right: auto;
  border-top: 5px solid #0066d0;
}
@media screen and (max-width: 1080px) {
  div#header {
    width: 90vw;
  }
}

/* ハンバーガーメニュー
----------------------------------------------------- */
.l-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  position: fixed;
  right: 23px;
  top: 22px;
  border: initial;
  background-color: initial;
}
@media screen and (max-width: 500px) {
  .l-hamburger {
    display: flex;
  }
}

.l-hamburger__lines {
  width: 28px;
  height: 18px;
  display: block;
  position: relative;
}
.l-hamburger__line {
  position: absolute;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: #000;
  transition: background-color 0.3s, transform 0.3s, opacity 0.3s;
}
.l-hamburger__line:first-child {
  top: 0;
}
.l-hamburger__line:nth-child(2) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.l-hamburger__line:nth-child(3) {
  bottom: 0;
}
.is-open .l-hamburger__line:first-child {
  top: 0;
  transform: translateY(8px) rotate(-45deg);
}
.is-open .l-hamburger__line:nth-child(2) {
  opacity: 0;
}
.is-open .l-hamburger__line:nth-child(3) {
  width: 100%;
  transform: translateY(-8px) rotate(45deg);
}

/* ナビ枠
----------------------------------------------------- */
ul#nav {
  width: 950px;
}
@media screen and (max-width: 1080px) {
  ul#nav {
    width: 100%;
  }
}
@media screen and (max-width: 500px) {
  ul#nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 100;
  }
  .is-open ul#nav {
    opacity: 1;
    pointer-events: all;
  }
}
ul#nav li {
  float: left;
  width: 156px;
}
@media screen and (max-width: 1080px) {
  ul#nav li {
    width: 14.2vw;
  }
}
@media screen and (max-width: 500px) {
  ul#nav li {
    width: 50vw;
  }
}
@media screen and (max-width: 500px) {
  ul#nav li:nth-child(1) {
    margin-left: -11vw;
  }
  ul#nav li:nth-child(2) {
    margin-left: 6.8vw;
  }
  ul#nav li:nth-child(3) {
    margin-left: -4vw;
  }
  ul#nav li:nth-child(5) {
    margin-left: -3.2vw;
  }
}
ul#nav li:nth-child(6) {
  width: 170px;
}
@media screen and (max-width: 1080px) {
  ul#nav li:nth-child(6) {
    width: 15.6vw;
  }
}
@media screen and (max-width: 500px) {
  ul#nav li:nth-child(6) {
    width: 60vw;
  }
}

/* 内枠
----------------------------------------------------- */
div#wrapper {
  background: url(../images/bg_wrapper.gif) repeat-x center top;
}
div#wrapper-inner {
  margin: 0 auto;
  width: 960px;
  padding-top: 57px;
}
@media screen and (max-width: 1080px) {
  div#wrapper-inner {
    width: 90%;
  }
}
@media screen and (max-width: 700px) {
  div#wrapper-inner {
    display: flex;
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 500px) {
  div#wrapper-inner {
    padding-top: 20px;
  }
}

/* コンテンツ枠
----------------------------------------------------- */
div#content {
  width: 710px;
  float: left;
}
@media screen and (max-width: 1080px) {
  div#content {
    width: 66vw;
  }
}
@media screen and (max-width: 700px) {
  div#content {
    width: 100%;
    float: none;
  }
}

/* サイド枠
----------------------------------------------------- */
div#aside {
  text-align: center;
  width: 210px;
  float: right;
  margin-bottom: 30px;
}
@media screen and (max-width: 1080px) {
  div#aside {
    width: 22vw;
  }
}
@media screen and (max-width: 700px) {
  div#aside {
    float: none;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
}
body#top div#aside {
  margin-bottom: 0;
}
@media screen and (max-width: 700px) {
  body#top div#aside {
    order: 3;
    width: 100%;
    margin-bottom: 10px;
  }
}
/* 下部コンテンツ枠
----------------------------------------------------- */
div#content_bottom {
  width: 950px;
  clear: both;
  margin: 0 auto;
  padding-top: 25px;
}
@media screen and (max-width: 1080px) {
  div#content_bottom {
    width: 90vw;
  }
}

/* フッター枠
----------------------------------------------------- */
div#footer-wrapper {
  background: #dee3e7 url(../images/bg_footer.gif) repeat-x center bottom;
}
div#footer {
  text-align: center;
  width: 950px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 1080px) {
  div#footer {
    width: 90vw;
  }
}
