body{
    background-color:#eeeeee;
    font-size:15px;
    font-family:'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}

header{
    width:1024px;
    margin:0px auto;
    background-color:white;
}

header #img001{
    width: 100%;
    height:70px;
    /* (画像の高さ / 画像の横幅) × 100 */
    background-image: url(img/001.png) ;
    background-repeat: no-repeat;
    background-position:  center;
    background-size: cover;
    margin:0 auto;
}  

main{
    width: 1024px;
    margin:-10px auto 30px;
    padding:0px 0 30px;
    background-color:#ffffff;
    display: block;
}

main.trading{
    width: 1024px;
    margin:10px auto 30px;
    padding:0px 0 30px;
    background-color:#ffffff;
    display: block;
}

h3{
    font-size:16px;
}

article{
    width:768px;
    margin:0px auto;
}

article:not(:first-of-type){
    margin:30px auto;
}

article ul li{
    font-size:15px;
}

section{
    margin:0px 40px;
    line-height: 28px;
}


section h3{
    margin-bottom: 0px;
}

section ul{
    margin-top: 5px;
}

section p{
    margin: 0px;
}

.article2.trading p{
    margin-bottom: 20px;
}


li{
    margin: 20px 0px;
}


.article1 h1 {
    font-size:40px;
    text-align: center;
    margin-top: 0px;
    padding-top: 20px;
}
.article1 h1 span {
    font-size:30px;
}
.article1 p  {
    font-size:24px;
    font-weight: bold;
    text-align: center;
}
.article1 p  span{
    font-size:30px;
    color:#FF2F27;
}

.article1.trading h1 {
    font-size:40px;
    text-align: center;
    margin-top: 0px;
    padding-top: 60px;
}

.article2 {
    position: relative;
    padding: 0 0 20px 0;
    background: #EEEEEE;
}

.article2.trading{
    position: relative;
    padding: 20px 0 20px 0;
    background: #EEEEEE;
}

.article2::before {
    content: "";
    bottom: 0;
    right: 0;
    border-top: 3em solid transparent;
    border-right: 3em solid #FF2F27; /* ラベルの色はここで変更 */
    position: absolute;
    z-index: 100;
}
.article2::after {
    content: "";
    display: block;
    bottom: 5px;
    transform: rotate(135deg);
    color: #fff; /* 文字色はここで変更 */
    font-weight: bold;
    right: 0px;
    position: absolute;
    z-index: 101;
}


.article2 #img002 {
    width: 100%;
    height:200px;
    background-image: url(img/002.png) ;
    background-repeat: no-repeat;
    background-position:  center;
    background-size: cover;
    margin:0 auto;
}

.article3 {
    position: relative;
    padding: 0 0 20px 0;
    background: #EEEEEE;
}

.article3::before {
    content: "";
    bottom: 0;
    right: 0;
    border-top: 3em solid transparent;
    border-right: 3em solid #FF2F27; /* ラベルの色はここで変更 */
    position: absolute;
    z-index: 100;
}
.article3::after {
    content: "";
    display: block;
    bottom: 5px;
    transform: rotate(135deg);
    color: #fff; /* 文字色はここで変更 */
    font-weight: bold;
    right: 0px;
    position: absolute;
    z-index: 101;
}


.article3 #img003 {
    width: 100%;
    height:200px;
    background-image: url(img/003.png) ;
    background-repeat: no-repeat;
    background-position:  center;
    background-size: cover;
    margin:0 auto;
}



.article4 h2{
    margin:50px auto 0px;
    font-size:16px;
}


.article4 p{
    font-size:15px;
    margin:0px;
}

.article4 section ol{
    display:flex;
}

.article4 section ol li{
    width:33%;
    list-style: none;
    margin:0;
}
.article4 section ol li p{
    width:88%;
    font-size:12px;

}


.article4 section p{
    font-size:14px;

}

.article4 section ol li p .textRed{
    font-weight:bold;
}


.article4 section p:first-child{
    font-size:14px;
}

.textRed{
    color:#FF2F27
}

.textBold{
    font-weight:bold;
}

.tags1 {
    background: #FF2F27;
    border-radius: 0px;
    color: #fff;
    display: inline-block;
    height: 20px;
    padding: 0 2em 0 3em;
    position: relative;
    opacity: 0.6;
    width:60%;
  }
