@charset "utf-8";
/* CSS Document */

body{
font: 14px/1.6 "Hiragino Kaku Gothic Pro",Osaka,"メイリオ","ＭＳ Ｐゴシック","MS PGothic",Verdana,Arial,sans-serif;
margin:0;
color:#ff9999;
}

img{
outline:none;
border-style:none;
}

a{
    color:blue;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}
a:visited{
    color:blue;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}
a:hover {
    color: #F5A862;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}

/*****HEADER*****/
header{
    display: block;
    //width:60%;
    text-align: center;
    margin-left: auto;
    overflow: hidden;
}
header h1{
    font-size:120%;
    color:#ff9999;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    /*border:1px solid #ff9999;*/
    /*border-radius: 5px;*/
    letter-spacing: 3px;
    font-weight:400;
    //float: left;
}

header p{
    font-size:100%;
    color:#ff9999;
    //float: left;
}

/*****BRANDING*****/
#branding{
    display: block;
    width: 60%;
    margin-left: 20%;
    overflow: hidden;
    background-color: #ff9999;
    margin-bottom: 20px;
    letter-spacing: 10px;
    line-height: 300px;
}
#branding p{
    color: #fff;
    font-size: 120%;
    padding-left: 3%;
}

/*****NAV*****/
nav{
    width: 100%;
    /*border-top: 1px solid orange;*/
    /*border-bottom: 1px solid orange;*/
    margin-bottom: 5px;
    overflow: hidden;
}
/*
nav ul{
    width: 60%;
    margin-left: 20%;
}
nav li{
    width: calc(25% - 2px);
    font-size: 110%;
    letter-spacing: 5px;
    font-weight: 400;
    line-height: 45px;
    border-left: 1px solid orange;
    color: #ff9999;
    cursor: pointer;
    text-align: center;
    float: left;
}
nav li:last-child{
    border-right: 1px solid orange;
}

nav li:hover{
    background-color: orange;
    transition: background-color 0.5s ease-out;
    color: #fff;
}
*/

/*****ARTICLE*****/
section{
    display: block;
    width: 60%;
    margin: 20px auto;
    overflow: hidden;
}
article{
    width: calc(50% - 15px);
    padding: 2.5%;
    margin-bottom: 30px;
    background-color: #f9f9f9;
    overflow: hidden;
    float: left;
}
article:nth-child(2n){
    margin-left: 30px;
}
article .date{
    font-size: 60%;
    color: orange;
    border: 1px solid orange;
    padding-top:3px;
    padding-bottom: 3px;
    padding-right: 6px;
    padding-left: 6px;
    letter-spacing: 5px;
    float: left;
}
article h1{
    width: 100%;
    font-size: 150%;
    color: #ff9999;
    letter-spacing: 3px;
    padding-bottom:2px;
    padding-top: 10px;
    border-bottom: 1px solid #bababa;
    margin-bottom: 15px;
    float: left;
}
article p{
    font-size: 100%;
    color: #ff9999;
    letter-spacing: 3px;
    line-height: 200%;
    margin-bottom: 10px;
    float: left;
}
article .btn{
    color: #fff;
    border: 1px solid orange;
    background-color: orange;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 30px;
    padding-left: 30px;
    border-radius: 5px;
    letter-spacing: 5px;
    text-decoration: none;
    overflow: hidden;
    float: right;
}
article .btn:hover{
    background-color: #fff;
    border: 1px solid orange;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
    color: orange;
    overflow: hidden;
}

footer{
    color: #ff9999;
    font-size: 100%;
    width: 100%;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #ffffff;
}
footer address{
    color: #fff;
    letter-spacing: 5px;
}

/*****DIV*****/

/* 枠有り */
div.border{
    border:1px solid #ff9999;
    border-radius: 5px;
    padding: 3px;
    margin: 3px;
}

/* 中央寄せ */
div.center{
    text-align: center;
    margin: auto;    
}

/* 左寄せ */
div.left{
    text-align: left;
    margin: auto;
}

/* 中央寄せ・枠無し */
div.centernoborder{
    width: 1000px;
    text-align: center;
    margin: auto;
    border-radius: 5px;
    padding-top: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* 中央寄せ・枠有り */
div.centerborder{
    width: 850px;
    text-align: center;
    margin: auto;
    border:1px solid #ff9999;
    border-radius: 5px;
    padding-top: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* 左寄せ・枠無し */
div.leftnoborder{
    width: 1000px;
    text-align: left;
    margin: auto;
    border-radius: 5px;
    padding-top: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* 中央寄せ・枠無しメイン */
div.main{
    width: 850px;
    text-align: center;
    margin: auto;
    border-radius: 5px;
    //padding-top: 5px;
    //margin-top: 10px;
    margin-bottom: 10px;
}


/* グリッド */
div.grid {
    display: grid;
    margin-left: 10px;
    //grid-auto-rows: 100px;
    grid-template-columns: repeat(auto-fit, 100px);
    justify-content: center; /* グリッド全体を中央に寄せる設定 */
}

/* 2グリッド */
div.grid2 {
    width: 1000px;
    font-size: 90%;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /*grid-template-rows: 50px 50px;*/
    margin-left: 5px;
}

/* 3グリッド */
div.grid3 {
    width: 1000px;
    font-size: 90%;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    /*grid-template-rows: 50px 50px;*/
    margin-left: 5px;
}

/* メイン・3グリッド */
div.maingrid3 {
    width: 1000px;
    font-size: 90%;
    text-align: left;
    display: grid;
    grid-template-columns: 210px 330px 210px;
    /*grid-template-rows: 50px 50px;*/
    margin-left: 5px;
}

/* アイテム中央寄せ */
div.itemcenter{
    text-align: center;
    //margin: auto;
}


/* サイドバー */
div.sidebar {
    width: 150px;
    //position: absolute;
    //left: 0;
    //background: #FFCCCC;
}


/*****P*****/

p.mb1{
   margin-bottom: 1em;
}

h2.gridtitle {
    text-align: center;
    border-top: 3px solid;
    border-bottom: 3px solid;
    border-image: repeating-linear-gradient(to right,
          #FF5252 0 3px,
          transparent 3px 10px
      );
    border-image-slice: 1;
    margin-bottom: 5px;

}

h2.navtitle {
    text-align: center;
    border-top: 3px solid;
    border-bottom: 3px solid;
    border-image: repeating-linear-gradient(to right,
          #FF5252 0 3px,
          transparent 3px 10px
      );
    border-image-slice: 1;
    margin-bottom: 5px;

}

