@charset "UTF-8";
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);

*{
    margin:0;
    padding:0;
    border:0;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight:400;
}


p {line-height: 1.3;}
a{text-decoration: none;word-break: break-all;}


/* baseここまで */



/*
モバイルサイズ
*/

@media screen and (max-width:768px) {
.wrap{
    position: relative;
    width:100%;
    margin: 0;
}


header{
    width:100%;
    padding:5px;
    height:50px;
    background-color:#fff;
    position: relative;
    display:flex;
    flex-wrap: wrap;
    flex-direction: column;
    animation-name: header_anime2;
    animation-duration:1s;
    animation-fill-mode:forwards;
}

@keyframes header_anime2 {
    0% { opacity:0;}
    100% { opacity:1;}
}

#navibutton{
    text-align: right;
}

#navibutton a{
    display:block;
    width:3em;
    margin-bottom: 2px;
    margin-left: auto;
    padding: 0 2em 0.2em;
    border: 1px solid #000;
    border-radius: 3px;
    text-align: center;
}
    
.basenavi{
        display: none;
    }
.basenavi ul{
	display:none;
}
.basenavi li{
	color:white;
	background:midnightblue;
	border-bottom:2px solid white;
    text-align: center;
}
.basenavi li a{
	color:white;
	display:block;
	padding:15px;
}

.mark_nms{
    width: 55px;
    height:50px;
}
.mark_nms img{
    height:50px;
}
.mark_text{
    height:20px;
    display:flex;
 }
 .mark_text div{display:flex;}
