/*iphone*/
@media screen and (max-width:667px){
#body{
   width: 100%;        
}
.wrap{
   overflow: hidden;
}
#logo img{
    float: left;
    width: 50%;
    margin-top: 1%;
}
#tel img{
    display: none;
}
#mail img{
    display: none;
} 
ul{
    float: left;
    clear: left;
    padding: 0;
}
ul li{
   color: black;
   border-left: solid 8px red;
   background: whitesmoke;
   margin-bottom: 5px;
   line-height: 1.5;
   border-radius: 0 15px 15px 0;
   padding: 0.5em;
   list-style-type: none!important;
}
a{
   text-decoration: none;
   color: #000;
}
#gaiyou h1{
   clear: left;
   font-size: 20px;
   border-bottom: solid 2px blue;
}
#access h1{
   font-size: 20px;
   border-bottom: solid 2px blue;
}
#access iframe{
   width: 100%;
   text-align: center;
}
.arrow_box{
   text-align: center;
}
table.company {
   width: 500px;
   margin: 0 auto;
   border-collapse: separate;
   border-spacing: 0px 15px;
   font-size: 12px;
}

table.company th,
table.company td {
   padding: 10px;
}

table.company th {
   background: #295890;
   vertical-align: middle;
   text-align: left;
   width: 100px;
   overflow: visible;
   position: relative;
   color: #fff;
   font-weight: normal;
   font-size: 15px;
}

table.company th:after {
   left: 100%;
   top: 50%;
   border: solid transparent;
   content: " ";
   height: 0;
   width: 0;
   position: absolute;
   pointer-events: none;
   border-color: rgba(136, 183, 213, 0);
   border-left-color: #295890;
   border-width: 10px;
   margin-top: -10px;
}
/* firefox */
@-moz-document url-prefix() {
table.company th::after {
   float: right;
   padding: 0;
   left: 30px;
   top: 10px;
   content: " ";
   height: 0;
   width: 0;
   position: relative;
   pointer-events: none;
   border: 10px solid transparent;
   border-left: #295890 10px solid;
   margin-top: -10px;
}
}

table.company td {
   background: #f8f8f8;
   width: 360px;
   padding-left: 20px;
}
#footer{
   text-align: center;
}
}



/*ipad*/
@media screen and (min-width:668px) and (max-width:1024px){
body{
    width: 100%;
}
#logo img{
    float: left;
    width: 30%;
    margin-left: 5%;
    margin-top: 1%;
}
#tel img{
    float: left;
    margin-left: 18%;
    width: 20%;
}
#mail img{
    float: left;
    width: 20%;
    margin-bottom: 1%;
} 
#navi ul{
    clear: left;
    text-align: center;
    background-color: red;
}
#navi li{
    list-style: none;
    display: inline-block;
    width: 15%;
    color: #fff;
    font-size: 12px;
    background-color: red;
}
.arrow_box{
    text-align: center;
}
table.company {
width: 500px;
margin: 0 auto;
border-collapse: separate;
border-spacing: 0px 15px;
font-size: 12px;
}

table.company th,
table.company td {
padding: 10px;
}

table.company th {
background: #295890;
vertical-align: middle;
text-align: left;
width: 100px;
overflow: visible;
position: relative;
color: #fff;
font-weight: normal;
font-size: 15px;
}

table.company th:after {
left: 100%;
top: 50%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-color: rgba(136, 183, 213, 0);
border-left-color: #295890;
border-width: 10px;
margin-top: -10px;
}
/* firefox */
@-moz-document url-prefix() {
table.company th::after {
float: right;
padding: 0;
left: 30px;
top: 10px;
content: " ";
height: 0;
width: 0;
position: relative;
pointer-events: none;
border: 10px solid transparent;
border-left: #295890 10px solid;
margin-top: -10px;
}
}

table.company td {
background: #f8f8f8;
width: 360px;
padding-left: 20px;
}
#gaiyou{
    text-align: center;
}
#gaiyou h1{
    text-align: left;
    width: 80%;
    margin-left: 10%;
    border-bottom: solid 3px #87cefa;
}
#access{
    text-align: center;
    margin-bottom: 5%;
}
#access h1{
    text-align: left;
    width: 80%;
    margin-left: 10%;
    border-bottom: solid 3px #87cefa;
}
#access iframe{
    width: 60%;
    text-align: center;
}
#footer{
    text-align: center;
}
span{
    border-bottom: solid 1px red;
}
}
    
/*PC*/   
@media screen and (min-width:1025px){
body{
    width: 100%;
}
#logo img{
    float: left;
    width: 30%;
    margin-left: 5%;
    margin-top: 1%;
}
#tel img{
    float: left;
    margin-left: 18%;
    width: 20%;
}
#mail img{
    float: left;
    width: 20%;
    margin-bottom: 1%;
}
#navi ul{
    clear: left;
    text-align: center;
    background-color: red;
}
#navi li{
    list-style: none;
    display: inline-block;
    width: 15%;
    color: #fff;
    font-size: 20px;
    background-color: red;
}
#gaiyou{
    text-align: center;
}
#gaiyou h1{
    text-align: left;
    width: 80%;
    margin-left: 10%;
    border-bottom: solid 3px #87cefa;
}
.arrow_box{
    text-align: center;
}
table.company {
width: 500px;
margin: 0 auto;
border-collapse: separate;
border-spacing: 0px 15px;
font-size: 12px;
}

table.company th,
table.company td {
padding: 10px;
}

table.company th {
background: #295890;
vertical-align: middle;
text-align: left;
width: 100px;
overflow: visible;
position: relative;
color: #fff;
font-weight: normal;
font-size: 15px;
}

table.company th:after {
left: 100%;
top: 50%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-color: rgba(136, 183, 213, 0);
border-left-color: #295890;
border-width: 10px;
margin-top: -10px;
}
/* firefox */
@-moz-document url-prefix() {
table.company th::after {
float: right;
padding: 0;
left: 30px;
top: 10px;
content: " ";
height: 0;
width: 0;
position: relative;
pointer-events: none;
border: 10px solid transparent;
border-left: #295890 10px solid;
margin-top: -10px;
}
}

table.company td {
background: #f8f8f8;
width: 360px;
padding-left: 20px;
}
#access{
    text-align: center;
    margin-bottom: 5%;
}
#access h1{
    text-align: left;
    width: 80%;
    margin-left: 10%;
    border-bottom: solid 3px #87cefa;
}
#access iframe{
    width: 60%;
    text-align: center;
}
#footer{
    text-align: center;
}
span{
    border-bottom: solid 1px red;
}
}