.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
 
.clearfix:after {
    clear: both;
}
 
.clearfix {
    *zoom: 1;
}
 html {
  height: 100%;
}
body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
    font-family: "Helvetica Neue", Helvetica, 游ゴシック, YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Verdana, メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
 
.fixed {
    position:fixed;
    top:0;
    left:0;
    width:100%;
}
 
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: #003300;
    opacity: 0.2;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
    z-index: 999;
}
 
#wrap{
    background: #003300;
max-width: 1080px; 
 width: 100%;
     margin: 0 auto;
}
header  {

    width: 100%;
    margin: 0em;
}
header .inner {
    /* max-height: 190px; */
    margin: 0 auto;
    /* padding: 0.5em 0; */
    /* -webkit-box-sizing: border-box; */
    -moz-box-sizing: border-box;
    /* box-sizing: border-box; */
    background-image: url(../img/kumo03.jpg);
    /* border-top: 2px solid #003300; */
    /* border-right: 2px solid #003300; */
    /* border-left: 2px solid #003300; */
    /* border-radius: 35px 30px 0px 0px; */
    /* border-radius: 38px 30px 0px 0px; */
    /* -webkit-border-top-left-radius: 15px; */
    /* -webkit-border-top-right-radius: 15px; */
    /*-moz-border-radius-topleft: 15px;*/
    /*-moz-border-radius-topright: 15px;*/
    /*background-repeat: norepeat;*/
}
#syamei{
    width:60%;
float: left;
    margin-top: 1em;
    padding-left: 1em;
}

#denwa  {
    float: right;
    width: 320px;
    margin-top: 0;
}
#denwa img {

    border-radius: 20px;
    border: 0.3em #003300 solid;
    width: 85%;
}

.denwa-ab{
font-family: arial black;


    }
.denwa-moji01{
    font-size: 9px;
    margin-top: -93px;
    margin-left: 20px;
}
.denwa-ban{
    font-size: 18px;
    margin-left: 20px;
    margin-top: 2px;
}
.denwa-moji02{
margin-left: 22px;
    margin-top: 3px;
    font-size: 11px;
}
header h1 {
    /*float:left;*/


    text-align: left;
    font-size:1.6em;
    font-weight:bold;
}
header p{
    padding-left: 1.5em;
}
 
 
header nav {
    /* float: left; */
    /* width: 98%; */
    height: 3.5em;
    margin: 150px auto; 
    margin-bottom: 5px;
    text-align: center;
    /* background: linear-gradient(#003300,#339900); */
}
 
header.navOpen nav {
    opacity: 1;
    right: 0;
}
header nav ul {
    line-height: 0em;
    width: 100%;
    padding: 0 0 0 0px;
    table-layout: fixed;
    background: linear-gradient(#003300,#339900);
    font-size: 0.9em;
    display:table;
    margin: 0 auto;
    
}
header nav ul li {
   display:table-cell;
   width: 16%;
    justify-content: center;
    padding:0;
    list-style:none;
        font-size: 0.6em;
        line-height: 3;
        border-left: 1px solid #fff;
}
header nav ul li:first-child {
  border-left: none;
}

.button1 {

  /*line-height: 3.5;*/
  font-size: 1.6em;
  text-decoration:none;
  color: #fff;

}
.button1:hover {
  color: #fff;
 font-size: 2em;
 font-weight:bold; 
    letter-spacing: 0.2px;
     transition:all 0.8s;
     ;
}

.button1::after{

    color: #fff;


    transition:all 1.5s;
    /*transition-property:width;*/
      z-index: 10;
}

.button1:hover::after,
.button1:active::after {
font-size: 4em;
    width:100%;
}


header .button {
    display: none;
    width: 30px;
    position: absolute;
    top: 20px;
    right: 15px;
    cursor: pointer;
}
header .button span {
    display: block;
    height: 4px;
    width: 100%;
    background: #000000;
    border-radius: 2px;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
header .button span:nth-of-type(2),
header .button span:nth-of-type(3) {
    margin-top: 5px;
}
 
header.navOpen .button span:nth-of-type(1) {
    -webkit-transform: translateY(9px) translateX(0) rotate(45deg);
    -ms-transform: translateY(9px) translateX(0) rotate(45deg);
    transform: translateY(9px) translateX(0) rotate(45deg);
}
header.navOpen .button span:nth-of-type(2) {
    margin-top: 5px;
    opacity: 0;
    -webkit-transform: translateY(9px);
    -ms-transform: translateY(9px);
    transform: translateY(9px);
}
header.navOpen .button span:nth-of-type(3) {
    -webkit-transform: translateY(-9px) translateX(0) rotate(-45deg);
    -ms-transform: translateY(-9px) translateX(0) rotate(-45deg);
    transform: translateY(-9px) translateX(0) rotate(-45deg);
}
  
#contents {
    width: 95%;
    margin-top: 30px;
    background-color: #EEEEEE;
    padding: 1.5em 0.0em 0em 2em;
    padding-left: -3em;
    line-height: 1.5;
    overflow: hidden;
}
#contents p {
color: black;
margin: 1em 0 ;
}


