/*------------------------------ 
            PANKS
------------------------------*/
#sec01 li{
    display:inline;
    font-size:12px;
}
#sec01 ul{
    padding: 10px 0;
}

/*------------------------------ 
            clearfix
------------------------------*/
.clearfix:after{
    content: "."; 
    display: block; 
    height: 0; 
    font-size:0;    
    clear: both; 
    visibility:hidden;
}
.clearfix{
    display: inline-block;
} 
/* Hides from IE Mac */
* html .clearfix{
    height: 1%;
}
.clearfix{
    display:block;
}

/*------------------------------ 
            PC
------------------------------*/
 @media screen and (min-width: 641px) {
    #sec00 table {
        width: 100%;
        border-collapse: collapse;
    }
    #sec00 table th,
    #sec00 table td {
        border: 1px solid #008A1D;
        padding: 30px 25px;
        box-sizing: border-box;
    }
    #sec00 table th {
        width: 160px;
        color: #FFFFFF;
        background-color: #77C98D;
    }
    #sec01 h1{
        background:url(/library/ysfarm/common/img/main.jpg) no-repeat;
        background-size:100% 100%;
        padding:5%;
    }
    #sec01 h1 .title{
        margin-left:20px;
        font-size:24px;
    }
    #sec01 .pc{
        margin-bottom:30px;
        width:100%;
    }
    #sec01 h3{
        text-align: center;
        font-size:30px;
    }
    #sec01 .txt{
        width:63%;
        text-align: center;
        margin:0 auto;
        margin-bottom:40px;
        line-height: 2em;
        font-size:16px;
    }
    #sec01 .txt2{
        width:37%;
        text-align: center;
        margin:0 auto 30px auto;
        line-height: 2em;
        font-size:16px;
    }
    #sec01 .img_box{
        text-align: center;
    }
    #sec02 .pc{
        text-align: center;
    }
    #sec03 .messagebox{
        background-color:#F8F8F8;
        padding-top:50px;
        border-radius: 40px;
    }
    #sec03 .name{
        margin-top:20px;
        line-height: 1.4em;
    }
    #sec03 .messageimgbox{
        text-align: center;
        float:left;
        margin-left:10%;
    }
    #sec03 .txtbox{
        width:43%;
        margin-left:50%;
    }
    #sec03 .txt{
        margin-bottom:15px;
        line-height:1.5em;
    }
}


/*------------------------------ 
            SP
------------------------------*/

@media screen and (max-width: 640px) {
    #sec00 table {
        width: 100%;
        border-collapse: collapse;
    }
    #sec00 table th,
    #sec00 table td {
        display: block;
        border: 1px solid #008A1D;
        padding: 10px 15px;
        box-sizing: border-box;
    }
    #sec00 table th {
        color: #FFFFFF;
        background-color: #77C98D;
    }
    #sec01 h1{
        background:url(/library/ysfarm/common/img/main_sp.jpg) no-repeat;
        background-size:100% 100%;
        padding:5%;
    }
    #sec01 h1 .title{
        font-size:160%;
        margin-left:5%;
        vertical-align: -80%;
    }
    #sec01 h3{
        font-size: 1.2em;
        font-weight: bold;
        text-align: center;
        white-space: nowrap;
        margin-bottom:5%;
    }
    #sec01 .txt{
        text-align: center;
        margin-bottom:10%;
        line-height: 1.5em;
    }
    #sec01 .txt2{
        text-align: center;
        margin:0 auto 10% auto;
        line-height: 1.5em;
    }
    #sec03 .messagebox{
        background-color:#F8F8F8;
        padding:5%;
    }
    #sec03 .messageimg{
        width: 50%;
        float:left;
        margin-left:10%;
    }   
    #sec03 .name{
        padding: 20% 0 0 55%;
        width:50%;
    }
    #sec03 .txt{
        width:80%;
        margin:0 auto;
        clear:both;
        padding-top:7%;
        line-height: 1.8em;
    }
    .pc{
        display: none;
    }

    .grnv .img_sp{
        width:100%;
        margin:initial;
    }

    .img_sp{
        width:100%;
        margin:5% 0;
    }
}