@charset "utf-8";

body {
  background-image: url(../images/bg01.png);
  font-family: serif;
  color: #333333;
}

img {
  max-width: 100%;
  height: auto;
}

header {
  width: 960px;
  margin: 40px auto;
}

h1 {
  text-align: center;
}

header .logo {
  width: 300px;
}

header nav ul {
  display: flex;
  justify-content: center;
  gap: 40px;
  border-top: 1px dashed #7c5d48;
  border-bottom: 1px dashed #7c5d48;
  padding: 12px 0px;
}

header nav a {
  font-size: 22px;
  font-weight: bold;
  color: #7c5d48;
}

header nav a:hover {
  color: #af612c;
}

.layout {
  width: 960px;
  margin: 0 auto 50px;
  display: flex;
  justify-content: space-between;
}

main {
  flex-basis: 640px;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.16);
}

aside {
  flex-basis: 284px;
}

aside nav {
  border-radius: 16px;
  background-color: #ffffff;
  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: #7c5d48;
}

aside nav ul {
  font-size: 14px;
}

.categoryNav ul li {
  list-style-type: square;
  color: #7c5d48;
  margin: 0 0 16px 20px;
}

.categoryNav ul li a {
  color: #333333;
}

.recentNav ul li {
  border-bottom: 1px dashed #7c5d48;
  padding-bottom: 10px;
  margin-bottom: 22px;
}

.recentNav ul {
  height: 240px;
  overflow: hidden scroll;
}

article h2 {
  border-bottom: 2px solid #7c5d48;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
  background-image: url(../images/h2_icon.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 40px auto;
  padding: 20px 48px 10px 10px;
}

article section p {
  line-height: 1.6;
  margin-bottom: 24px;
}

article ul {
  list-style-type: circle;
  line-height: 2;
  padding-left: 24px;
  margin: 24px 0;
}

article img {
  border-radius: 16px;
}

article section {
  margin-bottom: 50px;
}

footer {
  background-color: #7c5d48;
  color: #ffffff;
  text-align: center;
  padding: 14px 10px 20px;
}