.top-con{
  position: relative;

  top: -2.5em;
  left: -1.95em;

  }
.message-im img{
width: 105%;

}
.topmoji{
    position: absolute;
    top: 3.5em;
    left: 4em;
    color: #fff;
    padding: 0em;
    font-size: 1.5em;
}

#top-con-ai{
background: url("../img/paper-f1.png") repeat;
    float: left;
    width: 40%;
    margin-top: -2em;
    margin-left: -2em;
    padding: 2em;
    border-left: 8px solid #003300;
}
#top-con-right{
    float: right;
    width: 48%;
    margin-right: 2em;
        margin-top: -2em;
}
#top-con-new{
background: url("../img/paper-f1.png") repeat;
    margin-top: 0em;
    margin-left: 0em;
    padding: 2em;
    border-left: 8px solid #003300;

}
#top-con-logo{

    margin-top: 1em;
    margin-right: 0.5em;
}
#top-con-logo img{
    width: 100%;
}
#footer{
bottom: 0;
  
    width: 100%;
    height: 140px;
    margin-top: 0em;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0.5em;
    background: linear-gradient(#003300,#339900);
}

footer nav{
float: right;

}
#foot-nav{
float: right;
margin-top: -0.5em;
margin-right:  2em;
}
#foot-nav ul {
list-style-type: none!important;/*ポチ消す*/
text-decoration:none;
font-size: 1.2em;;
}

#foot-nav ul li{
margin: 0.5em 0em;
padding: 0em;

font-size: 0.4em;
text-decoration: none;
    border-bottom: 1px solid #FFF;
}

#foot-tel00{
/*display: none;*/
color: #fff;
margin-left: 2px;
    margin-top: 107px;
}
p.foot-tel01{
    margin-top: 0.5em;
    margin-left: 1.5em;
}
#foot-co{

    font-size: 0.8em;
    width: 100%;
    background: linear-gradient(#003300,#339900);
    float: right;
    margin-top: 2.5em;
    padding-top: 0.4em;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    line-height: 0.7;

}
#foot-co p{
color: #fff;
} 
 
@media screen and (max-width:820px){ /* ------------------------------------------ */
#wrap {
width: 100%;
margin: 0 auto;

}
header{
    margin-left: 0px;
    margin-top: -6px;
    width: 100%;
}
header .inner {
    height: 200px;

    }
header h1 {

    width: 100%;
    margin-top: 0px;
}

#syamei p{
    margin-left: -23px;
    font-size: 0.5em;
}
#syamei {

    margin-top: 2em;
    padding-left: 3em;
}

#denwa {
    float: right;
    margin-right: 3em;
     margin-top: -3em; 
    margin-bottom: 2em;
    /* padding-top: 0em; */
    /* width: 39%; */
}
#denwa img{

    top: -40px;
    left: -100px;
    width: 18em;

}
.denwa-ab{


}
.denwa-moji01{
    font-size: 9px;
    margin-top: -100px;
    margin-left: 35px;
}
.denwa-ban{
    font-size: 19px;
    margin-left: 20px;
}

.denwa-moji02{
margin-left: 30px;
font-size: 9px;
}

header nav {
    width: 100%;
    /* float: none; */
    /* margin: 0 auto; */
}

header nav ul {
font-size: 0.6em;
margin-left: auto;
margin-right: auto;
    margin-top:0em;
    width: 100%;
}

header nav ul li {
line-height: 1.2;
    padding: 0px 3px;
    font-size: 0.6em;
    margin: 0;
}

.button1 {

  line-height: 3.5;
  }
header nav ul li a::after {
  bottom: -7px;
}

header nav ul li a::after {
 
    bottom: -0.4em;

}
header nav ul li a:hover::after {
    bottom: -0.4em;
} 

#contents {
    margin-top: 0.5em;
    margin-left: -.5em;
    padding: 1em 1.5em 1em 1.5em;
    width: 94%;
}

.top-con{
  top: -1.5em;
  left: -1.2em;
  width: 102%;
  }
