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

header{
    max-width: 375px;
    width: 100%;
    text-align: center;
    
}

.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;
}

h5{
    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;
}
.img1{
    padding-top:20px;	
}
.mail_text{
    padding:15px 30px 15px 45px;
    text-align: left;
    background:#7dd7ec;
    text-indent:-1rem;
    border-radius: 30px;
}
.mail_text2{
    font-weight:bold;
    text-align: left;
    width: 70%;
    margin:0 auto ;
}

footer{
    text-align: center;
    border-top-style: ridge;
    margin-top: 20px;
    padding-top: 20px;
}

h3{
    margin: 0;
}
.tel2{
    text-align: center;
    font-weight: bold;
}
@media screen and (min-width:768px) and (max-width:1024px) {
    .wrapper {
        min-width: 768px;
    }
    
    header{
        min-width: 768px;
    }
    h5{
        font-size: large;
    }
    .menu_child02, .menu_child03, .menu_child04{
        font-size: medium;
    }
    .menu_child02.active{
        height: 21rem;
    }
    .menu_child03.active{
        height: 12rem;
    }
    .menu_child04.active{
        height: 6rem;
    }
    .mail_text{
        width: 68%;
        margin: 0 auto;
    }
    h4{
        font-size:larger;
    }
    
    footer{
        text-align: center;
        border-top-style: ridge;
        margin-top: 20px;
        padding-top: 20px;
        display: flex;
        justify-content: space-around;
        background:#04B2D9;
    }
}
@media screen and (min-width:1024px) {
    .wrapper {
        width: 100%;
        min-width: 1024px;
        margin: 0 auto;
    }
    
    header{
        min-width: 1024px;
        width: 100%;
        text-align: center;
        display: flex;
        flex-wrap: wrap;
    }
    
    .comp{
        width: 70%;
        
        
    }
    .line_c{
        font-weight: bold;
        text-align: left;
        padding-left: 10px;
    }
    .tel{
        font-weight: bolder;
        color: red;
        font-size: large;
    }
    .menu_box{
        width: 100%;
    }
    h5{
        font-size: large;
    }
    .menu_child02, .menu_child03, .menu_child04{
        font-size: medium;
    }
    .menu_child02.active{
        height: 21rem;
    }
    .menu_child03.active{
        height: 12rem;
    }
    .menu_child04.active{
        height: 6rem;
    }
   
    .container{
        text-align: center;
    }
    .mail_text{
        width: 50%;
        margin: 0 auto;
    }
    .mail_text2{
    
        text-align: center;
    }
    h4{
        font-size: x-large;
    }
    
    footer{
        text-align: center;
        border-top-style: ridge;
        margin-top: 20px;
        padding-top: 20px;
        display: flex;
        justify-content: space-around;
        background:#04B2D9;
    }
}



