@charset "utf-8";

/*all*/
html *{
    font-size: 18px;
    font-family:-apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
    text-decoration: none;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    box-sizing: border-box;
}
*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}

/* For modern browsers */
.cf:before,
.cf:after {
    content:"";
    display:table;
}
.cf:after {
    clear:both;
}
/* For IE 6/7 (trigger hasLayout) */
.cf {
    zoom:1;
}





.container{
    display: block;
    width: 1080px;
    margin: 0 auto;
}
.center{
    display: block;
    margin: 0 auto;
}
.ml_20{
    margin-left: 20px;
}


.style1 {
    color: #FF0000;
    background-color: #FFFFFF;
}
.style2 {
    color: #FF0000;
}
.style3 {
    color: #008000;
}
.style4 {
    color: #008000;
    background-color: #FFFFFF;
}






/*all*/






/*------------

    header

------------*/

header{
    margin-top: 20px;
}
h1{
    float: left;
    margin-left: 8px;
}
.discription{
    float: right;
    margin-right: 8px;
}
nav{
    clear: both;
    background-image: url("../images/soy_12.png");
    background-repeat: repeat-x;
    border-bottom: 12px solid #c0d3ac;
}
nav ul{
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
    list-style-type: none;
}
nav ul li{
    float: left;
    width: 25%;
    text-align: center;
}
nav ul li a{
    height: 52px;
    padding: 12px 0 0 0;
    display: block;
    color:#fff;
}
nav ul li a:hover{
    background-color: #c0d3ac;
}
h2{
    margin: 12px 0;
    background-image: url("../images/soy_17.png");
    background-repeat: repeat;
}
.kodawari{
    width: 100%;
    max-width: 1253px;
    margin: 0 auto;
    display: block;
}




/*------------

    main

------------*/
main{
    margin-top: 20px;
}
main .container01{
    height:auto;
    width: 1080px;
    padding: 80px 80px 40px 80px;
    background-image: url("../images/bg_01.png");
    background-repeat: no-repeat;
    background-size: contain;
}
main h3{
    width: auto;
}
main .content{
    margin-bottom: 40px;
}
main .content .text_box{
    background-image: url("../images/bg_ptn_02.png");
    margin: 72px 12px 12px 12px;
    padding: 36px 16px 30px 16px;
}
main .content .text_box p{
    padding-top: 18px;
}
main h4{
    display: block;
    width: 678px;
    height: 88px;
    margin: -100px auto 0 auto;
    padding: 16px 0 1px 0;
    text-align: center;
    font-size: 150%;
    color: #fff;
    background-repeat: no-repeat;
}
main h4.c01{
    background-image: url("../images/bg_h4_01.png");
}
main h4.c02{
    background-image: url("../images/bg_h4_02.png");
}
.dakara{
    display: block;
    margin: 0 auto;
}

div.kounyuu{
    position: relative;
    width: 100%;
    height: 100%;
    padding: 52% 0 0;
}
div.kounyuu div{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    background-image: url("../images/bg_kounyuu.png");
    background-repeat: no-repeat;
    background-size: contain;
}
div.kounyuu div a{
    position: absolute;
    bottom: 12%;
    left: 0;
    right: 0;
    display: block;
    width: 40%;
    margin: 0 auto;
}
div.kounyuu div a img{
    width: 100%;
}

footer{
    margin-top: 40px;
    height: 80px;
    background-color: #FCDDB4;
    border-top: 12px solid #C8E0B8;
}









@media screen and (max-width: 1080px) { 
    html,
    body,
    header,
    img.kodawari,
    div.container,
    header h2 img.container,
    main div.container *
    {
        width: 100%;
    }
    header div h1 img{
        height: 80px
    }
    header div div.discription p img,
    header div div.discription p a img{
        height: 40px
    }
    main div.container img.dakara{
        width: 60%;
    }
    main .container{
        height:auto;
        padding: 0;
        background-image: none;
    }
    main div.container h4{
        width: 678px;
    }
    main div.container .text_box{
        width: 96%;
    }
}

@media screen and (max-width: 780px) { 
    html,
    body,
    header,
    img.kodawari,
    div.container,
    header h2 img.container,
    main div.container *
    {
        width: 100%;
    }
    * a,
    * p,
    {
        font-size: 90%
    }
    .mb_left{
        float: left;
    }
    .mb_right{
        float: right
    }
    header div h1{
        float: none;
        text-align: center;
        margin: 10px auto;
    }
    header div div.discription{
        margin: 0 8px;
        float: none;
        clear: both;
    }
    header div div.discription p img,
    header div div.discription p a img{
        height: 30px;
    }
    header nav{
        border-bottom: 4px solid #c0d3ac;
    }
    header nav ul{
        width: 100%;
        padding: 0 0 0 0;
    }
    header nav ul li{
        width: 25%;
    }
    header nav ul li a{
        font-size: 60%;
        height: 38px;
    }
    main .container{
        height:auto;
        padding: 0;
        background-image: none;
    }
    main div.container h4{
        background-size:contain;
        width: 100%;
        height: 86px;
        font-size: 120%;
        margin: -40px auto 0 auto;
        padding: 12px 0 1px 0;
    }
    main div.content{
        margin-bottom: 12px;
    }
    main div.container div.text_box{
        width: 96%;
        margin: 24px 4px 4px 4px;
        padding: 24px 8px 15px 8px;
    }
    main div.container div.text_box p{
        font-size: 80%;
        padding-top: 0;
    }
    main div.container img.dakara{
        width: 60%;
    }    
}

@media screen and (max-width: 480px) { 
    main div.container h4{
        font-size: 72%;
        height: 58px;
    }
}