/* ---------------------------------------------
	#container
 ---------------------------------------------*/
#container {
  background-color: #ECECEC;
  width: 100%;
  position: relative;
  min-height: 100%;
  height: auto !important;
  height: 100%;
}
@media only screen and (min-width: 788px) {
  #container {
    min-width: 1050px;
    padding: 48px 0 0 50px;
  }
}
@media only screen and (max-width: 787px) {
  #container {
    overflow: hidden;
  }
}

/* -------------------------------------------
	HEADER
------------------------------------------- */
.header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  -ms-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
  width: 100%;
  height: 48px;
  padding: 0 20px 0 14px;
  background-color: #35AFC2;
  color: #fff;
  position: relative;
}
@media only screen and (min-width: 788px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
  }
}
@media only screen and (max-width: 787px) {
  .header {
    display: block;
    padding: 0;
    height: 40px;
  }
}

@media only screen and (max-width: 787px) {
  .header__inner {
    width: 100%;
    height: 40px;
    background-color: #35AFC2;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
  }
}

@media only screen and (max-width: 787px) {
  .header__logo {
    height: 40px;
    padding-left: 10px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
  }
}

.header__meta {
  position: relative;
}
@media only screen and (max-width: 787px) {
  .header__meta {
    display: none;
  }
}

.header__metaAccount {
  position: relative;
  cursor: pointer;
}
.header__metaAccount:after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 5px 0 5px;
  border-color: #fff transparent transparent transparent;
}

.header__metaLink {
  display: none;
  width: 100%;
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #D8EEF2;
  padding: 20px;
}
.header__metaLink:before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 6px 10px 6px;
  border-color: transparent transparent #D8EEF2 transparent;
  position: absolute;
  top: -10px;
  left: 50%;
  margin-left: -6px;
}
.header__metaLink a {
  display: block;
  color: #35AFC2;
}
.header__metaLink a:not(:last-of-type) {
  margin-bottom: 10px;
}
.header__metaLink a:hover {
  text-decoration: underline;
}
.header__metaLink i {
  padding-right: 0.5em;
}

.header__spmenu {
  display: none;
}
@media only screen and (max-width: 787px) {
  .header__spmenu {
    display: block;
    padding: 0;
    border: none;
    background: none;
    color: #fff;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
  }
  .header__spmenu .fas {
    font-size: 160%;
  }
  .header__spmenu.is-open {
    z-index: 1000;
  }
}

.spMenuOverlay {
  display: none;
}
@media only screen and (max-width: 787px) {
  .spMenuOverlay {
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 997;
    background-color: rgba(51, 51, 51, 0.5);
    display: none;
    top: 0;
    left: 0;
  }
}

/* ---------------------------------------------
	#contents
 ---------------------------------------------*/
#contents {
  width: 100%;
  position: relative;
  min-height: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
@media only screen and (min-width: 788px) {
  #contents {
    min-width: 1000px;
  }
}

/* -------------------------------------------
	#subCont
------------------------------------------- */
#subCont {
  width: 230px;
  padding-bottom: 50px;
  background-color: #272B31;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  -webkit-transform: translate(-180px);
  transform: translate(-180px);
  position: fixed;
  top: 48px;
  left: 0;
  height: 100%;
  z-index: 1;
}
#subCont.is-open {
  -webkit-transform: translate(0);
  transform: translate(0);
  visibility: visible;
}
#subCont.is-open .gNavi {
  display: block;
}
#subCont.is-open .subCont__ttlBtn .open {
  display: block;
}
#subCont.is-open .subCont__ttlBtn .closePc,
#subCont.is-open .subCont__ttlBtn .closeSp {
  display: none;
}
@media only screen and (min-width: 788px) {
  #subCont.is-open + #mainCont {
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    margin-left: 180px;
    width: 100%;
  }
}
@media only screen and (max-width: 787px) {
  #subCont {
    width: 80%;
    height: 100%;
    min-height: 100vh;
    padding-bottom: 46px;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(80%);
    transform: translate(80%);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
  }
  #subCont.is-open {
    -webkit-transform: translate(0);
    transform: translate(0);
    visibility: visible;
    opacity: 1;
    left: auto;
  }
  #subCont.is-open .subCont__ttlBtn .open {
    display: none;
  }
  #subCont.is-open .subCont__ttlBtn .closeSp {
    display: block;
  }
}

.subCont__ttl {
  width: 100%;
  height: 60px;
  padding: 0 0 0 20px;
  background-color: #D8EEF2;
  color: #35AFC2;
  position: relative;
}
@media only screen and (max-width: 787px) {
  .subCont__ttl {
    height: 40px;
  }
}

.subCont__ttlText {
  line-height: 60px;
  font-size: 110%;
}
.subCont__ttlText a {
  color: inherit;
}
@media only screen and (max-width: 787px) {
  .subCont__ttlText {
    line-height: 40px;
  }
}

