﻿@charset "utf-8";
/* CSS Document */

/*************************************************
英語ページ追加CSS
*************************************************/
.greenbg {
            background-color: #e7f7c7;
            padding: 5px 0px;
            margin-bottom: 30px;
        }

        .mainVisual {
            margin: 10px auto;
            width: 960px;
        }

        .enmain {
            width: 100vw;
            max-width: 960px;
        }

        dl.dlist3 dt,
        dl.dlist3 dd {
            margin-bottom: 20px !important;

        }

        /*special */
        .inner {
            padding: 0 10px !important;
        }

        ul.clearfix.toptokushu.maincat {
            display: flex;
            flex-wrap: wrap;
            margin: 0 auto;
            padding: 5px 0px 10px;
        }

        #top_special ul.clearfix.toptokushu.maincat li {
            width: 29%;
            margin: 20px 2% 0 0;
            float: left;
            border: 0px solid #cccccc;
            overflow: hidden;
            font-size: 12px;
            padding: 7px;
            background-color: #fff !important;
            box-shadow: 0px 0 7px rgba(0, 0, 0, 0.2);
            -moz-box-shadow: 0px 0 7px rgba(0, 0, 0, 0.2);
            -o-box-shadow: 0px 0 7px rgba(0, 0, 0, 0.2);
            -ms-box-shadow: 0px 0 7px rgba(0, 0, 0, 0.2);
            -webkit-filter: drop-shadow(0px 0 10px rgba(0, 0, 0, 0.2));
            filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, .2));
        }

        #top_special ul li a:link,
        #special ul li a:visited {
            text-decoration: none;
        }

        #top_special li:nth-last-child(n-1) .img {
            width: 100%;
            height: 140px;
            position: relative;
        }

        #top_special li:nth-last-child(n-1) .img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        body.english #top_special li p.topspt {
            font-size: 1.06em;
            line-height: 1.3;
            color: #000;
            margin-top: 10px;
            font-weight: normal !important;
            background: none !important;
            padding: 0px 12px 0px 12px !important;
            border-bottom: none !important;
            min-height: 90px;
        }

        p.img {
            margin: 0px !important;
        }

        @media screen and (max-width: 767px) {
            #top_special ul li {
                width: 100%!important;
                max-width: 100%;
                margin-right: 0 !important;
                height: auto;
                overflow: hidden;
            }

            #top_special li:first-child .img {
                /* BigBOX */
                height: 140px !important;
            }

            #top_special {
                /*margin: 90px 0 0;*/
                margin: 0;
                padding-left: 10px;
                padding-right: 10px;
            }

            #top_special ul li {
                width: 100%;
                max-width: 100%;
                margin-right: 0 !important;
                height: auto;
                overflow: hidden;
            }

            #top_special ul li:first-child {
                margin: 0!important;
            }

            #top_special .img {
                width: 100%;
                height: 200px;
                max-height: none;
            }
            
        }


        @media screen and (max-width: 960px) {

            #top_special ul li {
                margin: 20px 1.3% 0 0 !important;
            }

            #top_special ul li:nth-of-type(3n+1) {
                margin: 20px 0 0 0 !important;
            }

        }


        @media screen and (max-width: 980px) {

            #top_special .img img {
                height: 100% !important;
            }

            #top_special ul li:nth-of-type(3n+1) {
                margin-left: 0 !important;
            }

        }


        @media screen and (max-width: 960px) {
            #top_special ul li {
                margin: 20px 1.3% 0 0 !important;
            }
        }
