main {
  width: 100%;
  overflow: hidden;
}

main *{font-family: 'M PLUS 1p', sans-serif;
box-sizing: border-box;}

img{
    width: 100%;
    height: auto;
}

a,p,h3,dt{
   transform:rotate(0.05deg); 
}

/*------------------------------------------------

　　メインイメージ

------------------------------------------------*/

#mainimg{
    background: #00A63C;
    line-height: 0;
}

@media print, screen and (min-width: 768px) {
    #mainimg{
        padding: 0 2vw;
    }
    
    #mainimg > div{
        padding: 3vw 0;
        max-width: 960px;
        margin: 0 auto;
    }
  
}
@media print, screen and (min-width: 1024px) {
  #mainimg{
        padding: 0;
    }
    
    #mainimg > div{
        padding: 40px 0;
    }
}

/*------------------------------------------------

　　ナビゲーション

------------------------------------------------*/

nav{
    padding: 5vw 3vw;
}

nav li{
    margin-bottom: 10px;
}

nav a{
    color: #000;
    text-decoration: none;
    border: 1px solid #00A73C;
    padding: 10px 30px 10px 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 50px;
    line-height: 1.2;
    font-weight: 400;
    min-height: 2em;
    position: relative;
}

nav a span.no_style{
    color: #00A73C;
    font-size: 1.4em;
    margin-right: 0.1em;
}

nav a:link{
    text-decoration: none;
}

nav a::after{
    content: "";
    background: url("../img/contents/arrow_y.svg") no-repeat center center;
    background-size: contain;
    width: 20px;
    height: 10px;
    position: absolute;
    right: 13px;
    top: calc(50% - 5px);
}

@media print, screen and (min-width: 768px) {
    
    nav{
    padding: 40px 30px 0;
        max-width: 960px;
        margin: 0 auto;
}

nav li{
    margin-bottom: 20px;
    margin-bottom: 10px;
}
  
    nav ul{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    nav li{
        width: 49%;
    }
    
    nav a{
        min-height: 3em;
        height: 100%;
        transition: 0.7s;
    }
    
    nav a:hover{
        background: #C2EAD0;
    }
    
}
@media print, screen and (min-width: 1024px) {
  
}

/*------------------------------------------------

　　コンテンツ

------------------------------------------------*/

main article{
    padding: 5vw 3vw;
}

article:not(#contact) section{
    border: 3px solid #B2E5C4;
    padding: 40px 15px 15px;
    border-radius: 10px;
    position: relative;
}

article section::after{
    content: "";
    width: 36px;
    height: 36px;
    position: absolute;
    left: calc(50% - 18px);
    top: -18px;
}

article section#point1::after{
    background: url("../img/contents/no1.svg") no-repeat center center;
    background-size: contain;
}

article section#point2::after{
    background: url("../img/contents/no2.svg") no-repeat center center;
    background-size: contain;
}

article section#point3::after{
    background: url("../img/contents/no3.svg") no-repeat center center;
    background-size: contain;
}

article section#point4::after{
    background: url("../img/contents/no4.svg") no-repeat center center;
    background-size: contain;
}

article section#point5::after{
    background: url("../img/contents/no5.svg") no-repeat center center;
    background-size: contain;
}

article section#point6::after{
    background: url("../img/contents/no6.svg") no-repeat center center;
    background-size: contain;
}

article section:not(:last-child){
    margin-bottom: 30px;
}

#point3 > h3{
    max-width: 513px;
    margin: 0 auto;
    margin-bottom: 20px;
}

#point3 > ul > li:not(:last-child){
    margin-bottom: 25px;
}

a.btn{
    box-sizing: border-box;
    background: #231815;
    display: block;
    color: #fff;
    width: 70%;
    padding: 10px 40px;
    border-radius: 50px;
    margin: 0 auto;
    margin-top: 0.7em;
    text-decoration: none;
    text-align: center;
    position: relative;
    max-width: 200px;
    transition: 0.7s;
}