.subCont__ttlBtn {
  padding: 0;
  border: none;
  background: none;
  color: #35AFC2;
  position: absolute;
  top: 50%;
  right: 15px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  cursor: pointer;
}
.subCont__ttlBtn .fas {
  font-size: 160%;
}
.subCont__ttlBtn .open,
.subCont__ttlBtn .closeSp {
  display: none;
}
@media only screen and (max-width: 787px) {
  .subCont__ttlBtn {
    right: 20px;
  }
  .subCont__ttlBtn .open,
  .subCont__ttlBtn .closePc {
    display: none;
  }
  .subCont__ttlBtn .closeSp {
    display: block;
  }
}

.subCont__meta {
  position: relative;
  width: 100%;
  background-color: #ECECEC;
  padding: 0 20px;
  color: #35AFC2;
}
@media only screen and (min-width: 788px) {
  .subCont__meta {
    display: none;
  }
}

.subCont__metaAccount {
  position: relative;
  padding: 10px 0;
}
.subCont__metaAccount:after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 1px solid #35AFC2;
  border-right: 1px solid #35AFC2;
  transform: rotate(135deg);
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -6px;
}
.subCont__metaAccount.is-open:after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: translateY(-45deg);
  transform: rotate(-45deg);
  margin-top: -3px;
}

.subCont__metaLink {
  display: none;
  width: 100%;
}
@media only screen and (min-width: 788px) {
  .subCont__metaLink {
    display: none;
  }
}
.subCont__metaLink a {
  display: block;
  margin-left: -20px;
  margin-right: -20px;
  border-top: 1px dotted #35AFC2;
  padding: 10px 35px;
  color: #35AFC2;
}
.subCont__metaLink i {
  padding-right: 0.5em;
}

.gNavi {
  padding: 20px 0;
  color: #fff;
  display: none;
  overflow-y: auto;
  height: 100%;
}
.gNavi a {
  color: #B0B0B0;
}
@media only screen and (max-width: 787px) {
  .gNavi {
    overflow-y: scroll;
    padding-bottom: 50px;
    overflow-y: scroll;
  }
}

.gNavi__ttl {
  padding: 6px 20px;
}
.gNavi__ttl:not(:first-of-type) {
  margin-top: 30px;
}

/* サブ見出し（スカウト対象を探すなど）：大見出しよりインデント・小さめ・差別化 */
.gNavi__subttl {
  padding: 4px 20px 2px;
  padding-left: 28px;
  margin: 0;
  color: #aaa;
  font-weight: normal;
  letter-spacing: 0.02em;
}

/* サブ見出し直下のリスト（→ 作品・→ 登録者）：さらにインデントしてスカウト履歴と差別化 */
.gNavi__list--sub {
  margin-left: 0.5em;
}
.gNavi__list--sub li a span{
  padding-left: 28px;
  font-size: 0.95em;
}

.gNavi__list li a {
  display: block;
  padding: 6px 20px;
  position: relative;
}
.gNavi__list li a:after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 1px solid #B0B0B0;
  border-right: 1px solid #B0B0B0;
  -webkit-transform: rotate(45deg);
  -ms-transform: translateY(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 20px;
  margin-top: -4px;
}
.gNavi__list li a.current {
  background-color: #35afc2;
  color: #fff;
}
.gNavi__list li a.current:after {
  border-color: #fff;
}
.gNavi__list li i {
  width: 1em;
  text-align: center;
  margin-right: 0.5em;
  display: inline-flex;
}
.gNavi__list:last-of-type {
  margin-bottom: 100px;
}

.gNavi__listSubitem {
  display: block;
  padding: 6px 20px;
  position: relative;
  cursor: pointer;
  color: #B0B0B0;
}
.gNavi__listSubitem:after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 1px solid #B0B0B0;
  border-right: 1px solid #B0B0B0;
  -webkit-transform: rotate(135deg);
  -ms-transform: translateY(135deg);
  transform: rotate(135deg);
  position: absolute;
  top: 50%;
  right: 20px;
  margin-top: -4px;
}
.gNavi__listSubitem.is-open:after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: translateY(-45deg);
  transform: rotate(-45deg);
}
.gNavi__listSubitem + ul {
  display: none;
  margin-left: 1.5em;
}

/*----------------------------------------------------
    #mainCont
----------------------------------------------------*/
#mainCont {
  padding: 20px;
}
#mainCont section {
  margin-bottom: 20px;
}
@media only screen and (min-width: 788px) {
  #mainCont {
    width: 100%;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    margin-left: 0;
  }
}
@media only screen and (max-width: 787px) {
  #mainCont {
    width: 100%;
    float: none;
    padding: 0;
  }
}

/*----------------------------------------------------
    footer
----------------------------------------------------*/
footer {
  display: block;
  position: relative;
}
footer #pageTop {
  position: fixed;
  right: 0;
  z-index: 2;
  bottom: 6px;
  width: 54px;
  font-size: 16px;
  padding: 4px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  box-shadow: 2px 0 2px rgba(0, 0, 0, 0.3);
  background-color: #03070b;
}

.is-hidden {
    display: none !important;
}
