h2 a{
    text-decoration: none;
    color: #3e2723;
}
/*フレームワーク*/

.menu{
    display: none;
}
/*-----------------
    全体の枠組み(PC)
-------------------*/
#container{
    display: grid;
    width: 100%;
    grid-template-rows: 6em 1fr 1fr 0.25fr;*/
    grid-template-columns: 1fr;
}
#caption{
    grid-row: 1 / 2;
    grid-column: 1;
    /*background-color: #d6eaff;*/
    margin: auto;
    font-size: 2.5em;
}
#caption br{
    display: none;    
}

#caption p{
    line-height: 1.25em;
}

.wf-sawarabimincho {
    font-family: "Sawarabi Mincho"; 
    margin: 0 auto;
}

.topics{
    grid-row: 2 / 3;
    grid-column: 1;
    /*background-color:#ffd6ea;*/
}
.map{
    grid-row: 3 / 4;
    grid-column: 1;
    /*background-color:#d6ffeb;*/
}
.link{
    grid-row: 4 / 5;
    grid-column: 1;
    /*background-color:#fffafa;*/
    background-color: #00ada9;
}


/*****ドロップダウンメニュー****/
#menu{
    width: 960px;
    margin: 0 auto;
    background: #444;/*７*/
}
#menu-inner{
    width: 960px;/*１*/
    height: 40px;/*２*/
    margin: 0 auto;
    background: #444;/*８*/
}
#menu-btn{display: none;}
#menu-content{
    padding-left: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    list-style-type: none;
}
#menu-content > li{
    position: relative;
    float: left;
    height: 100%;
    text-align: center;
    width: 20%;
}
#menu-content > li > a{
    position: relative;
    display: block;
    height: 100%;
    width: 100%;/*3*/
    line-height: 40px;/*２*/
    background: #444;/*９*/
    color: #fff;/*10*/
    font-size: 0.8em;
    text-decoration: none;
    z-index: 2;
}
#menu-content > li > a:hover{
    background: #555;/*11*/
    color: #fff;/*12*/
}
#menu-content > li > a > .blogicon-chevron-down{margin-right: 5px;}
/*２階層目*/
#menu-content > li > ul.second-content{
    visibility: hidden;
    position: absolute;
    top: 0;
    margin: 0;
    padding-left: 0;
    list-style-type: none;
    z-index: -1;
}
#menu-content > li:hover > ul.second-content{
    visibility: visible;
    top: 40px;/*2*/
    z-index: 1;
    transition: all .3s;
}
#menu-content > li > ul.second-content > li{
    text-align: center;
    width: 200px;/*４*/
    height: 40px;/*５*/
}
#menu-content > li > ul.second-content > li > a{
    display: block;
    line-height: 40px;/*５*/
    background: #444;/*13*/
    color: #fff;/*14*/
    font-size: 0.7em;
    text-decoration: none;
}
#menu-content > li > ul.second-content > li > a:hover{
    background: #555;/*15*/
    color: #fff;/*16*/
}
/*=============
    swiper
==============*/
.swiper-container {
    width: 960px;
}
.swiper-wrapper {
	width: 100%;
	height: 20px;
}
.swiper-slide img{
    width: 100%;
}
.swiper-slide p{    
    font-size: 1em;
    color:#333;
    background: linear-gradient(transparent 75%, #999 90%); 
    position:absolute;
    top: 15px;
    right: 15px;
}
/*ENDswiper*/

/*-----------------
    バナーリンク関係（PC）
-------------------*/
#linkcontainer{
    display: grid;    
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    background-color:#fffafa;
    width: 100%;
    margin-bottom: 1em;
    border-collapse: collapse; 
}
.linktitle{
    grid-row: 1 / 2;
    grid-column: 2 / 4;
    align-items: center;
    -webkit-align-items: center; /* 縦方向中央揃え（Safari用） */
    justify-content: center;
    -webkit-justify-content: center; /* 横方向中央揃え（Safari用） */
}
.linkflame{
    background-color:#fffafa;
    position: relative;
    z-index: 1;
    /*以下囲い枠*/
    padding: 1.6em;
    box-shadow: 0 0 3px 3px #ffab40,
                0 0 2px 1px #ffab40 inset;
    border-radius: 10px;
    background: #F4F5F7;
}
.linkflame a{
    position: absolute;
    top: 0.75em;
    left: 0;
    width: 100%;
    height: 100%;    
    z-index: 2;
    text-decoration: none;
    text-align: center;
    color: #333;
    font-weight: bold;
    font-size: 0.75em;
    line-height: 1.5em;
}
.linkbox1,.linkbox2,.linkbox3,.linkbox4{
        width: 94%;
        margin: 0 auto;
}
.linkbox1{
    grid-row: 2 / 3;
    grid-column: 1 / 2;
}
.linkbox2{
    grid-row: 2 / 3;
    grid-column: 2 / 3; 
}
.linkbox3{
    grid-row: 2 / 3;
    grid-column: 3 / 4; 
}
.linkbox4{
    grid-row: 2 / 3;
    grid-column: 4 / 5; 
}

