@charset "UTF-8";

/*▼リセットCSS▼*/
*{
  margin: 0;
  padding: 0;
  list-style: none;
}

img{
  /* width: 100%; */
  vertical-align: bottom;/*BOX（画像や文字を底辺に合わせる）*/
}

a {
  color:inherit;
  text-decoration: none;
}

.container{
  width: 1240px;
  margin: 0 auto 50px;
  display: flex;
  justify-content: space-between;
}

/*▲リセットCSS▲*/


body{
  background-image: url(../img/bg.png);
  font-size: 16px;
  font-family: 'arial', 'Hiragino Sans','Meirio', sans-serif;
  color: #333333;
}

main{
  flex-basis: 920px;
  background-color: #fff;
  border-radius: 16px;
  padding: 62px 72px 32px 72px;
  box-shadow: 0px 0px 8px rgba(0,0,0,0.16);
  margin-right: 36px;
}

/*　▼　asideの処理　▼　*/
aside{
  flex-basis: 284px;
}
aside nav{
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0px 0px 8px rgba(0,0,0,0.16);
  padding: 24px 28px;
  margin-bottom: 24px;
}

aside nav h2{
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: bold;
  color: #8c5d48;
}

aside nav ul{
  font-size: 16px;
}

.categoryNav ul li{
  list-style-type: square;  /*リストの前の形を■にする*/
  color: #7c5d48;
  margin: 0 0 16px 20px;
  margin: 0 0 16px 20px;
}

.categoryNav ul li a{
  color: #333333;
}

.recentNav ul li{
  border-bottom: 1px solid #7c5d48;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.recentNav ul {
  height: 240px;
  overflow: hidden scroll; /*240pxを超える場合にスクロールで表示する*/
}

/*　▲　asideの処理　▲　*/



/*　▼　headerの処理　▼　*/
header {
  width: 1240px;
  margin: 0 auto 44px;
}

h1{
  text-align: center;
  padding: 20px 0px 16px;
}


header nav ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  border-top: 2px solid #7c5d48;
  border-bottom: 2px solid #7c5d48;
  padding: 12px 0px;
}


header nav ul li{
  margin: 0 20px;
}

header nav ul li a{
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  color: #7c5d48;
}

header nav ul li a:hover
/* スマホの際には：header nav ul li a:active */
{
  color: #cb621c;
  text-decoration: underline double;
}

/*クリック or タップ時*/
header nav ul li a:active{
  /*影のサイズ　+　カラー*/
  text-shadow: 0 0 6px #f00;
}

/*　▲　headerの処理　▲　*/


/*　▼　mainの処理　▼　*/

time{
  background-color: #91c777;
  border-radius: 0px 22px 22px 22px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  padding: 13px 25px 12px 20px;
  display: inline-block;  /*画像と被らないようにするための処理*/
}

/*絵と時間の余白を調整*/
.postdate{
  margin-bottom: 26px;
}

.eyecatch{
  margin-bottom: 26px;
}

article h2{
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 8px;
}

/*sectionの見出し*/
article h3{
  border-bottom: 2px solid #6ab547;
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 600;
  /* background: url(../img/h2_icon.png) no-repeat left bottom; */
  /*上記書き方でも可能*/
  background-image: url(../img/h2_icon.png);
  background-repeat: no-repeat; /*リピートしない*/
  background-position: left bottom; /*左下固定*/
  padding: 20px 10px 10px 48px; /*画像用スペースの確保*/
}

article section{
  margin-bottom: 50px;
}

article section p{
  line-height: 1.6;
  margin-bottom: 24px;
}

/*　▲　mainの処理　▲　*/


/*　▼　footerの処理　▼　*/
footer{
  background-color: #523f2e;
  color: #fff;
  text-align: center;
  padding: 14px 10px 20px;
}
/*　▲　footerの処理　▲　*/
