@charset "utf-8";

/*====================================

	/ Ver 1.0 /

====================================*/

/* header */
.header {
  background: url(../img/mv.jpg) no-repeat center bottom;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 160px;
}
.header__title {
  color: #fff;
  font-size: 2.6rem;
  letter-spacing: .1rem;
}

/* main */
.main {
  margin: 50px 0;
  padding: 0 15px;
}
.block {
  margin-top: 50px;
}
.block__title {
  font-size: 2rem;
  font-weight: 700;
  border-bottom: 1px solid #d1d1d1;
  padding-bottom: 13px;
}
.block__title-sub {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 40px;
}
.block__txt {
  margin-top: 20px;
  line-height: 1.6;
}
pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  background-color: #f8f8f8;
  border: 1px solid #d9ddda;
  overflow: auto;
  padding: 15px 25px;
  border-radius: 3px;
  margin-top: 20px;
  display: block;
  font-family: monospace;
  line-height: 1.6;
}
.block a,
.block a:hover,
.block a:visited {
  text-decoration: underline;
  color: #0000ff;
}

/* sidebar */
.sidebar {
  display: none;
}

/* back top */
.back-top a {
  background: #ccc;
  color: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  right: 30px;
  bottom: 25px;
}


@media screen and (min-width: 960px)  {
  /* header */
  .header {
    height: 250px;
  }
  .header__title {
    font-size: 3.6rem;
  }

  /* contents */
  .conts {
    display: flex;
    flex-direction: row;
  }

  /* main */
  .main {
    order: 2;
    flex-basis: 75%;
    padding: 50px;
    margin: 0;
    height: auto;
  }

  /* sidebar */
  .sidebar {
    background: #f5f6f7;
    display: block;
    order: 1;
    flex-basis: 25%;
    width: 100%;
    height: auto;
  }
  .sidebar > .inner {
    padding: 20px;
  }
  .sidebar > .inner > ul > li {
    padding: 10px 0;
  }
  .sidebar > .inner > ul > li > ul >li {
    padding: 15px 0 0 14px;
  }
  .is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    width: 25% !important;
    height: 100vh;
    overflow-y: scroll;
  }
}
