/* クッションページのスタイル */
body {
    font-family: 'Arial', 'メイリオ', sans-serif;
    background-color: #f5f5f5;
    margin: auto;
}
  
/* IE 6 では最大幅がサポートされていないため、デフォルトで幅 100% に設定される */
.ie6 img {
    width:100%;
}

/**/
div, ul, li, dl, dd, dt, span, a {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}

.inline-block {
    display: inline-block;
    /display: inline;
    /zoom: 1;
}

/* layout */
.container-cushion {
    width: 1043px;
    margin: auto;
    overflow: hidden;
}

.ninja-recommend-cushion .main-content {
    float: right;
    max-width: 728px;
}
.side1-content {
    float: left;
    width: 300px;
}

#header,
#footer {
    background-color: #666;
    color: white;
}
#header a,
#footer a {
    color: white;
}

.ninja-recommend-cushion .side1-content {
    margin: auto 15px auto auto;
    min-width: 300px;
}


/* /layout */

/* Sticky footer styles
-------------------------------------------------- */

html,
body {
    height: 100%;
    /* The html and body elements cannot have any padding or margin. */
}

/* Wrapper for page content to push down footer */
#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* Negative indent footer by it's height */
    margin: 0 auto -60px;
}

/* Set the fixed height of the footer here */
#push,
#footer {
    height: 60px;
}

/* Lastly, apply responsive CSS fixes as necessary */
/*
@media (max-width: 767px) {
#footer {
  margin-left: -20px;
  margin-right: -20px;
  padding-left: 20px;
  padding-right: 20px;
}
}
*/
.title {
    line-height: 1.2em;
}

/* details of header */
#header {
    padding-bottom: 10px;
    margin-bottom: 15px;
}
#header .to-link-lp-admax {
    float: right;
    font-size: 12px;
    margin: 5px;
}


#header .site-title-and-admax {
    clear: both;
}
#header .site-title {
    font-size: 150%;
    font-weight: bold;
    max-width: 300px;
    float: left;
    line-height: 1.2em;
}
#header .site-title a {
    text-decoration: none;
}
#header .admax {
    float: right;
    width: 728px;
    margin: auto;
}

/* details of main */
.main-content .admax {
    margin: 15px auto;
}
.objective-article {
    font-size: 120%;
    margin: auto;
}

#wrap .articles-list {
    background-color: white;
    border-radius: 5px;
}
#wrap .articles-list .ninja-recommend-article {
    margin: auto!important;
    padding: 7px 10px!important;
    border-bottom: dotted 1px #ddd!important;
}
#wrap .articles-list .ninja-recommend-article-title {
    display: inline!important;
}
#wrap .ninja-recommend .article-favicon {
    display: inline-block !important;
    margin-right: 5px !important;
}

/* 上書き 貼り付けCSS */
.main-content .text .ninja-recommend-article-link {
    display: inline;
    text-decoration: none;
}
.objective-article a:hover,
.main-content .text .ninja-recommend-article-link:hover {
    color: #cc0000;
}
.main-content .text .ninja-recommend-article-date {
    opacity: .7;
}

/* details of side */
.side1-content .popular-block .title {
    font-size: 120%;
}

/* details of footer */
#footer .copyright {
    margin-top: 20px;
}
#footer {
    margin-top: 10px;
}


/**/
.debug-img {
    max-width: none;
}

li.ninja-recommend-article{
    margin-bottom: 5px;
}



/* コンテンツエリア admax300px + admax728px + margin-left15px = 1043px */
/* Laptop/Tablet (1024px) */
@media only screen and (min-width: 481px) and (max-width: 1042px) and (orientation: landscape) {
    .container-cushion {
        width: 100%;
        padding: 0 10px;
    }
    #header .site-title-and-admax {
        text-align: center;
    }
    #wrap #header .site-title {
        width: 100%;
        max-width: 100%;
        margin-bottom: 10px;
    }
    #wrap #header .admax {
        float: none;
    }
    .ninja-recommend-cushion .main-content {
        float: none;
        max-width: 100%;
    }
    .ninja-recommend-cushion .side1-content {
        float: none;
        margin: auto;
        min-width: 100%;
    }
    .objective-article {
        text-align: center;
    }
    #wrap .main-content .admax {
        width: 728px;
        margin: 10px auto;
    }
    .side1-content .admax {
        width: 300px;
        margin: 10px auto;
    }
}

/* Tablet Portrait (768px) */
@media only screen and (min-width: 321px) and (max-width: 1042px) and (orientation: portrait) {
    .container-cushion {
        width: 100%;
        padding: 0 10px;
    }
    #header .site-title-and-admax {
        text-align: center;
    }
    #wrap #header .site-title {
        width: 100%;
        max-width: 100%;
        margin-bottom: 10px;
    }
    #wrap #header .admax {
        float: none;
        margin: auto;
    }
    .ninja-recommend-cushion .main-content {
        float: none;
        max-width: 100%;
    }
    .ninja-recommend-cushion .side1-content {
        float: none;
        margin: auto;
        min-width: 100%;
    }
    .objective-article {
        text-align: center;
    }
    #wrap .main-content .admax {
        width: 728px;
        margin: 10px auto;
    }
    .side1-content .admax {
        width: 300px;
        margin: 10px auto;
    }
}

/* Phone Landscape (480px) */
@media only screen and (min-width: 321px) and (max-width: 480px) and (orientation: landscape) {
    #wrap .main-content .ninja-recommend .article-favicon {
        display: none !important;
    }
}

/* Phone Portrait (320px) */
@media only screen and (max-width: 320px) {
    .container-cushion {
        width: 100%;
        padding: 0 10px;
    }
    #header .site-title-and-admax {
        text-align: center;
    }
    #wrap #header .site-title {
        width: 100%;
        max-width: 100%;
        margin-bottom: 10px;
    }
    .ninja-recommend-cushion .main-content {
        float: none;
        max-width: 100%;
    }
    .ninja-recommend-cushion .side1-content {
        float: none;
        margin: auto;
        min-width: 100%;
    }
    #wrap .main-content .ninja-recommend .article-favicon {
        display: none !important;
    }
    
    .main-content .objective-article {
        margin: auto 10px;
    }
    .ninja-recommend-cushion .side1-content .admax {
        margin: auto;
        width: 300px;
    }
    #header .admax {
        float: none;
        margin: auto;
        width: 320px;
        font-size: 0;
    }
    .container-cushion {
        padding: 0;
        width: 100%;
    }
}

