@charset "utf-8";

/*
Site Name: 
Description: layout
*/

/* base layout
----------------------------------------- */
#container{
	padding: 0px;
	margin: 0px auto;
	text-align: center;
}

#header{
    width: 100%;
    height: 84px;
    background-color: rgba(51,51,51,0.4);
	text-align: center;
	position: fixed;
    top: 0;
    z-index: 100;
    transition: .2s;
}
#contents #header,
.fixed #header{
    background-color: rgba(51,51,51,1);
}


#content{
	text-align: left;
	overflow: hidden;
    position: relative;
    z-index: 10;
}
/*#content p{
	text-align: left;
	overflow: hidden;
    position: relative;
    z-index: 10;
}*/
#contents #content::after{
	content: "";
	width: 100%;
	height: 100px;
	background-image: url(../img/headline_bg.png);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 100% 100%;
	position: absolute;
	left: 0;
	top: 0;
}
.wrapper,
.inner{
    width: 950px;
    max-width: 100%;
    margin: 0px auto;
	padding: 0px 30px;
    position: relative;
}

#footer{
    color: #FFF;
    padding: 35px 0 80px;
    background-color: #333;
	text-align: center;
	overflow: hidden;
}

@media all and (max-width: 1210px){
#header{
	height: 40px;
}	
}
@media all and (max-width: 640px){
#contents #content::after{
    height: 30px;
    background-image: url(../img/headline_bg_sp.png);
}
}

/* content layout */
#main{
	width: 100%;
	margin-bottom: 40px;
    
}



@media all and (max-width: 768px){
#main,
#sub{
	float: none;
	clear: both;
	width: 100%;
}
}
/* Web Grid
   https://web-grid.webjeda.com/
----------------------------------------- */
.r {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 10px
}

[class*="c-"] {
    grid-column: span 12;
    padding: 10px;
}
 /* 640px */
@media only screen and (min-width: 640px) { 
    
    .c-50 {
        grid-column: span 6;
    }
    .c-25 {
        grid-column: span 3;
    }    
    .c-75 {
        grid-column: span 9;
    }    
    .c-100 {
        grid-column: span 12;
    }  
  
    .c-1 {
        grid-column: span 1
    }

    .c-2 {
        grid-column: span 2
    }

    .c-3 {
        grid-column: span 3
    }

    .c-4 {
        grid-column: span 4
    }

    .c-5 {
        grid-column: span 5
    }

    .c-6 {
        grid-column: span 6
    }

    .c-7 {
        grid-column: span 7
    }

    .c-8 {
        grid-column: span 8
    }

    .c-9 {
        grid-column: span 9
    }

    .c-10 {
        grid-column: span 10
    }

    .c-11 {
        grid-column: span 11
    }

    .c-12 {
        grid-column: span 12
    }
  
}
 /* 640px - 810px */
@media only screen and (max-width: 810px) and (min-width: 640px) {

    .c-50 {
        grid-column: span 6;
    }
    .c-25 {
        grid-column: span 3;
    }    
    .c-75 {
        grid-column: span 9;
    }    
    .c-100 {
        grid-column: span 12;
    } 
	
}