*{
    margin:0;
    padding:0;
    
}

body{
    background-color: #6EB0FF;
    color: #111;
    line-height: 1.8;
    background-image: url(/asset/img/bg.jpg);
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

img{
    max-width:100%;
    height:auto;
}

a,a:hover{
    color:#F00;
    text-decoration: none;
    transition: 0.5s;
}

a:hover{
    opacity: 0.5;

}



body::before {

}

header{
    background-color: #0643AC;
    position: fixed;
    top: 0;
    height: 74px;
    width: 100%;
    border-bottom: 2px solid #0c2116;
}

.hcon{
    display: flex;
    justify-content: space-between;
}

.hcon .hright{
    max-width:800px;
    height:60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding:5px 15px 5px 0;
}

h1{
    color: #FFF38F;
    font-size: 10px;
    text-align: right;
}

.menu .nav a, .menu .nav a:hover{
    color: #FFFFFF;
    font-size: 1.1em;
    ;
    font-weight: bold;
    margin: 5px;
}

.toggle {
    display: block;
    position: absolute;
    top: 8px;
    right: 8px;
    height: 50px;
    width: 50px;
    background-color: rgba(255,255,255,0.90);
    z-index: 100;
    padding: 4px;
    display: none;
  }
.toggle::before {
    content: "";
    display: block;
    height: 50px;
    width: 50px;
    background-color: #111;
    mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" fill="currentColor" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z"/></svg>');
    -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" fill="currentColor" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z"/></svg>');
  }
  
.in.toggle::before {
    content: "";
    display: block;
    height: 50px;
    width: 50px;
    background-color: #111;
    mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M13.854 2.146a.5.5 0 0 1 0 .708l-11 11a.5.5 0 0 1-.708-.708l11-11a.5.5 0 0 1 .708 0Z"/><path fill-rule="evenodd" d="M2.146 2.146a.5.5 0 0 0 0 .708l11 11a.5.5 0 0 0 .708-.708l-11-11a.5.5 0 0 0-.708 0Z"/></svg>');
    -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M13.854 2.146a.5.5 0 0 1 0 .708l-11 11a.5.5 0 0 1-.708-.708l11-11a.5.5 0 0 1 .708 0Z"/><path fill-rule="evenodd" d="M2.146 2.146a.5.5 0 0 0 0 .708l11 11a.5.5 0 0 0 .708-.708l-11-11a.5.5 0 0 0-.708 0Z"/></svg>');
  }

.hcon .hleft{
    order: -1;
    width:200px;
}

#top{
    padding-top:75px;
}

#top .topbg{
    padding: 100px 30px;
    background-color: #C8ECED;
    background-image: url(/asset/img/bntopbg.jpg?111);
    background-position: center;
    background-size:100%;
}

#top .bnimg{
    max-width:600px;
    max-height:400px;
    margin:auto;
    text-align: center;
}

#top .bnimg .btel{
    display: flex;
    justify-content:center;
}



section{
    scroll-behavior: smooth;
    padding-bottom:30px;
}

section:nth-child(2n){
    background-color: #D4EBFF;
}

h2{
    text-align: center;
    padding: 100px 3px 30px;
    color: #ff2e2e;
    font-size:3em;
}

section:nth-child(2n) h2{
    color: #000000;
}

h2::after {
  content: "";
  display: block;
  height: 2px;
  width: 200px;
  z-index: 1;
  background-color: #205cec;
    margin:30px auto;
}

section:nth-child(2n) h2::after{
    background-color:#000;
}

.ntext{
    padding:0 10px;
    color:#444;
}

.ntext h3{
    padding: 10px;
    margin-left: 5px;
    color: #F00;
    border-bottom: 1px solid #4A4DFF;
    font-size: 1.5em;
}

.ntext p{
    padding:10px;
}

.content{
    max-width:1100px;
    padding:10px;
    margin:0 auto;
}

.point{
  background-color: #FFF;
  padding: 20px;
  border: 1px solid #CCC;
  border-radius: 15px;
  margin-top:10px;
  background-image: url(/asset/img/point/1.png);
  background-repeat: no-repeat;
}

.point:nth-child(2n+1){
    margin-right:50px;
}

.point:nth-child(2n){
    margin-left:50px;
}


.point.p2{
  background-image: url(/asset/img/point/2.png);
}

.point.p3{
  background-image: url(/asset/img/point/3.png);
}

.point.p4{
  background-image: url(/asset/img/point/4.png);
}

.point.p5{
  background-image: url(/asset/img/point/5.png);
}

#nayami .content , #riyuu .content{
    max-width:none;
}

#nayami .img{
    width:40%;
    height:300px;
    overflow: hidden;
}

#nayami .ntext{
    width:40%;
    font-size:1.1em;
}

#nayami .img img{
    width:100%;
}

    #area h3{
        text-align: center;
        margin:50px auto 10px;
        width:200px;
        padding:10px 0;
        background-color:#0643AC;
        color:#FFF;
        text-align: center;
        display: block;
        
    }

    #area img{
        width:1000px;
        margin:auto;
        display: block;
}

#area p.atext{
    font-size:1.5em;
    text-align: center;
}

#area p{
    padding:10px;
}

.content .flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.content .cwork{
    padding: 5px;
    margin: 3px;
    width: 250px;
    text-align: center;
    color: #B3703F;
}

.cwork img,.cflow .cfimg img{
    border-radius: 50%;
}

.content .cflow{
    max-width:800px;
    display: flex;
    flex-grow: 1;
    border-bottom:1px dotted #CCC;
    margin:10px auto 30px 100px;
    padding-bottom:30px;
}

.content .cflow:nth-child(2n){
    margin:10px 100px 30px auto;
}

.content .cflow:last-child{
    border:none;
    padding:0;
}

