* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #FFFDFD;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}
header a {
color:#333;
text-decoration: none;
}

header a:hover{
color: #ffb5c3;
}

/* --- 共通レイアウト --- */
header, main, footer {
  max-width: 960px;
  margin: 0 auto;
}
header, footer {
  padding: 20px;
}
main{
  padding: 20px 0 0 0;
}

header {
  text-align: center;
  background: #fff4f6;
  color: #333;
  border-radius: 8px;
}

.site-title {
  font-size: 2rem;
  font-weight: bolder;
  margin-bottom: 10px;
}
.description{
  padding: 20px;
}
.description ul{
  padding: 5px 30px;
}
.description hr{
  margin: 20px 0;
}
/* 目次スタイルここから */
#storielst {
  background-color: #fff4f6;
  padding: 10px;
  min-height: 200px;
}

#storielst .stories {
  background-color: #fff;
  display: flex;
  gap: 1rem;
  margin: 10px;
  padding: 20px;
  align-items: flex-start;
}
#storielst a{
  color: #333;
text-decoration:none !important;
}
#storielst .stories img {
  width: 140px;
  height: auto ;
  flex-shrink: 0; 
}

#storielst .storie_desc {
  background-color: #fff4f6;
  padding: 10px; flex: 1;
  border-radius: 4px;
  min-height: 88px;
}
/* 目次スタイルここまで */
footer:before {
  /* 著作物表記が必要であればここに書く */
  content: "©2016-2025 powerd by Gebecy";
}
footer {
  text-align: center;
  font-size: 0.9rem;
  color: #474747;
  background-color: #fff4f6;
  border-radius: 8px;
}

/* --- レスポンシブ対応 --- */
@media screen and (max-width: 768px) {
  body {
    padding: 15px;
  }

  .site-title {
    font-size: 1.6rem;
    font-weight: bolder;
  }

  main section h2 {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 480px) {
  header, main, footer {
    padding: 15px 10px;
  }

  .site-title {
    font-size: 1.4rem;
  }

  main section h2 {
    font-size: 1.1rem;
  }

  body {
    font-size: 0.95rem;
  }
}