/* ===============================
   ベース設定
================================= */
body {
  margin: 0;
  height: 100vh; /* 画面全体を基準に */
  flex-direction: column;
  justify-content: center; /* ← 左右中央揃え */
  align-items: flex-start; /* ← 上寄せ。中央にしたいなら center に変更 */
  font-family: "EB Garamond", "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  color: #222;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;

}

/* ===============================
   レイアウト全体
================================= */
.container {
  display: flex;
  flex-direction: column; /* ← footerを下に積む */
  min-height: 100vh;
  margin: 0 auto;
  padding-left: 50px;
  padding-top: 30px;
}

/* コンテナ */
.content-area {
  display: flex;
  flex-direction: column; /* ← サイドバーと本文を横並び */
  flex: 1; /* ← footer以外の部分を伸縮可能に */
  margin: 130px 0px 0px 0px;
}


/* ヘッダー */
.header {
display: flex;
flex-direction: column;
align-items: flex-start;
font-family: "EB Garamond", "Shippori Mincho", serif;
font-weight: 400;
font-style: normal;
font-size: 17px;
letter-spacing: 1.5px;
line-height: 1.5;
}


/* ===============================
  メニュー
================================= */

.site-title{position: fixed;
}

.site-title a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

a:visited {
  color: #222;
}

.sidebar {
  margin-top: 160px;
}

.sidebar a {
  text-decoration: none;
}

.nav {
  display: flex;
  flex-direction: column;
}

.nav a {
  text-decoration: none;
  display: inline-block;
  width: fit-content;
}

.contuct {
  margin-top:70px;
  display: flex;
  flex-direction: column;
  line-height: 1.8;
}
.contuct a {
  margin-bottom:30px;
  display: inline-block;
  width: fit-content;
}

/* 本文 */
.main {
  max-width: 560px;
  font-family: "EB Garamond", "Shippori Mincho", serif ;
  font-weight: 400;
  flex: 1;
  display: flex;
  align-items: flex-start;
  margin: 0 auto;

}

/* テキストコンテナ */
section {
  font-family: "EB Garamond", "Shippori Mincho", serif ;
  font-weight: 400;
  max-width: 560px;
  width: 100%;
  text-align: left;
  line-height: 2;
}

footer {
  font-family: "EB Garamond" ;
  font-weight: 400;
  text-align: left; 
  font-size: 14px;
  letter-spacing: 1.5px;
  padding: 120px 20px 20px 0px;  
}

/* ===============================
   レスポンシブ対応
================================= */
@media (max-width: 560px) {
  
  .container {
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
  }

  .content-area {
    flex-direction: column; 
    margin-top: 130px;
    margin-left: 0px;
  }

  .header {
    flex-direction: column;
    position: static;

    line-height: 1.5;
  }
.site-title{
  position: static;
}

  .main {
    height: 60vh;
    margin-left: 0px;
    margin-top: 0px;
  }

footer {
  padding: 60px 20px 20px 0px;  
}

}