


/*--HOME----------start-------------*/

.site-footer{
    margin-top: 1400px;
}
.index-top{
    width:100%;
}
.index-top img{
    width:100%;
}
.top-container01{
     margin-top: 50px;
}
.top-container03 {
}
.top-container04{
     margin-top: 700px;
}
.top03-01 p{
    font-size:40px;
    font-family: "HG明朝B";
    padding-left:50px;
}
.top03-021 img,.top04-03 img{
    width:100%;
    max-width: 610px;
    border: 1px solid gainsboro;
}
.top03-021 img{
    opacity: 0.8;
}
.top01{
    position:relative;
}
.top01-01,.top04-01{
    background: #D1222D;
    width: 900px;
    color: white;
    height: 128px;
    font-size: 40px;
    font-family: "HG明朝B";
    position: absolute;
    left: 20px;
    z-index: 1;
}
.top01-01 p,.top04-01 p{
    padding-left:50px;
}


.top01-021 {
    width: 80%;
    margin: 100px auto 30px;
    position: absolute;
    top: 50px;
    left: 120px;
    height: 350px;
    line-height: 2rem;
}
.top01-021 p{
    width: 80%;
    margin: 50px auto;
}
.top01-022 {
    width: 90%;
    margin: 0 auto;
}
.top01-022 img{
    width:100%;
    opacity: 0.5;
    z-index: -2;
    margin: 70px auto;
}
.top02 img{
    margin-top: 360px;
    width: 100%;
    height: auto;
    max-height: 650px;
    position:relative
}
.top02-01{
    position: absolute;
    top: 900px;
    background:#80808085;
    color: white;
    right: 80px;
    width: 700px;
    height: 420px;
}
.top02-02{
    width: 80%;
    margin: 40px auto;
}
.top02-title{
    font-family: "HG明朝B";
    color: red;
    font-size: 25px;
    text-align: center;
}
.top02-comment{
    margin-top: 30px;
    line-height: 2rem;
}

.top02-link{
    margin: 20px auto;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}
.top02-link a{
    text-decoration: none;
    color:white;
    padding: 12px 88px 12px;
     background: #D1222D;
}
.top02-link a:hover{
    color: #D1222D;
    background: #ffeaea;
}

.top03,.top04{
    margin-top: 50px;
    position: relative;
}
.top03-01{
    background:#D1222D;
    color:white;
    width:900px;
    position: absolute;
    right:20px;
}

.top03-03{
    background:#EEE2D4;
    position: absolute;
    z-index: -1;
    top: 70px;
    height: 450px;
    color:black;
}
.top03-021{
    padding-left:50px;
}
.top03-031{
    width:45%;
    margin-left: 700px;
    padding-top: 20px;
}
.top03-031 p{
    margin: 100px 0 30px 50px;
    line-height: 2rem;
}
.top03-031 span{
    margin-left: 200px;
    font-size: 20px;
    font-family: "HG明朝B";
}
.top04-01 p{
    font-size: 40px;
    font-family: "HG明朝B";
    padding-left: 50px;
}
.top03-02{
    position: absolute;
    top: 180px;
    left: 20px;
    width:50%;
}
.top04-link{
    font-size: 18px;
    text-align: center;
    line-height: 2.5rem;
}
.top04-01{
    background: #D1222D;
    color: white;
    width: 900px;
    position: absolute;
    z-index: 2;
}
.top04-02{
    background: #A6A6AD;
    position: absolute;
    top: 70px;
    height: 450px;
    width:100%;
}
.top04-021 {
    width:45%;
}
.top04-021 p {
    line-height: 2rem;
    margin-left: 50px;
    text-align: center;
}
.top04-03{
    position: absolute;
    top: 180px;
    right: 20px;
    width:50%;
}
.top-title{
    font-size: 25px;
    font-family: "HG明朝B";
    color: #D1222D;
    margin: 110px 0 20px;
    text-align: center;
}
.top-comment{
    color: white;
}
.top03-link{
    margin: 80px auto;
    text-align: center;
}
.top03-link a{
    text-decoration: none;
    color:white;
    padding: 12px 88px 12px;
    background: #D1222D;
    z-index:2;
}

