@charset "UTF-8";


*.clsPhotoBody { width : 100% ; }


/* For PC or Tablet */
@media screen and ( min-width : 481px )
{
    *.clsMemberGrid
    {
        display               : grid ;
        grid-template-columns : 24% 24% 24% 24% ;
        grid-column-gap       : 1% ;
        grid-template-rows    : auto auto ;
        background-color      : transparent /* cyan */ ;
     }

    *.clsPhotoBox
    {
        text-align   : center ;
        align-self   : end ;
        border-style : none ;
        border-color : red ;
        border-width : thin ;
    }

    *.clsPhotoBox1 { grid-area : 1 / 1 / span 1 / span 1 ; }
    *.clsPhotoBox2 { grid-area : 1 / 2 / span 1 / span 1 ; }
    *.clsPhotoBox3 { grid-area : 1 / 3 / span 1 / span 1 ; }
    *.clsPhotoBox4 { grid-area : 1 / 4 / span 1 / span 1 ; }

    *.clsPort
    {
        padding : 0 12.5% 0 12.5% ;
    }

    *.clsLabelBox
    {
        text-align   : center ;
        padding      : 0 0 1em 0 ;
        border-style : noned ;
        border-color : green ;
        border-width : thin ;
    }

    *.clsLabelBox1 { grid-area : 2 / 1 / span 1 / span 1 ; }
    *.clsLabelBox2 { grid-area : 2 / 2 / span 1 / span 1 ; }
    *.clsLabelBox3 { grid-area : 2 / 3 / span 1 / span 1 ; }
    *.clsLabelBox4 { grid-area : 2 / 4 / span 1 / span 1 ; }
}


/* For Smartphone */
@media screen and ( max-width : 480px )
{
    h1 { font-size : large ; }

    *.clsMemberGrid
    {
        display               : grid ;
        grid-template-columns : 49% 49% ;
        grid-column-gap       : 2% ;
        grid-template-rows    : auto auto ;
        background-color      : transparent /* cyan */ ;
    }

    *.clsPhotoBox
    {
        text-align   : center ;
        align-self   : end ;
        border-style : none ;
        border-color : red ;
        border-width : thin ;
    }

    *.clsPhotoBox1 { grid-area : 1 / 1 / span 1 / span 1 ; }
    *.clsPhotoBox2 { grid-area : 1 / 2 / span 1 / span 1 ; }
    *.clsPhotoBox3 { grid-area : 3 / 1 / span 1 / span 1 ; }
    *.clsPhotoBox4 { grid-area : 3 / 2 / span 1 / span 1 ; }

    *.clsPort
    {
        padding : 0 12.5% 0 12.5% ;
    }

    *.clsLabelBox
    {
        text-align   : center ;
        padding      : 0 0 1em 0 ;
        border-style : none ;
        border-color : green ;
        border-width : thin ;
    }

    *.clsLabelBox1 { grid-area : 2 / 1 / span 1 / span 1 ; }
    *.clsLabelBox2 { grid-area : 2 / 2 / span 1 / span 1 ; }
    *.clsLabelBox3 { grid-area : 4 / 1 / span 1 / span 1 ; }
    *.clsLabelBox4 { grid-area : 4 / 2 / span 1 / span 1 ; }
}

