* {
    margin: 0;
    padding: 0;
}

.flexbox1 {

    display: flex;
    background-color: #38b5ff;
    height: 70px;
    position: relative;


}

h1 img {
    height: 70px;


}

.service {
    background-color:white;
    box-sizing: border-box;
    height: 30px;
    width: 130px;
    font-size: small;
    margin-top: 20px;
    text-align: center;
    padding-left: 3px;
    padding-top: 5px;
    font-family: 'Noto Sans JP', sans-serif;
    white-space: nowrap;


}


.gnavi__pc-style { 
    text-decoration: none;

}

.gnavi__pc-style ul {
    display: flex;
    margin-right: 20px;
}

.gnavi__pc-style ul li {
    list-style: none;
    margin-top: 25px;
    margin-right: 20px;
    white-space: nowrap;

}

.gnavi__pc-style ul li a {
    color: white;
    text-decoration: none;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;

}

.gnavi__pc-style ul li a:hover {
    color: white;
    text-decoration: none;
    font-family: 'Noto Sans JP', sans-serif;
    text-decoration: underline;
}

.list1 {
margin-left: 30px;
}

.gnavi__sp-style {
    display: none;
}

.contactbottan {
    position: absolute;
    top: 5px;
    right: 10px;

}

.contactbottan a {
    display: block;
    background-color: #ffcd1f;
    width: 160px;
    height: 30px;
    text-align: center;
    border-radius: 5px;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    padding-top: 8px;
    text-decoration: none;
    margin-top: 10px;

}

.contactbottan a:hover {
    display: block;
    background-color: #B38E0B;
    width: 160px;
    height: 30px;
    text-align: center;
    border-radius: 5px;
    color: white;
    padding-top: 8px;
    text-decoration: none;
    margin-top: 10px;
    transition: 0.5s;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;

}

h2 {
    font-size: 30px;
    font-family: 'Noto Sans JP', sans-serif;
    text-align: center;
    margin-top: 50px;
    
}

h2 span {
    font-size: 20px;
    color: #38b5ff;
}

.h2_p {
    font-family: 'Noto Sans JP', sans-serif;
    text-align: center;
    margin-top: 30px;
}

.section1 {
    width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
} 

h3 {
    font-size: 20px;
    font-family: 'Noto Sans JP', sans-serif;
    margin-bottom: 30px;
}

h3 span {
    font-size: 16px;
    color: #38b5ff;
}

.flexbox2_sp {
    display: flex;

}

.boxpattarn1, .boxpattarn1_01, .boxpattarn1_02 {
    width: 200px;
    height: 80px;
    border-bottom: #38b5ff 3px solid;
}

.sentence1, .sentence2 {
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    margin-top: 25px;
}

.sentence1 {
    font-weight: 700;
}

.boxpattarn2, .boxpattarn2_01, .boxpattarn2_02 {
    width: 600px;
    height: 80px;
    border-bottom: #38b5ff 3px solid;
}

.section2 {
    width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    margin-bottom: 100px;
} 

h4 {
    font-size: 20px;
    font-family: 'Noto Sans JP', sans-serif;
    margin-bottom: 30px;
}

h4 span {
    font-size: 16px;
    color: #38b5ff;
}

footer {
    background-color: #1c5b80;
    height: 50px;    
}

footer p {
    text-align: center;
    color: white;
    box-sizing: border-box;
    padding-top: 15px;
}

