﻿@charset "shift_jis";
/* CSS Document */

.youtubeLead {
    max-width: 1080px;
    margin: 0 auto;
}

.google-youtube {
    position: relative;
    padding-bottom: 64%; // これが縦横比
    height: 0;
    overflow: hidden;
    margin: 0px 2% 50px;
}

.google-youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

#mainBody .col1 {
    max-width: 1230px;
    margin: auto;
}

.col2 {
    display: inline-block;
    width: 27%;
    padding: 0px 8%;
    vertical-align: text-top;
    text-align: left;
}

.col2 p {
    line-height: 160%;
}

.col3 {
    display: inline-block;
    width: 100%;
    margin: 10px auto 60px;
    padding-top: 20px;
    vertical-align: text-top;
    text-align: left;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    -webkit-box-lines: multiple;
    -moz-box-lines: multiple;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
}

.col3 .pName {
    margin: 8px;
}

.col3 .pBody {
    line-height: 145%;
    text-align: left;
    padding: 15px;
}

.col3 .spec {
    margin-top: 10px;
    padding: 5px 10px 2px;
}


.col4 {
    display: inline-block;
    width: 630px;
    padding: 0px;
    vertical-align: text-top;
    text-align: left;
    margin: 10px 20px 30px;
}

.col4 p {
    line-height: 160%;
}

.col4 img {
    max-width: 100%;
}

.col4 h3 {
    color: #008c25;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .5);
    font-size: 250%;
    margin: 5px;
}

.col4 h4 {
    color: #008c25;
    text-align: center;
    font-size: 150%;
    margin: 5px;
}



/*
.col3 .itemData .purpose{ padding:10px;}
.col3 .itemData .sampleView li { display:inline-block; vertical-align:text-top;}
.col3 .itemData .sampleView li a{ display:block; padding:5px 10px; background:#2797ca; color:#FFF; }
.col3 .itemData .sampleView li a:hover { background:#2797ca;}
*/

.productbox {
    width: 300px;
    margin: 10px 12px 30px;
    text-align: center;
    position: relative;
    border-radius: 8px;
    border: 1px solid #333;
}

.productbox:hover {
    opacity: 0.8;
}

.productbox a {
    text-decoration: none;
    color: #333;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.productbox a:hover {
    text-decoration: none;
}

.productbox h3 {
    background-color: #084131;
    color: #fff;
    margin: 0!important;
    padding: 15px 0px 5px;
    border-radius: 8px 8px 0px 0px;
    font-size: 2rem;
    font-family: 'Oswald', serif;
    line-height: 110%;
}

.productbox span {
    display: block;
    font-size: 0.9rem;
    font-family: none;
    font-weight: normal;
    line-height: 1.8rem;
}

.brandLogo {
    padding: 100px 10px 50px;
}

.brandHeader {
    position:relative;
    margin:0px auto;
}

.brandHeader img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

#mainBody h1,
#mainBody h2 {
    color: #084131;
    font-family: 'Oswald', serif;
}

#mainBody .col2 h3 {
    margin-top: 40px;
    border-left: solid 10px #264601;
    border-bottom: solid 2px #264601;
    padding-left: 15px;
    color: #084131;
}

.lead {
    position: absolute;
    z-index: 10;
    width: 38%;
    top: 50px;
    left: 60px;
    text-align: left;
    line-height: 160%;
}

.smNavi {
    display: block;
    position: relative;
    border-bottom: solid 1px #DDD;
    border-top: solid 1px #DDD;
    margin: 20px 10px 50px;
    text-align: center;
}

.smFooter {
    padding: 50px 0;
}

.smFooter ul {
    margin-top: 0px;
}

.smNavi ul {
    margin: 0;
    letter-spacing: -0.4em;
}

.smFooter li,
.smNavi li {
    display: inline-block;
    padding: 10px 10px;
    position: relative;
    width: 200px;
    height: 30px;
    vertical-align: middle;
    line-height: 50px;
    letter-spacing: normal;
}

.smNavi li:hover {
    background: #e8fdff;
}

.smNavi li a:hover {
    text-decoration: none;
}

.smNavi li a {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}


div.pagination {
    clear: both;
}

div.pagination a:hover {
    background-color: #eee;
    text-decoration: none;
}

div.pagination span.current {
    font-weight: bold;
    background-color: #000;
    border-color: #000;
    color: #fff;
}

div.pagination span.ellipsis {
    border: none;
    padding: 5px 0 3px 2px;
}

.nextbutton {
    max-width: 600px;
    display: block;
    margin: 20px auto 70px;
}

.nextbutton a:hover {
    text-decoration: none;
    opacity: 0.8;
}

.nextbutton p {
    position: relative;
    color: black;
    background: #edf8ff;
    line-height: 1.4;
    padding: 10px 25px 10px 10px;
    margin: 10px 25px;
    border-radius: 0 5px 5px 5px;
    border: 1px solid #2196f3;
}

.nextbutton p:after {
    position: absolute;
    font-weight: 900;
    content: 'NEXT';
    background: #2196F3;
    color: #fff;
    left: 0px;
    bottom: 100%;
    border-radius: 5px 5px 0 0;
    padding: 3px 7px 1px;
    line-height: 1;
    letter-spacing: 0.05em
}

.nextbutton p:before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 7px;
    border-color: transparent transparent transparent #2797ca;
    position: absolute;
    top: 50%;
    margin-top: -5px;
    margin-left: 3px;
    right: 10px;
}

@media only screen and (max-width: 1024px) {
    .lead {
        position: relative;
        top: 0px;
        width: 90%;
        margin: auto;
        padding-bottom: 50px;
        left: 0px;
    }

    .visible1024 {
        width: 90%;
        margin: 20px auto;
    }

    .brandLogo {
        text-align: center;
    }

    .col2 {
        width: 38%;
        padding: 3%;
    }
    
    .productbox {
        margin: 8px 6px 20px;
    }

    #lens-color ul.thumbs {
        padding-left: 60px;
        padding-top: 10px !important;
    }

    #lens-color div#thumbs h3 {
        left: 10px;
    }
}

@media only screen and (max-width: 640px) {

    /*.lead { position:relative; top:0px; width:95%; }*/
    .brandLogo img {
        width: 90%;
    }

    .col2 {
        width: 95%;
        padding: 0px;
    }

    .col3 {
        width: 95%;
        /*padding:0px;*/
    }

    .col4 {
        max-width: 100%;
        width: -webkit-fill-available;
        font-size: 105%;
    }
    
    .productbox {
        width: 100%;
    }

    /*ƒTƒ“ƒvƒ‹ƒrƒ…[*/
    div.caption-container {
        width: auto;
    }

    div.slideshow-container {
        max-width: 400px;
        max-height: 200px;
    }

    div.slideshow img {
        width: 100%;
        height: auto;
    }

    div.caption-container {
        height: 30px;
    }

    #lens-color ul.thumbs {
        text-align: left;
        padding-left: 60px;
    }

    #lens-color ul.thumbs li img {
        display: none;
        /*width:40px;*/
    }

    #lens-color ul.thumbs li br {
        display: none;
    }

    #lens-color ul.thumbs li a {
        display: block;
        padding: 5px;
        background: #09F;
        color: #FFF;
    }

    span.image-caption {
        left: 5%;
        top: 20px;
    }

    div#thumbs h3 {}


}

@media only screen and (max-width: 480px) {

    /*.menu { display:block;  border-bottom:solid 1px #DDD;}*/
    .smNavi li {
        display: block;
        margin: 0 auto;
        width: 90%;
        border-bottom: 1px dotted #DDD;
    }
}