.cflow .cfimg{
    width:200px;
    margin:0 10px 10px;
    flex-shrink: 0;
}

.cflow .cftext{
    flex-shrink: 0;
    width:100%;
    max-width: 580px;
}

.ctext{
    text-align: center;
}

.cftext h3{
    padding:3px;
    border-bottom:1px solid #CCC;
    color:#F00;
    margin-bottom:3px;
}

.cftext p{
    padding:10px;
}

.pp{
    display: flex;
    width:600px;
    justify-content: center;
    margin-bottom:4px;
}

.pp h3{
    font-size:14px;
    width:40%;
    text-align: center;
    padding:15px;
    background-color:#c8d9cc;
    color:#111;
}

.pp p{
    font-size:14px;
    width:55%;
    text-align: center;
    padding:15px 4px;
    background-color:#FFF;
}
    
.pp p.petc{
    padding:4px;
}

#price img{
    display: block;
    width:500px;
    margin:10px auto;
}

.qaqa{

}

#qa .qq{
    padding: 10px;
    border-bottom:1px solid #900;
    color:#b36363;
}

#qa .aa{
    padding: 10px;
    margin:10px 0% 10px 3%;
    color:#515151;
}

.ftel{
    display: none;
}

footer{
    background-color:#EDEEFF;
    text-align: center;
    padding:10px;
}

footer img{
    max-width:300px;
}

#contact label{
    padding:5px;
    display: block;
    margin:5px;

}

#contact input,#contact textarea{
    width:95%;
    padding:10px;
    border-radius: 5px;
    border:1px solid #CCC;
    margin:auto;
}

#contact .form-group{
    width:90%;
    margin:auto;
    
}

.fs{
    max-width:630px;
    margin:auto !important;
}

    .flowtel{
    display: flex;
    justify-content: center;
        flex-wrap:wrap; 
}

    .flowtel a{
    padding: 5px 15px;
    text-align: center;
    background-color: #FFE00E;
    color: #222;
    width: 200px;
        font-weight: bold;
        border-radius: 15px;
        margin:3px;
        display: block;
    }
    
    .flowtel a.line{
    background-color: #18B603;
    color: #FF9;
    }
    
    .flowtel a.mail{
    background-color: #0085DB;
    color: #FFF;
    }

#form-kakunin{
    width:auto !important;
    
}

#contact button,#contact a{
    display: block;
    padding: 10px;
    margin: auto;
    width: 90%;
    background-color: #f00;
    border-radius: 10px;
    border: 1px solid #A44F4F;
    color: #FFFFFF;
    margin-top: 10px;
}

#contact button:active,#contact a:active{
    background-color: #FC7FB1;
    color: #FFF;
}

#contact button:hover,#contact a:hover{
    opacity: 0.6;
    transition: 0.5s;
}

    #contact p{
        margin:5px;
        padding:10px;
    }
    
    #contact hr{
        margin:5px;
    }

    .text-center{
        text-align: center;
    }

#service p.atext{
    padding:15px;
    background-color:#FFF;
    border-radius: 15px;
    border:1px solid #CCC;

}

.aka{
    color: #FF0000;
    font-weight: bold;
    font-size: 1.3em;
}

.mmuryo{
    background-color:#0643AC;
    color:#FFF;
    padding:15px;

}

.mmuryo h3{
    font-size:3em;
}

#price{
    text-align: center;
}

#price h3{
    background-color:#0643AC;
    color:#FF0;
    padding:5px 15px;
    border-radius: 15px;
    display: inline-block;
    line-height: 1;
}

#price .aka{
    font-size:1.5em;
    padding:15px;
}

section#price{
    padding-bottom:0;
}

section#contact{
    background:none;
}

@media (max-width: 950px) {
    
    h1{
        display: none;
    }
    
    h2{
        font-size:2em;
    }
    
    .toggle{
        display: inline;
    }
    
    .in .toggle{
        right:52%;
    }
    
    .nav{
    position: fixed;
    right: -50%;
    transition: 0.5s;
    height: 100%;
    top: 0;
    background-color: #0643AC;
    width: 50%;
    z-index: 9999;
    }
    
    .in .nav{
        right: 0;
    }
    
    .nav a{
        display: block;
        color:#111;
        text-align: center;
        padding:10px;
        padding:5px;
        border-bottom:1px dotted #CCC;
    }

    .nav a:last-child{
    border:none;
    }
    
    #nayami .img ,#nayami .ntext{
        width:auto;
        max-width:600px;
        margin:10px auto;
    }
    
    #top .topbg{
        background-size:250%;
        }

    .content .cwork{
        width:45%;
    }
    
    .point{
        margin:10px auto !important;
    }
    
    .cflow{
        flex-wrap: wrap;
        margin:auto !important;
    }
    
    .cflow .cfimg{
        padding:10px 10%;
        margin:auto;
    }
    
    .cflow .cftext{
        width:100%;
        max-width: 100%;
    }
    
    .pp h3,.pp p{
        width:100%;
        border:none;
        text-align: center;
    }
    
    #qa .qq{
    }
    
    #qa .aa{
        margin:10px 0% 10px 5%;
    }
    
    
    footer{
        padding-bottom:100px;
        }
    
    .fc{
        position: fixed;
        bottom:0;
        width:100%;
    }
    
    .ftel{
    display: flex;
    justify-content: center;
        background-color:#FFF;
        
    }

    .ftel a{
    padding: 20px;
    text-align: center;
    background-color: #FFE00E;
    color: #222;
    width: 300px;
        font-weight: bold;
    }
    
    .ftel a.line{
    background-color: #18B603;
    color: #FF9;
    }
    
    .ftel a.mail{
    background-color: #0049DD;
    color: #FFF;
    }
        
}