.top03-link a:hover{
    color: #D1222D;
    background: #ffeaea;
}

/*--HOME----------end-------------*/

/*レスポンシブに関する記述*/
@media screen and (max-width: 1600px) {   
    .top03-031{
    margin-left: 650px;
}
}

@media screen and (max-width: 1070px) {
.top03-031 {
    margin-left: 530px;
}
.top03-031 span {
    margin-left: 150px;
    }
}


@media screen and (max-width: 896px) {
.top03-031 {
    margin-left: 430px;
}
.top03-031 span {
    margin-left: 100px;
}

}

@media screen and (max-width: 810px) {
.top03-031 {
    margin-left: 380px;
}
.top03-031 span {
    margin-left: 60px;
}
.top03-01 {
    left: 20px;
}s
.top02-01 {
    top: 780px;
}
.top02 img {
    margin-top: 400px;
}


}


@media screen and (max-width: 712px) {


}

@media screen and (max-width: 630px) {

}

@media screen and (max-width: 522px) {
    
.site-footer {
    margin-top: 1900px;
}
.index-top{
    margin-top: 50px;
}
.top02-01 {
    top:715px;
}
.index-top img {
    margin-top: 58px;
}
.top-container01 {
    margin-top: 30px;
    width: 100%;
}
.top01-01,.top03-01,.top04-01,.top05-01 {
    width: 90%;
    height: 80px;
    font-size: 20px;
}
.top01-01 p,.top03-01 p, .top04-01 p {
    padding-left: 30px;
    padding-top: 10px;
}

.top03-01 p,.top04-01 p{
        font-size:20px;
}
.top01-02 {
    top: 40px;
    height: 500px;    
}
.top01-021 {
    margin: 70px auto;
    top: 0;
    left: 0;
    width: 100%;
    height: 530px;
}  
.top02 img {
    margin-top: 450px;
}
.top02-01 {
    position: absolute;
    top: 710px;
    right: 0px;
    width: 100%;
    height: 550px;
}
.top03 {
    margin-top: 100px;
}    
.top03-03{
    top:40px;
    height: 780px;
}
    
.top03-02 {
    top: 100px;
    width: 90%;
}
.top03-031 {
    margin-left: 0px;
    padding-top: 380px;
    width: 90%;
    margin: 0 auto;
}
.top03-031 p {
    margin:0 auto;
}
.ornername {
    text-align: center;
    margin-top: 20px;
}
.top03-031 span{
    margin-left:0px;    
}
.top-container04 {
    margin-top: 1000px;
}
.top04-02 { 
    top: 40px;
    height: 750px;
}
.top04-021{
    width: 90%;
    margin: 400px auto;
}
.top04-021 p {
    margin-left:0px;
}
.top04-03{
    width: 90%;
    top: 100px;
} 
.top04-link{
    text-align: left;        
}     
.top03-021 {
    padding-left: 0px;
}   
    
    
}


@media screen and (max-width: 398px) {
    
.top01-01 p,.top03-01 p, .top04-01 p {
    padding-left: 0px;
    text-align: center;
}
.top02-01 {
    top: 740px;
}
.top02 img {
    margin-top: 500px;
}   
.top-container03 {
    margin-top: 150px;
}
.top02-link a {
    padding: 12px 50px 12px;
}
.top02-01 {
    height:650px;
}
.top03-031 {
    margin: 0 auto;
    padding-top: 320px;
}
.site-footer {
    margin-top: 1800px;
}
.top04-021 {
    margin: 330px auto;
}  
.top04-02 {
    height: 700px;
}    
.top03-link a {
    padding: 12px 60px 12px;
}
.top04-link {
    font-size: 16px;
    line-height: 2rem;
}   
.top01-022 img {
    height: 500px;
}    
    
}