@media screen and (max-width: 480px) { 

    .contactbottan, .gnavi__pc-style ul, .service {
       display: none;
   }
   
       
   .flexbox1  {
     display: block;
   
   }
   
   /*メニューボタン　展開前*/
   .menu-btn {
     display : block;
     position: fixed;
     z-index : 3;
     right : 30px;
     top   : 20px;
     width : 42px;
     height: 42px;
     cursor: pointer;
     text-align: center;
   }
   .menu-btn span {
     display : block;
     position: absolute;
     width   : 30px;
     height  : 2px ;
     left    : 6px;
     background : #555;
     -webkit-transition: 0.3s ease-in-out;
     -moz-transition   : 0.3s ease-in-out;
     transition        : 0.3s ease-in-out;
   }
   .menu-btn span:nth-of-type(1) {
     top: 10px;
   }
   .menu-btn span:nth-of-type(2) {
     top: 20px;
   }
   .menu-btn span:nth-of-type(3) {
     top: 30px;
   }
     
   /*メニューボタン　展開後*/
   .menu-btn.active span:nth-child(1) {
     top : 16px;
     left: 6px;
     background :#fff;
     -webkit-transform: rotate(-45deg);
     -moz-transform   : rotate(-45deg);
     transform        : rotate(-45deg);
   }
   .menu-btn.active span:nth-child(2),
   .menu-btn.active span:nth-child(3) {
     top: 16px;
     background :#fff;
     -webkit-transform: rotate(45deg);
     -moz-transform   : rotate(45deg);
     transform        : rotate(45deg);
     opacity: 100;
     visibility: visible;
   }
   
   /*スマホ用のメニュー*/
   .gnavi__sp-style {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    color: black;
    background-color: #38b5ff;
    text-align: center;
    width: 100%;
      height: 100vh;
    opacity: 0;
    transition: opacity .6s ease, visibility .6s ease;
      visibility: hidden;
      display: flex;
      align-items: center;
  }
  
   .gnavi__sp-style ul {
     margin: 0 auto;
     padding: 0;
     width: 100%;
   }
   .gnavi__sp-style ul li {
     list-style-type: none;
     padding: 0;
     width: 100%;
     transition: .4s all;
   }
   .gnavi__sp-style ul li:last-of-type {
     padding-bottom: 0;
   }
   .gnavi__sp-style ul li:hover{
     background :#ddd;
   }
   .gnavi__sp-style ul li a {
     display: block;
     color: #fff;
     font-family: 'Noto Sans JP', sans-serif;
     padding: 1em 0;
     text-decoration :none;
   }
   .gnavi__sp-style.active {
    opacity: 1;
    visibility: visible;
  }
  
   
   .h2_p {
    font-family: 'Noto Sans JP', sans-serif;
    text-align: center;
    margin-top: 30px;
    display: block;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.main {
    margin: 10%;
}
.section1 {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
} 

h3 {
    font-size: 20px;
    font-family: 'Noto Sans JP', sans-serif;
    margin-bottom: 30px;
}

h3 span {
    font-size: 16px;
    color: #38b5ff;
}

.flexbox2_sp {
    display: flex;
    width: auto;

}

.boxpattarn1 {
    width: 40%;
    height: 80px;
    border-bottom: #38b5ff 3px solid;
}

.sentence1, .sentence2 {
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    margin-top: 30px;
}



.sentence1 {
    font-weight: 700;
}

.boxpattarn2 {
    width: 60%;
    height: 80px;
    border-bottom: #38b5ff 3px solid;
}

.section2 {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    margin-bottom: 100px;
} 

.boxpattarn1_01 {
    width: 40%;
    height: 100px;
    border-bottom: #38b5ff 3px solid;
}

.boxpattarn2_01 {
    width: 60%;
    height: 100px;
    border-bottom: #38b5ff 3px solid;
}

h4 {
    font-size: 20px;
    font-family: 'Noto Sans JP', sans-serif;
    margin-bottom: 30px;
}

h4 span {
    font-size: 16px;
    color: #38b5ff;
}

.boxpattarn1_02 {
    width: 40%;
    height: 150px;
    border-bottom: #38b5ff 3px solid;

}

.boxpattarn2_02 {
    width: 60%;
    height: 150px;
    border-bottom: #38b5ff 3px solid;
}

.boxpattarn1_03 {
    width: 40%;
    height: 100px;
    border-bottom: #38b5ff 3px solid;

}

.boxpattarn2_03 {
    width: 60%;
    height: 100px;
    border-bottom: #38b5ff 3px solid;
}


.sentence2_02 {
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    margin-top: 10px;

}

footer {
    background-color: #1c5b80;
    height: 50px;    
}

footer p {
    text-align: center;
    color: white;
    box-sizing: border-box;
    padding-top: 15px;
}