/* スマホ用に書き換え */





/* ［スマホ対応］ 640px以下 ------ */

@media (max-width: 639px) {
                

body#index .container {

}


section#top-sec1 {
    display: block;
    max-width: 100%;
    margin: 20px 1em;
    background: #FFF;
    border-radius: 20px;
    padding-bottom: 30px;
}

section#top-sec1 h1{
    text-align: center;
}

section#top-sec1 h1 img{
    margin: 0 auto;
    width: 100%;
}



#box1 {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

#box1-left{
    width: auto;
}

#box1-right{
    width: auto;
    margin-left: 0;
    margin-top: 1em;
    
}


#box1-right h2{
    font-size: 20px;
    font-weight: bold;
    color:#F80;
    line-height: 1.2em;
}


#box1-right p{
    color:#222;
    font-size: 14px;
    line-height: 1.75em;
    margin-top: 0.5em;
}




#box1-left .pic{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0;
}

#box1-left .pic img{
    width: 48%;
    margin: 0;
}
    
#box1-left .pic img:first-child{
    margin-right: 10px;
}



#box2{
    display:block;
    max-width: 100vw;
    margin-top: 30px;
    text-align: left;
    font-size: 14px;
    margin: 1em 0.25em;
    padding: 1em;
    background: #faf5b4;
    border-radius: 0.5em;
}

#box2 h3{
    font-size: 16px;
}

#box2 h3 strong{
    color: #09C;
}


#box2 p.link-sj a{
    display: block;
    padding: 5px;
    background: #6CF;
    width: auto;
    margin: 10px auto 0;
    border-radius: 15px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    color: #FFF;
    text-align: center;
}

#box2 p.link-sj a:hover{
    background: #0066ba;
}




/* --------- */

section#top-sec2{
    width: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 0 1em 1em;
    background: #6CF;
    border: solid 4px #FFF;
    border-radius: 20px;
    padding-bottom: 10px;
}

section#top-sec2 h2{
    font-size: 18px;
}

section#top-sec2 h2 a{
    width: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-weight: bold;
    -ms-flex-line-pack: center;
    align-content: center;
    text-align: center;
    -webkit-text-decoration: ;
    text-decoration: none;
    color:#FFF;
    margin: 0.5em;
    padding: 0;
    border-bottom: dotted 2px #FFF;
}

    
section#top-sec2 #formlink{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 0;

}
  


section#top-sec2 #formlink p{
    line-height: 1.15em;
}

section#top-sec2 #formlink p strong{
    display: block;
    font-size: 18px;
    
}
    
section#top-sec2 #formlink h3{
    margin-top: 0.5em;
}    
    

section#top-sec2 #formlink h3 a{
    line-height: 1em;
    font-size: 22px;
    font-weight: bold;
    display: block;
    padding: 0.5em 1.5em;
    border-radius: 1em;
    background: #FFF;
    color: #0066ba;
    text-decoration: none;
}

section#top-sec2 #formlink h3 a:hover{
    background: #0066ba;
    color: #FFF;
    
}







/* --------- */


section#message{
    
    
}

section#message .title{
  display: none-;  
    
}

section#message h3{
    font-size: 20px;
    font-weight: bold;
    line-height: 1.25em;
    text-align: left;
    
}
    
section#message h3 br{
    display: none;
    
}    

section#message p{
    font-size: 14px;
    
}

/* --------- */

#min2{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0 auto;
    
}


#min2 img{
    border-radius: 50%;
    border: solid 1px #0066ba;
}

#min2 a:hover img{
    border: solid 1px #DDD;
}

#min2 div.txt{
    display: block;
    width: 300px;

}

#min2 div.txt p{
    font-size: 14px;
    margin: 0 1em;

}
                
                

            }


/* ［end］スマホ対応：640以下　------ */
