html {
    -webkit-font-smoothing: antialiased;
    
}
body {
    margin: 0 auto 1% auto;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1em;
    line-height: 1.5em;
    color: #545454;}
ul{list-style: none;}


/* テキスト */
h1, h3, h4, h5, h6 {
    color: #222;
    font-weight: 600;
    line-height: 1.3em;}
b, strong {font-weight: 600;}
a {color: #545454;}
.kaisya a{color:#fff;}
h2{
    font-size:  1.5em;
    line-height: 0;
}

/* 各要素 */
.top{
    background-image: url(image/top_bill.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position:center;
    margin-bottom: 2%;
}
.copy{
    padding-top: 15%;
    padding-bottom: 20%;
    font-family: "トーキング";
    color: #fff;
}
#logo{
    position: relative;
    /*background-color: rgba(255,255,255,0.5);*ボックス確認用*/
    right: 35%;
    padding: 5px;}


.button{
    border-radius: 4px;
    color:#fff;
    position: relative;
    float:left; 
    font-family:"トーキング";
    font-size:  2em;
    padding:5px 2% 10px 2%;
    margin:1% 1%;
    background-color: dimgray;
    width: 27.3%;

  cursor: pointer;
  transition: 0.2s;
  -webkit-transition: 0.2s;
}

.button:hover{
    transform: scale(0.95);
}



#otowa:hover{
     background-color:#B8193F;
}
#imafuku:hover{
    background-color: #003894;
}
#thonglo:hover{
    background-color: #ee7800;
}


.list{
    max-width:99%;
    margin:0 auto 1% auto;
    overflow: hidden;
}


.title{
    padding: 5px;
    margin-top: 5%;
    font-family:"新ゴ M";
    font-size: 1.2em;
}

.kaisya{
    min-width: 260px;
    height: 100px;
    font-size: 0.9em;
    color: #fff;
    position: relative;
    float: left;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover ;
    cursor: pointer;
}
.kaisya:hover{opacity:0.7;}

#fukuin{
    background-image: url(image/fukuin.jpg);
}
#meirin{
    background-image: url(image/meirin.jpg);
}
#fg{
    background-image: url(image/fg.jpg);
}
#packing{
    background-image: url(image/packing.jpg);
}
#inter{
    background-image: url(image/inter.jpg);
}
#thai{
    background-image: url(image/thai.jpg);
}

.list p{
    font-size: 0.9em;
}

footer{
    position: relative;
    text-align: center;
}





/* デバイスごとのcss割り当て切り替え */
/* pc表示 */
@media only screen and (min-width: 850px) {
.button span{
            line-height: normal;
}
.copy{
        font-size: 2.5em;
        line-height: normal;
    }
    #logo{}
.kaisya{
    width:31.3%;
    padding: 100px 1%;
}
}
/* tablet表示 */
@media only screen and (max-width: 849px) {
    h2{font-size: 1.2em}
    .button span{font-size: 0.9em;
            line-height: normal;
}
    .copy{
        font-size: 2em;
        line-height: normal;
    }
    #logo{}
.kaisya{
    width:47%;
    padding: 85px 1.5% 60px 1.5%;
}
}
/* mobile表示 */
@media only screen and (max-width: 750px) {
    h2{font-size: 1em}
 
    .button{
        width:90%;
        margin:1% 3.4%;

    }

   .button span{
       font-size: 0.7em;
       line-height: normal;
    }
    
    
.copy{
     font-size: 1.2em;
    line-height: 2em

    }
.kaisya{
    width:100%;
    padding:25px 2% 5px 2%;
}
}





/* 要素の表示切り替え */
/* pc用*/
.pc { display: block !important; }
.tab{ display: none !important; }
.sp { display: none !important; }
/* tablet用 */
@media only screen and (max-width: 839px) {
.pc { display: none !important; }
.tab { display: block !important; }
.sp { display: none !important; }}
/* mobile用 */
@media only screen and (max-width: 750px) {
.pc { display: none !important; }
.tab { display: none !important; }
.sp { display: block !important; }}