/* =========================================================
   SIMPLE LIFE - Free HTML/CSS Template
   ntrin.com
   ========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    YuGothic,
    Meiryo,
    sans-serif;

  color: #333;
  background: #f8f8f6;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}


/* =========================
   Header
========================= */

.site-header {
  background: #fff;
  border-bottom: 1px solid #eaeaea;
}

.header-inner {
  max-width: 1180px;
  margin: auto;
  padding: 24px 30px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .08em;
}

.nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav a {
  font-size: 13px;
  color: #555;
  transition: .3s;
}

.nav a:hover,
.nav a.active {
  color: #9b7b5b;
}


/* =========================
   Layout
========================= */

.container {
  max-width: 1180px;
  margin: auto;
  padding: 60px 30px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 60px;
}


/* =========================
   Hero
========================= */

.hero {
  margin-bottom: 50px;
}

.hero-visual {
  min-height: 330px;

  display: grid;
  place-items: center;

  background:
    linear-gradient(
      135deg,
      #e8e1d8 0%,
      #cfc5b8 48%,
      #eeeae4 48%,
      #f7f5f2 100%
    );

  border-radius: 8px;

  color: #fff;
  font-size: 13px;
  letter-spacing: .15em;
}

.category {
  display: inline-block;

  margin-top: 25px;
  margin-bottom: 8px;

  color: #9b7b5b;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: .12em;
}

h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.4;
  letter-spacing: .03em;
}

.hero p {
  margin-top: 18px;

  color: #666;
  font-size: 15px;
}


/* =========================
   Article
========================= */

.section-title {
  font-size: 20px;

  margin-bottom: 25px;
  padding-bottom: 12px;

  border-bottom: 1px solid #ddd;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.article {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 25px;

  padding-bottom: 25px;

  border-bottom: 1px solid #e5e5e5;
}

.article-visual {
  width: 180px;
  height: 120px;

  display: grid;
  place-items: center;

  background:
    linear-gradient(
      135deg,
      #e8e1d8,
      #cfc5b8
    );

  border-radius: 8px;

  color: #fff;
  font-size: 11px;
  letter-spacing: .08em;
}

.article h2,
.article h3 {
  font-size: 18px;
  line-height: 1.5;

  margin-bottom: 7px;
}

.article p,
.page-content p {
  color: #666;
  font-size: 14px;
}

.date {
  display: block;

  margin-bottom: 4px;

  color: #999;
  font-size: 11px;
}


/* =========================
   Sidebar
========================= */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sidebar-box {
  padding: 25px;

  background: #fff;

  border: 1px solid #eee;
  border-radius: 8px;
}

.sidebar-title {
  font-size: 15px;
  font-weight: 700;

  margin-bottom: 18px;
  padding-bottom: 10px;

  border-bottom: 2px solid #9b7b5b;
}

.profile {
  text-align: center;
}

.profile-mark {
  width: 90px;
  height: 90px;

  margin: 0 auto 15px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      #9b7b5b,
      #d9cabb
    );

  color: #fff;

  font-size: 24px;
  letter-spacing: .08em;
}

.profile p {
  margin-top: 8px;

  color: #777;

  font-size: 13px;
  text-align: left;
}


/* =========================
   Category
========================= */

.category-list {
  list-style: none;
}

.category-list li {
  border-bottom: 1px solid #eee;
}

.category-list a {
  display: flex;
  justify-content: space-between;

  padding: 10px 0;

  color: #555;

  font-size: 13px;
}

.category-list a:hover {
  color: #9b7b5b;
}


/* =========================
   CTA
========================= */

.cta {
  padding: 30px 25px;

  background: #333;

  border-radius: 8px;

  color: #fff;
  text-align: center;
}

.cta h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.cta p {
  margin-bottom: 20px;

  color: #ddd;

  font-size: 12px;
}


/* =========================
   Button
========================= */

.button {
  display: inline-block;

  padding: 10px 22px;

  background: #9b7b5b;

  border: 1px solid #9b7b5b;
  border-radius: 4px;

  color: #fff;

  font-size: 13px;

  cursor: pointer;

  transition: .3s;
}

.button:hover {
  background: #806449;
  border-color: #806449;
}

.button-light {
  background: #fff;
  border-color: #fff;
  color: #333;
}


/* =========================
   Pages
========================= */

.page-content h1 {
  margin-bottom: 25px;
}

.page-content h2 {
  font-size: 22px;

  margin: 35px 0 12px;
  padding-bottom: 8px;

  border-bottom: 1px solid #ddd;
}


/* =========================
   Contact Form
========================= */

.contact-form {
  padding: 30px;

  background: #fff;

  border: 1px solid #eee;
  border-radius: 8px;
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;

  margin-bottom: 7px;

  font-size: 13px;
  font-weight: 700;
}

.form-row input,
.form-row textarea {
  width: 100%;

  padding: 12px;

  background: #fafafa;

  border: 1px solid #ddd;
  border-radius: 4px;

  font: inherit;
}

.form-row textarea {
  min-height: 180px;
  resize: vertical;
}


/* =========================
   Footer
========================= */

.site-footer {
  margin-top: 30px;
  padding: 35px 20px;

  background: #333;

  color: #aaa;

  text-align: center;
}

.site-footer p {
  font-size: 12px;
}


/* =========================
   Responsive
========================= */

@media (max-width: 768px) {

  .header-inner {
    padding: 20px;
  }

  .nav ul {
    gap: 15px;
  }

  .nav a {
    font-size: 12px;
  }

  .container {
    grid-template-columns: 1fr;

    padding: 40px 20px;

    gap: 50px;
  }

  .hero-visual {
    min-height: 230px;
  }

  .article {
    grid-template-columns: 120px 1fr;
    gap: 15px;
  }

  .article-visual {
    width: 120px;
    height: 90px;
  }

  .article h2,
  .article h3 {
    font-size: 15px;
  }
}


@media (max-width: 480px) {

  .nav {
    display: none;
  }

  .article {
    grid-template-columns: 1fr;
  }

  .article-visual {
    width: 100%;
    height: 180px;
  }

}