.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;
}
.w_main1 {
    padding-top: 20px;
}
img.w_m1_t{
    width: 350px;  
}
.w_main2{
    margin: 15px 0;
    font-weight: bold;
    font-size: 14px;
}
.w_main2 span{
    color: red;
    font-size: 15px;
}
.w_main3 {
    padding: 20px 5px;
    border-top-style: ridge;  
}
.w_m3_list{
    text-align: left;  
}
.w_m3_text{
    font-weight: bold;
    text-align: left;
    width: 80%;
    margin: 10px auto;
}
b.w_m3_text2{
    display: none;
}
.w_main4 {
    padding: 20px 5px;
    border-top-style: ridge;   
}
    .w_m4_text{
        width: 320px;
        text-align: left;
        margin: 15px auto;
    }
        .w_m4_text2{
            font-weight: bold;
            text-align: center;
            padding-top: 20px;
        }

.w_main5 {
    padding: 20px 5px;
    border-top-style: ridge;    
}
    .w_m5_text{
    width: 320px;
    text-align: left;
    margin: 20px;
    font-weight: bold;
    font-size: 18px;
    color: darkgreen;
    }
    .w_m5_text2{
    font-weight: bolder;
    width: 100%;
    color: white;
    background: rgb(3, 135, 207);
    padding:15px 0;
    font-size:medium;
    border-radius: 15px;
    } 
    .w_m5_text2 span{
        display: none;
    }  

.wm6_title{
 position: relative;
 width: 100%;
 height: 70px;
 margin-top:40px; 
}
.sonna{
    text-align: left;
    padding: 10px;
    width: 100px;
    position: absolute;
    margin-top: -65px;
    z-index: 1;  

}
.kt_2{
    text-align: center;
}
.w_main7{
    width: 100%;
}
.w_m7_list{
    text-align: left;
}
.w_main_list2{
    background:rgb(3, 135, 207) ;
    padding: 10px 20px;
    color: white;
    border-radius: 15px;
    font-size : 13px;;
    text-align: left;
}
.last_mes{
    font-weight: bolder;
    font-size: large;
    text-align: left;
    text-indent: -1em;
    padding-left: 1.5em;
}
footer{
    text-align: center;
    border-top-style: ridge;
    margin-top: 20px;
    padding-top: 20px;
}
.name{
    background: rgb(3, 135, 170);
    height: 60px;
    line-height: 60px;
    border-radius: 10px;
    width: 80%;
    margin: 0 auto;
    font-weight:bold;
    text-decoration:none;
    text-align: center;
}
/*<a>タグでリンクが付いている文字列の色を変える
　:link ,:visited, :hover, :active の順番で記述する*/
.name :link {
    color:#fff;
    }
    
.name :visited {
    color:#fff;
    }
    
.name :hover {
    color:#FF0099;
    text-decoration:underline;
    }
    