@media screen and (max-width: 970px){    
.menu{
       display: block; 
    }
#menu{
        display: none;
    }
.link{
        background-color: #5400ad;
    }
/*-----------------
    全体の枠組み(TB横)
-------------------*/
/*#container{
    grid-template-rows: 8em 1fr 1fr 0.25fr;
    grid-template-columns: 1fr;
}*/
    
#caption{
    font-size: 2.25em;
    }
/*=============
    swiper
==============*/
.swiper-container {
    width: auto;
}
/*ENDswiper*/

 
    
}
/*end:970px*/
@media screen and (max-width: 769px){
    .link{
        background-color:#ad0003; 
    }
/*-----------------
    全体の枠組み(TB縦)
-------------------*/
    /*#container{
        grid-template-rows: 8em 1fr 1fr 0.25fr;
        grid-template-columns: 1fr;
    }*/
    #caption{
        font-size: 2.0em;
        padding: 0.5em 0;
    }
    
    .wf-sawarabimincho br{
        display: block;
    }
    #caption br{
        display: block;
    }
    
    .titlespan{
        padding-left: 6em;
    }
/*-----------------
    バナーリンク関係（TB縦)
-------------------*/
#linkcontainer{
    width: 100%;    
    grid-template-rows: 0.6fr 1fr 1fr;
    grid-template-columns: 50% 50%;
    }
    
.linktitle{
    width: 90%;
    margin: 0 5%;
    grid-row: 1 / 2;
    grid-column: 1 /3;
}
.linkflame{
    width: 90%;
    margin: 0 auto;
}
.linkbox1,.linkbox2,.linkbox3,.linkbox4{
        width: 100%;
        margin: 0.5em 0;
}
.linkbox1{
    grid-row: 2 / 3;
    grid-column: 1 / 2;
}
.linkbox2{
    grid-row: 2 / 3;
    grid-column: 2 / 3; 
}
.linkbox3{
    grid-row: 3 / 4;
    grid-column: 1 / 2; 
}
.linkbox4{
    grid-row: 3 / 4;
    grid-column: 2 / 3; 
}
}

@media screen and (max-width: 480px){
    
#caption{
    padding: auto 0;
}
.link{
    background-color: #5aad00;
    }
/*-----------------
    全体の枠組み(SP)
-------------------*/
#container{
    width: 100%;
    /*grid-template-rows: 0.1fr 1fr 1fr 0.75fr;*/
    grid-template-columns: 100%;    
}
#caption{
    font-size:1.75em;
}

    
/*-----------------
    バナーリンク関係（SP)
-------------------*/
    #linkcontainer{
        width: 100%;    
        grid-template-rows: 0.6fr 1fr 1fr 1fr 1fr;
        grid-template-columns: 1fr;
    }
    .linktitle{
        grid-row: 1 / 2;
        grid-column: 1 ;
    }
    .linkflame{
        margin-bottom: 0.5em;
    }
    .linkbox1,.linkbox2,.linkbox3,.linkbox4{
        width: 100%;
    }
    .linkbox1{
        grid-row: 2 / 3;
        grid-column: 1;
    }
    .linkbox2{
        grid-row: 3 / 4;
        grid-column: 1; 
    }
    .linkbox3{
        grid-row: 4 / 5;
        grid-column: 1; 
    }
    .linkbox4{
        grid-row: 5 / 6;
        grid-column: 1; 
    }

}