@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

* {
  box-sizing: border-box;
}

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

header, footer {
  background-color: #f8f4e6;
  text-align: center;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1 {
  font-size: 2em;
  color: #4caf50;
  margin: 0;
}

p.tagline {
  font-size: 1em;
  color: #666;
  margin-top: 5px;
}

main {
  max-width: 800px;
  margin: 30px auto;
  padding: 0 20px;
}

h2, h3 {
  border-left: 6px solid #4caf50;
  background-color: #e8f5e9;
  padding: 8px 12px;
  margin-top: 30px;
  font-weight: 700;
}

ul, ol {
  margin-left: 20px;
}

a {
  color: #007acc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* LINE風吹き出し */
.chat-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 30px 0;
}

.chat {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  position: relative;
  font-size: 0.95em;
}

.chat.user {
  align-self: flex-start;
  background: #e0f7fa;
  border-bottom-left-radius: 0;
}

.chat.ai {
  align-self: flex-end;
  background: #c8e6c9;
  border-bottom-right-radius: 0;
}

/* フッター */
footer p {
  color: #888;
  font-size: 0.9em;
}

/* スマホ対応 */
@media screen and (max-width: 600px) {
  main {
    padding: 0 10px;
  }

  h1 {
    font-size: 1.6em;
  }

  .chat {
    font-size: 0.9em;
    padding: 8px 10px;
  }
}
section {
  margin-bottom: 40px;
  padding: 20px;
  background: #fefefe;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.post-list {
  list-style: none;
  padding-left: 0;
}

.post-list li {
  margin-bottom: 10px;
  padding: 8px 12px;
  background: #f3fdf5;
  border-left: 5px solid #4caf50;
  border-radius: 8px;
}

.post-list li a {
  font-weight: bold;
  font-size: 1.05em;
  color: #333;
  display: block;
}

.post-list li a:hover {
  color: #007acc;
}