.name :active {
    color:#33CC00;
}
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;
    }
    .w_main2{
        font-size: 18px;
    }
    .w_main2 span{
        font-size: 19px;
    }
    .w_main3 {
        padding: 20px 5px;
        border-top-style: ridge;
    }
        .w_m3_title{
            text-align: center;
        }    
        .w_m3_content{
            display: flex;
            
            justify-content:space-around ;
        }
            .w_m3_list{
                text-align: left;  
            }
            .w_m3_text{
                display: none;
            }
            b.w_m3_text2{
                display: block;
            }
    .w_main4 {
        padding: 20px 5px;
        border-top-style: ridge;   
    }
        .w_m4_2{
            justify-content:space-around;
            width: 100%;
            display: flex;
        
        }
        .w_m4_text{
            width: 320px;
            text-align: left;
            margin: 15px 0;
        }   

    .w_main5 {
        padding: 20px 5px;
        border-top-style: ridge;      
    }
        .w_m5_text{
            width: 320px;
            text-align: left;
            margin: 15px auto;
            
        }
        .w_m5_text2{
            font-weight: bolder;
            width: 80%;
            color: white;
            background: rgb(3, 135, 207);
            padding:15px 0;
            font-size:medium;
            margin: 0 auto;
            border-radius: 20px;
            display: flex;
            justify-content: center;
        }
        .w_m5_text2 span{
            display: block;
        }
    
    .wm6_title{
     position: relative;
     width: 100%;
     height: 70px;
     margin-top:40px;
     
     
    }
    .sonna{
        text-align: left;
        padding-left: 100px;
        width: 100px;
        position: absolute;
        margin-top: -65px;
        z-index: 1;  
    
    }
    .kt_2{
        text-align: center;
    }
    .w_main7{
        width: 100%;
    }
    .w_m7_list{
        width: 400px;
        text-align: left;
        margin: 0 auto;
        font-weight: 500;
        
    }
    .w_main_list2{
        background:rgb(3, 135, 207) ;
        padding: 10px 0;
        color: white;
        width: 80%;
        margin: 0 auto;
        border-radius:20px;
        text-align: center;
        height: 35px;
        line-height: 35px;
        font-size: 13.5px;
    }
    .last_mes{
        text-align: center;
    }
    footer{
        text-align: center;
        border-top-style: ridge;
        margin-top: 20px;
        padding-top: 20px;
        display: flex;
        justify-content: space-around;
        background:#04B2D9;
    }
    .name{
        background: none;
        line-height: 30px;
        height: 30px;
    }
}
@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;
    }
    .w_main1 {
        padding-top: 20px;
    }
    img.w_m1_t{
        width: 450px;  
    }
    .w_main2{
        font-size: 20px;
    }
    .w_main2 span{
        font-size: 21px;
    }
    
   
    .w_main3 {
        padding: 20px 5px;
        border-top-style: ridge;
    }
        .w_m3_title{
            text-align: center;
        }    
        .w_m3_content{
            display: flex;
            
            justify-content:space-around ;
        }
            .w_m3_list{
                text-align: left;  
            }
            .w_m3_text{
                display: none;
            }
            b.w_m3_text2{
                display: block;
                background: yellow;
                height: 50px;
                line-height: 55px;
                text-align: center;
                border-radius: 20px;
                border:3px rebeccapurple solid;
                color: rebeccapurple;
            }
    .w_main4 {
        padding: 20px 5px;
        border-top-style: ridge;   
    }
        .w_m4_2{
            justify-content:space-around;
            width: 100%;
            display: flex;
        
        }
        .w_m4_text{
            width: 320px;
            text-align: left;
            margin: 15px 0;
        }
            .w_m4_text2{
                margin-top: 20px;
                background: yellow;
                height: 30px;
                line-height: 10px;
                text-align: center;
                border-radius: 20px;
                border:3px rebeccapurple solid;
                color: rebeccapurple;
            }   

    .w_main5 {
        padding: 20px 5px;
        border-top-style: ridge;      
    }
        .w_m5_text{
            width: 320px;
            text-align: left;
            margin: 15px auto;
            
        }
        .w_m5_text2{
            font-weight: bolder;
            width: 80%;
            color: white;
            background: rgb(3, 135, 207);
            padding:15px 0;
            font-size:medium;
            margin: 0 auto;
            border-radius: 20px;
    }
    
    .wm6_title{
     position: relative;
     width: 100%;
     height: 70px;
     margin-top:40px;
     
     
    }
    .sonna{
        text-align: left;
        padding-left: 210px;
        width: 100px;
        position: absolute;
        margin-top: -65px;
        z-index: 1;  
    
    }
    .kt_2{
        text-align: center;
    }
    .w_main7{
        width: 100%;
    }
    .w_m7_list{
        width: 400px;
        text-align: left;
        margin: 0 auto;
        
    }
    .w_main_list2{
        background:rgb(3, 135, 207) ;
        padding: 10px 0;
        color: white;
        width: 80%;
        margin: 0 auto;
        border-radius:20px;
        text-align: center;
        height: 35px;
        line-height: 35px;
        font-size: 13.5px;
    }
    .last_mes{
        text-align: center;
    }
    footer{
        text-align: center;
        border-top-style: ridge;
        margin-top: 20px;
        padding-top: 20px;
        display: flex;
        justify-content: space-around;
        background:#04B2D9;
    }
    .name{
        background: none;
        line-height: 30px;
        height: 30px;
    }
}