.tags1::before {
  border: 10px solid transparent;
  border-left-color: #FF2F27;
  border-right-width: 0;
  content: '';
  display: block;
  height: 0;
  position: absolute;
  right: -10px;
  top: 0;
  width: 0;
}

.tags2 {
    background: #FF2F27;
    border-radius: 0px;
    color: #fff;
    display: inline-block;
    height: 20px;
    padding: 0 2em 0 3em;
    position: relative;
    opacity: 0.3;
    width:60%;
  }
.tags2::before {
  border: 10px solid transparent;
  border-left-color: #FF2F27;
  border-right-width: 0;
  content: '';
  display: block;
  height: 0;
  position: absolute;
  right: -10px;
  top: 0;
  width: 0;
}

.tags3 {
    background: #FF2F27;
    border-radius: 0px;
    color: #fff;
    display: inline-block;
    height: 20px;
    line-height: 20px;
    padding: 0 2em 0 3em;
    position: relative;
    opacity: 0.1;
    width:60%;
  }
.tags3::before {
  border: 10px solid transparent;
  border-left-color: #FF2F27;
  border-right-width: 0;
  content: '';
  display: block;
  height: 0;
  position: absolute;
  right: -10px;
  top: 0;
  width: 0;
}

footer{
    width:768px;
    margin: auto;
}

footer div img{
    width:100px;
}

footer p{
    text-align:center;
}

#footer_sp{
    display: none;
}


