.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;
}
h1 span{
    color: rgb(3, 117, 117);
    text-shadow: 2px 8px 3px silver;
}
.work_title{
    background: #04B2D9;
    color: white;
    font-weight: bold;
    text-align: left;
    text-indent: -2em;
    padding:10px 1em 10px 3em;
    border-radius: 5px;
    text-shadow: 4px 6px 4px rgb(52, 49, 129);
    font-size: large;
}
.work_con_text{
    text-align:  left;
    text-indent: 0em;
    width: 90%;
    margin: 0 auto;
}
.big{
    list-style-type: "◆";
    text-align: left;
    padding-left: 1em;
    
}
.b_text{
    font-size: small;
}
footer{
    text-align: center;
    border-top-style: ridge;
    margin-top: 20px;
    padding-top: 20px;
    
}
.name{
    background: rgb(53, 96, 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;
    }
    .work_con{
        display:flex ;
        width: 90%;
        margin: 15px auto;
    }
    .work_title{
        font-size: large;
    }
    .b_text{
        font-size: medium;
    }
    .con_img{
        text-align: right;
    }

    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: 40px;
    }
}
@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;
    }
   

    .work_con{
        display:flex ;
        width: 90%;
        margin: 15px auto;
    }
    .work_title{
        font-size: larger;
    }
    .b_text{
        font-size: medium;
    }
    .con_img{
        text-align: right;
    }
   

    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: 40px;
    }
}



