html, body{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wrapper {
  flex: 1;
  max-width: 1040px;
  margin: 0 auto;    
}

h1.maintitle{
    text-align: center;
    color: #666;
    font-size: 1.8rem;
    margin: 20px 0 40px 0;
}

.maintitle span{
    display: block;
    line-height: 1.2;
}

h3.title_head{
    font-size: 1.5rem;
    color: white;
    font-weight: 500;
    background: navy;
    padding: 5px 0.5em 5px 1.5em;
    margin: 10px 0 10px 0;
    text-align: justify;
    font-feature-settings : "pkna";
    text-indent: -1em;
}

h3.title_head:nth-of-type(6){
    margin: 0 0 0 0;
}

h3.title_head::before{
    content: "◆";
}

.lead_text{
    text-indent: 1rem;
    text-align: justify;
    font-feature-settings : "pkna";
    line-height: 1.5rem;
    margin: 0 1rem 0 1rem;

}

.lead_text p{
    margin-bottom: 1rem;
}

.flow{
    margin: 15px 0 15px 0;
}
.flow li{
    list-style-type: decimal;
    margin-left: 3rem;
}

.webflow{
    margin: 15px 0 15px 0;
}
.webflow li{
    list-style-type: decimal;
    margin-left: 3rem;
}

.price li{
    margin-left: 1.7rem;
}

.contact_info{
    font-size: 1.5rem;
    padding: 1em;
    color: #666;
    background-color: lightyellow;
}

.contact_info li{
    font-size: 0.8em;
}

.contact_info a:link{
    color: red;
}

.ads_multi{
    text-align: center;
}

.sq_display{
	margin: 2em 0 0.5em 0;
    text-align: center;
}

@media screen and (max-width : 768px) {
    h1.maintitle{
        font-size: 0.9rem;
        margin: 10px;
    }
    h3.title_head{
        font-size: 1rem;
    }
    .lead_text{
        font-size:0.8rem;
    }
    .flow, .webflow, .price{
        font-size: 0.8rem;
        margin: 10px;
    }
    .contact_info{
        font-size: 1.2rem;
    }
    .price span{
        display: block;
    }
}