@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
:root {
  --mainColor: #46bfa7;
  --mainColor-pale: #a4dfd3;
  --mainColor-crr: #06a585;
  --subColor: #f44b0f;
  --subColor-crr: #e04009;
}
/*--------------------------------------------------
    style
=================================================*/
/*  共通
**********************************/

#demo04 .inner {
  max-width: 1080px;
  width: 92%;
  margin-left: auto;
  margin-right: auto;
}
#demo04 .attentionDemo {
  background: #FFEDED;
  color: #C5090D;
  font-weight: 600;
  padding: 0.5em 1em;
  text-align: center;
  position: fixed;
  right: 0;
  bottom: 0;
  font-size: .875rem;
  z-index: 1000;
}
@media (min-width:481px) { /* for PC */
  #demo04 {
    padding-bottom: 100px;
  }
}
/*  ヘッダー
  **********************************/
#demo04 .headerArea {
  padding: 0.8em 0;
  background: #fff;
  background: #000;
  border-bottom: #3d5ce4 solid 5px;
}
#demo04 .headerArea .inner{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
#demo04 .headerArea .logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.1;
  color: #fff;
}
#demo04 .headerArea .catch{
  font-size: .75rem;
  color: #fff;
}
#demo04 .headerArea .member_mypage,
#demo04 .headerArea .members_menuList .members_edit,
#demo04 .headerArea .members_menuList .members_password,
#demo04 .headerArea .members_menuList .members_withdraw{
  display: none;
}
#demo04 .headerArea .members_menuList .members_logout a{
  display: inline-block;
  text-align: center;
  background: url("../images/demo04/icon_logout.svg") no-repeat left center / 1.5em auto;
  padding-left: 2em;
  font-size: .875rem;
  transition: all 0.3s ease;
  color: #fff;
}
@media (min-width:481px) { /* for PC */
  #demo04 .headerArea .leftBox {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1em;
  }
  #demo04 .headerArea .logo a:hover{
    opacity: 0.7;
  }
  #demo04 .headerArea .members_menuList .members_logout a:hover{
    color: #3d5ce4;
  }
}

/*  ナビゲーション
 **********************************/
#demo04 .manuNav {
  border-bottom: #CCCACC solid 1px;
  overflow: hidden;
}
#demo04 .manuNav ul{ 
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5em;
}
#demo04 .manuNav ul li {
  padding: 1em 0;
  font-size: .875rem;
  white-space: nowrap; 
  font-weight: 500;
}
@media (min-width:481px) { /* for PC */
  #demo04 .manuNav ul{ 
    flex-wrap: wrap;
  }
}
@media (max-width:480px) { /* for SP */
  #demo04 .manuNav ul{ 
    flex-wrap: nowrap; /* 折り返さない */
    overflow-x: auto;   /* 横スクロール可能に */
    -webkit-overflow-scrolling: touch; /* スマホでスムーズスクロール */
  }
}

/*  コンテンツ部分
 **********************************/
