.PremiumWrapper {
    width: 100%;
    font-size: small;
    font-family: "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO";
  
}

.PremiumWrapper h3{
    text-align: center;
    margin: 4rem 0 2rem;
}

.ImageBox {
width: 1000px;
justify-content: space-between;
display: flex;
margin: 1rem auto;
}

.PermissionTable {
width: 1000px;
margin: 1rem auto;
}

.PermissionTable h3 {
    text-align: center;
    margin: 4rem 0 2rem;
}

.image_box2 {
width: 32%;
border: 1px solid #ddd;
padding: 1rem;
border-radius: 3px;
}
.ImageBox h3 {
margin: 1rem 0;
font-size: large;
font-weight: bold;
text-align: center;
}

.image_box2 p {
    margin: 1rem 0;
    letter-spacing: 1px;
}
table.TableSimple {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    font-size: small;
    table-layout: fixed;
}

table.TableSimple td, th {
border: 1px solid #ccc !important;
padding: 10px;
font-size: medium;
}

table.TableSimple th {
background: whitesmoke;
text-align: center;
font-size: medium;
}

/* 2列目のスタイル */
table.TableSimple tr td:nth-of-type(2){
    color: dimgray;
    text-align: center;
}

/* 3列目のスタイル */
table.TableSimple tr th:nth-of-type(3){
    color: darkorange;
}
table.TableSimple tr td:nth-of-type(3){
    color: darkorange;
    text-align: center;
}

/* 4列目のスタイル */
table.TableSimple tr th:nth-of-type(4){
    color: #fff;
    background-color: limegreen;
}
table.TableSimple tr td:nth-of-type(4){
    color: limegreen;
    text-align: center;
}

    

td.allowed::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: large;
}

td.notallowed::before {
    content: '\f00d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: gray;
    font-size: large;
}

.button {
    display: block;
    width: 30%;
    height: 50px;
    line-height: 43px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-size: large;
    background-color: darkorange;
    border-radius: 10px;
    border: solid 3px #fff;
    -webkit-transition: all 0.1s;
    transition: all 0.1s;
    margin: 0 auto;
    padding-left: 0.7rem;
  }
  .button:hover {
    background-color: orange;
    text-decoration: none;
  }
  a.button {
    color: #fff;
  }
  a.button:visited {
    color: #fff;
  }
  a.button:visited:hover {
    color: #fff;
  }

.premium-button{
    padding: 4rem 0;
}

.premium-button h3{
    text-align: center;
}

.premium-button p {
    text-align: center;
}

@media screen and (max-width: 768px){
    article{
        display: flex;
        flex-direction: column-reverse;
    }

    .PremiumWrapper{
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
    }

    .ImageBox{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .image_box2{
        width: 100%;
        max-width: 400px;
        margin:0 auto 3rem;
    }

    .PermissionTable{
        width: 100%;
    }

    .PermissionTable h3{
        margin: 0 0 2rem;
        font-size: 20px;
        font-weight: bold;
    }

    .PremiumWrapper h3{
        margin: 2rem 0;
        font-size: 20px;
        font-weight: bold;
    }

    table.TableSimple{
        table-layout: initial;
    }

    table.TableSimple tr td:nth-of-type(2),
    table.TableSimple tr td:nth-of-type(3),
    table.TableSimple tr td:nth-of-type(4){
        width: 20%;
    }

    table.TableSimple th{
        font-size: x-small;
        padding: 6px 0;
    }

    table.TableSimple td{
        padding: 8px;
        font-size: smaller;
    } 
    
    .PremiumWrapper .ImageBox h3{
        margin: 1rem 0;
        font-size: 16px;
    }

    .premium-button{
        background-color: paleturquoise;
    }
    .premium-button a.button{
        width: 240px;
        font-size: small;
    }

    td.allowed::before {
        content: '\f00c';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: larger;
    }

    td.notallowed::before {
        content: '\f00d';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        color: gray;
        font-size: larger;
    }

    p#messageForUser,p#messageForAnonymous {
        font-size: 1.5rem;
        font-weight: bold;
        font-family: "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO";
        margin-bottom: 2rem;
        letter-spacing: 1px;
        color: #666;
    }
}
