@charset "UTF-8";
/* 
利用規約等 テキスト主体用
modified: 2020-01-17
*/


html {
  -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;

}

body {
  display: block;
  margin: 0;
  padding: 0.5rem 1rem 2rem ;
  background-color: #fff;

  font-family: sans-serif !important;
  color: #333333;
  font-size: medium;
  line-height: 1.45;
  letter-spacing: 0.015em;
  text-align: left;
}
#wrapper{
  max-width: 960px;
  margin: 0 auto;
}

main header{
  padding-bottom: 1.5rem;
}
main section{
  padding-bottom: 1rem;
}


h1 {
  margin: 2rem 0;
  font-size: 1.4rem;
  text-align: center;
}
h2, h3, h4, h5 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.menbership_main h2 {
  font-weight: normal;
  font-size: 1.2rem;
  margin: 1.5rem 0 1rem;
}

.menbership_main h3 {
  font-weight: normal;
  font-size: 1.05rem;
  margin:0 0 0.4rem;
}

.menbership_main p {
  font-weight: normal;
  font-size: 0.95rem;
  margin:0.5em 0 1.1rem;
}

small{
  /*font-size: 100%;*/
  display: inline;
}
strong{ 
  color: #dd0000; 
  font-weight: normal;
}
  strong strong{ 
    font-weight: bold;
  }

table {
  margin: 0.5em 0;
  border-collapse: collapse;
  text-align: left;
}
  table th,
  table td {
    padding: 0.3rem;
    min-width: 5.6em;
    font-size: 90%;
    border: solid 1px #999999;
  }
  table td h3{
    font-size: 100%;
    margin-bottom: 0em;
    margin-top: 0.2em;
  }

/* セクション本体がテーブルでほとんどの文が入っている場合 */
table.section__main {
}
  table.section__main th,
  table.section__main td {
    padding: 0.6em; 
    /* 1.2 + 5 */
    min-width: 5.2em;
    font-size: 100%;
  }

li ul,
li ol,
li dl{
  margin: 0.5em 0 0;
  padding-bottom: 0.5em;
}
  li{
    margin-bottom: 0.6em;
  }
    li li{
      margin-bottom: 0.4em;
    }

.nostyle {
  list-style-type: none;
  padding-left: 0.5em;
}

table ul,
table ol,
table dl{
  margin: 0.5em 0;
  padding-left: 1.2em;
}
td > ul,
td > ol,
td > dl{
  margin: 0.5em 0;
}
    table li{
      margin-bottom: 0.4em;
    }

/* 丸かこみ連番 */
ol.circle{ 
  counter-reset: my-counter;
  margin: 0.5rem;
  list-style: none;
}
  ol.circle > li{
    position: relative;
  }
  ol.circle > li:before{
    content: counter(my-counter);
    counter-increment: my-counter;
    position: absolute;
    left: -1.75em;
    display: inline-block;
    width: 1.3em;
    height: 1.3em;
    font-size: 85%;
    letter-spacing: -0.05em;
    text-align: center;
    vertical-align: bottom;
    border: 1px solid rgba(0,0,0, 0.7);
    border-radius: 50%;
  }  
  ol.circle > li:nth-child(n+10):before{
    text-indent: -0.15em;
    letter-spacing: -0.1em;
  }
  /* ()カッコ連番 */
  ol.circle.brackets > li:before{
    border-radius: 45%;
    border-top-color:    rgba(0,0,0, 0);
    border-bottom-color: rgba(0,0,0, 0);
  }


dl{
  padding-left: 2.0em;
}
  dt{
    float: left;
  }
  dd{
    margin-left: 1em;
    margin-bottom: 0.5em;
  }
  dl:after{
    content: "";
    clear: left;
  }
  dl.notitle dt{
    display: none;
  }
  dd h3{
    margin:  0 0;
  }


#jpmark{
  display: table;
}
  #jpmark a,
  #jpmark p{
    display: table-cell;
    vertical-align: middle;
    padding: 0;
  }
  #jpmark img{
    height: 4.5em;
    width: auto;
    margin: 0 0.5em;
  }
  /*
  #jpmark::after{
    content: "";
    clear: left;
    display: block;
  }
  */


/* .ricos ----------------------------------- */


.ricos footer{ 
  font-size: 90%;
  padding-top: 1em;
  text-align: right;
  margin-bottom: 1em;
}

.ricos#privacy section {
  margin-left: 1.5em; 
  position: relative;
  padding-bottom: 0.3em;
}

  .ricos#privacy section .security{ 
    position: absolute;
    top: 0;
    left: 0;
    font-weight: normal;
  }
  .ricos#privacy section .section__body{ 
    margin-left: 1.5em;
  }
    .ricos#privacy section .section__body p{ 
      margin-top: 0;
    }

.ricos#terms #main__header{
  margin-bottom: 1.5em;
}
h2 {
  font-size: 1.08rem;
}
section h2 {
  font-size: 1rem;
}
section dl dt {
  width:100%;
  margin-bottom:0.2em;
}
section dl dd {
  padding-left: 1em;
}


@media screen and (max-width: 480px) { /* mobile 以外デフォルト */
  ul,
  ol{
    padding-left: 2.0em;
  }
}

@media screen and (min-width: 480px) { /* tablet */
  /*html {font-size: 16px; }*/
}

@media screen and (min-width: 960px) { /* PC */
  /*html {font-size: 16px; }*/
}

/*ricos sale ----------------------------------- */
.ricos .text-right{ 
  padding-top: 1em;
  text-align: right;
  margin-bottom: 1em;
}

