.wrapper {
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
}

header{
    max-width: 375px;
    width: 100%;
    text-align: center;
}
.ahiru_img{
    width: 100%;
}
.comp{
    width: 100%;
}
.line_c{
    font-weight: bold;
    text-align: left;
    padding-left: 10px;
}
.tel{
    font-weight: bolder;
    color: red;
    font-size: large;
}
.menu_box{
    border-style: ridge;
    border-left-style: none;
    border-right-style: none;
    display: flex;
    justify-content: space-evenly;
} 
    
h4{
    color: green;
    margin-bottom: 0px;
    cursor: pointer;
}
.mine{
    color: rgba(128, 128, 128, 0.8);
}

.menu_child02 {
    background-color:white;
    font-weight: bold;
    color: blue;
    height: 0;
    opacity: 0;
    visibility: hidden;
    text-align: left;
    transition: .5s;
    font-size: x-small;
}

.menu_child02.active {
    height: 14rem;
    opacity: 1;
    visibility: visible;
    text-align: left;
    line-height: 3;
}

.menu_child03 {
  background-color: white;
  color: blue;
  font-weight: bold;
  height: 0;
  opacity: 0;
  visibility: hidden;
  text-align: left;
  transition: .3s;
  font-size: x-small;
}
.menu_child03.active {
  height: 8rem;
  opacity: 1;
  visibility: visible;
  text-align: left;
  line-height: 3;
}
.menu_child04 {
    background-color: white;
    color: blue;
    font-weight: bold;
    height: 0;
    opacity: 0;
    visibility: hidden;
    text-align: left;
    transition: .2s;
    font-size: x-small;
}
.menu_child04.active {
    height: 4rem;
    opacity: 1;
    visibility: visible;
    text-align: left;
    line-height: 3;
}
.container{
    text-align: center;
}
h1{
    border-bottom-style:ridge ;
    padding-bottom: 10px;
}
h3{
    margin-top: 0;
}
h1 span{
    color: rgb(3, 117, 117);
    text-shadow: 2px 8px 3px silver;
    /*border-bottom:double 5px rgb(3, 117, 117);*/
}
.c2{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    border-bottom-style:ridge ;
    margin-top: 20px;
}
.c2_text{
    width: 47%;
    padding-right: 5px;
    background: rgb(11, 196, 196);
    margin-bottom: 20px;
    margin-right: 10px;
}
.c2_img{
    
    font-size: large;
    font-weight: 600;
    color: #fff;
    width: 48%;
    
    margin-bottom: 5px;
}
.ho_name{
    font-size:medium ;
    font-weight: bolder;
    text-align: center;
    height: 30px;
    padding-top: 10px;
    color: #fff;
}

.ho_add{
    text-align: left;
    padding: 10px;
    font-size: small;
    
}
.ho_text{
    text-align: left;
    padding: 10px;
}

footer{
    border-top-style:ridge ;
    display: flex;
    flex-direction:column ;
}
.name{
    background: rgb(53, 96, 170);
    height: 60px;
    line-height: 60px;
    border-radius: 20px;
    width: 80%;
    margin: 20px auto;
    font-weight:bold;
    text-decoration:none;
}
/*<a>タグでリンクが付いている文字列の色を変える
　:link ,:visited, :hover, :active の順番で記述する*/
.name :link {
    color:#fff;
    }
    
.name :visited {
    color:#fff;
    }
    
.name :hover {
    color:#FF0099;
    text-decoration:underline;
    }
    
.name :active {
    color:#33CC00;
}

@media screen and (min-width:768px) and (max-width:1024px){
    .wrapper{
        width: 100%;
        max-width: 768px;
    }
    header{
        width: 100%;
        max-width:768px;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
       
    .comp{
        width: 55%;
        padding-left: 15px;
    }
    .line_c{
        font-weight: bold;
        text-align: left;
        padding-left: 10px;
    }
    .tel{
        font-weight: bolder;
        color: red;
        font-size: large;
    }
    .menu_box{
        width:768px;
        border-style: ridge;
        border-left-style: none;
        border-right-style: none;
        display: flex;
        justify-content: space-evenly;
        
    }
    .c2_text{
        width: 38%;
    }
    .c2_img{
        display: flex;    
    }
    .photo img{
        transform: none;
    }
    iframe{
        margin-left: 20px;
    }
     footer{
        flex-direction: row;
        justify-content: space-evenly;
    }
    .name{
        background: rgb(53, 96, 170);
        height: 50px;
        line-height: 50px;
        border-radius: 20px;
        width: 300px;
        margin: 15 auto;
        font-weight:bold;
        text-decoration:none;
    }
    .company_map{
        margin-top: 20px;
    }
}

 @media screen and (min-width:1024px){
    .wrapper{
        width: 100%;
        max-width: 1024px;
    }
    header{
        width: 100%;
        max-width:1024px;
        display: flex;
        flex-wrap: wrap;
        justify-content:space-evenly;
    }
       
    .comp{
        width: 55%;
        padding-left: 15px;
    }
    .line_c{
        font-weight: bold;
        text-align: left;
        padding-left: 10px;
    }
    .tel{
        font-weight: bolder;
        color: red;
        font-size: large;
    }
    .menu_box{
        width:1024px;
        border-style: ridge;
        border-left-style: none;
        border-right-style: none;
        display: flex;
        justify-content: space-evenly;
        
    }
    .c2_text{
       width: 30%;
    }
    .c2_img{
        display: flex;
    }
    .photo{
        display: flex;   
        align-items: flex-start; 
    }
    .photo img{
        padding-right: 10px;
    }
    footer{
    flex-direction: row;
    justify-content: space-evenly;
    }
    .name{
        background: rgb(53, 96, 170);
        height: 50px;
        line-height: 50px;
        border-radius: 20px;
        width: 300px;
        margin: 15px auto;
        font-weight:bold;
        text-decoration:none;
    }
    .company_map{
        margin-top: 20px;
    }
}