/*
Theme Name: dailypost
*/

@charset "utf-8";

html, body, h1, h2, h3, h4, ul, ol, dl, li, dt, dd, p, div, span, img, a, table, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: normal;
  font-size: 100%;
  vertical-align:baseline;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
article, header, footer, aside, figure, figcaption, nav, section { 
  display:block;
}
body {
  line-height: 1;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font: 16px/1.9 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif;
  font-weight: 300;
  -webkit-text-size-adjust:100%;
  overflow-x: hidden;
  color: #333;
  background: #fff;
}
ol, ul {
  list-style: none;
  list-style-type: none;
}

a{
  color: #0066ff;
  text-decoration: none;
}

a:hover, .active{
  text-decoration: underline;
}

a:active, a:focus,input:active, input:focus{outline:0;}


/*-----------------------------------------------------------*/

/*共通*/
.wrapper{
  width: 1080px;
  margin: 0 auto;
}
header .fixed{
  width: 20%;
  position: fixed;
  top: 0;
  right: 4%;
  background: #fff;
}
header .sitetitle{
  padding: 10px 0;
  font-size: 20px;
  color: #c36446;
  font-weight: bold;
}
header .mainvisual{
  margin-bottom: 30px;
}
header .mainvisual img{
  object-fit: cover;
}
.main_content{
  display: flex;
  margin-bottom: 30px;
}
.content{
  width: 75%;
}

/*トップページ*/
.content .article_list .page_link{
  margin-bottom: 50px;
  position: relative;
  display: block;
  color: #333;
  text-decoration: none;
}
.content .article_list .page_link dl{
  display: block;
  margin-left: 225px;
  min-height: 165px;
}
.content .article_list .page_link dl dt{
  font-size: 20px;
  line-height: 1.2;
  font-weight: bold;
  margin: 0 0 15px;
  color: #c36446;
  width: 100%;
  position: inherit;
}
.content .article_list .page_link dl .cap{
  width: 200px;
  position: absolute;
  top: 0;
  left: 0;
}
.content .article_list .page_link dl .cap img{
  width: 100%;
  vertical-align: middle;
  box-sizing: border-box;
  object-fit: cover;
}
.content .article_list .page_link dl dd span{
  line-height: 1.5;
  display: block;
}

/*下層ページ*/
.breadcrumbs{
  margin-top: 20px;
}
.breadcrumbs li{
  display: inline-block;
}
.breadcrumbs li:after{
  content: " > ";
}
.breadcrumbs li:last-child:after{
  content: "  ";
}
.breadcrumbs li a{
  color: #333;
  font-size: 14px;
}
.content .underheading{
  margin: 20px 0 50px 0;
  font-size: 22px;
  font-weight: normal;
}
.content .underheading span{
  padding-bottom: 20px;
  border-bottom: 2px solid #333;
  font-weight: bold;
}

/*カテゴリーページ*/
.content .category_list{
  margin-top: 40px;
}
.content .category_list .page_link{
  margin-bottom: 50px;
  position: relative;
  display: block;
  color: #333;
  text-decoration: none;  
}
.content .category_list .page_link dl{
  display: block;
  margin-left: 225px;
  min-height: 165px;
}
.content .category_list .page_link dl dt{
  font-size: 20px;
  line-height: 1.2;
  font-weight: bold;
  margin: 0 0 15px;
  color: #c36446;
  width: 100%;
  position: inherit;
}
.content .category_list .page_link:hover dl dt{
  text-decoration: none;
}
.content .category_list .page_link dl .cap{
  width: 200px;
  position: absolute;
  top: 0;
  left: 0;
}
.content .category_list .page_link dl dd span{
  line-height: 1.5;
  display: block;
}
.content .category_list .page_link:hover > dl > dd span{
  text-decoration: underline; 
}
.content .category_list .page_link dl .cap img{
  width: 100%;
  vertical-align: middle;
  box-sizing: border-box;
  object-fit: cover;
}

/*サイド*/
.sidebar{
  width: 25%;
  margin-left: 35px;
}
.sidebar .sidelist{
  margin-bottom: 30px;
}
.sidebar .sidelist dt{
  padding-left: 7px;
  font-size: 20px;
  border-left: 4px solid #c36446;
}
.sidebar .sidelist ul li{
  margin: 5px 10px;
}
.sidebar .sidelist ul li{
  padding: 5px 0;
  list-style: inside;
  border-bottom: 1px dashed #cb7b69;
}
.sidebar .sidelist a{
  color: #333;
}

/*フッター*/
footer{
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #cb7b69;
}


@media screen and (max-width: 768px){
  .wrapper{
    width: 100%;
  }
  header .sitetitle{
    padding: 15px 0px;
    width: 95%;
    margin: 0 auto;
  }
  header .mainnav{
    position: absolute;
    top: 0;
    width: 100%;
    text-align: right;
  }
  header .mainvisual,
  header .mainvisual img{
    width: 100%;
  }
  main{
    width: 95%;
    margin: 0 auto;
  }
  .main_content{
    display: block;
    margin-bottom: 15px;
  }
  .content{
    width: 100%;
  }
  .content .article_list .page_link{
    border-top: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    border-bottom: 4px solid #cccccc;
    margin-bottom: 25px;
    padding: 15px;
  }
  .content .article_list .page_link dl{
    margin: auto;
    min-height: inherit;
  }
  .content .article_list .page_link dl .cap{
    margin: 0 auto 15px;
    position: relative;
  }
  .content .underheading{
    font-size: 18px;
    margin-bottom: 20px;
  }
  .content .underheading span{
    padding-bottom: 5px;
  }
  .content p img{
    left: 0;
    width: 100%;
    height: 240px;
    top: -240px;
  }
  .sidebar{
    width: 100%;
    margin-left: 0;
    padding-top: 30px;
  }
  .sidebar .sidelist{
    margin-bottom: 30px;
  }
  .content .category_list{
    margin-top: 20px; 
  }
  .content .category_list .page_link{
    border-top: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    border-bottom: 4px solid #cccccc;
    margin-bottom: 25px;
    padding: 15px;
  }
  .content .category_list .page_link dl{
    margin: auto;
    min-height: inherit;
  }
  .content .category_list .page_link dl .cap{
    margin: 0 auto 15px;
    position: relative;
  }
}