@media screen and (max-width:480px){
    /*画面幅が480pxまでの時*/
    body{
        background-color:#eeeeee;
        font-size:15px;
        margin:0;
    }
    
    header{
        width:100%;
        margin:0px auto;
    }
    
    header #img001{
        width: 100%;
        height:70px;
        /* (画像の高さ / 画像の横幅) × 100 */
        background-image: url(img/006.png) ;
        background-repeat: no-repeat;
        background-position:  center;
        background-size: cover;
        margin:0 auto;
    }  

    
    main{
        width: 100%;
        margin:-10px auto 0px;
        padding:0px 0 0px;
        background-color:#ffffff;
    }
    
    h3{
        font-size:16px;
    }

    li{
        margin: 10px 0px;
    }
    
    article{
        width:100%;
        margin:0px auto;
    }
    
    article:not(:first-of-type){
        margin:30px auto;
    }

    article section{
        line-height:28px;
        margin:0px;
        padding:0 20px;
    }
    
    article ul li{
        font-size:15px;
    }

    section{
        margin:0px 40px;
        line-height: 28px;
    }
    
    
    section h3{
        margin-bottom: 10px;
    }
    
    section ul{
        margin-top: 5px;
    }
    
    section p{
        margin: 0px;
    }
    
    .article1 h1 {
        font-size:24px;
        text-align: center;
        margin-top: 0px;
    }
    .article1 h1 span {
        font-size:20px;
    }
    .article1 p  {
        font-size:20px;
        font-weight: bold;
        text-align: center;
        width:200px;
        margin:0 auto;
    }
    .article1 p  span{
        font-size:26px;
        color:#FF2F27;
    }
    
    
    .article2 {
        position: relative;
        padding: 0 0 20px 0;
        background: #EEEEEE;
    }
    
    .article2::before {
        content: "";
        bottom: 0;
        right: 0;
        border-top: 3em solid transparent;
        border-right: 3em solid #FF2F27; /* ラベルの色はここで変更 */
        position: absolute;
        z-index: 100;
    }
    .article2::after {
        content: "";
        display: block;
        bottom: 5px;
        transform: rotate(135deg);
        color: #fff; /* 文字色はここで変更 */
        font-weight: bold;
        right: 0px;
        position: absolute;
        z-index: 101;
    }

    .article2 #img002 {
        width: 100%;
        height:470px;
        background-image: url(img/004.png) ;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        margin:0 auto;
    }


    article section ul{
        padding-left:20px;
    }

    .article3 {
        position: relative;
        padding: 0 0 20px 0;
        background: #EEEEEE;
    }
    
    .article3::before {
        content: "";
        bottom: 0;
        right: 0;
        border-top: 3em solid transparent;
        border-right: 3em solid #FF2F27; /* ラベルの色はここで変更 */
        position: absolute;
        z-index: 100;
    }
    .article3::after {
        content: "";
        display: block;
        bottom: 5px;
        transform: rotate(135deg);
        color: #fff; /* 文字色はここで変更 */
        font-weight: bold;
        right: 0px;
        position: absolute;
        z-index: 101;
    }
    
    .article3 #img003 {
        width: 100%;
        height:380px;
        background-image: url(img/005.png) ;
        background-repeat: no-repeat;
        background-position:  center;
        background-size: cover;
        margin:0 auto;
    }
    

    .article4{
        margin:0px auto 0px !important;
    }

    .article4 h2{
        margin:50px auto 0px;
        font-size:16px;
        padding:0 20px;
    }
    
    
    .article4 p{
        font-size:15px;
        margin:0px;
        padding:0 20px;
    }

    .article4 section{
        padding:20px 20px;
    }

    .article4 section p{
        font-size:14px;
    
    }
    
    .article4 section ol{
        display:block;
        padding:0;

    }
    
    .article4 section ol li{
        width:100%;
        list-style: none;
        margin:0;
        overflow: hidden;
    }
    .article4 section ol li p{
        font-size:12px;
        margin:10px 0;
    }

    
    .article4 section ol li p .textRed{
        font-weight:bold;
    }
    
    
    .article4 section p:first-child{
        font-size:14px;
    }
    
    .textRed{
        color:#FF2F27
    }
    
    .textBold{
        font-weight:bold;
    }
     
    .tags1 {
        background: #FF2F27;
        border-radius: 0px;
        color: #fff;
        display: none;
        height: 20px;
        padding: 0 2em 0 3em;
        position: relative;
        opacity: 0.6;
        width:60%;
      }

      .tags1_sp {
        display: inline-block;
        position: relative;
        background: #FF2F27;
        text-align: center;
        font-size: 24px;
        padding: 40px 0;
        margin: 0 20px 15px;
        width: 30px;
        float:left;
        opacity: 0.6;
      }
    .tags1_sp::before {
        animation-name: auto;
        border: 15px solid transparent;
        border-top-color: #FF2F27;
        border-bottom-width: 0;
        bottom: -15px;
        content: "";
        display: block;
        left: 0%;
        position: absolute;
        width: 0;
    }
    
    .tags2 {
        background: #FF2F27;
        border-radius: 0px;
        color: #fff;
        display: none;
        height: 20px;
        padding: 0 2em 0 3em;
        position: relative;
        opacity: 0.3;
        width:60%;
      }
    .tags2_sp {
        display: inline-block;
        position: relative;
        background: #FF2F27;
        text-align: center;
        font-size: 24px;
        padding: 40px 0;
        margin: 0 20px 15px;
        width: 30px;
        float:left;
        opacity: 0.3;
      }
    .tags2_sp::before {
        animation-name: auto;
        border: 15px solid transparent;
        border-top-color: #FF2F27;
        border-bottom-width: 0;
        bottom: -15px;
        content: "";
        display: block;
        left: 0%;
        position: absolute;
        width: 0;
    }
    
    .tags3 {
        background: #FF2F27;
        border-radius: 0px;
        color: #fff;
        display: none;
        height: 20px;
        line-height: 20px;
        padding: 0 2em 0 3em;
        position: relative;
        opacity: 0.1;
        width:60%;
      }
    .tags3_sp {
        display: inline-block;
        position: relative;
        background: #FF2F27;
        text-align: center;
        font-size: 24px;
        padding: 40px 0;
        margin: 0 20px 15px;
        width: 30px;
        float:left;
        opacity: 0.1;
      }
    .tags3_sp::before {
        animation-name: auto;
        border: 15px solid transparent;
        border-top-color: #FF2F27;
        border-bottom-width: 0;
        bottom: -15px;
        content: "";
        display: block;
        left: 0%;
        position: absolute;
        width: 0;
    }

    footer{
        width:100%;
        overflow: hidden;
        padding-bottom:20px;
    }


    footer div{
        width:30%;
        float:left;
    }

    footer div img {
        float:right;
        width: 90px;
    }

    footer p{
        width:100%;
        font-size:9px;

    } 

    #footer_sp{
        color:#a0a0a0;
        display: block;
        margin-bottom:30px;
        font-size:12px;
    }
    #footer_sp {
        display: table;
    }
    #footer_sp a{
        text-decoration: none;
    }

    #footer_sp table{
        list-style: none;
    }
    table , td, th {
        border: 1px solid rgba(0,0,0,0.16);
        border-collapse: collapse;
        width:100%; 
        text-align: center;
    }
    td, th {
        padding: 15px;
        width: 30px;
        height: 25px;
    }
}/*画面幅が480pxまでの時*/