/* --------------------------------
   ベース設定
-------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500&family=Noto+Sans+JP:wght@400;500&display=swap');

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #fafafa;
  color: #222;
  margin: 0;
  line-height: 1.8;
}

#container {
  max-width: 1100px;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* --------------------------------
   ヘッダー
-------------------------------- */
header.site-header {
  background-color: #f8f8f8;
  border-bottom: 3px solid #1f3b2c;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header.site-header address {
  font-style: normal;
  color: #444;
  font-size: 0.9rem;
}

#logo a {
  text-decoration: none;
  color: #1f3b2c;
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}

#logo a:hover {
  color: #3f5d47;
}

/* --------------------------------
   ナビゲーションバー
-------------------------------- */
.nav-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #1f3b2c;
  padding: 15px 0;
  width: 100%;
  box-sizing: border-box;
  border-bottom: 4px solid #3f5d47;
}

.nav-bar .nav-btn {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 12px 28px;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav-bar .nav-btn:hover {
  background-color: #3f5d47;
  border-color: #fff;
}

/* --------------------------------
   メイン画像
-------------------------------- */
#mainimg img {
  width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------
   コンテンツ
-------------------------------- */
#contents {
  padding: 40px;
}

/* 見出し */
h2 {
  font-family: 'Cinzel', 'Noto Sans JP', serif;
  color: #1f3b2c;
  border-bottom: 2px solid #1f3b2c;
  padding-bottom: 6px;
  margin-bottom: 20px;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
}

/* テキスト */
section p {
  margin-bottom: 1.2em;
}

section ul {
  margin-bottom: 1.5em;
  padding-left: 1.2em;
}

.list-normal .list {
  display: flex;         
  gap: 20px;             
  margin-bottom: 2rem;
  align-items: flex-start; 
  padding: 15px;             /* 枠内の余白 */
  border: 1px dashed #999;   /* 点線の枠 */
  border-radius: 8px;        /* optional: 角を少し丸く */
  background-color: #fafafa; /* optional: 枠内の背景色 */
}

.list-img img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- ページごとの画像サイズ指定 --- */

/* index.html */
.page-index .list-img {
  width: 150px;
}

/* about.html */
.page-about .list-img {
  width: 500px;
}

/* members.html */
.page-members .list-img {
  width: 400px;
}

/* contact.html */
.page-contact .list-img {
  width: 140px;
}

.list-normal figure {
  width: 500px;          
  flex-shrink: 0;        
  margin: 0;             
}

.list-normal figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;    
}

.list-normal .text {
  flex: 1;               
}

.list-normal h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.list-normal p {
  margin: 0;
  line-height: 1.5;
}

/* ブログ記事の投稿情報 */
.meta {
  font-size: 0.9em;
  color: #777;       /* 薄いグレーで控えめに */
  margin-top: -5px;  /* 見出しとの余白を少し詰める */
  margin-bottom: 10px;
}

/* ---------------------------
   スマホ・タブレット対応（768px以下）
--------------------------- */
@media screen and (max-width: 768px) {

  /* コンテナ */
  #container {
    margin: 0 10px;
    box-shadow: none;
  }

  /* コンテンツ余白 */
  #contents {
    padding: 20px 10px;
  }

  /* ヘッダー */
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 10px;
    display: flex;
  }

  header address {
    margin-top: 8px;
    font-size: 0.85rem;
  }

  /* ロゴ */
  #logo a {
    font-size: 2rem;
  }

  /* ナビゲーションバー縦並び */
  .nav-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 3px solid #3f5d47;
  }

  .nav-bar .nav-btn {
    margin: 5px 0;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 8px;
  }

  /* 見出し */
  h2 {
    font-size: 1.5rem;
  }

  section p, section ul {
    font-size: 0.95rem;
  }

  /* ブログ記事リスト縦並び */
  .list-normal {
    flex-direction: column;
    padding: 10px 0;
  }

  .list-normal .list {
    flex-direction: column;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px dashed #999;
    border-radius: 8px;
    background-color: #fafafa;
  }

  .list-normal figure {
    width: 100%;
    margin-bottom: 10px;
  }

  .list-normal figure img {
    width: 100%;
  }

  .list-normal .text {
    flex: none;
  }

  .list-normal h4 {
    font-size: 1.1rem;
  }

  .list-normal p.meta {
    font-size: 0.85rem;
    margin-bottom: 5px;
  }

  /* フッター */
  footer p {
    font-size: 0.85rem;
    text-align: center;
    padding: 10px 0;
  }
}