a.btn::after{
    content: "";
    background: url("../img/contents/arrow_y.svg") no-repeat center center;
    background-size: contain;
    width: 20px;
    height: 10px;
    position: absolute;
    right: 18px;
    top: calc(50% - 5px);
    transform: rotateZ(-90deg);
}

#point4 p{
    margin-top: 0.7em;
}

#point4 a.btn{
    width: 100%;
    max-width: none;
}

#howtouse h3{
    width: 86%;
    max-width: 400px;
    margin: 0 auto 1em;
    font-size: 1.2em;
    font-weight: bold;
    border: 2px solid #00A73C;
    border-radius: 50px;
    text-align: center;
    padding: 10px;
}

#howtouse > dl > dt{
    background: #B2E5C4;
    margin-bottom: 1em;
    border-radius: 0 50px 50px 0;
    padding:7px 10px;
    font-weight: bold;
}

#howtouse dd{
    margin-bottom: 1.5em;
    line-height: 1.6;
}

#howtouse dd > ul{
    font-size: 0.9em;
    line-height: 1.4;
    margin-top: 1.5em;
}

#howtouse dd > ul + p{
    margin-top: 1.5em;
}

#howtouse dd > ul li{
    padding-left: 1em;
    text-indent: -1em;
}

#howtouse dd > ul li:not(:last-child){
    margin-bottom: 0.6em;
}

#howtouse dd p img{
    height: 1em;
    width: auto;
    margin: 0 0.2em;
}

#howtouse dd dl{
    margin-top: 1em;
    text-align: center;
}

#howtouse dd dt{
    border:1px solid #000;
    border-radius: 50px;
    padding: 3px;
}

#howtouse dd dd{
    margin-top: 0.5em;
}

#contact{
    background: #F3F3F3;
}

#contact section{
    max-width: 960px;
    padding: 10px 0;
    text-align: center;
}

#contact section h4{
    margin-bottom: 0.5em;
    color: #00A63C;
    font-size: 1.2em;
}

#contact section p + h4{
    margin-top: 1em;
}

#contact section dl{
    margin-bottom: 0.3em;
}

#contact section dt{
    font-weight: bold;
    font-size: 1.3em;
    margin-bottom: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

#contact section dt span{
    font-size: 0.8em;
}

#contact section dd{
    font-size: 0.8em;
}

#contact section .freedial span{
    font-weight: bold;
    font-size: 1.5em;
}

#contact section .freedial span img{
    height: 0.7em;
    width: auto;
    margin-right: 0.2em;
}

@media print, screen and (min-width: 768px) {
main article{
    padding: 0 30px;
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
    max-width: 960px;
}
    
    article:not(#contact) section{
    border: 6px solid #B2E5C4;
    padding: 60px 40px 40px;
    border-radius: 20px;
    position: relative;
}
    
    article:not(#contact) section + section{
        margin-top: 4em;
    }
    
    article section::after{
    content: "";
    width: 50px;
    height: 50px;
    position: absolute;
    left: calc(50% - 25px);
    top: -25px;
}
    
    #point3 > h3{
        margin-bottom: 35px
    }
    
    #point3 > ul{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    #point3 > ul li{
        width: calc(50% - 20px);
        margin: 0 10px;
    }
    
    #point3 > ul > li:not(:last-child){
        margin-bottom: 3em;
    }
    
    a.btn {
margin-top: 1.5em;
    }
    
    a.btn:hover{
        opacity: 0.7;
    }
    
    #point4 a.btn{
        width: 70%;
    }
    
    #howtouse h3{margin-bottom: 2em;}
    
    #howtouse > dl > dt{
        font-size: 1.3em;
        margin-bottom: 1.2em;
        padding: 10px;
    }
    
    #howtouse > dl > dd{
        margin-bottom: 2em;
    }
    
    main article#contact{
    max-width:none;
}
    
    #contact section{
        padding: 40px 0;
        max-width: 960px;
        margin-left: auto;
        margin-right: auto;
        
    }
    
}
