@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
@import url('/css/fonts/fonts.css');

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

  CommonElements

======================================= */
html,
body {
  height: 100%;
}

body {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #222;
  letter-spacing: 0.1em;
  font-family: 'Noto Sans JP', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', YuGothic, '游ゴシック', sans-serif;
  -webkit-font-feature-settings: 'palt';
  font-feature-settings: 'palt';
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  color: #301e41;
}

@media only screen and (min-width: 769px) and (max-width: 980px) {
  #container {
    width: 980px;
  }
}

/* ------------------------------------
  common parts
------------------------------------ */
.pc {
  display: block;
  font-size: 0 !important;
}
.sp {
  display: none !important;
}
.align_r {
  text-align: right !important;
}
.align_c {
  text-align: center !important;
}
.align_l {
  text-align: left !important;
}
.v_align_t {
  vertical-align: top !important;
}
.v_align_m {
  vertical-align: middle !important;
}
.v_align_b {
  vertical-align: bottom !important;
}

@media only screen and (max-width: 767px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
    font-size: 0 !important;
  }
}

/* ------------------------------------
  Header
------------------------------------ */
header {
  padding: 30px;
  margin: 0 0 70px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
header .link_home {
  width: 30px;
  height: 30px;
  margin: 0 20px 0 0;
}
header .link_home img {
  max-width: 100%;
  display: block;
}
header .logo {
  width: 390px;
  padding: 0 0 0 20px;
  display: inline-block;
  border-left: 1px solid #999;
}
header .logo img {
  max-width: 100%;
  display: block;
}
header .link_library {
  margin-left: auto;
  padding: 0 0 0 25px;
  color: #222;
  position: relative;
}
header .link_library::before {
  content: '\e937';
  font-family: 'komazawa';
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

@media only screen and (max-width: 767px) {
  header {
    margin: 0;
    padding: 20px 4%;
  }
  header .link_home {
    width: 20px;
    height: 20px;
    margin: -2px 10px 0 0;
  }
  header .logo {
    width: 60%;
    padding: 0 0 0 10px;
    display: inline-block;
  }
  header .link_library {
    padding: 0 0 0 14px;
    font-size: 1rem;
    letter-spacing: -0.01em;
  }
}

/*-- Hover --*/
header a {
  -webkit-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
}

@media (min-width: 768px) {
  body:not(.tab_view) header a:hover {
    opacity: 0.7;
  }
}

/* ------------------------------------
  layout
------------------------------------ */
#wrapper {
  width: 100%;
  margin: 0 auto 90px;
  padding: 0 8%;
}
#wrapper #wrapInner {
  max-width: 1400px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

@media only screen and (max-width: 767px) {
  #wrapper {
    margin: 30px auto 60px;
    padding: 0 6%;
  }
  #wrapInner {
    width: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

/* ------------------------------------
  Main
------------------------------------ */
main {
  width: 70%;
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
}

@media only screen and (max-width: 767px) {
  main {
    width: 100%;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }
}

/* ------------------------------------
  Aside
------------------------------------ */
aside {
  width: 23%;
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 1;
  position: sticky;
  top: 0;
}
aside .inner {
  position: sticky;
  top: 0;
}
aside h2 {
  padding: 28px 20px 30px 20px;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.34;
  background: #492d65;
}
aside h2 span {
  display: block;
  font-size: 1.2rem;
}
aside nav li:not(:first-child) {
  border-top: 1px solid #D4D1D8;
}
aside nav li a {
  padding: 28px 30px 28px 20px;
  display: block;
  font-size: 1.6rem;
  line-height: 1.4;
  position: relative;
  background: rgba(255, 255, 255, 0.8);
}
aside nav li a::before {
  content: '\e90a';
  font-family: 'komazawa';
  display: block;
  position: absolute;
  right: 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  color: #000;
  -webkit-transition: right 0.3s ease-out;
  transition: right 0.3s ease-out;
}
aside nav li a span {
  font-size: 1.2rem;
}

aside nav li.active a {
  color: #222;
  background: rgba(73,45,101,0.1);
}

@media only screen and (max-width: 1179px) {
  aside {
    width: 26%;
  }
}

@media only screen and (max-width: 767px) {
  aside {
    width: 100%;
    margin-top: 40px;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }
  aside nav li a {
    padding: 20px 30px 20px 20px;
  }
}

/*-- Hover --*/
aside nav li a {
  -webkit-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
}

@media (min-width: 768px) {
  body:not(.tab_view) aside nav li a:hover {
    opacity: 0.7;
  }
  body:not(.tab_view) aside nav li a:hover::before {
    right: 5px;
  }
}

/* ------------------------------------
  Footer
------------------------------------ */
footer {
  margin-top: auto;
  padding: 80px 0;
  text-align: center;
  background: #e9eaeb;
}

footer small {
  margin-top: 40px;
  display: block;
  line-height: 1;
}

@media only screen and (max-width: 767px) {
  footer {
    margin-top: auto;
    padding: 60px 0;
    text-align: center;
    background: #e9eaeb;
  }
  footer img {
    width: 200px;
  }
  footer small {
    margin-top: 30px;
    line-height: 1.7;
  }
}

/* ------------------------------------
  fixedTop
------------------------------------ */
#fixedTop {
  width: 60px;
  height: 60px;
  display: block;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  right: 30px;
  bottom: 30px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  opacity: 0;
  z-index: 90;
}
#fixedTop:after {
  font-family: 'komazawa';
  content: '\e901';
  width: 60px;
  font-size: 20px;
  display: block;
  color: #ffffff;
  text-align: center;
  line-height: 60px;
}
#fixedTop.show {
  opacity: 1;
}

/* :hover */
@media only screen and (min-width: 768px) {
  body:not(.tab_view) #fixedTop:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
}

@media only screen and (max-width: 767px) {
  #fixedTop {
    width: 50px;
    height: 50px;
    right: 10px;
    bottom: 10px;
  }
  #fixedTop:after {
    width: 50px;
    line-height: 50px;
  }
}

/* ------------------------------------
  ClearFix
------------------------------------ */
.clearfix:after {
  content: '';
  clear: both;
  display: block;
}