#top-con-ai {
    float: left;
    width: 38%;
    margin-top: -1em;
    margin-left:-0.5em;
    padding: 2em 1em 0em 2em;
    border-left: 8px solid #003300;
}
#top-con-right{
    float: right;
    width: 44%;
    margin-right: 0em;
        margin-top: -1em;
}
#top-con-new {
    background: url("../img/paper-f1.png") repeat;

    border-left: 8px solid #003300;
}
#top-con-logo{

    margin-top: 1em;
    margin-right: 0.5em;
}
#top-con-logo img{
    width: 100%;
}
.message-im img{
width: 105%;

}
.topmoji{
    top: 2.5em;
    left: 2em;
    font-size: 1.3em;
}
#footer{
    margin-left: 0em;
    padding-left: 0em;
    width: 100%;

}
footer nav{
float: right;
    margin-right: 0em;

}

#foot-co{
    width: 101%;
    font-size: 0.8em;
    margin-top: -1em;
}


}
 
@media screen and (max-width:620px){  /* ------------------------------------------ */
header{
    width: 98%;
    height: 100px;
    margin-top: -6px;
    margin-left: -3px;
    
}
header .inner {
    margin: 0 -0.5em;
    width: 102%;
    background-image: url(../img/kumo03.jpg);
    border-radius: inherit;
    border: none;
    }
header h1 {
    font-size: 1.4em;
    width: auto;
    margin-top: -1.1em;
    margin-left: -1em;
}
header p{
font-size: 0.9em;
}
#denwa{
display: none;
}


header .button {
    display:block;
}
header nav {
    overflow:auto;
    position: fixed;
    top: 0;
    right: -70%;
    float:none;
    width: 45%;
    max-width:320px;
    height: auto;
    background: #fff;
    opacity: 0;
    z-index:9999;
     
}
header nav ul{
    margin-top: 0em;
    margin-left: -0.5em;
    margin-bottom: 0em;
    width: 250px;
    height: 245px;
    text-align: left;
    padding-left: 1em;
}

header nav ul li{
    display: block;
    line-height: 4;
    margin-left: 3px;
    border-right: none;
    width: 151px;
    padding-top: 0em;
    padding-bottom: 0em;
    padding-left: 0em;
    padding-right: 0em;
    background-image: none;
    /* display: inline-flex; */
}
/*header nav ul li a{
    border-top: 0.1em solid #2E8B57;

}*/
/*header nav ul li a:hover {
    background-color: #444;
    text-decoration:none;
}*/

.button1 {
  position: relative;
  z-index: 1;
  padding: 3px 5px;
  line-height: 3.5;
  font-size: 1.8em;
 
  background-image:none;

  text-decoration:none;

  color: #fff;
  overflow: hidden;
}
.button1:hover {
  color: #000;
  font-size: 2em;
 font-weight: bold; 
    letter-spacing: 2px;
     transition:all 1s;
}


#contents {

    width: 87%;
    margin-left: -7px;
}
#top-con-ai {
    clear: left;
    float: center;
    width: 100%;
    margin-top: -2em;
    margin-left: -1.6em;
    /* margin-right: -.5em; */
    padding: 0em 1em 0em 1em;
    border-left: none;
    /*border-left: 8px solid #003300;*/
   
    }
#top-con-right{

    width: 100%;
    margin-right: 0em;
    margin-top: 0;
    border-top: 8px solid #003300;
    border-left: none;
}
#top-con-new {
    background: url("../img/paper-f1.png") repeat;
}
.topnew ul{
padding-bottom: 2em;
}
#top-con-logo{

    margin-top: 0em;
    margin-right: 0.5em;
}
#top-con-logo img{
    display: none;
}
.top-con{
    top: -1.5em;
    left: -1em;
    width: 118%;
}
.message-im img{
width: 105%;
height: 90%;
/*max-height: 200px;*/
    margin-left: -1em;

}
.topmoji{
    top: 1.5em;
    left: 1em;
    font-size: 1.3em;
}


#footer{
    top: 0em;
    bottom: 0;
    width: 100%;
    margin-left:0em;
    margin-top: 0em;

}

#foot-nav{
float: right;
    font-size: 10px;
    margin-right: 5em;
    
}
#foot-nav ul {
    margin-right: -3em;
}
#foot-nav ul li {
font-size: 0.5em;
}

#foot-tel00{
display: left;
}

#foot-tel00 .denwa-moji01{
  font-size: 8px;
    margin-top: -95px;
    margin-left: 2px;
}
#foot-tel00 .denwa-ban{
    font-size: 15px;
    margin-top: 7px;
    margin-left: 10px;

}

#foot-tel00 .denwa-moji02{
font-size: 8px;
    margin-top: 4px;
    margin-left: 2px;
}
p.foot-tel01{
    margin-top: 0.5em;
    margin-left: 0.5em;
}
#foot-co{
    font-size: 0.5em;
    margin-top: 1.5em;
    width: 100%;
}


#foot-co p {

text-align: center;
    margin-top: 1.5em;
}
}