#demo04 .atcbox {
  padding: 3.5em 0 4em 0;
}
#demo04 .atcbox .mainImg {
  margin-bottom: 1.5em;
}
#demo04 .atcbox h1{
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1em;
  position: relative;
  line-height: 1.3;
}
#demo04 .atcbox h2 {
  font-size: 1.5rem;
  font-weight: 700;
  padding-left: 0.8em;
  margin: 3em 0 1em 0;
  border-left: #3d5ce4 solid 4px;
  line-height: 1.3;
  position: relative;
}
#demo04 .atcbox h2::before {
  content: '';
  position: absolute;
  top: 0;
  left: -4px;
  width: 4px;
  height: 0.6em;
  background: #000;
}
#demo04 .atcbox p {
  line-height: 2;
}
#demo04 .atcbox ul {
  margin: 1em;
} 
#demo04 .atcbox ul li{
  position: relative;
  padding-left: 1.2em;
}
#demo04 .atcbox ul li::before{
  content: '';
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  background: #3d5ce4;
  border-radius: 50px;
  position: absolute;
  left: 0;
  top: 0.7em
}
#demo04 .atcbox ul li + li{
  margin-top: 0.2em;
}
#demo04 .atcbox ol {
  list-style: decimal;
  list-style-position: inside;
}
#demo04 .atcbox ol li {
  text-indent: -1.5em; /* 番号部分を引っ張り出す */
  padding-left: 1.5em;  /* 本文の開始位置をずらす */
}
#demo04 .atcbox ol li + li{
  margin-top: 0.2em;
}
#demo04 .atcbox .atcInfo {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5em;
  gap: 1em;
}
#demo04 .atcbox .atcInfo .userInfo {
  font-size: .875rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
}
#demo04 .atcbox .atcInfo .userInfo img{
  width: 1.5em;
}
#demo04 .atcbox .atcInfo .category {
  margin-left: auto;
  background: #3d5ce4;
  color: #fff;
  border-radius: 50px;
  line-height: 1.2;
  padding: 0.2em 1em;
  font-size: .75rem;
}
#demo04 .atcbox .atcInfo time {
  font-size: .75rem;
  color: #333;
}
#demo04 .atcbox .memberOnlyBox {
  padding: 6em 2em 0 2em;
  text-align: center;
  margin: 3em 0;
  background: linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 80%, rgba(255, 255, 255, 0.5) 90%, rgba(255, 255, 255, 0) 100%);
  margin-top: -3em;
  position: relative;
  z-index: 1;
}
#demo04 .atcbox .memberOnlyBox .mambersText{
  font-weight: 700;
  margin-bottom: 1.5em;
  font-size: 1.25rem;
  background: url("../images/demo04/icon_key.svg") no-repeat center top / 2em auto;
  padding-top: 2.8em;
  line-height: 1.2;
}
#demo04 .atcbox .memberOnlyBox .separator {
  display: none;
}
#demo04 .atcbox .memberOnlyBox .mambersLinks{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
}
#demo04 .atcbox .memberOnlyBox .mambersLinks a{
  display: inline-block;
  padding: 1em 2em;
  background: #3E3E3E;
  color: #fff;
  font-weight: 500;
  border-radius: 3px;
}
#demo04 .atcbox .memberOnlyBox .mambersLinks a.loginLink{
  background: #3d5ce4;
  padding: 1em 2em;
  order: 2;
}
#demo04 .atcbox .memberOnlyBox .mambersLinks a.registLink{
  background:#CD0A3A;
  padding: 0.8em 2em;
  font-size: .875rem;
  order: 1;
}
#demo04 .loginInfoWrap {
  background: #E3EFFA;
  padding: 2em 3em;
  border-radius: 8px;
  margin-top: 2em;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
}
#demo04 .loginInfoWrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  border-style: solid;
  border-width: 0 10px 20px 10px;
  border-color: transparent transparent #E3EFFA;
  translate: -50% -100%;
}
#demo04 .loginInfoWrap .lead{
  font-weight: 600;
  margin-bottom: 0.6em;
  line-height: 1.3;
}
#demo04 .loginInfoWrap th{
  padding-right: 1em;
}
#demo04 .loginInfoWrap .attention {
  font-size: .875rem;
  margin-top: 1em;
}
#demo04 .atcbox .lastItem + .loginInfoWrap {
  display: none;
}
@media (min-width:481px) { /* for PC */
  #demo04 .atcbox .memberOnlyBox .mambersLinks a{
    min-width: 360px;
    transition: all 0.3s ease;
  }
  #demo04 .atcbox .memberOnlyBox .mambersLinks a:not(.registLink):hover{
    opacity: 0.7;
  }
  #demo04 .atcbox .memberOnlyBox .mambersLinks a.registLink{
    cursor: default;
  }
  #demo04 .loginInfoWrap {
    max-width: 40em;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width:480px) { /* for SP */
  #demo04 .atcbox {
    padding: 2em 0 4em 0;
  }
  #demo04 .atcbox .mainImg {
    margin-bottom: 1em;
  }
  #demo04 .atcbox h1{
    font-size: 1.5rem;
  }
  #demo04 .atcbox h2{
    font-size: 1.25rem;
  }
  #demo04 .atcbox .memberOnlyBox .mambersLinks{
    gap: 0.8em;
  }
  #demo04 .atcbox .memberOnlyBox .mambersLinks a{
    width: 100%;
  }
  #demo04 .loginInfoWrap {
    padding: 2em;
  }
}

/*--------------------------------------------------
    会員限定プラグインの表示
=================================================*/
#membersPlugin.loginPage {
  max-width: 1080px;
  width: 92%;
  margin-left: auto;
  margin-right: auto;
}

#membersPlugin.loginPage .leadTxt {
  font-weight: 600;
  text-align: center;
  margin-bottom: 0;
}
#membersPlugin.loginPage .loginBox {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  padding: 3em 2em;
  text-align: center;
  margin: 1.5em 0 1em 0;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
#membersPlugin.loginPage .buttonFlxArea button {
  font-weight: 600;
  background: #3d5ce4;
}
#membersPlugin.loginPage .slBox {
  display: none;
}
#membersPlugin.loginPage .slBox a{
  pointer-events: none;
}
@media (min-width:481px){ /* for PC */
  #membersPlugin.loginPage {
    padding: 5em 0 !important;
  }
  #membersPlugin.loginPage .loginBox {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
  }
  #membersPlugin.loginPage .loginBox table th{
    padding: 0.5em 1.5em 0.5em 0;
  }
  #membersPlugin.loginPage .loginBox table td{
    padding: 0.5em 0;
  }
  #membersPlugin.loginPage .buttonFlxArea button {
    transition: all 0.3s ease;
  }
  #membersPlugin.loginPage .buttonFlxArea button:hover {
    background:#3d5ce4;
    opacity: 0.7;
  }
}
@media (max-width:480px){ /* for SP */
  #membersPlugin.loginPage {
    padding: 2em 0 !important;  
  }
  #membersPlugin.loginPage .leadTxt {
    text-align: left;
  }
  #membersPlugin.loginPage .loginBox {
    padding: 1.5em 2em 2em 2em;
  }
  #membersPlugin.loginPage .loginBox table th{
    display: block;
    width: 100%;
    padding: 0.5em 1em !important;
  }
  #membersPlugin.loginPage .loginBox table td{
    display: block;
    width: 100%;
    padding: 0.5em 1em 1em 1em !important;
  }
  #membersPlugin.loginPage .buttonFlxArea{
    margin-top: 1em;
  }
  #membersPlugin .buttonFlxArea button {
    width: 50vw;
  }
}