.mark_text a:link { color: #fff;}
.mark_text a:visited { color: #fff; }
.mark_text a:hover { color: #fff; }
.mark_text a:active { color: #fff; }

.mark_1 a,.mark_2 a,.mark_3 a,.mark_4 a,.mark_5 a{
    margin-right: 2px;
    padding: 2px;
    text-align: center;
    background-color: darkblue;
    color:white;
    border-radius: 5px;
    font-size: 0.15em;
}
.mark_text2{
    height:25px;
    padding-top:5px;
    font-size: 1.05em;
    font-weight: normal;
    color:#000;
 }

.mark_text2 a,{ color: #000;}
.mark_text2 a:link { color: #000;}
.mark_text2 a:visited { color: #000;}
.mark_text2 a:hover { color: #000;}
.mark_text2 a:active { color: #000;}

.mark_form{
    padding-top: 2px;
    padding-left: 3px;
    
 } 
.mark_form a:link,.mark_form a:visited {
    font-size:6px;
    color: darkblue;
 } 


.subject{
    width:100%;
    height: 100px;
    text-align: center;
    display:flex;
    flex-wrap: wrap;
    flex-direction: column;
    border-bottom: 1px solid #987d09;
    background: linear-gradient(to bottom, #ddd5b0 0%,#ffffff 80%); 
    animation-name: subject_anime2;
    animation-duration:1.5s;
    animation-fill-mode:forwards;
}

@keyframes subject_anime2 {
    0% { opacity:0;margin-top:300px;}
    100% { opacity:1;margin-top: 0;}
}

.intro_pg{
    width:90%;
    padding:20px 0px 50px;
    margin:0 auto;
    text-align: center;
    background: #fff;
    background-image: url(../img/intro-pgm-bg.jpg);
    background-position: 0 200px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}
.intro_pgbox .downloadbox{ 
    padding:15px;
    background-color: #fff;
    border: darkblue 1px solid;
    }
.intro_pgbox h3{ 
    font-size: 22px;
    font-weight: 600;
    }
    .intro_pgbox h4{ 
        font-size: 18px;
        color:darkblue;
        font-weight: 600;
        }
        .intro_pgbox h4.num{
            margin-top: 40px;
            margin-bottom: 30px;
        }
        .intro_pgbox h4.num .subtex{
            font-size:16px;
            margin-top: -15px;
            margin-bottom: 20px;
        }
        .intro_pgbox h5{
            font-weight: 600;
            text-align: left;
            margin-top: 20px;
            color: dodgerblue;
            font-size: 16px;
        }
        .intro_pgbox h6{
            font-weight: 600;
            text-align: left;
            margin-top: 20px;
            color:rgb(40, 116, 191);
            font-size: 14px;
        }
        .intro_pgbox .star{
            margin: 1em 0 2em 1em;
            color:dimgrey;
        }
        .intro_pgbox .starstar{
            color:palevioletred;
        }
        .intro_pgbox .columnbox1{
            padding:4px 16px 10px;
            background-color: beige;
            border-radius: 16px;
            margin-top: 16px;
            margin-bottom: 16px;
        }
        .intro_pgbox .columnbox2{
            padding:16px;
            background-color: #fff;
            border: darkblue 1px solid;
            margin-top: 16px;
            margin-bottom: 16px;
        }
        .intro_pgbox .indent-1 {
            text-indent:1em;
        }
        .intro_pgbox .fw600 {
            font-weight: 600;
        }
        .intro_pgbox .link_menu{
            border:1px solid #999;
            width:80%;
        }
.intro_pgbox p{ 
    text-align: left;
    font-size: 13px;
    line-height: 1.7;
    }
    .intro_pgbox .center{ 
        text-align: center
        }

        .intro_pgbox p .dot_b{
            color:dodgerblue;
        }
        
.intro_pgbox .intro_pgboxlead{ 
    margin: 40px auto;
    text-align: center;
    font-size: 16px;
    line-height: 1.2;
    color:darkred;
    }

    .intro_pgbox .intro_pgboxlead span{ 
         display: inline-block;
    }
    .intro_pgbox ol{
    margin: 20px 0 20px 20px;
        text-align: left;
    }   

    .intro_pgbox ol li {
        list-style-type: none;
        counter-increment: cnt;
        margin-bottom:14px;
        font-size: 14px;
        line-height: 1.5;
    }
    
    .intro_pgbox ol li::before {
        content: "(" counter(cnt) ")";
        display:inline-block;
        margin-left:-24px ;
        width: 24px;
    }

    .intro_pgbox ul{
        margin: 20px 0 20px 20px;
            text-align: left;
            list-style-position: outside;
        }   
    .intro_pgbox li{
    margin-bottom:14px;
    font-size: 14px;
    line-height: 1.5;
    }   
    .intro_pgbox ul li::marker{
        color:lightsalmon;
        }   



footer{
    width:100%;
    padding:20px 0 30px;
    background-color:darkblue;
    color:#fff;
    text-align: center;
}


footer h3{
    width:70%;
    margin: 0 auto 1em;
    font-size: 16px;
    border-bottom:1px dotted lightgray;
    padding:0 2em 0.5em;
}
footer h4{
    width:70%;
    margin: 0 auto 1em;
    font-size: 14px;
    border-bottom:1px dotted lightgray;
    padding:0 2em 0.3em;
}
footer ul{
    margin: 0 auto 3em;
    list-style-type: none;
}
footer li{
    display: block;
    margin: 0 auto 20px;
    font-size: 14px;
    text-align: center;
}
footer li a{
    display: block;
    font-size: 14px;
    text-align: center;
    color:#fff;
}
footer p{
    clear: both;
    font-size: 13px;
    margin-top: 20px;
}
footer a
{color:#fff;
}


}




 /*　サイズが768x以上 
ieのアニメーションは仕様が異なるのでさらに下に
https://qiita.com/sawadays0118/items/bd0731878e9eb49c03f5
*/


@media screen and (min-width:768px) {
    


.wrap{
    position: relative;
    width:960px;
    margin: 0 auto;
}



.wrapmask{
    width:960px;
    background-color: rgba(255,255,255,0.5);
    animation-name: maskslide;
    animation-duration: 4s;
    animation-fill-mode:forwards;
}
@keyframes maskslide {
  0% { background-color: rgba(255,255,255,1);}
    100% { background-color: rgba(255,255,255,0);}
}

header{
    position: relative;
    display:flex;
    flex-wrap: wrap;
    flex-direction: column;
    padding:5px;
    height:80px;
    text-overflow: hidden;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
    animation-name: h_anime;
    animation-duration: 1s;
    animation-fill-mode:forwards;
}

@keyframes h_anime {
    0% { opacity:0;top: 30px;}
    100% { opacity:1;top: 0px;}
}

#navibutton{
	display:none;	
}

.basenavi{
    display: flex;
    flex-direction:row;
    list-style-type: none;
    justify-content: space-between;
}
.basenavi li{
	color:white;
     width:33.2%;
}

.basenavi li a{
	color:white;
	display:block;
	padding:5px 30px 5px 30px;
	text-decoration:none;
	text-align:center;
    background-color: darkblue;
    font-size: 14px;
    letter-spacing: 0.3em;
   
}

.basenavi li a:hover{
    opacity: 0.8;
}
.basenavi #sp{
    display:none;
}
    
.mark_nms{
    width: 60px;
    height:150px;
}
.mark_nms img{
    height:55px;
}
.mark_text{
    width:900px;
    height:30px;
    display:flex;
    align-content: space-between;
 }
 .mark_text div{width:700px;display:flex;}
.mark_1 a,.mark_2 a,.mark_3 a,.mark_4 a,.mark_5 a{
    margin-right: 5px;
    padding: 4px;
    width:110px;
    text-align: center;
    background-color: darkblue;
    border-radius: 5px;
    font-size: 0.8em;
}
    
.mark_text a,.mark_text h1 a { color: #fff;}
.mark_text a:link { color: #fff;}
.mark_text a:visited { color: #fff;}
.mark_text a:hover { color: #fff;}
.mark_text a:active { color: #fff;}
.mark_form{
    text-align: right;
    padding-top: 5px;
 } 
.mark_form a:link,.mark_form a:visited {
    font-size:12px;
    color: darkblue;
 } 
.mark_text2{
    width:900px;
    height:40px;
    font-size: 30px;
    color:#000;
 }

.mark_text2 a,{ color: #000;}
.mark_text2 a:link { color: #000;}
.mark_text2 a:visited { color: #000;}
.mark_text2 a:hover { color: #000;}
.mark_text2 a:active { color: #000;}
    
.intro_pg{
    width:960px;
    padding:0px 0px 50px;
    margin:0 auto;
    text-align: center;
    background: #fff;
    background-image: url(../img/intro-pgm-bg.jpg);
    background-position: 0 200px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.intro_pg .small{font-size: small;}
.intro_pgbox{ 
    padding:70px 170px 40px;
  
    }

.intro_pgbox h3{ 
    font-size: 22px;
    font-weight: 600;
    }
    .intro_pgbox h4{ 
        font-size: 18px;
        color:darkblue;
        font-weight: 600;
        }
        .intro_pgbox h4.num{
            margin-top: 40px;
            margin-bottom: 30px;
        }
        .intro_pgbox h4.num .subtex{
            font-size:16px;
            margin-top: -15px;
            margin-bottom: 20px;
        }
        .intro_pgbox h5{
            font-weight: 600;
            text-align: left;
            margin-top: 20px;
            color: dodgerblue;
            font-size: 16px;
        }
        .intro_pgbox h6{
            font-weight: 600;
            text-align: left;
            margin-top: 20px;
            color:rgb(40, 116, 191);
            font-size: 14px;
        }
        .intro_pgbox .star{
            margin: 1em 0 2em 1em;
            color:dimgrey;
        }
        .intro_pgbox .starstar{
            color:palevioletred;
        }
        .intro_pgbox .columnbox1{
            padding:8px 32px 18px;
            background-color: beige;
            border-radius: 16px;
            margin-top: 16px;
            margin-bottom: 16px;
        }
        .intro_pgbox .columnbox2{
            padding:24px;
            background-color: #fff;
            border: darkblue 1px solid;
            margin-top: 16px;
            margin-bottom: 16px;
        }
        .intro_pgbox .indent-1 {
            text-indent:1em;
        }
        .intro_pgbox .fw600 {
            font-weight: 600;
        }
         .intro_pgbox .link_menu{
            border:1px solid #999;
        }
       
.intro_pgbox p{ 
    text-align: left;
    font-size: 13px;
    line-height: 1.7;
    }
    .intro_pgbox .center{ 
        text-align: center
        }

        .intro_pgbox p .dot_b{
            color:dodgerblue;
        }
 
        .intro_pgbox .downloadbox{ 
            padding:15px;
            background-color: #fff;
            border: darkblue 1px solid;
            }

.intro_pgbox .intro_pgboxlead{ 
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.2;
    color:darkred;
    }

    .intro_pgbox .intro_pgboxlead span{ 
         display: inline-block;
    }
    .intro_pgbox ol{
    margin: 20px 0 20px 20px;
        text-align: left;
    }   

    .intro_pgbox ol li {
        list-style-type: none;
        counter-increment: cnt;
        margin-bottom:14px;
        font-size: 14px;
        line-height: 1.5;
    }
    
    .intro_pgbox ol li::before {
        content: "(" counter(cnt) ")";
        display:inline-block;
        margin-left:-24px ;
        width: 24px;
    }

    .intro_pgbox ul{
        margin: 20px 0 20px 20px;
            text-align: left;
            list-style-position: outside;
        }   
    .intro_pgbox li{
    margin-bottom:14px;
    font-size: 14px;
    line-height: 1.5;
    }   
    .intro_pgbox ul li::marker{
        color:lightsalmon;
        }   
    .intro_pgbox figure{
        text-align: right;
    }
    
    .intro_pgbox .figtitle{
        background-color: rgb(71, 165, 180);
        color:#fff;
        padding: 1px 5px 5px 5px;
        line-height: 3;
    }
.intro_pgbox .signature{ 
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.2;
    
    }
    
.intro_pgbox figure img{ 
    margin:  10px 5px 3px 5px;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.5);
    }
    .intro_pgbox .tosite{
        margin: 10px 40px 20px;
        padding:0px 10px 3px;
        box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
        border-radius: 10px;
        background-color:darkblue;
        color:white;
    }
    .intro_pgbox .tosite h5{
        margin: 3px 0 3px;
        padding-top: 10px;
        padding-bottom: 10px;
        line-height: 1;
        color:#fff;
    }
    .intro_pgbox .tosite p{
        text-align: center;
    }
    .intro_pgbox .tosite a{
        color:#fff;
    }
    .intro_pgbox .tosite a:hover{
        color:yellow;
    }
     .intro_pgbox .tosite:hover{
            opacity: 0.9;
    }  
 
footer{
    width:860px;
    padding:20px 50px 20px;
    background-color:darkblue;
    color:#fff;
    
}
footer a{
    color:#fff;
}
footer a:hover{
    color:#aaa;
}

footer h3{
    font-size: 18px;
    margin-bottom: 5px;
    color:#fff;
}

footer h4{
  /*   margin-top: 30px; */ 
    font-size: 13px;
    color:#fff;
}
.footerflex{
    display: flex;
    width:100%;
}

.fb40{
    width:40%;
}
.fb30{
    width:30%;
}

.footerbox ul{
    list-style-type: none;
}
.footerbox li{
    font-size: 14px;
    width: 160px;
}

.footerbox li a:hover{
    color:yellow;
}

.fb30 ul li{
    font-size: 12px;
}



}
